var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d = 
{
	"main": {
		"floorIds": [
			"levelA",
			"A_1",
			"A_2",
			"A_3",
			"debug",
			"A_4",
			"A_4_1",
			"A_5",
			"A_5_1",
			"space",
			"A_6",
			"A_6_1",
			"A_7",
			"A_7_1",
			"A_8",
			"A_8_1",
			"A_9",
			"A_9_1",
			"levelB",
			"Help",
			"B_1",
			"B_1_1",
			"B_2",
			"B_2_1",
			"B_3",
			"B_3_1",
			"B_4",
			"B_4_1",
			"B_4_2",
			"B_4_3",
			"B_5",
			"B_5_1",
			"B_6",
			"B_6_1",
			"B_7",
			"B_7_1",
			"B_7_2",
			"B_8",
			"B_8_1",
			"B_9",
			"B_9_1",
			"B_10",
			"B_10_1",
			"B_11",
			"B_11_1",
			"B_11_2",
			"B_11_3",
			"B_11_4",
			"B_12",
			"B_13",
			"B_14",
			"B_15",
			"B_16",
			"B_17",
			"B_18",
			"levelC",
			"C_1",
			"C_1_1",
			"C_2",
			"C_2_1",
			"C_2_2",
			"C_3",
			"C_3_1",
			"C_3_2",
			"C_4",
			"C_4_1",
			"C_5",
			"C_5_1",
			"C_6",
			"C_6_1",
			"C_7",
			"C_7_1",
			"C_8",
			"C_8_1",
			"C_9",
			"C_9_1",
			"C_9_2",
			"C_10",
			"C_10_1",
			"C_10_2",
			"C_10_3",
			"C_11",
			"C_11_1",
			"C_11_2",
			"C_12",
			"C_13",
			"C_14",
			"levelD",
			"D_1",
			"D_1_1",
			"D_2",
			"D_2_1",
			"D_3",
			"D_3_1",
			"D_4",
			"D_4_1",
			"D_5",
			"D_6",
			"D_7",
			"D_7_1",
			"D_7_2",
			"D_8",
			"D_8_1",
			"D_9",
			"D_9_1",
			"D_10",
			"D_10_1",
			"D_11",
			"D_11_1",
			"D_11_2",
			"D_12",
			"D_12_1",
			"D_12_2",
			"D_12_3",
			"D_13",
			"D_13_1",
			"levelE",
			"E_1",
			"E_1_1",
			"E_2",
			"E_2_1",
			"E_3",
			"E_3_1",
			"E_4",
			"E_4_1",
			"E_5",
			"E_5_1",
			"E_6",
			"E_6_1",
			"E_7",
			"E_7_1",
			"E_8",
			"E_8_1",
			"E_8_2",
			"E_8_3",
			"E_9",
			"E_9_1",
			"E_10",
			"E_10_1",
			"E_10_2",
			"E_10_3",
			"E_10_4",
			"E_11",
			"E_12",
			"E_12_1",
			"levelF",
			"F_1",
			"F_1_1",
			"F_2",
			"F_2_1",
			"F_3",
			"F_3_1",
			"F_4",
			"F_4_1",
			"F_5",
			"F_5_1",
			"F_5_2",
			"F_5_3",
			"levelG",
			"G_1",
			"G_1_1",
			"G_2",
			"G_2_1",
			"G_3",
			"G_3_1",
			"G_3_2",
			"G_4",
			"G_4_1",
			"G_4_2",
			"G_5",
			"G_5_1",
			"G_5_2",
			"G_5_3",
			"G_6",
			"G_7",
			"G_8",
			"G_8_1",
			"G_9",
			"G_9_1",
			"G_9_2",
			"G_9_3",
			"G_10",
			"G_10_1",
			"G_10_2",
			"G_11",
			"G_11_1",
			"G_12",
			"G_12_1",
			"G_13",
			"G_13_1",
			"G_14",
			"G_14_1",
			"G_14_2",
			"G_15",
			"G_15_1",
			"G_16",
			"G_16_1",
			"G_16_2"
		],
		"floorPartitions": [],
		"images": [
			"bear.png",
			"bg.jpg",
			"dragon.png",
			"player.png",
			"brave.png",
			"hero.png",
			"winskin.png",
			"bg.png",
			"bg0.png",
			"bg1.png",
			"bg2.png",
			"bg3.png",
			"bg4.png",
			"bg5.png",
			"levelA.png",
			"levelB.png",
			"levelC.png",
			"levelD.png",
			"levelE.png",
			"levelF.png",
			"levelG.png",
			"space.png",
			"autotile.png",
			"boxbor.png",
			"playerbor.png",
			"box.png",
			"box1.png",
			"box2.png",
			"box3.png",
			"box4.png",
			"box5.png",
			"box6.png",
			"box7.png",
			"box8.png",
			"box9.png",
			"box10.png",
			"box11.png",
			"box12.png",
			"box13.png",
			"box14.png",
			"box15.png",
			"box16.png",
			"box17.png",
			"box18.png",
			"box19.png",
			"box20.png",
			"box21.png",
			"box22.png",
			"box23.png",
			"box24.png",
			"box25.png",
			"box26.png",
			"box27.png",
			"box28.png",
			"box29.png",
			"box30.png",
			"box31.png",
			"box32.png",
			"box33.png",
			"box34.png",
			"box35.png",
			"box36.png",
			"box37.png",
			"box38.png",
			"box39.png",
			"box40.png",
			"box41.png",
			"box42.png",
			"box43.png",
			"box44.png",
			"box45.png",
			"box46.png",
			"box47.png",
			"box48.png",
			"box49.png",
			"box50.png",
			"box51.png",
			"box52.png",
			"box53.png",
			"box54.png",
			"box55.png",
			"box56.png",
			"box57.png",
			"box58.png",
			"box59.png",
			"box60.png",
			"box61.png",
			"box62.png",
			"box63.png",
			"box64.png",
			"box65.png",
			"box66.png",
			"box67.png",
			"box68.png",
			"box69.png",
			"box70.png",
			"box71.png",
			"box72.png",
			"box73.png",
			"box74.png",
			"box75.png",
			"box76.png",
			"box77.png",
			"box78.png",
			"box79.png",
			"box80.png",
			"box81.png",
			"box82.png",
			"box83.png",
			"box84.png",
			"box85.png",
			"box86.png",
			"box87.png",
			"box88.png",
			"box89.png",
			"box90.png",
			"box91.png",
			"box92.png",
			"box93.png",
			"box94.png",
			"box95.png",
			"box96.png",
			"box97.png",
			"box98.png",
			"box99.png",
			"box100.png"
		],
		"tilesets": [],
		"animates": [
			"hand",
			"sword",
			"zone"
		],
		"bgms": [],
		"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": [],
		"equipName": [],
		"startBgm": null,
		"styles": {
			"startBackground": "project/images/bg.jpg",
			"startVerticalBackground": "project/images/bg.jpg",
			"startLogoStyle": "color: #333333",
			"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",
			"borderColor": [
				204,
				204,
				204,
				1
			],
			"statusBarColor": [
				255,
				255,
				255,
				1
			],
			"selectColor": [
				255,
				215,
				0,
				1
			],
			"floorChangingStyle": "background-color: black; color: white",
			"font": "Verdana"
		},
		"splitImages": [
			{
				"name": "dragon.png",
				"width": 384,
				"height": 96,
				"prefix": "dragon_"
			}
		]
	},
	"firstData": {
		"title": "帕特里克的箱子无穷奇遇",
		"name": "PatricksParabox",
		"version": "Ver 0.1",
		"floorId": "levelA",
		"hero": {
			"image": "player.png",
			"animate": false,
			"name": "阳光",
			"lv": 1,
			"hpmax": 9999,
			"hp": 1000,
			"manamax": -1,
			"mana": 0,
			"atk": 100,
			"def": 100,
			"mdef": 0,
			"money": 0,
			"exp": 0,
			"equipment": [],
			"items": {
				"constants": {},
				"tools": {},
				"equips": {}
			},
			"loc": {
				"direction": "up",
				"x": 5,
				"y": 1
			},
			"flags": {
				"Chapter": "A",
				"winset": []
			},
			"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": "break",
														"n": 1
													}
												]
											},
											{
												"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": "break",
										"n": 1
									}
								]
							},
							{
								"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.setItem(\"book\", 1);\ncore.setItem(\"goout\", 1);\ncore.setItem(\"fly\", 1);\ncore.setItem(\"score\", 1);\ncore.setItem(\"seescore\", 1);\ncore.box.visitroot();\n}"
			}
		],
		"shops": [
			{
				"id": "shop1",
				"text": "\t[贪婪之神,moneyShop]勇敢的武士啊, 给我${20+2*flag:shop1}金币就可以：",
				"textInList": "1F金币商店",
				"mustEnable": false,
				"disablePreview": false,
				"choices": [
					{
						"text": "生命+800",
						"need": "status:money>=20+2*flag:shop1",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+2*flag:shop1"
							},
							{
								"type": "setValue",
								"name": "flag:shop1",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "800"
							}
						]
					},
					{
						"text": "攻击+4",
						"need": "status:money>=20+2*flag:shop1",
						"action": [
							{
								"type": "comment",
								"text": "新版商店中需要手动扣减金币和增加访问次数"
							},
							{
								"type": "setValue",
								"name": "status:money",
								"operator": "-=",
								"value": "20+2*flag:shop1"
							},
							{
								"type": "setValue",
								"name": "flag:shop1",
								"operator": "+=",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "4"
							}
						]
					}
				]
			},
			{
				"id": "shop2",
				"text": "\t[贪婪之神,expShop]勇敢的武士啊, 给我一定经验就可以：",
				"textInList": "1F经验商店",
				"mustEnable": false,
				"disablePreview": true,
				"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": "1000"
							}
						]
					}
				]
			},
			{
				"id": "itemShop",
				"item": true,
				"textInList": "道具商店",
				"mustEnable": false,
				"choices": [
					{
						"id": "yellowKey",
						"number": 10,
						"money": "10",
						"sell": "5"
					}
				]
			},
			{
				"id": "keyShop",
				"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": 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": 50,
		"statusCanvasRowsOnMobile": 3,
		"floorChangeTime": 500
	},
	"flags": {
		"statusBarItems": [
			"enableFloor"
		],
		"extendToolbar": false,
		"flyNearStair": false,
		"flyRecordPosition": false,
		"itemFirstText": false,
		"equipboxButton": false,
		"enableAddPoint": false,
		"enableNegativeDamage": false,
		"betweenAttackMax": false,
		"useLoop": false,
		"startUsingCanvas": false,
		"statusCanvas": true,
		"enableEnemyPoint": false,
		"enableGentleClick": false,
		"ignoreChangeFloor": true,
		"canGoDeadZone": true,
		"enableMoveDirectly": false,
		"enableRouteFolding": false,
		"disableShopOnDamage": false,
		"blurFg": false
	}
}