scene
id 60
name 云来客栈
dat map7
weather 0
battleBg 0
BGM 4
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 24,256,276,19,36,2,类容
speed 2
frequency 4
endNpc
npc
name 何御史
visible true
isMotion false
isPass false
attrib 20,256,356,19,36,2,类容
speed 2
frequency 4
endNpc
npc
name 李豹
visible event[52]=0
isMotion false
isPass false
attrib 13,224,388,17,36,1,类容
speed 2
frequency 4
endNpc
npc
name 戚宝山
visible false
isMotion false
isPass false
attrib 6,224,52,17,36,0,类容
speed 2
frequency 4
endNpc
npc
name 金跋法王
visible false
isMotion false
isPass false
attrib 8,64,57,27,41,0,类容
speed 2
frequency 4
endNpc
npc
name 何小姐
visible true
isMotion false
isPass false
attrib 14,96,404,18,36,3,类容
speed 2
frequency 4
endNpc
npc
name 衣橱
visible true
isMotion false
isPass false
attrib 42,176,119,48,55,0,类容
speed 2
frequency 4
endNpc
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[56]=1&event[61]=0
. npcAppear 1,24,224,96,2
. npcAppear 2,24,144,112,1
. npcAppear 3,24,144,144,1
. complete 0
. endIf
. if event[65]=1&event[73]=0
. npcAppear 1,24,208,112,2
. complete 0
. endIf
. if event[73]=1&event[74]=0
. npcAppear 9,24,160,128,1
. npcAppear 1,24,224,128,3
. complete 0
. endIf
endEvent
event
type commonEvent
id 61
condition area,144,208,160,192
keyOK false
comment 准备赴宴
. if event[60]=1
. ctrl false
. refresh false
. npcAppear 0,24,208,144,0
. npcAppear 1,24,208,112,2
. npcAppear 2,24,224,128,3
. npcAppear 3,24,176,128,1
. taskFlag null
. refresh true
. showText 2,1,李碧莲,仕林哥考的怎么样？
. setFace 0,5
. showText 1,0,许仕林,放心，我已经夺冠，皇榜发下来我就是状元。
. setFace 1,1
. showText 2,1,李碧莲,太好了，仕林哥真厉害。
. setFace 2,5
. showText 3,1,胡媚娘,恭喜公子，终于可以得偿所愿。
. showText 1,0,许仕林,对了，梁王摆了庆功宴邀请我们前往。
. showText 3,1,胡媚娘,莫非就是这次的主审官？
. showText 1,0,许仕林,就是他，我来找你们一起前往。
. showText 1,0,许仕林,梁王府在#B京城的西边出口#A，我们走吧。
. sync
. {
. move 1,208,144
. npcDisappear 1
. }
. {
. move 2,224,144
. move 2,208,144
. npcDisappear 2
. }
. {
. move 3,208,128
. npcDisappear 3
. }
. endSync
. setTeam 0,1,2,3
. delLog 37
. addLog 38
. taskFlag 30,368,192
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 74
condition null
keyOK false
comment 绑架碧莲
. if event[73]=1
. ctrl false
. setFace 1,2
. showText 2,1,李碧莲,你。。你别过来！小心我的仕林哥会教训你的！
. step 9,false,2,false
. showText 7,0,金跋法王,拿你这个美人儿祭拜我儿，他肯定会很开心的！
. showText 2,1,李碧莲,你……你个丑八怪，可别过来，不然仕林哥哥不会饶你的！
. showText 7,0,金跋法王,哈哈，他们现在在找人要状元呢，不会有人管你了！
. showText 2,1,李碧莲,啊……啊……仕林哥哥，救命啊！
. setScene 32,320,192,2,true
. delLog 45
. addLog 46
. taskFlag 60,208,160
. complete 1
. endIf
endEvent
event
type commonEvent
id 75
condition area,144,208,160,192
keyOK false
comment 寻找碧莲
. if event[74]=1
. ctrl false
. refresh false
. npcAppear 0,24,192,128,1
. npcAppear 2,24,224,128,3
. npcAppear 8,24,192,160,1
. npcAppear 3,24,224,160,3
. refresh true
. setDir 0,up
. wait 0,5
. setDir 0,left
. wait 0,5
. setDir 0,right
. showText 1,0,许仕林,奇怪，碧莲人呢？
. setFace 2,2
. showText 3,1,胡媚娘,糟糕，法王来过这里。
. setFace 0,0
. showAction 0,jump
. showText 1,0,许仕林,什么！
. showText 3,1,胡媚娘,这里有法王的气味，我不会闻错。碧莲应该是被法王所劫持了。
. showText 1,0,许仕林,这可怎么办，我不能让碧莲受到伤害。
. showText 3,1,胡媚娘,你先别急，我想他们没离开多久，应该还在#B城中#A。
. delLog 46
. addLog 47
. sync
. {
. move 8,192,128
. npcDisappear 8
. }
. {
. move 2,192,128
. npcDisappear 2
. }
. {
. move 3,224,128
. move 3,192,128
. npcDisappear 3
. }
. endSync
. ctrl true
. taskFlag 23,80,448
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,288,16,16
keyOK false
comment 掌柜对话
. ctrl false
. showText 0,0,老板,住店只需500两，要不要住上一宿？
. showChoice true,是否住店恢复体力？,是,否
. if choice=0
. if money>499
. changeMoney reduce,500
. showCG 0,一夜过去了……
. aside 所有人的状态都恢复到最大值。
. rest true
. else
. showText 0,0,老板,你身上的银两不够。
. endIf
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,160,480,48,16
keyOK false
comment 云来客栈-京城
. setScene 23,560,480,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,10
keyOK false
comment 何小姐对话
. showText 0,0,何小姐,如果有钱也是一种错，我宁愿一错再错。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,6
keyOK false
comment 何御史对话
. showText 0,0,何御史,每次科举考试总会能捞一大比。
. complete 0
endEvent
