if wait > 0 exit; wait = 5 menuchoice += 1 if menuchoice > 3 menuchoice = 0 sound_play(snd_menuselect)