Prev: BCC0 Up: Map Next: BCE7
BCCA: Draw the day label on the panel
Used by the routine at no_delay.
Prints day_txt with the four-glyph font at day_font, at x=$70, y=$0F. Its colour is worked out from the room's colour in $5BAD: the ink is (1 - room ink) mod 8, bright, on black, so the label changes colour with the room.
display_day BCCA LD A,($5BAD)
BCCD CPL
BCCE ADD A,$02
BCD0 AND $07
BCD2 OR $40
BCD4 LD (day_txt),A
BCD7 LD HL,day_font the private font
BCDA LD ($5BC7),HL
BCDD LD DE,day_txt
BCE0 LD HL,$0F70 print_text takes its position from the stack
BCE3 PUSH HL
BCE4 JP print_text
Prev: BCC0 Up: Map Next: BCE7