scene
id 32
name 精悟门外间
dat map29
weather 3
battleBg 0
BGM 1
enemyLevel 1
enemys null
endScene
npc
name 陆小凡
defaultPos 0
visible false
isMotion -1
isPass false
attrib 0,176,408,28,40,0,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 老板娘
defaultPos 0
visible true
isMotion -1
isPass false
attrib 13,272,343,21,39,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 女子(左)
defaultPos 0
visible true
isMotion false
isPass false
attrib 13,176,135,21,39,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 女子(右)
defaultPos 0
visible true
isMotion false
isPass false
attrib 13,272,135,21,39,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 女子(上)
defaultPos 0
visible false
isMotion -1
isPass false
attrib 13,48,103,21,39,2,类容
scriptVar null
speed 2
frequency 4
endNpc
npc
name 老头
defaultPos 0
visible true
isMotion -1
isPass false
attrib 24,112,374,24,38,2,类容
scriptVar null
speed 2
frequency 4
endNpc
event
type commonEvent
id 20
condition area,160,304,48,16
keyOK false
comment 初进老头工会
. ctrl false
. if event[100]=0
. setCamera 1
. setDir 1,left
. showText 0,0,老板娘,小哥，我们这里只有#B黄金会员#A才能进入哦！
. setCamera 0
. setDir 0,right
. setFace 0,2
. showText 1,0,陆小凡,我……我是从很老远的地方慕名而来的，通融一下嘛。
. setCamera 1
. setFace 1,0
. showText 0,0,老板娘,恩……好吧，不过你只能在外间看哦，内间只有到我这注册了才允许进入呦。
. setDir 1,down
. setCamera 0
. addLog 12
. ctrl true
. complete 1
. else
. showText 1,0,陆小凡,反正时间还早，先在这玩玩吧。
. addLog 12
. ctrl true
. complete 1
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,2
keyOK false
comment 与女子（左）比试
. ctrl false
. showText 0,0,胡小妹,小哥是第一次来嘛，来，陪妹妹我玩两把。
. showText 0,0,胡小妹,如果你能赢了我，有奖励呦。具体的游戏规则可以在进入游戏后查看。
. if event[21]=0
. showChoice true,玩不玩？,玩,不玩
. else
. showChoice true,玩不玩？,800金玩一次,不玩
. endIf
. if choice=0
. if event[21]=0
. setScene 76,112,240,0,true
. set event[21]:与女子（左）比试,1
. ctrl true
. complete 0
. else
. if money > 799
. changeMoney reduce,800
. setScene 76,112,240,0,true
. ctrl true
. complete 0
. else
. showText 0,0,胡小妹,臭小子，没钱拿老娘开心啊！赶紧走开，不要妨碍老娘做生意！
. ctrl true
. complete 0
. endIf
. endIf
. ctrl true
. complete 0
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,3
keyOK false
comment 与女子（右）比试
. ctrl false
. showText 0,0,胡二妹,小弟弟，你是不是见到左边的那个狐狸精了？就喜欢魅惑像小弟弟这么优秀的男人，要不要陪姐姐玩两把？
. showText 0,0,胡二妹,如果你能赢了我，有奖励呦。具体的游戏规则可以在进入游戏后查看。
. if event[22]=0
. showChoice true,玩不玩？,玩,不玩
. else
. showChoice true,玩不玩？,300金玩一次,不玩
. endIf
. if choice=0
. if event[22]=0
. toChess true
. set event[22]:与女子（左）比试,1
. if winChessNum > 30
. changeMoney add,200
. ctrl true
. complete 0
. endIf
. if winChessNum > 0
. changeMoney add,100
. ctrl true
. complete 0
. endIf
. else
. if money > 299
. changeMoney reduce,300
. toChess true
. if winChessNum > 60
. if event[187]=0
. changeItem add,16,1
. set event[187],1
. else
. changeMoney add,600
. endIf
. ctrl true
. complete 0
. endIf
. if winChessNum > 30
. changeMoney add,500
. ctrl true
. complete 0
. endIf
. if winChessNum > 0
. changeMoney add,400
. ctrl true
. complete 0
. endIf
. else
. showText 0,0,胡二妹,臭小子，没钱拿老娘开心啊！赶紧走开，不要妨碍老娘做生意！
. ctrl true
. complete 0
. endIf
. endIf
. ctrl true
. complete 0
. endIf
. ctrl true
. complete 0
endEvent
event
type commonEvent
id 23
condition null
keyOK false
comment 比试完后得到衣服
. if event[21]=1&event[22]=1
. ctrl false
. screenFlash true
. npcAppear 0,32,272,368,0
. wait 0,20
. setFace 1,0
. showText 0,0,老板娘,小兄弟玩的尽兴吗？这是给你的纪念品#B衣服#A，希望你帮我宣传宣传，选一件吧。
. showChoice false,选哪件呢？,杭州丝绸衫,西部牛仔衣,韩式风衣
. screenFlash true
. changeModle 0,3
. wait 0,20
. setFace 1,0
. showText 0,0,老板娘,客观，这衣服真适合您，希望你再次光顾！
. setFace 0,0
. showText 1,0,陆小凡,喔哈哈……是吗，看来我穿什么都很帅。
. setFace 0,2
. showText 1,0,陆小凡,(坏了，时间都这么晚了，怎么把约会这茬给忘了，得赶紧去#B湖心小亭#A)
. addLog 13
. ctrl true
. complete 1
. endIf
endEvent
event
type initEvent
id -1
condition null
keyOK false
comment 事件描述
. if event[23]=1&event[24]=0
. changeModle 0,3
. endIf
. if event[100]=0
. npcAppear 4,32,48,80,2
. endIf
. complete 0
endEvent
event
type commonEvent
id -1
condition area,48,64,16,16
keyOK false
comment 外间-------内间
. setScene 33,48,272,0,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,160,432,48,16
keyOK false
comment 外间------长乐镇
. setScene 22,304,160,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 与老头对话
. showText 0,0,老头,这里的小姑娘长的真让人感动，等有钱了我一定娶个回去，听说#B内间的乃镇店之宝#A不过到底会长成什么样呢，真让人心痒！
. complete 0
endEvent
event
type commonEvent
id -1
condition nextArea,272,352,16,16
keyOK false
comment 与老板娘对话
. ctrl false
. if event[100]=0
. showText 0,0,老板娘,客官，想成为我们的#B黄金会员#A吗？
. showChoice true,注册成黄金会员？,交12000两手续费,暂时不注册
. if choice=0
. if money > 11999
. changeMoney reduce,12000
. set event[100]:注册成黄金会员,1
. showText 0,0,老板娘,恭喜客官成为我们的黄金会员，现在你可以在本店中随意走动了。
. npcDisappear 4
. ctrl true
. complete 0
. else
. showText 0,0,老板娘,臭小子，没钱拿老娘开心啊！赶紧走开，不要妨碍老娘做生意！
. ctrl true
. complete 0
. endIf
. endIf
. if choice=1
. ctrl true
. complete 0
. endIf
. else
. showText 0,0,老板娘,恭喜客官成为我们的黄金会员，现在你可以在本店中随意走动了。
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,4
keyOK false
comment 与女子(上)对话
. showText 0,0,女子,客官请止步，里面只有#B黄金会员#A才能入内！
. complete 0
endEvent
