I noticed in the RS SRL include there is a isinventoryfull and dropall function how would I make this myself, like detecting the black outlines of items? I noticed it does this:
Simba Code:
function GetInvItemBounds(InvSpot: Integer; var T: TBox): Boolean;
var
  TPA: TPointArray;
begin
  GameTab(tab_inv);
  if (not FindColors(TPA, srl_outline_black, T.x1, T.y1, T.x2, T.y2)) then //No shortcut elevation
  begin
    Result := False;
    T := InvBox(InvSpot);
    Exit;
  end;
  Result := True;
  T := GetTPABounds(TPA);
end;

Simba Code:
srl_outline_black
Also how do I make my own uptext? I have always tried but never been able to