Prev: B5C6 Up: Map Next: B5D5
B5CF: 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 B5CF CALL GetItemRoom Call GetItemRoom.
B5D2 CP $01 See whether that room is the inventory.
B5D4 RET Return.
View the equivalent code in;
Prev: B5C6 Up: Map Next: B5D5