![]() |
Routines |
| Prev: D69E | Up: Map | Next: D6BD |
|
Used by the routine at DrawTilePixels.
Draws a tile reflected vertically, which is the lines from the last to the first.
|
||||||||||
| DrawTileVertical | D6AD | LD B,$08 | Set the number of lines. | |||||||
| D6AF | INC DE | Move to the last line. | ||||||||
| D6B0 | INC DE | |||||||||
| D6B1 | INC DE | |||||||||
| D6B2 | INC DE | |||||||||
| D6B3 | INC DE | |||||||||
| D6B4 | INC DE | |||||||||
| D6B5 | INC DE | |||||||||
| DrawTileVertical_Line | D6B6 | LD A,(DE) | Draw a line and move to the previous one. | |||||||
| D6B7 | DEC DE | |||||||||
| D6B8 | LD (HL),A | |||||||||
| D6B9 | INC H | |||||||||
| D6BA | DJNZ DrawTileVertical_Line | Go back for the next line. | ||||||||
| D6BC | RET | Return. | ||||||||
| Prev: D69E | Up: Map | Next: D6BD |