Prev: 48469 Up: Map Next: 48510
48489: See Whether It Matches The Moved Marker
Used by the routine at ScanObjectsUntilEndMarker.
Compares the saved object's moved marker, flag byte and room with this record.
SeeWhetherItMatchesMovedMarker 48489 LD A,(47642) Read the saved object's moved marker.
48492 CP (IX+1) See whether this object is the one that was moved.
48495 RET NZ Return if they differ.
48496 LD A,(47641) Read the saved object's flag byte.
48499 CP (IX+0) See whether it matches the record flag.
48502 RET NZ Return if they differ.
48503 LD A,(47643) Read the saved object's room.
48506 CP (IX+2) See whether it matches the character's room.
48509 RET Return.
Prev: 48469 Up: Map Next: 48510