scene
id 23
name 京城
dat map20
weather 0
battleBg 3
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 false
isMotion false
isPass false
attrib 6,144,52,17,36,0,类容
speed 2
frequency 4
endNpc
npc
name 官差一
visible true
isMotion false
isPass false
attrib 10,608,180,21,36,2,类容
speed 2
frequency 4
endNpc
npc
name 官差二
visible true
isMotion false
isPass false
attrib 10,640,180,21,36,2,类容
speed 2
frequency 4
endNpc
npc
name 李豹
visible false
isMotion false
isPass false
attrib 13,304,228,17,36,0,类容
speed 2
frequency 4
endNpc
npc
name 秀秀
visible true
isMotion true
isPass false
attrib 14,304,388,18,36,0,类容
speed 2
frequency 4
endNpc
npc
name 孙铁匠
visible true
isMotion false
isPass false
attrib 25,352,295,26,39,2,类容
speed 2
frequency 4
endNpc
npc
name 王老板
visible true
isMotion false
isPass false
attrib 23,240,294,21,38,2,类容
speed 2
frequency 4
endNpc
npc
name 官差
visible true
isMotion true
isPass false
attrib 10,432,596,21,36,0,类容
speed 2
frequency 4
endNpc
event
type commonEvent
id -1
condition area,0,608,16,96
keyOK false
comment 京城---梁王府
. if event[183]=1&event[185]=0
. showText 3,0,胡媚娘,取得准考证要紧，别到处乱跑了。
. complete 0
. else
. setScene 30,736,288,3,true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,832,576,16,64
keyOK false
comment 京城---太师府
. if event[66]=1
. setScene 32,0,288,1,true
. complete 0
. 
else
. showText 0,0,提示,现在还不是进去的时候。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,560,480,16,48
keyOK false
comment 京城---云来客栈
. if event[60]=0
. setScene 24,176,480,0,true
. complete 0
. else
. setScene 60,176,480,0,true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,624,128,16,48
keyOK false
comment 京城---考场
. if event[64]=1
. setScene 26,144,304,0,true
. complete 0
. else
. ctrl false
. showAction 6,jump
. setFace 6,0
. showText 0,0,官差,快给我滚出去，开了个小差就给你们溜了进来。
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,144,128,16,48
keyOK false
comment 京城---怡香院
. if event[65]=1&event[66]=0
. taskFlag 25,272,96
. endIf
. setScene 25,192,384,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,752,464,16,48
keyOK false
comment 京城---右民屋
. setScene 29,128,304,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,304,160,16,48
keyOK false
comment 京城---上民屋
. if event[53]=1&event[54]=0
. taskFlag 28,176,96

. endIf
. setScene 28,144,304,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,80,448,16,48
keyOK false
comment 京城---左民屋
. setScene 27,128,304,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,272,640,64,16
keyOK false
comment 京城---大地图
. setScene 0,176,80,2,true
. complete 0
endEvent
event
type commonEvent
id 50
condition null,null
keyOK false
comment 初入京城
. ctrl false
. refresh false
. npcAppear 0,23,288,528,2
. npcAppear 1,23,272,544,1
. npcAppear 2,23,288,560,0
. npcAppear 3,23,304,560,0
. npcAppear 5,23,320,544,3
. refresh true
. showText 0,0,戚宝山,科举考试每三年才举行一次，我苦读数年就是为了能够一举成名。
. showText 1,1,许仕林,为了能救出我父母，我一定也要努力。
. move 5,320,528
. move 5,304,528
. setDir 0,right
. aside 戚宝山和许仕林相互击拳激励。
. setFace 5,3
. showText 0,0,戚宝山,文科考试需要连续住在考场三天，三天以后我们客栈见。
. showText 0,0,戚宝山,仕林你要加油，我准备去考场了。
. showText 1,1,许仕林,宝山你也一样。
. move 5,400,528
. move 5,400,560
. move 5,544,560
. npcDisappear 5
. showText 2,0,李碧莲,仕林哥，我们也去考场吧。
. showText 3,1,胡媚娘,武科的考场就在那个方向。
. setCamera 624,176
. wait 0,5
. setCamera 0
. sync
. {
. move 1,272,528
. move 1,288,528
. npcDisappear 1
. }
. {
. move 2,288,528
. npcDisappear 2
. }
. {
. move 3,304,528
. move 3,288,528
. npcDisappear 3
. }
. endSync
. delLog 31
. addLog 32
. taskFlag 23,624,176
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 51
condition area,544,272,176,272
keyOK false
comment 考试被拒
. ctrl false
. refresh false
. npcAppear 0,23,608,192,0
. npcAppear 1,23,640,192,0
. npcAppear 2,23,624,224,0
. taskFlag null
. refresh true
. showText 1,0,许仕林,我是来参加武科考试的。
. setFace 6,3
. showText 0,0,守卫,请出示你的#B准考证#A。
. sync
. setFace 0,4
. setFace 1,4
. endSync
. showText 1,0,许仕林,什么#B准考证#A？
. setFace 6,3
. showText 0,0,守卫,考试规定，凡是参加文考就需要有学堂先生的推荐状，而参加武考就必须要有武馆签发的准考证。
. setFace 0,6
. showText 1,0,许仕林,这。。这我没有。。
. setFace 6,3
. showText 0,0,守卫,既然没有#B准考证#A，就赶紧离开这里，不要妨碍我们做事。
. setDir 0,down
. setDir 1,down
. showText 1,0,许仕林,这可怎么办？错过这次还要等三年，那我爹娘岂不是还要在塔内待上三年！
. showText 3,1,胡媚娘,仕林公子不要着急，离开考还有一段时间，我们可以再想办法。
. showText 3,1,胡媚娘,不如我们先找家客栈再做打算。
. sync
. {
. move 1,608,192
. npcDisappear 1
. }
. {
. move 2,608,224
. move 2,608,192
. npcDisappear 2
. }
. endSync
. delLog 32
. addLog 33
. taskFlag 23,560,480
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 53
condition null
keyOK false
comment 发现李豹住所
. if event[52]=1&event[184]=0
. ctrl false
. move 2,560,560
. move 2,512,560
. setDir 2,up
. setFace 2,0
. npcAppear 8,23,304,208,0
. setCamera 304,224
. move 8,304,160
. npcDisappear 8
. setCamera 2
. showText 3,0,胡媚娘,那里肯定就是李豹家，要是找#B古玉#A去那里准没错！
. taskFlag 23,304,160

. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 55
condition null
keyOK false
comment 仕林参加考试
. if event[185]=1
. ctrl false
. showGame true
. move 0,624,176
. setFace 6,3
. showText 0,0,官差,请出示准考证。
. aside 仕林将准考证交给了官差。
. setFace 6,3
. showText 0,0,官差,可以了，你先去准备一下，准备好了就和我说。
. changeTaskItem reduce,16,1
. aside 科举考试将由许仕林单独一人参加战斗，最好在城中补给后再进行考试。
. setTeam 0
. taskFlag 23,608,160
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id 65
condition area,544,496,48,16
keyOK false
comment 帮助秀秀
. if event[63]=1
. ctrl false
. refresh false
. npcAppear 0,23,560,496,0
. npcAppear 1,23,576,512,0
. npcAppear 5,23,544,512,0
. npcAppear 9,23,560,560,0
. taskFlag 23,144,128
. refresh true
. setFace 9,3
. showText 0,0,秀秀,公子等一下。
. setFace 0,0
. setDir 0,down
. move 0,560,544
. sync
. setDir 1,down
. setDir 5,down
. endSync
. showText 1,0,许仕林,姑娘找我？？
. setFace 9,3
. showText 0,0,秀秀,我看到公子身上有一块玉佩和我一位姐妹的玉佩很相似。
. showText 1,0,许仕林,真的？那她人在什么地方？
. showText 0,0,秀秀,公子只需要去#B怡香院#A找#B瑞玉#A姑娘就可以知道玉佩的下落了。
. showText 2,1,李碧莲,怡香院是什么地方？
. showText 0,0,戚宝山,就是妓院。
. setFace 1,2
. showText 2,1,李碧莲,啊！仕林哥，那种地方我还是不要去了。
. showText 1,0,许仕林,这样也好，你在客栈等我吧。
. move 1,576,496
. npcDisappear 1
. showText 1,0,许仕林,我们走吧，去#B怡香院#A看看。
. move 5,544,544
. move 5,560,544
. npcDisappear 5
. setCamera 0
. setTeam 0,2,3
. delLog 39
. addLog 41
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,6
keyOK false
comment 与官差一对话
. if event[55]=1&event[64]=0
. ctrl false
. showChoice true,是否准备完毕参加科举考试？,准备就绪,等会儿再来
. if choice=0
. taskFlag null
. showText 0,0,官差,考试分三天，头天为海选赛，接着是淘汰赛，最后是总决赛。
. setScene 26,144,304,0,true
. set event[64]:进入考场,1
. endIf
. ctrl true
. complete 0
. else
. showText 0,0,官差,站岗这职务又辛苦又没有油水。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,7
keyOK false
comment 与官差二对话
. showText 0,0,官差,站岗这职务又辛苦又没有油水。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,12
keyOK false
comment 官差
. showText 0,0,官差,只有装备上好的鞋子，你才能抢先的攻击对方。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,11
keyOK false
comment 卖道具
. ctrl false
. if event[77]=1&event[78]=0
. refresh false
. npcAppear 0,23,240,304,0
. taskFlag null
. refresh true
. showText 0,0,王老板,客官，这里有各地风味小吃，不知道你想要哪种？
. showText 1,0,许仕林,老板，我们不想要别的，只想买些面粉。
. showText 0,0,王老板,面粉不值钱，我就送你一些吧。
. showText 1,0,许仕林,多谢。
. setDir 0,down
. showText 1,0,许仕林,面粉已经到手，是时候去#B翠屏洞#A找金跋算账了。
. set event[78]:索取面粉,1
. delLog 48
. addLog 49
. taskFlag 0,32,128
. changeTaskItem add,8,1
. else
. showText 0,0,王老板,各地特色料理，欢迎品尝。
. showChoice true,你想要做些什么？,低级料理,高级料理,变卖,取消
. if choice=0
. buyItem 0,1,2,3,4,5,6,7
. endIf
. if choice=1
. buyItem 8,9,10,11,12,13,14,15,16
. endIf
. if choice=2
. sellItem true
. endIf
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,10
keyOK false
comment 卖装备
. ctrl false
. showText 0,0,孙铁匠,小子，这里可都是上好的装备，随便挑。
. showChoice true,你想要做些什么？,购买武器,购买装备,变卖,取消
. if choice=0
. buyEquip 3,4,5,6,11,12,13,14,18,19,20,21,25,26,27,28,31,32
. endIf
. if choice=1
. buyEquip 37,38,39,40,45,46,47,48
. endIf
. if choice=2
. sellEquip true
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,9
keyOK false
comment 秀秀
. showText 0,0,秀秀,我听说城里有位道长，他手里的#B饰品#A可都是珍品哦。
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,12
keyOK false
comment 官差
. showText 0,0,官差,只有装备上好的#B鞋子#A，你才能抢先的攻击对方。
. complete 0
endEvent
