![]() |
Routines |
| Prev: A4BC | Up: Map | Next: A4E0 |
|
Used by the routine at ProcessDisplayPointer.
Compares the two room records from the exit field onward and reports whether they match.
|
||||
| CompareLocationData | A4CD | PUSH DE | Save DE, HL and IY, then point HL six bytes further on (0006). | |
| A4CE | PUSH HL | |||
| A4CF | PUSH IY | |||
| A4D1 | LD DE,$0006 | |||
| A4D4 | ADD HL,DE | |||
| A4D5 | ADD IY,DE | Call ReadScriptPosition to read the script position. | ||
| A4D7 | CALL ReadScriptPosition | |||
| A4DA | JR NZ,CompareFollowingFields_0 | Jump to CompareFollowingFields_0 when the script position does not match, and otherwise restore the records this test used. | ||
| A4DC | POP IY | |||
| A4DE | POP HL | |||
| A4DF | POP DE | |||
| Prev: A4BC | Up: Map | Next: A4E0 |