# Mission 057 played through (plans/briefs/world057.md).
wait 30
expect mission = 57
# G, the gallery (x 76-78, walk 10): seven helicopters over its middle lane swing a cell across
# and drop a shot at each end of their swing: the even ones (z 75, 71, 67, 63) on x 76-77, the
# odd ones (z 73, 69, 65) on x 77-78. Past each along the lane its shots never reach (x 78 / x
# 76), changing lanes halfway between them.
go 78 77
go 78 74 tol 0.15
go 76 74 tol 0.15
go 76 72 tol 0.15
go 78 72 tol 0.15
go 78 70 tol 0.15
go 76 70 tol 0.15
go 76 68 tol 0.15
go 78 68 tol 0.15
go 78 66 tol 0.15
go 76 66 tol 0.15
go 76 64 tol 0.15
go 78 64 tol 0.15
go 78 61
# E, the lift shaft: L1 (78, 57) from beside it at its foot (clear of the shots of the helicopter
# swinging at (76-77, 58)) up six, a jump north over the gap onto the ledge (walk 16); L2 (78, 54)
# from the ledge up four, a jump north over the gap onto the top platform (walk 20).
go 78.65 57.4
go 78.65 57 tol 0.1
face 270
lift 78 16 57 max 600
lift 78 10 57 max 600
go 78 57 tol 0.1
until y >= 15.95 max 400
face 0
go 78 55.2 jump 2.2 tol 0.25
until ground = 1
expect y >= 15.95
go 78 55.35 tol 0.1
face 0
lift 78 20 54 max 600
lift 78 16 54 max 600
go 78 54 tol 0.1
until y >= 19.95 max 400
go 78 52.2 jump 2.2 tol 0.25
until ground = 1
expect y >= 19.95
# C2, the corridor west (z 50-52, walk 20): its tank swings across it at x 67 and fires across it
# once at each turn (63 ticks into its stop), the shot crossing the corridor: past its line 180
# frames after it reaches z 52, at z 50 between that turn's shots (the original's 2 cells/s,
# BD-0016; frames 140-220 pass, autoplay_search).
go 72 51
go 68.4 51 tol 0.1
near 67 20 52 0.2 max 600
wait 180
go 63 51
# H, the hall: from the east balcony (walk 20) a jump west over the gap onto the slime pillar;
# treasure (55, 20, 52) under the drop of a helicopter, taken just after its shot falls there;
# treasure (52, 20, 50) along z 51 between the drops; off the pillar west to the floor (walk 14).
go 59.6 51
go 59.6 52 tol 0.1
face 270
go 56.2 52 jump 2.0 tol 0.25
until ground = 1
expect y >= 19.95
go 56.2 52 tol 0.1
near 55 21 52 0.5 max 600
clear 55 21 52 1.0 max 200
go 55.4 52 tol 0.1
go 54 51
go 52.4 51
go 52 50.3 tol 0.15
go 50 50.3 tol 0.15
until ground = 1 max 300
expect y <= 14.05
until treasures = 2 max 120
# Through the door "2" (x 45, z 54-56) into the corridor W: its tank swings across it at x 40,
# passed the same way (84 frames after it reaches z 56: 60-108 pass, autoplay_search, since his
# walk eases in as the original's, BD-0059), then
# across the far shelf tank's line (z 53) to the ferry's lane.
go 46.5 55
go 41.4 55 tol 0.1
near 40 14 56 0.2 max 600
wait 84
go 33 55
go 31.5 51.7 tol 0.1
# F, the ferry over the water pit: three pairs of lifts in step (2 x 3, z 52-54): A from the east
# shelf (x 27-28) west to 22-23, where B (20-21) meets it; B back to 16-17, where C (14-15) waits;
# C west to 9-10 by the far shelf. Ridden along z 51.7, off the line (z 53) of the tank on the
# far shelf.
go 29.35 51.7 tol 0.1
face 270
lift 22 14 52 max 900
lift 28 14 52 max 900
go 27.6 51.7 tol 0.1
lift 22 14 52 max 600
go 20.6 51.7 tol 0.1
lift 16 14 52 max 600
go 14.6 51.7 tol 0.1
lift 9 14 52 max 600
go 7.2 51.7 tol 0.15
expect y >= 13.95
# The stair (x 3-5, z 40-45): six steps of two, a jump each, up to the drink room D (walk 26).
go 4 48.5
go 4 46.3 tol 0.1
face 0
go 4 45 jump 1.5 tol 0.2
until ground = 1
go 4 44 jump 1.5 tol 0.2
until ground = 1
go 4 43 jump 1.5 tol 0.2
until ground = 1
go 4 42 jump 1.5 tol 0.2
until ground = 1
go 4 41 jump 1.5 tol 0.2
until ground = 1
go 4 40 jump 1.5 tol 0.2
until ground = 1
expect y >= 25.95
# Through D to the gallery east (x 11-47, z 32-34, walk 26) along its middle (z 33), between the
# girder columns, onto the ledge high in the tree room (x 46-48) and down to its floor (walk 14).
go 4 37
go 9 33
go 45 33
go 49.5 33
until ground = 1 max 300
expect y <= 14.05
# X, the tree room: the lollipop (62, 14, 40) in the east wall's alcove and its two eggs; the egg
# by the tree; a licked jump (four up) onto the slime tree (walk 18) at z 35, clear of its bumps.
# Seven helicopters swing over it and drop shots at the ends of their swings: treasure 3
# (52, 18, 36), under one of the drops, taken just after its shot; the arrow (54, 18, 36).
# Round the tree's base (x 51-55, z 34-38) along its north side first.
go 56 32.9
go 59 37
go 60.6 40
go 61.8 40 tol 0.08
hold 2 action
go 61.6 39.4 tol 0.15
go 61.6 40.6 tol 0.15
go 57 38
go 56 37 tol 0.2
go 57.4 35 tol 0.15
face 270
go 55.2 35 jump 1.7 tol 0.25
until ground = 1
expect y >= 17.95
go 53.4 35.3 tol 0.15
near 52 19 36 0.5 max 600
go 52.6 36 tol 0.1
go 52 36 tol 0.1
until treasures = 3 max 120
go 54 36 until exit = 1
until mission = 50 max 900
expect phase = Play
wait 60
