scene
id 46
name 密道左
dat map43
weather 0
battleBg 3
BGM 2
enemyLevel 1
enemys 42,43,44
endScene
npc
name 丁枫（魔刀）
defaultPos 0
visible false
isMotion false
isPass false
attrib 1,0,342,24,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 布袋18
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,224,256,16,16,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 麻袋20
defaultPos 0
visible true
isMotion -1
isPass false
attrib 40,80,277,18,21,0,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 宝箱16
defaultPos 1
visible true
isMotion -1
isPass false
attrib 43,192,222,16,14,0,类容
scriptVar null
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,80,16,64,16
keyOK false
comment 密道左——钱家密道
. setScene 44,96,464,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 布袋18
. if event[141]=0
. set event[141]:布袋18,1
. getFood 10,1
. getFood 7,2
. setStatus 1,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 麻袋20
. if event[142]=0
. set event[142]:麻袋20,1
. getFood 9,2
. getFood 8,3
. getFood 16,1
. setStatus 2,6
. complete 0
. else
. showText 1,0,丁枫,袋子已经空了！
. complete 0
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[141]=1
. setStatus 1,6
. complete 0
. endIf
. if event[142]=1
. setStatus 2,6
. complete 0
. endIf
. if event[204]=1
. setStatus 3,6
. complete 0
. endIf
endEvent
event
type commonEvent
id 204
condition sprite,3
keyOK false
comment 宝箱16
. if event[204]=0&TaskItem > 0
. changeEquip add,40,1
. changeItem add,6,1
. setStatus 3,6
. complete 1
. else
. aside 没有万能钥匙不能打开
. complete 0
. endIf
endEvent
