scene
id 15
name 公孙冢二层
dat map12
weather 0
battleBg 2
BGM 5
enemyLevel 1
enemys 42
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 19,96,84,25,36,2,类容
speed 2
frequency 4
endNpc
npc
name 公孙老二
visible true
isMotion false
isPass false
attrib 19,592,84,25,36,2,类容
speed 2
frequency 4
endNpc
npc
name 公孙老大
visible true
isMotion false
isPass false
attrib 19,480,372,25,36,2,类容
speed 2
frequency 4
endNpc
npc
name 灰箱1
visible event[204]=0
isMotion false
isPass false
attrib 39,464,113,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 金箱
visible event[205]=0
isMotion false
isPass false
attrib 40,656,177,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 灰箱2
visible event[273]=0
isMotion false
isPass false
attrib 39,640,465,18,17,0,类容
speed 2
frequency 4
endNpc
event
type commonEvent
id -1
condition area,64,480,48,16
keyOK false
comment 二层---一层
. setScene 14,32,32,2,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 与公孙老三对话
. if event[133]=0
. if event[23]=3
. ctrl false
. taskFlag null
. setFace 5,3
. showText 0,0,公孙老三,你居然能战胜四弟，看来我不能小瞧你们。
. showChoice true,是否开始挑战公孙老三？,挑战,放弃
. if choice=0
. initEmy 12,1
. setBattle true,false,null
. if isWin
. setFace 5,3
. showText 0,0,公孙老三,虽然你们能打败我，但是你们肯定会被二哥的对手！
. delLog 17
. addLog 18
. set event[23],4
. taskFlag 15,592,16
. ctrl true
. complete 0
. endIf
. else
. setFace 5,3
. showText 0,0,公孙老三,我们公孙家族可不是等闲之辈，你还差一些勇气。
. ctrl true
. complete 0
. endIf
. else
. setFace 5,3
. showText 0,0,公孙老三,别搞错了，你现在要找的对手不是我！
. complete 0
. endIf
. else
. showText 0,0,公孙老三,哈哈，就你小子还想要#B夜明珠#A，真让人笑掉大牙了。
. showText 0,0,公孙老三,想要#B夜明珠#A就去洞的最深处找我们大哥。有什么后果？也就是被打的鼻青脸肿而已，哈哈。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,6
keyOK false
comment 与公孙老二对话
. if event[133]=0
. if event[23]=4
. ctrl false
. taskFlag null
. setFace 6,3
. showText 0,0,公孙老二,我就是二当家，让你们尝尝我的手段。
. showChoice true,是否开始挑战公孙老二？,挑战,放弃
. if choice=0
. initEmy 13,1
. setBattle true,false,null
. if isWin
. setFace 6,3
. showText 0,0,公孙老二,年轻就是好，如果我再年轻个十年，你们别想能够打败我！
. delLog 18
. addLog 19
. set event[23],5
. taskFlag 15,480,304
. ctrl true
. complete 0
. endIf
. else
. setFace 6,3
. showText 0,0,公孙老二,我们公孙家族可不是等闲之辈，你还差一些勇气。
. ctrl true
. complete 0
. endIf
. else
. setFace 6,3
. showText 0,0,公孙老二,小子，别打扰我休息。
. complete 0
. endIf
. else
. showText 0,0,公孙老二,小子，别打扰我休息。想要#B夜明珠#A，就去问我大哥。
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition sprite,7
keyOK false
comment 与公孙老大对话
. if event[133]=0
. if event[23]=5
. ctrl false
. refresh false
. taskFlag null
. npcAppear 0,15,480,384,0
. refresh true
. setFace 7,3
. showText 0,0,公孙老大,没错，老子就是大当家。十年了，头一次有人能够打到我这里。
. showText 1,0,许仕林,我只是急用#B鹤顶红#A来救我一位朋友，所以才得罪了几位公孙兄弟。
. setFace 7,3
. showText 0,0,公孙老大,#B鹤顶红#A就在我手中，你已经打败了我几位兄弟，只要能够打败老子，那#B鹤顶红#A就是你的。
. showText 0,0,公孙老大,我们公孙世家虽然是强盗集团，但是说一不二，就看你有没有胆量来和我一战。
. showText 1,0,许仕林,一言为定！
. showChoice true,是否开始挑战公孙老大？,挑战,放弃
. if choice=0
. initEmy 14,1
. setBattle true,false,null
. if isWin
. setFace 7,3
. showText 0,0,公孙老大,小子，看你是个可造之才，老子才用了五成功力。
. showText 0,0,公孙老大,这个你们拿去吧。
. changeTaskItem add,4,1
. setDir 0,down
. showText 1,0,许仕林,碧莲应该已经得到蟠桃，我们赶紧回去。
. delLog 19
. addLog 20
. set event[23],6
. taskFlag 2,96,336
. setScene 2,384,464,0,true
. ctrl true
. complete 0
. endIf
. else
. setFace 7,3
. showText 0,0,公孙老大,想当年老子进入禁宫偷取#B稀世珍宝夜明珠#A是何等的威风！
. showText 0,0,公孙老大,想挑战我们公孙家族，你还差一些勇气。
. ctrl true
. complete 0
. endIf
. else
. setFace 7,3
. showText 0,0,公孙老大,没有什么宝物是我们公孙世家做不到的。
. showText 0,0,公孙老大,想当年老子进入禁宫偷取#B稀世珍宝夜明珠#A是何等的威风！
. complete 0
. endIf
. else
. if event[134]=0
. ctrl false
. refresh false
. npcAppear 0,15,480,384,0
. refresh true
. setFace 7,3
. showText 0,0,公孙老大,小子，来我们公孙世家想干嘛？
. showText 1,0,许仕林,长话短说，我来问你们要#B夜明珠#A的。
. setFace 7,2
. showText 0,0,公孙老大,哈哈哈哈！娃儿，你是不是活腻了，跑到我们这里来撒野。
. showText 0,0,公孙老大,赶紧给我滚，不然别怪老子对你不客气。
. showText 1,0,许仕林,#B夜明珠#A我是志在必得，你们盗来无非也是为了钱，不如开个价吧。
. showText 0,0,公孙老大,哦，居然敢和老子提钱？十万两，一分都不能少。
. setFace 0,3
. showText 1,0,许仕林,（十万两可不是一个小数目……）
. showChoice true,该怎么做？,给钱,不给
. if choice=0
. showText 1,0,许仕林,哈哈，不就是十万两嘛，小意思。
. setFace 7,2
. showText 0,0,公孙老大,看不出来你年纪轻轻居然还是大款。
. showText 0,0,公孙老大,不过我现在改变主意了，不卖！
. setFace 0,0
. showText 1,0,许仕林,什么！你居然出尔反尔！
. showText 0,0,公孙老大,哈哈，#B夜明珠#A本是贡品，怎会有价，我逗你的，小子。
. setFace 0,7
. showText 1,0,许仕林,哼！看来不用武力是不行了！
. endIf
. if choice=1
. showText 1,0,许仕林,十万两我是给不了，但是#B夜明珠#A我是肯定要带走的。
. setFace 7,3
. showText 0,0,公孙老大,哈哈，好小子，几十年了，没人敢和老子说这样的话！
. showText 0,0,公孙老大,老子到是想看看你这小子能有多大的本事。
. endIf
. initEmy 65,1
. setBattle true,false,null
. if isWin
. setFace 7,3
. showText 0,0,公孙老大,这。。没想到我几十年的功力居然会输在一个小辈。
. showText 0,0,公孙老大,罢了罢了，#B夜明珠#A你拿去吧。
. showText 1,0,许仕林,承让承让。
. changeTaskItem add,20,1
. delLog z15
. addLog z16
. set event[134],1
. ctrl true
. complete 0
. endIf
. else
. showText 0,0,公孙老大,想不到我一世盗名，居然载在了一个臭小子手上。
. complete 0
. endIf
. endIf
endEvent
event
type commonEvent
id 204
condition sprite,8
keyOK false
comment 灰箱
. ctrl false
. npcDisappear 8
. changeMoney add,500
. changeItem add,0,5
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 205
condition sprite,9
keyOK false
comment 金箱
. ctrl false
. npcDisappear 9
. changeMoney add,1500
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 273
condition sprite,10
keyOK false
comment 灰箱2
. ctrl false
. npcDisappear 10
. changeItem add,0,5
. ctrl true
. complete 1
endEvent
