main.floors.MT34=
{
    "floorId": "MT34",
    "title": "魔塔 第34层",
    "name": "第 34 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,121,  0,359,  1,  0,  0,  0,  1, 21, 21,349,  1],
    [  1, 21,  0,  0, 81,216,  0,227, 81,  0, 21,359,  1],
    [  1,  0,216,  0,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,  1, 81,  1,  1,201,  1,224,  1,203,  1,225,  1],
    [  1,  0,  0,  0,  1, 81,  1, 81,  1, 81,  1, 81,  1],
    [  0,  0,  1,  0,251,  0,  0,  0, 21,  0,  0,  0, 81],
    [  1,  0,  0,  0,  1, 81,  1, 81,  1, 81,  1, 81,  1],
    [  1,  1, 81,  1,  1,212,  1,202,  1,227,  1,205,  1],
    [  1,  0,  0,212,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1,224,  1,  0, 81, 21,  0,  0, 81,225, 21,359,  1],
    [  1,364,225,  0,  1,  0,216,  0,  1,  0,344,373,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 4,
    "defaultGround": "ground",
    "bgm": "section4.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {},
    "changeFloor": {},
    "afterBattle": {
        "5,8": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,8": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "9,8": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "11,8": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "5,4": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,4": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "9,4": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "11,4": [
            {
                "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[5, 4],\n\t[7, 4],\n\t[9, 4],\n\t[11, 4],\n\t[5, 8],\n\t[7, 8],\n\t[9, 8],\n\t[11, 8],\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 + 2",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 1",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 7"
                        ],
                        "async": true
                    },
                    {
                        "type": "setBlock",
                        "number": "23",
                        "loc": [
                            "temp:floor_x + 2",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "cannotMove": {},
    "fgmap": [

],
    "bgmap": [

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