Skip to Content
The Alchemy Project

Kolima Forest Floodgate

Kolima Forest's pool above the floodgate, the fourth of the forest's five scenes.

Kolima Forest's pool above the floodgate (SceneIdKolimaForestFloodgate), the fourth of the forest's five scenes. The party comes in from the cliffs to the west (SceneIdKolimaForestCliff) and goes on by the path north to Tret (SceneIdKolimaForestTree).

A river pool fills most of the scene, with five logs floating on it. At the bottom of the scene, by the floodgate and a sign that reads "Do not touch Floodgate Switch!", the Floodgate Switch drains the pool and fills it again. Drained, the pool is a grassy riverbed with the logs lying on it, and walking into a log rolls it ahead until it hits something. Filled, the logs float where they were left, and Isaac hops across them from log to log; from the north bank he can jump out onto one. Rolled into the right places, they make a way across to the chest with a Fur Coat on the north-east bank. A lone upright log on the grass west of the pool slides two metatiles west, or back east, when walked into. The forest keeps its cursed colours until Tret lifts the curse (FLAG_KOLIMA_CURSE_LIFTED).

The water level, the bank log's place and where each log lies are kept in SceneLocalState (KolimaForestFloodgateWaterHigh, KolimaForestFloodgateBankLogWest and KolimaForestFloodgateLogs), so they survive a battle.

The metatiles under a log are METATILE_BEHAVIOR_JUMP_FORWARD while it floats, which is what makes the leader hop across it, and METATILE_BEHAVIOR_WALL while it lies on the riverbed (scKolimaForestFloodgateMarkLogMetatiles), which scKolimaForestFloodgateCheckLogFits also treats as taken.

Flipping the switch while the pool is full lifts the floodgate: water churns out through it (SPLASH_ANIMATION_CHURN, SE_WATER_DRAIN) and the pool turns to riverbed a line at a time, at random. Flipping it back drops the gate in a burst of spray (SPLASH_ANIMATION_BURST) and the water comes back the same way.

The whole of Kolima Forest Floodgate, cursed, as the game draws it
Cursed

Events

scKolimaForestFloodgatePushLog

With the pool above Kolima Forest's floodgate drained, walking into a log on the riverbed rolls it ahead until it meets the bank or another log, with the view following it, and it stays where it stops.

With the pool above Kolima Forest's floodgate drained, walking into a log on the riverbed rolls it ahead until it meets the bank or another log, with the view following it, and it stays where it stops, as it plays
With the pool above Kolima Forest's floodgate drained, walking into a log on the riverbed rolls it ahead…

Walking anywhere on the riverbed runs this, but only a log right ahead of Isaac moves; the riverbed is then given back its own metatiles and the logs' metatiles made solid where they now lie.

In kolima_forest_floodgate.c, line 210

scKolimaForestFloodgateJumpSouth

With the pool above Kolima Forest's floodgate full, walking south off the north bank at metatile jumps Isaac two metatiles out onto a floating log, when one lies there.

With the pool above Kolima Forest's floodgate full, walking south off the north bank at metatile jumps Isaac two metatiles out onto a floating log, when one lies there, as it plays
With the pool above Kolima Forest's floodgate full, walking south off the north bank at metatile jumps Isaac…

With the pool above Kolima Forest's floodgate full, walking south off the north bank at metatile (10, 7) jumps Isaac two metatiles out onto a floating log, when one lies there; over open water he does not jump.

In kolima_forest_floodgate.c, line 222

MsgKolimaDoNotTouchFloodgate

Churns out as the gate lifts and bursts as it drops shut.

Churns out as the gate lifts and bursts as it drops shut, as it plays
Churns out as the gate lifts and bursts as it drops shut, as it plays

"Do not touch Floodgate Switch!"

In KolimaForestFloodgateCues

scKolimaForestFloodgateFlipFloodgateSwitch

Searching the Floodgate Switch, on the bank by Kolima Forest's floodgate west of the sign (metatile), flips it.

Searching the Floodgate Switch, on the bank by Kolima Forest's floodgate west of the sign (metatile), flips it, as it plays
Searching the Floodgate Switch, on the bank by Kolima Forest's floodgate west of the sign (metatile), flips…

Isaac flipped the switch.

Searching the Floodgate Switch, on the bank by Kolima Forest's floodgate west of the sign (metatile (19, 28)), flips it: "Isaac flipped the switch." The view moves to the gate. If the pool is full, the gate lifts with water churning out below it and the pool drains away a line at a time; if it is drained, the gate drops shut in a burst of spray and the pool fills again the same way.

In kolima_forest_floodgate.c, line 376

scKolimaForestFloodgatePushBankLogWest

Walking west into the upright log on the grass west of Kolima Forest's pool, from its east side (metatiles to), shoves it two metatiles west, to column 4, with Isaac following it a step.

Walking west into the upright log on the grass west of Kolima Forest's pool, from its east side (metatiles (7, 9) to (7, 12)), shoves it two metatiles west, to column 4, with Isaac following it a step.

In kolima_forest_floodgate.c, line 497

scKolimaForestFloodgatePushBankLogEast

Walking east into the upright log on the grass west of Kolima Forest's pool, from its west side (metatiles to), shoves it two metatiles east, back to column 6, with Isaac following it a step.

Walking east into the upright log on the grass west of Kolima Forest's pool, from its west side (metatiles (3, 9) to (3, 12)), shoves it two metatiles east, back to column 6, with Isaac following it a step.

In kolima_forest_floodgate.c, line 528

Its code is in kolima_forest_floodgate.c.