Prev: BA7E Up: Map Next: BB14
BAFB: Flash the chosen lines on the menu
Used by the routine at MENU.
Sets the FLASH bit on the colour of the line for the method in bits 1-2 of CONTROL and clears it on the other three (TOGGLE_SELECTED), then sets or clears it on the next colour -- the "5 DIRECTIONAL CONTROL" line's -- to match bit 3 of CONTROL. The colours are MENU_COLOURS's; the title's, the first, is left alone. As Knight Lore's flash_menu, instruction for instruction.
FLASH_MENU BAFB LD HL,$BB15 the four method lines, from the second colour: flash the one for bits 1-2
BAFE LD A,(CONTROL)
BB01 RRCA
BB02 AND $03
BB04 LD B,$04
BB06 CALL TOGGLE_SELECTED
BB09 RES 7,(HL) HL is now on the directional-control line's colour: flash it if bit 3 is set
BB0B LD A,(CONTROL)
BB0E AND $08
BB10 RET Z
BB11 SET 7,(HL)
BB13 RET
Prev: BA7E Up: Map Next: BB14