Prev: 60741 Up: Map Next: 60785
60753: Clear Room Buffers
Used by the routine at Unpack_Rooms.
Clear_RoomBuffers 60753 PUSH AF Stash AF on the stack.
60754 XOR A Write 0 to *ATTR_P.
60755 LD (23693),A
60758 LD B,24 Clear the bottom 24 lines using CL_LINE.
60760 CALL 3652
60763 LD HL,24014 Fill Buffer_RoomTiles with 200.
60766 LD DE,24015
60769 LD (HL),200
60771 LD BC,800
60774 LDIR
60776 LD (HL),0 Fill Buffer_RoomAttributes with 0.
60778 LD BC,799
60781 LDIR
60783 POP AF Restore AF from the stack.
60784 RET Return.
Prev: 60741 Up: Map Next: 60785