Prev: AED1 Up: Map Next: AEE0
AEDA: Is Object In Inventory?
Used by the routines at EBA7, ECA2, ECEF, ED07, ED17, ED27, ED37, ED47, ED75, EDB8, IsPlayerCarryingItem and F620.
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 AEDA CALL ItemLocator Call ItemLocator.
AEDD CP $01 Compare A with 01 (inventory).
AEDF RET Return.
View the equivalent code in The Jewels Of Babylon.
Prev: AED1 Up: Map Next: AEE0