--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ') end
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('Ʒ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

űļ('-ʡس.txt')


if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end
.ܵ(143, 329)
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ȥߣ
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end

ȥ:
if .Ʒ('') < 1000 then ϵͳ.ת('ȥ') end
.ܵ(290, 342)
.NPCԻ('ƱԱ')
.ѡ('Ի.','@talkwith')
.ѡ('ɽƶ','@move2')
.ѡ('ƶ.','@pay2')
ϵͳ.sleep(1200)

ȥ:
.ܵ(513, 776, true)
.߽ŵ㵽ͼ(512,777,'2',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ȥ') end

ɽȿ
.л״̬Ϊ('')
.ܵ(564, 170, true)
.߽ŵ㵽ͼ(564,169,'D421',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽȿ') end

ɽȿһ:
.ߴߵ(361, 20)
.߽ŵ㵽ͼ(361,19,'D422')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end

ɽȿ:
.ߴߵ(31, 319)
.߽ŵ㵽ͼ(32,319,'D2062')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end
ϵͳ.ת('жϵͼ')

ħһ㣺
.л״̬Ϊ('')
.ߴߵ(153, 186)
.߽ŵ㵽ͼ(153,187,'D2062')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ') end

ħ㣺
.ߴߵ(136, 187)
.߽ŵ㵽ͼ(137,187,'D2063')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ') end

ħ㣺
.ߴߵ(49, 85)
.߽ŵ㵽ͼ(50,85,'D2064')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ') end

ħĲ㣺
.ߴߵ(10, 183)
.߽ŵ㵽ͼ(9,183,'D2067')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ') end

ħ㣺
.ߴߵ(107, 191)
.ߴߵ(29, 267)
.ߴߵ(122, 134)
.ߴߵ(173, 84)
.ߴߵ(151, 19)
.ߴߵ(282, 40)
.ߴߵ(260, 131)
.ߴߵ(204, 143)
.ߴߵ(270, 165)
.ߴߵ(231, 253)
.ߴߵ(179, 245)
.ߴߵ(179, 281)
.ߴߵ(35, 219)
ϵͳ.ת('жϵͼ')

ûԶس:
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('жϵͼ') end
if .Ʒ('سǾ*') > 0 then ϵͳ.ת('ʹûسǾ') end
if .Ʒ('Ѿ') < 1 then ϵͳ.ת('߻ض') end
.ʹƷ('Ѿ')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
ϵͳ.ת('жϵͼ')

ʹûسǾ:
if .Ʒ('سǾ') < 1 then ϵͳ.ñ('سǾ') end
.ʹƷ('سǾ')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
ϵͳ.ת('жϵͼ')

سǾ
.ʹƷ('سǾ')
ϵͳ.sleep(1000)


߻ض:
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ߻') end
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ߻') end
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ߻') end
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ߻') end
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ߻') end

ɽȿ:
.ܵ(22, 41)
.߽ŵ㵽ͼ(22,42,'D421')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D422') then ϵͳ.ת('ɽȿ') end

ɽȿһ:
.ܵ(30, 374)
.߽ŵ㵽ͼ(30,375,'2')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D421') then ϵͳ.ת('ɽȿһ') end
ϵͳ.ת('жϵͼ')

ħ߻أ
.ܵ(155, 162)
.߽ŵ㵽ͼ(156,161,'D2064')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2067') then ϵͳ.ת('ħ߻') end

ħĲ߻أ
.ܵ(13, 31)
.߽ŵ㵽ͼ(12,30,'D2063')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2064') then ϵͳ.ת('ħĲ߻') end

ħ߻أ
.ܵ(89, 165)
.߽ŵ㵽ͼ(88,164,'D2062')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2063') then ϵͳ.ת('ħ߻') end

ħ߻أ
.ܵ(32, 16)
.߽ŵ㵽ͼ(33,15,'D2061')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2062') then ϵͳ.ת('ħ߻') end

ħһ߻أ
.ܵ(18, 175)
.߽ŵ㵽ͼ(18,176,'5')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2061') then ϵͳ.ת('ħһ߻') end
ϵͳ.ת('жϵͼ')

űļ('-ʡس.txt')


if ϵͳ.ǰͼ('5') then ϵͳ.ת('س') ϵͳ.д־('ǰͼ5תûԶس') ϵͳ.ӡ('ǰͼ5תûԶس') return true end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('Ʒ') ϵͳ.д־('ǰͼ3תûԶس') ϵͳ.ӡ('ǰͼ3תûԶس') return true end

