Cottage Rooms D
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
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.
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.
MsgAltinOhNoTheWholeHouseIs
The family sheltering in the inn's Room One until the first drop.

Oh no... The whole house is soaked...
MsgAltinIfTheMonsterThatDidThis
A woman with fair hair in a white apron.

If the monster that did this were here right now, I'd give him such a smack! I'm just kidding... I'm opposed to all this violence.
MsgAltinItsGoingToTakeALot
The family sheltering in the inn's Room One until the first drop, by Mind Read.

It's going to take a lot of work to get this house back in shape.
MsgAltinOneBlowsNotEnoughJabJab
A woman with fair hair in a white apron, by Mind Read.

One blow's not enough. Jab! Jab! Hook! Then comes the uppercut!
scCottageRoomsDAskAboutWayWest
After the second drop, until the hydros statues are beaten, the old man of the Room Two family, back in their house in the cliff, asks whether the party is finding a way west through the mountains, and says a passage should lead west at the bottom of the mine.

Are you trying to find your way west through the mountains?
MsgAltinDontBeTooHarshOnThose
An old woman with white hair.

Don't be too harsh on those beasts.
MsgAltinIThoughtTheVillageWasDone
The family in Room Two, until the second drop, by Mind Read.

I thought the village was done for. I'm glad we didn't give up hope.
MsgAltinImJustGladToGetMy
An old woman with white hair, by Mind Read.

I'm just glad to get my house back.
MsgAltinIDidntWantToLeaveMy
A man with brown hair.

I didn't want to leave my hometown... That's why I came back.
MsgAltinIHeardSomeoneKilledTheWater
A woman with fair hair in a white apron.

I heard someone killed the water beasts. That's why I came back. There's no place like home.
scCottageRoomsDAskAboutMonsters
Once the hydros statues are beaten, the little girl in the house by the rails asks whether the party defeated the monsters, and thanks Isaac with a kiss either way.

You defeated those monsters, didn't you?
MsgAltinTheBottomOfTheMineThe
A man with brown hair, by Mind Read.

The bottom of the mine... The end of the easternmost passage... I won't give that up.
MsgAltinMyHusbandsSenseForFindingTreasure
A woman with fair hair in a white apron, by Mind Read.

My husband's sense for finding treasure has never failed. Once the water recedes, we'll dig up that spot he found.
MsgAltinMomAndPopKnowSomethingAbout
A little girl with orange pigtails, by Mind Read.

Mom and Pop know something about the bottom of the mine. I wish they'd tell me what it was.
scCottageRoomsDTalkToWeaponMerchant
Until the village is drained, the weapon merchant waits in the inn and only asks whether the party wants weapons.

Do you want weapons?
You'll have to find the passage in the mine that leads west …
Then he is back in the weapon shop by the sword sign and sells when spoken to across his counter; from the side he is glad to open up shop again, or, once the hydros statues are beaten, tells the party to find the passage west in the mine.
MsgAltinCripesIsThisHowMyWeapon
The weapon merchant, by Mind Read.

Cripes... Is this how my weapon shop ends? As a sunken disaster?
MsgAltinOnlyAMerchantKnowsTheJoy
The weapon merchant, by Mind Read.

Only a merchant knows the joy of being open to do business again.
MsgAltinWeDriedOffAllThatArmor
The armor merchant, by Mind Read.

We dried off all that armor and polished it up! There should be no trace of rust now.
MsgAltinAFewThingsGotDampBut
The item merchant, by Mind Read.

A few things got damp... But it shouldn't affect the quality, so you can use them without any worries. …
scCottageRoomsDTalkToInnkeeper
The innkeeper lets the party stay when spoken to across his counter.

There is a small temple to the west of Altin Mine. They may be having trouble with the water from the mine.
From the side he says they got a little damp but are doing okay, or, once the hydros statues are beaten, points them to a small temple west of the mine.
MsgAltinIdGiveAnythingForSomeoneTo
A woman with red-brown hair in a white apron.

I'd give anything for someone to return Altin to its former glory. You look pretty young, but if you are a true warrior, please help us.
MsgAltinICameFromXianICook
The cook.

I came from Xian. I cook good food. Eat up!
MsgAltinNoneOfUsCanGoHome
A man with brown hair in the inn.

None of us can go home until the water subsides.
MsgAltinTheGuestsInRoomOneMoved
A man with brown hair in the inn.

The guests in Room One moved back home when the waters receded.
MsgAltinTheGuestsInRoomTwoAlso
A man with brown hair in the inn.

The guests in Room Two also went home after the waters receded.
MsgAltinWellComeThroughThisAllRight
Opens the inn, by Mind Read.

We'll come through this all right, but I'm afraid the village is done for.
MsgAltinIKnowTheyDontLookSo
A woman with red-brown hair in a white apron, by Mind Read.

I know they don't look so tough, but being warriors and all, maybe they can help us.
MsgAltinIBecameACookAfterI
The cook, by Mind Read.

I became a cook after I came to Altin, but I still cook well.
MsgAltinMostOfTheVillageIsStill
A man with brown hair in the inn, by Mind Read.

Most of the village is still submerged... It will be a long time before Altin returns to its former glory.
MsgAltinItLooksLikeTheWaterHas
A man with brown hair in the inn, by Mind Read.

It looks like the water has receded a bit, but it will be a long time before Altin returns to its former glory.
MsgAltinNoMatterWhatHappensIdNever
The family sheltering in the inn's Room One until the first drop.

No matter what happens, I'd never abandon Altin.
MsgAltinOfCourseOurHouseWillBe
A woman with fair hair in a white apron.

