Prev: 33275 Up: Map Next: 33421
33395: ClearRoomAttrs
Blacks out the 20×19 room-view attribute window, then renders the grid buffer's wall glyphs into the (now invisible) pixel area — the duct view's arm walk selectively re-colours cells cyan to reveal them.
33395 LD DE,12 black out the 20x19 room-view
33398 LD HL,22528 attribute window
33401 LD C,19
33403 LD B,20
33405 LD (HL),0
33407 INC HL
33408 DJNZ 33405
33410 ADD HL,DE +12: next attribute row
33411 DEC C
33412 JR NZ,33403
33414 LD HL,26121 then render the grid buffer
33417 CALL 31312 (DrawRoomBackground_0)
33420 RET
Prev: 33275 Up: Map Next: 33421