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

ϵͳ.óű()

жϵͼ
.л״̬Ϊ('')
if ϵͳ.ǰͼ('D701') then ϵͳ.ת('ͨ') end
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ') end
if ϵͳ.ǰͼ('E703') then ϵͳ.ת('ʯĹѨ') end
if ϵͳ.ǰͼ('E702') 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 ϵͳ.ǰͼ('0159') then ϵͳ.ת('') end
ϵͳ.ת('ûԶس')

űļ('-ʡس-.txt')


if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʯĹ') end
if .ָľ(139,326) < 6 then ϵͳ.ת('غϱԻ') end
.ܵ(143, 329)
غϱԻ:
.NPCԻ('ϱ')
.ѡ('ȥ','@back')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('5') then ϵͳ.ת('') end

ʯĹ
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ܱΧ() then ϵͳ.ñ('Χ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
if .ƷҪ('ӻ') then ϵͳ.ñ('ӻ') end
.ܵ(288, 342)
.NPCԻ('ƱԱ')
.ѡ('Ի.','@talkwith')
.ѡ('ͨƶ','@move1')
.ѡ('ƶ.','@pay1')
ϵͳ.sleep(1000)
if ϵͳ.ǰͼ('3') then ϵͳ.ת('ʯĹ') end

ͨ
.л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سǾ')
ϵͳ.sleep(1000)


߻ز£
if ϵͳ.ǰͼ('D701') then ϵͳ.ת('ͨ߻') end
if ϵͳ.ǰͼ('E701') then ϵͳ.ת('ʯĹѨһ߻') end
if ϵͳ.ǰͼ('E702') then ϵͳ.ת('ʯĹѨ߻') end
if ϵͳ.ǰͼ('E703') 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

