This function, in amount.scar, needs updating.
Here's my fix. Tested and working, just the first screen was broken.
Simba Code:
{*******************************************************************************
function TradeScreen: Integer;
By: ZephyrsFury
Fixed 12/7/11 by Legoace
Description: Returns 1 or 2 for the respective tradescreens, 0 if neither is open.
*******************************************************************************}
function TradeScreen: Integer;
begin
for Result := 2 downto 1 do
case Result of
2: if (CountColor(16776960, 127, 32, 373, 51) > 20) then Break;
1: if (CountColor(2070783, 150, 12, 350, 28) > 20) then Break;
end;
end;