Altin
Altin, the mining village north of the Alpine Crossing, in two scenes that
share this overlay and the area name Altin: the village outdoors
(SceneIdAltin), and its inn, shops and houses (SceneIdCottageRoomsD), a rooms
map each in its own camera box. The getters pick each scene's tables by
MainRoutineStateWork.next, and both share one exit table. A third, empty set
of tables serves any other scene.
When the party comes in from the World Map on the east, the village is under
water. Since the day the gems fell from the sky, water beasts have flooded
it, and one still spits water at the houses from the village's west edge.
Walking up to it (scAltinScareOffBeast) makes it stop, cry out and hop away
into the mine for good. Its spray and sound start in scAltinApplyWaterLevel,
and it is drawn with its green and blue swapped (SPRITE_COLOR_RBG).
The water goes down as the party beats the beasts in the mine below, which
the area names call Altin Peak (altin_peak.c). Each beaten beast opens a
drain (FLAG_ALTIN_MINE_FIRST_DRAIN to _THIRD_DRAIN), and the village shows
three stages: the water dropped once, twice, or drained (the second and third
drains both). scInit turns the drains into three scene temp flags, and
scAltinApplyWaterLevel copies that stage's picture of the village, with its
metatiles, over the map and leaves out whoever would be standing in the
water.
As the water drops, three villagers come home one by one, the two families sheltering in the inn's Room One and Room Two go home, and the shops open again: the item shop after the first drop, the armor shop after the second, and the weapon shop, whose owner waits in the inn, once the village is drained. Until then the armor and item merchants wait outside above the flood.
Every villager has two sets of lines and thoughts, before and after
FLAG_HYDROS_STATUES_DEFEATED, when the party has beaten the hydros statues at
the bottom of the mine. The row that needs the flag clear comes first in each
table, so the first row that matches picks the time.
Walking into a door (scAltinEnterDoor) leads into the inn, under its sign on
the north-west ledge; the Sanctum, by the wide double door in the cliff below
the stone statue; the item shop, by its small door in the east cliff; the
armor shop, the house with a round red sign; the weapon shop, by the door
with a sword sign at the south; or one of three family houses. Three doorways
lead down into the mine (scAltinWalkIntoMine): the rail tunnel in the north
cliff, the doorway in the middle of the village where the rails run south,
and one in the west cliff by the water beast. The stone statue on the top
ledge stands in front of a fourth way in, until Move shifts it aside
(scAltinCheckStatueMoved). Coming back out of the Sanctum, the area name is
not shown again.
In the inn a cook from Xian paces between his pots (CottageRoomsDCookScript).






Events
scAltinAskAboutFirstVisit
The bald strong man by the east entrance asks whether this is the party's first visit to Altin, and tells how the flood has changed it.

Is this your first time to visit Altin?
Once the hydros statues are beaten he only thanks them.
MsgAltinHowCanThoseCreaturesSpitUp
A stocky strong man flexing his arms.

How can those creatures spit up so much water?
In AltinCues
MsgAltinHowHorribleMyHouseIsTotally
A woman with fair hair in a white apron.

How horrible! My house is totally coated in monster spit.
In AltinCues
MsgAltinEvenTheMineIsSubmergedNo
A burly grey-haired man, who wanders.

Even the mine is submerged. No one can enter it.
In AltinCues
MsgAltinIfWeCouldJustDestroyThe
A bent old man with a cane.

If we could just destroy the monsters, all the water should drain away.
In AltinCues
MsgAltinAltinAlwaysUsedToRunShort
A woman in a green dress.

Altin always used to run short on water. Now we're all flooded in. Either way, we just have bad luck when it comes to water.
In AltinCues
scAltinTalkToThirstyOldWoman
The old woman on the west ledge complains that nobody can drink the water the monsters spew.

Are you the ones who defeated the water beasts?
We can't drink the water the monsters spew! It's disgusting. …
While the water beast is still there, the camera pans south to it spitting water and back before she shakes her head. Once the hydros statues are beaten, she asks instead whether the party defeated the water beasts.
MsgAltinTheWatersAroundHereHaveSubsided
Three villagers come back as the water recedes.

The waters around here have subsided... I wonder if the holes in the mine allowed the water to drain.
In AltinCues
MsgAltinTheWaterBeastsLookedExactlyLike
A bald, bare-chested strong man.

