Vault's jail, where the thieves who stole Hammet's Shaman's Rod are held; on the party's return a lone prisoner takes their place. More...
Go to the source code of this file.
Enumerations | |
| enum | JailEntrance { JAIL_ENTRANCE_FROM_VAULT = 1 , JAIL_ENTRANCE_FROM_LUNPA = 2 , JAIL_ENTRANCE_FROM_VAULT_REVISIT = 10 } |
| enum | JailExit { JAIL_EXIT_TO_VAULT = 1 , JAIL_EXIT_TO_VAULT_REVISIT = 2 , JAIL_EXIT_TO_LUNPA = 3 } |
| enum | { ENTRANCE_FROM_JAIL = 12 } |
| enum | JailTrigger { TRIGGER_VAULT_DOOR = 1 , TRIGGER_LUNPA_DOOR = 2 , TRIGGER_CHEST_WATER_OF_LIFE = 100 , TRIGGER_CHEST_SMOKE_BOMB , TRIGGER_CHEST_LUCKY_MEDAL , TRIGGER_CHEST_ANTIDOTE , TRIGGER_CHEST_COINS , TRIGGER_CHEST_ELIXIR } |
| enum | JailActor { ACTOR_THIEF_LEADER = ACTOR_FIRST_PLACED , ACTOR_LEFT_THIEF , ACTOR_RIGHT_THIEF , ACTOR_PRISONER = ACTOR_FIRST_PLACED } |
| enum | JailSprite { SPRITE_THIEF_LEADER = 0x3f , SPRITE_THIEF = 0x40 , SPRITE_PRISONER = 0x74 } |
| enum | { CELL_COLLISION_FLAGS = 0x14 } |
Functions | |
| const struct SceneEntrance * | Scene_GetEntrances (void) |
| Returns the entrances from Vault, Lunpa and the revisited Vault. | |
| const struct SceneRegion * | Scene_GetRegions (void) |
| const u32 * | Scene_GetExits (void) |
| Returns the exits to Vault, to the revisited Vault and to Lunpa. | |
| const struct ScenePlacement * | Scene_GetPlacements (void) |
| Places the three jailed thieves, or, entered from the revisited Vault (entrance 10, after they have broken out), the lone prisoner. | |
| const struct SceneEvent * | Scene_GetEvents (void) |
| Returns the thieves' events, or the prisoner's when the party came in from the revisited Vault, matching Scene_GetPlacements. | |
| static void | Event_LeaderSilencesThieves (void) |
| The jailed leader glares at each of his men and snaps at them, then turns to the party: they got us this time, but you'll pay for this. | |
| static void | Event_LeftThiefRegretsEscape (void) |
| The left thief wishes they had escaped to the cave northeast of the Goma Range. | |
| static void | Event_RightThiefRegretsStaying (void) |
| The right thief shakes his head: they should have skipped town sooner. | |
| static void | Event_ReadLeaderMind (void) |
| Mind Read on the leader: he'll be out of this jail before you know it. | |
| static void | Event_ReadLeftThiefMind (void) |
| Mind Read on the left thief: will he ever run free again? | |
| static void | Event_ReadRightThiefMind (void) |
| Mind Read on the right thief: is this for stealing Hammet's Shaman's Rod? | |
| static void | Event_LeaveForVault (void) |
| The party steps out of the jail into Vault. | |
| s32 | Scene_Initialize (void) |
| Opens the scene through a window transition and makes the occupants solid. | |
Variables | |
| const struct SceneEntrance | gJailEntrances [] |
| const u32 | gJailExits [] |
| const struct ScenePlacement | gJailThiefPlacements [] |
| const struct ScenePlacement | gJailPrisonerPlacements [] |
| const struct SceneEvent | gJailThiefEvents [] |
| const struct SceneEvent | gJailPrisonerEvents [] |
Vault's jail, where the thieves who stole Hammet's Shaman's Rod are held; on the party's return a lone prisoner takes their place.
Definition in file vault_jail.c.
| enum JailEntrance |
| Enumerator | |
|---|---|
| JAIL_ENTRANCE_FROM_VAULT | |
| JAIL_ENTRANCE_FROM_LUNPA | |
| JAIL_ENTRANCE_FROM_VAULT_REVISIT | |
Definition at line 27 of file vault_jail.c.
| enum JailExit |
| Enumerator | |
|---|---|
| JAIL_EXIT_TO_VAULT | |
| JAIL_EXIT_TO_VAULT_REVISIT | |
| JAIL_EXIT_TO_LUNPA | |
Definition at line 33 of file vault_jail.c.
| anonymous enum |
| Enumerator | |
|---|---|
| ENTRANCE_FROM_JAIL | |
Definition at line 39 of file vault_jail.c.
| enum JailTrigger |
| Enumerator | |
|---|---|
| TRIGGER_VAULT_DOOR | |
| TRIGGER_LUNPA_DOOR | |
| TRIGGER_CHEST_WATER_OF_LIFE | |
| TRIGGER_CHEST_SMOKE_BOMB | |
| TRIGGER_CHEST_LUCKY_MEDAL | |
| TRIGGER_CHEST_ANTIDOTE | |
| TRIGGER_CHEST_COINS | |
| TRIGGER_CHEST_ELIXIR | |
Definition at line 41 of file vault_jail.c.
| enum JailActor |
| Enumerator | |
|---|---|
| ACTOR_THIEF_LEADER | |
| ACTOR_LEFT_THIEF | |
| ACTOR_RIGHT_THIEF | |
| ACTOR_PRISONER | |
Definition at line 52 of file vault_jail.c.
| enum JailSprite |
| Enumerator | |
|---|---|
| SPRITE_THIEF_LEADER | |
| SPRITE_THIEF | |
| SPRITE_PRISONER | |
Definition at line 59 of file vault_jail.c.
| anonymous enum |
| Enumerator | |
|---|---|
| CELL_COLLISION_FLAGS | |
Definition at line 65 of file vault_jail.c.
| const struct SceneEntrance * Scene_GetEntrances | ( | void | ) |
Returns the entrances from Vault, Lunpa and the revisited Vault.
Definition at line 68 of file vault_jail.c.
| const struct SceneRegion * Scene_GetRegions | ( | void | ) |
Definition at line 70 of file vault_jail.c.
| const u32 * Scene_GetExits | ( | void | ) |
Returns the exits to Vault, to the revisited Vault and to Lunpa.
Both scenes share one exit table.
Definition at line 73 of file vault_jail.c.
| const struct ScenePlacement * Scene_GetPlacements | ( | void | ) |
Places the three jailed thieves, or, entered from the revisited Vault (entrance 10, after they have broken out), the lone prisoner.
Definition at line 77 of file vault_jail.c.
| const struct SceneEvent * Scene_GetEvents | ( | void | ) |
Returns the thieves' events, or the prisoner's when the party came in from the revisited Vault, matching Scene_GetPlacements.
Definition at line 86 of file vault_jail.c.
|
static |
The jailed leader glares at each of his men and snaps at them, then turns to the party: they got us this time, but you'll pay for this.
"Shut yer yaps!"
Reached by talking to the thieves' leader (actor 8) while FLAG_VAULT_THIEVES_JAILED is set.
Definition at line 98 of file vault_jail.c.
Referenced by Event_LeaderSilencesThieves().
|
static |
The left thief wishes they had escaped to the cave northeast of the Goma Range.
Reached by talking to the left thief (actor 9) while FLAG_VAULT_THIEVES_JAILED is set.
Definition at line 132 of file vault_jail.c.
Referenced by Event_LeftThiefRegretsEscape().
|
static |
The right thief shakes his head: they should have skipped town sooner.
Reached by talking to the right thief (actor 10) while FLAG_VAULT_THIEVES_JAILED is set.
Definition at line 145 of file vault_jail.c.
Referenced by Event_RightThiefRegretsStaying().
|
static |
Mind Read on the leader: he'll be out of this jail before you know it.
Reached by Mind Read on actor 8 while FLAG_VAULT_THIEVES_JAILED is set; the two below are reached the same way on actors 9 and 10.
Definition at line 158 of file vault_jail.c.
Referenced by Event_ReadLeaderMind().
|
static |
Mind Read on the left thief: will he ever run free again?
Definition at line 166 of file vault_jail.c.
Referenced by Event_ReadLeftThiefMind().
|
static |
Mind Read on the right thief: is this for stealing Hammet's Shaman's Rod?
Definition at line 174 of file vault_jail.c.
Referenced by Event_ReadRightThiefMind().
|
static |
The party steps out of the jail into Vault.
Reached by stepping on the Vault door (cell code 1) while the thieves are held; takes exit 1 to Vault's entrance 12. The prisoner's events leave by exit 2 instead, to the revisited Vault.
Definition at line 186 of file vault_jail.c.
Referenced by Event_LeaveForVault().
| s32 Scene_Initialize | ( | void | ) |
Opens the scene through a window transition and makes the occupants solid.
Sets up whichever scene is being entered and runs its arrival events.
Called by the engine once the actors are placed. Coming up from Lunpa (entrance 2) clears FLAG_SHOW_LOCATION_NAME, so no place name is shown; otherwise it adds collision flags 0x14 to the prisoner or to the three thieves.
Definition at line 197 of file vault_jail.c.
| const struct SceneEntrance gJailEntrances[] |
Definition at line 217 of file vault_jail.c.
Referenced by Scene_GetEntrances().
| const u32 gJailExits[] |
| const struct ScenePlacement gJailThiefPlacements[] |
Definition at line 233 of file vault_jail.c.
Referenced by Scene_GetPlacements().
| const struct ScenePlacement gJailPrisonerPlacements[] |
Definition at line 243 of file vault_jail.c.
Referenced by Scene_GetPlacements().
| const struct SceneEvent gJailThiefEvents[] |
Definition at line 249 of file vault_jail.c.
Referenced by Scene_GetEvents().
| const struct SceneEvent gJailPrisonerEvents[] |
Definition at line 279 of file vault_jail.c.
Referenced by Scene_GetEvents().