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": "moveHero",
				"steps": [
					"backward"
				]
			}
		],
		"进入下一层": [
			{
				"type": "if",
				"condition": "(((core.getBlockId(9,0)==='hero2')&&((core.status.hero.loc.x===5)&&(core.status.hero.loc.y===0)))||((core.getBlockId(5,0)==='hero1')&&((core.status.hero.loc.x===9)&&(core.status.hero.loc.y===0))))",
				"true": [
					{
						"type": "if",
						"condition": "(flag:hero===1)",
						"true": [
							{
								"type": "setBlock",
								"number": "null",
								"loc": [
									[
										9,
										0
									]
								]
							},
							{
								"type": "changeFloor",
								"floorId": ":next",
								"loc": [
									5,
									14
								]
							},
							{
								"type": "setBlock",
								"number": "hero2",
								"loc": [
									[
										9,
										14
									]
								]
							},
							{
								"type": "setValue",
								"name": "flag:2x",
								"value": "9"
							},
							{
								"type": "setValue",
								"name": "flag:2y",
								"value": "14"
							}
						],
						"false": [
							{
								"type": "setBlock",
								"number": "null",
								"loc": [
									[
										5,
										0
									]
								]
							},
							{
								"type": "changeFloor",
								"floorId": ":next",
								"loc": [
									9,
									14
								]
							},
							{
								"type": "setBlock",
								"number": "hero1",
								"loc": [
									[
										5,
										14
									]
								]
							},
							{
								"type": "setValue",
								"name": "flag:1x",
								"value": "5"
							},
							{
								"type": "setValue",
								"name": "flag:1y",
								"value": "14"
							}
						]
					}
				]
			}
		],
		"进入上一层": [
			{
				"type": "if",
				"condition": "(flag:hero===1)",
				"true": [
					{
						"type": "setBlock",
						"number": "null",
						"loc": [
							[
								9,
								14
							]
						]
					},
					{
						"type": "changeFloor",
						"floorId": ":before",
						"loc": [
							5,
							0
						]
					},
					{
						"type": "setBlock",
						"number": "hero2",
						"loc": [
							[
								9,
								0
							]
						]
					},
					{
						"type": "setValue",
						"name": "flag:2x",
						"value": "9"
					},
					{
						"type": "setValue",
						"name": "flag:2y",
						"value": "0"
					}
				],
				"false": [
					{
						"type": "setBlock",
						"number": "null",
						"loc": [
							[
								5,
								14
							]
						]
					},
					{
						"type": "changeFloor",
						"floorId": ":before",
						"loc": [
							9,
							0
						]
					},
					{
						"type": "setBlock",
						"number": "hero1",
						"loc": [
							[
								5,
								0
							]
						]
					},
					{
						"type": "setValue",
						"name": "flag:1x",
						"value": "5"
					},
					{
						"type": "setValue",
						"name": "flag:1y",
						"value": "0"
					}
				]
			}
		]
	}
}