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": "comment",
				"text": "全地图选中一个点，需要用鼠标或触屏操作"
			},
			{
				"type": "tip",
				"text": "选择一列剪去，再次点击确认"
			},
			{
				"type": "while",
				"condition": "true",
				"data": [
					{
						"type": "drawSelector",
						"image": "winskin.png",
						"code": 1,
						"x": "32*temp:X",
						"y": 0,
						"width": 32,
						"height": "32*13"
					},
					{
						"type": "wait",
						"forceChild": true,
						"data": [
							{
								"case": "mouse",
								"px": [
									0,
									416
								],
								"py": [
									0,
									416
								],
								"action": [
									{
										"type": "comment",
										"text": "当点击地图左上角时执行此事件\n超时剩余时间会写入flag:timeout"
									}
								]
							}
						]
					},
					{
						"type": "if",
						"condition": "(flag:type === 1)",
						"true": [
							{
								"type": "if",
								"condition": "(temp:X===flag:x)",
								"true": [
									{
										"type": "break",
										"n": 1
									}
								]
							},
							{
								"type": "setValue",
								"name": "temp:X",
								"value": "flag:x"
							}
						]
					}
				]
			},
			{
				"type": "drawSelector",
				"code": 1
			},
			{
				"type": "comment",
				"text": "流程进行到这里可以对[X,Y]点进行处理，比如"
			},
			{
				"type": "function",
				"function": "function(){\nflags.soyoCutTimes[core.getRegion()] -= 1;\ncore.getHeart(undefined, true);\n}"
			},
			{
				"type": "for",
				"name": "temp:Y",
				"from": "12",
				"to": "0",
				"step": "-1",
				"data": [
					{
						"type": "if",
						"condition": "(!((core.getBlockId(temp:X,temp:Y)==='moneyShop')||((core.getBlockId(temp:X,temp:Y)==='upFloor')||(core.getBlockId(temp:X,temp:Y)==='downFloor'))))",
						"true": [
							{
								"type": "setBlock",
								"number": "cutline",
								"loc": [
									"temp:X",
									"temp:Y"
								],
								"time": 0,
								"async": true
							},
							{
								"type": "setBgFgBlock",
								"name": "bg",
								"number": "cutline",
								"loc": [
									"temp:X",
									"temp:Y"
								]
							},
							{
								"type": "hide",
								"loc": [
									"temp:X",
									"temp:Y"
								],
								"remove": true,
								"time": 0
							}
						]
					},
					{
						"type": "sleep",
						"time": 100
					}
				]
			},
			{
				"type": "waitAsync"
			}
		]
	}
}