McCoy's Palace
McCoy's Palace in Bilibin, the home of the town's chief.
The palace is one scene, SceneIdMcCoyPalace, sharing the area name McCoy's
Palace with its grounds (mccoy_palace_grounds.c). Its rooms are side by side
on one map, each in its own camera box: the entrance hall with its red
carpet, McCoy's room at the carpet's top, Lady McCoy's room with a bedroom
through each of its two back doors, the landings and small tower rooms at the
hall's four corners, and the treasure room below, reached from the west of
the hall.
The party first comes in by the front door once the east guard on the grounds
lets it in. A man in the hall says to follow the red carpet, and walking
through the door at its top (scMcCoyPalaceWalkThroughDoor) brings Isaac
before McCoy, a stout red-haired man who speaks with a heavy accent and a
portrait. Before Kolima's curse is lifted this is the first audience
(scMcCoyPalaceAudienceWithMcCoy): McCoy asks whether the party will save
Kolima. If Isaac says no, he is sent away and can come back to change his
mind. If he says yes, McCoy tosses him the key to the barricades, then takes
it back, deciding they are too young, and his captain sees the party out.
Outside his door the captain is sorry, and lets slip that the barricade on
the way to Kolima may not need a key
(scMcCoyPalaceCaptainTalksAboutBarricade); from then on the people speak as
if the party had been turned away (FLAG_MCCOY_PALACE_BARRICADE_NEEDS_NO_KEY).
Once the curse is lifted, the guards on the grounds march the party straight
into McCoy's room, where McCoy thanks it (scMcCoyPalaceMcCoyRewardsParty).
His lines differ as the party has met him before or not. The captain then
leads it down to the treasure room, where four chests stand in a row before
the barred gate (scMcCoyPalacePresentRewardChests): from west to east a Vial,
a Potion, a Psy Crystal and a Water of Life. Only one may be taken
(scMcCoyPalaceClaimReward); the others are then locked. Heading back up the
stairs without a reward, the captain stops Isaac and sends him back to the
chests; once he has one, the captain bids the party farewell. When the party
comes back later, the four chests are gone, and which one it opened was only
ever kept in the scene's temporary flags (FLAG_TOOK_VIAL and the others).
The palace's people follow three story flags,
FLAG_MCCOY_PALACE_BARRICADE_NEEDS_NO_KEY, FLAG_KOLIMA_CURSE_LIFTED and
FLAG_MCCOY_PALACE_REWARD_TAKEN, which decide what they say and how they turn
when talked to (scGetActorPlacements).
A barrel by the chimney in the hall holds an Elixir and one in the small room at the south-west corner a Smoke Bomb. The wardrobe in the east bedroom holds Lady McCoy's silk negligee, and the bookcase in the west bedroom the long list of gifts McCoy has bought her.

















Events
MsgBilibinIfYouWantToSeeLord
A burly grey-haired man who points the way to McCoy.

If you want to see Lord McCoy, follow the red carpet.
MsgBilibinMakeSureYouDontOffendLord
A woman in a green dress who warns the party about McCoy.

Make sure you don't offend Lord McCoy!
scMcCoyPalaceAskAboutGoingToKolima
Before the reward, the woman with fair hair in the hall asks.

Oh, are you willing to go to Kolima Forest?
Before the reward, the woman with fair hair in the hall asks "Oh, are you willing to go to Kolima Forest?" On yes she has lost count of the warriors McCoy has hired to end the curse, and not one has come back; on no, the party does not look too strong, but that may be for the best.
MsgBilibinIAlwaysBelievedThatTheOld
A young man with brown hair who speaks of the old tree in Kolima Forest.

I always believed that the old tree in Kolima Forest should be protected!
MsgBilibinThisIsLadyMccoysRoomSo
A woman with fair hair standing in Lady McCoy's room.

This is Lady McCoy's room, so don't touch anything.
MsgBilibinHowManyTimesDoIHave
A burly grey-haired man who points the way to McCoy, by Mind Read.

How many times do I have to tell them? Why won't they leave me alone?
MsgBilibinTheyShouldNeverHaveLetSuch
A woman in a green dress who warns the party about McCoy, by Mind Read.

They should never have let such young children into the palace! I'll be the one to get yelled at if they break an urn or something!
MsgBilibinSendingTheseChildrenToKolimaForest
A woman with fair hair in the hall who asks whether the party is willing to go to Kolima Forest, by Mind Read.

