Prev: 44753 Up: Map Next: 44768
44762: Is Object In Inventory?
Used by the routines at 60327, 60578, 60655, 60679, 60695, 60711, 60727, 60743, 60789, 60856, IsPlayerCarryingItem and 63008.
Input
A Object ID
Output
F Z flag set if the item is in the players inventory
The ItemLocator routine returns with A containing the room ID of the requested object.
CheckObjectInInventory 44762 CALL ItemLocator Call ItemLocator.
44765 CP 1 Compare A with 1 (inventory).
44767 RET Return.
View the equivalent code in The Jewels Of Babylon.
Prev: 44753 Up: Map Next: 44768