Code: Select all
Program New;
const
pet = $0001C94A;
procedure waitpet;
begin
repeat
finddistance := 2;
findtype(pet,ground);
addtosystemjournal(inttostr(finditem));
until finditem > 0;
end;
begin
repeat
movexy(1206,1536,true,0,false);
waitpet
movexy(1207,1522,true,0,false);
waitpet
until dead;
end.