main.floors.MT11=
{
    "floorId": "MT11",
    "title": "第11关",
    "name": "11",
    "width": 15,
    "height": 15,
    "canFlyTo": true,
    "canFlyFrom": true,
    "canUseQuickShop": true,
    "cannotViewMap": false,
    "images": [],
    "ratio": 1,
    "defaultGround": "diban",
    "firstArrive": [],
    "eachArrive": [],
    "parallelDo": "",
    "events": {
        "11,1": [
            {
                "type": "if",
                "condition": "true",
                "_collapsed": true,
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:xx",
                        "value": "core.nextX()"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:yy",
                        "value": "core.nextY()"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:ichuan",
                        "value": "1"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:tang",
                        "value": "0"
                    },
                    {
                        "type": "setValue",
                        "name": "flag:fx",
                        "value": "3"
                    }
                ]
            },
            {
                "type": "for",
                "name": "temp:A",
                "from": "1",
                "to": "13",
                "step": "1",
                "_collapsed": true,
                "data": [
                    {
                        "type": "for",
                        "name": "temp:B",
                        "from": "1",
                        "to": "13",
                        "step": "1",
                        "data": [
                            {
                                "type": "setValue",
                                "name": "flag:ix",
                                "value": "temp:A"
                            },
                            {
                                "type": "setValue",
                                "name": "flag:iy",
                                "value": "temp:B"
                            },
                            {
                                "type": "if",
                                "condition": "(core.getBlockId(flag:ix,flag:iy)==='chuan')",
                                "true": [
                                    {
                                        "type": "switch",
                                        "condition": "flag:ichuan",
                                        "caseList": [
                                            {
                                                "case": "1",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:chuan1x",
                                                        "value": "flag:ix"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:chuan1y",
                                                        "value": "flag:iy"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:ichuan",
                                                        "operator": "+=",
                                                        "value": "1"
                                                    }
                                                ]
                                            },
                                            {
                                                "case": "2",
                                                "action": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:chuan2x",
                                                        "value": "flag:ix"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:chuan2y",
                                                        "value": "flag:iy"
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "if",
                                "condition": "(core.getBlockId(flag:ix,flag:iy)==='suo')",
                                "true": [
                                    {
                                        "type": "setValue",
                                        "name": "flag:suox",
                                        "value": "flag:ix"
                                    },
                                    {
                                        "type": "setValue",
                                        "name": "flag:suoy",
                                        "value": "flag:iy"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "setBgFgBlock",
                "name": "fg",
                "number": "t13",
                "loc": [
                    "flag:xx",
                    "flag:yy"
                ]
            },
            {
                "type": "while",
                "condition": "true",
                "data": [
                    {
                        "type": "sleep",
                        "time": 100
                    },
                    {
                        "type": "setBgFgBlock",
                        "name": "fg",
                        "number": "null",
                        "loc": [
                            "flag:xx",
                            "flag:yy"
                        ]
                    },
                    {
                        "type": "switch",
                        "condition": "flag:fx",
                        "caseList": [
                            {
                                "case": "1",
                                "_collapsed": true,
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy-1)==='qi')||(core.getBlockId(flag:xx,flag:yy-1)==='autotile4'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='suo')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='c23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t32",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='b23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t32",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='c34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='b34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='d14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='d12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='d23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='d34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy-1)==='c12')||((core.getBlockId(flag:xx,flag:yy-1)==='c14')||(core.getBlockId(flag:xx,flag:yy-1)==='e24')))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy-1)==='b12')||(core.getBlockId(flag:xx,flag:yy-1)==='b14'))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy-1"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy-1)===null)||(core.getBlockId(flag:xx,flag:yy-1)==='e13'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='tang')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:tang",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='key')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:suox",
                                                    "flag:suoy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='chuan')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "if",
                                                "condition": "((flag:xx===flag:chuan1x)&&(flag:yy===flag:chuan1y))",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan2x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan2y"
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan1x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan1y"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy-1)==='zhong')",
                                        "true": [
                                            {
                                                "type": "if",
                                                "condition": "(flag:tang===3)",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "0"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "case": "2",
                                "_collapsed": true,
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx-1,flag:yy)==='qi')||(core.getBlockId(flag:xx-1,flag:yy)==='autotile4'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='suo')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='key')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:suox",
                                                    "flag:suoy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='c34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t43",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='b34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t43",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='c14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t41",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='b14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t41",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='d14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='d12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='d23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='d34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx-1,flag:yy)==='c12')||((core.getBlockId(flag:xx-1,flag:yy)==='c23')||(core.getBlockId(flag:xx-1,flag:yy)==='e13')))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx-1,flag:yy)==='b12')||(core.getBlockId(flag:xx-1,flag:yy)==='b23'))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx-1",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx-1,flag:yy)===null)||(core.getBlockId(flag:xx-1,flag:yy)==='e24'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='tang')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:tang",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='chuan')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "-=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "if",
                                                "condition": "((flag:xx===flag:chuan1x)&&(flag:yy===flag:chuan1y))",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan2x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan2y"
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan1x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan1y"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx-1,flag:yy)==='zhong')",
                                        "true": [
                                            {
                                                "type": "if",
                                                "condition": "(flag:tang===3)",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "0"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "case": "3",
                                "_collapsed": true,
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy+1)==='qi')||(core.getBlockId(flag:xx,flag:yy+1)==='autotile4'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='suo')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='key')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:suox",
                                                    "flag:suoy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='c12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='b12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='c14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='b14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "4"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='d14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='d12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='d23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='d34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy+1)==='c23')||((core.getBlockId(flag:xx,flag:yy+1)==='c34')||(core.getBlockId(flag:xx,flag:yy+1)==='e24')))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy+1)==='b23')||(core.getBlockId(flag:xx,flag:yy+1)==='b34'))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t31",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy+1"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx,flag:yy+1)===null)||(core.getBlockId(flag:xx,flag:yy+1)==='e13'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='tang')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:tang",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='chuan')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:yy",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "if",
                                                "condition": "((flag:xx===flag:chuan1x)&&(flag:yy===flag:chuan1y))",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan2x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan2y"
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan1x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan1y"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t13",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx,flag:yy+1)==='zhong')",
                                        "true": [
                                            {
                                                "type": "if",
                                                "condition": "(flag:tang===3)",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "0"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "case": "4",
                                "_collapsed": true,
                                "action": [
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx+1,flag:yy)==='qi')||(core.getBlockId(flag:xx+1,flag:yy)==='autotile4'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='suo')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:finish",
                                                "value": "0"
                                            },
                                            {
                                                "type": "break",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='key')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:suox",
                                                    "flag:suoy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='c23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='b23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "3"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='c12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t21",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='b12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t21",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='d14')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c14",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='d12')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c12",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='d23')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c23",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='d34')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "c34",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx+1,flag:yy)==='c14')||((core.getBlockId(flag:xx+1,flag:yy)==='c34')||(core.getBlockId(flag:xx+1,flag:yy)==='e13')))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx+1,flag:yy)==='b14')||(core.getBlockId(flag:xx+1,flag:yy)==='b34'))",
                                        "true": [
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t42",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:fx",
                                                "value": "2"
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx+1",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "((core.getBlockId(flag:xx+1,flag:yy)===null)||(core.getBlockId(flag:xx+1,flag:yy)==='e24'))",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='tang')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setBlock",
                                                "number": "null",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "setValue",
                                                "name": "flag:tang",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='chuan')",
                                        "true": [
                                            {
                                                "type": "setValue",
                                                "name": "flag:xx",
                                                "operator": "+=",
                                                "value": "1"
                                            },
                                            {
                                                "type": "if",
                                                "condition": "((flag:xx===flag:chuan1x)&&(flag:yy===flag:chuan1y))",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan2x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan2y"
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:xx",
                                                        "value": "flag:chuan1x"
                                                    },
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:yy",
                                                        "value": "flag:chuan1y"
                                                    }
                                                ]
                                            },
                                            {
                                                "type": "setBgFgBlock",
                                                "name": "fg",
                                                "number": "t24",
                                                "loc": [
                                                    "flag:xx",
                                                    "flag:yy"
                                                ]
                                            },
                                            {
                                                "type": "continue",
                                                "n": 1
                                            }
                                        ]
                                    },
                                    {
                                        "type": "if",
                                        "condition": "(core.getBlockId(flag:xx+1,flag:yy)==='zhong')",
                                        "true": [
                                            {
                                                "type": "if",
                                                "condition": "(flag:tang===3)",
                                                "true": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "1"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ],
                                                "false": [
                                                    {
                                                        "type": "setValue",
                                                        "name": "flag:finish",
                                                        "value": "0"
                                                    },
                                                    {
                                                        "type": "break",
                                                        "n": 1
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            {
                "type": "if",
                "condition": "(flag:finish===0)",
                "true": [
                    {
                        "type": "setValue",
                        "name": "flag:zhengchang",
                        "value": "1"
                    },
                    {
                        "type": "tip",
                        "text": "try again"
                    },
                    {
                        "type": "sleep",
                        "time": 500
                    },
                    {
                        "type": "callLoad"
                    }
                ],
                "false": [
                    {
                        "type": "if",
                        "condition": "(flag:zhengchang===0)",
                        "true": [
                            {
                                "type": "setValue",
                                "name": "status:money",
                                "operator": "+=",
                                "value": "1"
                            },
                            {
                                "type": "changeFloor",
                                "floorId": ":next",
                                "loc": [
                                    13,
                                    13
                                ]
                            }
                        ],
                        "false": [
                            {
                                "type": "callLoad"
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "changeFloor": {},
    "afterBattle": {},
    "afterGetItem": {},
    "afterOpenDoor": {},
    "autoEvent": {},
    "cannotMove": {},
    "map": [
    [141,141,141,141,141,141,141,141,141,141,141,141,141,141,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,477,  0,  0,141],
    [141,  0,451,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,479,  0,  0,  0,451,  0,  0,  0,  0,411,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,451,  0,479,  0,406,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,451,  0,  0,  0,451,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,451,  0,479,  0,451,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,  0,451,  0,  0,  0,  0,  0,  0,  0,  0,478,  0,  0,141],
    [141,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,141],
    [141,141,141,141,141,141,141,141,141,141,141,141,141,141,141]
],
    "bgmap": [
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,510,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,510,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0],
    [  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0]
],
    "fgmap": [

]
}