scene
id 80
name 瓦尼隆
dat map43
weather 0
battleBg 0
BGM 3
enemyLevel 1
enemys 52,53,54
endScene
npc 0
name 马尔斯
defaultPos 0
visible false
isMotion false
isPass false
attrib 0,128,215,29,39,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 1
name 依晴
defaultPos 0
visible event[57]=1&event[59]=0
isMotion false
isPass false
attrib 1,512,388,19,36,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 2
name 诺姆
defaultPos 0
visible false
isMotion false
isPass false
attrib 2,192,215,29,39,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 3
name 巴特
defaultPos 0
visible event[56]=1&event[59]=0
isMotion false
isPass false
attrib 3,496,358,27,38,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 4
name 魔法阵一
defaultPos 0
visible false
isMotion false
isPass true
attrib 32,544,63,47,31,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 5
name 魔法阵二
defaultPos 0
visible false
isMotion false
isPass true
attrib 32,480,111,47,31,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 6
name 魔法阵三
defaultPos 0
visible false
isMotion false
isPass true
attrib 32,544,159,47,31,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 7
name 魔法阵四
defaultPos 0
visible false
isMotion false
isPass true
attrib 32,608,111,47,31,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 8
name 灰箱-080
defaultPos 0
visible event[186]=0
isMotion false
isPass false
attrib 41,416,49,18,17,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 9
name 黄箱-080
defaultPos 0
visible event[187]=0
isMotion false
isPass false
attrib 42,208,273,18,17,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc 10
name 华华
defaultPos 0
visible true
isMotion false
isPass false
attrib 19,512,272,18,32,2,类容
scriptVar null
speed 2
frequency 4
endNpc
event 0
type commonEvent
id -1
condition area,0,96,16,48
keyOK false
comment 瓦尼隆---阿达姆 
.0 setScene 71,544,352,3,true
.1 complete 0
endEvent
event 1
type commonEvent
id 57
condition area,432,464,16,64
keyOK false
comment 与巴特会面
.0 ctrl false
.1 move 0,432,432
.2 move 0,480,432
.3 move 0,480,368
.4 npcAppear 1,80,480,368,0
.5 move 1,512,368
.6 setDir 1,up
.7 showText 1,0,马尔斯,巴特！
.8 setFace 3,0
.9 setDir 3,down
.10 showText 4,1,巴特,你们来了啊。
.11 showText 1,0,马尔斯,你比我们早到这里，有什么发现吗？
.26 setFace 3,3
.10 showText 4,1,巴特,我在这里前后都检查过了，只有这个石碑和前面的魔法阵最为可疑。
.13 showText 4,1,巴特,石碑上刻的就是卡洛斯的生平---“我身于大陆偏远部族取名卡洛斯，年约十岁傍晚时分村庄遭魔界怪物侵袭父母双亡。于是只身一人流浪，两个月之后的早晨遇见了龙族军队并且加入了他们，此后的几年内奋斗于与魔界怪物的征战，直至有天凌晨冒险营救出一名龙族长老，而被加封英雄，并且授予嘉奖。战争结束之后，带功回到族里，却被大王排挤，被迫流放至此。月圆之夜自知命已不久，所以特刻此篇，以示来拜我者——卡洛斯。”
.15 showText 2,1,依晴,明明带功，却被排挤，他的命运也算悲惨。
.14 showText 1,0,马尔斯,这里就是卡洛斯死去的地方，不过他至死都没提到#B火龙链#A。
.16 showText 2,1,依晴,生平里面说有龙族的嘉奖，算下时间，应该就是#B火龙链#A。
.17 showText 4,0,巴特,你们看石碑后面的魔法阵。
.18 setCamera 544,80
.19 wait 0,10
.20 setCamera 0
.26 setFace 3,3
.21 showText 4,0,巴特,据我猜测，如果我们能成功#B解除#A后面的魔法阵，那么应该会有发现。
.22 showText 1,1,马尔斯,有必要解开这个迷阵。
.28 setCamera 0
.25 setTeam 0
.23 ctrl true
.24 complete 1
endEvent
event 2
type commonEvent
id 58
condition area,528,48,48,32
keyOK false
comment 解开迷阵
.21 npcAppear 4,80,544,48,0
.30 set event[236]:瓦尼隆迷阵1状态,1
.4 if event[236]=1&event[237]=1&event[238]=1&event[239]=1
.19 if event[76]=3
.9 ctrl false
.41 move 0,544,96
.10 filmStart true
.7 aside 传来一声沉闷的响声……
.8 setCamera 496,320
.11 wait 0,10
.24 showEffect 4,496,304,0
.21 sync
.25 setFace 3,0
.26 setFace 1,0
.21 endSync
.26 sync
.29 setDir 3,up
.30 showAction 1,jump
.26 endSync
.12 setCamera 0
.40 setDir 0,down
.39 showText 1,0,马尔斯,那边好像有事发生，过去看看。
.13 filmEnd true
.14 ctrl true
.15 complete 1
.19 endIf
.7 showText 1,0,马尔斯,什么情况也没发生。
.8 sync
.11 npcDisappear 4
.12 npcDisappear 5
.13 npcDisappear 6
.14 npcDisappear 7
.8 endSync
.19 sync
.22 set event[236]:瓦尼隆迷阵1状态,0
.23 set event[237]:瓦尼隆迷阵2状态,0
.24 set event[238]:瓦尼隆迷阵3状态,0
.25 set event[239]:瓦尼隆迷阵4状态,0
.19 endSync
.4 endIf
.5 set event[76]:瓦尼隆迷阵变量,0
.41 complete 0
endEvent
event 3
type commonEvent
id -1
condition area,528,144,48,32
keyOK false
comment 魔法阵3
.20 if event[58]=0
.2 npcAppear 6,80,544,144,0
.3 set event[238]:瓦尼隆迷阵状态,1
.0 set event[76]:瓦尼隆迷阵变量,1
.4 if event[236]=1&event[237]=1&event[238]=1&event[239]=1
.7 showText 1,0,马尔斯,什么情况也没发生。
.5 set event[76]:瓦尼隆迷阵变量,0
.8 sync
.11 npcDisappear 4
.12 npcDisappear 5
.13 npcDisappear 6
.14 npcDisappear 7
.8 endSync
.19 sync
.22 set event[236]:瓦尼隆迷阵1状态,0
.23 set event[237]:瓦尼隆迷阵2状态,0
.24 set event[238]:瓦尼隆迷阵3状态,0
.25 set event[239]:瓦尼隆迷阵4状态,0
.19 endSync
.4 endIf
.1 complete 0
.20 endIf
endEvent
event 4
type commonEvent
id -1
condition area,464,96,48,32
keyOK false
comment 魔法阵2
.25 if event[58]=0
.7 npcAppear 5,80,480,96,0
.8 set event[237]:瓦尼隆迷阵2状态,1
.4 if event[236]=1&event[237]=1&event[238]=1&event[239]=1
.7 showText 1,0,马尔斯,什么情况也没发生。
.5 set event[76]:瓦尼隆迷阵变量,0
.8 sync
.11 npcDisappear 4
.12 npcDisappear 5
.13 npcDisappear 6
.14 npcDisappear 7
.8 endSync
.19 sync
.22 set event[236]:瓦尼隆迷阵1状态,0
.23 set event[237]:瓦尼隆迷阵2状态,0
.24 set event[238]:瓦尼隆迷阵3状态,0
.25 set event[239]:瓦尼隆迷阵4状态,0
.19 endSync
.4 endIf
.0 if event[76]=1
.5 set event[76]:瓦尼隆迷阵变量,2
.6 complete 0
.0 else
.7 set event[76]:瓦尼隆迷阵变量,0
.8 complete 0
.0 endIf
.25 endIf
endEvent
event 5
type commonEvent
id -1
condition area,592,96,48,32
keyOK false
comment 魔法阵4
.25 if event[58]=0
.7 npcAppear 7,80,608,96,0
.8 set event[239]:瓦尼隆迷阵4状态,1
.4 if event[236]=1&event[237]=1&event[238]=1&event[239]=1
.7 showText 1,0,马尔斯,什么情况也没发生。
.5 set event[76]:瓦尼隆迷阵变量,0
.8 sync
.11 npcDisappear 4
.12 npcDisappear 5
.13 npcDisappear 6
.14 npcDisappear 7
.8 endSync
.19 sync
.22 set event[236]:瓦尼隆迷阵1状态,0
.23 set event[237]:瓦尼隆迷阵2状态,0
.24 set event[238]:瓦尼隆迷阵3状态,0
.25 set event[239]:瓦尼隆迷阵4状态,0
.19 endSync
.4 endIf
.0 if event[76]=2
.5 set event[76]:瓦尼隆迷阵变量,3
.6 complete 0
.0 else
.7 set event[76]:瓦尼隆迷阵变量,0
.8 complete 0
.0 endIf
.25 endIf
endEvent
event 6
type commonEvent
id 59
condition area,448,400,64,16
keyOK false
comment 找到火龙链下落
.39 if event[58]=1
.0 ctrl false
.22 filmStart true
.1 move 0,480,400
.2 move 0,480,352
.3 setDir 0,right
.41 setDir 3,down
.12 showAction 3,jump
.13 setFace 3,0
.4 showText 4,0,巴特,马尔斯，你破解了#B魔法阵#A，石碑上面的文字已发生了变化。
.5 setDir 3,up
.6 showText 4,0,巴特,上面写着—“嘉奖所得#B火龙链#A，身戴尤为珍惜，临死时无法还于龙族，所以封印于#B塔利斯#A。非龙族使者，切莫寻找，切记切记！！”
.7 setDir 3,down
.8 showText 2,1,依晴,这次我们找对了，卡洛斯就是接受莫里森赏赐的那个英雄。
.9 showText 1,0,马尔斯,文字指出火龙链在#B塔利斯#A，那是什么地方？
.10 showText 4,1,巴特,从这里往南走，有一片没有任何种族居住的荒野，那里就是#B塔利斯#A。
.14 setDir 0,left
.11 showText 1,0,马尔斯,那我们现在就出发吧。
.15 showText 4,1,巴特,等一下！
.16 setFace 0,0
.17 setDir 0,right
.18 showText 4,1,巴特,荒漠地区极其缺乏水等资源，我们最好先回村庄补给一下，然后再出发。
.19 showText 2,0,依晴,巴特说的没错，我们先去村里的道具屋补给一下。
.20 delLog 任务二十一五
.21 addLog 任务二十二,#B前往阿达姆道具店进行补给。
.23 sync
.26 {
.32 move 1,480,368
.33 move 1,480,352
.34 npcDisappear 1
.26 }
.29 {
.35 move 3,496,352
.36 move 3,480,352
.37 npcDisappear 3
.29 }
.23 endSync
.42 setCamera 0
.35 setTeam 0,1,3
.36 filmEnd true
.37 ctrl true
.38 complete 1
.39 endIf
endEvent
event 7
type commonEvent
id -1
condition sprite,3
keyOK false
comment 与巴特对话
.0 showText 4,0,巴特,石碑上写着—“我身于大陆偏远部族取名卡洛斯，年约十岁傍晚时分村庄遭魔界怪物侵袭父母双亡。于是只身一人流浪，两个月之后的早晨遇见了龙族军队并且加入了他们，此后的几年内奋斗于与魔界怪物的征战，直至有天凌晨冒险营救出一名龙族长老，而被加封英雄，并且授予嘉奖。战争结束之后，带功回到族里，却被大王排挤，被迫流放至此。月圆之夜自知命已不久，所以特刻此篇，以示来拜我者——卡洛斯。”
.1 showText 4,0,巴特,卡洛斯的命运真是悲惨。
.2 complete 0
endEvent
event 8
type commonEvent
id -1
condition sprite,1
keyOK false
comment 与依晴对话
.0 showText 2,0,依晴,我总觉得卡洛斯的生平与他设置的魔法阵有联系。
.1 complete 0
endEvent
event 9
type commonEvent
id 186
condition sprite,8
keyOK false
comment 灰箱-080
.6 ctrl false
.3 npcDisappear 8
.0 changeItem add,9,1
.1 wait 0,10
.2 changeItem add,3,1
.6 ctrl true
.4 complete 1
endEvent
event 10
type commonEvent
id 187
condition sprite,9
keyOK false
comment 黄箱-080
.6 ctrl false
.0 if point[8]=1
.4 npcDisappear 9
.1 changeEquip add,64,1
.2 wait 0,10
.3 changeItem add,21,1
.12 ctrl true
.5 complete 1
.6 else
.7 showText 0,0,null,宝箱紧锁，需要开锁技能。
.8 chargePoint 8
.12 ctrl true
.9 complete 0
.10 endIf
endEvent
event 11
type commonEvent
id -1
condition sprite,10
keyOK false
comment 华华对话
.19 if event[251]=0
.0 showText 0,0,华华,我可是谜题高手，上面的法阵谜题我已经找到答案。童叟无欺，绝对正确。
.1 showText 0,0,华华,想知道吗？我可不能白给你，想这个太伤神了。这样吧，给我8000金买补品，我就告诉你。
.2 showChoice true,是否给予华华8000金换取谜题答案？,给予,不给
.3 if choice=0
.7 if money>7999
.15 changeMoney reduce,8000
.6 showText 0,0,华华,看你这么有诚意，我就告诉你吧！
.16 showText 0,0,华华,你按照#B“下，左，右，上”#A的顺序依次碰撞法阵，则可以解开这个谜题！
.14 set event[251],1
.17 complete 0
.7 else
.12 showText 0,0,华华,哼……哼！先看好你自己的金钱数量再来找我要答案。
.13 complete 0
.7 endIf
.3 endIf
.15 if choice=1
.18 showText 0,0,华华,哼……不要拉倒！看你也不像是阔气的兽人！你自己想吧。
.19 complete 0
.15 endIf
.19 else
.16 showText 0,0,华华,你按照#B“下，左，右，上”#A的顺序依次碰撞法阵，则可以解开这个谜题！
.23 complete 0
.19 endIf
endEvent
