# Mission 012 played through (plans/briefs/world012.md).
wait 30
expect mission = 12
expect lives >= 3
# 1. Push the crate four cells -Z to the red dot under T1 (it stops at T1's face), climb it.
go 48.00 62.89 tol 0.05 max 400
go 48 62 jump 1.4
until ground = 1
expect y >= 1.95
go 48 59.5 jump 3
until ground = 1
expect y >= 3.95
# 2. Into the alcove (z 50), hold the crate (54) and pull it two cells -X to the red dot.
go 52 52
go 52 50 tol 0.1
go 52.95 50 tol 0.03
face 90
hold 10 crouch
# Pulled two cells, 54 -> 52, at the original's pull speed (CaisseGetMove(3): 26 px over the
# 20-tick ramp, then 3 px a tick: 128 px in 54 ticks, 162 frames); it stops when he lets go.
hold 162 crouch down
crate 52 4 50 tol 0.06 max 60
expect x <= 51.2
go 52 50 jump 1.4
until ground = 1
expect y >= 4.95
go 52 47.5 jump 3
until ground = 1
expect y >= 6.95
# 3. The floor crate two cells -Z to the red dot under T3, the shelf's crate pushed -X onto it.
go 48 42
go 48.00 38.89 tol 0.05 max 300
go 51 39.4
face 0
go 51 38 jump 1.3
until ground = 1
expect y >= 7.95
go 48.89 38.00 tol 0.05 max 300
go 48 38 jump 1.5
until ground = 1
expect y >= 8.95
# Centred on the crate first: off x 48 his body's corner is under the block over x 49 (y 11).
go 48 37.9 tol 0.05
go 48 35.5 jump 3
until ground = 1
expect y >= 10.95
# 4. Three crates onto the red dot under T4: along the floor (-Z), off the one-block shelf (+X),
#    off the two-block shelf (-X).
go 52 30
go 52.00 26.89 tol 0.05 max 300
go 49.6 27.4
face 0
go 49.6 26 jump 1.3
until ground = 1
expect y >= 11.95
go 51.11 26.00 tol 0.05 max 300
go 50.6 27.6
go 54.5 27.6
face 0
go 54.5 26 jump 1.3
until ground = 1
expect y >= 12.95
go 52.89 26.00 tol 0.05 max 300
go 52 26 jump 1.5
until ground = 1
expect y >= 13.95
# Centred on the crate first, as at the first step: off x 52 his body's corner meets the ledge over
# x 53 and cuts the jump short.
go 52 25.9 tol 0.05
go 52 23.5 jump 3
until ground = 1
expect y >= 15.95
# The red arrow on T4 (no treasures here): the win cheer, then the world's hub.
go 49 18 until exit = 1
until mission = 10 max 900
expect lives >= 3
expect phase = Play
wait 120
