SCAR Code:
{*******************************************************************************
procedure ShopSwitchTab(name:string);
By: Rasta Magician
Description: Switchs the shop tab to the one you want, only moves mouse
if neccessary
ShopSwitchTab('main') or ShopSwitchTab('player')
*******************************************************************************}
procedure ShopSwitchTab(name:string);
begin
if ShopScreen then
if (lowercase(name)='main')and(GetColor(56, 73)=1930687) then
Mouse(57, 73, 20, 6, True)
else
if (lowercase(name)='player')and(GetColor(175, 77)=1930687) then
Mouse(185, 73, 40, 6, True);
end;