![]() |
Routines |
| Prev: BD55 | Up: Map | Next: BD7E |
|
Used by the routine at ScanObjectsUntilEndMarker.
Compares the saved object's moved marker, flag byte and room with this record.
|
||||
| SeeWhetherItMatchesMovedMarker | BD69 | LD A,($BA1A) | Read the saved object's moved marker. | |
| BD6C | CP (IX+$01) | See whether this object is the one that was moved. | ||
| BD6F | RET NZ | Return if they differ. | ||
| BD70 | LD A,($BA19) | Read the saved object's flag byte. | ||
| BD73 | CP (IX+$00) | See whether it matches the record flag. | ||
| BD76 | RET NZ | Return if they differ. | ||
| BD77 | LD A,($BA1B) | Read the saved object's room. | ||
| BD7A | CP (IX+$02) | See whether it matches the character's room. | ||
| BD7D | RET | Return. | ||
| Prev: BD55 | Up: Map | Next: BD7E |