Prev: 44753 Up: Map Next: 44768
44762: Is Object In Inventory?
Input
A Object ID
Output
F The zero flag is set if the item is in the players inventory
The ItemLocator routine returns with A containing the room ID of the requested object, 0 for when the item is disabled or 1 for the players inventory.
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