src/scene/sol_sanctum_entrance.c
The way into Sol Sanctum: the mountainside before its door, and the first rooms inside, where Isaac, Garet and Jenna follow Kraden on the morning the story begins. More…
#include "ability_ids.h"#include "flags.h"#include "item_ids.h"#include "macros.h"#include "battle/battle.h"#include "debug/debug.h"#include "field/script_inline.h"#include "scene/pushed_actor.h"#include "graphics/graphics.h"#include "scene/walk_into_leader.h"#include "text/msg_ids.h"#include "shared/actor_find_at_metatile.c"#include "shared/pushed_actor_direction_steps.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_SOL_SANCTUM_EAST_STATUE_AT_EAST FLAG_AREA_TEMP(0x00) | The column each statue that can be pushed stands in, east or west of its start. |
#define | FLAG_SOL_SANCTUM_EAST_STATUE_AT_WEST FLAG_AREA_TEMP(0x01) | |
#define | FLAG_SOL_SANCTUM_WEST_STATUE_AT_EAST FLAG_AREA_TEMP(0x02) | |
#define | FLAG_SOL_SANCTUM_WEST_STATUE_AT_WEST FLAG_AREA_TEMP(0x03) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_EAST FLAG_AREA_TEMP(0x10) | The second relief room's row of six statues, each two flags as above. |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_WEST FLAG_AREA_TEMP(0x11) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_EAST FLAG_AREA_TEMP(0x12) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_WEST FLAG_AREA_TEMP(0x13) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_EAST FLAG_AREA_TEMP(0x14) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_WEST FLAG_AREA_TEMP(0x15) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_EAST FLAG_AREA_TEMP(0x16) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_WEST FLAG_AREA_TEMP(0x17) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_EAST FLAG_AREA_TEMP(0x18) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_WEST FLAG_AREA_TEMP(0x19) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_EAST FLAG_AREA_TEMP(0x1a) | |
#define | FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_WEST FLAG_AREA_TEMP(0x1b) | |
#define | MIDDLE_LAYER_ROW 40 | The room's middle and overhead layers are drawn from the map grid 40 and 80 rows down, so a metatile of either is written as the room's row plus that start. |
#define | OVERHEAD_LAYER_ROW 80 | |
#define | SOL_SANCTUM_ITEM_OWN_MESSAGE 0x400 | An item cue's subject bit that skips the <actor> uses <item>. message, so the script shows its own (fdUseItem). |
#define | FLAG_SOL_SANCTUM_IN_SECOND_RELIEF_ROOM FLAG_SCENE_TEMP(0x34) | Set on entering the second relief room. |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { ACTOR_KRADEN } | In Sol Sanctum (SceneIdSolSanctumReliefs), Kraden follows the party; Garet and Jenna, placed before him, take their own party slots. |
enum | anonymous enum { ACTOR_WARNING_MAN } | At Sol Entrance (SceneIdSolEntrance), the one placed actor is a man with long brown hair and a beard in a long robe, who stands in the path once the party has left Vale and warns everyone away while Mt. Aleph is active; read with Mind Read, he is all alone in this dangerous place and asks how the Great Healer can treat him like this. |
enum | anonymous enum { ACTOR_STATUE } | The statues, placed after Kraden. |
enum | anonymous enum { ACTOR_WEST_STATUE, ACTOR_EAST_STATUE, ACTOR_FIRST_FIXED_STAT … } | The statue hall's eleven statues: the two that can be pushed, then nine that cannot. |
enum | anonymous enum { ACTOR_ROW_STATUE_A, ACTOR_ROW_STATUE_B, ACTOR_ROW_STATUE_C, … } | The second relief room's row of six, each of which can be pushed a metatile east or west; alike, they are lettered west to east, each starting 64 pixels east of the one before (scSolSanctumEntranceRestoreInteriorState). |
enum | SOL_ENTRANCE_METATILE_BEHAVIOR { METATILE_BEHAVIOR_SOL_ENTRANCE_DOOR, METATILE_BEHAVIOR_SOL_E … } | The metatile behaviors Sol Entrance's step and examine cues answer. |
enum | SOL_SANCTUM_RELIEFS_METATILE_BEHAVIOR { METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_FIRST_RELIEF, METATILE … } | The metatile behaviors the relief rooms' step, examine and item cues answer. |
Functions
| Name | Description | |
|---|---|---|
static void | scSolSanctumEntranceApplyEntryState (void) | Sets up Sol Entrance (SceneIdSolEntrance). |
static void | scSolSanctumEntranceRestoreInteriorState (void) | Sets up Sol Sanctum (SceneIdSolSanctumReliefs). |
static void | scSolSanctumEntranceIntroduceSanctum (void) | The first time the party comes in through the door, Kraden steps up in the entrance hall, looks round and asks if this is their first time here; the answer gets "Take a good look at it" or "I doubt that...". |
static void | scSolSanctumEntranceKradenSuspectsHiddenPassage (void) | The first time the party enters the checkered statue hall, Kraden looks round both sides of it, then tells the others that Saturos and Menardi spoke of a hidden passage leading deeper in, and that a sanctum built in honour of the sun ought to show it somewhere. |
static void | scSolSanctumEntranceKradenSeesStatuesOutOfReach (void) | The first time the party comes into the second relief room, the view pans along the six statues across the water and Kraden says, "More statues... |
static void | scSolSanctumEntranceRestoreRowStatueMetatiles (Sint32 placeActors) | Sets the ground under the six statues across the water. |
static void | scSolSanctumEntranceUpdateEruptionRumbles (void) | After the eruption the terrace before the door rumbles and shakes every few seconds, at random, each shake dying away. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Returns Sol Entrance's entrances (SceneIdSolEntrance) or Sol Sanctum's (SceneIdSolSanctumReliefs). |
const SCENE_EXIT_REGION * | scGetExitRegions (void) | The scene has no exit regions: its regions entry returns none. |
const Uint32 * | scGetExits (void) | Both scenes share one exit table. |
const ACTOR_PLACE * | scGetActorPlacements (void) | Selects the actors for the scene and, in Sol Sanctum, the room. |
const CUE * | scGetCues (void) | Selects the scripts for the scene and room, by the same entrances as scGetActorPlacements. |
static void | scSolSanctumEntranceOpenDoorAndEnter (void) | Isaac walks north into Sol Sanctum's door at the top of the terrace (metatiles (6, 6) to (8, 6)); with a boom the stone door slides open, and he walks in as the screen fades. |
static void | scSolSanctumEntranceInspectFirstMinotaurRelief (void) | Isaac searches the minotaur relief at the north of the second room of stepping stones (metatile (30, 2)): "The right eye is sparkling, but there's a hole where the left eye should be." Once the Small Jewel is set, both eyes sparkle. |
static inline void | scSolSanctumEntranceReactToOpeningPassage (void) | The room shakes as stone shifts, and the leader looks round, startled, and jumps. |
static void | scSolSanctumEntranceSetFirstSmallJewel (void) | Isaac uses the Small Jewel on the first minotaur relief (metatile (30, 2)) and sets it into the empty socket. |
static void | scSolSanctumEntranceInspectSecondMinotaurRelief (void) | Isaac searches the second minotaur relief, uncovered behind the westmost of the six statues across the water (metatile (100, 31)). |
static void | scSolSanctumEntranceSetSecondSmallJewel (void) | Isaac uses the second Small Jewel on the second minotaur relief (metatile (100, 31)) and sets it. |
static inline void | scSolSanctumEntranceRecordStatueColumn (Sint32 column, Sint32 flagBase, Sint32 leftColumn, Sint32 rightColumn) | Notes which side of its starting column a moved statue now stands on, so it stays there for the rest of the visit: flagBase (its _AT_EAST flag) for rightColumn, the flag after it (_AT_WEST) for leftColumn, neither back at its start. |
static void | scSolSanctumEntranceWestStatueMoved (void) | Isaac shifts the westmost statue of the checkered statue hall a metatile east or west, with Move or by pushing it, and uncovers the dark doorway behind it (metatile (94, 7)) to a small room whose statue will not budge. |
static void | scSolSanctumEntranceEastStatueMoved (void) | Isaac shifts the eastmost statue of the checkered statue hall a metatile east or west, with Move or by pushing it, and uncovers the doorway behind it (metatile (114, 7)) to the steps up to the maze. |
static void | scSolSanctumEntranceRowStatueAMoved (void) | Isaac uses Move on the westmost of the six statues across the water (metatile (100, 32)) and shifts it a metatile east or west, uncovering the second minotaur relief in the wall behind it. |
static void | scSolSanctumEntranceRowStatueBMoved (void) | Isaac uses Move on the second of the six statues from the west (metatile (104, 32)) and shifts it aside, uncovering a dark doorway behind it into a winding passage that leads nowhere. |
static void | scSolSanctumEntranceRowStatueCMoved (void) | Isaac uses Move on the third of the six statues from the west (metatile (108, 32)) and shifts it aside; only plain wall stands behind it. |
static void | scSolSanctumEntranceRowStatueDMoved (void) | Isaac uses Move on the fourth of the six statues from the west (metatile (112, 32)) and shifts it aside; only plain wall stands behind it. |
static void | scSolSanctumEntranceRowStatueEMoved (void) | Isaac uses Move on the fifth of the six statues from the west (metatile (116, 32)) and shifts it aside; only plain wall stands behind it. |
static void | scSolSanctumEntranceRowStatueFMoved (void) | Isaac uses Move on the eastmost of the six statues (metatile (120, 32)) and shifts it aside. |
static void | scSolSanctumEntrancePushStatue (void) | Isaac walks into one of the statues that can be pushed and shoves it one metatile, following behind it, if nothing is in the way: the westmost and eastmost statues of the checkered hall (metatiles (94, 8) and (114, 8)), which a dotted line on the floor marks, or a statue of the row across the water, once he has jumped into its alcove. |
Sint32 | scInit (void) | Sets up Sol Entrance or Sol Sanctum. |
static void | scSolSanctumEntranceDoorTightlyLocked (void) | Isaac searches Sol Sanctum's door once he and Garet are back from the mountain: "The door is tightly locked." |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | SolSanctumEntranceFallbackEntrances [] | |
extern SCENE_ENTRANCE | SolEntranceEntrances [] | |
extern SCENE_ENTRANCE | SolSanctumReliefsEntrances [] | Each keeps the camera within the room the party arrives in. |
extern Uint32 | SolSanctumEntranceExits [] | Sol Entrance (SceneIdSolEntrance), then Sol Sanctum (SceneIdSolSanctumReliefs). |
extern ACTOR_PLACE | SolSanctumEntranceFallbackActorPlacements [] | |
extern ACTOR_PLACE | SolSanctumReliefsActorPlacements [] | |
extern ACTOR_PLACE | SolSanctumReliefsFirstReliefRoomActorPlacements [] | |
extern ACTOR_PLACE | SolSanctumReliefsSecondReliefRoomActorPlacements [] | |
extern ACTOR_PLACE | SolEntranceActorPlacements [] | |
extern CUE | SolSanctumEntranceFallbackCues [] | |
extern CUE | SolEntranceCues [] | |
extern CUE | SolSanctumReliefsCues [] | |
extern CUE | SolSanctumReliefsFirstReliefRoomCues [] | |
extern CUE | SolSanctumReliefsSecondReliefRoomCues [] | |
Sint32 | SolSanctumEntranceRumbleTimer |
Description
The way into Sol Sanctum: the mountainside before its door, and the first
rooms inside, where Isaac, Garet and Jenna follow Kraden on the morning the
story begins. Two scenes share this overlay, and every entry point chooses by
MainRoutineStateWork.next.
Sol Entrance (SceneIdSolEntrance) is the paved terrace at the top of the path
from Vale, with the sanctum's carved door in the cliff. Walking north into
the door (metatiles (6, 6) to (8, 6)) slides it open and takes the party in
(scSolSanctumEntranceOpenDoorAndEnter). Retreat does not work here. Until the
eruption the path leads down to Vale; during it, to Vale with the villagers
gathered (SceneIdValeEruption) until the party has left. After the eruption
the ground rumbles now and then. Once Isaac and Garet are back from the
mountain the door no longer opens: Isaac walks up to it and stops, and
searching it finds it "tightly locked". Once the party has left Vale, a
bearded man in a long robe stands in the path and warns everyone away.
Sol Sanctum (SceneIdSolSanctumReliefs) is the run of rooms behind the door,
in the order the party meets them:
- The entrance hall, where Kraden welcomes them on the first visit
(
scSolSanctumEntranceIntroduceSanctum). - Two rooms of stepping stones over water, where Isaac jumps one-metatile
gaps, joined by a corridor (
SceneIdSolSanctumCorridor). In the north of the second lie the chest with the first Small Jewel (metatile (17, 3)) and, at metatile (30, 2), a minotaur relief with an empty eye socket. Setting the jewel in it opens an arched doorway at the end of the west path, between two lit sconces (metatiles (3, 1) to (5, 2)). - The statue hall, the hall of eleven statues on a checkered floor that the
first relief opens. Kraden searches it for the hidden passage Saturos and
Menardi spoke of (
scSolSanctumEntranceKradenSuspectsHiddenPassage). Its westmost and eastmost statues stand in front of doorways, metatiles (94, 7) and (114, 7), and can be pushed or moved aside: the west one hides a small room with a statue that will not budge, the east one the steps up to the maze (SceneIdSolSanctumMaze) and its chest with the second Small Jewel. - The second relief room, at the maze's far end, where six statues stand in
alcoves across a channel of water. Kraden sees them out of reach
(
scSolSanctumEntranceKradenSeesStatuesOutOfReach); Move shifts them. The westmost hides the second minotaur relief, the next a doorway into a winding passage that leads nowhere. Once a statue is moved, Isaac can jump to its alcove from the stepping stone in the water before it, and push it by hand. Setting the second jewel opens a way behind the eastmost statue, on to the rooms of Sol and Luna (SceneIdSolSanctumLunaSolRooms).
Each relief room has actor placement and cue tables of its own.
scGetActorPlacements and scGetCues choose them by the entrance the party came
in at, so a room's statues and their scripts exist only while the party is in
it.
A pushed statue stays where it was left for the rest of the visit. Each
pushable statue's column is kept in two area flags, one for each side, which
scSolSanctumEntranceRestoreInteriorState reads to put it back on entry.
gmArrive clears them when the party enters another area, so the statues are
back at their starts on the next visit.
Searching a relief while its Small Jewel is held asks for the field menu as the search ends, so that the jewel can be used on it at once.
The locked door is two changes in Sol Entrance's setup, once
FLAG_VALE_RETURNED_FROM_MT_ALEPH is set. It makes the three
METATILE_BEHAVIOR_SOL_ENTRANCE_DOOR metatiles before the door plain ground,
and the three wall metatiles across the door
METATILE_BEHAVIOR_SOL_ENTRANCE_LOCKED_DOOR, copied from a spare row in the
cliff at the map's top left, metatiles (0, 1) to (2, 1), which the player
never reaches.
Macros in detail
FLAG_SOL_SANCTUM_EAST_STATUE_AT_EAST
#define FLAG_SOL_SANCTUM_EAST_STATUE_AT_EAST FLAG_AREA_TEMP(0x00)
The column each statue that can be pushed stands in, east or west of its start.
They are the statue hall's west and east statues, then the row of six in the second relief room. Both clear means the start.
Referenced by scSolSanctumEntranceEastStatueMoved() and scSolSanctumEntranceRestoreInteriorState().
Definition at line 148 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_EAST_STATUE_AT_WEST
#define FLAG_SOL_SANCTUM_EAST_STATUE_AT_WEST FLAG_AREA_TEMP(0x01)
Referenced by scSolSanctumEntranceEastStatueMoved() and scSolSanctumEntranceRestoreInteriorState().
Definition at line 149 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_WEST_STATUE_AT_EAST
#define FLAG_SOL_SANCTUM_WEST_STATUE_AT_EAST FLAG_AREA_TEMP(0x02)
Referenced by scSolSanctumEntranceRestoreInteriorState() and scSolSanctumEntranceWestStatueMoved().
Definition at line 150 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_WEST_STATUE_AT_WEST
#define FLAG_SOL_SANCTUM_WEST_STATUE_AT_WEST FLAG_AREA_TEMP(0x03)
Referenced by scSolSanctumEntranceRestoreInteriorState().
Definition at line 151 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_EAST FLAG_AREA_TEMP(0x10)
The second relief room's row of six statues, each two flags as above.
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueAMoved().
Definition at line 153 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_A_AT_WEST FLAG_AREA_TEMP(0x11)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 154 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_EAST FLAG_AREA_TEMP(0x12)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueBMoved().
Definition at line 155 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_B_AT_WEST FLAG_AREA_TEMP(0x13)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 156 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_EAST FLAG_AREA_TEMP(0x14)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueCMoved().
Definition at line 157 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_C_AT_WEST FLAG_AREA_TEMP(0x15)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 158 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_EAST FLAG_AREA_TEMP(0x16)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueDMoved().
Definition at line 159 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_D_AT_WEST FLAG_AREA_TEMP(0x17)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 160 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_EAST FLAG_AREA_TEMP(0x18)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueEMoved().
Definition at line 161 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_E_AT_WEST FLAG_AREA_TEMP(0x19)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 162 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_EAST
#define FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_EAST FLAG_AREA_TEMP(0x1a)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles() and scSolSanctumEntranceRowStatueFMoved().
Definition at line 163 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_WEST
#define FLAG_SOL_SANCTUM_ROW_STATUE_F_AT_WEST FLAG_AREA_TEMP(0x1b)
Referenced by scSolSanctumEntranceRestoreRowStatueMetatiles().
Definition at line 164 of file sol_sanctum_entrance.c.
MIDDLE_LAYER_ROW
#define MIDDLE_LAYER_ROW 40
The room's middle and overhead layers are drawn from the map grid 40 and 80 rows down, so a metatile of either is written as the room's row plus that start.
Referenced by scSolSanctumEntranceRestoreInteriorState(), scSolSanctumEntranceSetFirstSmallJewel() and scSolSanctumEntranceSetSecondSmallJewel().
Definition at line 204 of file sol_sanctum_entrance.c.
OVERHEAD_LAYER_ROW
#define OVERHEAD_LAYER_ROW 80
Referenced by scSolSanctumEntranceRestoreInteriorState() and scSolSanctumEntranceSetFirstSmallJewel().
Definition at line 205 of file sol_sanctum_entrance.c.
SOL_SANCTUM_ITEM_OWN_MESSAGE
#define SOL_SANCTUM_ITEM_OWN_MESSAGE 0x400
An item cue's subject bit that skips the <actor> uses <item>. message, so
the script shows its own (fdUseItem).
Referenced by SolSanctumReliefsCues and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 209 of file sol_sanctum_entrance.c.
FLAG_SOL_SANCTUM_IN_SECOND_RELIEF_ROOM
#define FLAG_SOL_SANCTUM_IN_SECOND_RELIEF_ROOM FLAG_SCENE_TEMP(0x34)
Set on entering the second relief room. The statue hall's Move rows hold only while it is clear, which in the hall it always is: every ordinary arrival clears the scene flags, only the second room's entrances set it, and a return from a battle comes back to the room it left.
Referenced by scSolSanctumEntranceRestoreInteriorState() and SolSanctumReliefsFirstReliefRoomCues.
Definition at line 689 of file sol_sanctum_entrance.c.
Enumerations in detail
anonymous enum
enum { ACTOR_KRADEN }
In Sol Sanctum (SceneIdSolSanctumReliefs), Kraden follows the party; Garet
and Jenna, placed before him, take their own party slots.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_KRADEN | ACTOR_FIRST_PLACED |
Definition at line 94 of file sol_sanctum_entrance.c.
anonymous enum
enum { ACTOR_WARNING_MAN }
At Sol Entrance (SceneIdSolEntrance), the one placed actor is a man with long
brown hair and a beard in a long robe, who stands in the path once the party
has left Vale and warns everyone away while Mt. Aleph is active; read with
Mind Read, he is all alone in this dangerous place and asks how the Great
Healer can treat him like this.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_WARNING_MAN | ACTOR_FIRST_PLACED |
Definition at line 104 of file sol_sanctum_entrance.c.
anonymous enum
enum { ACTOR_STATUE }
The statues, placed after Kraden. They share one sprite, which Kraden calls
statues ("More statues..."). Outside the two rooms below, Sol Sanctum places
one, in the statue nook off the statue hall
(SOL_SANCTUM_RELIEFS_STATUE_NOOK_STATUE_HALL).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_STATUE | ACTOR_FIRST_PLACED + 1 |
Definition at line 113 of file sol_sanctum_entrance.c.
anonymous enum
enum { ACTOR_WEST_STATUE, ACTOR_EAST_STATUE, ACTOR_FIRST_FIXED_STATUE }
The statue hall's eleven statues: the two that can be pushed, then nine that cannot.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_WEST_STATUE | ACTOR_FIRST_PLACED + 1 | |
ACTOR_EAST_STATUE | ||
ACTOR_FIRST_FIXED_STATUE | The first of the nine. |
Definition at line 120 of file sol_sanctum_entrance.c.
anonymous enum
enum { ACTOR_ROW_STATUE_A, ACTOR_ROW_STATUE_B, ACTOR_ROW_STATUE_C, ACTOR_ROW_STATUE_D, … }
The second relief room's row of six, each of which can be pushed a metatile
east or west; alike, they are lettered west to east, each starting 64 pixels
east of the one before (scSolSanctumEntranceRestoreInteriorState).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_ROW_STATUE_A | ACTOR_FIRST_PLACED + 1 | |
ACTOR_ROW_STATUE_B | ||
ACTOR_ROW_STATUE_C | ||
ACTOR_ROW_STATUE_D | ||
ACTOR_ROW_STATUE_E | ||
ACTOR_ROW_STATUE_F |
Definition at line 130 of file sol_sanctum_entrance.c.
SOL_ENTRANCE_METATILE_BEHAVIOR
enum SOL_ENTRANCE_METATILE_BEHAVIOR
The metatile behaviors Sol Entrance's step and examine cues answer.
Behaviors 1 to 16 in both scenes are the exits, in the exit table's order.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_SOL_ENTRANCE_DOOR | 2 | |
METATILE_BEHAVIOR_SOL_ENTRANCE_LOCKED_DOOR | 10 |
Definition at line 169 of file sol_sanctum_entrance.c.
SOL_SANCTUM_RELIEFS_METATILE_BEHAVIOR
enum SOL_SANCTUM_RELIEFS_METATILE_BEHAVIOR
The metatile behaviors the relief rooms' step, examine and item cues answer.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_FIRST_RELIEF | 20 | |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_SECOND_RELIEF | 21 | |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_FIRST_ROOM_STATUE | 22 | The statue |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_FIRST_ROOM_STATUE_EAST | 23 | hall's statues, pushed from any side. The statue hall's statues, pushed east only. |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_ROW_STATUE | 24 | The second relief |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_FIRST_ROOM_STATUE_WEST | 25 | room's row of statues. The |
METATILE_BEHAVIOR_SOL_SANCTUM_RELIEFS_CHEST | 100 | statue hall's statues, pushed west only. |
Definition at line 176 of file sol_sanctum_entrance.c.
Functions in detail
scSolSanctumEntranceApplyEntryState
static void scSolSanctumEntranceApplyEntryState(void)
Sets up Sol Entrance (SceneIdSolEntrance).
References fdMapGridCopyMetatileAttributes(), gmFlagGet(), gmFlagSet(), scSolSanctumEntranceUpdateEruptionRumbles(), SolSanctumEntranceRumbleTimer and sySetTickEvent().
Referenced by scInit().
Definition at lines 211 and 779 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRestoreInteriorState
static void scSolSanctumEntranceRestoreInteriorState(void)
Sets up Sol Sanctum (SceneIdSolSanctumReliefs).
References fdActorGet(), fdActorSetSpriteFlags(), fdEffectInitSparkles(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scSolSanctumEntranceIntroduceSanctum(), scSolSanctumEntranceKradenSeesStatuesOutOfReach(), scSolSanctumEntranceKradenSuspectsHiddenPassage(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scInit().
Definition at lines 212 and 812 of file sol_sanctum_entrance.c.
scSolSanctumEntranceIntroduceSanctum
static void scSolSanctumEntranceIntroduceSanctum(void)
The first time the party comes in through the door, Kraden steps up in the entrance hall, looks round and asks if this is their first time here; the answer gets "Take a good look at it" or "I doubt that...".
References fdActorFaceDirection(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdActorWaitForMoveById(), fdScriptAskYesNo(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), gmFlagClear(), gmFlagSet(), scPlaceAtLeader() and scWalkTowardLeader().
Referenced by scSolSanctumEntranceRestoreInteriorState().
Definition at lines 213 and 908 of file sol_sanctum_entrance.c.
scSolSanctumEntranceKradenSuspectsHiddenPassage
static void scSolSanctumEntranceKradenSuspectsHiddenPassage(void)
The first time the party enters the checkered statue hall, Kraden looks round both sides of it, then tells the others that Saturos and Menardi spoke of a hidden passage leading deeper in, and that a sanctum built in honour of the sun ought to show it somewhere. "Let's see if we can find it!" Garet asks whether they should help him, and whatever Isaac answers, the three agree to stay together and help.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorSetDestinationOffset(), fdActorSetPosFX(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdCameraWaitForMove(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagClear() and gmFlagSet().
Referenced by scSolSanctumEntranceRestoreInteriorState().
Definition at lines 214 and 978 of file sol_sanctum_entrance.c.
scSolSanctumEntranceKradenSeesStatuesOutOfReach
static void scSolSanctumEntranceKradenSeesStatuesOutOfReach(void)
The first time the party comes into the second relief room, the view pans along the six statues across the water and Kraden says, "More statues... It doesn't look like we can reach them," then, "Perhaps Psynergy is the key..."
References fdActorFaceDirection(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdActorShowEmote(), fdActorWaitForMoveById(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scFieldScriptShowMessageThenWait(), scPlaceAtLeader() and scWalkIntoLeader().
Referenced by scSolSanctumEntranceRestoreInteriorState().
Definition at lines 215 and 1205 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRestoreRowStatueMetatiles
static void scSolSanctumEntranceRestoreRowStatueMetatiles(Sint32 placeActors)
Sets the ground under the six statues across the water. Each statue's start
metatile is a wall while it stands there. Once it has been moved, the
metatile is one Isaac can jump to (METATILE_BEHAVIOR_JUMP_FORWARD) from the
stepping stone in the water two rows south, so he can get into the alcove.
With placeActors, the moved statues are also put back where they were left.
References fdMapGridCopyMetatileAttributes(), gmFlagGet() and Sint32.
Referenced by scSolSanctumEntranceRestoreInteriorState(), scSolSanctumEntranceRowStatueAMoved(), scSolSanctumEntranceRowStatueBMoved(), scSolSanctumEntranceRowStatueCMoved(), scSolSanctumEntranceRowStatueDMoved(), scSolSanctumEntranceRowStatueEMoved() and scSolSanctumEntranceRowStatueFMoved().
Definition at lines 216 and 1255 of file sol_sanctum_entrance.c.
scSolSanctumEntranceUpdateEruptionRumbles
static void scSolSanctumEntranceUpdateEruptionRumbles(void)
After the eruption the terrace before the door rumbles and shakes every few seconds, at random, each shake dying away.
A shake lasts 80 ticks and starts to fade after 40. Between shakes, each tick has one chance in 120 of starting the next.
References SolSanctumEntranceRumbleTimer and sySoundPlay().
Referenced by scSolSanctumEntranceApplyEntryState().
Definition at lines 217 and 1397 of file sol_sanctum_entrance.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
Returns Sol Entrance's entrances (SceneIdSolEntrance) or Sol Sanctum's
(SceneIdSolSanctumReliefs).
References MainRoutineStateWork, SolEntranceEntrances, SolSanctumEntranceFallbackEntrances and SolSanctumReliefsEntrances.
Definition at line 223 of file sol_sanctum_entrance.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
Definition at line 238 of file sol_sanctum_entrance.c.
scGetExits
const Uint32 *scGetExits(void)
References SolSanctumEntranceExits.
Definition at line 243 of file sol_sanctum_entrance.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
Selects the actors for the scene and, in Sol Sanctum, the room.
References fdAssignViewFlags(), MainRoutineStateWork, Sint32, SolEntranceActorPlacements, SolSanctumEntranceFallbackActorPlacements, SolSanctumReliefsActorPlacements, SolSanctumReliefsFirstReliefRoomActorPlacements and SolSanctumReliefsSecondReliefRoomActorPlacements.
Definition at line 249 of file sol_sanctum_entrance.c.
scGetCues
const CUE *scGetCues(void)
Selects the scripts for the scene and room, by the same entrances as
scGetActorPlacements.
References MainRoutineStateWork, Sint32, SolEntranceCues, SolSanctumEntranceFallbackCues, SolSanctumReliefsCues, SolSanctumReliefsFirstReliefRoomCues and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 285 of file sol_sanctum_entrance.c.
scSolSanctumEntranceOpenDoorAndEnter
static void scSolSanctumEntranceOpenDoorAndEnter(void)
Isaac walks north into Sol Sanctum's door at the top of the terrace (metatiles (6, 6) to (8, 6)); with a boom the stone door slides open, and he walks in as the screen fades.
The door is drawn open in three steps ten ticks apart, each copying the next picture of it from a spare part of the map.
References fdActorSetAnimation(), fdActorSetDestinationOffset(), fdActorSetSpritePriority(), fdActorWalkToAndWait(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().
Referenced by SolEntranceCues.
Definition at line 322 of file sol_sanctum_entrance.c.
scSolSanctumEntranceInspectFirstMinotaurRelief
static void scSolSanctumEntranceInspectFirstMinotaurRelief(void)
Isaac searches the minotaur relief at the north of the second room of stepping stones (metatile (30, 2)): "The right eye is sparkling, but there's a hole where the left eye should be." Once the Small Jewel is set, both eyes sparkle.
While Isaac holds the jewel, the field menu opens as the message ends, so that he can use it on the relief at once.
References fdScriptEnd(), fdScriptStart(), gmFlagGet() and mnFieldMessageShow().
Referenced by SolSanctumReliefsCues.
Definition at line 351 of file sol_sanctum_entrance.c.
scSolSanctumEntranceReactToOpeningPassage
static inline void scSolSanctumEntranceReactToOpeningPassage(void)
The room shakes as stone shifts, and the leader looks round, startled, and jumps.
References fdActorFaceDirection(), fdActorJump(), fdActorShowEmote() and fdScriptWait().
Referenced by scSolSanctumEntranceSetFirstSmallJewel() and scSolSanctumEntranceSetSecondSmallJewel().
Definition at line 375 of file sol_sanctum_entrance.c.
scSolSanctumEntranceSetFirstSmallJewel
static void scSolSanctumEntranceSetFirstSmallJewel(void)
Isaac uses the Small Jewel on the first minotaur relief (metatile (30, 2)) and sets it into the empty socket. "You hear the sound of shifting stone": the room shakes, Isaac looks round, startled, and an arched doorway opens at the end of the room's west path, between two lit sconces.
The jewel is used up. The doorway is metatiles (3, 1) to (5, 2), copied in
with their heights from a spare part of the map; scInit redraws it on later
visits.
References fdEndBusyAndReveal(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), mnFieldMessageShow(), scSolSanctumEntranceReactToOpeningPassage(), Sint32 and sySoundPlay().
Referenced by SolSanctumReliefsCues.
Definition at line 400 of file sol_sanctum_entrance.c.
scSolSanctumEntranceInspectSecondMinotaurRelief
static void scSolSanctumEntranceInspectSecondMinotaurRelief(void)
Isaac searches the second minotaur relief, uncovered behind the westmost of the six statues across the water (metatile (100, 31)). It too has one eye sparkling and a hole for the other, until the second Small Jewel is set.
References fdScriptEnd(), fdScriptStart(), gmFlagGet(), mnFieldMessageShow() and state.
Referenced by SolSanctumReliefsSecondReliefRoomCues.
Definition at line 439 of file sol_sanctum_entrance.c.
scSolSanctumEntranceSetSecondSmallJewel
static void scSolSanctumEntranceSetSecondSmallJewel(void)
Isaac uses the second Small Jewel on the second minotaur relief (metatile (100, 31)) and sets it. Stone shifts, the room shakes, and a doorway opens in the wall behind the eastmost of the six statues (metatiles (120, 30) to (120, 31)), the way on to the rooms of Sol and Luna.
The eastmost statue still stands in front of the doorway until it is moved aside.
References fdEndBusyAndReveal(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), mnFieldMessageShow(), scSolSanctumEntranceReactToOpeningPassage(), Sint32 and sySoundPlay().
Referenced by SolSanctumReliefsSecondReliefRoomCues.
Definition at line 473 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRecordStatueColumn
static inline void scSolSanctumEntranceRecordStatueColumn(Sint32 column, Sint32 flagBase, Sint32 leftColumn, Sint32 rightColumn)
Notes which side of its starting column a moved statue now stands on, so it stays there for the rest of the visit: flagBase (its _AT_EAST flag) for rightColumn, the flag after it (_AT_WEST) for leftColumn, neither back at its start.
References gmFlagClear(), gmFlagSet() and Sint32.
Referenced by scSolSanctumEntranceRowStatueAMoved(), scSolSanctumEntranceRowStatueBMoved(), scSolSanctumEntranceRowStatueCMoved(), scSolSanctumEntranceRowStatueDMoved(), scSolSanctumEntranceRowStatueEMoved(), scSolSanctumEntranceRowStatueFMoved() and scSolSanctumEntranceWestStatueMoved().
Definition at line 509 of file sol_sanctum_entrance.c.
scSolSanctumEntranceWestStatueMoved
static void scSolSanctumEntranceWestStatueMoved(void)
Isaac shifts the westmost statue of the checkered statue hall a metatile east or west, with Move or by pushing it, and uncovers the dark doorway behind it (metatile (94, 7)) to a small room whose statue will not budge. Nothing more happens on screen.
The Move row runs this after Move has shifted the statue, and
scSolSanctumEntrancePushStatue after a push. The statue starts in column 94;
columns 93 and 95 set its two flags.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsFirstReliefRoomCues.
Definition at line 534 of file sol_sanctum_entrance.c.
scSolSanctumEntranceEastStatueMoved
static void scSolSanctumEntranceEastStatueMoved(void)
Isaac shifts the eastmost statue of the checkered statue hall a metatile east or west, with Move or by pushing it, and uncovers the doorway behind it (metatile (114, 7)) to the steps up to the maze. As for the west statue, the game notes which side it now stands on.
The statue starts in column 114; columns 113 and 115 set its two flags.
References fdActorGet(), fdScriptClearFlag(), gmFlagSet() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsFirstReliefRoomCues.
Definition at line 554 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueAMoved
static void scSolSanctumEntranceRowStatueAMoved(void)
Isaac uses Move on the westmost of the six statues across the water (metatile (100, 32)) and shifts it a metatile east or west, uncovering the second minotaur relief in the wall behind it.
scSolSanctumEntrancePushStatue runs this too, after a push by hand.
scSolSanctumEntranceRestoreRowStatueMetatiles then lets Isaac jump into the
metatile the statue left, from the stepping stone before it.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 583 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueBMoved
static void scSolSanctumEntranceRowStatueBMoved(void)
Isaac uses Move on the second of the six statues from the west (metatile (104, 32)) and shifts it aside, uncovering a dark doorway behind it into a winding passage that leads nowhere.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 601 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueCMoved
static void scSolSanctumEntranceRowStatueCMoved(void)
Isaac uses Move on the third of the six statues from the west (metatile (108, 32)) and shifts it aside; only plain wall stands behind it.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 618 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueDMoved
static void scSolSanctumEntranceRowStatueDMoved(void)
Isaac uses Move on the fourth of the six statues from the west (metatile (112, 32)) and shifts it aside; only plain wall stands behind it.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 635 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueEMoved
static void scSolSanctumEntranceRowStatueEMoved(void)
Isaac uses Move on the fifth of the six statues from the west (metatile (116, 32)) and shifts it aside; only plain wall stands behind it.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 652 of file sol_sanctum_entrance.c.
scSolSanctumEntranceRowStatueFMoved
static void scSolSanctumEntranceRowStatueFMoved(void)
Isaac uses Move on the eastmost of the six statues (metatile (120, 32)) and shifts it aside. Behind it is plain wall until the second Small Jewel is set in the relief, then the doorway on to the rooms of Sol and Luna.
References fdActorGet(), scSolSanctumEntranceRecordStatueColumn(), scSolSanctumEntranceRestoreRowStatueMetatiles() and Sint32.
Referenced by scSolSanctumEntrancePushStatue() and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 670 of file sol_sanctum_entrance.c.
scSolSanctumEntrancePushStatue
static void scSolSanctumEntrancePushStatue(void)
Isaac walks into one of the statues that can be pushed and shoves it one metatile, following behind it, if nothing is in the way: the westmost and eastmost statues of the checkered hall (metatiles (94, 8) and (114, 8)), which a dotted line on the floor marks, or a statue of the row across the water, once he has jumped into its alcove.
Each statue's metatiles and the metatiles beside it carry the push behaviours; the statue pushed is whichever stands one step ahead of the leader. After the push the room's Moved functions note where every statue now stands.
References fdActorGet(), fdActorSelectAnimation(), fdActorStepFrom(), fdActorWaitForMove(), MainRoutineStateWork, PushedActorDirectionSteps, scActorFindAtMetatile(), scFieldActorCheckMovementCollision(), scFieldActorSetMoveTargetFX(), scSolSanctumEntranceEastStatueMoved(), scSolSanctumEntranceRowStatueAMoved(), scSolSanctumEntranceRowStatueBMoved(), scSolSanctumEntranceRowStatueCMoved(), scSolSanctumEntranceRowStatueDMoved(), scSolSanctumEntranceRowStatueEMoved(), scSolSanctumEntranceRowStatueFMoved(), scSolSanctumEntranceWestStatueMoved(), sySoundPlay() and sySynch().
Referenced by SolSanctumReliefsFirstReliefRoomCues and SolSanctumReliefsSecondReliefRoomCues.
Definition at line 701 of file sol_sanctum_entrance.c.
scInit
Sint32 scInit(void)
Sets up Sol Entrance or Sol Sanctum.
References MainRoutineStateWork, scSolSanctumEntranceApplyEntryState(), scSolSanctumEntranceRestoreInteriorState() and Sint32.
Definition at line 763 of file sol_sanctum_entrance.c.
scSolSanctumEntranceDoorTightlyLocked
static void scSolSanctumEntranceDoorTightlyLocked(void)
Isaac searches Sol Sanctum's door once he and Garet are back from the mountain: "The door is tightly locked."
The search answers the wall metatiles across the door, (6, 5) to (8, 5), which Sol Entrance's setup gives this behaviour only then.
References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().
Referenced by SolEntranceCues.
Definition at line 1384 of file sol_sanctum_entrance.c.
Variables in detail
SolSanctumEntranceFallbackEntrances
extern SCENE_ENTRANCE SolSanctumEntranceFallbackEntrances[]
SCENE_ENTRANCE SolSanctumEntranceFallbackEntrances[]
Referenced by scGetEntrances().
Definition at lines 77 and 1417 of file sol_sanctum_entrance.c.
SolEntranceEntrances
extern SCENE_ENTRANCE SolEntranceEntrances[]
SCENE_ENTRANCE SolEntranceEntrances[]
Referenced by scGetEntrances().
Definition at lines 78 and 1431 of file sol_sanctum_entrance.c.
SolSanctumReliefsEntrances
extern SCENE_ENTRANCE SolSanctumReliefsEntrances[]
SCENE_ENTRANCE SolSanctumReliefsEntrances[]
Each keeps the camera within the room the party arrives in.
Referenced by scGetEntrances().
Definition at lines 79 and 1440 of file sol_sanctum_entrance.c.
SolSanctumEntranceExits
extern Uint32 SolSanctumEntranceExits[]
Uint32 SolSanctumEntranceExits[]
Sol Entrance (SceneIdSolEntrance), then Sol Sanctum
(SceneIdSolSanctumReliefs). Sol Entrance's way down leads to SceneIdVale
until the eruption, then to Vale during the eruption (SceneIdValeEruption)
until the party has left Vale.
Referenced by scGetExits().
Definition at lines 80 and 1482 of file sol_sanctum_entrance.c.
SolSanctumEntranceFallbackActorPlacements
extern ACTOR_PLACE SolSanctumEntranceFallbackActorPlacements[]
ACTOR_PLACE SolSanctumEntranceFallbackActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 81 and 1566 of file sol_sanctum_entrance.c.
SolSanctumReliefsActorPlacements
extern ACTOR_PLACE SolSanctumReliefsActorPlacements[]
ACTOR_PLACE SolSanctumReliefsActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 82 and 1571 of file sol_sanctum_entrance.c.
SolSanctumReliefsFirstReliefRoomActorPlacements
extern ACTOR_PLACE SolSanctumReliefsFirstReliefRoomActorPlacements[]
ACTOR_PLACE SolSanctumReliefsFirstReliefRoomActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 83 and 1583 of file sol_sanctum_entrance.c.
SolSanctumReliefsSecondReliefRoomActorPlacements
extern ACTOR_PLACE SolSanctumReliefsSecondReliefRoomActorPlacements[]
ACTOR_PLACE SolSanctumReliefsSecondReliefRoomActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 84 and 1615 of file sol_sanctum_entrance.c.
SolEntranceActorPlacements
extern ACTOR_PLACE SolEntranceActorPlacements[]
ACTOR_PLACE SolEntranceActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 85 and 1637 of file sol_sanctum_entrance.c.
SolSanctumEntranceFallbackCues
extern CUE SolSanctumEntranceFallbackCues[]
CUE SolSanctumEntranceFallbackCues[]
Referenced by scGetCues().
Definition at lines 86 and 1643 of file sol_sanctum_entrance.c.
SolEntranceCues
extern CUE SolEntranceCues[]
CUE SolEntranceCues[]
References scSolSanctumEntranceDoorTightlyLocked() and scSolSanctumEntranceOpenDoorAndEnter().
Referenced by scGetCues().
Definition at lines 87 and 1647 of file sol_sanctum_entrance.c.
SolSanctumReliefsCues
extern CUE SolSanctumReliefsCues[]
CUE SolSanctumReliefsCues[]
References scSolSanctumEntranceInspectFirstMinotaurRelief() and scSolSanctumEntranceSetFirstSmallJewel().
Referenced by scGetCues().
Definition at lines 88 and 1659 of file sol_sanctum_entrance.c.
SolSanctumReliefsFirstReliefRoomCues
extern CUE SolSanctumReliefsFirstReliefRoomCues[]
CUE SolSanctumReliefsFirstReliefRoomCues[]
References scSolSanctumEntranceEastStatueMoved(), scSolSanctumEntrancePushStatue() and scSolSanctumEntranceWestStatueMoved().
Referenced by scGetCues().
Definition at lines 89 and 1687 of file sol_sanctum_entrance.c.
SolSanctumReliefsSecondReliefRoomCues
extern CUE SolSanctumReliefsSecondReliefRoomCues[]
CUE SolSanctumReliefsSecondReliefRoomCues[]
References scSolSanctumEntranceInspectSecondMinotaurRelief(), scSolSanctumEntrancePushStatue(), scSolSanctumEntranceRowStatueAMoved(), scSolSanctumEntranceRowStatueBMoved(), scSolSanctumEntranceRowStatueCMoved(), scSolSanctumEntranceRowStatueDMoved(), scSolSanctumEntranceRowStatueEMoved(), scSolSanctumEntranceRowStatueFMoved() and scSolSanctumEntranceSetSecondSmallJewel().
Referenced by scGetCues().
Definition at lines 90 and 1720 of file sol_sanctum_entrance.c.
SolSanctumEntranceRumbleTimer
Sint32 SolSanctumEntranceRumbleTimer
References Sint32.
Referenced by scSolSanctumEntranceApplyEntryState() and scSolSanctumEntranceUpdateEruptionRumbles().
Definition at line 219 of file sol_sanctum_entrance.c.