Sending these children to Kolima Forest? Do they want more people to suffer the curse?
MsgBilibinIShouldntHaveSaidAnythingWhen
A young man with brown hair who speaks of the old tree in Kolima Forest, by Mind Read.

I shouldn't have said anything when they were planning the new palace. I think I might have caused them to cut down the holy tree...
MsgBilibinOfAllTheNerveComingInto
A woman with fair hair standing in Lady McCoy's room, by Mind Read.

Of all the nerve! Coming into the palace unescorted!?
MsgBilibinMiladyWasRenownedFarAndWide
A woman with fair hair who admires Lady McCoy.

Milady was renowned far and wide for her beauty! That's why milord is so anxious to please her, regardless of cost.
MsgBilibinOhSomedayIWantToSleep
A woman with fair hair who screams when spoken to ("AAAAH!!!").

Oh, someday, I want to sleep in a silk nightgown like this.
MsgBilibinWillIEverFindSomeoneTo
A woman with fair hair who admires Lady McCoy, by Mind Read.

Will I ever find someone to make my dreams come true, like milady did?
MsgBilibinOhNoThisNightgownHasA
A woman with fair hair who screams when spoken to ("AAAAH!!!"), by Mind Read.

Oh, no! This nightgown has a hole... Milady will be furious!
MsgBilibinYouCanSeeKolimaPrettyWell
An old man with a cane in the north-east tower room.

You can see Kolima pretty well from here. On sunny days, Lord McCoy comes here to admire the view.
MsgBilibinHmmItSeemsTheCurseOf
A soldier in a spiked helmet in the south-east tower room.

Hmm. It seems the curse of the tree has not yet come to Bilibin.
MsgBilibinLordMccoyHasntComeHereFor
An old man with a cane in the north-east tower room, by Mind Read.

Lord McCoy hasn't come here for some time... It's because of the curse, no doubt.
MsgBilibinKolimaForestUsedToBeSo
A soldier in a spiked helmet in the south-east tower room, by Mind Read.

Kolima Forest used to be so green. Once the holy tree was cut down, everything began to turn brown. Is Kolima Forest dying...?
scMcCoyPalaceTalkToSoldierShowingTheReward
The soldier at the treasure room's barred gate shows off what lies behind it.

You may choose only one item, but I trust that all of them will prove useful.
The reward you received was indeed the greatest of treasures. …
"What do you think. These are Bilibin's great treasures. Whoever ends the curse can claim these as his own." While the party is choosing its reward he says "You may choose only one item, but I trust that all of them will prove useful," and once it has one, that it was indeed the greatest of treasures.
Unused: a line the game never shows, "Pick any one of the four treasures.",
would follow his boast if FLAG_MCCOY_PALACE_UNUSED_PICK_OFFERED were set, and
nothing sets it.
scMcCoyPalaceReadRewardSoldiersThoughts
Mind Read on the soldier at the treasure room's barred gate.

Nonetheless...if your luck is sour, you may end up an item you do not need.
What good is treasure if you get turned into a tree?
Before the curse is lifted he thinks "What good is treasure if you get turned into a tree?" Once it is lifted: "Are we really giving our treasure to these wimps?" While the party chooses: "Nonetheless...if your luck is sour, you may end up an item you do not need." After the reward he thinks they got a pretty nice reward but were just unlucky.
scMcCoyPalaceWalkThroughDoor
Walking north into the door at the top of the hall's red carpet (metatiles and) opens it, and Isaac walks through into McCoy's room.

Walking north into the door at the top of the hall's red carpet (metatiles (15, 39) and (16, 39)) opens it, and Isaac walks through into McCoy's room. The two doors at the back of Lady McCoy's room, metatiles (6, 23) and (19, 23), open the same way into the west and east bedrooms.
McCoy's door opens with SE_THUMP and the bedroom doors with SE_DOOR_OPEN;
the doors' opening is the map's tileset animations 1 and 2, let run for the
walk. After the captain has come out of McCoy's door
(scMcCoyPalaceCaptainTalksAboutBarricade) it stands open, so walking back in
makes no sound and plays no opening.
MsgBilibinSorryLadsButKolimasFutureIs
McCoy, the chief of Bilibin.

