﻿scene 
id 7
name 城南南郊
dat map7.dat
battleBg 1
openEffect 0
closeEffect 1
enemyLevel 1
enemys 0,7
endScene 

npc 0
name 许仙
defaultPos 0
visible false
isMotion false
attrib 0,112,60,16,28,0,类容
scriptVar null
endNpc   

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

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

npc 3
name 强盗
defaultPos 0
visible event[1]=0
isMotion false
attrib 11,32,333,16,29,0,类容
scriptVar null
endNpc   

npc 4
name 宝箱一号
defaultPos 0
visible event[30]=0
isMotion false
attrib 19,0,240,16,16,0,类容
scriptVar null
endNpc   

npc 5
name 宝箱二号
defaultPos 0
visible event[31]=0
isMotion false
attrib 19,272,176,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 1
condition area,64,144,32,16
comment 遇见强盗
.25 ctrl false
.0 move 0,64,144
.1 move 0,64,160
.2 move 0,48,160
.3 move 0,48,272
.4 move 0,32,272
.5 setDir 0,down
.6 showText 0,强盗,站…住！打…打…打个劫！
.7 showText 0,许仙,劫什么啊？
.8 showText 0,强盗,别…别废话，劫财、劫色！铜…钱、银子、银…票快主动拿出来！
.9 showText 0,许仙,劫色？你这恶人，看我收拾你！
.23 initEmy 0,4
.23 setBattle true,false,0
.11 if isWin
.15 showText 0,强盗,大爷饶命啊！我上有七十老母,下有三岁孩子,大侠！
.16 showText 0,许仙,恩？怎么不结巴了？
.17 showText 0,强盗,我常说啊！
.18 showText 0,许仙,……，饶你一命吧！
.19 npcDisappear 3
.28 changeItem add,0,2
.29 wait 0,15
.30 changeEquip add,1,1
.31 wait 0,15
.28 showText 0,null,得到止血草
.24 set event[51],1
.26 ctrl true
.20 complete 1
.19 else
.20 showText 0,强盗,小子还差的远了！
.27 ctrl true
.20 complete 0
.11 endIf
endEvent 

event 1
type commonEvent
id -1
condition area,96,16,32,16
comment 城南南郊上方出口
.0 setScene 2,144,400,0,true
.1 complete 0
endEvent 

event 2
type battleEvent
id 2
condition null
comment 与强盗战斗
.0 if emyHp[0]<400
.4 showBattleText 0,强盗,看不出来，还有两…两下子啊！
.0 endIf
.3 complete 1
endEvent 

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

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

event 5
type commonEvent
id -1
condition area,80,368,32,16
comment 下出口
.2 if event[56]=1
.2 setScene 8,16,48,2,true
.1 complete 0
.3 else
.4 showText 0,null,目前暂时不能通行
.6 complete 0
.2 endIf
endEvent 

