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 event[120]=1&event[128]=0
isMotion false
isPass false
attrib 13,80,100,17,36,2,类容
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,3
. 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 -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,掌柜,不好意思客官，现在正值科举考试高峰期，客栈早已客满。
. setDir 1,left
. wait 0,10
. setDir 1,up
. setFace 1,0
. showAction 1,jump
. setCamera 224,144
. wait 0,0
. setCamera 0
. setFace 1,2
. showText 2,0,李碧莲,明明还有空房，为何说是客满？
. setFace 5,3
. showText 0,0,掌柜,那间可是高档套房，哼，你们能住的起吗？
. setFace 1,7
. showAction 1,jump
. 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，我得过去问问。）
. showText 3,1,胡媚娘,采因，看到那个当官的没？
. showText 4,0,采因,姐姐，怎么啦？
. 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 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,金跋法王,哈哈！我果然没有猜错，你和许仕林的关系非比寻常，抓了你不愁许仕林不就范。
. setFace 1,0
. showText 2,1,李碧莲,啊啊！！救命啊！
. showText 7,0,金跋法王,哈哈！你叫破喉咙也不会有人来救你的。
. showText 7,0,金跋法王,白蛇的儿子我没抓着，至少可以拿他的女人来凑数。
. aside 李碧莲突然害羞起来。
. setFace 1,3
. showText 2,1,李碧莲,没有啦，真是的，人家还是黄花大闺女呢。
. setFace 9,4
. showText 7,0,金跋法王,奇怪了，你和那个许仕林成天形影不离，难道不是他的媳妇？
. showText 2,1,李碧莲,这个嘛。。其实人家是他未过门的媳妇。
. setFace 9,7
. showText 7,0,金跋法王,气死我了，白跑一趟，原来你和他并不是一家人。
. showText 7,0,金跋法王,抓了也没意思，算了，不抓了，走了。
. setDir 9,down
. setFace 1,2
. changeSpeed 1,3
. move 1,224,160
. move 1,192,160
. setDir 1,up
. showText 2,1,李碧莲,哎，你等等，别说走就走啊，谁说我和他不是一家人。
. showText 2,1,李碧莲,他抱过我，我就是他的女人，和他就是一家人！
. showText 2,1,李碧莲,你这妖做事怎么能半途而废，快点把我抓走。
. setFace 9,6
. setScene 32,320,192,2,true
. delLog 45
. addLog 46
. taskFlag 24,208,160
. complete 1
. endIf
endEvent
event
type commonEvent
id 75
condition area,144,192,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 8,3
. showText 0,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。
. showText 3,1,胡媚娘,你在城中饶一饶，如果我能闻到碧莲的香水味就说明他们就在附近。
. 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 sprite,10
keyOK false
comment 找到陈生
. if event[121]=0
. ctrl false
. showText 1,0,许仕林,陈老板，瑞玉我已经找到了，就在京城。
. setFace 10,3
. showText 0,0,陈生,唉，许兄弟，我正为此事而发愁。
. showText 1,0,许仕林,出了什么事情了，陈老板？
. showText 0,0,陈生,其实，我已找过瑞玉，但她却得了失忆症，根本就不认识我。
. setFace 0,2
. showText 1,0,许仕林,怎么会这样？我去看看。
. showText 0,0,陈生,有劳了。
. set event[121]:找到陈生,1
. delLog z02
. addLog z03
. ctrl true
. complete 0
. else
. if event[127]=1
. ctrl false
. refresh false
. npcAppear 0,24,80,112,0
. refresh true
. showText 1,0,许仕林,陈老板，瑞玉的记忆已经恢复，我们特地过来接你。
. setFace 10,5
. showText 0,0,陈生,太好了，多谢许兄弟。我们赶紧过去！
. step 10,false,2,false
. npcDisappear 10
. delLog z09
. addLog z10
. set event[128],1
. ctrl true
. complete 0
. else
. showText 0,0,陈生,终于可以见到瑞玉了，希望这次能带她回家。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id -1
condition nextArea,256,288,16,16
keyOK true
comment 和掌柜对话
. if event[129]=1&event[132]=0
. showText 1,0,许仕林,掌柜的，你这里有没有什么与众不同的好酒？
. showText 0,0,掌柜,要说到与众不同，当然要算洋酒了。
. showText 1,0,许仕林,洋酒？进口商品？那岂不是又要天价了！
. showText 0,0,掌柜,那到不会，最近正好店里办促销，洋酒免费赠送。
. showText 1,0,许仕林,居然有这等好事！不会是故意给我下套吧。
. setFace 5,6
. showText 0,0,掌柜,（要不是这种另类的酒根本无人问津，我也不会拿这个做免费宣传了。）当然不会有问题，这完全是庆祝本店十周年而特地举办的免费活动！
. showText 1,0,许仕林,太好了，快给我来一打，我就喜欢免费的东西。
. setFace 5,6
. showText 1,0,许仕林,（有了酒就去找比试场的守卫打探一下。）
. changeTaskItem add,18,1
. set event[132],1
. delLog z13
. addLog z14
. complete 0
. else
. 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
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,0
keyOK false
comment 与许仕林交谈
. showText 1,0,许仕林,我得想个办法，我不能让娘再等我三年。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 与胡媚娘交谈
. setFace 2,5
. showText 3,0,胡媚娘,仕林公子如此关心我，真是好开心。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,3
keyOK false
comment 与采因交谈
. setFace 3,2
. showText 4,0,采因,糟糕，为什么被许仕林亲过嘴以后，每次看到他心都会噗通噗通的乱跳呢。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,11
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,何御史,科举考试三年才举行一次，这次错过了还要等三年。
. showText 0,0,何御史,所以这个#B准考证#A也不是说给就能给的。
. showText 3,0,胡媚娘,大人的意思是？
. setFace 6,3
. showText 0,0,何御史,你可以选择珍宝或者银两来和我交换。
. showText 3,0,胡媚娘,珍宝我暂时没有，不知大人觉得多少银两才能换取呢？
. setFace 6,3
. showText 0,0,何御史,没有不要紧，只要你帮我办件事情也行。
. showText 0,0,何御史,你刚才见到的李豹本来答应用他家祖传的#B古玉#A来和我交换#B准考证#A。
. 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,22,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[21]=1
. showText 0,0,何御史,不错，就是这块古玉，你做的不错。这个就是这一届的#B准考证#A，你拿好。
. changeTaskItem reduce,21,1
. changeTaskItem add,22,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[22]=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
