﻿scene 
id 3
name 百草林西部
dat map3.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 6
enemys 2,3,4
endScene 

npc 0
name 夏侯惇
defaultPos 0
visible false
isMotion false
attrib 0,272,40,16,24,0,类容
scriptVar null
endNpc   

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

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

npc 3
name 土匪（上）
defaultPos 0
visible false
isMotion false
attrib 32,208,42,16,26,0,类容
scriptVar null
endNpc   

npc 4
name 土匪（左）
defaultPos 0
visible false
isMotion false
attrib 32,224,42,16,26,0,类容
scriptVar null
endNpc   

npc 5
name 土匪（下）
defaultPos 0
visible false
isMotion false
attrib 32,240,42,16,26,0,类容
scriptVar null
endNpc   

npc 6
name 土匪（右）
defaultPos 0
visible false
isMotion false
attrib 32,256,42,16,26,0,类容
scriptVar null
endNpc   

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

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

npc 9
name 宝箱3
defaultPos 0
visible event[76]=0
isMotion false
attrib 35,16,416,16,16,0,类容
scriptVar null
endNpc

event 0
type commonEvent
id 5
condition area,272,192,16,16
comment 百草林3剿灭土匪
.0 ctrl false
.1 setDir 0,up
.2 move 0,272,128
.13 setDir 0,down
.6 npcAppear 1,3,256,128,0
.12 setDir 1,up
.12 npcAppear 2,3,288,128,0
.13 setDir 2,right
.29 wait 0,10
.19 setDir 0,up
.17 setDir 1,down
.18 setDir 2,up
.30 wait 0,10
.19 sync
.23 {
.22 move 1,256,144
.29 setDir 1,right
.23 }
.26 {
.28 move 2,288,144
.29 setDir 2,left
.26 }
.19 endSync
.31 wait 0,10
.32 showText 0,郭嘉,按照老人家的指示，应该是这里了呀。
.33 showText 0,夏侯惇,是呀，可是怎么不见一个贼人？！
.34 showText 0,张辽,恩…………
.37 setDir 2,right
.35 wait 2,10
.36 showText 0,张辽,什么人？！
.38 showText 0,郭嘉,张将军怎么了？
.39 wait 0,10
.40 showText 0,周围的声音,哈哈…………不愧是曹军大将，竟然被发现了。
.41 setCamera 272,80
.42 npcAppear 3,3,272,80,2
.43 sync
.46 setDir 0,up
.47 setDir 1,up
.48 setDir 2,up
.43 endSync
.48 showText 0,土匪,好大的一块肥肉，这下可发了！哈哈…………
.49 showText 0,夏侯惇,那要看你有没这个能力了。
.50 showText 0,土匪,哈哈……………！
.52 setCamera 336,128
.54 wait 0,10
.53 npcAppear 6,3,320,144,3
.55 setDir 2,right
.56 setCamera 208,144
.57 wait 0,10
.58 npcAppear 4,3,208,144,1
.59 setDir 4,right
.64 setDir 1,left
.61 setCamera 272,176
.62 wait 0,10
.61 npcAppear 5,3,272,176,0
.63 setDir 5,up
.65 setCamera 0
.66 wait 0,10
.51 showText 0,郭嘉,居然有伏兵，大意了！
.67 showText 0,土匪,兄弟们，抄起家伙，上！…………
.68 sync
.71 move 3,272,112
.72 move 4,240,144
.73 move 5,272,160
.82 move 6,304,144
.68 endSync
.75 initEmy 3,7
.74 initEmy 4,10
.76 initEmy 3,7
.81 setBattle true,false,null
.78 if isWin
.73 npcDisappear 3
.74 npcDisappear 4
.75 npcDisappear 5
.76 npcDisappear 6
.76 showText 0,夏侯惇,哼，一帮乌合之众不足为惧！
.76 showText 0,郭嘉,咱们赶快去老人家那吧。
.76 showText 0,夏侯惇,恩！
.77 move 1,272,144
.81 setDir 1,up
.78 npcDisappear 1
.79 move 2,272,144
.80 setDir 2,up
.82 npcDisappear 2
.85 changeItem add,0,6
.87 wait 0,10
.86 changeMoney add,1000
.88 wait 0,10
.83 ctrl true
.84 complete 1
.78 endIf
endEvent 


event 1
type commonEvent
id -1
condition area,240,560,16,16
comment 百草林3-----百草林2
.1 setScene 2,48,32,2,true
.1 complete 0
endEvent 

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

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

event 4
type commonEvent
id 76
condition sprite,9
comment 宝箱3
.0 changeItem add,6,2
.1 wait 0,10
.2 changeMoney add,100
.3 wait 0,10
.4 npcDisappear 9
.5 complete 1
endEvent 