Issues with Custom Menu

I'm currently making a custom menu through events/pictures. I'm not sure if there is an easier way to create a custom menu, but I'm not the best programmer so I went with what sounded like the easiest option. Right now I'm working on the animations/graphics for the base of the menu, but it just isn't working right for some reason.

The first main issue is that when it gets to option 5, it instead goes up/down an option instead of stopping at 5. Every other option works fine, including the wraparounds at 1 and 7, but it always skips 5.

Another minor issue is that when reopening the menu, it does the animation for the selection it was previously on instead of the current selection. This isn't a huge priority as of this moment though as it's probably an easy fix.

Unfortunately the video showcasing the bug is too big to upload here directly, so I'll upload it as an unlisted video on Youtube or something
Here's the link
we can see how you set it up, or what you miss and what tutorial you followed.
there are many tutorials and [here] is mine.

while there is blog too which has a slight bug (personally) as it can still walk
while its open, I took advantage to avoid that to make it more streamlined.

in your case, you use just the vertical one, so there is a mismatch of the index
somewhere, that skips and probably something else.

you need to show screenshots what you have done and how you set it up.
from there, we can help you.
I've just been doing my own thing really, no tutorial or anything as of yet.

Here is the stuff I've done for it though
from a few look to the image, you made 2 mistakes.
you have 7 choices, you check for equal or heigher than 8!
and equal and lower than 0.

which should be simply,

< 0 and go to 7, and > 7 (which is 8) goes to 0, no need for <= or >=.

check my tutorial or the basic tutorial I had before, how to make it work.
I can check tomorrow where you messed up, but you follow my tutorial.
you may figure it out.

you can check this tutorial (see step 3) and 3rd image how I did the check
for 5 buttons, and it may fix the 2 issues you have.

my advanced is more improved, which works slightly different, but may
some parts can be left out, in order to fix your indexing.

I help you tomorrow if your still stuck.
The equal to or lower checks are to wrap around back to 1 or 7, and checks for less than/greater than incase it somehow goes further than 0/8, that is very much intentional so it wraps around. I don't see how either of those would affect it skipping option 5 anyways

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-custom-menu.183209/