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": "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": "choices",
				"choices": [
					{
						"text": "游戏简介",
						"action": [
							"h5版本是按照flash版复刻，其中部分对话使用的魔塔盛宴的版本。",
							"地图复制：数码宝贝51、641\n部分事件复制：小艾\n默认背景音乐：无；可在切换音乐处设置\n游戏音乐、怪物显伤等开关可以在系统设置里打开和关闭",
							"想要获得更详细的介绍，可以在菜单——游戏信息——游戏主页中进入本塔的评论区，查看置顶评论。",
							{
								"type": "insert",
								"name": "游戏说明"
							}
						]
					},
					{
						"text": "游戏结局",
						"action": [
							{
								"type": "if",
								"condition": "flag:addhp",
								"true": [
									"疯狂加血模式下，本塔有且仅有一个专属结局。",
									{
										"type": "insert",
										"name": "游戏说明"
									}
								],
								"false": [
									"本塔共有四个结局。\n在原版魔塔中，使用下楼器和破墙镐（或下楼器和地震卷轴）可以封印魔王，因此，这个版本如保留下楼器和破墙镐（或下楼器和地震卷轴）击败魔王，即可打出True End，否则为Normal End。",
									"不论是Normal End还是True End，都分为穿墙结局和不穿墙结局，如果从未使用对话穿墙，可以打出不穿墙结局。",
									{
										"type": "insert",
										"name": "游戏说明"
									}
								]
							}
						]
					},
					{
						"text": "对话穿墙",
						"action": [
							"在与老人对话后，或购买商人的物品并再次对话后，可以立即清除，或走一步再清除身边的某一堵墙（不必是暗墙）。",
							"这期间不能瞬移、打怪、开门和使用道具，否则穿墙会失败。",
							{
								"type": "insert",
								"name": "游戏说明"
							}
						]
					},
					{
						"text": "切换音乐",
						"action": [
							{
								"type": "choices",
								"choices": [
									{
										"text": "精灵石 3个小萝莉在一起",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "1"
											},
											{
												"type": "playBgm",
												"name": "xiaoluoli.mp3"
											}
										]
									},
									{
										"text": "精灵石 晚上家里和镇子",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "2"
											},
											{
												"type": "playBgm",
												"name": "wan.mp3"
											}
										]
									},
									{
										"text": "精灵石 黄昏的镇子",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "3"
											},
											{
												"type": "playBgm",
												"name": "huang.mp3"
											}
										]
									},
									{
										"text": "仙境传说-守候永恒的爱",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "4"
											},
											{
												"type": "playBgm",
												"name": "xian.mp3"
											}
										]
									},
									{
										"text": "精灵石 精灵石传说",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "5"
											},
											{
												"type": "playBgm",
												"name": "chuanshuo.mp3"
											}
										]
									},
									{
										"text": "精灵石 ed【神曲】",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "6"
											},
											{
												"type": "playBgm",
												"name": "ed.mp3"
											}
										]
									},
									{
										"text": "精灵石 幸福之花",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "7"
											},
											{
												"type": "playBgm",
												"name": "hua.mp3"
											}
										]
									},
									{
										"text": "精灵石 迷宫",
										"action": [
											{
												"type": "setValue",
												"name": "flag:bgm",
												"value": "8"
											},
											{
												"type": "playBgm",
												"name": "migong.mp3"
											}
										]
									},
									{
										"text": "离开",
										"action": []
									}
								]
							},
							{
								"type": "insert",
								"name": "游戏说明"
							}
						]
					},
					{
						"text": "返回游戏",
						"action": []
					}
				]
			}
		],
		"对话": [
			{
				"type": "switch",
				"condition": "flag:arg1",
				"caseList": [
					{
						"case": "2",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'给你一千金币，一定很有用！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话2",
								"value": "1"
							}
						]
					},
					{
						"case": "3",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'吾命休矣'"
							},
							{
								"type": "setValue",
								"name": "flag:对话3",
								"value": "1"
							}
						]
					},
					{
						"case": "4",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'被机制杀死的怪物会正常触发战后事件，不用担心！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话4",
								"value": "1"
							}
						]
					},
					{
						"case": "6",
						"action": [
							{
								"type": "if",
								"condition": "flag:arg4 ",
								"true": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'虽然很多强大怪物会被替命杀死，但是必须开的蓝门还是不少的！'"
									},
									{
										"type": "setValue",
										"name": "flag:对话602",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'购买物品之后再与商人对话，他会告诉你一些重要的消息'"
									},
									{
										"type": "setValue",
										"name": "flag:对话6",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "7",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'替命可以很方便的击败一些强大怪物，但是又会损失很多金币！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话7",
								"value": "1"
							}
						]
					},
					{
						"case": "12",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'这个塔比原版需要的红钥匙更少！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话12",
								"value": "1"
							}
						]
					},
					{
						"case": "15",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'其实是写了章鱼魔龙被替命的代码的，不过现在boss不会被这个机制影响了！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话15",
								"value": "1"
							}
						]
					},
					{
						"case": "16",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'整个魔塔有2把藏在墙里的红钥匙'"
							},
							{
								"type": "setValue",
								"name": "flag:对话16",
								"value": "1"
							}
						]
					},
					{
						"case": "18",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'也许不需要跟石头人交战？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话18",
								"value": "1"
							}
						]
					},
					{
						"case": "21",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'大法师？那是什么？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话21",
								"value": "1"
							}
						]
					},
					{
						"case": "23",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'没用啊没用'"
							},
							{
								"type": "setValue",
								"name": "flag:对话23",
								"value": "1"
							}
						]
					},
					{
						"case": "27",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'祝贺你！成功！其中一位测塔员在这里的数据为：1209/70/68，这消息不知对你是否有用'"
							},
							{
								"type": "setValue",
								"name": "flag:对话27",
								"value": "1"
							}
						]
					},
					{
						"case": "31",
						"action": [
							{
								"type": "if",
								"condition": "flag:arg4",
								"true": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'你居然买了我的钥匙 那我就告诉你一个秘密：本来替命机制是可以对boss生效的！'"
									},
									{
										"type": "setValue",
										"name": "flag:对话3102",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'骑士队长只需要打一次，大概是他太胆小了吧！'"
									},
									{
										"type": "setValue",
										"name": "flag:对话31",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "33",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'怎么拿到骑士剑呢？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话33",
								"value": "1"
							}
						]
					},
					{
						"case": "36",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'暗道，有用吗？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话36",
								"value": "1"
							}
						]
					},
					{
						"case": "37",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'炸弹炸死的怪物不会替命，不过这个机制似乎没什么用？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话37",
								"value": "1"
							}
						]
					},
					{
						"case": "38",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'存放圣剑的房间的门好了 进去的办法有的是'"
							},
							{
								"type": "setValue",
								"name": "flag:对话38",
								"value": "1"
							}
						]
					},
					{
						"case": "39",
						"action": [
							{
								"type": "if",
								"condition": "flag:arg4",
								"true": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'你居然买了我的钥匙 那我就告诉你一个秘密：本来替命是可以正常给钱的！'"
									},
									{
										"type": "setValue",
										"name": "flag:对话3902",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'这个设计如何？'"
									},
									{
										"type": "setValue",
										"name": "flag:对话39",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "42",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'我听说49层的魔王需要封印后才能交战……但是如何封印那个魔王呢？'"
							},
							{
								"type": "setValue",
								"name": "flag:对话42",
								"value": "1"
							}
						]
					},
					{
						"case": "45",
						"action": [
							{
								"type": "if",
								"condition": "flag:arg4",
								"true": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'44楼被藏在异空间 你只能用移动宝物才能到达 当然，楼传不算'"
									},
									{
										"type": "setValue",
										"name": "flag:对话4502",
										"value": "1"
									}
								],
								"false": [
									{
										"type": "setValue",
										"name": "flag:content",
										"value": "'神圣盾能防御魔法攻击 但它被藏在异空间的楼层内'"
									},
									{
										"type": "setValue",
										"name": "flag:对话45",
										"value": "1"
									}
								]
							}
						]
					},
					{
						"case": "46",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'41层其实是对称的，太明显了！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话46",
								"value": "1"
							}
						]
					},
					{
						"case": "47",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'我听说大法师跟魔王都对替命有所研究！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话47",
								"value": "1"
							}
						]
					},
					{
						"case": "48",
						"action": [
							{
								"type": "setValue",
								"name": "flag:content",
								"value": "'旁边那个就是圣剑的守卫，快揍他！'"
							},
							{
								"type": "setValue",
								"name": "flag:对话48",
								"value": "1"
							}
						]
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "if",
				"condition": "flag:arg4",
				"true": [
					"\t[商人,woman]${flag:content}"
				],
				"false": [
					"\t[老人,man]${flag:content}"
				]
			},
			{
				"type": "switch",
				"condition": "flag:arg1",
				"caseList": [
					{
						"case": "2",
						"action": [
							{
								"type": "playSound",
								"name": "获得道具"
							},
							{
								"type": "addValue",
								"name": "status:money",
								"value": "1000"
							},
							{
								"type": "tip",
								"text": "获得1000金币"
							}
						]
					},
					{
						"case": "3",
						"action": []
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "hide",
				"loc": [
					"flag:arg2 ",
					"flag:arg3 "
				],
				"remove": true,
				"time": 500
			}
		],
		"商人": [
			{
				"type": "switch",
				"condition": "parseInt(core.status.floorId.substring(2))",
				"caseList": [
					{
						"case": "6",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'一把蓝钥匙'"
							}
						]
					},
					{
						"case": "7",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "50"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'五把黄钥匙'"
							}
						]
					},
					{
						"case": "12",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "800"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'一把红钥匙'"
							}
						]
					},
					{
						"case": "15",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "200"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'一把蓝钥匙'"
							}
						]
					},
					{
						"case": "31",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "1000"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'一把蓝钥匙, 四把黄钥匙'"
							}
						]
					},
					{
						"case": "38",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "200"
							},
							{
								"type": "setValue",
								"name": "flag:alt",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'大甩卖! 三把黄钥匙只要200金币, 先到先得!'"
							}
						]
					},
					{
						"case": "39",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "2000"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'三把蓝钥匙'"
							}
						]
					},
					{
						"case": "45",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "1000"
							},
							{
								"type": "setValue",
								"name": "flag:alt",
								"value": "1"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'你出1000金币, 我就帮你回复2000点生命值'"
							}
						]
					},
					{
						"case": "47",
						"action": [
							{
								"type": "setValue",
								"name": "flag:money",
								"value": "4000"
							},
							{
								"type": "setValue",
								"name": "flag:item",
								"value": "'地震卷轴'"
							}
						]
					},
					{
						"case": "default",
						"action": []
					}
				]
			},
			{
				"type": "choices",
				"text": "\t[商人,woman]${flag:alt ? flag:item : '我有'+flag:item+', 你出'+flag:money+'金币就卖给你'}",
				"choices": [
					{
						"text": "我太需要了",
						"action": [
							{
								"type": "if",
								"condition": "(status:money >= flag:money)",
								"true": [
									{
										"type": "setValue",
										"name": "status:money",
										"operator": "-=",
										"value": "flag:money"
									},
									{
										"type": "switch",
										"condition": "parseInt(core.status.floorId.substring(2))",
										"caseList": [
											{
												"case": "6",
												"action": [
													{
														"type": "setValue",
														"name": "item:blueKey",
														"operator": "+=",
														"value": "1"
													}
												]
											},
											{
												"case": "7",
												"action": [
													{
														"type": "setValue",
														"name": "item:yellowKey",
														"operator": "+=",
														"value": "5"
													}
												]
											},
											{
												"case": "12",
												"action": [
													{
														"type": "setValue",
														"name": "item:redKey",
														"operator": "+=",
														"value": "1"
													}
												]
											},
											{
												"case": "15",
												"action": [
													{
														"type": "setValue",
														"name": "item:blueKey",
														"operator": "+=",
														"value": "1"
													}
												]
											},
											{
												"case": "31",
												"action": [
													{
														"type": "setValue",
														"name": "item:yellowKey",
														"operator": "+=",
														"value": "4"
													},
													{
														"type": "setValue",
														"name": "item:blueKey",
														"operator": "+=",
														"value": "1"
													}
												]
											},
											{
												"case": "38",
												"action": [
													{
														"type": "setValue",
														"name": "item:yellowKey",
														"operator": "+=",
														"value": "3"
													}
												]
											},
											{
												"case": "39",
												"action": [
													{
														"type": "setValue",
														"name": "item:blueKey",
														"operator": "+=",
														"value": "3"
													}
												]
											},
											{
												"case": "45",
												"action": [
													{
														"type": "playSound",
														"name": "获得道具"
													},
													{
														"type": "setValue",
														"name": "status:hp",
														"operator": "+=",
														"value": "2000"
													}
												]
											},
											{
												"case": "47",
												"action": [
													{
														"type": "setValue",
														"name": "item:earthquake",
														"operator": "+=",
														"value": "1"
													}
												]
											},
											{
												"case": "default",
												"action": []
											}
										]
									},
									{
										"type": "function",
										"function": "function(){\nvar name = core.status.floorId + '@' + core.getFlag(\"arg1\", 0) + '@' + core.getFlag(\"arg2\", 0) + '@' + 'A';\ncore.setFlag(name, 1);\n}"
									}
								],
								"false": [
									"\t[商人,woman]你的金币不够${flag:money}枚，无法交易！"
								]
							}
						]
					},
					{
						"text": "下次再说",
						"action": []
					}
				]
			},
			{
				"type": "setValue",
				"name": "flag:alt",
				"value": "0"
			}
		],
		"商店": [
			{
				"type": "if",
				"condition": "(flag:times1===0)",
				"true": [
					{
						"type": "setValue",
						"name": "flag:times1",
						"value": "1"
					}
				]
			},
			{
				"type": "while",
				"condition": "true",
				"data": [
					{
						"type": "setValue",
						"name": "flag:money1",
						"value": "20+10*flag:times1*(flag:times1-1)"
					},
					{
						"type": "choices",
						"text": "\t[祭坛,blueShop]如果供奉${flag:money1}金币, 便可以增加你的力量, 你想要什么呢…",
						"choices": [
							{
								"text": "生命+${100*flag:times1}",
								"action": [
									{
										"type": "if",
										"condition": "(status:money>=flag:money1)",
										"true": [
											{
												"type": "playSound",
												"name": "获得道具"
											},
											{
												"type": "setValue",
												"name": "status:hp",
												"operator": "+=",
												"value": "100*flag:times1"
											},
											{
												"type": "setValue",
												"name": "status:money",
												"operator": "-=",
												"value": "flag:money1"
											},
											{
												"type": "setValue",
												"name": "flag:times1",
												"operator": "+=",
												"value": "1"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "你的金币不足${flag:money1}枚，无法供奉！"
											}
										]
									}
								]
							},
							{
								"text": "攻击+${2*flag:ratio}",
								"action": [
									{
										"type": "if",
										"condition": "(status:money>=flag:money1)",
										"true": [
											{
												"type": "playSound",
												"name": "获得道具"
											},
											{
												"type": "setValue",
												"name": "status:atk",
												"operator": "+=",
												"value": "2*flag:ratio"
											},
											{
												"type": "setValue",
												"name": "status:money",
												"operator": "-=",
												"value": "flag:money1"
											},
											{
												"type": "setValue",
												"name": "flag:times1",
												"operator": "+=",
												"value": "1"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "你的金币不足${flag:money1}枚，无法供奉！"
											}
										]
									}
								]
							},
							{
								"text": "防御+${2*flag:ratio}",
								"action": [
									{
										"type": "if",
										"condition": "(status:money>=flag:money1)",
										"true": [
											{
												"type": "playSound",
												"name": "获得道具"
											},
											{
												"type": "setValue",
												"name": "status:def",
												"operator": "+=",
												"value": "2*flag:ratio"
											},
											{
												"type": "setValue",
												"name": "status:money",
												"operator": "-=",
												"value": "flag:money1"
											},
											{
												"type": "setValue",
												"name": "flag:times1",
												"operator": "+=",
												"value": "1"
											}
										],
										"false": [
											{
												"type": "tip",
												"text": "你的金币不足${flag:money1}枚，无法供奉！"
											}
										]
									}
								]
							},
							{
								"text": "离开",
								"action": [
									{
										"type": "exit"
									}
								]
							}
						]
					}
				]
			}
		],
		"记事本": [
			{
				"type": "if",
				"condition": "core.isReplaying()",
				"true": [
					{
						"type": "exit"
					}
				]
			},
			{
				"type": "function",
				"function": "function(){\ncore.setFlag('存储录像', core.clone(core.status.route));\ncore.setFlag('total', 0);\n}"
			},
			{
				"type": "function",
				"function": "function(){\ncore.createCanvas('game_combo', 0, 0, 352, 352, 134);\ncore.createCanvas('game_button', 0, 0, 352, 352, 134);\ncore.createCanvas('game_event_l0', 0, 0, 352, 352, 132);\ncore.createCanvas('game_event_l1', 0, 0, 352, 352, 133);\ncore.createCanvas('game_event_l2', 0, 0, 352, 352, 134);\n\ncore.ui.drawWindowSkin('winskin.png', 'game_event_l0', 0, 0, 352, 352);\n\nlet cards = Array.from({ length: 5 }, () => Array(4).fill(0));\nconst positions = [];\nfor (let i = 0; i < 5; i++) {\n\tfor (let j = 0; j < 4; j++) {\n\t\tpositions.push([i, j]);\n\t}\n}\nwhile (positions.length > 0) {\n\tlet rpn = (core.rand2(3) + 1) * 2;\n\trpn = Math.min(positions.length, rpn);\n\tconst keys = Object.keys(core.material.enemys);\n\tconst randomEnemy = keys[core.rand2(keys.length)];\n\t//debugger;\n\twhile (rpn > 0) {\n\t\tconst randIndex = core.rand2(positions.length);\n\t\tconst [i, j] = positions.splice(randIndex, 1)[0];\n\t\tcards[i][j] = randomEnemy;\n\t\trpn -= 1;\n\t}\n}\nconsole.log(cards);\ncore.setFlag('cards', cards);\nfor (let i = 0; i < 5; i++) {\n\tfor (let j = 0; j < 4; j++) {\n\t\tlet x = 32 + i * 64,\n\t\t\ty = 32 + j * 64;\n\t\tcore.drawIcon('game_event_l2', 'yellowDoor', x, y, 32, 32);\n\t\tcore.drawIcon('game_event_l1', cards[i][j], x, y, 32, 32);\n\t}\n}\ncore.setFlag('combo', 0);\ncore.fillBoldText('game_combo', \"combo: \" + core.getFlag('combo', 0), 32, 320, '#FFFFFF', '#000000', \"bold 24px Verdana\");\ncore.fillBoldText('game_button', \"取消\", 256, 320, '#FFFFFF', '#000000', \"bold 24px Verdana\");\n}"
			},
			{
				"type": "while",
				"condition": "(flag:total <20)",
				"data": [
					{
						"type": "wait",
						"forceChild": true,
						"data": [
							{
								"case": "keyboard",
								"keycode": "27",
								"action": [
									{
										"type": "confirm",
										"text": "确认要取消吗?不会获得任何奖励！",
										"yes": [
											{
												"type": "clearMap"
											},
											{
												"type": "function",
												"function": "function(){\ncore.clearMap('game_combo');\ncore.clearMap('game_button');\ncore.clearMap('game_event_l0');\ncore.clearMap('game_event_l1');\ncore.clearMap('game_event_l2');\ncore.status.route = core.getFlag('存储录像', null);\n}"
											},
											{
												"type": "exit"
											}
										],
										"no": []
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									0,
									512
								],
								"py": [
									0,
									512
								],
								"action": [
									{
										"type": "function",
										"function": "function(){\nconsole.log(core.getFlag('x') + ',' + core.getFlag('y'))\n}"
									},
									{
										"type": "if",
										"condition": "(function () {\n\tif(core.getFlag('x') % 2 && core.getFlag('y') % 2 && core.getFlag('y') < 8) {\n\t\tconst x = (core.getFlag('x') - 1) / 2,\n\t\t\ty = (core.getFlag('y') - 1) / 2;\n\t\treturn core.getFlag('cards')[x][y] !== null;\n\t}\n\treturn false;\n})();",
										"true": [
											{
												"type": "function",
												"function": "function(){\ncore.setFlag('first_choice_x', core.getFlag('x'));\ncore.setFlag('first_choice_y', core.getFlag('y'));\n}"
											},
											{
												"type": "function",
												"function": "function(){\nconst blockInfo = core.getBlockInfo('yellowDoor');\nconst x = core.getFlag('x') * 32,\n\ty = core.getFlag('y') * 32;\nconst speed = 30;\nconst ctx = 'game_event_l2';\n\nconst locked = core.status.lockControl;\ncore.lockControl();\ncore.status.replay.animate = true;\n\nblockInfo.posX = 0;\n\nvar cb = function () {\n\tif (!locked) core.unlockControl();\n\tcore.status.replay.animate = false;\n\t//if (callback) callback();\n}\n\nvar animate = window.setInterval(function () {\n\t//debugger;\n\tblockInfo.posX++;\n\tif (blockInfo.posX == 4) {\n\t\tcore.clearMap(ctx, x, y, 32, 32);\n\t\tclearInterval(animate);\n\t\tdelete core.animateFrame.asyncId[animate];\n\t\tcb();\n\t\treturn;\n\t}\n\tconst image = blockInfo.image,\n\t\tposX = blockInfo.posX,\n\t\tposY = blockInfo.posY,\n\t\theight = blockInfo.height;\n\tcore.clearMap(ctx, x, y, 32, 32);\n\tcore.drawImage(ctx, image, posX * 32, posY * height + height - 32, 32, 32, x, y, 32, 32);\n}, core.status.replay.speed == 24 ? 1 : speed / Math.max(core.status.replay.speed, 1));\n\ncore.animateFrame.lastAsyncId = animate;\ncore.animateFrame.asyncId[animate] = cb;\n}"
											},
											{
												"type": "while",
												"condition": "true",
												"data": [
													{
														"type": "wait",
														"forceChild": true,
														"data": [
															{
																"case": "keyboard",
																"keycode": "65",
																"action": [
																	{
																		"type": "confirm",
																		"text": "确认要取消吗?不会获得任何奖励！",
																		"yes": [
																			{
																				"type": "clearMap"
																			},
																			{
																				"type": "function",
																				"function": "function(){\ncore.clearMap('game_combo');\ncore.clearMap('game_button');\ncore.clearMap('game_event_l0');\ncore.clearMap('game_event_l1');\ncore.clearMap('game_event_l2');\ncore.status.route = core.getFlag('存储录像', null);\n}"
																			},
																			{
																				"type": "exit"
																			}
																		],
																		"no": []
																	}
																]
															},
															{
																"case": "mouse",
																"px": [
																	0,
																	512
																],
																"py": [
																	0,
																	512
																],
																"action": [
																	{
																		"type": "if",
																		"condition": "(function () {\n\tif(core.getFlag('first_choice_x') === core.getFlag('x') && core.getFlag('first_choice_y') === core.getFlag('y')) return false;\n\tif(core.getFlag('x') % 2 && core.getFlag('y') % 2 && core.getFlag('y') < 8) {\n\t\tconst x = (core.getFlag('x') - 1) / 2,\n\t\t\ty = (core.getFlag('y') - 1) / 2;\n\t\treturn core.getFlag('cards')[x][y] !== null;\n\t}\n\treturn false;\n})();",
																		"true": [
																			{
																				"type": "if",
																				"condition": "(function () {\n\tconst x1 = (core.getFlag('first_choice_x') - 1) / 2,\n\ty1 = (core.getFlag('first_choice_y') - 1) / 2;\n\tconst x2 = (core.getFlag('x') - 1) / 2,\n\ty2 = (core.getFlag('y') - 1) / 2;\n\treturn core.getFlag('cards')[x1][y1] === core.getFlag('cards')[x2][y2];\n})();",
																				"true": [
																					{
																						"type": "function",
																						"function": "function(){\nconst blockInfo = core.getBlockInfo('yellowDoor');\nconst x = core.getFlag('x') * 32,\n\ty = core.getFlag('y') * 32;\nconst speed = 30;\nconst ctx = 'game_event_l2';\n\nconst locked = core.status.lockControl;\ncore.lockControl();\ncore.status.replay.animate = true;\n\nblockInfo.posX = 0;\n\nvar cb = function () {\n\tif (!locked) core.unlockControl();\n\tcore.status.replay.animate = false;\n\t//if (callback) callback();\n}\n\nvar animate = window.setInterval(function () {\n\t//debugger;\n\tblockInfo.posX++;\n\tif (blockInfo.posX == 4) {\n\t\tcore.clearMap(ctx, x, y, 32, 32);\n\t\tclearInterval(animate);\n\t\tdelete core.animateFrame.asyncId[animate];\n\t\tcb();\n\t\treturn;\n\t}\n\tconst image = blockInfo.image,\n\t\tposX = blockInfo.posX,\n\t\tposY = blockInfo.posY,\n\t\theight = blockInfo.height;\n\tcore.clearMap(ctx, x, y, 32, 32);\n\tcore.drawImage(ctx, image, posX * 32, posY * height + height - 32, 32, 32, x, y, 32, 32);\n}, core.status.replay.speed == 24 ? 1 : speed / Math.max(core.status.replay.speed, 1));\n\ncore.animateFrame.lastAsyncId = animate;\ncore.animateFrame.asyncId[animate] = cb;\n}"
																					},
																					{
																						"type": "sleep",
																						"time": 500
																					},
																					{
																						"type": "function",
																						"function": "function(){\nlet x1 = core.getFlag('first_choice_x') * 32,\n\ty1 = core.getFlag('first_choice_y') * 32,\n\tx2 = core.getFlag('x') * 32,\n\ty2 = core.getFlag('y') * 32;\n\nconst ctx = 'game_event_l1';\n\ncore.clearMap(ctx, x1, y1, 32, 32);\ncore.clearMap(ctx, x2, y2, 32, 32);\n\nx1 = (core.getFlag('first_choice_x') - 1) / 2;\ny1 = (core.getFlag('first_choice_y') - 1) / 2;\nx2 = (core.getFlag('x') - 1) / 2;\ny2 = (core.getFlag('y') - 1) / 2;\n\nlet cards = core.getFlag('cards');\n//debugger;\ncards[x1][y1] = null;\ncards[x2][y2] = null;\ncore.setFlag('cards', cards);\ncore.addFlag('combo', 1);\ncore.addFlag('total', 2);\nconsole.log(cards);\n}"
																					},
																					{
																						"type": "break",
																						"n": 1
																					}
																				],
																				"false": [
																					{
																						"type": "function",
																						"function": "function(){\nconst blockInfo = core.getBlockInfo('yellowDoor');\nconst x = core.getFlag('x') * 32,\n\ty = core.getFlag('y') * 32;\nconst speed = 30;\nconst ctx = 'game_event_l2';\n\nconst locked = core.status.lockControl;\ncore.lockControl();\ncore.status.replay.animate = true;\n\nblockInfo.posX = 0;\n\nvar cb = function () {\n\tif (!locked) core.unlockControl();\n\tcore.status.replay.animate = false;\n\t//if (callback) callback();\n}\n\nvar animate = window.setInterval(function () {\n\t//debugger;\n\tblockInfo.posX++;\n\tif (blockInfo.posX == 4) {\n\t\tcore.clearMap(ctx, x, y, 32, 32);\n\t\tclearInterval(animate);\n\t\tdelete core.animateFrame.asyncId[animate];\n\t\tcb();\n\t\treturn;\n\t}\n\tconst image = blockInfo.image,\n\t\tposX = blockInfo.posX,\n\t\tposY = blockInfo.posY,\n\t\theight = blockInfo.height;\n\tcore.clearMap(ctx, x, y, 32, 32);\n\tcore.drawImage(ctx, image, posX * 32, posY * height + height - 32, 32, 32, x, y, 32, 32);\n}, core.status.replay.speed == 24 ? 1 : speed / Math.max(core.status.replay.speed, 1));\n\ncore.animateFrame.lastAsyncId = animate;\ncore.animateFrame.asyncId[animate] = cb;\n}"
																					},
																					{
																						"type": "sleep",
																						"time": 500
																					},
																					{
																						"type": "function",
																						"function": "function(){\nconst blockInfo = core.getBlockInfo('yellowDoor');\nconst x1 = core.getFlag('first_choice_x') * 32,\n\ty1 = core.getFlag('first_choice_y') * 32,\n\tx2 = core.getFlag('x') * 32,\n\ty2 = core.getFlag('y') * 32;\nconst speed = 30;\nconst ctx = 'game_event_l2';\n\nconst locked = core.status.lockControl;\ncore.lockControl();\ncore.status.replay.animate = true;\n\nblockInfo.posX = 4;\n\nvar cb = function () {\n\tif (!locked) core.unlockControl();\n\tcore.status.replay.animate = false;\n\t//if (callback) callback();\n}\n\nvar animate = window.setInterval(function () {\n\t//debugger;\n\tblockInfo.posX--;\n\tif (blockInfo.posX < 0) {\n\t\tclearInterval(animate);\n\t\tdelete core.animateFrame.asyncId[animate];\n\t\tcb();\n\t\treturn;\n\t}\n\tconst image = blockInfo.image,\n\t\tposX = blockInfo.posX,\n\t\tposY = blockInfo.posY,\n\t\theight = blockInfo.height;\n\tcore.clearMap(ctx, x1, y1, 32, 32);\n\tcore.clearMap(ctx, x2, y2, 32, 32);\n\tcore.drawImage(ctx, image, posX * 32, posY * height + height - 32, 32, 32, x1, y1, 32, 32);\n\tcore.drawImage(ctx, image, posX * 32, posY * height + height - 32, 32, 32, x2, y2, 32, 32);\n}, core.status.replay.speed == 24 ? 1 : speed / Math.max(core.status.replay.speed, 1));\n\ncore.animateFrame.lastAsyncId = animate;\ncore.animateFrame.asyncId[animate] = cb;\ncore.setFlag('combo', 0);\n}"
																					},
																					{
																						"type": "break",
																						"n": 1
																					}
																				]
																			}
																		],
																		"false": []
																	}
																]
															}
														]
													}
												]
											}
										],
										"false": [
											{
												"type": "if",
												"condition": "((core.getFlag('x') >=8 )&&( core.getFlag('y') >=9 ))",
												"true": [
													{
														"type": "confirm",
														"text": "确认要取消吗?不会获得任何奖励！",
														"yes": [
															{
																"type": "clearMap"
															},
															{
																"type": "function",
																"function": "function(){\ncore.clearMap('game_combo');\ncore.clearMap('game_button');\ncore.clearMap('game_event_l0');\ncore.clearMap('game_event_l1');\ncore.clearMap('game_event_l2');\ncore.status.route = core.getFlag('存储录像', null);\n}"
															},
															{
																"type": "exit"
															}
														],
														"no": []
													}
												],
												"false": []
											}
										]
									}
								]
							}
						]
					},
					{
						"type": "function",
						"function": "function(){\ncore.clearMap('game_combo');\ncore.fillBoldText('game_combo', \"combo: \" + core.getFlag('combo', 0), 32, 320, '#FFFFFF', '#000000', \"bold 24px Verdana\");\n}"
					}
				]
			},
			{
				"type": "sleep",
				"time": 500
			},
			"\t[hero]我成功了！",
			{
				"type": "clearMap"
			},
			{
				"type": "function",
				"function": "function(){\ncore.clearMap('game_combo');\ncore.clearMap('game_button');\ncore.clearMap('game_event_l0');\ncore.clearMap('game_event_l1');\ncore.clearMap('game_event_l2');\ncore.status.route = core.getFlag('存储录像', null);\n}"
			},
			{
				"type": "function",
				"function": "function(){\nlet r = 100 + core.rand2(200) + core.rand2(50 * core.getFlag('combo'));\ncore.addStatus('money', r);\ncore.status.route.push('game:' + r);\ncore.setFlag('玩小游戏', true);\ncore.insertAction(`获得 ${r} 点金币！`);\n}"
			},
			{
				"type": "exit"
			}
		],
		"寄生": [
			{
				"type": "setValue",
				"name": "temp:X",
				"value": "-1+status:x"
			},
			{
				"type": "setValue",
				"name": "temp:Y",
				"value": "-1+status:y"
			},
			{
				"type": "update"
			},
			{
				"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",
						"forceChild": true,
						"data": [
							{
								"case": "mouse",
								"px": [
									0,
									512
								],
								"py": [
									0,
									512
								],
								"action": [
									{
										"type": "if",
										"condition": "((temp:X==flag:x)&&(temp:Y==flag:y))",
										"true": [
											{
												"type": "if",
												"condition": "(core.getBlockCls(1+core.getFlag('x',0),1+core.getFlag('y',0))=='enemys')",
												"true": [
													{
														"type": "setHeroOpacity",
														"opacity": 0,
														"time": 100
													},
													{
														"type": "setValue",
														"name": "flag:原位置x",
														"value": "status:x"
													},
													{
														"type": "setValue",
														"name": "flag:原位置y",
														"value": "status:y"
													},
													{
														"type": "setValue",
														"name": "flag:寄生",
														"value": "true"
													},
													{
														"type": "function",
														"function": "function(){\n(function () {\n\tlet m = core.getBlockId(1 + core.getFlag('x', 0), 1 + core.getFlag('y', 0));\n\tlet bi = core.getBlockInfo(m);\n\tvar getImage = function (img, m) {\n\t\tconst canvas = document.createElement('canvas');\n\t\tconst ctx = canvas.getContext('2d');\n\n\t\tconst partX = 0; // 截取的起始X坐标\n\t\tconst partY = core.material.icons.enemys[m] * 32; // 截取的起始Y坐标\n\t\tconst partWidth = 64; // 截取的宽度\n\t\tconst partHeight = 32; // 截取的高度\n\n\t\t// 设置 canvas 的大小\n\t\tcanvas.width = partWidth * 2; // 横向复制后宽度加倍\n\t\tcanvas.height = partHeight * 4; // 纵向复制 4 次后的高度\n\n\t\t// 截取图片的一部分并绘制到 canvas 上\n\t\tfor (let y = 0; y < 4; y++) {\n\t\t\tfor (let x = 0; x < 2; x++) {\n\t\t\t\tctx.drawImage(\n\t\t\t\t\timg,\n\t\t\t\t\tpartX, partY, partWidth, partHeight, // 从图片中截取的部分\n\t\t\t\t\tx * partWidth, y * partHeight, partWidth, partHeight // 绘制在 canvas 上的目标位置\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\t/*const imgElement = new Image(); \n\t\timgElement.src = canvas.toDataURL('image/png'); \n\t\timgElement.setAttribute('_width', canvas.width);\n\t\timgElement.setAttribute('_height', canvas.height);*/\n\t\treturn canvas;\n\t};\n\tlet img = getImage(bi.image, m);\n\tcore.status.hero.image = bi.name;\n\tcore.material.images.hero = img;\n\tcore.material.icons.hero.width = 32;\n\tcore.material.icons.hero.height = 32;\n\t//core.control.updateHeroIcon(bi.name);\n\tcore.drawHero();\n\n\tvar enemy = core.material.enemys[m];\n\tvar enemyInfo = core.enemys.getEnemyInfo(enemy, null, 1 + core.getFlag('x', 0), 1 + core.getFlag('y', 0), core.status.floorId);\n\tcore.setFlag('hp', enemyInfo.hp);\n\tcore.setFlag('atk', enemyInfo.atk);\n\tcore.setFlag('def', enemyInfo.def);\n\tcore.setFlag('money', enemyInfo.money);\n})();\n}"
													},
													{
														"type": "changePos",
														"loc": [
															"1+core.getFlag('x',0)",
															"1+core.getFlag('y',0)"
														]
													},
													{
														"type": "setHeroOpacity",
														"opacity": 1,
														"time": 100
													},
													{
														"type": "drawSelector",
														"code": 1
													},
													{
														"type": "clearMap"
													},
													{
														"type": "update"
													},
													{
														"type": "waitAsync"
													},
													{
														"type": "exit"
													}
												],
												"false": []
											}
										]
									},
									{
										"type": "setValue",
										"name": "temp:X",
										"value": "flag:x"
									},
									{
										"type": "setValue",
										"name": "temp:Y",
										"value": "flag:y"
									}
								]
							}
						]
					}
				]
			}
		],
		"选怪夹击": [
			{
				"type": "superAutoSave"
			},
			{
				"type": "setValue",
				"name": "temp:X",
				"value": "-1+status:x"
			},
			{
				"type": "setValue",
				"name": "temp:Y",
				"value": "-1+status:y"
			},
			{
				"type": "update"
			},
			{
				"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",
						"forceChild": true,
						"data": [
							{
								"case": "keyboard",
								"keycode": "65",
								"action": [
									{
										"type": "function",
										"function": "function(){\n(function () {\n\t//debugger;\n\tlet id = 'autoSave';\n\tcore.saves.autosave.now -= 2;\n\tvar data = core.saves.autosave.data.splice(core.saves.autosave.now, 1)[0];\n\tif (core.isPlaying() && !core.status.gameOver) {\n\t\tcore.control.autosave(0);\n\t\tcore.saves.autosave.now -= 1;\n\t}\n\tif (core.saves.autosave.now == 0) {\n\t\tcore.saves.autosave.data.unshift(core.clone(data));\n\t\tcore.saves.autosave.now += 1;\n\t}\n\tcore.control._doSL_load_afterGet(id, data);\n\treturn;\n})();\n}"
									},
									{
										"type": "exit"
									}
								]
							},
							{
								"case": "mouse",
								"px": [
									0,
									512
								],
								"py": [
									0,
									512
								],
								"action": [
									{
										"type": "if",
										"condition": "((temp:X==flag:x)&&(temp:Y==flag:y))",
										"true": [
											{
												"type": "if",
												"condition": "(core.getBlockCls(1+flag:x,1+flag:y)==='enemys')",
												"true": [
													{
														"type": "choices",
														"text": "\t[作者,oldMan]选择朝向",
														"choices": [
															{
																"text": "横向",
																"action": [
																	{
																		"type": "setBlock",
																		"number": "whiteKing",
																		"loc": [
																			"flag:x",
																			"1+flag:y"
																		],
																		"time": 500,
																		"async": true
																	},
																	{
																		"type": "setBlock",
																		"number": "whiteKing",
																		"loc": [
																			"2+flag:x",
																			"1+flag:y"
																		],
																		"time": 500,
																		"async": true
																	},
																	{
																		"type": "waitAsync"
																	},
																	{
																		"type": "setEnemyOnPoint",
																		"loc": [
																			"1+flag:x",
																			"1+flag:y"
																		],
																		"name": "hp",
																		"operator": "/=",
																		"value": "2"
																	},
																	{
																		"type": "drawSelector",
																		"code": 1
																	},
																	{
																		"type": "clearMap"
																	},
																	{
																		"type": "update"
																	},
																	{
																		"type": "exit"
																	}
																]
															},
															{
																"text": "纵向",
																"action": [
																	{
																		"type": "setBlock",
																		"number": "whiteKing",
																		"loc": [
																			"1+flag:x",
																			"2+flag:y"
																		],
																		"time": 500,
																		"async": true
																	},
																	{
																		"type": "setBlock",
																		"number": "whiteKing",
																		"loc": [
																			"1+flag:x",
																			"flag:y"
																		],
																		"time": 500,
																		"async": true
																	},
																	{
																		"type": "waitAsync"
																	},
																	{
																		"type": "setEnemyOnPoint",
																		"loc": [
																			"1+flag:x",
																			"1+flag:y"
																		],
																		"name": "hp",
																		"operator": "/=",
																		"value": "2"
																	},
																	{
																		"type": "drawSelector",
																		"code": 1
																	},
																	{
																		"type": "clearMap"
																	},
																	{
																		"type": "update"
																	},
																	{
																		"type": "exit"
																	}
																]
															},
															{
																"text": "重选",
																"action": []
															},
															{
																"text": "读档",
																"action": [
																	{
																		"type": "function",
																		"function": "function(){\n(function () {\n\t//debugger;\n\tlet id = 'autoSave';\n\tcore.saves.autosave.now -= 2;\n\tvar data = core.saves.autosave.data.splice(core.saves.autosave.now, 1)[0];\n\tif (core.isPlaying() && !core.status.gameOver) {\n\t\tcore.control.autosave(0);\n\t\tcore.saves.autosave.now -= 1;\n\t}\n\tif (core.saves.autosave.now == 0) {\n\t\tcore.saves.autosave.data.unshift(core.clone(data));\n\t\tcore.saves.autosave.now += 1;\n\t}\n\tcore.control._doSL_load_afterGet(id, data);\n\treturn;\n})();\n}"
																	}
																]
															}
														]
													}
												]
											}
										]
									},
									{
										"type": "setValue",
										"name": "temp:X",
										"value": "flag:x"
									},
									{
										"type": "setValue",
										"name": "temp:Y",
										"value": "flag:y"
									}
								]
							}
						]
					}
				]
			}
		]
	}
}