scene
id 19
name 归元火藏地
dat map16
weather 0
battleBg 2
BGM 5
enemyLevel 1
enemys null
endScene
npc
name 许仕林
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,320,278,23,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 李碧莲
defaultPos 0
visible false
isMotion false
isPass false
attrib 1,176,53,21,37,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 胡媚娘
defaultPos 0
visible false
isMotion false
isPass false
attrib 2,128,166,17,38,1,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 采因
defaultPos 0
visible false
isMotion false
isPass false
attrib 3,128,134,18,38,1,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 青姨
defaultPos 0
visible false
isMotion false
isPass false
attrib 4,208,54,17,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 说明石像
visible true
isMotion false
isPass false
attrib 43,560,495,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像一
visible event[32]=1
isMotion false
isPass false
attrib 43,304,207,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像二
visible event[32]=1
isMotion false
isPass false
attrib 43,400,207,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像三
visible event[32]=1
isMotion false
isPass false
attrib 43,496,207,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像四
visible event[32]=1
isMotion false
isPass false
attrib 43,304,303,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像五
visible event[32]=1
isMotion false
isPass false
attrib 43,400,303,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像六
visible event[32]=1
isMotion false
isPass false
attrib 43,496,303,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像七
visible event[32]=1
isMotion false
isPass false
attrib 43,304,399,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像八
visible event[32]=1
isMotion false
isPass false
attrib 43,400,399,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 石像九
visible event[32]=1
isMotion false
isPass false
attrib 43,496,399,48,63,0,类容
speed 2
frequency 4
endNpc
npc
name 阻挡石像
visible true
isMotion false
isPass false
attrib 43,96,143,48,63,0,类容
speed 0
frequency 0
endNpc
npc
name 宝箱
visible event[34]=0
isMotion false
isPass false
attrib 40,96,33,18,17,2,类容
speed 2
frequency 4
endNpc
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[30]=1&event[31]=0
. npcAppear 2,19,544,480,1
. npcAppear 3,19,576,480,3
. complete 0
. endIf
. if event[32]=0
. npcAppear 6,19,304,176,2
. npcAppear 7,19,400,160,2
. npcAppear 8,19,496,160,2
. npcAppear 9,19,304,256,2
. npcAppear 10,19,400,288,2
. npcAppear 11,19,496,256,2
. npcAppear 12,19,304,352,2
. npcAppear 13,19,400,352,2
. npcAppear 14,19,496,320,2
. set event[80]:移动石像一,0
. set event[81]:移动石像五,0
. set event[82]:移动石像九,0
. complete 0
. endIf
. if event[33]=1
. npcAppear 15,19,192,144,0
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,656,544,16,48
keyOK false
comment 归元火迷宫---地洞
. setScene 18,0,128,1,true
. complete 0
endEvent
event
type commonEvent
id 31
condition null
keyOK false
comment 发现归元火
. ctrl false
. showText 3,0,胡媚娘,法王曾经带我来过一次，这里就是藏有归元火的地方。
. setCamera 96,128
. showText 3,0,胡媚娘,法王启动机关，将这个石像挪开，里面就藏有归元火。
. wait 0,10
. setCamera 368,240
. wait 0,10
. setCamera 480,288
. showText 3,0,胡媚娘,可能由于最近地震，这些石像位置发生了偏离，我们要先将这些石像摆放整齐。
. wait 0,10
. setCamera 96,256
. wait 0,10
. showText 3,0,胡媚娘,山洞中的地面由于不平整所以会出现地洞，人物走到上面就会#B掉落#A，掉落之后会被敌人发现，所以要#B特别小心#A。
. wait 0,10
. setCamera 2
. setDir 2,up
. showText 3,0,胡媚娘,我们眼前的这个石像就是启动机关的主要石像。
. showText 3,0,胡媚娘,而高台上的辅石像应该是#B横三纵三#A整齐排列，只要把凌乱的石像排列整齐就可以启动这个机关。
. move 3,544,480
. npcDisappear 3
. showText 0,0,提示,面对#B正确的方向#A就可推动石像，错误的方向则会使石像纹丝不动。
. showText 0,0,提示,必须要将九个凌乱的石像排成#B横三纵三#A的方阵。
. showText 0,0,提示,如果发现石像排列有错，出了房间再进入石像则可还原。
. delLog 24
. addLog 25
. ctrl true
. complete 1
.
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 说明石像对话
. if event[32]=1
. if event[33]=0
. ctrl false
. taskFlag null
. filmStart true
. showText 3,0,胡媚娘,万灵集聚，破印解缚，起！！
. setCamera 5
. set temp,0
. loop temp<4
. showEffect 2,544,448,0
. showEffect 2,560,448,0
. showEffect 2,576,448,0
. showEffect 2,560,448,0
. set temp,temp+1
. endLoop
. setCamera 15
. shake -1
. showEffect 19,96,96,0
. move 15,96,144
. move 15,192,144
. shake 0
. setCamera 2
. showText 3,0,胡媚娘,机关终于已被破解，赶紧去拿#B归元火#A！
. taskFlag 19,96,16
. filmEnd true
. delLog 26
. addLog 27
. set event[33],1
. ctrl true
. complete 0
. else
. showText 0,0,提示,古老的神像上透出淡淡的光。
. complete 0
. endIf
. else
. showText 0,0,提示,石像机关上没有任何法力，根本无法启动。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,304,192,16,16
keyOK false
comment 移动石像一
. if event[80]=0
. ctrl false
. setDir 2,up
. wait 0,5
. sync
. step 6,true,1,false
. step 2,false,1,false
. endSync
. set event[80]:移动石像一,1
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,400,304,16,16
keyOK false
comment 移动石像五
. if event[81]=0
. ctrl false
. setDir 2,up
. wait 0,5
. sync
. step 10,true,1,false
. step 2,false,1,false
. endSync
. wait 0,5
. sync
. step 10,true,1,false
. step 2,false,1,false
. endSync
. set event[81]:移动石像五,1
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,496,304,16,16
keyOK false
comment 移动石像九
. if event[82]=0
. ctrl false
. setDir 2,down
. wait 0,5
. sync
. step 14,false,1,false
. step 2,false,1,false
. endSync
. wait 0,5
. sync
. step 14,false,1,false
. step 2,false,1,false
. endSync
. set event[82]:移动石像九,1
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id 32
condition null
keyOK false
comment 石像启动
. if event[80]=1&event[81]=1&event[82]=1
. ctrl false
. filmStart true
. setCamera 400,272
. shake -1
. set temp,0
. loop temp<3
. sync
. showEffect 19,304,160,0
. showEffect 19,400,160,0
. showEffect 19,496,160,0
. showEffect 19,304,256,0
. showEffect 19,400,256,0
. showEffect 19,496,256,0
. showEffect 19,304,352,0
. showEffect 19,400,352,0
. showEffect 19,496,352,0
. endSync
. set temp,temp+1
. wait 0,20
. endLoop
. setCamera 560,464
. set temp,0
. loop temp<5
. showEffect 19,544,448,0
. showEffect 19,560,448,0
. showEffect 19,576,448,0
. showEffect 19,560,448,0
. set temp,temp+1
. endLoop
. shake 0
. showText 4,1,采因,哈哈，主神像已经充满法力，我们过去开启它。
. showText 3,0,胡媚娘,嗯。
. setCamera 2
. filmEnd true
. delLog 25
. addLog 26
. taskFlag 19,560,448
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 34
condition sprite,16
keyOK false
comment 得到归元火
. ctrl false
. npcDisappear 16
. changeTaskItem add,13,1
. showText 3,0,胡媚娘,不错，正是#B归元火#A，赶快拿回去给仕林。
. taskFlag 17,256,304
. ctrl true
. complete 1
endEvent
event
type commonEvent
id -1
condition area,0,320,64,144
keyOK false
comment 左边掉落
. if event[35]=0
. if !isFly
. ctrl false
. setFace 2,6
. sync
. npcDisappear 2
. showEffect 27,x[0],y[0],0
. endSync
. wait 0,5
. setScene 20,32,208,1,true
. complete 0
. endIf
. else
. if !isFly
. ctrl false
. setFace 0,6
. sync
. npcDisappear 0
. showEffect 27,x[0],y[0],0
. endSync
. wait 0,5
. setScene 20,32,208,1,true
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition area,144,352,80,176
keyOK false
comment 右边掉落
. if event[35]=0
. if !isFly
. ctrl false
. setFace 2,6
. sync
. npcDisappear 2
. showEffect 27,x[0],y[0],0
. endSync
. wait 0,5
. setScene 20,32,208,1,true
. complete 0
. endIf
. else
. if !isFly
. ctrl false
. setFace 0,6
. sync
. npcDisappear 0
. showEffect 27,x[0],y[0],0
. endSync
. wait 0,5
. setScene 20,32,208,1,true
. complete 0
. endIf
. endIf
endEvent
