
Originally Posted by
Narcle
^ this
Also I've looked and looked this is from a function in SRL that I (or someone) needs to fix. Pretty sure its IsFightAt(x,y) that does it. Plus that error will not do anything, its more of a hint then an error.
Simba Code:
function IsFightAt(var X, Y: Integer): Boolean;
var
HPBarCorner, w, h: Integer;
begin
HPBarCorner := DTMFromString('78DA6364646060606540051A108A11CA6504315888' +
'50C34C841A26026A988854C348400D33116A588850C34A841A36C26A0046A001D4');
GetClientDimensions(w, h);
if ((x - 30) < 0) then x := 0;
if ((y - 30) < 0) then y := 0;
if ((x + 30) > w) then x := w;
if ((y + 30) > h) then y := h;
Result := FindDTM(HPBarCorner, X, Y, X - 30, Y - 30, X + 30, Y + 30);
FreeDTM(HPBarCorner);
end;
Would fix it, I think. Not that it really matters, but meh.