﻿scene 
id 13
name 安林
dat map13.dat
battleBg 0
openEffect 0
closeEffect 1
enemyLevel 11
enemys 0,1,2,3,5,6,7,8,9
endScene 

npc 0
name 赵云
defaultPos 0
visible false
isMotion false
attrib 0,176,220,16,28,0,类容
scriptVar null
endNpc   

npc 1
name 刘珊
defaultPos 0
visible false
isMotion false
attrib 1,192,219,16,27,0,类容
scriptVar null
endNpc   

npc 2
name 关羽
defaultPos 0
visible false
isMotion false
attrib 2,208,220,16,28,0,类容
scriptVar null
endNpc   

npc 3
name 周瑜
defaultPos 0
visible false
isMotion false
attrib 3,224,220,17,28,0,类容
scriptVar null
endNpc   

npc 4
name 奸细
defaultPos 0
visible event[1]=0
isMotion false
attrib 17,80,122,16,26,0,类容
scriptVar null
endNpc   

npc 5
name 宝箱
defaultPos 0
visible event[27]=0
isMotion false
attrib 33,16,304,16,16,0,类容
scriptVar null
endNpc   

npc 6
name 宝箱
defaultPos 0
visible event[28]=0
isMotion false
attrib 33,352,288,16,16,0,类容
scriptVar null
endNpc   

event 0
type commonEvent
id -1
condition area,0,48,16,32
comment 安林（右上）西上出口
.0 setScene 12,368,32,3,true
.1 complete 0
endEvent 

event 1
type commonEvent
id -1
condition area,0,384,16,48
comment 安林（右上）西下出口
.0 setScene 12,368,352,3,true
.1 complete 0
endEvent 

event 2
type commonEvent
id -1
condition area,240,400,48,16
comment 安林（右上）南左出口
.0 setScene 10,224,32,2,true
.1 complete 0
endEvent 

event 3
type commonEvent
id -1
condition area,336,400,32,16
comment 安林（右上）南右出口
.0 setScene 10,336,32,2,true
.1 complete 0
endEvent 

event 4
type commonEvent
id 1
condition area,32,64,112,16
comment 安林奸细战
.0 if event[0]=1
.0 ctrl false
.0 wait 0,10
.2 npcDisappear 1
.2 move 0,80,64
.2 setDir 0,down
.4 npcAppear 1,13,64,64,2
.5 wait 0,10
.6 showText 0,赵云,想必这就是曹操的奸细。
.7 showText 0,刘珊,明明就是我先发现的。贼人看招！
.8 showText 0,赵云,你等等，别冲那么前。
.9 move 1,64,112
.9 setDir 1,right
.9 move 0,80,96
.10 wait 1,10
.11 initEmy 20,12
.12 setBattle true,false,null
.13 if isWin
.14 npcDisappear 4
.6 changeItem add,0,2
.5 wait 0,10
.6 changeItem add,4,2
.5 wait 0,10
.5 changeEquip add,2,15
.5 wait 0,10
.5 changeEquip add,18,15
.5 wait 0,10
.15 setDir 1,up
.15 move 1,64,96
.15 setDir 1,right
.15 setDir 0,left
.15 showText 0,赵云,奸细已经除掉了，我们快回去吧！
.15 move 1,80,96
.16 npcDisappear 1
.17 ctrl true
.18 complete 1
.19 endIf
.19 endIf
endEvent 

event 5
type commonEvent
id 27
condition sprite,5
comment 安林右上宝箱一
.0 changeItem add,53,5
.1 npcDisappear 5
.2 complete 1
endEvent 

event 6
type commonEvent
id 28
condition sprite,6
comment 安林右上宝箱二
.0 changeItem add,12,1
.1 npcDisappear 6
.2 complete 1
endEvent 
