Prev: A498 Up: Map Next: A54B
A524: Copy part of a row from the buffer to the screen
The LDI chain of the clipped copy back (from the DJNZ at the end of dissolve_sprite), for a box cut by an edge of the play area.
copy_out_part_row A524 LDI Up to six bytes from the buffer to the screen
A526 LDI
A528 LDI
A52A LDI
A52C LDI
A52E LDI
A530 LD A,$00 Skip the rest of the buffer's row (the LD's operand is patched)
A532 ADD A,L
A533 LD L,A
A534 POP DE Back to the row's start on the screen, up one pixel line, and round again
A535 DEC D
A536 LD A,D
A537 INC A
A538 AND $07
A53A JP NZ,dissolve_sprite_8
A53D LD A,E
A53E SUB $20
A540 LD E,A
A541 JP C,dissolve_sprite_8
A544 LD A,D
A545 ADD A,$08
A547 LD D,A
A548 JP dissolve_sprite_8
Prev: A498 Up: Map Next: A54B