Prev: BD85 Up: Map Next: BDA2
BD89: Flash the selected menu lines
Used by the routines at clear_menu_flash and check_for_start_game.
Sets the FLASH bit on the colour of the line for the chosen control method and clears it on the other three, then sets or clears it on the directional-control line to match bit 3 of $5BA4. The colours are in menu_colours; the first byte is the title's and is left alone.
flash_menu BD89 LD HL,$BDA3 the colour of the first option line: the second byte of menu_colours
BD8C LD A,($5BA4) method 0 to 3 selects one of four lines
BD8F RRCA
BD90 AND $03
BD92 LD B,$04
BD94 CALL toggle_selected
BD97 RES 7,(HL) HL is now at the directional-control line
BD99 LD A,($5BA4)
BD9C AND $08
BD9E RET Z
BD9F SET 7,(HL)
BDA1 RET
Prev: BD85 Up: Map Next: BDA2