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
. setDir 2,up
. npcAppear 3,19,560,464,0
. move 3,576,464
. setDir 3,up
. setFace 3,4
. showText 3,0,胡媚娘,我曾经听法王提过，需要在上面九个石像中分别输入#B一至九#A的九个不同的数字，并且使任意横线，竖线，斜线三个石像的数字相加总和相同，机关则被破解。。
. showText 4,1,采因,这。。。好难。。。采因根本无法计算出。
. showText 3,0,胡媚娘,正因为常人无法算出，所以法王自以为此处藏#B归元火#A万无一失了。
. showText 3,0,胡媚娘,不过幸好法王自己记性不好，所以在石像上刻下了暗语提示。
. showText 3,0,胡媚娘,我们按照他的提示，将数字输入到上面石像中，就可以破解机关了。
. showText 0,0,石像上的文字,#B六八为肩，腰为七三，二四为底，一九中穿，五为中间，自然得解。#A
. move 3,560,464
. npcDisappear 3
. 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 3,0,胡媚娘,哈哈，太好了，主神像重获法力。
. showText 4,1,采因,姐姐，主神像已经充满了法力，为什么上面石像还是没有动呢？
. showText 3,0,胡媚娘,恢复法力只是启动了机关，我们还需要破解这个机关。
. showText 4,0,采因,我看高台上的副神像都有一些数字按钮，这是什么意思？
. showText 3,0,胡媚娘,所有副神像上的数字都存在一定的规律，前往#B主神像#A那里查看便可以知道。
. setCamera 2
. filmEnd true
. delLog 25
. addLog 26
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,6
keyOK false
comment 调节石像一
. if event[32]=1&event[33]=0
. if event[161]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[161]=3
. showText 0,0,提示,该石像目前数字为三。
. endIf
. if event[161]=6
. showText 0,0,提示,该石像目前数字为六。
. endIf
. if event[161]=9
. showText 0,0,提示,该石像目前数字为九。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字三,数字六,数字九
. if choice=1
. showText 0,0,提示,确定数字：三
. set event[161]:表示石像数字,3
. endIf
. if choice=2
. showText 0,0,提示,确定数字：六
. set event[161]:表示石像数字,6
. set event[85]:石像一,1
. endIf
. if choice=3
. showText 0,0,提示,确定数字：九
. set event[161]:表示石像数字,9
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,7
keyOK false
comment 调节石像二
. if event[32]=1&event[33]=0
. if event[162]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[162]=1
. showText 0,0,提示,该石像目前数字为一。
. endIf
. if event[162]=4
. showText 0,0,提示,该石像目前数字为四。
. endIf
. if event[162]=7
. showText 0,0,提示,该石像目前数字为七。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字一,数字四,数字七,
. if choice=1
. showText 0,0,提示,确定数字：一
. set event[162]:表示石像数字,1
. set event[86]:石像二,1
. endIf
. if choice=2
. showText 0,0,提示,确定数字：四
. set event[162]:表示石像数字,4
. endIf
. if choice=3
. showText 0,0,提示,确定数字：七
. set event[162]:表示石像数字,7
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,8
keyOK false
comment 调节石像三
. if event[32]=1&event[33]=0
. if event[163]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[163]=2
. showText 0,0,提示,该石像目前数字为二。
. endIf
. if event[163]=5
. showText 0,0,提示,该石像目前数字为五。
. endIf
. if event[163]=8
. showText 0,0,提示,该石像目前数字为八。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字二,数字五,数字八,
. if choice=1
. showText 0,0,提示,确定数字：二
. set event[163]:表示石像数字,2
. endIf
. if choice=2
. showText 0,0,提示,确定数字：五
. set event[163]:表示石像数字,5
. endIf
. if choice=3
. showText 0,0,提示,确定数字：八
. set event[163]:表示石像数字,8
. set event[87]:石像三,1
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,9
keyOK false
comment 调节石像四
. if event[32]=1&event[33]=0
. if event[164]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[164]=1
. showText 0,0,提示,该石像目前数字为一。
. endIf
. if event[164]=4
. showText 0,0,提示,该石像目前数字为四。
. endIf
. if event[164]=7
. showText 0,0,提示,该石像目前数字为七。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字一,数字四,数字七,
. if choice=1
. showText 0,0,提示,确定数字：一
. set event[164]:表示石像数字,1
. endIf
. if choice=2
. showText 0,0,提示,确定数字：四
. set event[164]:表示石像数字,4
. endIf
. if choice=3
. showText 0,0,提示,确定数字：七
. set event[164]:表示石像数字,7
. set event[88]:石像四,1
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,10
keyOK false
comment 调节石像五
. if event[32]=1&event[33]=0
. if event[165]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[165]=2
. showText 0,0,提示,该石像目前数字为二。
. endIf
. if event[165]=5
. showText 0,0,提示,该石像目前数字为五。
. endIf
. if event[165]=8
. showText 0,0,提示,该石像目前数字为八。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字二,数字五,数字八,
. if choice=1
. showText 0,0,提示,确定数字：二
. set event[165]:表示石像数字,2
. endIf
. if choice=2
. showText 0,0,提示,确定数字：五
. set event[165]:表示石像数字,5
. set event[89]:石像五,1
. endIf
. if choice=3
. showText 0,0,提示,确定数字：八
. set event[165]:表示石像数字,8
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,11
keyOK false
comment 调节石像六
. if event[32]=1&event[33]=0
. if event[166]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[166]=3
. showText 0,0,提示,该石像目前数字为三。
. endIf
. if event[166]=6
. showText 0,0,提示,该石像目前数字为六。
. endIf
. if event[166]=9
. showText 0,0,提示,该石像目前数字为九。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字三,数字六,数字九
. if choice=1
. showText 0,0,提示,确定数字：三
. set event[166]:表示石像数字,3
. set event[90]:石像六,1
. endIf
. if choice=2
. showText 0,0,提示,确定数字：六
. set event[166]:表示石像数字,6
. endIf
. if choice=3
. showText 0,0,提示,确定数字：九
. set event[166]:表示石像数字,9
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,12
keyOK false
comment 调节石像七
. if event[32]=1&event[33]=0
. if event[167]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[167]=2
. showText 0,0,提示,该石像目前数字为二。
. endIf
. if event[167]=5
. showText 0,0,提示,该石像目前数字为五。
. endIf
. if event[167]=8
. showText 0,0,提示,该石像目前数字为八。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字二,数字五,数字八,
. if choice=1
. showText 0,0,提示,确定数字：二
. set event[167]:表示石像数字,2
. set event[91]:石像七,1
. endIf
. if choice=2
. showText 0,0,提示,确定数字：五
. set event[167]:表示石像数字,5
. endIf
. if choice=3
. showText 0,0,提示,确定数字：八
. set event[167]:表示石像数字,8
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,13
keyOK false
comment 调节石像八
. if event[32]=1&event[33]=0
. if event[168]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[168]=3
. showText 0,0,提示,该石像目前数字为三。
. endIf
. if event[168]=6
. showText 0,0,提示,该石像目前数字为六。
. endIf
. if event[168]=9
. showText 0,0,提示,该石像目前数字为九。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字三,数字六,数字九
. if choice=1
. showText 0,0,提示,确定数字：三
. set event[168]:表示石像数字,3
. endIf
. if choice=2
. showText 0,0,提示,确定数字：六
. set event[168]:表示石像数字,6
. endIf
. if choice=3
. showText 0,0,提示,确定数字：九
. set event[168]:表示石像数字,9
. set event[92]:石像八,1
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,14
keyOK false
comment 调节石像九
. if event[32]=1&event[33]=0
. if event[169]=0
. showText 0,0,提示,该石像目前数字为零。
. endIf
. if event[169]=1
. showText 0,0,提示,该石像目前数字为一。
. endIf
. if event[169]=4
. showText 0,0,提示,该石像目前数字为四。
. endIf
. if event[169]=7
. showText 0,0,提示,该石像目前数字为七。
. endIf
. showChoice true,请选择数字按钮！,保持原样,数字一,数字四,数字七,
. if choice=1
. showText 0,0,提示,确定数字：一
. set event[169]:表示石像数字,1
. endIf
. if choice=2
. showText 0,0,提示,确定数字：四
. set event[169]:表示石像数字,4
. set event[93]:石像九,1
. endIf
. if choice=3
. showText 0,0,提示,确定数字：七
. set event[169]:表示石像数字,7
. endIf
. endIf
endEvent
event
type commonEvent
id 33
condition null
keyOK false
comment 打开机关
. if event[85]=1&event[86]=1&event[87]=1&event[88]=1&event[89]=1&event[90]=1&event[91]=1&event[92]=1&event[93]=1
. ctrl false
. filmStart true
. 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
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 34
condition sprite,16
keyOK false
comment 得到归元火
. ctrl false
. npcDisappear 16
. changeTaskItem add,19,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
