Skip to Content
The Alchemy Project

Magma Rock Cliff

The cliff above is four screens on one map, which the code calls levels and tells apart by the entrance Felix came in by.

The cliff above (SceneIdMagmaRockCliff, with the Salamander Tail's chest) is four screens on one map, which the code calls levels and tells apart by the entrance Felix came in by: the low east and low west halves of the cliff, then the high west and high east halves above them. Growth grows vines up its walls, Lash ties a rope, two dark pillars crumble under Felix's feet, more statues spit fire or lift him, and on the high east wall three pairs of statues throw fireballs that knock him off it. At the top (SceneIdMagmaRockSummit) Burst on the statue east of the great fire makes it spit a fireball into the fire, and the blast opens the way into Magma Rock.

The whole of Magma Rock Cliff as the game draws it
The whole of Magma Rock Cliff as the game draws it
The whole of Magma Rock Cliff as the game draws it
The whole of Magma Rock Cliff as the game draws it
The whole of Magma Rock Cliff as the game draws it
The whole of Magma Rock Cliff as the game draws it

Events

scMagmaRockStartPushingPillar

Nothing visible happens as Felix starts to push one of the striped stone pillars, with Move or by walking into it.

Nothing visible happens as Felix starts to push one of the striped stone pillars, with Move or by walking into it, as it plays
Nothing visible happens as Felix starts to push one of the striped stone pillars, with Move or by walking…

The push itself is the field engine's. The game first takes the pillar out of the map, so that its metatile is plain ground under it as it slides. At the entrance and on the low west and low east levels it also clears the walls the map's upper layer keeps along the pillars' paths (copied from spare metatiles off the screen), so that the pillar can slide along them; scMagmaRockFinishPushingPillar puts them back.

In magma_rock.c, line 499

scMagmaRockFinishPushingPillar

A striped stone pillar comes to rest after a push, and stands in the way again where it stopped.

A striped stone pillar comes to rest after a push, and stands in the way again where it stopped, as it plays
A striped stone pillar comes to rest after a push, and stands in the way again where it stopped, as it plays

One that has reached the place the climb needs stays there when the party comes back: at the entrance the pillar on the statues' ledge pushed west out of the way, to metatile (15, 25), and the one on the ledge above pushed east, to metatile (16, 22), before the climb to the cliff; on the cliff the high west level's second pillar at metatile (27, 33), the high east level's at (55, 35), the low west level's at (16, 36), and the low east level's two at (40, 37) and (35, 38). The game stands the pillar in the map again, puts back the upper layer's walls scMagmaRockStartPushingPillar cleared, and sets the pillar's flag.

In magma_rock.c, line 560

scMagmaRockReadyHighWestStatue

Nothing visible happens when Felix steps onto the metatile just behind the yellow statue on the cliff's high west level (metatile).

Nothing visible happens when Felix steps onto the metatile just behind the yellow statue on the cliff's high west level (metatile), as it plays
Nothing visible happens when Felix steps onto the metatile just behind the yellow statue on the cliff's high…

Nothing visible happens when Felix steps onto the metatile just behind the yellow statue on the cliff's high west level (metatile (15, 34)); from then on Burst cast at the statue wakes it, so that it spits a fireball east at the cracked pillar. The game makes the statue's metatile answer Burst as a statue that spits fire, and sets FLAG_HIGH_WEST_STATUE_READY.

In magma_rock.c, line 1564

scMagmaRockPushPillarWest

Felix walks west into the striped stone pillar beside the cracked pillar on the cliff's low east level, from any of metatiles to, and pushes it a metatile west along a grey track.

Felix walks west into the striped stone pillar beside the cracked pillar on the cliff's low east level, from any of metatiles to, and pushes it a metatile west along a grey track, as it plays
Felix walks west into the striped stone pillar beside the cracked pillar on the cliff's low east level, from…

Felix walks west into the striped stone pillar beside the cracked pillar on the cliff's low east level, from any of metatiles (37, 38) to (40, 38), and pushes it a metatile west along a grey track; after four pushes it stands on the grey square at the track's end, metatile (35, 38), and stays there when the party comes back. The game moves the pillar as scMagmaRockPushPillarEast does.

In magma_rock.c, line 1729

Its code is in magma_rock.c.