'LabelJump' inside a 'Conditional Branch'

Hello there!

For one of my events I tried to jump to a label inside multiple 'Conditional Branches'. I was expecting that every 'Else' will just be ignored after jumping inside a branch.

For just one branch this seems to be true but as soon as a second branch(or more) is added, the text message #3 will be shown:

[IMG]http://i1295.photobucket.com/albums/b637/m8r-827dmq/1_zps0526a54b.png[/IMG]

What really confused me was that after cutting&pasting the jump command inside a 'Show choices' command, the third text message did suddenly not show up, besides that the rest of the event wasn't altered at all...:

[IMG]http://i1295.photobucket.com/albums/b637/m8r-827dmq/2_zpsf20ecd02.png[/IMG]

I rewrote my original event, so that this 'bug'(or bad scripting on my side) is not a problem anymore (at least for my original event only).

Sadly this event's behavior doesn't seem to get out of my mind - I am already kind of frustrated as I can not for the live of me understand why it is doing this.

Can somebody help me to understand it, please?
I can't really explain what it's doing or not doing, but I think it's just really bad design to have a jump from outside a block to a point inside the block. It isn't going to go through and figure out where the block started or how deep it is, so it's going to lose track of what level of indent it SHOULD be at.


I just wouldn't do it.
Yeah, in future I will try to avoid LabelJumps where ever possible.

A shame I will never know why, while buggy, it always showed the same result - I was wondering if this could somehow be predicted... Maybe it's better not to know or else I might be inclined to use a LabelJump inside a branch again...

Thanks for the very quick response!
If I had the time, I'd step through it and figure out why. Unfortunately I'm pretty flat out at the moment, but if anyone else wants to give it a go and finds the reason, they can PM you 🙂


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/labeljump-inside-a-conditional-branch.22182/