A sanctum: Vale's, where the Great Healer asks Isaac to go to Sol Sanctum and a refusal ends the game, or another town's, with its healer. More...
Go to the source code of this file.
Macros | |
| #define | SANCTUM_NEW_FRIENDS_SPEAKER 2 |
| #define | QUESTION_X 2 |
| #define | QUESTION_WIDTH 25 |
| #define | CURSOR_X 24 |
Enumerations | |
| enum | { ACTOR_HEALER = ACTOR_FIRST_PLACED , ACTOR_DORA = ACTOR_FIRST_PLACED + 3 , ACTOR_WISE_ONE = ACTOR_FIRST_PLACED + 5 , ACTOR_HEALER_AFTERIMAGE } |
| The first placed actor is the sanctum's healer: the Great Healer in Vale, the town's healer elsewhere. More... | |
Functions | |
| static void | Sanctum_RequestQuestAcceptance (void) |
| Discusses Sol Sanctum and asks Isaac to accept the quest. | |
| static void | Sanctum_ReceiveWiseOnesMission (void) |
| Brings in the Wise One and prepares the party for its mission. | |
| static void | Sanctum_ShowHealerAfterimage (void) |
| Copies the healer into the afterimage actor. | |
| static void | Sanctum_HideHealerAfterimage (void) |
| static void | Sanctum_UpdateHealerAfterimage (union FieldObject *fieldObject) |
| Cycles the afterimage through four offsets from the healer. | |
| static void | Sanctum_SpawnOrbitingEffect (s32 ownerId, s32 angleStep) |
| Creates an orbiting effect with the requested angular step. | |
| static s32 | Sanctum_ChooseRestartOption (void) |
| Offers the refusal ending's restart choices and returns the selection. | |
| static void | Sanctum_ReenactSolSanctum (void) |
| Has Isaac and Garet act out the events at Sol Sanctum. | |
| static void | Sanctum_RaiseItemIcon (s32 item, s32 fixedX, s32 fixedY, s32 fixedZ) |
| Shows an item icon rising from the supplied fixed-point position. | |
| static void | Sanctum_SpawnActorSpark (s32 id) |
| Creates a short-lived spark beside the specified actor. | |
| static void | Sanctum_RestoreCeremonyFloor (void) |
| Restores the two floor rectangles changed during the ceremony. | |
| static s32 | Sanctum_FaceActorNamedByTimer (union FieldObject *fieldObject) |
| Faces the actor whose ID this callback stores in the timer field. | |
| const struct SceneEntrance * | Sanctum_GetEntrances (void) |
| Returns the entrances shared by all Sanctum visits. | |
| const struct SceneRegion * | Sanctum_GetRegions (void) |
| const u32 * | Sanctum_GetExits (void) |
| const struct ScenePlacement * | Sanctum_GetPlacements (void) |
| Chooses the actors for the current entrance. | |
| const struct SceneEvent * | Sanctum_GetEvents (void) |
| Chooses interactions for the entrance and current story flags. | |
| static void | Event_TalkAboutGoldenStatue (void) |
| Talking to the attendant (actor 9) in Vale's Sanctum: about the golden statue and the healer. | |
| static void | Event_ReadMindAboutGoldenStatue (void) |
| Reading the attendant's mind (actor 9): about the statue and Psynergy. | |
| static void | Event_ReconsiderQuest (void) |
| Talking to the Great Healer after refusing: changing his mind, Isaac accepts after all. | |
| static void | Event_AskAboutNewAdepts (void) |
| Talking to actor 9 after the party grows: the actor asks about the new friends. | |
| static void | Event_AskAboutPsynergyChanges (void) |
| Talking to actor 10 after the party has left Vale: does Isaac feel a change in his Psynergy? | |
| s32 | Sanctum_Initialize (void) |
| Prepares the current visit and starts its opening scene. | |
| static void | Event_WarnBeforeLeaving (void) |
| Walking toward the door after refusing: the Great Healer warns that the choice is final. | |
| static void | Event_LeaveAfterRefusing (void) |
| Leaving after refusing: the room turns sepia and the game offers to start again. | |
| static s32 | Sanctum_MatchLeaderPriority (union FieldObject *fieldObject) |
| Keeps this actor at the party leader's drawing priority. | |
| static void | Sanctum_NodCeremonyGroup (void) |
| Has the party and four witnesses nod, waiting for the final witness. | |
| static void | Sanctum_StartCeremonyGroupMotion (void) |
| Starts the six group motions and waits for the final witness. | |
| static void | Sanctum_ShowCeremonyGroupEmotes (void) |
| Shows the same foreground reaction on the party and four witnesses. | |
| static void | Sanctum_UpdateOrbitingEffect (union FieldObject *fieldObject) |
| Advances an effect around its linked actor on an elliptical path. | |
| static void | Sanctum_UpdateRisingSpark (union FieldObject *object) |
| Moves a spark upward, cycles its scale, and expires its lifetime. | |
| static s32 | Sanctum_IsLeaderFacingHealer (void) |
| static void | Event_TalkToHealer (void) |
| Talking to the healer: healing from the front, otherwise words that follow the story. | |
| static void | Event_TalkToHealerOnVisit (void) |
| Talking to the healer on a later visit: healing from the front, otherwise words for this visit. | |
| static void | Event_TalkAboutCurse (void) |
| Talking to this sanctum's healer: about the curse, lifted or not. | |
| static void | Event_TalkAboutAltinMonsters (void) |
| Talking to this sanctum's healer: about the monsters, and the party's help in Altin. | |
| static void | Event_TalkAboutJourneyFromXian (void) |
| Talking to this sanctum's healer, come from Xian. | |
Variables | |
| u32 | gSanctum_LeaderCircleScript [] |
| u32 | gSanctum_GaretCircleScript [] |
| s32 | gSanctum_ItemIconGrowScript [] |
| s32 | gSanctum_ItemIconEndScript [] |
| struct SceneEntrance | gSanctum_Entrances [] |
| u32 | gSanctum_Exits [] |
| struct ScenePlacement | gSanctum_PlacementA [] |
| struct ScenePlacement | gSanctum_PlacementB [] |
| struct ScenePlacement | gSanctum_PlacementSequenceB [] |
| struct ScenePlacement | gSanctum_PlacementC [] |
| struct ScenePlacement | gSanctum_PlacementD [] |
| struct ScenePlacement | gSanctum_PlacementE [] |
| struct SceneEvent | gSanctum_SceneTableA [] |
| struct SceneEvent | gSanctum_SceneTableB [] |
| struct SceneEvent | gSanctum_SceneTableC [] |
| struct SceneEvent | gSanctum_SceneTableD [] |
| struct SceneEvent | gSanctum_SceneTableE [] |
| struct SceneEvent | gSanctum_SceneTableF [] |
| struct SceneEvent | gSanctum_SceneTableG [] |
| struct SceneEvent | gSanctum_SceneTableH [] |
| struct SceneEvent | gSanctum_SceneTableI [] |
| s32 | gSanctum_CursorBob [] |
| s32 | gSanctum_OwnerEffectScript [] |
| s32 | gSanctum_SparkEndScript [] |
A sanctum: Vale's, where the Great Healer asks Isaac to go to Sol Sanctum and a refusal ends the game, or another town's, with its healer.
Definition in file sanctum.c.
| #define SANCTUM_NEW_FRIENDS_SPEAKER 2 |
Definition at line 266 of file sanctum.c.
Referenced by Event_AskAboutNewAdepts().
| #define QUESTION_X 2 |
Definition at line 1480 of file sanctum.c.
Referenced by Sanctum_ChooseRestartOption().
| #define QUESTION_WIDTH 25 |
Definition at line 1481 of file sanctum.c.
Referenced by Sanctum_ChooseRestartOption().
| #define CURSOR_X 24 |
Definition at line 1482 of file sanctum.c.
Referenced by Sanctum_ChooseRestartOption().
| anonymous enum |
The first placed actor is the sanctum's healer: the Great Healer in Vale, the town's healer elsewhere.
At the quest (entrances 20 and 21) Dora says "Mother would never doubt your courage", the Wise One appears, and a copy of the healer draws its afterimage.
| Enumerator | |
|---|---|
| ACTOR_HEALER | |
| ACTOR_DORA | |
| ACTOR_WISE_ONE | |
| ACTOR_HEALER_AFTERIMAGE | |
|
static |
Discusses Sol Sanctum and asks Isaac to accept the quest.
Definition at line 459 of file sanctum.c.
Referenced by Sanctum_Initialize(), and Sanctum_RequestQuestAcceptance().
|
static |
Brings in the Wise One and prepares the party for its mission.
Definition at line 982 of file sanctum.c.
Referenced by Event_ReconsiderQuest(), Sanctum_ReceiveWiseOnesMission(), and Sanctum_RequestQuestAcceptance().
|
static |
Copies the healer into the afterimage actor.
Definition at line 1357 of file sanctum.c.
Referenced by Sanctum_ReceiveWiseOnesMission(), Sanctum_RequestQuestAcceptance(), and Sanctum_ShowHealerAfterimage().
|
static |
Definition at line 1391 of file sanctum.c.
Referenced by Sanctum_HideHealerAfterimage(), Sanctum_ReceiveWiseOnesMission(), and Sanctum_RequestQuestAcceptance().
|
static |
Cycles the afterimage through four offsets from the healer.
Definition at line 1398 of file sanctum.c.
Referenced by Sanctum_ShowHealerAfterimage(), and Sanctum_UpdateHealerAfterimage().
Creates an orbiting effect with the requested angular step.
Definition at line 1445 of file sanctum.c.
Referenced by Sanctum_RequestQuestAcceptance(), and Sanctum_SpawnOrbitingEffect().
|
static |
Offers the refusal ending's restart choices and returns the selection.
Definition at line 1490 of file sanctum.c.
Referenced by Event_LeaveAfterRefusing(), and Sanctum_ChooseRestartOption().
|
static |
Has Isaac and Garet act out the events at Sol Sanctum.
Definition at line 1534 of file sanctum.c.
Referenced by Sanctum_ReenactSolSanctum(), and Sanctum_RequestQuestAcceptance().
Shows an item icon rising from the supplied fixed-point position.
Definition at line 1772 of file sanctum.c.
Referenced by Sanctum_RaiseItemIcon(), and Sanctum_ReenactSolSanctum().
|
static |
Creates a short-lived spark beside the specified actor.
Definition at line 1835 of file sanctum.c.
Referenced by Sanctum_ReceiveWiseOnesMission(), and Sanctum_SpawnActorSpark().
|
static |
Restores the two floor rectangles changed during the ceremony.
Definition at line 1865 of file sanctum.c.
Referenced by Sanctum_Initialize(), and Sanctum_RestoreCeremonyFloor().
|
static |
Faces the actor whose ID this callback stores in the timer field.
Definition at line 82 of file sanctum.c.
Referenced by Sanctum_FaceActorNamedByTimer(), and Sanctum_ReenactSolSanctum().
| const struct SceneEntrance * Sanctum_GetEntrances | ( | void | ) |
Returns the entrances shared by all Sanctum visits.
Definition at line 98 of file sanctum.c.
Referenced by Sanctum_GetEntrances().
| const struct SceneRegion * Sanctum_GetRegions | ( | void | ) |
Definition at line 102 of file sanctum.c.
Referenced by Sanctum_GetRegions().
| const u32 * Sanctum_GetExits | ( | void | ) |
Definition at line 104 of file sanctum.c.
Referenced by Sanctum_GetExits().
| const struct ScenePlacement * Sanctum_GetPlacements | ( | void | ) |
Chooses the actors for the current entrance.
Definition at line 107 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| const struct SceneEvent * Sanctum_GetEvents | ( | void | ) |
Chooses interactions for the entrance and current story flags.
Definition at line 133 of file sanctum.c.
Referenced by Sanctum_GetEvents().
|
static |
Talking to the attendant (actor 9) in Vale's Sanctum: about the golden statue and the healer.
Definition at line 165 of file sanctum.c.
Referenced by Event_TalkAboutGoldenStatue().
|
static |
Reading the attendant's mind (actor 9): about the statue and Psynergy.
Definition at line 186 of file sanctum.c.
Referenced by Event_ReadMindAboutGoldenStatue().
|
static |
Talking to the Great Healer after refusing: changing his mind, Isaac accepts after all.
"Are you sure?"
Definition at line 210 of file sanctum.c.
Referenced by Event_ReconsiderQuest(), and Event_TalkToHealerOnVisit().
|
static |
Talking to actor 9 after the party grows: the actor asks about the new friends.
"Isaac, are your new friends Adepts?"
Definition at line 273 of file sanctum.c.
Referenced by Event_AskAboutNewAdepts().
|
static |
Talking to actor 10 after the party has left Vale: does Isaac feel a change in his Psynergy?
Definition at line 294 of file sanctum.c.
Referenced by Event_AskAboutPsynergyChanges().
| s32 Sanctum_Initialize | ( | void | ) |
Prepares the current visit and starts its opening scene.
Definition at line 311 of file sanctum.c.
Referenced by Sanctum_Initialize().
|
static |
Walking toward the door after refusing: the Great Healer warns that the choice is final.
"Once you step outside the village, you cannot take back your decision."
Definition at line 351 of file sanctum.c.
Referenced by Event_WarnBeforeLeaving().
|
static |
Leaving after refusing: the room turns sepia and the game offers to start again.
"And so the world began drifting..."
Definition at line 369 of file sanctum.c.
Referenced by Event_LeaveAfterRefusing().
|
static |
Keeps this actor at the party leader's drawing priority.
Definition at line 414 of file sanctum.c.
Referenced by Sanctum_MatchLeaderPriority(), and Sanctum_RequestQuestAcceptance().
|
inlinestatic |
Has the party and four witnesses nod, waiting for the final witness.
Definition at line 429 of file sanctum.c.
Referenced by Sanctum_NodCeremonyGroup(), and Sanctum_ReceiveWiseOnesMission().
|
inlinestatic |
Starts the six group motions and waits for the final witness.
Definition at line 439 of file sanctum.c.
Referenced by Sanctum_ReceiveWiseOnesMission(), and Sanctum_StartCeremonyGroupMotion().
|
inlinestatic |
Shows the same foreground reaction on the party and four witnesses.
Definition at line 449 of file sanctum.c.
Referenced by Sanctum_ReceiveWiseOnesMission(), and Sanctum_ShowCeremonyGroupEmotes().
|
static |
Advances an effect around its linked actor on an elliptical path.
Definition at line 1423 of file sanctum.c.
Referenced by Sanctum_SpawnOrbitingEffect(), and Sanctum_UpdateOrbitingEffect().
|
static |
Moves a spark upward, cycles its scale, and expires its lifetime.
Definition at line 1805 of file sanctum.c.
Referenced by Sanctum_SpawnActorSpark(), and Sanctum_UpdateRisingSpark().
|
static |
Definition at line 1875 of file sanctum.c.
Referenced by Event_TalkAboutAltinMonsters(), Event_TalkAboutCurse(), Event_TalkAboutJourneyFromXian(), Event_TalkToHealer(), Event_TalkToHealerOnVisit(), and Sanctum_IsLeaderFacingHealer().
|
static |
|
static |
Talking to the healer on a later visit: healing from the front, otherwise words for this visit.
Definition at line 1905 of file sanctum.c.
Referenced by Event_TalkToHealerOnVisit().
|
static |
Talking to this sanctum's healer: about the curse, lifted or not.
Definition at line 1944 of file sanctum.c.
Referenced by Event_TalkAboutCurse().
|
static |
Talking to this sanctum's healer: about the monsters, and the party's help in Altin.
Definition at line 1961 of file sanctum.c.
Referenced by Event_TalkAboutAltinMonsters().
|
static |
Talking to this sanctum's healer, come from Xian.
Definition at line 1976 of file sanctum.c.
Referenced by Event_TalkAboutJourneyFromXian().
| u32 gSanctum_LeaderCircleScript[] |
| u32 gSanctum_GaretCircleScript[] |
| s32 gSanctum_ItemIconGrowScript[] |
Definition at line 2041 of file sanctum.c.
Referenced by Sanctum_RaiseItemIcon().
| s32 gSanctum_ItemIconEndScript[] |
Definition at line 2084 of file sanctum.c.
Referenced by Sanctum_RaiseItemIcon().
| struct SceneEntrance gSanctum_Entrances[] |
Definition at line 2089 of file sanctum.c.
Referenced by Sanctum_GetEntrances().
| u32 gSanctum_Exits[] |
Definition at line 2104 of file sanctum.c.
Referenced by Sanctum_GetExits().
| struct ScenePlacement gSanctum_PlacementA[] |
Definition at line 2118 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| struct ScenePlacement gSanctum_PlacementB[] |
Definition at line 2122 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| struct ScenePlacement gSanctum_PlacementSequenceB[] |
Definition at line 2137 of file sanctum.c.
Referenced by Event_AskAboutNewAdepts().
| struct ScenePlacement gSanctum_PlacementC[] |
Definition at line 2144 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| struct ScenePlacement gSanctum_PlacementD[] |
Definition at line 2154 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| struct ScenePlacement gSanctum_PlacementE[] |
Definition at line 2174 of file sanctum.c.
Referenced by Sanctum_GetPlacements().
| struct SceneEvent gSanctum_SceneTableA[] |
Definition at line 2180 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableB[] |
Definition at line 2188 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableC[] |
Definition at line 2198 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableD[] |
Definition at line 2207 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableE[] |
Definition at line 2219 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableF[] |
Definition at line 2230 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableG[] |
Definition at line 2241 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableH[] |
Definition at line 2250 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| struct SceneEvent gSanctum_SceneTableI[] |
Definition at line 2262 of file sanctum.c.
Referenced by Sanctum_GetEvents().
| s32 gSanctum_CursorBob[] |
| s32 gSanctum_OwnerEffectScript[] |
Definition at line 2281 of file sanctum.c.
Referenced by Sanctum_SpawnOrbitingEffect().
| s32 gSanctum_SparkEndScript[] |
Definition at line 2289 of file sanctum.c.
Referenced by Sanctum_UpdateRisingSpark().