Help in Conditional Branch

Hi guys can you help me in Conditional Branch

Im using Basic Game Time by Vlue

I want to make a door that open 6am to 6pm so what i did is that i use Conditional Branch

@>Conditional Branch:GameTime.hour? >= 5 and GameTime.hour? < 17

@>Control Switches:[0001] = ON

@>Control Switches:[0002] = OFF

: Else

@>Control Switches:[0002] = ON

@>Control Switches:[0001] = OFF

: Branch End

@>

And its on Parallel Process

My problem is that its not working the door is always open after 6pm,

in the door event condition i check the switch 1 is on, and the other event page of door is i check switch 2 is on and saying its close

And its not working, the door is always open

Can you help guys sorry for my english im not good at it
Please provide screenshots of your event - your description is missing a lot of info, including some of the most vital info for eventing, and we simply can't tell where you made mistakes.


Anyway, I would do it completely different, neither using parallel process or conditional branches but directy condition the door on time with multiple pages.
Thanks Andar i directly condition the door on time with multiple pages and now its working thanks

Original thread: https://forums.rpgmakerweb.com/threads/help-in-conditional-branch.43024/