Loop nesting not working

Hey everyone,

I am trying to do a simple loop nest to basically have extra confirmations for my player. So if they select a male protagonist, they need to confirm their choice, followed by name entry, which they again need to confirm once entered. However, I keep running into some problems and cannot figure out what I am doing wrong. Hopefully this is an easy fix, but I have attached what I currently have going on in the event. Using what I currently have, the game completely skips name entry if you confirm your gender (though it does loop correctly if you select 'No' on the gender selection).

Does anyone have any insight on where I went wrong?
Where is the "loop within a loop"?

You don't need to loop autorun events, because they loop by default. So if you have one massive loop encompassing the whole thing, I'd delete it.

If you confirm gender, you have a Break Loop before the next inner loop. So it stops processing there and exits to whatever is below the Repeat Above for the outside loop. And if there's nothing, it will loop from the top, because it's an autorun.
Where is the "loop within a loop"?

Ugh I just realized I messed up my screenshot. There is a Loop that starts the whole thing. I've attached a new screenshot of the beginning of the event.

That's good to know about autoruns though. So I guess I could maybe use that to my advantage in this situation, but I don't want to loop the whole thing over again, just specific parts. I think this is probably just an issue of my 'Break Loops' placements, but I can't seem to figure out the correct areas to put them.
As Shaz mentioned, 'break loop' causes the event to skip ahead to the end of the loop that is being broken. Thus, anything between 'Break Loop' and the appropriate 'Repeat Above' will not happen. Therefore...

loop-loop0_LI (3).jpg


...anything in the red box will never occur, since it's between the 'break loop' and the end of the green loop. A better place for the break loop would be at the end of the yes branche, as indicated by the orange arrow.
I understand now! Thank you both so much, it looks like that worked perfectly! 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/loop-nesting-not-working.103946/