modemenu: ;Set the font to the pixel-aligned font ld a,2 ld (textmode),a ld hl,modemenu_header ld de,mode_menu_header_RAM ld bc,6 ldir ld (menutopinit),bc ld (menudefault),bc ld bc,$120D ld de,$3B27 ld hl,mode_menu_header_RAM ld ix,modemenu_getselect call menuroutine ;Set the font to the grid-aligned xor a ld (textmode),a ret modemenu_getselect: jr nc,modemenu_opt ; If the user pressed [Enter], then we need to re-enter! ld a,(k_save) sub 9 ret nz call +_ jp menu_render _: ld a,(menucur) dec a jp z,toggle_token_hook ld a,(flags+appLwrCaseFlag) xor 1<