Prev: 43770 Up: Map Next: 43790
43780: 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 43780 JP NZ,RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte if the condition failed.
The player has lost an item.
43783 LD HL,41170 Decrease the inventory count at Count_InventoryItems by one.
43786 DEC (HL)
43787 JP RunScript_SkipAction_OneByte Jump to RunScript_SkipAction_OneByte.
Prev: 43770 Up: Map Next: 43790