![]() |
Routines |
| Prev: 9ACF | Up: Map | Next: 9AF9 |
|
Note that when returning from another block of graphic layout data, the current attribute stored at CurrentAttribute (and set in the called block) is not preserved. Upon returning, the current attribute value is cleared.
The x- and y-coordinates to start drawing next time are loaded into HL from DrawingYCo-Ordinate by the routines at 9B08 (graphic layout routine FE) or 9878 (obtained from simple / complex state data).
|
||||||||||||
| 9AF0 | XOR A | Set current attribute to 00. | ||||||||||
| 9AF1 | LD ($6D97),A | |||||||||||
| 9AF4 | LD HL,($6DCA) | Load HL with base x- and y-coordinates. | ||||||||||
| 9AF7 | LD B,A | Set B to 00. | ||||||||||
| 9AF8 | RET | Return. | ||||||||||
| Prev: 9ACF | Up: Map | Next: 9AF9 |