var events_c12a15a8_c380_4b28_8144_256cba95f760 = 
{
	"commonEvent": {
		"加点事件": [
			{
				"type": "comment",
				"text": "通过传参，flag:arg1 表示当前应该的加点数值"
			},
			{
				"type": "choices",
				"choices": [
					{
						"text": "攻击+${1*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:atk",
								"operator": "+=",
								"value": "1*flag:arg1"
							}
						]
					},
					{
						"text": "防御+${2*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:def",
								"operator": "+=",
								"value": "2*flag:arg1"
							}
						]
					},
					{
						"text": "生命+${200*flag:arg1}",
						"action": [
							{
								"type": "setValue",
								"name": "status:hp",
								"operator": "+=",
								"value": "200*flag:arg1"
							}
						]
					}
				]
			}
		],
		"游戏说明": [
			{
				"type": "choices",
				"choices": [
					{
						"text": "游戏简介",
						"action": [
							"h5版本是按照flash版复刻，其中部分对话使用的魔塔盛宴的版本。",
							"地图复制：数码宝贝51、641\n部分事件复制：小艾\n游戏音乐、怪物显伤等开关可以在系统设置里打开和关闭",
							"想要获得更详细的介绍，可以在菜单——游戏信息——游戏主页中进入本塔的评论区，查看置顶评论。",
							{
								"type": "insert",
								"name": "游戏说明"
							}
						]
					},
					{
						"text": "mod声明",
						"action": [
							"此处填写mod修改内容",
							{
								"type": "insert",
								"name": "游戏说明"
							}
						]
					},
					{
						"text": "返回游戏",
						"action": []
					}
				]
			}
		],
		"记事本": [
			{
				"type": "if",
				"condition": "((flag:小蝙蝠+(flag:大蝙蝠+flag:红蝙蝠))>=3)",
				"true": [
					{
						"type": "choices",
						"text": "\t[作者,ibuki]3点娇交能量换取\\i[centerFly]或\\i[upFly]",
						"choices": [
							{
								"text": "瞬移之翼",
								"icon": "centerFly",
								"action": [
									{
										"type": "function",
										"function": "function(){\ncore.playSound('centerFly.mp3'); core.clearMap('hero'); core.setHeroLoc('x', core.bigmap.width - 1 - core.getHeroLoc('x')); core.setHeroLoc('y', core.bigmap.height - 1 - core.getHeroLoc('y')); core.drawHero(); core.setFlag('talking', 0); core.drawTip(core.material.items[itemId].name + '使用成功');\n}"
									},
									{
										"type": "if",
										"condition": "flag:小蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:小蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									},
									{
										"type": "if",
										"condition": "flag:大蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:大蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									},
									{
										"type": "if",
										"condition": "flag:红蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:红蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									}
								]
							},
							{
								"text": "升华之翼",
								"icon": "upFly",
								"action": [
									{
										"type": "function",
										"function": "function(){\n(function () { \tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) + 1]; \tif (core.status.event.id == 'action') { \t\tcore.insertAction([ \t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId }, \t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' } \t\t]); \t} else { \t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () { \t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功'); \t\t\tcore.replay(); \t\t}); \t} })();\n}"
									},
									{
										"type": "if",
										"condition": "flag:小蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:小蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									},
									{
										"type": "if",
										"condition": "flag:大蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:大蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									},
									{
										"type": "if",
										"condition": "flag:红蝙蝠",
										"true": [
											{
												"type": "setValue",
												"name": "flag:红蝙蝠",
												"operator": "-=",
												"value": "3"
											}
										]
									}
								]
							},
							{
								"text": "取消",
								"action": [
									{
										"type": "exit"
									}
								]
							}
						]
					}
				],
				"false": [
					"\t[hero]\b[hero]你的娇交能量不足三点"
				]
			}
		],
		"回收钥匙商店": [
			{
				"type": "comment",
				"text": "此事件在全局商店中被引用了(全局商店keyShop)"
			},
			{
				"type": "comment",
				"text": "解除引用前勿删除此事件"
			},
			{
				"type": "comment",
				"text": "玩家在快捷列表（V键）中可以使用本公共事件"
			},
			{
				"type": "while",
				"condition": "1",
				"data": [
					{
						"type": "choices",
						"text": "\t[商人,trader]你有多余的钥匙想要出售吗？",
						"choices": [
							{
								"text": "黄钥匙（10金币）",
								"color": [
									255,
									255,
									0,
									1
								],
								"action": [
									{
										"type": "if",
										"condition": "(item:yellowKey >= 1)",
										"true": [
											{
												"type": "setValue",
												"name": "item:yellowKey",
												"operator": "-=",
												"value": "1"
											},
											{
												"type": "setValue",
												"name": "status:money",
												"operator": "+=",
												"value": "10"
											}
										],
										"false": [
											"\t[商人,trader]你没有黄钥匙！"
										]
									}
								]
							},
							{
								"text": "蓝钥匙（50金币）",
								"color": [
									0,
									0,
									255,
									1
								],
								"action": [
									{
										"type": "if",
										"condition": "(item:blueKey >= 1)",
										"true": [
											{
												"type": "setValue",
												"name": "item:blueKey",
												"operator": "-=",
												"value": "1"
											},
											{
												"type": "setValue",
												"name": "status:money",
												"operator": "+=",
												"value": "50"
											}
										],
										"false": [
											"\t[商人,trader]你没有蓝钥匙！"
										]
									}
								]
							},
							{
								"text": "离开",
								"action": [
									{
										"type": "exit"
									}
								]
							}
						]
					}
				]
			}
		],
		"机关门提示": [
			{
				"type": "switch",
				"condition": "flag:arg1",
				"caseList": [
					{
						"case": "0",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(11,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',11,5)\n}"
									}
								]
							}
						]
					},
					{
						"case": "1",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,1)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,1)\n}"
									}
								]
							}
						]
					},
					{
						"case": "2",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,4)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,4)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,4)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,4)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,4)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,4)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,6)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,6)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,6)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,6)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,6)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,6)\n}"
									}
								]
							}
						]
					},
					{
						"case": "3",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(1,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',1,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(3,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',3,5)\n}"
									}
								]
							}
						]
					},
					{
						"case": "4",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,6)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,6)\n}"
									}
								]
							}
						]
					},
					{
						"case": "5",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(1,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',1,8)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(3,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',3,8)\n}"
									}
								]
							}
						]
					},
					{
						"case": "6",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(1,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',1,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(3,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',3,5)\n}"
									}
								]
							}
						]
					},
					{
						"case": "7",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,8)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(11,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',11,8)\n}"
									}
								]
							}
						]
					},
					{
						"case": "8",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(11,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',11,5)\n}"
									}
								]
							}
						]
					},
					{
						"case": "9",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,6)!=0)",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,6)\n}"
									}
								]
							}
						]
					},
					{
						"case": "10",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,6)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,6)\n}"
									}
								]
							}
						]
					},
					{
						"case": "11",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(3,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',3,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(4,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',4,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(8,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',8,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,5)\n}"
									}
								]
							}
						]
					},
					{
						"case": "12",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(1,10)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',1,10)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(3,10)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',3,10)\n}"
									}
								]
							}
						]
					},
					{
						"case": "13",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(11,5)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',11,5)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(9,7)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',9,7)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(11,7)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',11,7)\n}"
									}
								]
							}
						]
					},
					{
						"case": "14",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,7)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,7)\n}"
									}
								]
							}
						]
					},
					{
						"case": "15",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,9)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,9)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,9)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,9)\n}"
									}
								]
							}
						]
					},
					{
						"case": "16",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(8,9)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',8,9)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(8,11)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',8,11)\n}"
									}
								]
							}
						]
					},
					{
						"case": "17",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,9)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,9)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,11)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,11)\n}"
									}
								]
							}
						]
					},
					{
						"case": "18",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(1,1)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',1,1)\n}"
									}
								]
							}
						]
					},
					{
						"case": "19",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,10)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,10)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,10)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,10)\n}"
									}
								]
							}
						]
					},
					{
						"case": "20",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(5,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',5,8)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,8)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,8)\n}"
									}
								]
							}
						]
					},
					{
						"case": "21",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(6,2)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',6,2)\n}"
									}
								]
							},
							{
								"type": "if",
								"condition": "(core.getBlockCls(8,2)=='enemys')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',8,2)\n}"
									}
								]
							}
						]
					},
					{
						"case": "22",
						"action": [
							{
								"type": "if",
								"condition": "(core.getBlockCls(7,10)=='npc48')",
								"true": [
									{
										"type": "function",
										"function": "function(){\ncore.drawAnimate('jiexi0',7,10)\n}"
									}
								]
							}
						]
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "playSound",
				"name": "kuaimen.mp3"
			}
		],
		"娇交之翼": [
			{
				"type": "if",
				"condition": "((flag:小蝙蝠+(flag:大蝙蝠+(flag:红蝙蝠)))>=4)",
				"true": [
					{
						"type": "tip",
						"text": "选择空位置"
					},
					{
						"type": "setValue",
						"name": "temp:X",
						"value": "0"
					},
					{
						"type": "setValue",
						"name": "temp:Y",
						"value": "0"
					},
					{
						"type": "while",
						"condition": "true",
						"data": [
							{
								"type": "wait",
								"forceChild": true,
								"data": [
									{
										"case": "mouse",
										"px": [
											0,
											384
										],
										"py": [
											0,
											384
										],
										"action": [
											{
												"type": "if",
												"condition": "((temp:X===flag:x)&&(temp:Y===flag:y))",
												"true": [
													{
														"type": "break",
														"n": 1
													}
												],
												"false": [
													{
														"type": "if",
														"condition": "((temp:X===0)&&(temp:Y===0))",
														"true": [
															{
																"type": "tip",
																"text": "再次点击闪烁位置确认"
															}
														],
														"false": [
															{
																"type": "drawSelector",
																"code": 1
															},
															{
																"type": "tip",
																"text": "取消使用"
															},
															{
																"type": "exit"
															}
														]
													}
												]
											},
											{
												"type": "setValue",
												"name": "temp:X",
												"value": "flag:x"
											},
											{
												"type": "setValue",
												"name": "temp:Y",
												"value": "flag:y"
											},
											{
												"type": "drawSelector",
												"image": "winskin.png",
												"code": 1,
												"x": "32*temp:X",
												"y": "32*temp:Y",
												"width": 32,
												"height": 32
											}
										]
									}
								]
							}
						]
					},
					{
						"type": "drawSelector",
						"code": 1
					},
					{
						"type": "if",
						"condition": "(core.getBlockId(1+temp:X,1+temp:Y)==null)",
						"true": [
							{
								"type": "playSound",
								"name": "centerFly.mp3"
							},
							{
								"type": "setBlock",
								"number": "0",
								"loc": [
									"1 + temp:X",
									"1 + temp:Y"
								]
							},
							{
								"type": "jumpHero",
								"loc": [
									"1 + temp:X",
									"1 + temp:Y"
								],
								"time": 500
							},
							{
								"type": "if",
								"condition": "flag:小蝙蝠",
								"true": [
									{
										"type": "setValue",
										"name": "flag:小蝙蝠",
										"operator": "-=",
										"value": "4"
									}
								]
							},
							{
								"type": "if",
								"condition": "flag:大蝙蝠",
								"true": [
									{
										"type": "setValue",
										"name": "flag:大蝙蝠",
										"operator": "-=",
										"value": "4"
									}
								]
							},
							{
								"type": "if",
								"condition": "flag:红蝙蝠",
								"true": [
									{
										"type": "setValue",
										"name": "flag:红蝙蝠",
										"operator": "-=",
										"value": "4"
									}
								]
							},
							{
								"type": "if",
								"condition": "((flag:小蝙蝠+(flag:大蝙蝠+flag:红蝙蝠))===0)",
								"true": [
									{
										"type": "playSound",
										"name": "up.mp3"
									},
									{
										"type": "setHeroIcon",
										"name": "hero.png"
									}
								]
							},
							{
								"type": "tip",
								"text": "娇交之翼使用成功"
							}
						],
						"false": [
							{
								"type": "tip",
								"text": "你选择的地方不是空位置"
							}
						]
					}
				],
				"false": [
					"\t[hero]\b[hero]你的娇交能量不足四点"
				]
			}
		]
	},
	"CommonEventTemplate": {
		"检测音乐如果没有开启则系统提示开启": [
			{
				"type": "if",
				"condition": "(!core.musicStatus.bgmStatus)",
				"true": [
					"\t[系统提示]你当前音乐处于关闭状态，本塔开音乐游戏效果更佳"
				],
				"false": []
			}
		],
		"仿新新魔塔一次性商人": [
			{
				"type": "if",
				"condition": "switch:A",
				"true": [
					"\t[行商,trader]\b[this]这是购买我的道具后我给玩家的提示。",
					{
						"type": "comment",
						"text": "下一条指令可视情况使用或不使用"
					},
					{
						"type": "hide",
						"remove": true,
						"time": 250,
						"loc": [
							[]
						]
					}
				],
				"false": [
					{
						"type": "confirm",
						"text": "我有3把黄钥匙，\n你出50金币就卖给你。",
						"yes": [
							{
								"type": "if",
								"condition": "status:money>=50",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "50"
									},
									{
										"type": "setValue",
										"name": "item:yellowKey",
										"operator": "+=",
										"value": "3"
									},
									{
										"type": "playSound",
										"name": "确定",
										"stop": true
									},
									{
										"type": "setValue",
										"name": "switch:A",
										"value": "true"
									}
								],
								"false": [
									{
										"type": "playSound",
										"name": "操作失败"
									},
									"\t[行商,trader]\b[this]你的金币不足！"
								]
							}
						],
						"no": []
					}
				]
			}
		],
		"全地图选中一个点": [
			{
				"type": "comment",
				"text": "全地图选中一个点，需要用鼠标或触屏操作"
			},
			{
				"type": "setValue",
				"name": "temp:X",
				"value": "status:x"
			},
			{
				"type": "setValue",
				"name": "temp:Y",
				"value": "status:y"
			},
			{
				"type": "tip",
				"text": "再次点击闪烁位置确认"
			},
			{
				"type": "while",
				"condition": "true",
				"data": [
					{
						"type": "drawSelector",
						"image": "winskin.png",
						"code": 1,
						"x": "32*temp:X",
						"y": "32*temp:Y",
						"width": 32,
						"height": 32
					},
					{
						"type": "wait"
					},
					{
						"type": "if",
						"condition": "(flag:type === 1)",
						"true": [
							{
								"type": "if",
								"condition": "((temp:X===flag:x)&&(temp:Y===flag:y))",
								"true": [
									{
										"type": "break",
										"n": 1
									}
								]
							},
							{
								"type": "setValue",
								"name": "temp:X",
								"value": "flag:x"
							},
							{
								"type": "setValue",
								"name": "temp:Y",
								"value": "flag:y"
							}
						]
					}
				]
			},
			{
				"type": "drawSelector",
				"code": 1
			},
			{
				"type": "comment",
				"text": "流程进行到这里可以对[X,Y]点进行处理，比如"
			},
			{
				"type": "closeDoor",
				"id": "yellowDoor",
				"loc": [
					"temp:X",
					"temp:Y"
				]
			}
		],
		"多阶段Boss战斗": [
			{
				"type": "comment",
				"text": "多阶段boss，请直接作为战后事件使用"
			},
			{
				"type": "setValue",
				"name": "switch:A",
				"operator": "+=",
				"value": "1"
			},
			{
				"type": "switch",
				"condition": "switch:A",
				"caseList": [
					{
						"case": "1",
						"action": [
							{
								"type": "setBlock",
								"number": "redSlime",
								"loc": [
									[]
								]
							},
							"\t[2阶段boss,redSlime]\b[this]你以为你已经打败我了吗？没听说过史莱姆有九条命吗？"
						]
					},
					{
						"case": "2",
						"action": [
							{
								"type": "setBlock",
								"number": "blackSlime",
								"loc": [
									[]
								]
							},
							"\t[3阶段boss,blackSlime]\b[this]不能消灭我的，只会让我更强大！"
						]
					},
					{
						"case": "3",
						"action": [
							{
								"type": "setBlock",
								"number": "slimelord",
								"loc": [
									[]
								]
							},
							"\t[4阶段boss,slimelord]\b[this]我还能打！"
						]
					},
					{
						"case": "4",
						"action": [
							"\t[4阶段boss,slimelord]我一定会回来的！"
						]
					}
				]
			}
		],
		"阿狸的音乐盒": [
			{
				"type": "choices",
				"text": "\t[阿狸,ali]要听听看这些歌曲吗",
				"choices": [
					{
						"text": "theme1",
						"action": [
							{
								"type": "if",
								"condition": "(flag:阿狸的音乐盒!==1)",
								"true": [
									{
										"type": "playBgm",
										"name": "theme1.mp3",
										"keep": true
									},
									{
										"type": "setValue",
										"name": "flag:阿狸的音乐盒",
										"value": "1"
									}
								]
							}
						],
						"color": null
					},
					{
						"text": "theme2",
						"action": [
							{
								"type": "if",
								"condition": "(flag:阿狸的音乐盒!==2)",
								"true": [
									{
										"type": "playBgm",
										"name": "theme2.mp3",
										"keep": true
									},
									{
										"type": "setValue",
										"name": "flag:阿狸的音乐盒",
										"value": "2"
									}
								]
							}
						],
						"color": null
					},
					{
						"text": "恢复楼层BGM",
						"action": [
							{
								"type": "if",
								"condition": "(flag:阿狸的音乐盒!==0)",
								"true": [
									{
										"type": "playBgm",
										"name": "section1.mp3"
									},
									{
										"type": "setValue",
										"name": "flag:阿狸的音乐盒",
										"value": "0"
									}
								]
							}
						],
						"color": null
					}
				]
			}
		]
	}
}