Babi Palace in Tolbi. More...
Go to the source code of this file.
Enumerations | |
| enum | { ACTOR_BED_ATTENDANT = 9 , ACTOR_IODEM = 20 , ACTOR_FIRST_SOLDIER = 21 , ACTOR_SECOND_SOLDIER = 22 } |
| The palace's actors are placed by one of three tables, as the story goes on: before Babi is rescued, during the finals and after Colosso. More... | |
| enum | { ACTOR_FINALS_ATTENDANT = 10 } |
| During the finals: the same attendant, placed later. More... | |
| enum | { ACTOR_BABI = 14 , ACTOR_CLOAK_BALL = 16 } |
| After Colosso: Babi, and the Cloak Ball he keeps on show; Iodem keeps his number. More... | |
| enum | { ACTOR_FIRST_GUARD = 8 , ACTOR_SECOND_GUARD = 9 } |
| The courtyard's two guards. More... | |
| enum | { FLAG_ATTENDANT_SHOWED_BEDS = FLAG_SCENE_TEMP_00 } |
| The attendant has led the party to the beds; talking again sends the attendant back. More... | |
Functions | |
| static __inline__ void | BabiPalace_RestorePartyAndInventory (void) |
| After a night in the palace's beds: the party's HP and PP are full, Garet, Ivan and Mia rejoin, and the inventory Colosso held is returned. | |
| const struct SceneEntrance * | Scene_GetEntrances (void) |
| const struct SceneRegion * | BabiPalace_GetRegions (void) |
| The palace has no regions; the table is empty. | |
| const u32 * | BabiPalace_GetExits (void) |
| Both scenes share one exit table. | |
| const struct ScenePlacement * | Scene_GetPlacements (void) |
| Returns the actor placements for the scene and the story: before Babi's rescue, during the finals or after Colosso. | |
| static void | BabiPalace_ShowQuestionAnswer (s32 actorId, s32 question) |
| Asks a yes or no question; the answers are the two messages after it. | |
| static void | BabiPalace_AskAboutSoldiers (s32 actorId) |
| Asks about Babi's soldiers. | |
| static void | BabiPalace_ShowBeds (s32 actorId) |
| Talking to the attendant before Babi's rescue: the attendant leads the party to the beds. | |
| static void | BabiPalace_OfferRest (s32 actorId) |
| Talking to the attendant during the finals: the first time, the attendant asks whether the party came to rest before the match and steps aside; afterwards, the attendant offers rest. | |
| static void | BabiPalace_AskAboutColosso (s32 actorId) |
| A warrior asks whether the party is entering Colosso, and either hurries it to the trials or asks whether it got hurt too. | |
| static void | BabiPalace_TalkToIndigestedWarrior (s32 actorId) |
| The warrior with indigestion tries to shrug it off, doubles up, and gives up on entering Colosso. | |
| static void | BabiPalace_ReadShebasMind (s32 unused0, s32 actorId) |
| Mind Read on Sheba: she cannot escape to Lalivero alone; the first time, she feels it, ends the Psynergy and asks about it. | |
| static void | BabiPalace_AskAboutMeetingBabi (s32 actorId) |
| Asks about meeting Babi. "Did you meet with Babi?". | |
| static void | BabiPalace_AskAboutEasternShores (s32 actorId) |
| Asks whether the party wants to go back to the eastern shores. | |
| static void | BabiPalace_OfferCloakBall (void) |
| Taking the Cloak Ball on show after Colosso: Babi asks whether the party wants it, and lends it for the quest if it does. | |
| static void | BabiPalace_WakeFromFinalsDream (void) |
| Waking after resting before the finals: the leader dreamt of fighting in them, the others tease, and the party sets off for the colosseum. | |
| static void | BabiPalace_RestInPalaceBeds (void) |
| Searching the beds: the party goes to bed, talking it over the first night. | |
| static void | BabiPalace_HearSoldiersReport (void) |
| Walking past Iodem while Babi is missing: his two soldiers report back from Altmiller Cave without Babi, and Iodem tells how Babi has vanished into the cave before; then they leave. | |
| static void | BabiPalace_WakeAfterFinals (void) |
| Waking in the palace after the finals: the leader slept long after fighting to the end; Babi wants to see the party. | |
| static void | BabiPalace_MeetBabiAfterColosso (void) |
| Arriving after Colosso: Iodem and Babi have been waiting for the party. | |
| static void | BabiPalace_LeaveThroughDoor (void) |
| Walking north into one of the palace's doors: it opens (SE_DOOR_OPEN) and the leader walks through. | |
| static void | BabiPalace_LeaveThroughAnimatedDoor (void) |
| Walking north into the courtyard's door: it opens and the leader goes in. | |
| static void | BabiPalace_PassOnBabisWord (void) |
| A courtyard guard during the finals passes on Babi's word. | |
| static void | BabiPalace_ThankForSavingBabi (void) |
| The other guard thanks the party for saving Babi once, then sends it to the colosseum. | |
| static void | BabiPalace_AskAboutRemainingWarriors (s32 actorId) |
| Asks whether the party is leaving, like the other warriors. | |
| static void | BabiPalace_ExamineWell (void) |
| Searching the courtyard's well. "It's filled with fresh, clean water.". | |
| const struct SceneEvent * | Scene_GetEvents (void) |
| Returns the event table for the scene and the story, as the placements. | |
| s32 | BabiPalace_ApplyEntryState (void) |
| Sets up the scene being entered: the doors, the Cloak Ball on show, and the scenes that play on arrival (Babi after Colosso, the attendant during the finals, waking after a night's rest). | |
Variables | |
| u16 | gBabiPalace_DoorCells [] |
| s32 | gBabiPalace_IndigestionScript [] |
| struct SceneEntrance | gBabiPalace_EntrancesOther [] |
| struct SceneEntrance | gBabiPalace_Entrances2 [] |
| struct SceneRegion | gBabiPalace_Regions [] |
| u32 | gBabiPalace_Exits [] |
| struct ScenePlacement | gBabiPalace_Placements2 [] |
| struct ScenePlacement | gBabiPalace_PlacementsOther [] |
| struct ScenePlacement | gBabiPalace_PlacementsColosso [] |
| struct ScenePlacement | gBabiPalace_PlacementsAfterColosso [] |
| struct SceneEvent | gBabiPalace_EventsOther [] |
| struct SceneEvent | gBabiPalace_EventsColosso [] |
| struct SceneEvent | gBabiPalace_EventsAfterColosso [] |
| struct SceneEvent | gBabiPalace_Events2 [] |
| struct SceneEvent | gBabiPalace_Events2Colosso [] |
| struct SceneEvent | gBabiPalace_Events2AfterColosso [] |
Babi Palace in Tolbi.
Two scenes share this overlay: the palace, where the party stays as Colosso's guests and where Sheba is held, and its courtyard with the well. Both change three times: while Babi is missing, once he has been rescued and the finals are on, and after Colosso.
Definition in file babi_palace.c.
| anonymous enum |
The palace's actors are placed by one of three tables, as the story goes on: before Babi is rescued, during the finals and after Colosso.
Before the rescue: the attendant who shows the party its beds, Iodem and the two soldiers he sent to Altmiller Cave; Sheba is held here throughout.
| Enumerator | |
|---|---|
| ACTOR_BED_ATTENDANT | |
| ACTOR_IODEM | |
| ACTOR_FIRST_SOLDIER | |
| ACTOR_SECOND_SOLDIER | |
Definition at line 47 of file babi_palace.c.
| anonymous enum |
During the finals: the same attendant, placed later.
| Enumerator | |
|---|---|
| ACTOR_FINALS_ATTENDANT | |
Definition at line 55 of file babi_palace.c.
| anonymous enum |
After Colosso: Babi, and the Cloak Ball he keeps on show; Iodem keeps his number.
| Enumerator | |
|---|---|
| ACTOR_BABI | |
| ACTOR_CLOAK_BALL | |
Definition at line 59 of file babi_palace.c.
| anonymous enum |
The courtyard's two guards.
| Enumerator | |
|---|---|
| ACTOR_FIRST_GUARD | |
| ACTOR_SECOND_GUARD | |
Definition at line 62 of file babi_palace.c.
| anonymous enum |
The attendant has led the party to the beds; talking again sends the attendant back.
| Enumerator | |
|---|---|
| FLAG_ATTENDANT_SHOWED_BEDS | |
Definition at line 66 of file babi_palace.c.
|
static |
After a night in the palace's beds: the party's HP and PP are full, Garet, Ivan and Mia rejoin, and the inventory Colosso held is returned.
Definition at line 70 of file babi_palace.c.
Referenced by BabiPalace_ApplyEntryState(), and BabiPalace_RestorePartyAndInventory().
| const struct SceneEntrance * Scene_GetEntrances | ( | void | ) |
Definition at line 89 of file babi_palace.c.
| const struct SceneRegion * BabiPalace_GetRegions | ( | void | ) |
The palace has no regions; the table is empty.
Definition at line 97 of file babi_palace.c.
Referenced by BabiPalace_GetRegions().
| const u32 * BabiPalace_GetExits | ( | void | ) |
Both scenes share one exit table.
Definition at line 102 of file babi_palace.c.
Referenced by BabiPalace_GetExits().
| const struct ScenePlacement * Scene_GetPlacements | ( | void | ) |
Returns the actor placements for the scene and the story: before Babi's rescue, during the finals or after Colosso.
Definition at line 106 of file babi_palace.c.
Asks a yes or no question; the answers are the two messages after it.
Definition at line 120 of file babi_palace.c.
Referenced by BabiPalace_AskAboutEasternShores(), BabiPalace_AskAboutMeetingBabi(), BabiPalace_AskAboutSoldiers(), and BabiPalace_ShowQuestionAnswer().
|
static |
Asks about Babi's soldiers.
"Did you run into any of Babi's soldiers in town?"
Definition at line 132 of file babi_palace.c.
Referenced by BabiPalace_AskAboutSoldiers().
|
static |
Talking to the attendant before Babi's rescue: the attendant leads the party to the beds.
"We have just enough extra beds in this room for everybody. Please follow me." Talking again, the attendant asks whether the party will sleep right away and goes back.
Definition at line 140 of file babi_palace.c.
Referenced by BabiPalace_ShowBeds().
|
static |
Talking to the attendant during the finals: the first time, the attendant asks whether the party came to rest before the match and steps aside; afterwards, the attendant offers rest.
"if you're tired, please feel free to get some rest."
Definition at line 200 of file babi_palace.c.
Referenced by BabiPalace_OfferRest().
|
static |
A warrior asks whether the party is entering Colosso, and either hurries it to the trials or asks whether it got hurt too.
Definition at line 237 of file babi_palace.c.
Referenced by BabiPalace_AskAboutColosso().
|
static |
The warrior with indigestion tries to shrug it off, doubles up, and gives up on entering Colosso.
Definition at line 256 of file babi_palace.c.
Referenced by BabiPalace_TalkToIndigestedWarrior().
Mind Read on Sheba: she cannot escape to Lalivero alone; the first time, she feels it, ends the Psynergy and asks about it.
"Did you just..."
Definition at line 295 of file babi_palace.c.
Referenced by BabiPalace_ReadShebasMind().
|
static |
Asks about meeting Babi. "Did you meet with Babi?".
Definition at line 316 of file babi_palace.c.
Referenced by BabiPalace_AskAboutMeetingBabi().
|
static |
Asks whether the party wants to go back to the eastern shores.
"So, you're all from the eastern shores of the Karagol Sea, huh? Do you want to go back already?"
Definition at line 323 of file babi_palace.c.
Referenced by BabiPalace_AskAboutEasternShores().
|
static |
Taking the Cloak Ball on show after Colosso: Babi asks whether the party wants it, and lends it for the quest if it does.
Definition at line 329 of file babi_palace.c.
Referenced by BabiPalace_OfferCloakBall().
|
static |
Waking after resting before the finals: the leader dreamt of fighting in them, the others tease, and the party sets off for the colosseum.
Definition at line 364 of file babi_palace.c.
Referenced by BabiPalace_ApplyEntryState(), and BabiPalace_WakeFromFinalsDream().
|
static |
Searching the beds: the party goes to bed, talking it over the first night.
"Would you like to sleep now?"
Definition at line 512 of file babi_palace.c.
Referenced by BabiPalace_RestInPalaceBeds().
|
static |
Walking past Iodem while Babi is missing: his two soldiers report back from Altmiller Cave without Babi, and Iodem tells how Babi has vanished into the cave before; then they leave.
Definition at line 682 of file babi_palace.c.
Referenced by BabiPalace_HearSoldiersReport().
|
static |
Waking in the palace after the finals: the leader slept long after fighting to the end; Babi wants to see the party.
Definition at line 937 of file babi_palace.c.
Referenced by BabiPalace_ApplyEntryState(), and BabiPalace_WakeAfterFinals().
|
static |
Arriving after Colosso: Iodem and Babi have been waiting for the party.
Babi praises its fighting, saw its Psynergy through his Cloak Ball, and tells of Lemuria and the draught that has kept him alive; it is running out, and he asks the party to sail his Lemurian ship to find Lemuria. Learning that the party is bound for Venus Lighthouse, he sends Iodem with it, to meet at Gondowan Passage.
Definition at line 1216 of file babi_palace.c.
Referenced by BabiPalace_ApplyEntryState(), and BabiPalace_MeetBabiAfterColosso().
|
static |
Walking north into one of the palace's doors: it opens (SE_DOOR_OPEN) and the leader walks through.
Definition at line 2141 of file babi_palace.c.
Referenced by BabiPalace_LeaveThroughDoor().
|
static |
Walking north into the courtyard's door: it opens and the leader goes in.
Definition at line 2173 of file babi_palace.c.
Referenced by BabiPalace_LeaveThroughAnimatedDoor().
|
static |
A courtyard guard during the finals passes on Babi's word.
"You're Isaac, aren't you? Babi left word that he would be waiting for you at the colosseum."
Definition at line 2187 of file babi_palace.c.
Referenced by BabiPalace_PassOnBabisWord().
|
static |
The other guard thanks the party for saving Babi once, then sends it to the colosseum.
Definition at line 2234 of file babi_palace.c.
Referenced by BabiPalace_ThankForSavingBabi().
|
static |
Asks whether the party is leaving, like the other warriors.
"All the warriors who stayed in the palace left when Colosso ended. Are you folks leaving too?"
Definition at line 2248 of file babi_palace.c.
Referenced by BabiPalace_AskAboutRemainingWarriors().
|
static |
Searching the courtyard's well. "It's filled with fresh, clean water.".
Definition at line 2263 of file babi_palace.c.
Referenced by BabiPalace_ExamineWell().
| const struct SceneEvent * Scene_GetEvents | ( | void | ) |
Returns the event table for the scene and the story, as the placements.
Definition at line 2271 of file babi_palace.c.
| s32 BabiPalace_ApplyEntryState | ( | void | ) |
Sets up the scene being entered: the doors, the Cloak Ball on show, and the scenes that play on arrival (Babi after Colosso, the attendant during the finals, waking after a night's rest).
Returns 0.
Definition at line 2293 of file babi_palace.c.
Referenced by BabiPalace_ApplyEntryState().
| u16 gBabiPalace_DoorCells[] |
Definition at line 2364 of file babi_palace.c.
Referenced by BabiPalace_LeaveThroughAnimatedDoor().
| s32 gBabiPalace_IndigestionScript[] |
Definition at line 2368 of file babi_palace.c.
Referenced by BabiPalace_TalkToIndigestedWarrior().
| struct SceneEntrance gBabiPalace_EntrancesOther[] |
Definition at line 2386 of file babi_palace.c.
Referenced by Scene_GetEntrances().
| struct SceneEntrance gBabiPalace_Entrances2[] |
Definition at line 2432 of file babi_palace.c.
Referenced by Scene_GetEntrances().
| struct SceneRegion gBabiPalace_Regions[] |
Definition at line 2439 of file babi_palace.c.
Referenced by BabiPalace_GetRegions().
| u32 gBabiPalace_Exits[] |
Definition at line 2443 of file babi_palace.c.
Referenced by BabiPalace_GetExits().
| struct ScenePlacement gBabiPalace_Placements2[] |
Definition at line 2490 of file babi_palace.c.
Referenced by Scene_GetPlacements().
| struct ScenePlacement gBabiPalace_PlacementsOther[] |
Definition at line 2498 of file babi_palace.c.
Referenced by Scene_GetPlacements().
| struct ScenePlacement gBabiPalace_PlacementsColosso[] |
Definition at line 2540 of file babi_palace.c.
Referenced by Scene_GetPlacements().
| struct ScenePlacement gBabiPalace_PlacementsAfterColosso[] |
Definition at line 2564 of file babi_palace.c.
Referenced by Scene_GetPlacements().
| struct SceneEvent gBabiPalace_EventsOther[] |
Definition at line 2600 of file babi_palace.c.
Referenced by Scene_GetEvents().
| struct SceneEvent gBabiPalace_EventsColosso[] |
Definition at line 2679 of file babi_palace.c.
Referenced by Scene_GetEvents().
| struct SceneEvent gBabiPalace_EventsAfterColosso[] |
Definition at line 2745 of file babi_palace.c.
Referenced by Scene_GetEvents().
| struct SceneEvent gBabiPalace_Events2[] |
Definition at line 2820 of file babi_palace.c.
Referenced by Scene_GetEvents().
| struct SceneEvent gBabiPalace_Events2Colosso[] |
Definition at line 2831 of file babi_palace.c.
Referenced by Scene_GetEvents().
| struct SceneEvent gBabiPalace_Events2AfterColosso[] |
Definition at line 2846 of file babi_palace.c.
Referenced by Scene_GetEvents().