Sorry, lads, but Kolima's future is best left to more experienced men.
MsgBilibinThereIsNothingMoreToTalk
McCoy, the chief of Bilibin, by Mind Read.

There is nothing more to talk about! Tell them to go. I don't care how often they return!
MsgBilibinYouMaySelectASingleItem
The captain of McCoy's soldiers.

You may select a single item from among these four chests.
scMcCoyPalaceCaptainAsksPartyToChoose
Walking to the foot of the treasure room's stairs (metatile) without a reward makes the captain call out.

Please take your reward before your depart!
Walking to the foot of the treasure room's stairs (metatile (36, 47)) without a reward makes the captain call out "Please take your reward before your depart!", and Isaac walks back toward the chests.
MsgBilibinTheseCourageousWarriorsDeserveToReceive
The captain of McCoy's soldiers, by Mind Read.

These courageous warriors deserve to receive milord's treasure.
MsgBilibinTheresASilkNegligeeIsaacPut
Searching a wardrobe.

There's a silk negligee. Isaac! Put that back!
MsgBilibinTheresASheetOfPaperTitled
Searching a bookcase.

There's a sheet of paper titled "Sweetie's Gifts." It's the list of gifts Lord McCoy has bought his wife. It's pretty long.
MsgBilibinHeyIfYouCantDoThe
An old man with a cane in the north-east tower room.

Hey! If you can't do the job, you don't get the reward!
MsgBilibinItsAToughThingBeingSo
An old man with a cane in the north-east tower room, by Mind Read.

It's a tough thing, being so young. They dinnae ken what it means to be afraid.
scMcCoyPalaceSearchPotionChest
Searching the second reward chest from the west in the treasure room (metatile) gives a Potion, if the party has not yet chosen its reward.

Isaac checked the chest... but it was empty.
Searching the second reward chest from the west in the treasure room (metatile (39, 45)) gives a Potion, if the party has not yet chosen its reward.
scMcCoyPalaceSearchPsyCrystalChest
Searching the third reward chest from the west in the treasure room (metatile) gives a Psy Crystal, if the party has not yet chosen its reward.

Isaac checked the chest... but it was empty.
Searching the third reward chest from the west in the treasure room (metatile (40, 45)) gives a Psy Crystal, if the party has not yet chosen its reward.
scMcCoyPalaceSearchVialChest
Searching the westmost of the four reward chests in the treasure room (metatile) gives a Vial, if the party has not yet chosen its reward.

Isaac checked the chest... but it was empty.
Searching the westmost of the four reward chests in the treasure room (metatile (38, 45)) gives a Vial, if the party has not yet chosen its reward.
scMcCoyPalaceSearchWaterOfLifeChest
Searching the eastmost of the four reward chests in the treasure room (metatile) gives a Water of Life, if the party has not yet chosen its reward.

Isaac checked the chest... but it was empty.
Searching the eastmost of the four reward chests in the treasure room (metatile (41, 45)) gives a Water of Life, if the party has not yet chosen its reward.
MsgBilibinYehveTaughtMeThatICannae
McCoy, the chief of Bilibin.

Yeh've taught me that I cannae judge a man by his age or appearance.
MsgBilibinButICannaeFiggerOutHow
McCoy, the chief of Bilibin, by Mind Read.

But I cannae figger out how ye got past the barricade... when yeh did nae e'en have the key...
MsgBilibinThePeopleOfBilibinWillNever
A burly grey-haired man who points the way to McCoy.

The people of Bilibin will never forget your bravery.
MsgBilibinIHeardYouReceivedASpectacular
A woman in a green dress who warns the party about McCoy.

I heard you received a spectacular reward. I hope that shows you how nice Lord McCoy really can be.
MsgBilibinLadyMccoyIsQuiteUpsetThat
A woman with fair hair in the hall who asks whether the party is willing to go to Kolima Forest.

Lady McCoy is quite upset that the palace construction was halted. You probably won't want to approach her for a while.
MsgBilibinThingsAreLookingGrimSouthOf
A young man with brown hair who speaks of the old tree in Kolima Forest.

Things are looking grim south of Goma Range... Black clouds are looming. If you're headed that way, be prepared for rain.
MsgBilibinMiladyWasVeryUpsetWhenShe
A woman with fair hair standing in Lady McCoy's room.

