There's a bit of cheating actually. It's a timer than can get shorter based on some events. Like on the happy side getting collectibles reduces the time, allowing for it to be generally longer so that the player have time to get some, but lose some time picking em up, I also make the time shorter if the player has generally a lot of energy and health, so that I dont waste the players time, I also remove some time after the player damages the evil side. I was generally trying to keep the pacing interesting. I'm not sure if you noticed but there is a flashing icon on the top left that flashes quicker when its about to switch, maybe the icon is not clear enough. Thanks for trying it out !