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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ') end
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ') end
if ϵͳ.ǰͼ('D2079') then ϵͳ.ת('ţħ') end
.л״̬Ϊ('Ϣ')
if ϵͳ.ǰͼ('5') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʡ') end
if ϵͳ.ǰͼ('GA0') then ϵͳ.ת('ׯ԰') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('2') then ϵͳ.ת('ɽ') end
if ϵͳ.ǰͼ('0') then ϵͳ.ת('س') end
if ϵͳ.ǰͼ('4') then ϵͳ.ת('ħ') end
if ϵͳ.ǰͼ('11') then ϵͳ.ת('') end
if ϵͳ.ǰͼ('0103') then ϵͳ.ת('̵') end
if ϵͳ.ǰͼ('0106') then ϵͳ.ת('װ') end
if ϵͳ.ǰͼ('0105') then ϵͳ.ת('ε') end
ϵͳ.ת('ûԶس')


if ϵͳ.ǰͼ('5') then ϵͳ.ת('ǰţħ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
.ܵ(330, 330)
.NPCԻ('ϱ')
.ѡ('ȥµ','@move4')
ϵͳ.sleep(1500)

ǰţħ:
_ʱ = os.clock()
if ϵͳ.ǰͼ('5') then ϵͳ.ת('жϵͼ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
if .('˲Ϣƶ') then ϵͳ.ñ('µţħʦ˲ƶ') end
if .ָľ(656,460) > 100 then ϵͳ.ñ('µţħʹ') end
.ܵ(656, 460, true)
.߽ŵ㵽ͼ(655,459,'D2070',true)
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('ǰţħ') end

ţħ:
.ܵ(32, 20)
.߽ŵ㵽ͼ(32,19,'D2071')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ') end

ţħһ㣺
.л״̬Ϊ('')
.ߴߵ(113, 114)
.߽ŵ㵽ͼ(112,114,'D2072')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ') end

ţħ㣺
.ߴߵ(236, 239)
.߽ŵ㵽ͼ(236,240,'D2073')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ') end

ţħ㣺
.ߴߵ(370, 375)
.߽ŵ㵽ͼ(371,376,'D2075')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ') end

ţħĲ㣺
.ߴߵ(126, 61)
.߽ŵ㵽ͼ(125,62,'D2076')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ') end

ţħ㣺
.ߴߵ(24, 30)
.߽ŵ㵽ͼ(23,29,'D2078')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ') end

ţħ㣺
.ӵ(';')
.ӵ(';')
.ߴߵ(139, 164)
.ߴߵ(126, 125)
.ߴߵ(193, 149)
.ߴߵ(134, 184)
.ߴߵ(222, 153)
.ߴߵ(76, 157)
.ߴߵ(187, 111)
.ߴߵ(253, 44)
.ߴߵ(53, 47)
.ߴߵ(50, 261)
.ߴߵ(120, 255)
.ߴߵ(55, 183)
.ߴߵ(116, 72)
.ߴߵ(275, 96)
.ߴߵ(130, 260)
.ߴߵ(224, 222)
ϵͳ.ת('жϵͼ')

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

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

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


߻ز£
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ߻') end
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ߻') end
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ߻') end
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(13, 14)
.߽ŵ㵽ͼ(12,13,'D2078')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2079') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(159, 160)
.߽ŵ㵽ͼ(161,165,'D2076')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2078') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(95, 129)
.߽ŵ㵽ͼ(95,130,'D2075')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2076') then ϵͳ.ת('ţħ߻') end

ţħĲ߻أ
.ܵ(38, 109)
.߽ŵ㵽ͼ(38,110,'D2073')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2075') then ϵͳ.ת('ţħĲ߻') end

ţħ߻أ
.ܵ(156, 156)
.߽ŵ㵽ͼ(155,155,'D2072')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2073') then ϵͳ.ת('ţħ߻') end

ţħ߻أ
.ܵ(151, 119)
.߽ŵ㵽ͼ(152,120,'D2071')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2072') then ϵͳ.ת('ţħ߻') end

ţħһ߻أ
.ܵ(220, 224)
.߽ŵ㵽ͼ(220,225,'D2070')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2071') then ϵͳ.ת('ţħһ߻') end

ţħ߻أ
.ܵ(34, 38)
.߽ŵ㵽ͼ(35,39,'5')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D2070') then ϵͳ.ת('ţħ߻') end
ϵͳ.ת('жϵͼ')

űļ('-ʡֱɱ.txt')


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

