I’m exhausted, so only take a quick look at the menu. Keep in mind that I haven’t used menus. Y’all know I have my personal machine only running one system.
I am not sure how „goto game menu“ is selected as there is a break in your switch case, and maybe default holds that logic? Regardless, you need to add a tick to constantly check if sound has stopped playing, or a certain time (length of sound) has passed. Once this is true, then proceed to „goto game menu“.
Hopefully that is enough to get you started. If you still need help, walk me through and I can look at it tomorrow night.