These properties controls the progress of the troll puzzle itself.
puzzle_phase [0 - 255] - this is a read-only property that tells you how far the troll puzzle has progressed. The game controls the property.
puzzle_phase_request [0 - 255] - Read-writeable request for a new puzzle phase. You can only request 10 — 99, all other requests are ignored. Those other phases are controlled by the game automatically.
It’s only possible to set a higher phase, never a lower. Read the currently effective phase by reading the puzzle_phase.
Reading puzzle_phase_request gives you the latest request (not necessarily something game cared about).
0 - Troll is asleep, game is running the intro sequence when player lands on troll's island
10 - Troll program starts running, your program has control over the troll now
11 - 99 - These phases are not used by the game itself - your program can use them if your troll puzzle has several different phases.
100 -Troll has started (player has pressed power button) and terraforming FX starts now!
101 - Troll is now terraforming!
The terraformer is a little cylinder that sits on the troll somewhere and that expands and spins when puzzle is solved, representing the start of the terraforming.
It is positioned somewhere on the troll and is automatically activated when player presses a power button. It’s behaviour is fully automatic, but you need to position it appropriately on your troll.
terraform_parent [-1 - 11]
terraform_x [-127 - +127]
terraform_y [-127 - +127]
terraform_rotation [0 - 255]
The properties work just like the equivalent sprite parameters.