main.floors.MT21=
{
    "floorId": "MT21",
    "title": "魔塔 第21层",
    "name": "第 21 层",
    "width": 13,
    "height": 13,
    "map": [
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
    [  1, 87,  0,  0,  0,  0, 88,  0,  0,  0,  0, 87,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  1,  1,  1,  1,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  0,  0,  0,  1,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  0,  0,  0,  1,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  0,  0,  0,  1,  0,  0,  0,  1],
    [  1,  0,  0,  0,  1,  1,  0,  1,  1,  0,  0,  0,  1],
    [  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1],
    [  1, 81,  0,  0,  0,  0,121,  0,  0,  0,  0, 81,  1],
    [  1, 81,  0,  0,  0,  0, 81,  0,  0,  0,  0, 81,  1],
    [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
],
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "images": [],
    "ratio": 3,
    "defaultGround": "ground",
    "bgm": "section3.mp3",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "6,9": {
            "trigger": "action",
            "enable": true,
            "noPass": false,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "if",
                    "condition": "(flag:13s==1)",
                    "true": [],
                    "false": [
                        {
                            "type": "setEnemy",
                            "id": "greenSlime",
                            "name": "money",
                            "value": "1"
                        },
                        {
                            "type": "setEnemy",
                            "id": "redSlime",
                            "name": "money",
                            "value": "2"
                        },
                        {
                            "type": "setEnemy",
                            "id": "blackSlime",
                            "name": "money",
                            "value": "8"
                        },
                        {
                            "type": "setEnemy",
                            "id": "slimelord",
                            "name": "money",
                            "value": "40"
                        }
                    ]
                }
            ]
        },
        "6,8": {
            "trigger": "action",
            "enable": true,
            "noPass": false,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "if",
                    "condition": "(flag:13s==1)",
                    "true": [],
                    "false": [
                        {
                            "type": "setEnemy",
                            "id": "greenSlime",
                            "name": "money",
                            "value": "0"
                        },
                        {
                            "type": "setEnemy",
                            "id": "redSlime",
                            "name": "money",
                            "value": "0"
                        },
                        {
                            "type": "setEnemy",
                            "id": "blackSlime",
                            "name": "money",
                            "value": "0"
                        },
                        {
                            "type": "setEnemy",
                            "id": "slimelord",
                            "name": "money",
                            "value": "0"
                        }
                    ]
                }
            ]
        },
        "6,6": {
            "trigger": "action",
            "enable": true,
            "noPass": false,
            "displayDamage": true,
            "opacity": 1,
            "filter": {
                "blur": 0,
                "hue": 0,
                "grayscale": 0,
                "invert": false,
                "shadow": 0
            },
            "data": [
                {
                    "type": "if",
                    "condition": "(flag:13s==1)",
                    "true": [],
                    "false": [
                        {
                            "type": "setValue",
                            "name": "flag:13slime1",
                            "value": "flag:13left"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime2",
                            "value": "flag:13left"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime3",
                            "value": "flag:13left"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime4",
                            "value": "flag:13left"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime5",
                            "value": "flag:13right"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime6",
                            "value": "flag:13right"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime7",
                            "value": "flag:13right"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime8",
                            "value": "flag:13right"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime4",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime3",
                            "operator": "//=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime3",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime2",
                            "operator": "//=",
                            "value": "25"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime2",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime1",
                            "operator": "//=",
                            "value": "625"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime8",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime7",
                            "operator": "//=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime7",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime6",
                            "operator": "//=",
                            "value": "25"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime6",
                            "operator": "%=",
                            "value": "5"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime5",
                            "operator": "//=",
                            "value": "625"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime1",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime2",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime3",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime4",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime5",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime6",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime7",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "setValue",
                            "name": "flag:13slime8",
                            "operator": "+=",
                            "value": "200"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
                        },
                        {
                            "type": "function",
                            "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
                        }
                    ]
                }
            ]
        }
    },
    "changeFloor": {
        "6,1": {
            "floorId": ":before",
            "stair": "upFloor",
            "time": 0
        },
        "1,1": {
            "floorId": ":next",
            "stair": "downFloor"
        },
        "11,1": {
            "floorId": ":next",
            "loc": [
                10,
                1
            ]
        }
    },
    "afterBattle": {
        "5,5": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "flag:13slime2"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "25"
            }
        ],
        "6,5": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "flag:13slime1"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "625"
            }
        ],
        "5,6": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "flag:13slime3"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "5"
            }
        ],
        "5,7": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "flag:13slime4"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "200"
            }
        ],
        "6,7": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "flag:13slime5"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "625"
            }
        ],
        "7,5": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "flag:13slime6"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "25"
            }
        ],
        "7,6": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "flag:13slime7"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "*=",
                "value": "5"
            }
        ],
        "7,7": [
            {
                "type": "if",
                "condition": "(flag:13pre0==0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13pre1",
                        "value": "flag:13pre0"
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "operator": "-=",
                "value": "flag:13slime8"
            }
        ]
    },
    "afterGetItem": {},
    "afterOpenDoor": {
        "1,10": [
            {
                "type": "if",
                "condition": "(flag:13pre1 == 0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13a",
                        "value": "flag:13pre0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13b",
                        "value": "flag:13pre1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13a",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13b",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "value": "flag:13b"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "operator": "//=",
                        "value": "flag:13pret1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "value": "flag:13a"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "operator": "//=",
                        "value": "flag:13pret0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "operator": "*=",
                        "value": "flag:13prett1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "operator": "*=",
                        "value": "flag:13prett0"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13pre0 >0 )",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "-=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:13pre1",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "((flag:13left == flag:13right )&&( flag:13right>0 ))",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:13s == 0)",
                        "true": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "56",
                                "loc": [
                                    [
                                        6,
                                        4
                                    ]
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13s",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
            }
        ],
        "1,11": [
            {
                "type": "if",
                "condition": "(flag:13pre1 == 0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13a",
                        "value": "flag:13pre0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13b",
                        "value": "flag:13pre1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13a",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13b",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "value": "flag:13b"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "operator": "//=",
                        "value": "flag:13pret1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "value": "flag:13a"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "operator": "//=",
                        "value": "flag:13pret0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "operator": "*=",
                        "value": "flag:13prett1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "operator": "*=",
                        "value": "flag:13prett0"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13pre0 >0 )",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "-=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:13pre1",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "((flag:13left == flag:13right )&&( flag:13right>0 ))",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:13s == 0)",
                        "true": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "56",
                                "loc": [
                                    [
                                        6,
                                        4
                                    ]
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13s",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
            }
        ],
        "6,11": [
            {
                "type": "if",
                "condition": "(flag:13pre1 == 0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13a",
                        "value": "flag:13pre0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13b",
                        "value": "flag:13pre1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13a",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13b",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "value": "flag:13b"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "operator": "//=",
                        "value": "flag:13pret1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "value": "flag:13a"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "operator": "//=",
                        "value": "flag:13pret0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "operator": "*=",
                        "value": "flag:13prett1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "operator": "*=",
                        "value": "flag:13prett0"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13pre0 >0 )",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "-=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:13pre1",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "((flag:13left == flag:13right )&&( flag:13right>0 ))",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:13s == 0)",
                        "true": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "56",
                                "loc": [
                                    [
                                        6,
                                        4
                                    ]
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13s",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
            }
        ],
        "11,10": [
            {
                "type": "if",
                "condition": "(flag:13pre1 == 0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13a",
                        "value": "flag:13pre0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13b",
                        "value": "flag:13pre1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13a",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13b",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "value": "flag:13b"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "operator": "//=",
                        "value": "flag:13pret1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "value": "flag:13a"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "operator": "//=",
                        "value": "flag:13pret0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "operator": "*=",
                        "value": "flag:13prett1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "operator": "*=",
                        "value": "flag:13prett0"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13pre0 >0 )",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "-=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:13pre1",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "((flag:13left == flag:13right )&&( flag:13right>0 ))",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:13s == 0)",
                        "true": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "56",
                                "loc": [
                                    [
                                        6,
                                        4
                                    ]
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13s",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
            }
        ],
        "11,11": [
            {
                "type": "if",
                "condition": "(flag:13pre1 == 0)",
                "true": [],
                "false": [
                    {
                        "type": "setValue",
                        "name": "flag:13a",
                        "value": "flag:13pre0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13b",
                        "value": "flag:13pre1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13a",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b < 0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13b",
                                "operator": "*=",
                                "value": "-1"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13b >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret1",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "value": "flag:13b"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett1",
                        "operator": "//=",
                        "value": "flag:13pret1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "value": "1"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 5)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 25)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "5"
                            }
                        ]
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13a >= 625)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13pret0",
                                "operator": "*=",
                                "value": "25"
                            }
                        ]
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "value": "flag:13a"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13prett0",
                        "operator": "//=",
                        "value": "flag:13pret0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret0",
                        "operator": "*=",
                        "value": "flag:13prett1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:13pret1",
                        "operator": "*=",
                        "value": "flag:13prett0"
                    },
                    {
                        "type": "if",
                        "condition": "(flag:13pre0 >0 )",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "-=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13left",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pre0"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13right",
                                "operator": "+=",
                                "value": "flag:13pret0"
                            },
                            {
                                "type": "if",
                                "condition": "(flag:13pre1 >0)",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "-=",
                                        "value": "flag:13pre1"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13left",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ],
                                "false": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "-=",
                                        "value": "flag:13b"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:13right",
                                        "operator": "+=",
                                        "value": "flag:13pret1"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13pre0",
                "value": "0"
            },
            {
                "type": "setValue",
                "name": "flag:13pre1",
                "value": "0"
            },
            {
                "type": "if",
                "condition": "((flag:13left == flag:13right )&&( flag:13right>0 ))",
                "true": [
                    {
                        "type": "if",
                        "condition": "(flag:13s == 0)",
                        "true": [
                            {
                                "type": "playSound",
                                "name": "door.mp3"
                            },
                            {
                                "type": "setBlock",
                                "number": "56",
                                "loc": [
                                    [
                                        6,
                                        4
                                    ]
                                ]
                            },
                            {
                                "type": "setValue",
                                "name": "flag:13s",
                                "value": "1"
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "value": "flag:13left"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "value": "flag:13right"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "//=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "//=",
                "value": "25"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "%=",
                "value": "5"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "//=",
                "value": "625"
            },
            {
                "type": "setValue",
                "name": "flag:13slime1",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime2",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime3",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime4",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime5",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime6",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime7",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "setValue",
                "name": "flag:13slime8",
                "operator": "+=",
                "value": "200"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime1'], 6, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime2'], 5, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime3'], 5, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime4'], 5, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime5'], 6, 7);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime6'], 7, 5);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime7'], 7, 6);\n}"
            },
            {
                "type": "function",
                "function": "function(){\ncore.setBlock(flags['13slime8'], 7, 7);\n}"
            }
        ]
    },
    "cannotMove": {},
    "bgmap": [
    [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 17],
    [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17]
],
    "fgmap": [

],
    "upFloor": [
        2,
        1
    ],
    "downFloor": [
        6,
        2
    ],
    "autoEvent": {},
    "beforeBattle": {},
    "cannotMoveIn": {}
}