scene 
id 2
name 城南
dat map2.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 1
enemys null
endScene 

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

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

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

npc 3
name 衙役甲
defaultPos 0
visible true
isMotion false
attrib 3,128,396,18,28,2,类容
scriptVar 0
endNpc   

npc 4
name 衙役乙
defaultPos 0
visible true
isMotion false
attrib 3,144,396,18,28,2,类容
scriptVar 1
endNpc   

npc 5
name 王妈妈
defaultPos 0
visible true
isMotion false
attrib 6,128,298,16,26,2,类容
scriptVar null
endNpc   

npc 6
name 渔翁
defaultPos 0
visible true
isMotion false
attrib 8,272,347,18,27,3,类容
scriptVar null
endNpc   

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

event 1
type commonEvent
id -1
condition area,128,432,48,16
comment 城南下方出口
.0 setScene 7,96,32,2,true
.1 complete 0
endEvent 

event 2
type commonEvent
id -1
condition area,16,96,16,16
comment 武器店入口
.0 setScene 3,112,240,0,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition area,144,128,16,16
comment 旅店入口
.0 setScene 5,144,256,0,true
.1 complete 0
endEvent 

event 4
type commonEvent
id -1
condition area,224,240,16,16
comment 药材店入口
.0 setScene 4,96,240,0,true
.1 complete 0
endEvent 

event 5
type commonEvent
id -1
condition area,80,320,16,16
comment 许店入口
.2 if event[54]=1
.0 setScene 6,64,256,0,true
.1 complete 0
.4 else
.6 if KEY_OK
.6 showText 0,null,'此店招租'
.6 endIf
.2 endIf
endEvent 

event 6
type commonEvent
id -1
condition sprite,3
comment 衙役阻拦
.2 if event[50]=0
.2 
showText 0,衙役甲,今日城门戒严，闲杂人等不得出门！
.2 else
.8 if event[51]=0
.7 showText 0,衙役甲,你要帮王员外去城外采药？王员外可是好人啊，那我就破例放行吧！
.12 if event[55]=0
.6 move 3,112,384
.19 setDir 3,down
.13 move 4,160,384
.20 setDir 4,down
.15 set event[55]:衙役让开,1
.17 setNpcInitPos pos[0]:左衙役,112,384,2
.18 setNpcInitPos pos[1]:右衙役,160,384,2
.1 complete 1
.12 endIf
.8 else
.14 showText 0,衙役甲,王员外可是好人啊！
.1 complete 0
.8 endIf
.1 complete 0
.2 endIf
endEvent 

event 7
type commonEvent
id -1
condition sprite,4
comment 衙役阻拦
.2 if event[50]=0
.2 
showText 0,衙役乙,城内戒严，请大家排好队伍，历行检查…
.17 complete 0
.2 else
.7 if event[52]=0
.6 showText 0,衙役乙,小哥，城外凶险异常，打不过就先逃吧，留得青山在，不怕没柴烧！
.7 else
.10 if event[54]=0
.13 showText 0,衙役乙,白府啊……你只需要从城南左边的郊外，一直往北就可以找到了．
.14 set event[53]:问过衙役去白俯的路,1
.10 else
.15 showText 0,衙役乙,路上会遇到强盗、妖怪，保命最重要啊！
.1 complete 0
.10 endIf
.1 complete 0
.7 endIf
.1 complete 0
.2 endIf
endEvent 

event 8
type commonEvent
id -1
condition sprite,5
comment 王妈妈闲置对话
.0 showText 0,王妈妈,城内繁荣但也免不了有几个地主在街道调戏良家妇女，我一定要小心一些了……
.1 complete 0
endEvent 

event 9
type commonEvent
id -1
condition sprite,6
comment 渔翁闲置对话
.0 showText 0,渔翁,城里的庆余堂王员外真是杏林圣手啊……
.1 complete 0
endEvent 

event 10
type commonEvent
id -1
condition area,0,400,16,32
comment 城南左边出口
.2 if event[53]=1
.0 setScene 9,320,304,3,true
.6 complete 0
.0 else
.5 showText 0,null,这里暂时出不去，请找别的出口。
.1 complete 0
.2 endIf
endEvent 

event 11
type commonEvent
id -1
condition area,384,336,16,48
comment 城南右边出口
.2 if event[54]=1
.0 setScene 15,16,304,1,true
.1 complete 0
.0 else
.5 showText 0,null,这里暂时出不去，请找别的出口。
.1 complete 0
.2 endIf
endEvent 

event 12
type commonEvent
id 49
condition area,32,144,96,16
comment 第一次进入城南自言自语
.0 showText 0,许仙,城南的地界真是城中最繁华的地方啊！
.1 complete 1
endEvent 

event 13
type commonEvent
id -1
condition area,48,224,16,16
comment 民居入口
.0 setScene 33,112,240,0,true
.1 complete 0
endEvent 

