main.floors.MT14=
{
    "floorId": "MT14",
    "title": "魔塔 第14层",
    "name": "第 14 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1, 81,  1,  1,  1,  1,  1,  1],
    [  1,214,  0,214,  1, 21, 21, 21,  1,357, 21,347,  1],
    [  1,  0,214,  0,  1,362,  1,  0,  1,  0,  1, 21,  1],
    [  1,  1,  0,  0,  1,203,  1,214,  1, 82,  1, 81,  1],
    [  1,  1, 82,  1,  1, 82,  1, 81,  1,203,  0,214,  1],
    [  1,357,  0,  0,206,  0,215,  0,206,  0,121,  0,  1],
    [ 81,  0,203,  0,  1,  1, 81,  1,  1,357,  0,203,  0],
    [  1, 81,  1, 81,  1, 21,  0,357,  1,  1,  1, 81,  1],
    [  1,  0,  1,  0,213,  0,203,  0,213,  0,  0,  0,  1],
    [  1,218,  1,218,  1,  1, 81,  1,  1,  1, 81,  1,  1],
    [  1,  0,  1,  0,  1,357,  0, 21,  1,  0,213,  0,  1],
    [  1, 22,  1,  0, 81,  0,203,  0,  1,371,  0,342,  1],
    [  1,  1,  1,  1,  1,  1, 81,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 2,
    "defaultGround": "ground",
    "bgm": "section2.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {},
    "changeFloor": {},
    "afterBattle": {
        "1,1": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ],
        "2,2": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ],
        "3,1": [
            {
                "type": "function",
                "function": "function(){\nlet bool = true;\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nflags[\"@temp@floorId\"] = bigMaps[floor_x][floor_y]\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nvar loc_arr = [\n\t[1, 1],\n\t[3, 1],\n\t[2, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(f_x + loc[0], f_y + loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "playSound",
                        "name": "door.mp3"
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 3"
                        ]
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "cannotMove": {},
    "fgmap": [

],
    "bgmap": [

],
    "upFloor": null,
    "downFloor": null,
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}