Bit of help with a Conditional Branch

I'm a bit confused as to what I'm doing wrong and would like a little help in correcting the obvious misunderstanding I'm having.

So as to what I'm trying to accomplish;

So as soon as the Player activates the Grandfather Event (GE), the Event stores the X coordinate of the Player. If the Player is standing on tile (6,30) GE will move along Route A as Variable #0001 = 6. This is so GE's path isn't blocked if the Player just so happens to activate GE from (6,30). If the Player activates GE from any other tile it will follow Route B. (Ignore the second event page, as it's just a place holder for some text. Also, nothing comes after the final Set Movement Route on the event page.)

1.png

2.png



My problem;

When I get into game Variable #0001 stores correctly no matter which of the 4 tiles I activate GE from, but neither of the Conditional Branches will activate, which leads me to believe I have a simple misunderstanding of how to properly use it. So if anyone would to be so kind as to leave a quick explanation of what I'm doing wrong It would be most appreciated 🙂
On your A and B move routes, make sure you check "Wait for completion". That should fix it. 🙂
Could also use the Else branch capability so you didn't have to explicitly check for "not 6" but that's just for elegance and shouldn't change how it works.
@JGreene I want the Player to have control of their movement while this event is running, so the 'Wait for completion' option isn't really what I'm going for. Is there a way to do this without ticking that box? I might be able to switch to another page to set up a Parallel process, but I'd like to understand why this method isn't working, so I can have a better understanding of the actual engine.

@Peter Karsanow, I originally had it set up that way. I thought maybe for some reason it was stopping the event from running in the intended way, so I removed the Else Branch in favor of another If Branch. No luck obviously 😛

So I did some tinkering 'cause why not and now have this, which is the same thing just with the Wait commands to see if it'd do anything, which it did. Now, for some reason, B will activate if I'm standing on any tile besides (6,30), which it should, but A still refuses to activate. This is really confusing me now as I don't understand what's stopping it from working to begin with, so I really don't get why the Wait commands are doing anything at all.

3.png


Edit: Typo
The problem with not using "wait for completion" is that grandpa will skip over the first move route in favor of the next one in the list, unless you stop him. The only other thing I would recommend doing is to merge your long move route at the bottom into each of the A & B move routes, since grandpa ends up at the same square for each of those anyway. So, basically, have everything inside the conditional branch so that grandpa doesn't think he can just do what he wants.
Hahaha, I absolutely love how you rolled with the 'Grandpa'. Thanks to you I finally understand what's going on. So, basically, since neither Route A nor B is on Wait, even if their conditions are met, there's no actual pause to allow the movement to take place, and thus the long Move Route command automatically starts running. Quite the simple oversight on my part, how embarrassing 😛 That means if I just transfer the long Move Route into both the Conditional Branches (1 If and 1 Else Branch) then there's nothing to overwrite the movement when the game decides whether it's taking Route A or B. I also figured out the only reason Route B was activating when I added the 1 Frame Wait command was because the Wait allowed just enough time for Route B to only take its first step in its route, which actually caused the Grandfather Event to go slightly off course. Sorry for the summary, it's really for anyone else that has the same problem. Thanks for taking some of your time to help me out, I appreciate it 🙂

Original thread: https://forums.rpgmakerweb.com/threads/bit-of-help-with-a-conditional-branch.80275/