Prev: B613 Up: Map Next: B62E
B626: Is Item In Current Room
Compare the item's room with the room the player is in.
Input
A Item id
Output
F The zero flag is set when the item is in the current room
IsItemInCurrentRoom B626 CALL GetItemRoom Call GetItemRoom to read which room holds the item.
B629 LD HL,$AECD Point HL at the current room.
B62C CP (HL) See whether the item is in this room.
B62D RET Return.
View the equivalent code in;
Prev: B613 Up: Map Next: B62E