**BANNED The Man
2011-02-04 14:15:15
So this will loop through your inventory and return the Item ID at each slot to Simba's Debug.
The reason it goes to debug is because at the moment we can't get the absolute co-ords for Inventory afaik.
-Boom
The reason it goes to debug is because at the moment we can't get the absolute co-ords for Inventory afaik.
{*******************************************************************************
procedure R_DebugInv;
by: Dynamite
Description: Debugs your inventory to Simba's Debug
*******************************************************************************}
procedure R_DebugInv;
var
InvLoopNumber:integer;
InvArray:array of TInvenItem;
begin
InvLoopNumber := 1;
for i := 1 to 28 do
ItemSlot := GetInven(i);
SMART_DrawTextEx(ClearScreen, (ItemSlot.CentrePoint.x) - 5, (ItemSlot.CentrePoint.y) - 25, 'UpChars', IntToStr(GetItemIDAt(i)), Color);
Inc(InvLoopNumber);
Continue;
end;-Boom