scene 
id 9
name 城南西郊一
dat map9.dat
battleBg 1
openEffect 0
closeEffect 1
enemyLevel 3
enemys 1,7,0
endScene 

npc 0
name 许仙
defaultPos 0
visible false
isMotion false
attrib 0,304,316,16,28,3,类容
scriptVar null
endNpc   

npc 1
name 白素贞
defaultPos 0
visible false
isMotion false
attrib 1,304,347,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 小青
defaultPos 0
visible false
isMotion false
attrib 2,304,283,16,27,0,类容
scriptVar null
endNpc   

npc 3
name 宝箱一号
defaultPos 0
visible event[32]=0
isMotion false
attrib 19,144,304,16,16,0,类容
scriptVar null
endNpc   

npc 4
name 宝箱二号
defaultPos 0
visible event[33]=0
isMotion false
attrib 19,336,160,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 7
condition area,32,272,112,32
comment 破庙前下雨
.4 ctrl false
.0 showText 0,null,天空突然下去雨来
.1 wait 0,10
.2 showText 0,许仙,这天气真是说变就变啊，前面有座破庙，正好可以避避雨。
.5 ctrl true
.3 complete 1
endEvent 

event 1
type commonEvent
id -1
condition area,32,176,32,16
comment 破庙入口
.0 setScene 10,144,352,0,true
.1 complete 0
endEvent 

event 2
type commonEvent
id -1
condition area,336,304,16,32
comment 下出口
.0 setScene 2,32,384,0,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition area,144,16,32,16
comment 上出口
.2 if event[8]=1
.0 setScene 11,32,336,0,true
.1 complete 0
.2 else
.7 showText 0,null,目前暂时不能通行
.2 endIf
endEvent 

event 4
type commonEvent
id 32
condition sprite,3
comment 城南西郊1宝箱一号
.0 changeItem add,1,1
.4 wait 0,15
.1 changeItem add,8,1
.5 npcDisappear 3
.2 complete 1
endEvent 

event 5
type commonEvent
id 33
condition sprite,4
comment 城南西郊1宝箱二号
.0 changeMoney add,200
.4 wait 0,15
.1 changeItem add,1,1
.5 wait 0,15
.2 changeEquip add,0,1
.7 npcDisappear 4
.3 complete 1
endEvent 

