main.floors.MT30_1=
{
    "floorId": "MT30_1",
    "title": "主塔 30 层",
    "name": "30",
    "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 + 6) === \"enemys\")\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    "\t[骷髅队长,skeletonCaptain]哈哈哈 你是如此的幸运能安全到达这里 但现在好运离你而去了 你中埋伏了 弟兄们给我上",
                    {
                        "type": "playSound",
                        "name": "10F.mp3"
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "playBgm",
                        "name": "boss1.mp3"
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    }
                ]
            }
        ],
        "8,6": [
            {
                "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 + 6) === \"enemys\")\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    "\t[骷髅队长,skeletonCaptain]哈哈哈 你是如此的幸运能安全到达这里 但现在好运离你而去了 你中埋伏了 弟兄们给我上",
                    {
                        "type": "playSound",
                        "name": "10F.mp3"
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "playBgm",
                        "name": "boss1.mp3"
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    }
                ]
            }
        ],
        "6,4": [
            {
                "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 + 6) === \"enemys\")\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    "\t[骷髅队长,skeletonCaptain]哈哈哈 你是如此的幸运能安全到达这里 但现在好运离你而去了 你中埋伏了 弟兄们给我上",
                    {
                        "type": "playSound",
                        "name": "10F.mp3"
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "playBgm",
                        "name": "boss1.mp3"
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    }
                ]
            }
        ],
        "4,6": [
            {
                "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 + 6) === \"enemys\")\nflags[\"@temp@open_yes\"] = bool\n}"
            },
            {
                "type": "if",
                "condition": "temp:open_yes",
                "true": [
                    "\t[骷髅队长,skeletonCaptain]哈哈哈 你是如此的幸运能安全到达这里 但现在好运离你而去了 你中埋伏了 弟兄们给我上",
                    {
                        "type": "playSound",
                        "name": "10F.mp3"
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeletonSoldier",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 5"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 6"
                        ],
                        "time": 200
                    },
                    {
                        "type": "setBlock",
                        "number": "skeleton",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 7"
                        ],
                        "time": 200
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "0",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "closeDoor",
                        "id": "specialDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "playBgm",
                        "name": "boss1.mp3"
                    },
                    {
                        "type": "waitAsync"
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    },
                    {
                        "type": "hide",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ],
                        "remove": true,
                        "destruct": true
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "beforeBattle": {},
    "afterBattle": {
        "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "6,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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "5,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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "5,7": [
            {
                "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "6,7": [
            {
                "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ],
        "7,7": [
            {
                "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[5, 6],\n\t[5, 7],\n\t[6, 5],\n\t[6, 6],\n\t[6, 7],\n\t[7, 5],\n\t[7, 6],\n\t[7, 7],\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[骷髅队长,skeletonCaptain]你以为你已经非常强大了吗，我只是四大天王中最弱小的一个，你别太得意，骑士队长会替我报仇的。",
                    {
                        "type": "playSound",
                        "name": "door.mp3",
                        "stop": true
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "21",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 4"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 5",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "361",
                        "loc": [
                            "temp:floor_x + 7",
                            "temp:floor_y + 8"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "341",
                        "loc": [
                            "temp:floor_x + 4",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 5"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 6"
                        ]
                    },
                    {
                        "type": "setBlock",
                        "number": "346",
                        "loc": [
                            "temp:floor_x + 8",
                            "temp:floor_y + 7"
                        ]
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 3"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 6",
                            "temp:floor_y + 9"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 3",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "openDoor",
                        "loc": [
                            "temp:floor_x + 9",
                            "temp:floor_y + 6"
                        ],
                        "async": true
                    },
                    {
                        "type": "waitAsync"
                    }
                ]
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "cannotMoveIn": {},
    "map": [
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1],
    [  1,346, 21, 82,221,  1,  0,  1,221, 82,339,341,  1],
    [  1, 21,  0,  1,  0,209,  0,217,  0,  1,  0,339,  1],
    [  1, 82,  1,210,  0,  1, 83,  1,  0,210,  1, 82,  1],
    [  1,221,  0,  0,  1,  0,166,  0,  1,  0,  0,221,  1],
    [  1,  1,217,  1,  0,  0,  0,  0,  0,  1,209,  1,  1],
    [  0,  0,  0, 83,166,  0,211,  0,166, 83,  0,  0,  0],
    [  1,  1,209,  1,  0,  0,  0,  0,  0,  1,217,  1,  1],
    [  1,221,  0,  0,  1,  0,166,  0,  1,  0,  0,221,  1],
    [  1, 81,  1,210,  0,  1, 83,  1,  0,210,  1, 81,  1],
    [  1,356,  0,  1,  0,217,  0,209,  0,  1,  0, 22,  1],
    [  1,361,356, 81,221,  1,  0,  1,221, 81, 22,121,  1],
    [  1,  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1,  1]
],
    "bgmap": [

],
    "fgmap": [

]
}