﻿scene 
id 1
name 百草林东部
dat map1.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 2
enemys 0,1,2
endScene 

npc 0
name 夏侯惇
defaultPos 0
visible true
isMotion false
attrib 0,240,488,16,24,0,类容
scriptVar null
endNpc   

npc 1
name 郭嘉
defaultPos 0
visible false
isMotion false
attrib 1,256,491,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 张辽
defaultPos 0
visible false
isMotion false
attrib 2,272,493,18,29,0,类容
scriptVar null
endNpc   

npc 3
name 老人家
defaultPos 0
visible false
isMotion false
attrib 17,288,487,17,23,0,类容
scriptVar null
endNpc   

npc 4
name 土匪（上）
defaultPos 0
visible false
isMotion false
attrib 32,304,490,16,26,0,类容
scriptVar null
endNpc   

npc 5
name 土匪（中）
defaultPos 0
visible false
isMotion false
attrib 32,320,490,16,26,0,类容
scriptVar null
endNpc   

npc 6
name 土匪（下）
defaultPos 0
visible false
isMotion false
attrib 32,336,490,16,26,0,类容
scriptVar null
endNpc

npc 7
name 宝箱1
defaultPos 0
visible event[70]=0
isMotion false
attrib 35,48,160,16,16,0,类容
scriptVar null
endNpc   

npc 8
name 宝箱2
defaultPos 0
visible event[71]=0
isMotion false
attrib 35,432,32,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id 8
condition area,400,304,32,16
comment 百草林1救老人
.59 if event[7]=1
.0 ctrl false
.62 move 0,416,304
.29 setDir 0,up
.2 npcAppear 4,1,416,208,2
.3 npcAppear 5,1,400,224,2
.4 npcAppear 6,1,432,224,2
.5 npcAppear 3,1,416,224,0
.6 setCamera 416,224
.7 wait 3,10
.8 showText 0,土匪,老头，快把值钱的东西交出来，今天不知道哪里来的官兵，把我们的首领杀了，我们现在要离开这里，快。
.9 showText 0,老人家,我没有钱啊，我一直住在山上哪里有钱啊！
.10 showText 0,土匪,既然没钱，那就把你的命留下。
.11 setCamera 0
.12 wait 0,10
.13 showText 0,郭嘉,住手，不许你们再在此撒野。
.14 move 0,416,240
.15 wait 0,10
.16 showText 0,土匪,哪来的多管闲事的，兄弟们砍了他！
.17 initEmy 4,5
.18 initEmy 3,6
.19 initEmy 3,5
.20 setBattle true,false,null
.21 if isWin
.24 npcDisappear 4
.25 npcDisappear 5
.26 npcDisappear 6
.26 wait 0,10
.27 npcAppear 1,1,400,240,0
.28 move 1,400,224
.29 setDir 1,right
.100 setDir 3,down
.30 wait 0,10
.31 showText 0,郭嘉,老人家，你没事吧。
.32 showText 0,夏侯惇,军师你还关心他做什么？看我今天不给他一点颜色看看。
.33 setDir 1,down
.34 showText 0,郭嘉,将军请住手，将军可曾想过这位老人家为何欺骗我们？
.35 showText 0,夏侯惇,......这种问题我怎么知道。
.36 showText 0,郭嘉,老人可曾向我们要过任何好处？
.37 showText 0,夏侯惇,这个倒没有.
.39 setDir 1,right
.40 wait 1,10
.38 showText 0,郭嘉,老人家是不信任我们这些当官的才欺骗我们的，他也是为了城内的百姓啊。
.41 showText 0,夏侯惇,军师此言甚是，老人家你回去吧，我们则日一定会将山贼消灭干净的。
.42 showText 0,老人家,…………
.43 wait 3,10
.44 move 3,432,224
.45 move 3,432,96
.26 npcDisappear 3
.46 wait 0,10
.47 move 0,416,224
.48 setDir 0,left
.49 wait 0,10
.61 setCamera 0
.50 showText 0,夏侯惇,做了那么多事，还是没有找到解决疾病的方法。
.51 showText 0,夏侯惇,军师，今天已经够累的了，不如先回城吧。
.52 showText 0,郭嘉,恩，这样找下去也不是办法，先回城吧。
.57 npcDisappear 1
.58 wait 0,10
.55 ctrl true
.56 complete 1
.59 endIf
.21 endIf
endEvent 

event 1
type commonEvent
id -1
condition area,208,16,16,16
comment 百草林1-----荆州之东
.0 setScene 13,48,560,2,true
.1 complete 0
endEvent 

event 2
type commonEvent
id -1
condition area,464,464,16,16
comment 百草林1------百草林2
.0 setScene 2,528,64,3,true
.1 complete 0
endEvent 

event 3
type commonEvent
id 70
condition sprite,7
comment 宝箱1
.0 changeEquip add,0,1
.1 wait 0,10
.2 changeMoney add,100
.3 wait 0,10
.4 npcDisappear 7
.5 complete 1
endEvent

event 4
type commonEvent
id 71
condition sprite,8
comment 宝箱2
.0 changeEquip add,4,2
.1 wait 0,10
.2 changeMoney add,100
.1 wait 0,10
.5 npcDisappear 8
.4 complete 1
endEvent 