sound_play(snd_menuenter) switch menuchoice { case 0: //game start room_goto(rm_tatata) break; case 1: //options room_goto(rm_tutorial) break; case 2: //credits room_goto(rm_credits) break; case 3: //quit game_end() default: break; }