Prev: AD05 Up: Map Next: AF84
AF6B: Clear doorway columns (room background helper)
Emits PRINT AT + PAPER=0 + PAPER=1 control codes to set up colours. Prints 96 ($60) blank space chars ($80) from the current cursor position, blanking the two columns where the door sprite was.
Always called via JP at the end of draw_room_bg, never via CALL.
clear_doorway AF6B LD A,$16 Emit PRINT AT row 11, col 0 ($16,$0B,$00 via RST $10)
AF6D RST $10
AF6E LD A,$11 Emit PAPER=0 ($11,$00), then PAPER=1 ($11,$01)
AF70 RST $10
AF71 LD A,$00
AF73 RST $10
AF74 LD A,$11 B = $60 (96 blank chars)
AF76 RST $10
AF77 LD A,$01
AF79 RST $10
AF7A LD B,$60
clear_doorway_0 AF7C PUSH BC Loop: emit $80 (space) × 96 via DJNZ
AF7D LD A,$80
AF7F RST $10
AF80 POP BC
AF81 DJNZ clear_doorway_0
AF83 RET
Prev: AD05 Up: Map Next: AF84