Custom Sub Menus pt2 Using variables for pages

Brief description: I have been making a custom submenu and figured out how to have an event reveal them. In Part 1
Here we will make the second Submenu page.

Here is a video of what we are making:

Spoiler: video


Requirements:
RPG Maker MV
Yanfly Core Engine
Yanfly Main Menu
Images

In Part 1 we made a Submenu to be triggered by an event. Now we will do the final part: Adding a second page:

Go to your Move event, copy the page and past it. Follow below; deleting and modifying the numbers and locations as needed:

Spoiler: Move Page 2
Project1 - RPG Maker MV 2_14_2019 1_36_21 AM.png

I deleted variables 6 and down here as I do not need them.

Project1 - RPG Maker MV 2_14_2019 1_36_55 AM.png
Project1 - RPG Maker MV 2_14_2019 1_37_52 AM.png
Project1 - RPG Maker MV 2_14_2019 1_38_21 AM.png Project1 - RPG Maker MV 2_14_2019 1_38_21 AM.png Project1 - RPG Maker MV 2_14_2019 1_38_30 AM.png Project1 - RPG Maker MV 2_14_2019 1_38_46 AM.png Project1 - RPG Maker MV 2_14_2019 1_38_56 AM.png Project1 - RPG Maker MV 2_14_2019 1_39_05 AM.png Project1 - RPG Maker MV 2_14_2019 1_39_12 AM.png

Did you do it? ok if you want test it. But I would wait until you got the images.

Now Go to your pictures event, copy and paste like with the move event. see below:

Spoiler: images
Project1 - RPG Maker MV 2_14_2019 1_44_31 AM.pngProject1 - RPG Maker MV 2_14_2019 1_39_37 AM.png Project1 - RPG Maker MV 2_14_2019 1_39_44 AM.png Project1 - RPG Maker MV 2_14_2019 1_39_57 AM.png

Pretty Simple Right? Now repeat this for your other menus as needed.
This is amazing! I've been looking for something like this for ages!
Thanks a lot for this little guide, I really needed this.
Any time. I have a few more I am planning but the problem is I'm more proficient in C#. It takes a bit to pseudo code, even eventing wise to javascript.

Original thread: https://forums.rpgmakerweb.com/threads/custom-sub-menus-pt2-using-variables-for-pages.105634/