Prev: AAF3 Up: Map Next: AB04
AAFA: Action: Increment Inventory
Increases Count_InventoryItems by one.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_IncrementInventory AAFA JP NZ,RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte if the condition failed.
The player has gained an item.
AAFD LD HL,$A0D2 Increment the inventory count at Count_InventoryItems by one.
AB00 INC (HL)
AB01 JP RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte.
Prev: AAF3 Up: Map Next: AB04