Milady was very upset when she left the room. Oh my...
MsgBilibinIFeelSorryForTheWarriors
A burly grey-haired man who points the way to McCoy, by Mind Read.

I feel sorry for the warriors Lord McCoy hired. Milord will have strong words for them if they ever come back.
MsgBilibinIWonderWhatKindOfTreasure
A woman in a green dress who warns the party about McCoy, by Mind Read.

I wonder what kind of treasure Lord McCoy gave them...
MsgBilibinIWishShedJustStopWhining
A woman with fair hair in the hall who asks whether the party is willing to go to Kolima Forest, by Mind Read.

I wish she'd just stop whining... I don't have a palace either, and you don't see me crying about it.
MsgBilibinTheydBeGuaranteedAGoodLife
A young man with brown hair who speaks of the old tree in Kolima Forest, by Mind Read.

They'd be guaranteed a good life if they stayed in Bilibin under the trust of Lord McCoy. I wonder why they travel on as warriors.
MsgBilibinICanTellWhenShesUpset
A woman with fair hair standing in Lady McCoy's room, by Mind Read.

I can tell when she's upset—she always slams the door.
MsgBilibinForOnceMilordDidntLetLady
A woman with fair hair who admires Lady McCoy.

For once, milord didn't let Lady McCoy push him around! He seems much more dashing now... Hee hee!
scMcCoyPalaceTalkToWomanInMiladysNightgown
After the reward, the woman in Lady McCoy's nightgown in the east bedroom winces and screams.

AAAAH!!!
After the reward, the woman in Lady McCoy's nightgown in the east bedroom winces and screams "AAAAH!!!" when spoken to, then turns: "Oh! For a second, I thought you were milady. You really startled me!"
MsgBilibinSometimesAMansJustGottaPut
A woman with fair hair who admires Lady McCoy, by Mind Read.

Sometimes, a man's just gotta put his foot down. And oh! What a man!
MsgBilibinTheHoleInThisNightgownIs
A woman with fair hair who screams when spoken to ("AAAAH!!!"), by Mind Read.

The hole in this nightgown is just getting bigger. Has somebody else been wearing it?
scMcCoyPalaceTalkToOldManPraisingTheWarriors
After the reward, the old man with a cane in the north-east tower room tells Isaac.

It's very reckless for such young warriors to face the holy tree...
You are a fine warrior.
After the reward, the old man with a cane in the north-east tower room tells Isaac "You are a fine warrior." Spoken to again before the party leaves McCoy's Palace, he worries instead: "It's very reckless for such young warriors to face the holy tree..."
scMcCoyPalaceTalkToSoldierWatchingKolima
After the reward, the soldier in the south-east tower room asks.

I was watching from here. After all that fuss, you still went to Kolima?
After the reward, the soldier in the south-east tower room asks "I was watching from here. After all that fuss, you still went to Kolima?" On yes he does not know how they lifted the curse, but they are the best; on no he calls Isaac a liar, for he saw them walk through the barricade.
scMcCoyPalaceReadOldMansThoughtsOnTheWarriors
After the reward, Mind Read on the old man with a cane in the north-east tower room hears.

You looked very courageous walking toward Kolima.
Sometimes, we need children to remind us of our own responsibilities.
After the reward, Mind Read on the old man with a cane in the north-east tower room hears "Sometimes, we need children to remind us of our own responsibilities." Read again before the party leaves McCoy's Palace, he thinks "You looked very courageous walking toward Kolima."
MsgBilibinACourageousWarriorWouldntThinkTwice
A soldier in a spiked helmet in the south-east tower room, by Mind Read.

A courageous warrior wouldn't think twice about being turned into a tree.
scMcCoyPalaceCaptainSeesPartyOff
Once Isaac has his reward, walking along the row in front of the chests (metatiles to) makes the captain step up beside the soldier at the gate.

You are always welcome in the palace of Lord McCoy.
Once Isaac has his reward, walking along the row in front of the chests (metatiles (38, 46) to (41, 46)) makes the captain step up beside the soldier at the gate. Both nod, and the captain tells Isaac "You are always welcome in the palace of Lord McCoy." before walking off up the stairs.
It can play only in the visit the reward is taken in: the row takes the
metatiles its cue answers only while the chests stand out before the gate
(scMcCoyPalaceOpenRewardChestRow), and once a reward is taken a later visit
does not bring them out again.
Its code is in mccoy_palace.c.