![]() |
Routines |
| Prev: C83F | Up: Map | Next: C898 |
|
Used by the routine at ColourWallColumn.
Sets a column of two attributes, down a number of rows of the attribute buffer.
|
||||||||||||
| ColourAttributeColumn | C889 | LD E,A | Add the flash colour used in the last frame (PreviousFlashColour) to the attribute. | |||||||||
| C88A | LD A,($BBFC) | |||||||||||
| C88D | OR E | |||||||||||
| C88E | LD DE,$0017 | Set the distance to the first attribute in the next row (18 minus one). | ||||||||||
| ColourAttributeColumn_Loop | C891 | LD (HL),A | Set two attributes and move down a row, and loop back until all of the rows have been coloured. | |||||||||
| C892 | INC HL | |||||||||||
| C893 | LD (HL),A | |||||||||||
| C894 | ADD HL,DE | |||||||||||
| C895 | DJNZ ColourAttributeColumn_Loop | |||||||||||
| C897 | RET | Return. | ||||||||||
| Prev: C83F | Up: Map | Next: C898 |