Prev: 42617 Up: Map Next: 42644
42636: Check Item In Current Room
Used by the routine at 43073.
Input
A Item ID
Output
F Z flag is set if the item is in the current room
Fetch the room ID of the requested item using the table at Table_ItemLocations.
CheckItemInCurrentRoom 42636 CALL ItemLocator Call ItemLocator.
42639 LD HL,41222 Compare the room ID with *CurrentRoom.
42642 CP (HL)
42643 RET Return.
Prev: 42617 Up: Map Next: 42644