Bilibin Treasury
Bilibin, the Bilibin Treasury and the Bilibin Barricade, three scenes that
share one overlay; the getters pick each scene's tables by
MainRoutineStateWork.next.
Bilibin is the town past Goma Cave, whose chief, Lord McCoy, has closed the
road to Kolima. Almost everything here turns on FLAG_KOLIMA_CURSE_LIFTED, set
in Kolima Forest when the party heals Tret: until then a man turned into a
tree stands at the entrance (Mind Read hears Help me... Somebody...), and
each villager has a line and a thought for either time. Seven doors open as
the party walks into them: the inn, three houses, the item shop, the weapon
and armor shop, and the Sanctum's double door.
Two ways lead into the Treasury, McCoy's Hidden Warehouse by its sign,
where Gust waits: the cave mouth at the town's west edge, behind ivy that
Whirlwind blows away, and a hole under the golden statue in front of the
weapon and armor shop, which Move or a push slides aside. Inside, a second
golden statue slides along a walkway between two pools.
The Bilibin Barricade is the road east to Kolima, shut by McCoy's wall of crates; the stack at its left end slides out and opens the way. By the river stand three trees, one on another's shoulders: the Gang of Three, children turned into trees by the curse. Once Saturos is beaten at Mercury Lighthouse the travelers from Imil have pushed them over to cross, and Jill's tree drifts in the river until Isaac pulls her ashore with Move. With the curse lifted they are children again, and Jill, if she was saved, gives Isaac a Hard Nut.



Events
scBilibinPushStatueOrCrates
Pushing a statue in Bilibin or the Bilibin Treasury, or the crates at the Bilibin Barricade, slides it one metatile ahead with the leader behind it, if the metatile is free.

scBilibinUpdateTreasuryStatueMetatiles
Move on the golden statue in the Treasury slides it up or down the walkway between the two pools, where Gust waits on the ledge to the east.

The statue rests either in its alcove at the top, metatile (14, 6), or at the walkway's foot, metatile (14, 9). The same work follows every push and every arrival: the metatile the statue stands on is walled off, the alcove when empty lets Isaac hop east or west across the pools, and the foot when empty lets him push the statue back up or hop south off the walkway.
scBilibinReadWarehouseSign
Searching the sign in the Bilibin Treasury.

McCoy's Hidden Warehouse Do Not Enter!
"McCoy's Hidden Warehouse / Do Not Enter!".
scBilibinHopAcross
Walking on into a gap from one of a few ledges, Isaac hops across it.
Walking on into a gap from one of a few ledges, Isaac hops across it: in the Treasury east or west across the pools from the statue's empty alcove, or south off the foot of the walkway; at the Bilibin Barricade north from metatile (14, 10), or west from metatile (8, 17) beside the crates.
scBilibinGustJoins
Talking to Gust in the Bilibin Treasury makes Gust, a Jupiter Djinni, join the party.

Its code is in bilibin.c.