The water beasts looked exactly like Altin's guardian statues... Could the guardian statues have turned into the monsters?
In AltinCues
MsgAltinTheWatersHaveFlushedOutTons
A bent old man with a cane, who wanders.

The waters have flushed out tons of rock from the mine. Maybe now we'll find gems and ore we've never even seen before.
In AltinCues
MsgAltinYouCameToAltinAtA
A bald, bare-chested strong man, by Mind Read.

You came to Altin at a bad time. You're terribly unlucky, huh?
In AltinCues
MsgAltinItsAlmostLikeTheyreTurningThe
A stocky strong man flexing his arms, by Mind Read.

It's almost like they're turning the air itself into water!
In AltinCues
MsgAltinImGladISavedMyVery
A woman with fair hair in a white apron, by Mind Read.

I'm glad I saved my very first love letter, but what about everything else?
In AltinCues
MsgAltinEvenTheToughestOfMinersCant
A burly grey-haired man, who wanders, by Mind Read.

Even the toughest of miners can't do much in this water.
In AltinCues
MsgAltinIfTheWaterBeastsContinueTo
A bent old man with a cane, by Mind Read.

If the water beasts continue to flood us... our entire village will be submerged.
In AltinCues
MsgAltinWaterIsNiceButNotWhen
A woman in a green dress, by Mind Read.

Water is nice, but not when it's flooding your home.
In AltinCues
MsgAltinUghTheMonstersSpewedOutAll
An old woman with white hair, by Mind Read.

Ugh. The monsters spewed out all of this water. It smells foul...
In AltinCues
MsgAltinAsTheMonstersGoAwayThe
Three villagers come back as the water recedes, by Mind Read.

As the monsters go away, the waters recede. Maybe all of the monsters will disappear pretty soon...
In AltinCues
MsgAltinComeToThinkOfItIt
A bald, bare-chested strong man, by Mind Read.

Come to think of it, it looked like our guardian statue was spewing water.
In AltinCues
MsgAltinItllBeBetterThanDiggingUp
A bent old man with a cane, who wanders, by Mind Read.

It'll be better than digging up more of those durned ancient relics.
In AltinCues
scAltinTalkToArmorMerchant
Until the second drop, the armor merchant waits on the west ledge beside his flooded shop, saying his store is submerged.

My store is submerged... I want to sell armor, but there's no way.
How about it? Aren't you impressed by our vast armor selection?
After it he sells from the counter in the armor shop, the house with the round red sign, when spoken to across it; from the side he is glad to sell armor again, or, once the hydros statues are beaten, asks if the party isn't impressed by his selection.
MsgAltinAllMyArmorInventoryIsRusting
The armor merchant on the west ledge, by Mind Read.

All my armor inventory is rusting even as we speak.
In AltinCues
scAltinTalkToItemMerchant
Until the first drop, the item merchant waits on the ledge east of the Sanctum, afraid her goods are soaked.

Oh, no! What will I do if all my merchandise is soaked?
The girl from Xian bought a lot. I wonder if she is on a journey.
After it she sells from the counter in the item shop, behind the small door in the east cliff, when spoken to across it; from the side she says none of her goods were damaged, or, once the hydros statues are beaten, that the girl from Xian bought a lot.
MsgAltinIfMyGoodsAreWetIll
And the item merchant on the ledge east of the Sanctum, by Mind Read.

If my goods are wet, I'll have to dry them out before I can sell them.
In AltinCues
scAltinCheckStatueMoved
Move on the stone statue on the top ledge shifts it one metatile east (to metatile), uncovering the passage into the mine behind it.
Move on the stone statue on the top ledge shifts it one metatile east (to
metatile (22, 10)), uncovering the passage into the mine behind it. The game
remembers whether it now stands there (FLAG_ALTIN_STATUE_MOVED), so it is
still moved when the party comes back.
scAltinScareOffBeast
Walking down the west ledge to the ground above the water beast (metatile) startles it.

Walking down the west ledge to the ground above the water beast (metatile (4, 26)) startles it: the camera goes to it, it stops spitting water, cries out, and hops away into the mine doorway beside it with a splash, for good. The old woman on the ledge shakes her head.
scAltinEnterDoor
Walking north into one of the village's doors opens it, and Isaac walks in as the screen fades.

