![]() |
Routines |
| Prev: 48930 | Up: Map | Next: 49022 |
|
Used by the routine at MainLoop.
Draws every sprite in the draw list into the off-screen buffer, in order.
|
||||||||
| DrawList | 49002 | LD IX,54101 | Point IX at the start of the draw list. | |||||
| DrawList_Loop | 49006 | LD A,(IX+0) | Return if the type is zero, which is the end of the list. | |||||
| 49009 | AND A | |||||||
| 49010 | RET Z | |||||||
| 49011 | CALL DrawSprite | Draw the sprite using DrawSprite. | ||||||
| 49014 | INC IX | Move on to the next entry. | ||||||
| 49016 | INC IX | |||||||
| 49018 | INC IX | |||||||
| 49020 | JR DrawList_Loop | Loop back. | ||||||
| Prev: 48930 | Up: Map | Next: 49022 |