Prev: CCE4 Up: Map Next: CD10
CD02: Empty all 23 object records
Used by the routine at GAME_OVER.
Writes 0, the empty graphic, into the first byte of each; the rest of each record is left as it was. Before the ending (GAME_OVER).
CLEAR_OBJECTS CD02 LD HL,KNIGHT 23 records, 16 bytes apart
CD05 LD DE,$0010
CD08 LD B,$17
CLEAR_OBJECTS_0 CD0A LD (HL),$00
CD0C ADD HL,DE
CD0D DJNZ CLEAR_OBJECTS_0
CD0F RET
Prev: CCE4 Up: Map Next: CD10