Help with Picture menu leading to custom Inventory/other "menu" pages?

Hi there! I have a common event based picture menu working (used the very common tutorial I kept seeing pop up).

My problem now is I also want a few more custom pages.
An info page with several pages (like a journal) including custom text based on variables ect.
And a custom inventory screen.
I have the basic understanding of how to do it from making the original menu, but when trying to access a new menu the buttons don't work, or images don't show up, or other things happen to make it...not work. I've scrapped most of the code I've tried so far, so not much to share unfortunately, but maybe someone knows a simple way to do it that I'm missing?
to access new menu's, use global switches, if Menu = on,
than menu = OFF and Inventory = ON

so you can swap pages this way, and use the same logic you built
for the menu (if 2 variables X and Y) you can navigate to the spot/slot
you target and use the OK logic and cancel logic too.

if cancel, inventory = OFF and Menu = ON (if you want that).
to access new menu's, use global switches, if Menu = on,
than menu = OFF and Inventory = ON

so you can swap pages this way, and use the same logic you built
for the menu (if 2 variables X and Y) you can navigate to the spot/slot
you target and use the OK logic and cancel logic too.

if cancel, inventory = OFF and Menu = ON (if you want that).
I ended up having to add an extra switch and some conditions to get it to successfully return to the main menu, but it worked! Thanks so much!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-picture-menu-leading-to-custom-inventory-other-menu-pages.180698/