Of course, our house will be ruined now. I wish I could move away...
MsgAltinLeavingAltinForTolbiWellThats
The family sheltering in the inn's Room One until the first drop, by Mind Read.

Leaving Altin for Tolbi? Well, that's just crazy.
MsgAltinNowIFinallyHaveAnExcuse
A woman with fair hair in a white apron, by Mind Read.

Now I finally have an excuse to move to my favorite town—Tolbi!
MsgAltinNotManyPeopleComeUpSilk
The family in Room Two, until the second drop.

Not many people come up Silk Road to Altin. You're an odd one, you are.
MsgAltinItsBeenALongTimeSince
An old woman with white hair.

It's been a long time since I got a break from doing housework.
MsgAltinOfCourseYouCantGoWest
The family in Room Two, until the second drop, by Mind Read.

Of course, you can't go west of the mountains without taking Silk Road.
MsgAltinIHateSittingAroundLikeThis
An old woman with white hair, by Mind Read.

I hate sitting around like this. I want to go home!
MsgAltinThePotsAndPansAreRusted
Searching an oven.

The pots and pans are rusted...
MsgAltinHeIsMakingRoastBeefEven
Searching an oven.

He is making roast beef. Even the peppers look appetizing!
MsgAltinHeIsMakingShrimpInA
Searching an oven.

He is making shrimp in a chili sauce. The shrimp looks so scrumptious... My mouth is watering.
MsgAltinThereIsABookTitledAltin
Searching a bookcase.

There is a book titled "Altin: The Mining Village." Altin mines are famous for their beautiful gems, according to the book.
MsgAltinIHearThatSilkRoadIs
The family sheltering in the inn's Room One until the first drop.

I hear that Silk Road is closed... Or, at least, that's what this girl from Xian said.
scCottageRoomsDAskAboutXianGirl
Once the hydros statues are beaten, the woman of the Room One family, back in their house on the east side, asks whether the party are the young warriors a girl from Xian was asking about.

A girl from Xian was asking questions about young warriors. Say, could she have meant you guys?
MsgAltinTheMerchantsMustBeHavingA
The family sheltering in the inn's Room One until the first drop, by Mind Read.

The merchants must be having a hard time if Silk Road is blocked. Who could clear away a landslide?
MsgAltinIWonderWhatBusinessThatGirl
A woman with fair hair in a white apron, by Mind Read.

I wonder what business that girl from Xian has with warriors...
MsgAltinAncientRuinsAndTreasureDefinitelyGo
The family in Room Two, until the second drop.

Ancient ruins and treasure definitely go together... What are you going to do?
MsgAltinIfOnlyTheyHadLeftA
An old woman with white hair.

If only they had left a water monster or two...
MsgAltinTheySayYouCanStillFind
The family in Room Two, until the second drop, by Mind Read.

They say you can still find monsters if you go deep enough in the mine. I'd go treasure hunting if it weren't for those nasty beasts.
MsgAltinHowCanITrulyBeHappy
An old woman with white hair, by Mind Read.

How can I truly be happy if all those cute monsters are gone?
MsgAltinReallyAncientRuinsAtTheBottom
A man with brown hair.

Really? Ancient ruins at the bottom of the mine? You don't say...
MsgAltinThereProbablyIsntMuchTreasureIn
A woman with fair hair in a white apron.

There probably isn't much treasure in the ruins beneath the mine. Why don't you forget about treasure and just resume your journey?
MsgAltinSomethingsWrongWithMomAndPop
A little girl with orange pigtails.

Something's wrong with Mom and Pop. They've been acting weird ever since the ruins were found in the mine.
MsgAltinCripesAncientRuinsDownInThe
A man with brown hair, by Mind Read.

Cripes. Ancient ruins down in the mine... We have to go get that treasure right away.
MsgAltinIHadNoIdeaThereWere
A woman with fair hair in a white apron, by Mind Read.

I had no idea there were ruins beneath the mine.
MsgAltinIWonderIfMomAndPop
A little girl with orange pigtails, by Mind Read.

I wonder if Mom and Pop knew about the monument in the mine.
MsgAltinIveHeardOfAPassageIn
The weapon merchant, by Mind Read.

I've heard of a passage in the mine that leads west, but I've yet to meet anyone who's found it.
MsgAltinWellIfYouAreImpressedThen
The armor merchant, by Mind Read.

Well, if you are impressed, then make a purchase!
MsgAltinTheGirlFromXianBoughtAll
The item merchant, by Mind Read.

The girl from Xian bought all goods that had been submerged.
MsgAltinThereIsAnEndlessDesertWest
A woman with red-brown hair in a white apron.

There is an endless desert west of the mountains. Any travelers going west must prepare themselves well.
MsgAltinWestOfTheMountainsIsVery
The cook.

West of the mountains is very—very hot! It is exhausting! Eating hot food is good. It helps you endure the heat.
scCottageRoomsDAskAboutMineBeasts
Once the hydros statues are beaten, the man still staying upstairs in the inn asks whether the few beasts left in the mine are deep down.

There are a few beasts in the mine still, but they're down deep below, right?
MsgAltinIThinkThatTempleWasCalled
Opens the inn, by Mind Read.

I think that temple was called Lama Temple. There are said to be people with strange powers there.
MsgAltinYouWontBeAbleToGo
A woman with red-brown hair in a white apron, by Mind Read.

You won't be able to go to the desert for a while since Silk Road is blocked.
MsgAltinNoOneCanGoWestOf
The cook, by Mind Read.

No one can go west of the mountains now.
MsgAltinItWillTakeSomeTimeBefore
A man with brown hair in the inn, by Mind Read.

It will take some time before Altin recovers from this.
Its code is in altin.c.