![]() |
Routines |
| Prev: 54942 | Up: Map | Next: 54973 |
|
Used by the routine at DrawTilePixels.
Draws a tile reflected vertically, which is the lines from the last to the first.
|
||||||||||
| DrawTileVertical | 54957 | LD B,8 | Set the number of lines. | |||||||
| 54959 | INC DE | Move to the last line. | ||||||||
| 54960 | INC DE | |||||||||
| 54961 | INC DE | |||||||||
| 54962 | INC DE | |||||||||
| 54963 | INC DE | |||||||||
| 54964 | INC DE | |||||||||
| 54965 | INC DE | |||||||||
| DrawTileVertical_Line | 54966 | LD A,(DE) | Draw a line and move to the previous one. | |||||||
| 54967 | DEC DE | |||||||||
| 54968 | LD (HL),A | |||||||||
| 54969 | INC H | |||||||||
| 54970 | DJNZ DrawTileVertical_Line | Go back for the next line. | ||||||||
| 54972 | RET | Return. | ||||||||
| Prev: 54942 | Up: Map | Next: 54973 |