Vault after the thieves escaped from jail, when the party passes through again. More...
Go to the source code of this file.
Enumerations | |
| enum | { ACTOR_GREETER = 8 , ACTOR_LUNPA_GOSSIP = 11 , ACTOR_MAYORS_VISITOR = 12 , ACTOR_VOLCANO_WATCHER = 13 , ACTOR_FIRST_WALKER = 14 , ACTOR_SECOND_WALKER = 15 , ACTOR_WATCHMAN = 16 , ACTOR_VAULT_DOG = 18 , ACTOR_VAULT_VENUS_DJINNI = 21 , VAULT_VENUS_DJINNI_INDEX = 4 , VAULT_PROXIMITY_REACTION_PAUSED = 2 } |
| enum | { FLAG_WARRIOR_GUY_GREETED = FLAG_SCENE_TEMP_00 + 0x100 , FLAG_GREETER_RECOGNIZED_PARTY = FLAG_SCENE_TEMP_00 + 0x105 , FLAG_PARTY_PRAISED = FLAG_SCENE_TEMP_00 + 0x106 , FLAG_WALKER_SPOKE = FLAG_SCENE_TEMP_00 + 0x107 , FLAG_ASKED_ABOUT_JAIL = FLAG_SCENE_TEMP_00 + 0x108 } |
| Scene flags: what the townspeople have already said. More... | |
Functions | |
| const struct SceneEntrance * | Scene_GetEntrances (void) |
| const struct SceneRegion * | Scene_GetRegions (void) |
| const u32 * | Scene_GetExits (void) |
| Both scenes share one exit table. | |
| const struct ScenePlacement * | Scene_GetPlacements (void) |
| Returns the villagers, dog, and Djinni placements. | |
| static void | VaultRevisit_ShowStandingActorMessage (s32 actor) |
| Stands the actor still while showing the message already selected. | |
| static void | Event_RecognizeThiefCatchers (void) |
| The party is recognized. | |
| static void | Event_TalkOfLunpaThieves (void) |
| There are rumors of thieves from Lunpa running wild, yet they have been quiet. | |
| static void | Event_PraisePartyStrength (void) |
| The villager was just talking about the party with the mayor: they are so strong, let those thieves attack. | |
| static void | Event_HopeVolcanoStaysCalm (void) |
| If the volcano stays calm and the southern bridge stays fixed, there is nothing to worry about. | |
| static void | Event_GreetWarriorGuy (void) |
| The first walker stops circling. | |
| static void | Event_WishEldersWereBrave (void) |
| The second walker stops. "I wish Vault's elders were as brave as you!". | |
| static void | Event_AskAboutJailbreak (void) |
| Asks about the jail. | |
| static void | Event_ReadMindAndRecognizeThiefCatchers (void) |
| Mind Read on the greeter before he has spoken: he turns and recognizes the party. | |
| static void | Event_ReadMindOnDodonpa (void) |
| Mind Read: since Dodonpa took over, Lunpa's outlaws are no better than thieves. | |
| static void | Event_ReadMindAndPraisePartyStrength (void) |
| Mind Read before the villager has spoken: he turns and praises the party. | |
| static void | Event_ReadMindOnWinter (void) |
| Mind Read: it would have been great to have everything solved before winter. | |
| static void | Event_ReadMindOnFeelingBrave (void) |
| Mind Read on the first walker: watching the party makes one feel brave, or, before the walker has spoken, the greeting. | |
| static void | Event_ReadMindOnScaredGrownUps (void) |
| Mind Read on the second walker: grown-ups always get so scared. | |
| static void | Event_ReadMindOnJailKey (void) |
| Mind Read on the watchman: before he has asked about the jail he asks now; afterwards, the thieves must know the secret of the jail's lock. | |
| static void | VaultRevisit_JumpActorToAndWait (int actor, int x, int z, int velocityY) |
| Gives the actor vertical velocity, moves it, and waits briefly for it to settle. | |
| static void | Event_RingBell (void) |
| Ringing the bell makes the Djinni jump out and move to its new position once. | |
| static void | Vault_WalkThroughExit (s32 x, s32 z, s32 exitId) |
| Walks the leader into a doorway during the sixteen-frame exit delay. | |
| static void | Event_EnterSoutheastHouse (void) |
| static void | Event_EnterCentralEastHouse (void) |
| static void | Event_EnterCentralHouse (void) |
| static void | Event_EnterNortheastHouse (void) |
| Opens the northeast house and uses its required sprite priority. | |
| static void | Event_EnterNorthHouse (void) |
| Opens the north house and uses its required sprite priority. | |
| static void | Event_EnterNorthwestHouse (void) |
| static void | Event_EnterJail (void) |
| The jail door opens and the party walks in, drawn behind the doorway. | |
| static void | Event_TalkToVenusDjinni (void) |
| The Venus Djinni the bell called out joins the party when spoken to. | |
| static void | VaultRevisit_DogJumpAtPassage (void) |
| Jumps at the hidden passage, then pauses so the party can see the clue. | |
| static void | Event_GiveBoneToDog (void) |
| Given a Bone, the dog runs to the hidden passage and jumps there three times. | |
| static void | Event_HidePassage (void) |
| Covers the hidden passage when Reveal ends. | |
| static void | Event_RevealPassage (void) |
| Restores the passage's visible tiles and collision cell during Reveal. | |
| static void | Event_TalkToDog (void) |
| The dog barks; carrying a Bone before it has shown the passage lets the party give it one. | |
| static void | Event_PeerIntoWell (void) |
| Describes the water heard at the bottom of the well. | |
| const struct SceneEvent * | Scene_GetEvents (void) |
| Returns the town's talk, search, Psynergy, and doorway events. | |
| static s32 | VaultRevisit_ShouldKeepBellDjinniPosition (void) |
| Patched editions keep the bell's Djinni position when preserving the party. | |
| s32 | Scene_Initialize (void) |
| Restores dog and Djinni progress, proximity reactions, and entrance flags. | |
Variables | |
| s32 | gEffectScript0 [] |
| s32 | gEffectScript1 [] |
| s32 | gEffectScript2 [] |
| const s32 * | gEffectScripts [] |
| s32 | gVaultRevisit_Actor0 [] |
| s32 | gVaultRevisit_Actor1 [] |
| struct SceneEntrance | gVaultRevisit_Entrances [] |
| u32 | gVaultRevisit_Exits [] |
| struct ScenePlacement | gVaultRevisit_Placements [] |
| u16 | gVaultRevisit_Scene5Cells [] |
| u16 | gVaultRevisit_Scene6Cells [] |
| u16 | gVaultRevisit_Scene7Cells [] |
| u16 | gVaultRevisit_Scene8Cells [] |
| u16 | gVaultRevisit_Scene9Cells [] |
| u16 | gVaultRevisit_Scene10Cells [] |
| u16 | gVaultRevisit_Scene12Cells [] |
| struct SceneEvent | gVaultRevisit_Events [] |
Vault after the thieves escaped from jail, when the party passes through again.
Definition in file vault_revisit.c.
| anonymous enum |
Definition at line 36 of file vault_revisit.c.
| anonymous enum |
Scene flags: what the townspeople have already said.
A Mind Read before someone has spoken plays the conversation first.
| Enumerator | |
|---|---|
| FLAG_WARRIOR_GUY_GREETED | |
| FLAG_GREETER_RECOGNIZED_PARTY | |
| FLAG_PARTY_PRAISED | |
| FLAG_WALKER_SPOKE | |
| FLAG_ASKED_ABOUT_JAIL | |
Definition at line 55 of file vault_revisit.c.
| const struct SceneEntrance * Scene_GetEntrances | ( | void | ) |
Definition at line 70 of file vault_revisit.c.
| const struct SceneRegion * Scene_GetRegions | ( | void | ) |
Definition at line 74 of file vault_revisit.c.
| const u32 * Scene_GetExits | ( | void | ) |
Both scenes share one exit table.
Definition at line 76 of file vault_revisit.c.
| const struct ScenePlacement * Scene_GetPlacements | ( | void | ) |
Returns the villagers, dog, and Djinni placements.
Definition at line 79 of file vault_revisit.c.
|
static |
Stands the actor still while showing the message already selected.
Definition at line 84 of file vault_revisit.c.
Referenced by Event_HopeVolcanoStaysCalm(), Event_ReadMindOnDodonpa(), Event_ReadMindOnFeelingBrave(), Event_ReadMindOnJailKey(), Event_ReadMindOnScaredGrownUps(), Event_ReadMindOnWinter(), Event_TalkOfLunpaThieves(), and VaultRevisit_ShowStandingActorMessage().
|
static |
The party is recognized.
"You're the warriors who captured the thieves a while back, aren't you? You've returned to Vault!"
Definition at line 93 of file vault_revisit.c.
Referenced by Event_RecognizeThiefCatchers().
|
static |
There are rumors of thieves from Lunpa running wild, yet they have been quiet.
Definition at line 104 of file vault_revisit.c.
Referenced by Event_TalkOfLunpaThieves().
|
static |
The villager was just talking about the party with the mayor: they are so strong, let those thieves attack.
Definition at line 113 of file vault_revisit.c.
Referenced by Event_PraisePartyStrength().
|
static |
If the volcano stays calm and the southern bridge stays fixed, there is nothing to worry about.
Definition at line 126 of file vault_revisit.c.
Referenced by Event_HopeVolcanoStaysCalm().
|
static |
The first walker stops circling.
"Hey, it's that warrior guy!" and "Yeah, and Ivan, too." the first time, then "I'm so glad you came back to Vault!"
Definition at line 135 of file vault_revisit.c.
Referenced by Event_GreetWarriorGuy(), and Event_ReadMindOnFeelingBrave().
|
static |
The second walker stops. "I wish Vault's elders were as brave as you!".
Definition at line 162 of file vault_revisit.c.
Referenced by Event_WishEldersWereBrave().
|
static |
Asks about the jail.
"Did you guys check out the jail?" Yes: how did the thugs break out? No: the thieves broke out and got away.
Definition at line 182 of file vault_revisit.c.
Referenced by Event_AskAboutJailbreak().
|
static |
Mind Read on the greeter before he has spoken: he turns and recognizes the party.
Definition at line 197 of file vault_revisit.c.
Referenced by Event_ReadMindAndRecognizeThiefCatchers().
|
static |
Mind Read: since Dodonpa took over, Lunpa's outlaws are no better than thieves.
Definition at line 210 of file vault_revisit.c.
Referenced by Event_ReadMindOnDodonpa().
|
static |
Mind Read before the villager has spoken: he turns and praises the party.
Definition at line 218 of file vault_revisit.c.
Referenced by Event_ReadMindAndPraisePartyStrength().
|
static |
Mind Read: it would have been great to have everything solved before winter.
Definition at line 232 of file vault_revisit.c.
Referenced by Event_ReadMindOnWinter().
|
static |
Mind Read on the first walker: watching the party makes one feel brave, or, before the walker has spoken, the greeting.
Definition at line 241 of file vault_revisit.c.
Referenced by Event_ReadMindOnFeelingBrave().
|
static |
Mind Read on the second walker: grown-ups always get so scared.
Definition at line 256 of file vault_revisit.c.
Referenced by Event_ReadMindOnScaredGrownUps().
|
static |
Mind Read on the watchman: before he has asked about the jail he asks now; afterwards, the thieves must know the secret of the jail's lock.
Definition at line 274 of file vault_revisit.c.
Referenced by Event_ReadMindOnJailKey().
|
static |
Gives the actor vertical velocity, moves it, and waits briefly for it to settle.
Definition at line 307 of file vault_revisit.c.
Referenced by Event_RingBell(), and VaultRevisit_JumpActorToAndWait().
|
static |
Ringing the bell makes the Djinni jump out and move to its new position once.
Definition at line 329 of file vault_revisit.c.
Walks the leader into a doorway during the sixteen-frame exit delay.
Definition at line 351 of file vault_revisit.c.
Referenced by Event_EnterCentralEastHouse(), Event_EnterCentralHouse(), Event_EnterJail(), Event_EnterNortheastHouse(), Event_EnterNorthHouse(), Event_EnterNorthwestHouse(), and Event_EnterSoutheastHouse().
|
static |
Definition at line 360 of file vault_revisit.c.
|
static |
Definition at line 366 of file vault_revisit.c.
|
static |
Definition at line 372 of file vault_revisit.c.
|
static |
Opens the northeast house and uses its required sprite priority.
Definition at line 379 of file vault_revisit.c.
|
static |
Opens the north house and uses its required sprite priority.
Definition at line 392 of file vault_revisit.c.
|
static |
Definition at line 404 of file vault_revisit.c.
|
static |
The jail door opens and the party walks in, drawn behind the doorway.
Definition at line 417 of file vault_revisit.c.
|
static |
The Venus Djinni the bell called out joins the party when spoken to.
Definition at line 433 of file vault_revisit.c.
Referenced by Event_TalkToVenusDjinni().
|
inlinestatic |
Jumps at the hidden passage, then pauses so the party can see the clue.
Definition at line 438 of file vault_revisit.c.
Referenced by Event_GiveBoneToDog(), and VaultRevisit_DogJumpAtPassage().
|
static |
Given a Bone, the dog runs to the hidden passage and jumps there three times.
Definition at line 445 of file vault_revisit.c.
|
static |
Covers the hidden passage when Reveal ends.
Definition at line 466 of file vault_revisit.c.
Referenced by Event_HidePassage().
|
static |
Restores the passage's visible tiles and collision cell during Reveal.
Definition at line 473 of file vault_revisit.c.
Referenced by Event_RevealPassage().
|
static |
The dog barks; carrying a Bone before it has shown the passage lets the party give it one.
Definition at line 481 of file vault_revisit.c.
|
static |
Describes the water heard at the bottom of the well.
Definition at line 499 of file vault_revisit.c.
| const struct SceneEvent * Scene_GetEvents | ( | void | ) |
Returns the town's talk, search, Psynergy, and doorway events.
Definition at line 507 of file vault_revisit.c.
|
inlinestatic |
Patched editions keep the bell's Djinni position when preserving the party.
Definition at line 510 of file vault_revisit.c.
Referenced by Scene_Initialize(), and VaultRevisit_ShouldKeepBellDjinniPosition().
| s32 Scene_Initialize | ( | void | ) |
Restores dog and Djinni progress, proximity reactions, and entrance flags.
Sets up whichever scene is being entered and runs its arrival events.
Definition at line 519 of file vault_revisit.c.
| s32 gEffectScript0[] |
Definition at line 567 of file vault_revisit.c.
| s32 gEffectScript1[] |
| s32 gEffectScript2[] |
| const s32* gEffectScripts[] |
Definition at line 582 of file vault_revisit.c.
| s32 gVaultRevisit_Actor0[] |
Definition at line 588 of file vault_revisit.c.
| s32 gVaultRevisit_Actor1[] |
Definition at line 613 of file vault_revisit.c.
| struct SceneEntrance gVaultRevisit_Entrances[] |
Definition at line 638 of file vault_revisit.c.
Referenced by Scene_GetEntrances().
| u32 gVaultRevisit_Exits[] |
Definition at line 655 of file vault_revisit.c.
Referenced by Scene_GetExits().
| struct ScenePlacement gVaultRevisit_Placements[] |
Definition at line 673 of file vault_revisit.c.
Referenced by Scene_GetPlacements().
| u16 gVaultRevisit_Scene5Cells[] |
Definition at line 705 of file vault_revisit.c.
Referenced by Event_EnterSoutheastHouse().
| u16 gVaultRevisit_Scene6Cells[] |
Definition at line 709 of file vault_revisit.c.
Referenced by Event_EnterCentralEastHouse().
| u16 gVaultRevisit_Scene7Cells[] |
Definition at line 713 of file vault_revisit.c.
Referenced by Event_EnterCentralHouse().
| u16 gVaultRevisit_Scene8Cells[] |
Definition at line 717 of file vault_revisit.c.
Referenced by Event_EnterNortheastHouse().
| u16 gVaultRevisit_Scene9Cells[] |
Definition at line 721 of file vault_revisit.c.
Referenced by Event_EnterNorthHouse().
| u16 gVaultRevisit_Scene10Cells[] |
Definition at line 725 of file vault_revisit.c.
Referenced by Event_EnterNorthwestHouse().
| u16 gVaultRevisit_Scene12Cells[] |
Definition at line 729 of file vault_revisit.c.
Referenced by Event_EnterJail().
| struct SceneEvent gVaultRevisit_Events[] |
Definition at line 733 of file vault_revisit.c.
Referenced by Scene_GetEvents().