Prev: A62C Up: Map Next: A63B
A635: Is Object In Inventory?
Used by the routines at A826, A832, AE2C and AE5E.
Checks if a given item is in the players inventory or not.
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, 00 for when the item is disabled or 01 for the players inventory.
CheckObjectInInventory A635 CALL ItemLocator Call ItemLocator.
A638 CP $01 Compare A with 01 (inventory).
A63A RET Return.
View the equivalent code in;
Prev: A62C Up: Map Next: A63B