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",
			"MT21",
			"MT22",
			"MT23",
			"MT24",
			"MT25",
			"MT26",
			"MT27",
			"MT28",
			"MT29",
			"MT30",
			"MT31",
			"MT32",
			"MT33",
			"MT34",
			"MT35",
			"MT36",
			"MT37",
			"MT38",
			"MT39",
			"MT40",
			"MT41",
			"MT42",
			"MT43",
			"MT44",
			"MT45",
			"MT46",
			"MT47",
			"MT48",
			"MT49",
			"MT50"
		],
		"floorPartitions": [],
		"images": [
			"bear.png",
			"bg.jpg",
			"dragon.png",
			"hero.png",
			"statusBackground.jpg",
			"statusBackground_vertical.png",
			"winskin.png"
		],
		"tilesets": [
			"magictower.png"
		],
		"animates": [
			"hand",
			"sword",
			"zone"
		],
		"bgms": [
			"xiaoluoli.mp3",
			"wan.mp3",
			"huang.mp3",
			"xian.mp3",
			"chuanshuo.mp3",
			"ed.mp3",
			"hua.mp3",
			"migong.mp3",
			"bgm.mp3",
			"section1.mp3",
			"section2.mp3",
			"section3.mp3",
			"section4.mp3",
			"section5.mp3",
			"boss4.mp3",
			"boss5.mp3",
			"truth.mp3"
		],
		"sounds": [
			"floor.mp3",
			"attack.mp3",
			"door.mp3",
			"item.mp3",
			"equip.mp3",
			"zone.mp3",
			"jump.mp3",
			"pickaxe.mp3",
			"bomb.mp3",
			"centerFly.mp3",
			"3F.mp3",
			"10F.mp3",
			"20F.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": "maze",
				"hard": 1,
				"action": [
					{
						"type": "comment",
						"text": "在这里写该难度需执行的事件"
					},
					{
						"type": "setValue",
						"name": "flag:maze",
						"value": "1"
					}
				]
			},
			{
				"title": "哪上哪下(固定生成)",
				"name": "mazeπ",
				"hard": 3,
				"action": [
					{
						"type": "comment",
						"text": "在这里写该难度需执行的事件"
					},
					{
						"type": "setValue",
						"name": "flag:maze",
						"value": "3"
					}
				]
			},
			{
				"title": "直上直下(随机生成)",
				"name": "Babel",
				"hard": 2,
				"action": [
					{
						"type": "comment",
						"text": "在这里写该难度需执行的事件"
					},
					{
						"type": "setValue",
						"name": "flag:maze",
						"value": "2"
					}
				]
			},
			{
				"title": "直上直下(固定生成)",
				"name": "Babelπ",
				"hard": 4,
				"action": [
					{
						"type": "comment",
						"text": "在这里写该难度需执行的事件"
					},
					{
						"type": "setValue",
						"name": "flag:maze",
						"value": "4"
					}
				]
			}
		],
		"equipName": [],
		"startBgm": null,
		"styles": {
			"startBackground": "project/images/bg.jpg",
			"startVerticalBackground": "project/images/bg.jpg",
			"startLogoStyle": "display:none",
			"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
			"statusLeftBackground": "url(project/materials/ground.png) repeat",
			"statusTopBackground": "url(project/materials/ground.png) repeat",
			"toolsBackground": "url(project/materials/ground.png) repeat",
			"floorChangingStyle": "background-color: black; color: white",
			"statusBarColor": [
				255,
				255,
				255,
				1
			],
			"borderColor": [
				204,
				204,
				204,
				1
			],
			"selectColor": [
				255,
				215,
				0,
				1
			],
			"font": "Verdana"
		},
		"splitImages": [
			{
				"name": "dragon.png",
				"width": 384,
				"height": 96,
				"prefix": "dragon_"
			}
		]
	},
	"firstData": {
		"title": "50层魔塔",
		"name": "51_mtltltmg",
		"version": "Ver 2.6",
		"floorId": "MT1",
		"hero": {
			"image": "hero.png",
			"animate": false,
			"name": "勇者",
			"lv": 1,
			"hpmax": -1,
			"hp": 1000,
			"manamax": -1,
			"mana": 0,
			"atk": 500,
			"def": 1000,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {
					"I300": 1
				},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "down",
				"x": 6,
				"y": 11
			},
			"flags": {
				"nowWeapon": "sword5",
				"nowShield": "shield5",
				"__winskin_opacity__": 1
			},
			"followers": [],
			"steps": 0
		},
		"startCanvas": [
			{
				"type": "comment",
				"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
			},
			{
				"type": "comment",
				"text": "也可以直接切换到其他楼层（比如某个开始剧情楼层）进行操作。"
			},
			{
				"type": "previewUI",
				"action": [
					{
						"type": "fillRect",
						"x": 0,
						"y": 0,
						"width": "core.__PIXELS__",
						"height": "core.__PIXELS__",
						"style": [
							82,
							82,
							82,
							1
						]
					},
					{
						"type": "setAttribute",
						"align": "center"
					},
					{
						"type": "fillBoldText",
						"x": "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": "setText",
				"background": "winskin.png"
			},
			{
				"type": "scrollText",
				"text": "光敏性癫痫警告\n极小部分人可能会在看到特定视觉图像\n(包括可能出现在视频游戏中的闪烁效果或图案)\n时出现癫痫症状。\n甚至没有癫痫史的人也可能具有一些可能会在\n玩视频游戏时导致“光敏性癫痫发作”\n的未确诊症状。\n如果你出现任何症状，\n请立即停止玩游戏并咨询医生。\n这类癫痫症可具有多种不同病状，\n包括头晕目眩、视力模糊、眼睛或面部抽搐、\n四肢抽搐、迷失方向感、\n精神错乱或短暂的意识丧失。\n癫痫发作也可能导致意识丧失或痉挛，\n进而可能导致患者因跌倒或\n撞击到旁边的物体而受伤。\n家长应留意或询问孩子是否有上述症状。\n儿童和青少年比成年人更有可能出现这些症状。\n你可通过采取以下预防措施\n降低光敏性癫痫发作的风险：\n在光线明亮的房间内玩游戏。\n如果感到昏昏欲睡或疲劳，请勿玩游戏。\n如果你或你的亲人有癫痫史，\n请在玩视频游戏前先咨询医生。",
				"time": 5000,
				"lineHeight": 1.4
			},
			{
				"type": "comment",
				"text": "修改注释：\n1.记事本进入录像\n2.道具显示插件\n3.上下楼梯模式修改"
			},
			{
				"type": "comment",
				"text": "道具显示启用"
			},
			{
				"type": "setValue",
				"name": "item:book",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "item:fly",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "item:yellowKey",
				"value": "1"
			},
			{
				"type": "setValue",
				"name": "item:wand",
				"value": "1"
			},
			{
				"type": "function",
				"function": "function(){\ncore.setFlag(\"itemDetail\", true)\n}"
			},
			{
				"type": "comment",
				"text": "清除空气墙"
			},
			{
				"type": "function",
				"function": "function(){\nfor (var z = 0; z <= 50; z++) {\n\tfor (var x = 0; x <= 12; x++) {\n\t\tfor (var y = 0; y <= 12; y++) {\n\t\t\tcore.setBgFgBlock(\"bg\", 0, x, y, \"MT\" + z);\n\t\t}\n\t}\n}\n}"
			},
			{
				"type": "comment",
				"text": "生成楼梯"
			},
			{
				"type": "function",
				"function": "function(){\nvar rand;\nvar mazeTimesX = 0;\nvar changeFlag = 1;\n\nfor (var z = 0; z <= 50; z++) {\n\tfor (var x = 1; x <= 11; x++) {\n\t\tfor (var y = 1; y <= 11; y++) {\n\n\t\t\t//maze12随机生成楼梯\n\t\t\tif (core.getFlag(\"maze\", 0) === 1 || core.getFlag(\"maze\", 0) === 2) {\n\t\t\t\tif (core.getBlockCls(x, y, \"MT\" + z) === null) {\n\t\t\t\t\trand = core.rand(2) + 1;\n\t\t\t\t\tswitch (rand) {\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tcore.setBlock(88, x, y, \"MT\" + z);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tcore.setBlock(87, x, y, \"MT\" + z);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (core.getFlag(\"maze\", 0) === 3 || core.getFlag(\"maze\", 0) === 4) {\n\t\t\t\tif (core.getBlockCls(x, y, \"MT\" + z) === null) {\n\t\t\t\t\t//按圆周率数字规律生成楼梯，且每次数字归零时，切换生成另一种楼梯\n\t\t\t\t\tif (mazeTimesX === 0) {\n\t\t\t\t\t\tchangeFlag *= -1;\n\t\t\t\t\t\tswitch (core.getFlag(\"mazeTimes\", 0)) {\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tmazeTimesX = 3;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tmazeTimesX = 1;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tmazeTimesX = 4;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tmazeTimesX = 1;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tmazeTimesX = 5;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\tmazeTimesX = 9;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 6:\n\t\t\t\t\t\t\tmazeTimesX = 2;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 7:\n\t\t\t\t\t\t\tmazeTimesX = 6;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 8:\n\t\t\t\t\t\t\tmazeTimesX = 5;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 9:\n\t\t\t\t\t\t\tmazeTimesX = 3;\n\t\t\t\t\t\t\tcore.addFlag(\"mazeTimes\", 1)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 10:\n\t\t\t\t\t\t\tmazeTimesX = 5;\n\t\t\t\t\t\t\tcore.setFlag(\"mazeTimes\", 0)\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (changeFlag === 1) {\n\t\t\t\t\t\tcore.setBlock(87, x, y, \"MT\" + z);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcore.setBlock(88, x, y, \"MT\" + z);\n\t\t\t\t\t}\n\t\t\t\t\tmazeTimesX--\n\n\t\t\t\t\t//生成完成\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t}\n\t}\n}\n}"
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[祭坛,blueShop]",
				"textInList": "祭坛",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "开启祭坛",
						"need": "1",
						"action": [
							{
								"type": "insert",
								"name": "商店"
							}
						]
					}
				]
			},
			{
				"id": "keyShop1",
				"textInList": "回收钥匙商店",
				"mustEnable": false,
				"commonEvent": "回收钥匙商店"
			}
		],
		"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": 1,
		"blueGem": 1,
		"greenGem": 5,
		"redPotion": 50,
		"bluePotion": 200,
		"yellowPotion": 500,
		"greenPotion": 800,
		"breakArmor": 0.9,
		"counterAttack": 0.1,
		"purify": 3,
		"hatred": 2,
		"animateSpeed": 400,
		"moveSpeed": 100,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 0
	},
	"flags": {
		"statusBarItems": [
			"enableFloor",
			"enableHP",
			"enableAtk",
			"enableDef",
			"enableMoney",
			"enableKeys"
		],
		"extendToolbar": false,
		"flyNearStair": true,
		"flyRecordPosition": false,
		"itemFirstText": false,
		"equipboxButton": false,
		"enableAddPoint": false,
		"enableNegativeDamage": false,
		"betweenAttackMax": false,
		"useLoop": true,
		"startUsingCanvas": false,
		"statusCanvas": false,
		"enableEnemyPoint": true,
		"enableGentleClick": false,
		"ignoreChangeFloor": false,
		"canGoDeadZone": false,
		"enableMoveDirectly": false,
		"enableRouteFolding": true,
		"disableShopOnDamage": false,
		"blurFg": false
	}
}