﻿scene
id 02
name 绿水原
dat map02.dat
weather 0
battleBg 0
BGM 1
enemyLevel 1
enemys null
endScene
npc
name 悟空
visible true
state 0
isPass false
attrib 18,0,348,36,36,1,类容
prop 1
endNpc
npc
name 观音
visible false
state 0
isPass false
attrib 8,96,285,22,45,3,类容
prop 0
endNpc
npc
name 弥勒佛
visible event[63]=0
state 0
isPass false
attrib 5,240,275,31,35,3,类容
prop 0
endNpc
event
type commonEvent
id 61
condition area,72,336,24,144
keyOK false
comment 遇见观音
. ctrl false
. showEffect 7,96,288,0
. wait 0,3
. npcAppear 1,2,96,264,3
. wait 0,2
. showText 9,0,观音,悟空，秃子是不是又被人抓了？
. showText 1,0,孙悟空,是啊，俺正赶着去救他呢。
. showText 9,0,观音,别猴急啊，先让我们确认一遍操作吧。
. ctrl true
. teachInfo “4、6”键左右移动
. input 4
. teachInfo “1、2、3”键跳跃
. input 2
. teachInfo 8键下蹲
. input 8
. teachInfo 5键攻击
. input 5
. teachInfo 7键选择技能
. input 7
. teachInfo 9键释放技能
. set mp[0],100
. input 9
. wait 0,80
. teachInfo null
. showText 9,0,观音,看来你的精神不错！去前面找下弥勒佛吧，他有好东西给你哦！
. showEffect 2,96,288,0
. npcDisappear 1
. complete 1
endEvent
event
type commonEvent
id 62
condition sprite,2
keyOK false
comment 对话弥勒佛
. if event[61]=1
. ctrl false
. showText 6,0,弥勒佛,这不是大圣吗，什么风把你刮到我这来了。
. showText 1,0,孙悟空,听说您老人家有好东西相赠？
. setFace 2,6
. showText 6,0,弥勒佛,原来你是打秋风的啊！
. showText 1,0,孙悟空,别装穷了，西天取经人人有责，尽点义务吧。
. showText 6,0,弥勒佛,算了，给你点东西吧。
. changeEquip add,0,1
. aside 获得檀木棒*1
. showText 6,0,弥勒佛,还不会装备吧，先来熟悉下。
. showText 6,0,弥勒佛,左软键打开菜单，选择背包界面。在背包里选择棒子，按确定键选择“装备”。
. teachInfo 在菜单中装备檀木棒
. screenLock 120,336,240,24
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 63
condition text,equiped[0]=0
keyOK false
comment 弥勒佛逃跑

. teachInfo null
. ctrl false
. showText 6,0,弥勒佛,不错，我已经没什么可教了，先走啦！
. npcDisappear 2
. showEffect 2,240,264,1
. setFace 0,4
. showText 1,0,孙悟空,这样啊，那我问如哥要去！
. wait 0,5
. showEffect 2,240,264,1
. npcAppear 2,2,240,264,1
. setFace 2,6
. showText 6,0,弥勒佛,孙哥，孙哥！这难得旅游一下，你就别为难我啦！
. showText 1,0,孙悟空,小样！私下凡间公费旅游……老孙眼里容不得沙子啊！
. showText 6,0,弥勒佛,孙爷，孙爷！这是几颗上好的女娲石，强化武器大大的好啊！以后你也可以在敌人的身上获得。
. changeItem add,4,2
. aside 得到女娲石*2
. showText 6,0,弥勒佛,在背包里选择强化的装备，按确定键选择强化就可以了。
. showText 1,0,孙悟空,胖子可教啊！这样吧，俺视力不好，什么也没遇见！
. showText 6,0,弥勒佛,谢谢啊~~~
. npcDisappear 2
. showEffect 2,240,264,1
. ctrl true
. complete 1

endEvent
event
type commonEvent
id -1
condition area,346,336,24,192
keyOK false
comment 出口
. if event[63]=1
. setScene 30,0,336,1,true
. complete 0
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 初始化事件
. if event[62]=1&event[63]=0
. teachInfo 在菜单中装备檀木棒
. screenLock 120,336,240,24
. endIf
. if event[61]=0
. npcAppear 0,2,0,336,1
. set mp[0],0
. endIf
endEvent
