main.floors.MT35_1=
{
    "floorId": "MT35_1",
    "title": "主塔 35 层",
    "name": "35",
    "width": 13,
    "height": 13,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 1,
    "defaultGround": "ground",
    "bgm": "section1.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,8": [
            {
                "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;\nlet bool = (core.getBlockCls(f_x + 6, f_y + 7) === \"enemys\")\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    }
                ]
            },
            {
                "type": "hide",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 8"
                ],
                "remove": true,
                "destruct": true
            }
        ]
    },
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "6,7": [
            {
                "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": "openDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 2"
                ],
                "async": true
            },
            {
                "type": "openDoor",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 9"
                ],
                "async": true
            },
            {
                "type": "setBlock",
                "number": "snow",
                "loc": [
                    "temp:floor_x + 6",
                    "temp:floor_y + 6"
                ],
                "time": 100
            },
            {
                "type": "waitAsync"
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {
        "3,3": [
            {
                "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);\nlet bigMaps = flags.bigMaps.grid\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": "setBlock",
                "number": "redGem1",
                "loc": [
                    "temp:floor_x + 3",
                    "temp:floor_y + 3"
                ],
                "time": 500
            }
        ],
        "9,3": [
            {
                "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);\nlet bigMaps = flags.bigMaps.grid\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": "setBlock",
                "number": "blueGem1",
                "loc": [
                    "temp:floor_x + 9",
                    "temp:floor_y + 3"
                ],
                "time": 500
            }
        ]
    },
    "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, 85,  1,  1,  1,  1,  0,  1],
    [  1,  0,  1,  2,  1,364,364,364,  1,  2,  1,  0,  1],
    [  1,  0,  1,  2,  1,  0,  0,  0,  1,  2,  1,  0,  1],
    [  1,  0,  1,  2,  1,189,190,191,  1,  2,  1,  0,  1],
    [  0,  0,  1,  2,  1,192,193,194,  1,  2,  1,  0,  0],
    [  1,  0,  1,  2,  1,195,257,196,  1,  2,  1,  0,  1],
    [  1,  0,  2,  2,  1,  0,166,  0,  1,  2,  2,  0,  1],
    [  1,  0,  1,  1,  1,  1,  0,  1,  1,  1,  1,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,121,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}