Prev: 49115 Up: Map Next: 49225
49206: Finish Flipped Sprite Row
Moves to the next row of the buffer after a row of a flipped sprite has been drawn, and starts the next row if there are any left.
FinishFlippedSpriteRow 49206 LD A,(41511) Fetch the distance from SpriteRowStep to the start of the next row.
49209 ADD A,C Add it to the low byte of the buffer address.
49210 LD C,A Set the low byte.
49211 LD A,B Fetch the high byte.
49212 ADC A,0 Add the carry.
49214 LD B,A Set the high byte.
49215 EX AF,AF' Fetch the number of rows left.
49216 DEC A Take one off.
Draw the next row if there are any left.
49217 JP NZ,DrawFlippedRow Jump to DrawFlippedRow if there are any.
49220 LD SP,(41501) Restore the stack pointer.
49224 RET Return.
Prev: 49115 Up: Map Next: 49225