I'm beginning my adventure into menus, starting with a basic ability menu that lets the player switch from fireballs to ice balls.
My objective is simple, press Y to bring up the menu, and press Y again to close it. Simple enough, yet I am clearly doing something wrong because it's not working. When I change the closing button to something other than Y it works, so there is something that I'm not getting when it comes to using the same button for a multi-function purpose.
My idea was to make the menu initially invisible, and if it was invisible press Y brings it up (and pauses the game), and when the menu is visible when Y is pressed, it goes away and the time scale is also restored.