scene
id 69
name 避风堂
dat map60
weather 2
battleBg 3
BGM 3
enemyLevel 1
enemys 64,65,66
endScene
npc
name 陆小凡
defaultPos 0
visible false
isMotion -1
isPass false
attrib 0,16,264,28,40,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name bx57
defaultPos 0
visible event[167]=0
isMotion false
isPass false
attrib 38,384,95,18,15,2,类容
scriptVar null
speed 0
frequency 0
endNpc
npc
name 商人
defaultPos 0
visible true
isMotion -1
isPass false
attrib 20,416,136,18,40,2,类容
scriptVar null
speed 2
frequency 4
endNpc
event
type commonEvent
id -1
condition area,0,352,16,48
keyOK false
comment 避风堂2------避风堂1
. setScene 68,448,192,3,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,528,16,32,16
keyOK false
comment 避风堂2-----避风堂3
. setScene 70,64,592,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,96,64,16,16
keyOK true
comment 左边开关
. ctrl false
. if decState[6]=0
. showChoice true,是否开启,开
. if choice=0
. setDecState 6,1
. setCamera 368,224
. wait 0,10
. shake 10
. wait 0,10
. sync
. setDecState 0,0
. setDecState 1,0
. setDecState 4,0
. endSync
. set event[109],1
. setCamera 544,272
. shake 10
. wait 0,10
. sync
. setDecState 2,1
. setDecState 3,1
. setDecState 5,1
. endSync
. setCamera 0
. endIf
. ctrl true
. complete 0
. else
. showChoice true,是否关闭,关
. if choice=0
. setDecState 6,0
. setCamera 368,224
. wait 0,10
. shake 10
. wait 0,10
. sync
. setDecState 0,1
. setDecState 1,1
. setDecState 4,1
. endSync
. set event[109],0
. setCamera 544,272
. shake 10
. wait 0,10
. sync
. setDecState 2,0
. setDecState 3,0
. setDecState 5,0
. endSync
. setCamera 0
. endIf
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id 167
condition sprite,1
keyOK false
comment 事件描述
. changeEquip add,37,1
. changeItem add,14,1
. setStatus 1,6
. complete 1
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[109]=1
. setDecState 0,0
. setDecState 1,0
. setDecState 4,0
. setDecState 2,1
. setDecState 3,1
. setDecState 5,1
. else
. setDecState 0,1
. setDecState 1,1
. setDecState 4,1
. setDecState 2,0
. setDecState 3,0
. setDecState 5,0
. endIf
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 与商人对话
. ctrl false
. showText 0,0,云游商人,原来是小侠，救命之恩老夫真是无以为谢！
. showText 1,0,陆小凡,我们有见过吗？
. showText 0,0,云游商人,啊……那个，没……没有见过，但老夫初见少侠就倍感亲切。哈哈……
. setFace 0,3
. showText 0,0,云游商人,老夫云游四海，倒是也收集了不少好东西，不知小侠可有兴趣？
. showChoice true,是否买道具？,买道具,卖道具,离开
. if choice=0
. setPricePro 100
. buyItem 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
. ctrl true
. complete 0
. endIf
. if choice=1
. setPricePro 25
. sellItem true
. ctrl true
. complete 0
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id 181
condition area,304,288,16,32
keyOK false
comment 神剑教2救商人
. ctrl false
. move 0,304,272
. setDir 0,right
. showText 0,0,???,救命啊……！我只是个卖药的，你们肯定抓错人啦！
. setCamera 2
. wait 0,20
. setCamera 0
. ctrl true
. complete 1
endEvent
