I also have a script with day/night system and I made it so you rent a room for till 8 am of the day afterwards (Which works) then when you exit the room the door locks itself automatically and you have to rent another room if you want to sleep in the inn.
Now the problem. I rent a room and go into the room, fast forward time to 8 am of the day after and when I exit the room the door gets locked alone. (So far it works) Then I go to rent another room the random variable chooses a random room which is available but for some reason it's working 50% of the times it's like the switches in the event just get totally skipped.
At first I thought it was maybe lag but there is only 1 parallel event in the room so I don't think it's lag. I also tried putting wait after every switch maybe this way they work well but nope still skips them sometimes. The way I know the event worked is that after you are given x room a switch goes on that makes the inn keeper go on event page 2 which is just random words then at 8 am it goes back to first page.
I'll upload a screenshot with my current event maybe you gets can figure it out why it's making this problem.
The left part is the event which gets activated when I go near the reception and the right part is the parallel event. (It's page 1 and 2)
Thanks for the help maybe I can solve this problem.