Give every submenu an honest Back route
| Opened from | Destination | Back should return to |
|---|---|---|
| Main Menu | Load / Options | Main Menu |
| Pause Menu | Save / Load / Options | Pause Menu |
| Credits opened from Main Menu | Credits | Main Menu |
| Gameplay | Inventory / Journal | Gameplay, through that surface’s close/toggle command. |
The custom menu system is not a web browser with an automatic history stack. Chapter 10’s menu_tools remembers the intended parent for Save and Load. options_tools does the same for Options.
1. Call open_main_load from the title menu, not the pause-load wrapper.
2. Use menu_back on the Save/Load Back Buttons.
3. Use options_back on the Options Back Button.
4. Open each submenu from both entry points and test Back before adding decorative animation.
5. Test the pause key too. Decide whether that shortcut closes the current system screen directly or should follow your explicit Back route.
If a shortcut bypasses the wrapper, the helper cannot infer an arbitrary navigation history. Route important entry Buttons through the supplied wrappers and test other entry routes deliberately.
