var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = 
{
	"main": {
		"floorIds": [
			"LJYKJ",
			"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"
		],
		"floorPartitions": [],
		"images": [
			"101-01.png",
			"101-02.png",
			"101-03.png",
			"101-04.png",
			"bear.png",
			"bg.jpg",
			"brave.png",
			"choosehard.png",
			"death.png",
			"deathnot.png",
			"dragon.png",
			"gjl.png",
			"guiduo.png",
			"guiduonot.png",
			"hero.png",
			"hero_RMVX.png",
			"hpztl.png",
			"jialanduluojing.png",
			"lengdong.png",
			"lengdongnot.png",
			"princess.png",
			"princess_RMVX.png",
			"spztl.png",
			"state.png",
			"state_m.png",
			"title.png",
			"title_u.png",
			"winskin.png",
			"zhie2023.png",
			"zhie2025.png",
			"zhongdu.png",
			"zhongdunot.png"
		],
		"tilesets": [
			"magictower.png"
		],
		"animates": [
			"emoji_aiya",
			"emoji_confuse",
			"emoji_dizzy",
			"emoji_like",
			"emoji_money",
			"emoji_music",
			"emoji_silence",
			"emoji_smokey",
			"emoji_suprise",
			"hand",
			"jianji",
			"lava",
			"sword",
			"thunder",
			"xinxin_huifu",
			"yongchang",
			"zone",
			"zone2",
			"zuozuo2_bingzhichuan",
			"zuozuo2_gongbing",
			"zuozuo2_lengdongfandie",
			"zuozuo2_lengdongfandiebaoji",
			"zuozuo2_menshengaoba",
			"zuozuo2_shilaimuaxiuluo",
			"zuozuo2_shuihuangren",
			"zuozuo2_zcjh",
			"zuozuo_aikoukoujiao",
			"zuozuo_bazhe",
			"zuozuo_bazhuayu",
			"zuozuo_explosion",
			"zuozuo_fandieguiduo",
			"zuozuo_fengzhichuan",
			"zuozuo_guiduojianji",
			"zuozuo_hit",
			"zuozuo_huiban",
			"zuozuo_huifu",
			"zuozuo_huifu2",
			"zuozuo_huozhichuan",
			"zuozuo_jiaji",
			"zuozuo_ldzcj",
			"zuozuo_ldzcjbaoji",
			"zuozuo_leizhichuan",
			"zuozuo_shuizhichuan",
			"zuozuo_sword",
			"zuozuo_swordfive",
			"zuozuo_swordfour",
			"zuozuo_swordthree",
			"zuozuo_swordtwo",
			"zuozuo_xyslm",
			"zuozuo_yanfandie",
			"zuozuo_yanfandiebaoji",
			"zuozuo_yiyuhit",
			"zuozuo_yiyuxixue",
			"zuozuo_zhibacai",
			"zuozuo_zhibacaibaoji",
			"zuozuo_zhichuanjiehui",
			"zuozuo_zhichuanjieyuanshuai",
			"zuozuo_zhifire"
		],
		"bgms": [
			"0.mp3",
			"1.mp3",
			"10.mp3",
			"2.mp3",
			"3partone.mp3",
			"3parttwo.mp3",
			"4.mp3",
			"5.mp3",
			"6.mp3",
			"7.mp3",
			"8partone.mp3",
			"8parttwo.mp3",
			"9.mp3",
			"Battle4.ogg",
			"Dungeon1.ogg",
			"Dungeon4.ogg",
			"Dungeon5.ogg",
			"Dungeon_darkfnt1_mvt.ogg",
			"Dungeon_darkfnt2_mvt.ogg",
			"Field4.ogg",
			"Theme2.ogg",
			"boss.mp3",
			"title.mp3",
			"win.mp3"
		],
		"sounds": [
			"111-Heal07.mp3",
			"Cansel1.wav",
			"Earthquake2.wav",
			"Field4.ogg",
			"Scream.ogg",
			"attack.mp3",
			"bomb.mp3",
			"cancel.mp3",
			"cancel1.mp3",
			"centerFly.mp3",
			"cgbtl14.wav",
			"cgefc01.wav",
			"cgefc16.wav",
			"cgsys11.wav",
			"cgsys12.wav",
			"cgsys13c.wav",
			"cgsys19.wav",
			"cgsys20.wav",
			"confirm.mp3",
			"cursor.mp3",
			"door.mp3",
			"door2.ogg",
			"door3.ogg",
			"equip.mp3",
			"error.mp3",
			"floor.mp3",
			"gameover.mp3",
			"gameover2.mp3",
			"gem.mp3",
			"icePickaxe.mp3",
			"item.mp3",
			"jump.mp3",
			"juqing.mp3",
			"koukoulache.mp3",
			"load.mp3",
			"open_ui.mp3",
			"pickaxe.mp3",
			"pobing.mp3",
			"recovery.mp3",
			"save.mp3",
			"scream5.wav",
			"shop.mp3",
			"xinxindaji.mp3",
			"xinxinhuoyan.mp3",
			"xinxinjianji.mp3",
			"xinxinleiji.mp3",
			"xinxinmowang.mp3",
			"xinxinshuihua.mp3",
			"xinxintouqian.mp3",
			"yichangzhuangtai.mp3",
			"zone.mp3",
			"zuozuo2_arrow.mp3",
			"zuozuo2_dongsigu.mp3",
			"zuozuo2_gongbing.mp3",
			"zuozuo2_guanghuan.mp3",
			"zuozuo2_guiduoyiyu.mp3",
			"zuozuo2_ice.mp3",
			"zuozuo2_icebaoji.mp3",
			"zuozuo2_ldzcjbj.mp3",
			"zuozuo2_lengdongfandie.mp3",
			"zuozuo2_luoxue.mp3",
			"zuozuo2_menshengaoba.mp3",
			"zuozuo2_shilaimuaxiuluo.mp3",
			"zuozuo2_shuihuangren.mp3",
			"zuozuo2_xixue.mp3",
			"zuozuo2_xyslm.mp3",
			"zuozuo2_yfd.mp3",
			"zuozuo2_yfdbj.mp3",
			"zuozuo_absorption.mp3",
			"zuozuo_acquisition.mp3",
			"zuozuo_bazhe.mp3",
			"zuozuo_bazhegongji.mp3",
			"zuozuo_cancel.mp3",
			"zuozuo_cancel2.mp3",
			"zuozuo_chuansong.mp3",
			"zuozuo_cursor.mp3",
			"zuozuo_defence.mp3",
			"zuozuo_explosion.mp3",
			"zuozuo_fire.mp3",
			"zuozuo_fist.mp3",
			"zuozuo_fistbaoji.mp3",
			"zuozuo_huifu.mp3",
			"zuozuo_ko.mp3",
			"zuozuo_koujingtang.mp3",
			"zuozuo_lava.mp3",
			"zuozuo_luduzhongji.mp3",
			"zuozuo_luduzhongji2.mp3",
			"zuozuo_miss.mp3",
			"zuozuo_opendoor.mp3",
			"zuozuo_purchase.mp3",
			"zuozuo_selection.mp3",
			"zuozuo_square.mp3",
			"zuozuo_stair.mp3",
			"zuozuo_start.mp3",
			"zuozuo_sword.mp3",
			"zuozuo_swordbaoji.mp3",
			"zuozuo_swordfive.mp3",
			"zuozuo_swordfour.mp3",
			"zuozuo_swordthree.mp3",
			"zuozuo_swordtwo.mp3",
			"zuozuo_thunder.mp3",
			"zuozuo_thundercurrent.mp3",
			"zuozuo_walk.mp3",
			"zuozuo_watercylinder.mp3",
			"zuozuo_waterzhichuan.mp3",
			"zuozuo_wind.mp3",
			"zuozuo_windbaoji.mp3",
			"zuozuo_wrong.mp3",
			"zuozuo_xianzhefangyu.mp3",
			"zuozuo_xixuebaoji.mp3",
			"zuozuo_xixuegongji.mp3",
			"zuozuo_zhichuanappear.mp3",
			"zuozuo_zhichuanbaoji.mp3",
			"zuozuo_zhichuanbaoji2.mp3",
			"zuozuo_zhichuanhoulan.mp3",
			"zuozuo_zhichuanhoulan2.mp3",
			"zuozuo_zhikoubaoji.mp3"
		],
		"fonts": [
			"fzzy",
			"hemi"
		],
		"nameMap": {
			"确定": "zuozuo_acquisition.mp3",
			"取消": "zuozuo_cancel2.mp3",
			"操作失败": "zuozuo_wrong.mp3",
			"光标移动": "zuozuo_start.mp3",
			"打开界面": "zuozuo_acquisition.mp3",
			"读档": "zuozuo_acquisition.mp3",
			"存档": "zuozuo_acquisition.mp3",
			"获得道具": "zuozuo_acquisition.mp3",
			"回血": "cancel1.mp3",
			"炸弹": "zuozuo_explosion.mp3",
			"飞行器": "zuozuo_chuansong.mp3",
			"开关门": "door.mp3",
			"上下楼": "111-Heal07.mp3",
			"跳跃": "jump.mp3",
			"破墙镐": "pickaxe.mp3",
			"破冰镐": "icePickaxe.mp3",
			"宝石": "Cansel1.wav",
			"阻激夹域": "zone.mp3",
			"穿脱装备": "equip.mp3",
			"背景音乐": "bgm.mp3",
			"攻击": "zuozuo_fist.mp3",
			"背景图": "bg.jpg",
			"商店": "zuozuo_purchase.mp3",
			"领域": "zone"
		},
		"levelChoose": [
			{
				"title": "起步",
				"name": "Starter",
				"hard": 1,
				"color": [
					255,
					255,
					255,
					1
				],
				"action": [
					{
						"type": "comment",
						"text": "在这里写该难度需执行的事件"
					}
				]
			},
			{
				"title": "基本",
				"name": "Basic",
				"hard": 2,
				"color": [
					255,
					255,
					255,
					1
				],
				"action": []
			},
			{
				"title": "高阶",
				"name": "Premium",
				"hard": 3,
				"color": [
					255,
					255,
					255,
					1
				],
				"action": []
			},
			{
				"title": "终阶",
				"name": "Ultimate",
				"hard": 4,
				"color": [
					255,
					255,
					255,
					1
				],
				"action": []
			}
		],
		"equipName": [
			"武器",
			"盾牌",
			"护符",
			"铠甲",
			"灵器"
		],
		"startBgm": "Theme2.ogg",
		"styles": {
			"startBackground": "project/images/title.png",
			"startVerticalBackground": "project/images/title.png",
			"startLogoStyle": "color: black",
			"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
			"statusLeftBackground": "url(project/images/hpztl.png) 0/100% repeat",
			"statusTopBackground": "url(project/images/spztl.png) 0/100% 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": "fzzy"
		},
		"splitImages": [
			{
				"name": "dragon.png",
				"width": 384,
				"height": 96,
				"prefix": "dragon_"
			}
		]
	},
	"firstData": {
		"title": "魔塔-Retro3",
		"name": "MagicTower2025",
		"version": "1.01.2910",
		"floorId": "MT0",
		"hero": {
			"image": "princess.png",
			"animate": false,
			"name": "维安娜",
			"lv": 1,
			"hpmax": 999999,
			"hp": 200,
			"manamax": -1,
			"mana": 0,
			"atk": 25,
			"def": 25,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "up",
				"x": 6,
				"y": 11
			},
			"flags": {},
			"followers": [],
			"steps": 0
		},
		"startCanvas": [
			{
				"type": "hideStatusBar"
			},
			{
				"type": "comment",
				"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
			},
			{
				"type": "comment",
				"text": "也可以直接切换到其他楼层（比如某个开始剧情楼层）进行操作。"
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "0"
			},
			{
				"type": "setValue",
				"name": "flag:高级版",
				"value": "false"
			},
			{
				"type": "comment",
				"text": "在右下方自绘一个对话框进行显示选择项"
			},
			{
				"type": "while",
				"condition": "1",
				"data": [
					{
						"type": "clearMap"
					},
					{
						"type": "if",
						"condition": "(flag:高级版==true)",
						"true": [
							{
								"type": "drawImage",
								"image": "title_u.png",
								"x": 0,
								"y": 0
							}
						],
						"false": [
							{
								"type": "drawImage",
								"image": "title.png",
								"x": 0,
								"y": 0
							}
						]
					},
					{
						"type": "drawImage",
						"image": "zhie2025.png",
						"x": 0,
						"y": 0
					},
					{
						"type": "fillBoldText",
						"x": 15,
						"y": 30,
						"style": [
							255,
							255,
							255,
							1
						],
						"strokeStyle": [
							0,
							0,
							0,
							1
						],
						"font": "bold 25px hemi",
						"text": "Magic Tower"
					},
					{
						"type": "previewUI",
						"action": [
							{
								"type": "setAttribute",
								"align": "left"
							}
						]
					},
					{
						"type": "previewUI",
						"action": [
							{
								"type": "setAttribute",
								"align": "center"
							},
							{
								"type": "if",
								"condition": "(flag:selection===0)",
								"true": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 240,
										"style": [
											255,
											255,
											255,
											1
										],
										"strokeStyle": [
											0,
											255,
											241,
											0.54
										],
										"font": "bold 25px hemi",
										"text": "New Game"
									}
								],
								"false": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 240,
										"style": [
											200,
											200,
											200,
											1
										],
										"font": "bold 25px hemi",
										"text": "New Game"
									}
								]
							},
							{
								"type": "if",
								"condition": "(flag:selection===1)",
								"true": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 280,
										"style": [
											255,
											255,
											255,
											1
										],
										"strokeStyle": [
											0,
											255,
											241,
											0.54
										],
										"font": "bold 25px hemi",
										"text": "Load Game"
									}
								],
								"false": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 280,
										"style": [
											200,
											200,
											200,
											1
										],
										"font": "bold 25px hemi",
										"text": "Load Game"
									}
								]
							},
							{
								"type": "if",
								"condition": "(flag:selection===2)",
								"true": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 320,
										"style": [
											255,
											255,
											255,
											1
										],
										"strokeStyle": [
											0,
											255,
											241,
											0.54
										],
										"font": "bold 25px hemi",
										"text": "Playback"
									}
								],
								"false": [
									{
										"type": "fillBoldText",
										"x": 210,
										"y": 320,
										"style": [
											200,
											200,
											200,
											1
										],
										"font": "bold 25px hemi",
										"text": "Playback"
									}
								]
							},
							{
								"type": "fillBoldText",
								"x": 65,
								"y": 400,
								"style": [
									255,
									255,
									0,
									1
								],
								"font": "bold 25px hemi",
								"text": "Ultimate"
							}
						]
					},
					{
						"type": "wait",
						"data": [
							{
								"case": "keyboard",
								"keycode": "13,32",
								"break": true,
								"action": [
									{
										"type": "switch",
										"condition": "flag:selection",
										"caseList": [
											{
												"case": "0",
												"action": [
													{
														"type": "comment",
														"text": "在“开始游戏”确定"
													},
													{
														"type": "playSound",
														"name": "确定"
													},
													{
														"type": "break",
														"n": 1
													}
												]
											},
											{
												"case": "1",
												"action": [
													{
														"type": "comment",
														"text": "在“读取存档”确定"
													},
													{
														"type": "playSound",
														"name": "确定"
													},
													{
														"type": "callLoad"
													}
												]
											},
											{
												"case": "2",
												"action": [
													{
														"type": "comment",
														"text": "在“回放录像”确定"
													},
													{
														"type": "playSound",
														"name": "确定"
													},
													{
														"type": "if",
														"condition": "(!core.isReplaying())",
														"true": [
															{
																"type": "function",
																"function": "function(){\ncore.chooseReplayFile()\n}"
															}
														]
													}
												]
											}
										]
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "38",
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "光标上键"
									},
									{
										"type": "playSound",
										"name": "光标移动"
									},
									{
										"type": "setValue",
										"name": "flag:selection",
										"value": "(flag:selection + 2) % 3"
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "40",
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "光标下键"
									},
									{
										"type": "playSound",
										"name": "光标移动"
									},
									{
										"type": "setValue",
										"name": "flag:selection",
										"value": "(flag:selection + 1) % 3"
									}
								]
							},
							{
								"case": "keyboard",
								"keycode": "85",
								"break": true,
								"action": [
									{
										"type": "comment",
										"text": "U键"
									},
									{
										"type": "playSound",
										"name": "光标移动"
									},
									{
										"type": "if",
										"condition": "(flag:高级版==true)",
										"true": [
											{
												"type": "setValue",
												"name": "flag:高级版",
												"value": "false"
											}
										],
										"false": [
											{
												"type": "setValue",
												"name": "flag:高级版",
												"value": "true"
											}
										]
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									145,
									275
								],
								"py": [
									221,
									260
								],
								"break": true,
								"action": [
									{
										"type": "playSound",
										"name": "确定"
									},
									{
										"type": "comment",
										"text": "点击“开始游戏”"
									},
									{
										"type": "break",
										"n": 1
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									145,
									275
								],
								"py": [
									261,
									300
								],
								"break": true,
								"action": [
									{
										"type": "playSound",
										"name": "确定"
									},
									{
										"type": "comment",
										"text": "点击“读取存档”"
									},
									{
										"type": "callLoad"
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									145,
									275
								],
								"py": [
									301,
									340
								],
								"break": true,
								"action": [
									{
										"type": "playSound",
										"name": "确定"
									},
									{
										"type": "comment",
										"text": "点击“播放录像”"
									},
									{
										"type": "if",
										"condition": "(!core.isReplaying())",
										"true": [
											{
												"type": "function",
												"function": "function(){\ncore.chooseReplayFile()\n}"
											}
										]
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									0,
									130
								],
								"py": [
									380,
									420
								],
								"break": true,
								"action": [
									{
										"type": "playSound",
										"name": "确定"
									},
									{
										"type": "comment",
										"text": "高级版"
									},
									{
										"type": "if",
										"condition": "(flag:高级版==true)",
										"true": [
											{
												"type": "setValue",
												"name": "flag:高级版",
												"value": "false"
											}
										],
										"false": [
											{
												"type": "setValue",
												"name": "flag:高级版",
												"value": "true"
											}
										]
									}
								]
							}
						]
					}
				]
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "null"
			},
			{
				"type": "drawSelector",
				"code": 1
			},
			{
				"type": "clearMap"
			},
			{
				"type": "function",
				"function": "function(){\ncore.control.checkBgm()\n}"
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "0"
			},
			{
				"type": "while",
				"condition": "1",
				"data": [
					{
						"type": "clearMap"
					},
					{
						"type": "if",
						"condition": "(flag:高级版==true)",
						"true": [
							{
								"type": "drawImage",
								"image": "title_u.png",
								"x": 0,
								"y": 0
							}
						],
						"false": [
							{
								"type": "drawImage",
								"image": "title.png",
								"x": 0,
								"y": 0
							}
						]
					},
					{
						"type": "drawImage",
						"image": "choosehard.png",
						"x": 0,
						"y": 0
					},
					{
						"type": "previewUI",
						"action": [
							{
								"type": "setAttribute",
								"align": "left"
							},
							{
								"type": "fillBoldText",
								"x": 15,
								"y": 30,
								"style": [
									255,
									255,
									255,
									1
								],
								"strokeStyle": [
									0,
									0,
									0,
									1
								],
								"font": "bold 25px hemi",
								"text": "Magic Tower"
							}
						]
					},
					{
						"type": "if",
						"condition": "(flag:高级版==true)",
						"true": [
							{
								"type": "previewUI",
								"action": [
									{
										"type": "setAttribute",
										"align": "center"
									},
									{
										"type": "fillBoldText",
										"x": 200,
										"y": 280,
										"style": [
											255,
											255,
											255,
											1
										],
										"strokeStyle": [
											0,
											255,
											241,
											0.54
										],
										"font": "bold 25px hemi",
										"text": "Ultimate"
									}
								]
							},
							{
								"type": "wait",
								"data": [
									{
										"case": "keyboard",
										"keycode": "13,32",
										"break": true,
										"action": [
											{
												"type": "comment",
												"text": "选择终阶难度"
											},
											{
												"type": "playSound",
												"name": "确定"
											},
											{
												"type": "function",
												"function": "function(){\ncore.status.hard = 'Ultimate'\n}"
											},
											{
												"type": "break",
												"n": 1
											}
										]
									},
									{
										"case": "keyboard",
										"keycode": "8,27",
										"break": true,
										"action": [
											{
												"type": "comment",
												"text": "退出"
											},
											{
												"type": "playSound",
												"name": "取消"
											},
											{
												"type": "restart"
											}
										]
									},
									{
										"case": "mouse",
										"px": [
											135,
											265
										],
										"py": [
											261,
											300
										],
										"break": true,
										"action": [
											{
												"type": "playSound",
												"name": "确定"
											},
											{
												"type": "comment",
												"text": "选择终阶难度"
											},
											{
												"type": "function",
												"function": "function(){\ncore.status.hard = 'Ultimate'\n}"
											},
											{
												"type": "break",
												"n": 1
											}
										]
									}
								]
							}
						],
						"false": [
							{
								"type": "previewUI",
								"action": [
									{
										"type": "setAttribute",
										"align": "center"
									},
									{
										"type": "if",
										"condition": "(flag:selection===0)",
										"true": [
											{
												"type": "fillBoldText",
												"x": 170,
												"y": 240,
												"style": [
													255,
													255,
													255,
													1
												],
												"strokeStyle": [
													0,
													255,
													241,
													0.54
												],
												"font": "bold 25px hemi",
												"text": "Starter"
											}
										],
										"false": [
											{
												"type": "fillBoldText",
												"x": 170,
												"y": 240,
												"style": [
													200,
													200,
													200,
													1
												],
												"font": "bold 25px hemi",
												"text": "Starter"
											}
										]
									},
									{
										"type": "if",
										"condition": "(flag:selection===1)",
										"true": [
											{
												"type": "fillBoldText",
												"x": 200,
												"y": 280,
												"style": [
													255,
													255,
													255,
													1
												],
												"strokeStyle": [
													0,
													255,
													241,
													0.54
												],
												"font": "bold 25px hemi",
												"text": "Basic"
											}
										],
										"false": [
											{
												"type": "fillBoldText",
												"x": 200,
												"y": 280,
												"style": [
													200,
													200,
													200,
													1
												],
												"font": "bold 25px hemi",
												"text": "Basic"
											}
										]
									},
									{
										"type": "if",
										"condition": "(flag:selection===2)",
										"true": [
											{
												"type": "fillBoldText",
												"x": 260,
												"y": 320,
												"style": [
													255,
													255,
													255,
													1
												],
												"strokeStyle": [
													0,
													255,
													241,
													0.54
												],
												"font": "bold 25px hemi",
												"text": "Premium"
											}
										],
										"false": [
											{
												"type": "fillBoldText",
												"x": 260,
												"y": 320,
												"style": [
													200,
													200,
													200,
													1
												],
												"font": "bold 25px hemi",
												"text": "Premium"
											}
										]
									}
								]
							},
							{
								"type": "wait",
								"data": [
									{
										"case": "keyboard",
										"keycode": "13,32",
										"break": true,
										"action": [
											{
												"type": "switch",
												"condition": "flag:selection",
												"caseList": [
													{
														"case": "0",
														"action": [
															{
																"type": "comment",
																"text": "选择起步难度"
															},
															{
																"type": "playSound",
																"name": "确定"
															},
															{
																"type": "function",
																"function": "function(){\ncore.status.hard = 'Starter'\n}"
															},
															{
																"type": "break",
																"n": 1
															}
														]
													},
													{
														"case": "1",
														"action": [
															{
																"type": "comment",
																"text": "选择基本难度"
															},
															{
																"type": "playSound",
																"name": "确定"
															},
															{
																"type": "function",
																"function": "function(){\ncore.status.hard = 'Basic'\n}"
															},
															{
																"type": "break",
																"n": 1
															}
														]
													},
													{
														"case": "2",
														"action": [
															{
																"type": "comment",
																"text": "选择高阶难度"
															},
															{
																"type": "playSound",
																"name": "确定"
															},
															{
																"type": "function",
																"function": "function(){\ncore.status.hard = 'Premium'\n}"
															},
															{
																"type": "break",
																"n": 1
															}
														]
													}
												]
											}
										]
									},
									{
										"case": "keyboard",
										"keycode": "8,27",
										"break": true,
										"action": [
											{
												"type": "comment",
												"text": "退出"
											},
											{
												"type": "playSound",
												"name": "取消"
											},
											{
												"type": "restart"
											}
										]
									},
									{
										"case": "keyboard",
										"keycode": "38",
										"break": true,
										"action": [
											{
												"type": "comment",
												"text": "光标上键"
											},
											{
												"type": "playSound",
												"name": "光标移动"
											},
											{
												"type": "setValue",
												"name": "flag:selection",
												"value": "(flag:selection + 2) % 3"
											}
										]
									},
									{
										"case": "keyboard",
										"keycode": "40",
										"break": true,
										"action": [
											{
												"type": "comment",
												"text": "光标下键"
											},
											{
												"type": "playSound",
												"name": "光标移动"
											},
											{
												"type": "setValue",
												"name": "flag:selection",
												"value": "(flag:selection + 1) % 3"
											}
										]
									},
									{
										"case": "mouse",
										"px": [
											135,
											265
										],
										"py": [
											221,
											260
										],
										"break": true,
										"action": [
											{
												"type": "playSound",
												"name": "确定"
											},
											{
												"type": "comment",
												"text": "选择起步难度"
											},
											{
												"type": "function",
												"function": "function(){\ncore.status.hard = 'Starter'\n}"
											},
											{
												"type": "break",
												"n": 1
											}
										]
									},
									{
										"case": "mouse",
										"px": [
											135,
											265
										],
										"py": [
											261,
											300
										],
										"break": true,
										"action": [
											{
												"type": "playSound",
												"name": "确定"
											},
											{
												"type": "comment",
												"text": "选择基本难度"
											},
											{
												"type": "function",
												"function": "function(){\ncore.status.hard = 'Basic'\n}"
											},
											{
												"type": "break",
												"n": 1
											}
										]
									},
									{
										"case": "mouse",
										"px": [
											135,
											265
										],
										"py": [
											301,
											340
										],
										"break": true,
										"action": [
											{
												"type": "playSound",
												"name": "确定"
											},
											{
												"type": "comment",
												"text": "选择高阶难度"
											},
											{
												"type": "function",
												"function": "function(){\ncore.status.hard = 'Premium'\n}"
											},
											{
												"type": "break",
												"n": 1
											}
										]
									}
								]
							}
						]
					}
				]
			},
			{
				"type": "setValue",
				"name": "flag:selection",
				"value": "null"
			},
			{
				"type": "drawSelector",
				"code": 1
			},
			{
				"type": "clearMap"
			},
			{
				"type": "comment",
				"text": "接下来会执行startText中的事件"
			},
			{
				"type": "comment",
				"text": "状态栏默认处于隐藏状态；可以使用“显示状态栏”事件进行显示。"
			}
		],
		"startText": [
			{
				"type": "switch",
				"condition": "flag:hard",
				"caseList": [
					{
						"case": "3",
						"action": [
							{
								"type": "setEnemy",
								"id": "E456",
								"name": "atk",
								"value": "4820"
							},
							{
								"type": "setEnemy",
								"id": "E456",
								"name": "def",
								"value": "1530"
							},
							{
								"type": "setEnemy",
								"id": "E457",
								"name": "atk",
								"value": "8250"
							},
							{
								"type": "setEnemy",
								"id": "E457",
								"name": "def",
								"value": "4074"
							}
						]
					},
					{
						"case": "4",
						"action": [
							{
								"type": "setEnemy",
								"id": "E456",
								"name": "atk",
								"value": "4820"
							},
							{
								"type": "setEnemy",
								"id": "E456",
								"name": "def",
								"value": "1530"
							},
							{
								"type": "setEnemy",
								"id": "skeletonCaptain",
								"name": "atk",
								"value": "1060"
							},
							{
								"type": "setEnemy",
								"id": "brownWizard",
								"name": "atk",
								"value": "460"
							},
							{
								"type": "setEnemy",
								"id": "redWizard",
								"name": "atk",
								"value": "700"
							},
							{
								"type": "setEnemy",
								"id": "evilPrincess",
								"name": "atk",
								"value": "3600"
							},
							{
								"type": "setEnemy",
								"id": "E386",
								"name": "range",
								"value": "2"
							},
							{
								"type": "setEnemy",
								"id": "poisonSkeleton",
								"name": "atk",
								"value": "7300"
							},
							{
								"type": "setEnemy",
								"id": "magicMaster",
								"name": "atk",
								"value": "1120"
							},
							{
								"type": "setEnemy",
								"id": "E369",
								"name": "atk",
								"value": "4300"
							},
							{
								"type": "setEnemy",
								"id": "poisonBat",
								"name": "atk",
								"value": "4380"
							},
							{
								"type": "setEnemy",
								"id": "poisonZombie",
								"name": "atk",
								"value": "4610"
							},
							{
								"type": "setEnemy",
								"id": "darkKnight",
								"name": "atk",
								"value": "4850"
							},
							{
								"type": "setEnemy",
								"id": "soldier",
								"name": "atk",
								"value": "5100"
							},
							{
								"type": "setEnemy",
								"id": "ghostSoldier",
								"name": "atk",
								"value": "5550"
							},
							{
								"type": "setEnemy",
								"id": "E359",
								"name": "atk",
								"value": "6220"
							},
							{
								"type": "setEnemy",
								"id": "whiteSlimeman",
								"name": "atk",
								"value": "4170"
							},
							{
								"type": "setEnemy",
								"id": "ironRock",
								"name": "atk",
								"value": "4300"
							},
							{
								"type": "setEnemy",
								"id": "redSwordsman",
								"name": "atk",
								"value": "3870"
							},
							{
								"type": "setEnemy",
								"id": "redKing",
								"name": "atk",
								"value": "6660"
							},
							{
								"type": "setEnemy",
								"id": "E457",
								"name": "atk",
								"value": "9999"
							},
							{
								"type": "setEnemy",
								"id": "E457",
								"name": "def",
								"value": "4444"
							}
						]
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "comment",
				"text": "初始剧情"
			},
			{
				"type": "loadBgm",
				"name": "1.mp3"
			},
			{
				"type": "confirm",
				"default": true,
				"text": "是否跳过剧情？",
				"yes": [
					{
						"type": "function",
						"function": "function(){\nif (core.getLocalStorage(\"extraDamage\") == null) core.setLocalStorage(\"extraDamage\", core.flags.displayExtraDamage = false);\n}"
					},
					{
						"type": "setGlobalAttribute",
						"name": "toolsBackground",
						"value": "url(project/images/gjl.png) 0/100% repeat"
					},
					{
						"type": "showStatusBar"
					}
				],
				"no": [
					{
						"type": "setGlobalAttribute",
						"name": "toolsBackground",
						"value": "url(project/images/gjl.png) 0/100% repeat"
					},
					{
						"type": "pauseBgm"
					},
					{
						"type": "playSound",
						"name": "Field4.ogg"
					},
					{
						"type": "showImage",
						"code": 1,
						"image": "title.png",
						"loc": [
							0,
							0
						],
						"opacity": 1,
						"time": 2000
					},
					{
						"type": "setText",
						"position": "down",
						"align": "left",
						"background": [
							0,
							0,
							0,
							0
						],
						"time": 125
					},
					{
						"type": "autoText",
						"text": "魔塔救公主的故事，你大概已经耳熟能详了吧。\n公主绝大部分是被抓走的对象，\n甚至，在某些故事里，\n公主也可以是诱捕勇士的工具人。",
						"time": 9500
					},
					{
						"type": "autoText",
						"text": "在我们的印象里，公主都是柔弱的，\n需要勇者的拯救，更需要勇者的保护。\n但凡事总是有例外的……",
						"time": 7500
					},
					{
						"type": "autoText",
						"text": "今天的故事，发生在一个遥远的国度。\n这个国家也有一位公主，\n但她跟我们熟悉的公主似乎有点不一样。",
						"time": 7750
					},
					{
						"type": "autoText",
						"text": "别的公主，爱好打扮，爱好花花草草，\n她却热爱格斗，热爱冒险。\n她小小年纪，就有了不输侍卫的格斗能力。\n国王都不禁感叹，她要是个王子就好了。",
						"time": 10250
					},
					{
						"type": "autoText",
						"text": "总有人会劝她，公主不应当太过野蛮，\n否则会找不到王子娶她。\n但是她并不在意他们说什么，\n更不在意未来谁会娶她。",
						"time": 8500
					},
					{
						"type": "autoText",
						"text": "日子就这样平静的过着，\n直到某天，出现了一栋奇怪的建筑，\n建筑内冒出来的魔物肆意伤人，\n平民们对此十分苦恼。",
						"time": 8375
					},
					{
						"type": "autoText",
						"text": "国王率领他的骑兵进入那栋建筑，\n试图消灭那些魔物。\n可数月过去了，他们仍然没有回来。\n一直没有国王的消息，公主逐渐坐不住了。",
						"time": 9375
					},
					{
						"type": "autoText",
						"text": "她不顾任何人的阻拦，\n气势汹汹的来到了那栋建筑……",
						"time": 5000
					},
					{
						"type": "setText",
						"position": "center",
						"background": [
							0,
							0,
							0,
							1
						],
						"time": 0
					},
					{
						"type": "stopSound"
					},
					{
						"type": "function",
						"function": "function(){\nif (core.getLocalStorage(\"extraDamage\") == null) core.setLocalStorage(\"extraDamage\", core.flags.displayExtraDamage = false);\n}"
					},
					{
						"type": "resumeBgm",
						"resume": true
					},
					{
						"type": "hideImage",
						"code": 1,
						"time": 1000
					},
					{
						"type": "showStatusBar"
					}
				]
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[自动售货机,moneyShop]你好，这里是自动售货机，\n花费一定量的金币可以为您提升：",
				"textInList": "主塔3F自动售货机",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命值400点（50金币）",
						"need": "status:money>=50",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "400"
							}
						]
					},
					{
						"text": "攻击力5点（30金币）",
						"need": "status:money>=30",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "30"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "5"
							}
						]
					},
					{
						"text": "防御力5点（30金币）",
						"need": "status:money>=30",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "30"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "5"
							}
						]
					}
				]
			},
			{
				"id": "shop2",
				"text": "\t[自动售货机,moneyShop]你好，这里是自动售货机，\n花费一定量的金币可以为您提升：",
				"textInList": "主塔11F自动售货机",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命值1200点（120金币）",
						"need": "status:money>=120",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "120"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "1200"
							}
						]
					},
					{
						"text": "攻击力20点（90金币）",
						"need": "status:money>=90",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "90"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "20"
							}
						]
					},
					{
						"text": "防御力20点（90金币）",
						"need": "status:money>=90",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "90"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "20"
							}
						]
					}
				]
			},
			{
				"id": "expshop1",
				"text": "\t[经验交换机,expShop]你好，这里是经验交换机，\n用一定数额的经验可以换取：",
				"textInList": "主塔5F经验交换机",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "1个等级（100经验）",
						"need": "status:exp>=100",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "100"
							},
							{
								"type": "setValue",
								"name": "status:lv",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "300"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "15"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "15"
							}
						]
					},
					{
						"text": "15点攻击（50经验）",
						"need": "status:exp>=50",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "15"
							}
						]
					},
					{
						"text": "15点防御（50经验）",
						"need": "status:exp>=50",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "15"
							}
						]
					}
				]
			},
			{
				"id": "expshop2",
				"text": "\t[经验交换机,expShop]你好，这里是经验交换机，\n用一定数额的经验可以换取：",
				"textInList": "主塔12F经验交换机",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "3个等级（280经验）",
						"need": "status:exp>=280",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "280"
							},
							{
								"type": "setValue",
								"name": "status:lv",
								"operator": "+=",
								"value": "3"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "1000"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "45"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "45"
							}
						]
					},
					{
						"text": "50点攻击（150经验）",
						"need": "status:exp>=150",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "150"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "50"
							}
						]
					},
					{
						"text": "50点防御（150经验）",
						"need": "status:exp>=150",
						"action": [
							{
								"type": "setValue",
								"name": "status:exp",
								"operator": "-=",
								"value": "150"
							},
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "50"
							}
						]
					}
				]
			},
			{
				"id": "buykeyshop",
				"text": "\t[盗贼,thief]你缺哪一种钥匙？我这里有很多哦！",
				"textInList": "买入钥匙商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "黄铜钥匙（20金币）",
						"need": "status:money>=20",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20"
							},
							{
								"type": "setValue",
								"name": "item:yellowKey",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "水晶钥匙（60金币）",
						"need": "status:money>=60",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "60"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "+=",
								"value": "1"
							}
						]
					},
					{
						"text": "珊瑚钥匙（150金币）",
						"need": "status:money>=150",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "150"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "+=",
								"value": "1"
							}
						]
					}
				]
			},
			{
				"id": "salekeyshop",
				"text": "\t[商人,trader]你好，你想卖出什么钥匙吗？",
				"textInList": "回收钥匙商店",
				"mustEnable": true,
				"disablePreview": false,
				"choices": [
					{
						"text": "黄铜钥匙（10金币）",
						"need": "item:yellowKey>=1",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "10"
							},
							{
								"type": "setValue",
								"name": "item:yellowKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "水晶钥匙（40金币）",
						"need": "item:blueKey>=1",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "40"
							},
							{
								"type": "setValue",
								"name": "item:blueKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "珊瑚钥匙（100金币）",
						"need": "item:redKey>=1",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "100"
							},
							{
								"type": "setValue",
								"name": "item:redKey",
								"operator": "-=",
								"value": "1"
							}
						]
					},
					{
						"text": "青玉钥匙（600金币）",
						"need": "item:greenKey>=1",
						"action": [
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "+=",
								"value": "600"
							},
							{
								"type": "setValue",
								"name": "item:greenKey",
								"operator": "-=",
								"value": "1"
							}
						]
					}
				]
			}
		],
		"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": 50,
		"poisonDamage": 0,
		"weakValue": 0,
		"redGem": 5,
		"blueGem": 5,
		"greenGem": 10,
		"redPotion": 200,
		"bluePotion": 500,
		"yellowPotion": 500,
		"greenPotion": 1000,
		"breakArmor": 0.9,
		"counterAttack": 0.1,
		"purify": 3,
		"hatred": 2,
		"animateSpeed": 300,
		"moveSpeed": 100,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 100,
		"superPotion": 2000
	},
	"flags": {
		"statusBarItems": [
			"enableFloor",
			"enableLv",
			"enableHP",
			"enableMana",
			"enableAtk",
			"enableDef",
			"enableMDef",
			"enableMoney",
			"enableExp",
			"enableKeys",
			"enableGreenKey",
			"enableDebuff",
			"enableSkill"
		],
		"autoScale": true,
		"extendToolbar": true,
		"flyNearStair": false,
		"flyRecordPosition": false,
		"itemFirstText": false,
		"equipboxButton": false,
		"enableAddPoint": false,
		"enableNegativeDamage": false,
		"betweenAttackMax": false,
		"useLoop": true,
		"startUsingCanvas": true,
		"statusCanvas": true,
		"enableEnemyPoint": true,
		"enableGentleClick": true,
		"ignoreChangeFloor": true,
		"canGoDeadZone": true,
		"enableMoveDirectly": true,
		"enableRouteFolding": true,
		"disableShopOnDamage": false,
		"blurFg": false,
		"hideLeftStatusBar": false
	}
}