Prev: C572 Up: Map Next: C591
C583: Clear the unused special-object records
Zeroes 32 bytes at a time until DE reaches record 4 at $5C88, the first of the room's own objects.
Input
DE the first unused byte of records 2 and 3
clear_spare_spec_records C583 LD HL,$5C88
C586 AND A
C587 SBC HL,DE
C589 RET Z
C58A LD B,$20
C58C CALL zero_DE
C58F JR clear_spare_spec_records
Prev: C572 Up: Map Next: C591