Prev: 58527 Up: Map Next: 58573
58569: Draw Sprite Row
Used by the routines at DrawSprite and EndSpriteRow.
Starts drawing a row of a sprite, by jumping into the code for the width of the sprite. The offset of the jump is set by DrawSprite.
Input
A' Number of rows left to draw
BC Address in the screen buffer
DrawSpriteRow 58569 EX AF,AF' Keep the number of rows left to draw.
58570 LD A,(BC) Fetch the first byte of the row from the screen buffer.
DrawSpriteRow_Jump 58571 JR DrawSpriteRow_Jump Jump into the row to draw the characters (the offset is changed by the code that sets up the drawing).
Prev: 58527 Up: Map Next: 58573