Walking north into one of the village's doors opens it, and Isaac walks in as the screen fades: the inn's under its sign (metatile (10, 13)), the Sanctum's wide double door, which slides open (metatiles (20, 12) and (21, 12)), the item shop's in the east cliff (metatile (28, 13)), the armor shop's (metatile (11, 25)), the weapon shop's (metatile (10, 27)), and the three houses': on the east side (metatile (26, 21)), in the cliff north-west of the armor shop (metatile (8, 19)), and by the rails at the south (metatile (17, 25)).
scAltinWalkIntoMine
Walking north into one of the three doorways down into the mine plays the exit sound, and Isaac walks into the dark.
Walking north into one of the three doorways down into the mine plays the exit sound, and Isaac walks into the dark: the rail tunnel in the north cliff (metatile (16, 13)), the doorway in the middle of the village where the rails run south (metatile (20, 16)), or the one in the west cliff by the water beast (metatile (1, 28)).
MsgAltinThankYouSoMuchForDefeating
A bald, bare-chested strong man.

Thank you so much for defeating the hydros statues in the mine.
In AltinCues
scAltinAskAboutHydros
Once the hydros statues are beaten, the strong man near the east entrance asks whether water gushed out of them when the party slew them.

Did you see water gushing out when you slew those hydros creatures?
MsgAltinOnceTheMineOpensAgainWell
A woman with fair hair in a white apron.

Once the mine opens again, we'll be able to get back on our feet.
In AltinCues
MsgAltinTheyAlreadyStartedMiningTheUpper
A burly grey-haired man, who wanders.

They already started mining the upper parts of the mountain. But people still seem afraid to go down to the lower depths.
In AltinCues
MsgAltinTheWaterDrainedOutOfThe
A bent old man with a cane.

The water drained out of the mine through all the cracks, as I expected. But the remaining water will probably sit here for a while.
In AltinCues
MsgAltinThankGoodnessTheVillageIsFree
A woman in a green dress.

Thank goodness, the village is free from all that water.
In AltinCues
MsgAltinTheVillageWentRightBackTo
Three villagers come back as the water recedes.

The village went right back to normal once the water monsters left. But it's still a mess around here.
In AltinCues
MsgAltinSoThoseHydrosCreaturesReallyWere
A bald, bare-chested strong man.

So those hydros creatures really were the guardian statues, huh? That sure is a surprise.
In AltinCues
scAltinAskAboutRuins
Once the hydros statues are beaten, the old man who wanders the middle of the village, back home since the water drained, asks whether the party really found ancient ruins at the bottom of the mine.

Is it true you found ancient ruins in the deepest part of the mine?
MsgAltinWeCanGoBackToWork
A bald, bare-chested strong man, by Mind Read.

We can go back to work in the mines again.
In AltinCues
MsgAltinIWasAfraidMoreWaterWould
A stocky strong man flexing his arms, by Mind Read.

I was afraid more water would gush out when the monsters were slain.
In AltinCues
MsgAltinIHopeAltinMineWillThrive
A woman with fair hair in a white apron, by Mind Read.

I hope Altin Mine will thrive again soon, like it once did.
In AltinCues
MsgAltinTheWaterSeepedIntoTheMine
A burly grey-haired man, who wanders, by Mind Read.

The water seeped into the mine shafts. I bet the rock is very soft.
In AltinCues
MsgAltinItsSoHumidInsideThatCave
A bent old man with a cane, by Mind Read.

It's so humid inside that cave. It feels awful and sticky in there!
In AltinCues
MsgAltinThatStrangeChamberInTheMines
A woman in a green dress, by Mind Read.

That strange chamber in the mines creeps me out.
In AltinCues
MsgAltinYouFoughtPrettyWellDespiteAll
An old woman with white hair, by Mind Read.

You fought pretty well despite all that foul water the beasts spewed out.
In AltinCues
MsgAltinThatMineIsFullOfHoles
Three villagers come back as the water recedes, by Mind Read.

That mine is full of holes and chasms. That's why it drained so well.
In AltinCues
MsgAltinTheOldGuardianStatuesAlwaysCreeped
A bald, bare-chested strong man, by Mind Read.

The old guardian statues always creeped me out. I'm glad they're gone.
In AltinCues
MsgAltinIUsedToFindAllSorts
A bent old man with a cane, who wanders, by Mind Read.

I used to find all sorts of artifacts. I wonder if they came from the ruins.
In AltinCues
Its code is in altin.c.