--------------------------------------------
--һκⶼԷǵĴ
------------ǻһʱ㴦----------
--------------------------------------------
ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D701') then ϵͳ.ת('ͨ') end
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ') end
if ϵͳ.ǰͼ('E703') then ϵͳ.ת('ʯĹѨ') end
if ϵͳ.ǰͼ('E702') then ϵͳ.ת('ʯĹѨ') end
if ϵͳ.ǰͼ('D710') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('D711') then ϵͳ.ת('ʯĹһ') end
if ϵͳ.ǰͼ('D712') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('D713') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('D714') then ϵͳ.ת('ʯĹĲ') end
if ϵͳ.ǰͼ('D715') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('ʯĹ') 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 ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if ϵͳ.ǰͼ('3') then ϵͳ.ñ('ֱ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
if .ܱΧ() then ϵͳ.ñ('ʹ') end
.ܵ(288, 342)
.NPCԻ('ƱԱ')
.ѡ('Ի.','@talkwith')
.ѡ('ͨƶ','@move1')
.ѡ('ƶ.','@pay1')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('') end

ͨ
.л״̬Ϊ('')
.ߴߵ(173, 78)
.߽ŵ㵽ͼ(172,79,'E701')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D701') then ϵͳ.ת('ͨ') end

ʯĹѨһ:
.ߴߵ(88, 83)
.߽ŵ㵽ͼ(89,84,'E702')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ') end

ʯĹѨ:
.ߴߵ(64, 92)
.߽ŵ㵽ͼ(64,94,'E703')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E702') then ϵͳ.ת('ʯĹѨ') end

ʯĹѨ:
.ߴߵ(58, 82)
.߽ŵ㵽ͼ(58,84,'D712')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E703') then ϵͳ.ת('ʯĹѨ') end
if ϵͳ.ǰͼ('D711') then ϵͳ.ת('ʯĹһ') end
if ϵͳ.ǰͼ('D712') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('D713') then ϵͳ.ת('ʯĹ') end
if ϵͳ.ǰͼ('D714') then ϵͳ.ת('ʯĹĲ') end
if ϵͳ.ǰͼ('D715') then ϵͳ.ת('ʯĹ') end

ʯĹһ㣺
.л״̬Ϊ('')
.ߴߵ(363, 230)
.߽ŵ㵽ͼ(364,229,'D712')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D711') then ϵͳ.ת('ʯĹһ') end

ʯĹ㣺
.ߴߵ(30, 194)
.߽ŵ㵽ͼ(31,193,'D713')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D712') then ϵͳ.ת('ʯĹ') end

ʯĹ㣺
.ߴߵ(349, 245)
.߽ŵ㵽ͼ(350,244,'D714')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D713') then ϵͳ.ת('ʯĹ') end

ʯĹĲ㣺
.ߴߵ(15, 201)
.߽ŵ㵽ͼ(16,200,'D715')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D714') then ϵͳ.ת('ʯĹĲ') end

ʯĹ㣺
.ߴߵ(84, 80)
.߽ŵ㵽ͼ(83,81,'D71601')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D715') then ϵͳ.ת('ʯĹ') end

ʯĹ:
if .ָľ(37,35) >= 100000 then ϵͳ.ת('') end
.ߴߵ(37, 35)
ϵͳ.ת('жϵͼ')

:
if .ָľ(17,12) >= 100000 then ϵͳ.ת('±') end
.ߴߵ(17, 12)
ϵͳ.ת('жϵͼ')

±:
if .ָľ(13,37) >= 100000 then ϵͳ.ת('ϱ') end
.ߴߵ(13, 37)
ϵͳ.ת('жϵͼ')

ϱ:
if .ָľ(37,16) >= 100000 then ϵͳ.ת('жϵͼ') end
.ߴߵ(37, 16)
ϵͳ.ת('жϵͼ')

ûԶس:
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 ϵͳ.ǰͼ('D701') then ϵͳ.ת('ͨ߻') end
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ߻') end
if ϵͳ.ǰͼ('E702') then ϵͳ.ת('ʯĹѨ߻') end
if ϵͳ.ǰͼ('E703') then ϵͳ.ת('ʯĹѨ߻') end
if ϵͳ.ǰͼ('D710') then ϵͳ.ת('ʯĹ߻') end
if ϵͳ.ǰͼ('D711') then ϵͳ.ת('ʯĹһ߻') end
if ϵͳ.ǰͼ('D712') then ϵͳ.ת('ʯĹ߻') end
if ϵͳ.ǰͼ('D713') then ϵͳ.ת('ʯĹ߻') end
if ϵͳ.ǰͼ('D714') then ϵͳ.ת('ʯĹĲ߻') end

ʯĹ߻أ
.ܵ(29, 344)
.߽ŵ㵽ͼ(28,345,'D714')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D715') then ϵͳ.ת('ʯĹ߻') end

ʯĹĲ߻أ
.ܵ(383, 190)
.߽ŵ㵽ͼ(381,191,'D713')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D714') then ϵͳ.ת('ʯĹĲ߻') end

ʯĹ߻أ
.ܵ(31, 191)
.߽ŵ㵽ͼ(30,192,'D712')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D713') then ϵͳ.ת('ʯĹ߻') end

ʯĹ߻أ
.ܵ(365, 226)
.߽ŵ㵽ͼ(363,227,'D711')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D712') then ϵͳ.ת('ʯĹ߻') end

ʯĹһ߻أ
.ܵ(205, 198)
.߽ŵ㵽ͼ(205,197,'D710')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D711') then ϵͳ.ת('ʯĹһ߻') end

ʯĹ߻أ
.ܵ(27, 22)
.߽ŵ㵽ͼ(26,23,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D710') then ϵͳ.ת('ʯĹ߻') end
ϵͳ.ת('жϵͼ')

ʯĹѨ߻أ
.ܵ(48, 47)
.߽ŵ㵽ͼ(49,45,'E702')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E703') then ϵͳ.ת('ʯĹѨ߻') end

ʯĹѨ߻أ
.ܵ(59, 70)
.߽ŵ㵽ͼ(60,68,'E701')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E702') then ϵͳ.ת('ʯĹѨ߻') end

ʯĹѨһ߻أ
.ܵ(12, 18)
.߽ŵ㵽ͼ(12,17,'D701')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ߻') end

ͨ߻أ
.ܵ(28, 22)
.߽ŵ㵽ͼ(27,23,'3')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('D701') 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

