Prev: B9A7 Up: Map Next: BA3D
BA34: Check Inventory
Used by the routine at DrawChangedObjects.
Redraws the inventory if the flag to say that it has changed is set, and clears the flag. Otherwise returns.
CheckInventory BA34 LD A,($A720) Fetch the flag from ObjectsCarriedChangedFlag.
BA37 AND A Return if the inventory has not changed.
BA38 RET Z
BA39 XOR A Clear A.
BA3A LD ($A720),A Write 00 to ObjectsCarriedChangedFlag, as the inventory is about to be redrawn.
Prev: B9A7 Up: Map Next: BA3D