Skip to Content
The Alchemy Project

Tree Rooms

Tret Tree's rooms.

Tret Tree's rooms (SceneIdTreeRooms): the hollow inside of Tret, the holy tree of Kolima Forest, where the party come to face his wrathful side. Six rooms are stacked inside the trunk. Doors in the four upper floors lead out onto his branches (SceneIdTretTreeBranch, tret_tree_branch.c), where vines climb from one floor's door to the next.

The party come in from Kolima Forest (kolima_forest_tree.c) by the door at the south end of the entrance room (metatile (30, 16)), a maze of root walls with a round hole in the middle of its floor (metatile (30, 9)). A vine near its north wall (metatile (26, 4)) climbs to the second floor.

The floors above are spider webs stretched over holes, with yellow leaves lying on them. Isaac crosses a web by jumping two metatiles at a time from leaf to leaf (scTreeRoomsJumpOffLeaf). The first time he lands on a leaf it tears. The next time it breaks, and he falls through into the room below, straight under the leaf (scTreeRoomsStepOnLeaf). Four leaves are torn from the start.

The second floor's web holds nine leaves, and its west and east doors lead out onto the branches. Its leaves drop Isaac into the entrance room.

The third floor, entered from the branches by its south or east door, has a leaf on a web either side of the Healing Ring's chest, a Psynergy Stone by its north wall and a vine up to the fourth floor. Its leaves drop him to the second floor. A third web, in the south-west, has only a small spider on it.

The fourth floor is bare, with a hole in the middle of its floor, the top of the vine from the third floor, a west door and a south door.

The fifth floor, the highest, is one great web of ten leaves beside the Nut's chest, entered by its west or east door. Its leaves drop him to the fourth floor.

The leaf in the middle of the fifth floor's web is the way to Tret. It drops Isaac through the holes in the fourth, third and second floors and the entrance room, in turn, into Tret's room under the entrance room, where his face looks out of the north wall (scTreeRoomsLandFromFall).

Walking up to the face starts the battle with Tret (scTreeRoomsFightTret). Afterwards he comes to himself, finds he turned the people of Kolima into trees, fails to free them and sinks away, and a vine grows in the middle of his room (scTreeRoomsPlayPostBattleConversation). From then on that vine joins his room and the hole in the entrance room's floor. FLAG_TRET_DEFEATED records the battle won and the conversation over. In Kolima Forest it lets Hermes' Water heal Tret and lift the curse.

The light inside the tree slowly swells and fades (scTretPaletteUpdateMapTint), and casting Reveal stops it.

Each leaf has a temporary flag of its own, set when it tears (FLAG_TRET_TREE_SECOND_FLOOR_LEAF_A_TORN and the others). The metatiles of a leaf carry the number of the entrance its fall lands at, so the step cues name them by those entrances. A torn leaf is redrawn after a battle (FLAG_KEEP_PARTY_POSITION) from TreeRoomsMapPatches.

The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms as the game draws it
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated
The whole of Tree Rooms, after Tret was defeated, as the game draws it
After Tret was defeated

Events

scTreeRoomsFightTret

Walking up to Tret's face in the north wall of the lowest room in Tret Tree (metatiles to) starts the battle with him.

Walking up to Tret's face in the north wall of the lowest room in Tret Tree (metatiles to) starts the battle with him, as it plays
Walking up to Tret's face in the north wall of the lowest room in Tret Tree (metatiles to) starts the battle…

Hm HROOOM!!!

Walking up to Tret's face in the north wall of the lowest room in Tret Tree (metatiles (9, 5) to (11, 5)) starts the battle with him. He roars "Hm HROOOM!!!", Garet, Ivan and Mia, once she has joined, gather beside Isaac before him, and his face turns wrathful: "You hoped to find my kindly self?" The party start back, and he swears they will all become trees before the screen breaks into bars for the battle. It runs only while FLAG_TRET_DEFEATED is clear. The battle returns to TREE_ROOMS_AFTER_FIGHT_TRET, where the setup plays scTreeRoomsPlayPostBattleConversation.

In tree_rooms.c, line 539

scTreeRoomsCastReveal

Casting Reveal anywhere inside Tret Tree stops the light's slow swell and fade, leaving the rooms' colours as they are, until Isaac next goes through a door, up or down a vine or through a leaf into another room.

Casting Reveal anywhere inside Tret Tree stops the light's slow swell and fade, leaving the rooms' colours as they are, until Isaac next goes through a door, up or down a vine or through a leaf into another room, as it plays
Casting Reveal anywhere inside Tret Tree stops the light's slow swell and fade, leaving the rooms' colours as…

In tree_rooms.c, line 1277

scTreeRoomsStepOnFifthFloorCenterLeaf

The way to Tret.

The way to Tret: the fall goes on through every room below it (scInit) into Tret's room.

In tree_rooms.c, line 430

scTreeRoomsStepOnFifthFloorFarSoutheastLeaf

Below the Nut's chest.

In tree_rooms.c, line 506

scTreeRoomsJumpOffLeaf

Walking while Isaac stands on a leaf in Tret Tree makes him jump two metatiles that way, over the web to the next leaf, wherever there is room to land.

Walking while Isaac stands on a leaf in Tret Tree makes him jump two metatiles that way, over the web to the next leaf, wherever there is room to land (fdTryJumpForward). Once he has jumped, LastLeaf is cleared, so that the leaf he lands on counts as a fresh landing.

In tree_rooms.c, line 518

scTreeRoomsStepOnFifthFloorNortheastLeaf

West of the Nut's chest.

In tree_rooms.c, line 455

scTreeRoomsStepOnFifthFloorSouthwestLeaf

Its fall lands not straight below but where the west leaf's does, two metatiles further north (metatile).

Its fall lands not straight below but where the west leaf's does, two metatiles further north (metatile (28, 26)).

In tree_rooms.c, line 481

scTreeRoomsStepOnSecondFloorLeafC

The leaf Isaac can jump to from the floor by the west door.

In tree_rooms.c, line 354

scTreeRoomsStepOnThirdFloorEastLeaf

East of the Healing Ring's chest, below the vine to the fourth floor.

In tree_rooms.c, line 420

scTreeRoomsStepOnThirdFloorWestLeaf

West of the Healing Ring's chest.

In tree_rooms.c, line 411

Its code is in tree_rooms.c.