SCAR Code:function FeatherAmount : Integer;
var x, y : Integer;
begin
if (Not(LoggedIn)) then Exit;
if (FindDTM(FeatherDTM, x, y, MSX1, MSY1, MSX2, MSY2)) then
begin
Result := AmountDtm('shop', FeatherDTM);
Writeln('Shop has ' + inttostr(result) + ' feathers.');
end else
begin
Result := 0;
end;
end;
This code does not work. It prints to the debug box 'Shop has 0 feathers.' There are over 900 feathers there.
What is going on?
-Pancakes.





~RAM
Reply With Quote