scene
id 43
name 玉清山东
dat map34
weather 0
battleBg 1
BGM 2
enemyLevel 1
enemys 59,60,61
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 28,224,97,46,49,2,类容
speed 2
frequency 4
endNpc
npc
name 上圆石
visible event[157]=0
isMotion false
isPass false
attrib 52,288,176,32,32,0,类容
speed 2
frequency 4
endNpc
npc
name 下圆石
visible event[156]=0
isMotion false
isPass false
attrib 52,336,304,32,32,0,类容
speed 2
frequency 4
endNpc
npc
name 上左石柱
visible event[157]=0
isMotion false
isPass false
attrib 51,192,416,16,48,0,类容
speed 2
frequency 4
endNpc
npc
name 上右石柱
visible event[157]=0
isMotion false
isPass false
attrib 51,208,416,16,48,0,类容
speed 2
frequency 4
endNpc
npc
name 下左石柱
visible event[156]=0
isMotion false
isPass false
attrib 51,256,480,16,48,0,类容
speed 2
frequency 4
endNpc
npc
name 下右石柱
visible event[156]=0
isMotion false
isPass false
attrib 51,272,480,16,48,0,类容
speed 2
frequency 4
endNpc
npc
name 金箱
visible event[242]=0
isMotion false
isPass false
attrib 40,144,769,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 灰箱1
visible event[243]=0
isMotion false
isPass false
attrib 39,608,529,18,17,0,类容
speed 0
frequency 0
endNpc
npc
name 灰箱2
visible event[244]=0
isMotion false
isPass false
attrib 39,64,321,18,17,0,类容
speed 0
frequency 0
endNpc
event
type commonEvent
id -1
condition area,464,768,48,16
keyOK false
comment 东边---入口
. setScene 41,736,112,3,true
. complete 0
endEvent
event
type commonEvent
id -1
condition area,352,560,16,16
keyOK false
comment 东边---洞口
. setScene 54,0,112,1,true
. complete 0
endEvent
event
type commonEvent
id -1
condition sprite,5
keyOK false
comment 见赵公明
. if event[103]=1
. if event[104]<2
. ctrl false
. refresh false
. npcAppear 0,43,208,96,0
. npcAppear 1,43,208,96,0
. taskFlag null
. refresh true
. move 1,224,96
. setDir 1,up
. if event[104]<1
. showText 1,0,许仕林,拜见财神老爷！
. setFace 5,3
. showText 0,0,赵公明,你们几个，来进贡宝贝的吗？
. setFace 1,2
. showText 2,1,李碧莲,你这财迷老头，人生没别的乐趣吗？
. showText 0,0,赵公明,世间有句俗话，正是“快不快活不重要，有钱最是重要。”
. sync
. setFace 0,2
. setFace 1,2
. endSync
. showText 0,0,众人,（……这话不该反过来说吗？）
. showText 1,0,许仕林,财神爷，这次来，是向你求个宝贝。
. showText 0,0,赵公明,宝贝，什么宝贝？
. showText 1,0,许仕林,打神鞭。
. showText 0,0,赵公明,（这玩意早就过了保修期，难得有人问津……嗯，要好好捞一笔）
. showText 0,0,赵公明,原来是这个宝贝，看你们上山挺不容易的，25000两便宜卖你们了？
. sync
. setFace 0,6
. setFace 1,6
. endSync
. showText 2,1,李碧莲,你抢劫阿？
. showText 0,0,赵公明,话可不能这样说，25000两，小钱而已，这可是优惠价了。
. showText 1,0,许仕林,可我们全身家当也不够。
. set event[104]:见赵公明,1
. endIf
. setFace 5,3
. showText 0,0,赵公明,既然你们能找到我，也算有缘分，给你们个机会吧。
. showText 0,0,赵公明,我这有20个乾坤袋，里面装了各式各样的宝贝，当然，打神鞭也在里面，你们花5000两，抽其中一个袋子，至于抽中抽不中，我就不管了！
. showText 0,0,赵公明,当然如果你们有25000两，可以直接向我购买#B打神鞭#A。
. showChoice true,该如何选择？,花钱购买,抽乾坤袋,考虑一下
. if choice=0
. if money>24999
. changeMoney reduce,25000
. setFace 5,3
. showText 0,0,赵公明,还好你有自知之明，以你的人品是不可能在乾坤袋中抽出#B打神鞭#A的。
. showText 0,0,赵公明,货物出门，概不退换，#B打神鞭#A交给你了。
. changeTaskItem add,10,1
. set event[104]:见赵公明,2
. move 1,208,96
. npcDisappear 1
. delLog 57
. addLog 58
. ctrl true
. complete 0
. else
. showText 0,0,赵公明,我可是财神，别想忽悠我，你的钱根本不够。
. move 1,208,96
. npcDisappear 1
. ctrl true
. complete 0
. endIf
. endIf
. if choice=1
. changeMoney reduce,5000
. setFace 5,3
. showText 0,0,赵公明,你选择其中一个乾坤袋的编号。
. set temp,0
. loop temp<4
. if temp=0
. showChoice true,选择编号,一号,二号,三号,四号,五号,下一页
. if choice=5
. set temp,1
. else
. set event[105],1
. endIf
. endIf
. if temp=1
. showChoice true,选择编号,上一页,六号,七号,八号,九号,十号,下一页
. if choice=0
. set temp,0
. else
. if choice=6
. set temp,2
. else
. set event[105],1
. endIf
. endIf
. endIf
. if temp=2
. showChoice true,选择编号,上一页,十一号,十二号,十三号,十四号,十五号,下一页
. if choice=0
. set temp,1
. else
. if choice=6
. set temp,3
. else
. if choice=3
. set event[105],2
. else
. set event[105],1
. endIf
. endIf
. endIf
. endIf
. if temp=3
. showChoice true,选择编号,上一页,十六号,十七号,十八号,十九号,二十号
. if choice=0
. set temp,2
. else
. set event[105],1
. endIf
. endIf
. if event[105]=1
. changeTaskItem add,11,1
. setFace 5,1
. showText 0,0,赵公明,（奸笑地胡须发抖）你们也别丧气了，这双金鞭，也是人间至宝，闻老头不会介意的。
. showText 1,0,许仕林,（再想从这老头手里拿东西，更难了，不如拿这个回去试试。）
. set temp,4
. set event[104]:见赵公明,2
. move 1,208,96
. npcDisappear 1
. delLog 57
. addLog 58
. taskFlag 42,320,32
. ctrl true
. complete 0
. endIf
. if event[105]=2
. changeTaskItem add,10,1
. setFace 5,7
. showText 0,0,赵公明,早知道耍点诈了，这么容易给拿去了，亏大了亏大了。
. showText 2,1,李碧莲,运气真不错，这样也能抽中，都可以彩票了。
. set temp,4
. set event[104]:见赵公明,2
. move 1,208,96
. npcDisappear 1
. delLog 57
. addLog 58
. taskFlag 42,320,32
. ctrl true
. complete 0
. endIf
. endLoop
. endIf
. if choice=2
. move 1,208,96
. npcDisappear 1
. ctrl true
. complete 0
. endIf
. endIf
. endIf
. if taskItem[10]=1@taskItem[11]=1
. showText 0,0,赵公明,我收藏的#B宝物#A都藏在这座山的#B山腰山洞#A之中。
. showText 0,0,赵公明,不过就凭凡人的本事，那里可是去不了的。
. complete 0
. endIf
endEvent
event
type commonEvent
id 156
condition sprite,7
keyOK false
comment 撞击下石柱
. ctrl false
. filmStart true
. shake -1
. setCamera 7
. npcDisappear 7
. npcAppear 7,43,320,288,0
. npcDisappear 7
. npcAppear 7,43,304,288,0
. npcDisappear 7
. npcAppear 7,43,304,320,0
. npcDisappear 7
. npcAppear 7,43,304,352,0
. npcDisappear 7
. npcAppear 7,43,304,384,0
. npcDisappear 7
. npcAppear 7,43,304,416,0
. npcDisappear 7
. npcAppear 7,43,304,448,0
. move 7,288,448
. showEffect 21,272,448,0
. showEffect 21,256,432,0
. showEffect 21,256,448,0
. showEffect 21,272,432,0
. sync
. npcDisappear 7
. npcDisappear 10
. npcDisappear 11
. endSync
. shake 0
. setCamera 0
. filmEnd true
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 157
condition sprite,6
keyOK false
comment 撞击上石柱
. ctrl false
. filmStart true
. shake -1
. setCamera 6
. npcDisappear 6
. npcAppear 6,43,272,160,0
. npcDisappear 6
. npcAppear 6,43,272,192,0
. npcDisappear 6
. npcAppear 6,43,272,224,0
. npcDisappear 6
. npcAppear 6,43,272,272,0
. npcDisappear 6
. npcAppear 6,43,272,320,0
. npcDisappear 6
. npcAppear 6,43,272,352,0
. npcDisappear 6
. npcAppear 6,43,272,384,0
. move 6,224,384
. showEffect 21,208,384,0
. showEffect 21,192,368,0
. showEffect 21,192,384,0
. showEffect 21,208,368,0
. sync
. npcDisappear 6
. npcDisappear 8
. npcDisappear 9
. endSync
. shake 0
. setCamera 0
. filmEnd true
. ctrl true
. complete 1
endEvent
event
type commonEvent
id -1
condition area,240,464,64,48
keyOK false
comment 遇见下石柱
. if event[156]=0
. ctrl false
. showText 1,0,许仕林,这条路被石柱挡住了，我们必须要想个办法。
. setCamera 336,288
. showText 1,0,许仕林,那边都有圆石，可以推动它来撞倒石柱。
. setCamera 0
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id -1
condition area,176,400,64,48
keyOK false
comment 遇见上石柱
. if event[157]=0
. ctrl false
. showText 1,0,许仕林,这条路被石柱挡住了，我们必须要想个办法。
. setCamera 288,160
. showText 1,0,许仕林,那边都有圆石，可以推动它来撞倒石柱。
. setCamera 0
. ctrl true
. complete 0
. endIf
endEvent
event
type commonEvent
id 242
condition sprite,12
keyOK false
comment 金箱
. ctrl false
. npcDisappear 12
. changeItem add,19,3
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 243
condition sprite,13
keyOK false
comment 灰箱1
. ctrl false
. npcDisappear 13
. changeMoney add,500
. ctrl true
. complete 1
endEvent
event
type commonEvent
id 244
condition sprite,14
keyOK false
comment 灰箱2
. ctrl false
. npcDisappear 14
. changeEquip add,46,1
. ctrl true
. complete 1
endEvent
