Prev: 46534 Up: Map Next: 46549
46543: Is Object In Inventory?
Used by the routine at Action_Dig.
Is Object In Inventory?.
Input
A Object ID
Output
F Z flag set if object is in the players inventory
The GetItemRoom routine returns with A containing the room ID of the requested object.
IsObjectInInventory 46543 CALL GetItemRoom Call GetItemRoom.
46546 CP 1 See whether that room is the inventory.
46548 RET Return.
View the equivalent code in;
Prev: 46534 Up: Map Next: 46549