![]() |
Routines |
| Prev: 50554 | Up: Map | Next: 50577 |
|
Used by the routine at ProcessDisplayAction.
Turns the moved marker into an index and reads the display record address from Table_DisplayRecordsByMovedMarker.
|
||||
| LookUpDisplayRecordForMovedMarker | 50563 | AND 127 | Keep bits 0-6 of the marker as the index and point HL at Table_DisplayRecordsByMovedMarker. | |
| 50565 | LD E,A | |||
| 50566 | LD D,0 | |||
| 50568 | LD HL,40875 | |||
| 50571 | ADD HL,DE | Add twice the index and read the display record address into HL. | ||
| 50572 | ADD HL,DE | |||
| 50573 | LD E,(HL) | |||
| 50574 | INC HL | |||
| 50575 | LD D,(HL) | |||
| 50576 | EX DE,HL | |||
| Prev: 50554 | Up: Map | Next: 50577 |