Prev: 42617 Up: Map Next: 42644
42636: Check Item In Current Room
Used by the routine at Condition_ItemIsHere.
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 Set the zero flag if that location is the current room in *CurrentRoom.
42642 CP (HL)
42643 RET Return.
View the equivalent code in;
Prev: 42617 Up: Map Next: 42644