Subitem (call target)

From Final Fantasy XII Wiki
Revision as of 07:11, 24 July 2019 by Admin (talk | contribs) (Created page with "{{Call|id=0x02f2|return=|name=subitem|args=u_short itemId, int amount|act=}}Removes given amount of item from inventory. If item count reaches zero, item is completely remove...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Signature:

void subitem(u_short itemId, int amount); // id: 0x02f2

Removes given amount of item from inventory.

If item count reaches zero, item is completely removed. Doesn't unequip items.