main.floors.MT48_4=
{
    "floorId": "MT48_4",
    "title": "主塔 48 层",
    "name": "48",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 4,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "8,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[7, 3],\n\t[7, 5],\n\t[9, 5],\n\t[9, 3]\n]\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": [],
                "false": [
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 10",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 4"
                ],
                "remove": true,
                "time": 0
            }
        ]
    },
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "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[7, 3],\n\t[7, 5],\n\t[9, 5],\n\t[9, 3]\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 + 10",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "9,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[7, 3],\n\t[7, 5],\n\t[9, 5],\n\t[9, 3]\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 + 10",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,3": [
            {
                "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[7, 3],\n\t[7, 5],\n\t[9, 5],\n\t[9, 3]\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 + 10",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "9,3": [
            {
                "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[7, 3],\n\t[7, 5],\n\t[9, 5],\n\t[9, 3]\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 + 10",
                            "temp:floor_y + 4"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "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}"
            },
            {
                "type": "openDoor",
                "loc": [
                    "temp:floor_x + 8",
                    "temp:floor_y + 10"
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,212,364,  0,  1,  0,  0, 82,  0,359,359,359,  1],
    [  1,  0,  0,121,  1,  0,  1,  1,  1,  1,  1,  0,  1],
    [  1,  0,216,  0,  1,  0,  1,212,  1,225,  1, 82,  1],
    [  1,  1, 82,  1,  1,216,  0,  0,166,  0,  0,  0,  1],
    [  1, 21,  0,  0,  0,  0,  1,212,  1,225,  1,  0,  1],
    [ 81,  0,  0,359,  1,204,  1,  1,  1,  1,  1,  0,  0],
    [  1,  1, 81,  1,  1, 21,  1,  0,  0,  0,  0,  0,  1],
    [  1,359,224,344,  1, 23,  1,  0,  1,  1, 83,  1,  1],
    [  1,  1, 81,  1,  1,  1,  1,  0,  1,  0,  0,  0,  1],
    [  1,  0,227,  0,  1,  0,  0,216, 85,  0, 39,  0,  1],
    [  1,364,  0,349,  1, 21,  0,  0,  1,  0,  0,  0,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}