Shrine of the Sea God Entrance
The Shrine of the Sea God east of Daila, in eleven rooms that share this
overlay (SceneIdShrineOfTheSeaGodEntrance to
SceneIdShrineOfTheSeaGodRightProng).
On the first visit Tavi is stuck on a ledge in the entrance and Riki cannot throw him the rope; Riki goes off to the side room by the plank bridge, and Lash ties the rope so Tavi climbs down. Past the crossroads, where the Djinni Breath is first seen, its footprints cross the room below and it is chased round a ledge (Breath's room) until the torch pushed against the north wall traps it. On the second visit, with Frost on the puddles, Move on the pillar over the hole, Lash, and the broken bridges whose planks drop the party into the stream, the party hops across the stones in the water, Reveal showing the seventh in the middle of the hexagon of rocks, to the island. The Sea God's Tear used on its crystal statue raises the water to the statue room, and three ladders more lead up to the Right Prong.

Events
scShrineOfTheSeaGodThrowRopeAgain
Back in the entrance, Riki tries to throw the rope up to Tavi again, misses and goes off.

Kraden joins the leader.
In shrine_of_the_sea_god.c, line 1407
scShrineOfTheSeaGodLashRope
Lash ties the boys' rope, Tavi climbs down and both meet the party.

In shrine_of_the_sea_god.c, line 1496
scShrineOfTheSeaGodCastSand
Casting Sand in the entrance turns Felix to sand as anywhere, and here also moves him onto the map's overhead layer.

That layer's metatiles here
(behaviour 232, ringed by metatiles 16 pixels down) mark out a winding way
under the ridge of rock round the south ladder, metatiles (13, 21) to (25,
23) and (21, 18) to (20, 27), reaching the floor west of the ridge, the
corridor south of it and the ledge east of it. Cast on the floor west of the
ridge, at metatile (17, 21), Felix sinks into a mound of sand; steered east,
then north, then east, the mound slides in under the ridge's rocky rim, comes
out on its east side and goes on east along the floor to the room's east wall
below the east ladder, still sand. Steered north off the way onto the floor
by the water, he rises out of the sand. Cast off the way, as by the south
ladder, he sinks and rises again in place a second later, whatever key is
held (fdPsynergySand).
In shrine_of_the_sea_god.c, line 2175
Its code is in shrine_of_the_sea_god.c.