scene
id 24
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[183]=1&event[185]=0
. npcAppear 0,24,192,112,2
. npcAppear 1,24,224,96,3
. complete 0
. endIf
. 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
endEvent
event
type commonEvent
id -1
condition area,160,480,48,16
keyOK false
comment 云来客栈---京城
. if event[52]=1&event[183]=0
. showText 3,0,胡媚娘,先找当官的了解下准考证的情况。
. complete 0
. else
. setScene 23,560,480,2,true
. complete 0
. endIf
endEvent
event
type commonEvent
id 52
condition null
keyOK false
comment 投宿客栈
. if event[51]=1
. ctrl false
. refresh false
. npcAppear 1,24,256,304,0
. npcAppear 2,24,240,304,0
. npcAppear 0,24,272,304,0
. npcAppear 3,24,288,304,0
. taskFlag null
. refresh true
. showText 2,0,李碧莲,掌柜的，我们想住店。
. setFace 5,3
. showText 0,0,掌柜,不好意思客官，现在正值科举考试高峰期，客栈早已客满。
. setFace 1,2
. showText 2,0,李碧莲,看看这是什么？！
. aside 碧莲将十万两银票拿了出来。
. setFace 5,0
. showText 0,0,掌柜,客官放心，空房还有！里面请！
. sync
. {
. move 2,176,304
. move 2,176,288
. }
. {
. move 1,192,304
. move 1,192,240
. }
. {
. move 0,208,304
. move 0,208,240
. }
. {
. move 3,208,304
. move 3,208,272
. }
. endSync
. showText 3,1,胡媚娘,仕林公子。
. setFace 0,0
. setDir 0,down
. setDir 1,down
. showText 1,0,许仕林,媚娘怎么了？
. showText 3,1,胡媚娘,我和采因想在这里吃点东西，你们先去休息吧。
. showText 1,0,许仕林,好的，那我和碧莲就先回房休息。
. setCamera 2
. sync
. {
. move 0,192,112
. setDir 0,down
. }
. {
. move 1,208,128
. }
. {
. move 2,176,256
. move 2,144,256
. setDir 2,down
. }
. {
. move 3,208,320
. move 3,112,320
. move 3,112,288
. setDir 3,right
. }
. endSync
. aside 过了不久，媚娘听闻旁边酒桌有人在交谈。
. setCamera 256,368
. setFace 7,3
. showText 0,0,李豹,何大人，这杯是我敬你的。
. showText 0,0,李豹,这次多亏了你，不然我也没有这么快就拿到#B准考证#A。
. showText 3,1,胡媚娘,（嗯？#B准考证#A？）
. setFace 6,3
. showText 0,0,何御史,找我办事你尽管放心，不过你答应的事情好像还没兑现。
. setFace 7,3
. showText 0,0,李豹,何大人记性真好，小的这就去帮你取过来。
. setCamera 256,368
. move 7,176,368
. move 7,176,480
. npcDisappear 7
. setCamera 2
. setFace 2,2
. showText 3,1,胡媚娘,（看来那位当官的有办法能搞到#B准考证#A，我得过去问问。）
. move 3,112,256
. move 3,144,256
. npcDisappear 3
. setTeam 2,3
. changeTaskItem reduce,5,1
. delLog 33
. taskFlag 24,256,304
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,1
keyOK false
comment 与碧莲对话
. if event[56]=1&event[57]=0
. ctrl false
. showText 2,0,李碧莲,仕林哥比试了一天，赶紧上床休息吧。
. showChoice true,是否休息准备迎接第二天的比试？,休息,暂不
. if choice=0
. showCG 0,许仕林躺在床上休息了一夜，体力全部恢复了。
. rest true
. showText 2,0,李碧莲,仕林哥今天是第二天的比试，加油！
. delLog 35
. addLog 36
. set event[57]:第一天休息,1
. taskFlag 23,624,128
. endIf
. ctrl true
. complete 0
. else
. if event[58]=1&event[59]=0
. ctrl false
. showText 2,0,李碧莲,仕林哥比试了一天，赶紧上床休息吧。
. showChoice true,是否休息准备迎接第二天的比试？,休息,暂不
. if choice=0
. showCG 0,许仕林躺在床上休息了一夜，体力全部恢复了。
. rest true
. showText 2,0,李碧莲,仕林哥今天是最后一天的比试，加油！
. delLog 35
. addLog 36
. set event[59]:第二天休息,1
. taskFlag 23,624,128
. endIf
. ctrl true
. complete 0
. else
. showText 2,0,李碧莲,那个妖女真可恨，一直跟着仕林哥。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,288,16,16
keyOK true
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 sprite,10
keyOK false
comment 何小姐对话
. showText 0,0,何小姐,如果有钱也是一种错，我宁愿一错再错。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,6
keyOK false
comment 与何御史对话
. if event[183]=0
. ctrl false
. taskFlag null
. showText 3,0,胡媚娘,这位大人，你这里有#B准考证#A？
. setFace 6,3
. showText 0,0,何御史,科举考试三年才举行一次，这次错过了还要等三年。
. showText 3,0,胡媚娘,大人的意思是？
. setFace 6,3
. showText 0,0,何御史,你可以选择珍宝或者银两来和我交换#B准考证#A。
. showText 3,0,胡媚娘,珍宝我暂时没有，不知大人觉得多少银两才能换取呢？
. setFace 6,3
. showText 0,0,何御史,没有不要紧，只要你帮我办件事情也行。
. showText 0,0,何御史,你只要能从李豹手中拿回他欠我#B古玉#A，那我就把#B准考证#A给你。
. showText 0,0,何御史,不过要是你觉得麻烦，那只就给我#B20000#A两，我也可以把#B准考证#A给你。
. set event[183],1
. addLog 34
. ctrl true
. complete 0
. else
. setFace 6,3
. ctrl false
. if event[184]=0
. showText 0,0,何御史,决定了没有，到底用什么和我交换#B准考证#A。
. showChoice true,用什么交换？,银两,古玉,暂时不换
. if choice=0
. if money>19999
. showText 0,0,何御史,不错，银两数目正确，这个就是这一届的#B准考证#A，你拿好。
. changeMoney reduce,20000
. changeTaskItem add,16,1
. set event[184],1
. showText 3,0,胡媚娘,准考证已经到手，赶紧把它交给仕林公子。
. delLog 34
. addLog 62
. taskFlag 24,208,192
. else
. showText 0,0,何御史,别和我扯，你身上根本没有那么多钱。
. chargePoint 0
. endIf
. endIf
. if choice=1
. if taskItem[15]=1
. showText 0,0,何御史,不错，就是这块古玉，你做的不错。这个就是这一届的#B准考证#A，你拿好。
. changeTaskItem reduce,15,1
. changeTaskItem add,16,1
. set event[184],1
. showText 3,0,胡媚娘,准考证已经到手，赶紧把它交给仕林公子。
. delLog 34
. addLog 62
. taskFlag 24,208,192
. else
. showText 0,0,何御史,别和我扯，你身上根本没有古玉。
. endIf
. endIf
. ctrl true
. complete 0
. else
. showText 0,0,何御史,每次科举考试总会能捞一大比。
. ctrl true
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id 185
condition area,144,192,160,192
keyOK false
comment 把准考证交给许仕林
. if taskItem[16]=1
. ctrl false
. refresh false
. npcAppear 0,24,192,128,2
. npcAppear 1,24,208,128,2
. npcAppear 2,24,192,160,0
. npcAppear 3,24,208,160,0
. taskFlag null
. refresh true
. showText 3,0,胡媚娘,仕林，准考证我帮你搞到了。
. setFace 0,5
. showText 1,1,许仕林,真的？太好了，还是媚娘你有办法。
. showText 3,0,胡媚娘,能帮得上仕林公子我也很高兴。
. showText 3,0,胡媚娘,今晚好好休息，明天就开考了。
. showText 1,1,许仕林,嗯，我要养足精神，一举夺下状元，接着就去救爹娘出塔。
. setCamera 0
. setTeam 0
. rest true
. delLog 62
. showGame false
. showCG 0,一夜过去了，次日清晨
. changeLevel 0,level[2]
. setScene 23,624,192,2,true
. complete 1
. endIf
endEvent
