main.floors.MT49_3=
{
    "floorId": "MT49_3",
    "title": "主塔 49 层",
    "name": "49",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 3,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {},
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "4,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[4, 8],\n\t[5, 8],\n\t[7, 8],\n\t[8, 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": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    }
                ]
            }
        ],
        "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[4, 8],\n\t[5, 8],\n\t[7, 8],\n\t[8, 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": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    }
                ]
            }
        ],
        "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[4, 8],\n\t[5, 8],\n\t[7, 8],\n\t[8, 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": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    }
                ]
            }
        ],
        "8,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[4, 8],\n\t[5, 8],\n\t[7, 8],\n\t[8, 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": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    }
                ]
            }
        ],
        "6,5": [
            "\t[堕落仙子,badFairy]你以为你已经打败我了吗，我不会输的",
            {
                "type": "function",
                "function": "function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\n\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n}"
            },
            {
                "type": "playSound",
                "name": "开关门"
            },
            {
                "type": "playSound",
                "name": "44f.mp3"
            },
            {
                "type": "setBlock",
                "number": "badFairy",
                "loc": [
                    "temp:floor_x + 5",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "badFairy",
                "loc": [
                    "temp:floor_x + 7",
                    "temp:floor_y + 5"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "badFairy",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "badFairy",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 250
            },
            {
                "type": "setBlock",
                "number": "0",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ]
            },
            {
                "type": "closeDoor",
                "id": "specialDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 7"
                ],
                "async": true
            },
            {
                "type": "waitAsync"
            }
        ],
        "5,5": [
            {
                "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, 5],\n\t[7, 5],\n\t[6, 4],\n\t[6, 6],\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": [
                    "\t[堕落仙子,badFairy]这是你的错，这明明是你的错\n我诅咒你，我会一直诅咒你的",
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "6,6": [
            {
                "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, 5],\n\t[7, 5],\n\t[6, 4],\n\t[6, 6],\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": [
                    "\t[堕落仙子,badFairy]这是你的错，这明明是你的错\n我诅咒你，我会一直诅咒你的",
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,5": [
            {
                "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, 5],\n\t[7, 5],\n\t[6, 4],\n\t[6, 6],\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": [
                    "\t[堕落仙子,badFairy]这是你的错，这明明是你的错\n我诅咒你，我会一直诅咒你的",
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "6,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, 5],\n\t[7, 5],\n\t[6, 4],\n\t[6, 6],\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": [
                    "\t[堕落仙子,badFairy]这是你的错，这明明是你的错\n我诅咒你，我会一直诅咒你的",
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "363",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "343",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "348",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  1,  1,  1,  1,  1,  1,  1,  1,  1,  0,  1],
    [  1,  0,  1,  0,  1,  0,  0,  0,  1,  0,  1,  0,  1],
    [  1,  0,  1,  0,  0,  1,  0,  1,  0,  0,  1,  0,  1],
    [  1,  0,  1,  0,  0,  0,252,  0,  0,  0,  1,  0,  1],
    [  0,  0,  1,  0,  0,  1,  0,  1,  0,  0,  1,  0,  0],
    [  1,  0,  1,  1,  1,  1, 85,  1,  1,  1,  1,  0,  1],
    [  1,  0,  1,  0,251,250,  0,250,251,  0,  1,  0,  1],
    [  1,  0,  1,  1,  1,  1, 83,  1,  1,  1,  1,  0,  1],
    [  1,  0,  1,  0,343,  1,  0,  1,348,  0,  1,  0,  1],
    [  1,121,253,  0,  0,250,  0,250,  0,  0,253,  0,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}