Sandstorm
2008-11-09 13:57:55
{*******************************************************************************
Procedure DropAllExcept(A : Array of Integer);
By: Sand Storm
Description: Drops everything except the user defined inventory spaces.
*******************************************************************************}
procedure DropAllExcept(A : Array of Integer);
var
i: Integer;
begin
For I:=1 To 28 Do
if not(InIntArray(a, i)) then
DropItem(i);
end;
Also, I'd like to thank Metagen/Lee Lok Hin for pointing me in the right direction towards InIntArray :P.