var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = 
{
	"main": {
		"floorIds": [
			"MT0",
			"MT1",
			"MT2",
			"MT3",
			"MT4",
			"MT5",
			"MT6",
			"MT7",
			"MT8",
			"MT9",
			"MT10",
			"MT11",
			"MT12",
			"MT13",
			"MT14",
			"MT15",
			"MT16",
			"MT17",
			"MT18",
			"MT19",
			"MT20",
			"EX1",
			"EX2"
		],
		"floorPartitions": [],
		"images": [
			"bg.jpg",
			"dragon.png",
			"hero.png",
			"statusBarH.png",
			"statusBarV.png",
			"winskin.png"
		],
		"tilesets": [
			"magictower.png"
		],
		"animates": [
			"hand",
			"wuyu",
			"yongchang",
			"zone"
		],
		"bgms": [
			"flowerDance.mp3",
			"mysteryOfLove.mp3",
			"windyHill.mp3",
			"xinXin.mp3"
		],
		"sounds": [
			"attack.mp3",
			"bomb.mp3",
			"cancel.mp3",
			"centerFly.mp3",
			"confirm.mp3",
			"cursor.mp3",
			"door.mp3",
			"equip.mp3",
			"error.mp3",
			"floor.mp3",
			"gem.mp3",
			"icePickaxe.mp3",
			"item.mp3",
			"jump.mp3",
			"load.mp3",
			"open_ui.mp3",
			"pickaxe.mp3",
			"recovery.mp3",
			"save.mp3",
			"shop.mp3",
			"zone.mp3"
		],
		"fonts": [],
		"nameMap": {
			"确定": "confirm.mp3",
			"取消": "cancel.mp3",
			"操作失败": "error.mp3",
			"光标移动": "cursor.mp3",
			"打开界面": "open_ui.mp3",
			"读档": "load.mp3",
			"存档": "save.mp3",
			"获得道具": "item.mp3",
			"回血": "recovery.mp3",
			"炸弹": "bomb.mp3",
			"飞行器": "centerFly.mp3",
			"开关门": "door.mp3",
			"上下楼": "floor.mp3",
			"跳跃": "jump.mp3",
			"破墙镐": "pickaxe.mp3",
			"破冰镐": "icePickaxe.mp3",
			"宝石": "gem.mp3",
			"阻激夹域": "zone.mp3",
			"穿脱装备": "equip.mp3",
			"背景音乐": "bgm.mp3",
			"攻击": "attack.mp3",
			"背景图": "bg.jpg",
			"商店": "shop.mp3",
			"领域": "zone"
		},
		"levelChoose": [
			{
				"title": "仙界武将",
				"name": "Easy",
				"hard": 1,
				"color": [
					64,
					255,
					85,
					1
				],
				"action": [
					{
						"type": "setText",
						"background": "winskin.png"
					},
					"你选择了简单难度，额外获得：\n5攻5防\n黄钥匙×4、蓝钥匙×2、红钥匙×1、绿钥匙×1\n地震卷轴×1（已放入你的背包，深色墙不可破震）\n以及随着游戏进行，额外发放的中量补给",
					{
						"type": "setValue",
						"name": "status:atk",
						"operator": "+=",
						"value": "5"
					},
					{
						"type": "setValue",
						"name": "status:def",
						"operator": "+=",
						"value": "5"
					},
					{
						"type": "setValue",
						"name": "item:yellowKey",
						"operator": "+=",
						"value": "4"
					},
					{
						"type": "setValue",
						"name": "item:blueKey",
						"operator": "+=",
						"value": "2"
					},
					{
						"type": "setValue",
						"name": "item:redKey",
						"operator": "+=",
						"value": "1"
					},
					{
						"type": "setValue",
						"name": "item:greenKey",
						"operator": "+=",
						"value": "1"
					},
					{
						"type": "setValue",
						"name": "item:earthquake",
						"operator": "+=",
						"value": "1"
					}
				]
			},
			{
				"title": "顶阴武将",
				"name": "Normal",
				"hard": 2,
				"color": [
					255,
					221,
					32,
					1
				],
				"action": [
					{
						"type": "setText",
						"background": "winskin.png"
					},
					"你选择了普通难度，额外获得：\n3攻3防\n黄钥匙×2、蓝钥匙×1、红钥匙×1\n以及随着游戏进行，额外发放的少量补给",
					{
						"type": "setValue",
						"name": "status:atk",
						"operator": "+=",
						"value": "3"
					},
					{
						"type": "setValue",
						"name": "status:def",
						"operator": "+=",
						"value": "3"
					},
					{
						"type": "setValue",
						"name": "item:yellowKey",
						"operator": "+=",
						"value": "2"
					},
					{
						"type": "setValue",
						"name": "item:blueKey",
						"operator": "+=",
						"value": "1"
					},
					{
						"type": "setValue",
						"name": "item:redKey",
						"operator": "+=",
						"value": "1"
					}
				]
			},
			{
				"title": "素将",
				"name": "Hard",
				"hard": 3,
				"color": [
					255,
					68,
					64,
					1
				],
				"action": [
					{
						"type": "setText",
						"background": "winskin.png"
					},
					"你选择了困难难度：\n困难难度给3杖，每1杖可以兑换1红钥匙（注意查看boss的特殊属性）\n游戏结算时，每少1杖-100000分",
					"勇往直前",
					{
						"type": "setValue",
						"name": "item:zhang",
						"operator": "+=",
						"value": "3"
					},
					{
						"type": "setEnemy",
						"id": "redKing",
						"name": "special",
						"value": "[30,31,38]"
					}
				]
			}
		],
		"equipName": [
			"武器",
			"盾牌"
		],
		"startBgm": null,
		"styles": {
			"startBackground": "project/images/titleHorizontal.png",
			"startVerticalBackground": "project/images/titleVertical.png",
			"startLogoStyle": "color: gold",
			"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
			"statusLeftBackground": "url(project/materials/leftStatus.png) 0 0 /100% 100% no-repeat",
			"statusTopBackground": "url(project/materials/topStatus.png) 0 0 /100% 100% no-repeat",
			"toolsBackground": "black",
			"floorChangingStyle": "background-color: black; color: white",
			"statusBarColor": [
				255,
				255,
				255,
				1
			],
			"borderColor": [
				0,
				0,
				0,
				1
			],
			"selectColor": [
				255,
				215,
				0,
				1
			],
			"font": "Verdana"
		},
		"splitImages": [
			{
				"name": "dragon.png",
				"width": 384,
				"height": 96,
				"prefix": "dragon_"
			}
		]
	},
	"firstData": {
		"title": "蒸蒸日上",
		"name": "zzrs",
		"version": "Ver 2.10.3",
		"floorId": "MT0",
		"hero": {
			"image": "hero.png",
			"animate": false,
			"name": "主角",
			"lv": 1,
			"hpmax": -1,
			"hp": 300,
			"manamax": -1,
			"mana": 0,
			"atk": 12,
			"def": 5,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "up",
				"x": 6,
				"y": 6
			},
			"flags": {},
			"followers": [],
			"steps": 0
		},
		"startCanvas": [
			{
				"type": "comment",
				"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
			},
			{
				"type": "comment",
				"text": "也可以直接切换到其他楼层（比如某个开始剧情楼层）进行操作。"
			},
			{
				"type": "previewUI",
				"action": [
					{
						"type": "fillRect",
						"x": 0,
						"y": 0,
						"width": "core._PX_ || core.__PIXELS__",
						"height": "core._PY_ || core.__PIXELS__",
						"style": [
							82,
							82,
							82,
							1
						]
					},
					{
						"type": "setAttribute",
						"align": "center"
					},
					{
						"type": "fillBoldText",
						"x": "(core._PX_ || core.__PIXELS__) / 2",
						"y": 80,
						"style": [
							255,
							255,
							255,
							1
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"font": "bold 40px Verdana",
						"text": "${core.firstData.title}"
					}
				]
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "0"
			},
			{
				"type": "comment",
				"text": "在右下方自绘一个对话框进行显示选择项"
			},
			{
				"type": "previewUI",
				"action": [
					{
						"type": "fillRect",
						"x": 230,
						"y": 250,
						"width": 150,
						"height": 142,
						"radius": 10,
						"style": [
							50,
							54,
							159,
							0.85
						]
					},
					{
						"type": "strokeRect",
						"x": 230,
						"y": 250,
						"width": 150,
						"height": 142,
						"radius": 10,
						"style": [
							255,
							255,
							255,
							1
						],
						"lineWidth": 2
					},
					{
						"type": "fillBoldText",
						"x": 305,
						"y": 290,
						"style": [
							255,
							255,
							255,
							1
						],
						"font": "bold 25px Verdana",
						"text": "开始游戏"
					},
					{
						"type": "fillBoldText",
						"x": 305,
						"y": 330,
						"font": "bold 25px Verdana",
						"text": "读取存档"
					},
					{
						"type": "fillBoldText",
						"x": 305,
						"y": 370,
						"font": "bold 25px Verdana",
						"text": "回放录像"
					}
				]
			},
			{
				"type": "while",
				"condition": "1",
				"data": [
					{
						"type": "drawSelector",
						"image": "winskin.png",
						"code": 1,
						"x": 245,
						"y": "261 + 40*flag:selection",
						"width": 120,
						"height": 40
					},
					{
						"type": "wait",
						"data": [
							{
								"case": "keyboard",
								"keycode": "13,32",
								"break": true,
								"action": [
									{
										"type": "switch",
										"condition": "flag:selection",
										"caseList": [
											{
												"case": "0",
												"action": [
													{
														"type": "comment",
														"text": "在“开始游戏”确定"
													},
													{
														"type": "break",
														"n": 1
													}
												]
											},
											{
												"case": "1",
												"action": [
													{
														"type": "comment",
														"text": "在“读取存档”确定"
													},
													{
														"type": "callLoad"
													}
												]
											},
											{
												"case": "2",
												"action": [
													{
														"type": "comment",
														"text": "在“回放录像”确定"
													},
													{
														"type": "if",
														"condition": "(!core.isReplaying())",
														"true": [
															{
																"type": "function",
																"function": "function(){\ncore.chooseReplayFile()\n}"
															}
														]
													}
												]
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "38",
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "光标上键"
									},
									{
										"type": "setValue",
										"name": "flag:selection",
										"value": "(flag:selection + 2) % 3"
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "40",
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "光标下键"
									},
									{
										"type": "setValue",
										"name": "flag:selection",
										"value": "(flag:selection + 1) % 3"
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									245,
									365
								],
								"py": [
									261,
									300
								],
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "点击“开始游戏”"
									},
									{
										"type": "break",
										"n": 1
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									245,
									365
								],
								"py": [
									301,
									340
								],
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "点击“读取存档”"
									},
									{
										"type": "callLoad"
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									245,
									365
								],
								"py": [
									341,
									380
								],
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "点击“播放录像”"
									},
									{
										"type": "if",
										"condition": "(!core.isReplaying())",
										"true": [
											{
												"type": "function",
												"function": "function(){\ncore.chooseReplayFile()\n}"
											}
										]
									}
								]
							}
						]
					}
				]
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "null"
			},
			{
				"type": "drawSelector",
				"code": 1
			},
			{
				"type": "clearMap"
			},
			{
				"type": "function",
				"function": "function(){\ncore.control.checkBgm()\n}"
			},
			{
				"type": "if",
				"condition": "(main.levelChoose.length == 0)",
				"true": [
					{
						"type": "comment",
						"text": "没有难度选择：直接开始游戏"
					}
				],
				"false": [
					{
						"type": "comment",
						"text": "难度选择：作为样例，这里只提供了一个显示选择项。"
					},
					{
						"type": "function",
						"function": "function(){\nvar choices = [];\nmain.levelChoose.forEach(function (one) {\n\tchoices.push({\n\t\t\"text\": one.title || '',\n\t\t\"action\": [\n\t\t\t{ \"type\": \"function\", \"function\": \"function() { core.status.hard = '\" + (one.name || '') + \"'; }\" }\n\t\t]\n\t});\n})\ncore.insertAction({ \"type\": \"choices\", \"choices\": choices });\n}"
					},
					{
						"type": "comment",
						"text": "你也可以仿照上面的样例进行自己创建等待用户操作来处理不同的难度分歧。\n如需自己处理，请设置 core.status.hard \n（例如，自定义js脚本：core.status.hard = 'Easy' ）"
					}
				]
			},
			{
				"type": "clearMap"
			},
			{
				"type": "comment",
				"text": "接下来会执行startText中的事件"
			},
			{
				"type": "comment",
				"text": "状态栏默认处于隐藏状态；可以使用“显示状态栏”事件进行显示。"
			}
		],
		"startText": [
			{
				"type": "function",
				"function": "function(){\ncore.plugin._init();\n}"
			},
			{
				"type": "openShop",
				"id": "shop4"
			},
			{
				"type": "setVolume",
				"value": 50,
				"time": 500
			},
			{
				"type": "playBgm",
				"name": "mysteryOfLove.mp3",
				"keep": true
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[宝珠商店,moneyShop]物美价廉！只需${15+flag:goldShop}宝珠即可买到：",
				"textInList": "宝珠商店",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+200 护盾+${13+flags.goldShopMdef}",
						"need": "status:money>=15+flag:goldShop",
						"color": [
							64,
							255,
							119,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "15+flag:goldShop"
							},
							{
								"type": "setValue",
								"name": "flag:goldShop",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "200"
							},
							{
								"type": "setValue",
								"name": "status:mdef",
								"operator": "+=",
								"value": "13+flags.goldShopMdef"
							},
							{
								"type": "setValue",
								"name": "flag:goldShopMdef",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "攻击+2",
						"need": "status:money>=15+flag:goldShop",
						"color": [
							244,
							69,
							69,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "15+flag:goldShop"
							},
							{
								"type": "setValue",
								"name": "flag:goldShop",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "2"
							}
						]
					},
					{
						"text": "防御+2",
						"need": "status:money>=15+flag:goldShop",
						"color": [
							98,
							187,
							218,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "15+flag:goldShop"
							},
							{
								"type": "setValue",
								"name": "flag:goldShop",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "2"
							}
						]
					}
				]
			},
			{
				"id": "shop2",
				"text": "\t[功勋商店,expShop]功勋兑换功能开放啦！",
				"textInList": "功勋商店",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "等级+1（60功勋，3攻防100血）",
						"need": "status:exp>=60",
						"color": [
							252,
							255,
							0,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "60"
							},
							{
								"type": "setValue",
								"name": "status:lv",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "3"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "100"
							}
						]
					},
					{
						"text": "攻击 + 3（30功勋）",
						"need": "status:exp>=30",
						"color": [
							244,
							69,
							69,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "30"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "3"
							}
						]
					},
					{
						"text": "防御 + 1（12功勋）",
						"need": "status:exp>=12",
						"color": [
							98,
							187,
							218,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "12"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "shop3",
				"text": "\t[进阶功勋商店,expShop]功勋可以兑换更多藏品了！",
				"textInList": "进阶功勋商店",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "等级+3（160功勋，10攻5防50护盾500血）",
						"need": "status:exp>=160",
						"color": [
							252,
							255,
							0,
							1
						],
						"condition": "flag:MT13expShop === true",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "160"
							},
							{
								"type": "setValue",
								"name": "status:lv",
								"operator": "+=",
								"value": "3"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "10"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "5"
							},
							{
								"type": "setValue",
								"name": "status:mdef",
								"operator": "+=",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "500"
							}
						]
					},
					{
						"text": "等级+2（110功勋，6攻防400血）",
						"need": "status:exp>=110",
						"color": [
							252,
							255,
							0,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "110"
							},
							{
								"type": "setValue",
								"name": "status:lv",
								"operator": "+=",
								"value": "2"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "6"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "6"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "400"
							}
						]
					},
					{
						"text": "攻击 + 6（52功勋）",
						"need": "status:exp>=52",
						"color": [
							244,
							69,
							69,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "52"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "6"
							}
						]
					},
					{
						"text": "防御 + 2（20功勋）",
						"need": "status:exp>=20",
						"color": [
							98,
							187,
							218,
							1
						],
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "20"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "2"
							}
						]
					}
				]
			},
			{
				"id": "shop4",
				"text": "\t[音乐中心,music]来首喜欢的音乐吧",
				"textInList": "音乐中心",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "Mystery of Love",
						"need": "status:exp>=0",
						"action": [
							{
								"type": "playBgm",
								"name": "mysteryOfLove.mp3",
								"keep": true
							}
						]
					},
					{
						"text": "Windy Hill",
						"need": "status:exp>=0",
						"action": [
							{
								"type": "playBgm",
								"name": "windyHill.mp3",
								"keep": true
							}
						]
					},
					{
						"text": "Flower Dance",
						"need": "status:exp>=0",
						"action": [
							{
								"type": "playBgm",
								"name": "flowerDance.mp3",
								"keep": true
							}
						]
					},
					{
						"text": "新新魔塔",
						"need": "status:exp>=0",
						"action": [
							{
								"type": "playBgm",
								"name": "xinXin.mp3",
								"keep": true
							}
						]
					}
				]
			}
		],
		"levelUp": [
			{
				"need": "0",
				"title": "",
				"action": [
					{
						"type": "comment",
						"text": "此处是初始等级，只需填写称号"
					}
				]
			},
			{
				"need": "20",
				"title": "",
				"action": [
					{
						"type": "setValue",
						"name": "status:atk",
						"operator": "+=",
						"value": "10"
					},
					{
						"type": "setValue",
						"name": "status:def",
						"operator": "+=",
						"value": "10"
					}
				]
			},
			{
				"need": "40",
				"title": "",
				"action": [
					{
						"type": "tip",
						"text": "恭喜升级"
					}
				]
			}
		]
	},
	"values": {
		"lavaDamage": 100,
		"poisonDamage": 10,
		"weakValue": 20,
		"redGem": 3,
		"blueGem": 3,
		"greenGem": 5,
		"redPotion": 100,
		"bluePotion": 250,
		"yellowPotion": 500,
		"greenPotion": 800,
		"breakArmor": 0.9,
		"counterAttack": 0.1,
		"purify": 3,
		"hatred": 2,
		"animateSpeed": 300,
		"moveSpeed": 100,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 100
	},
	"flags": {
		"statusBarItems": [
			"enableFloor",
			"enableLv",
			"enableHP",
			"enableMana",
			"enableAtk",
			"enableDef",
			"enableMDef",
			"enableMoney",
			"enableExp",
			"enableKeys",
			"enableGreenKey"
		],
		"autoScale": true,
		"extendToolbar": false,
		"flyNearStair": false,
		"flyRecordPosition": false,
		"itemFirstText": false,
		"equipboxButton": false,
		"enableAddPoint": false,
		"enableNegativeDamage": false,
		"betweenAttackMax": false,
		"useLoop": false,
		"startUsingCanvas": false,
		"statusCanvas": true,
		"enableEnemyPoint": true,
		"enableGentleClick": true,
		"ignoreChangeFloor": true,
		"canGoDeadZone": false,
		"enableMoveDirectly": true,
		"enableRouteFolding": true,
		"disableShopOnDamage": false,
		"blurFg": false,
		"hideLeftStatusBar": false
	}
}