![]() |
Routines |
| Prev: AE88 | Up: Map | Next: AE98 |
|
Used by the routine at GameMenu.
Sets the attributes of one column of the screen, which is twenty four cells.
|
||||||||||
| FillAttributeColumn | AE8E | LD B,$18 | Set the number of rows. | |||||||
| AE90 | LD DE,$0020 | Set the distance between rows. | ||||||||
| FillAttributeColumn_Loop | AE93 | LD (HL),C | Set the attribute of the cell. | |||||||
| AE94 | ADD HL,DE | Move down a row. | ||||||||
| AE95 | DJNZ FillAttributeColumn_Loop | Loop back until every row has been done. | ||||||||
| AE97 | RET | Return. | ||||||||
| Prev: AE88 | Up: Map | Next: AE98 |