Prev: D653 Up: Map Next: D679
D666: Copy the next wiped area to the display
They come off the stack last first, which does not matter: each is copied whole.
copy_next_rect D666 LD HL,$5BA8 none left
D669 LD A,(HL)
D66A AND A
D66B JR Z,copy_rects_done
D66D DEC (HL) pop one, with width and height swapped into the order blit_to_screen takes them
D66E POP HL
D66F POP DE
D670 POP BC
D671 LD A,B
D672 LD B,C
D673 LD C,A
D674 CALL blit_to_screen
D677 JR copy_next_rect
Prev: D653 Up: Map Next: D679