Bilibin Cave Entrance
The Bilibin Cave Entrance and Bilibin Cave are two areas between Bilibin and Imil that share this overlay.
The Bilibin Cave Entrance is SceneIdBilibinCaveEntrance. Bilibin Cave is
SceneIdBilibinCaveRapier and, beyond it, SceneIdBilibinCaveIce, whose far end
opens onto the World Map farther north.
No one speaks here. Each scene is a run of Psynergy puzzles. The getters pick
its tables by MainRoutineStateWork.next, and scInit restores what the party
has already solved in the scene being entered.
The Bilibin Cave Entrance is a clearing below a cliff, entered from the World
Map, with a waterfall to the west. The cave has two mouths in the cliff: a
low one at ground level (metatile (21, 14)) and a high one on a ledge to the
north-east (metatile (27, 7)). A sprout grows at the foot of the cliff
(ACTOR_SPROUT, metatile (8, 13)); Growth turns it into a vine Isaac can climb
to the ledge, and in by the high mouth (scBilibinCaveGrowPlant).
FLAG_BILIBIN_CAVE_ENTRANCE_SPROUT_GROWN keeps it grown until the party leaves
the Bilibin Cave Entrance, into the cave or out to the World Map, since both
are other areas.
The cliff-top path passes just above the low mouth, and its metatiles there
switch the mouth's way in off and on again (scBilibinCaveCloseLowerCaveMouth,
scBilibinCaveOpenLowerCaveMouth).
Inside, in SceneIdBilibinCaveRapier, the high mouth leads to the chest of the
Elven Rapier. Coming back later with Reveal, the party finds a way through
the wall beside that chest (scBilibinCaveRevealHiddenPath), and
scBilibinCaveHideRevealedPath closes it again when Reveal wears off. Beyond
is a small room of two torches, the west one cold and the east one lit, with
a little fire burning in the doorway between them (ACTOR_RAPIER_ROOM_FIRE).
Douse puts it out for good (FLAG_BILIBIN_CAVE_SECOND_FIRE_DOUSED), and the
doorway leads to the cave's two last chests, a Psy Crystal and Water of Life.
SceneIdBilibinCaveIce is the cold part of the cave on the way to Imil, full
of ice pillars, with puddles, a fire and burning torches. Frost freezes a
puddle into an ice pillar, but next to a fire or a torch the ice melts
straight back (scBilibinCaveMeltFrostBack).
The first puddle lies beside a little fire (metatile (17, 14)). Douse on the
fire puts it out (FLAG_BILIBIN_CAVE_FIRST_FIRE_DOUSED), and the puddle
freezes by itself into a pillar, whose top the party hops across.
The second puddle lies beside a lit torch near the Vial's chest, which cannot be moved, and Frost on it always melts back.
The third puddle starts as an ice pillar (metatile (36, 23)), east of a pair
of torches that can be pushed or moved with Move (ACTOR_THIRD_TORCH and
ACTOR_FOURTH_TORCH). Set beside it, on metatile (35, 23), either torch melts
it into a puddle, and the metatiles north and south of it become hop squares,
so the party can jump over the puddle and go on. Take the torch away and it
freezes again (scBilibinCaveUpdateThirdPuddleFromTorches).
FLAG_BILIBIN_CAVE_THIRD_TORCH_BY_PILLAR and
FLAG_BILIBIN_CAVE_FOURTH_TORCH_BY_PILLAR remember which torch stands there,
and FLAG_BILIBIN_CAVE_THIRD_PUDDLE_MELTED that the pillar has melted. So
coming back from SceneIdBilibinCaveRapier puts the torches and the pillar
back. Leaving Bilibin Cave resets them.
Nine more pieces of ice only stand there: five pillars from
ACTOR_FIRST_ICE_PILLAR and four lower pieces from ACTOR_FIRST_LOW_ICE.
Snow has blown in at the cave's mouth to the World Map, the way out to Imil,
around BILIBIN_CAVE_ICE_WORLD_MAP. Walking onto it Isaac starts leaving
footprints (scBilibinCaveStartFootprints), and walking off it stops them
(scBilibinCaveStopFootprints).
Its chests hold a Vial, a Psy Crystal and Water of Life.

Events
scBilibinCaveCloseLowerCaveMouth
Nothing visible happens when Isaac, on the grassy path along the cliff top from the vine toward the high cave mouth at the Bilibin Cave Entrance, steps onto the stretch drawn just above the low mouth, metatiles and.
Nothing visible happens when Isaac, on the grassy path along the cliff top from the vine toward the high cave mouth at the Bilibin Cave Entrance, steps onto the stretch drawn just above the low mouth, metatiles (20, 13..14) and (22, 13..14). The game quietly turns off the low mouth's way into the cave, metatile (21, 14), which lies between them in the map, so that walking along the path over it does not take him in.
scBilibinCaveOpenLowerCaveMouth
Nothing visible happens when Isaac walks on along the cliff-top path past that stretch at the Bilibin Cave Entrance, metatiles and.
Nothing visible happens when Isaac walks on along the cliff-top path past that stretch at the Bilibin Cave Entrance, metatiles (19, 12..13) and (23, 12..13). The game turns the low mouth's way into the cave, metatile (21, 14), back on.
scBilibinCaveGrowPlant
Growth on the sprout at the foot of the cliff at the Bilibin Cave Entrance (metatile) grows it into a vine up the cliff, which Isaac can climb to the ledge and the high cave mouth.

Growth on the sprout at the foot of the cliff at the Bilibin Cave Entrance (metatile (8, 13)) grows it into a vine up the cliff, which Isaac can climb to the ledge and the high cave mouth.
Its code is in bilibin_cave.c.