Prev: A679 Up: Map Next: A694
A68C: Check Item In Current Room
Used by the routine at A841.
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 A68C CALL ItemLocator Call ItemLocator.
A68F LD HL,$A106 Compare the room ID with *CurrentRoom.
A692 CP (HL)
A693 RET Return.
Prev: A679 Up: Map Next: A694