Link to .capx file (required!):
Steps to reproduce:
1. The Orbit Global Variable is 0;
2. Player have a Plataform and ScroolTo Behaviors and is on Earth by event 1;
3. When Player collision to Sprite ChangePlanet (red color) is set 1 to Orbit Global Variable by event 3;
4. Player go to the Moon by event 2;
5. In the Moon, when Player collision to Sprite ChangePlanet (red color) is set 0 to Orbit Global Variable by event 4;
6. Player return to Earth.
The Player don't change to the Moon.
If I Toggle Disable the Event 4 the player go to the Moon after collision the Sprite ChangePlanet (red color).
The Player can change to the Earth or Moon many times as desired.
Internet Explorer: yes
Operating system & service pack:
Windows 7 Professional - 32 Bits
Construct 2 version: