Prev: AAFA Up: Map Next: AB0E
AB04: Action: Decrement Inventory
Decreases 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_DecrementInventory AB04 JP NZ,RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte if the condition failed.
The player has lost an item.
AB07 LD HL,$A0D2 Decrease the inventory count at Count_InventoryItems by one.
AB0A DEC (HL)
AB0B JP RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte.
Prev: AAFA Up: Map Next: AB0E