main.floors.MT41_1=
{
    "floorId": "MT41_1",
    "title": "主塔 41 层",
    "name": "41",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {},
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "10,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);\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": "sleep",
                "time": 200
            },
            {
                "type": "playSound",
                "name": "开关门"
            },
            {
                "type": "setBlock",
                "number": "coin",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 4"
                ]
            },
            {
                "type": "tip",
                "text": "幸运金币出现了"
            }
        ],
        "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]\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 + 5"
                        ]
                    }
                ]
            }
        ],
        "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]\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 + 5"
                        ]
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,356,  1,  0, 22,  1,201,  1, 22,  0,  1,356,  1],
    [  1, 81,221,  0,  0, 82,201, 82,  0,  0,330, 81,  1],
    [  1, 81,  1,  0,  1,  1,  0,  1,  1,  0,  1, 81,  1],
    [  1, 81,  1, 81,  1,209,  0,209,  1, 81,  1, 81,  1],
    [  1,  0,  0,202,  1,  1, 85,  1,  1,202,  0,  0,  1],
    [  0,202,  0,  0,205, 81,  0, 81,205,  0,  0,202,  0],
    [  1,  0,  0,217,  0,  1,121,  1,  0,217,  0,  0,  1],
    [  1, 81,  1,  1, 82,  1, 81,  1, 82,  1,  1, 81,  1],
    [  1, 81,  1,356,  0,  1,  0,  1,  0,356,  1, 81,  1],
    [  1, 81,  1, 21, 21, 81,  0, 81, 21, 21,  1, 81,  1],
    [  1,361,  1, 21,341,  1,  0,  1,346, 21,  1,361,  1],
    [  1,  1,  1,  1,  1,  1, 81,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}