Sol Sanctum's Elemental Star room: the party bags the four stars from their pedestals, Saturos and Menardi take Jenna and Kraden hostage, and Alex takes the stars. More...
Go to the source code of this file.
Macros | |
| #define | NULL ((void *)0) |
Enumerations | |
| enum | StarRoomActor { ACTOR_TELEPORT_GLOW = ACTOR_FIRST_PLACED , ACTOR_KRADEN , ACTOR_SATUROS , ACTOR_MENARDI , ACTOR_FELIX_MASKED , ACTOR_FELIX , ACTOR_ALEX } |
Functions | |
| static void | SolSanctumElementalStarRoom_BagJupiterStar (void) |
| Reveals the Jupiter crossings and places the star in a mythril bag. | |
| static void | SolSanctumElementalStarRoom_RevealSaturosAndMenardi (void) |
| Brings Isaac and Garet back to discover Jenna and Kraden's captors. | |
| static void | SolSanctumElementalStarRoom_DemandElementalStars (void) |
| Reveals the masked intruder while the captors demand the stars. | |
| static void | SolSanctumElementalStarRoom_OfferHostageGuarantee (void) |
| Has the captors offer a guarantee for their hostages' safety. | |
| static void | SolSanctumElementalStarRoom_UnmaskFelix (void) |
| Reveals Felix's identity and lets Isaac decide how to hand over the stars. | |
| static void | SolSanctumElementalStarRoom_AlexTakesStars (void) |
| Has Alex collect the stars and returns the party to the final pedestal. | |
| static void | SolSanctumElementalStarRoom_LineUpFollowers (void) |
| Arranges the captors and hostages after the exchange. | |
| static void | SolSanctumElementalStarRoom_ShowMessageAndWait (s32 speaker, s32 frames) |
| static s32 | SolSanctumElementalStarRoom_PresentStar (s32 item, s32 x, s32 y, s32 z) |
| Animates a star's icon and replaces its owner's mythril bag with the star. | |
| static void | SolSanctumElementalStarRoom_GiveMythrilBags (void) |
| Makes inventory room and gives the party four bags, preserving the dialogue. | |
| static void | SolSanctumElementalStarRoom_AnimateAlexTeleport (void) |
| Emits sparks while Alex disappears and reappears. | |
| static __inline__ void | SolSanctumElementalStarRoom_SkipMessages (s32 amount) |
| Advances through the current dialogue's consecutive messages. | |
| const struct SceneEntrance * | SolSanctumElementalStarRoom_GetEntrances (void) |
| const struct SceneRegion * | SolSanctumElementalStarRoom_GetRegions (void) |
| const u32 * | SolSanctumElementalStarRoom_GetExits (void) |
| const struct ScenePlacement * | SolSanctumElementalStarRoom_GetPlacements (void) |
| const struct SceneEvent * | SolSanctumElementalStarRoom_GetEvents (void) |
| Returns the star, dialogue, and boundary interactions. | |
| static void | Event_BagVenusStar (void) |
| Searching the Venus Star's pedestal: the room flashes, new crossings open between the pedestals, and the star goes into a Mythril Bag. | |
| static void | Event_BagMercuryStar (void) |
| Searching the Mercury Star's pedestal: as the Venus Star. | |
| static void | Event_BagJupiterStarAndMeetSaturos (void) |
| Searching the Jupiter Star's pedestal: the star is bagged, then Saturos and Menardi appear, take Jenna and Kraden hostage, and Alex takes the stars. | |
| static void | Event_TakeMarsStar (void) |
| Searching the Mars Star's pedestal: Isaac takes the last star and the room begins to shake. | |
| static void | Event_TalkToKraden (void) |
| Talking to Kraden: about the stars still to bag, or the hostages. | |
| static void | Event_TalkToJenna (void) |
| Talking to Jenna, or reading her mind: about the stars, or Felix alive. | |
| static void | Event_TalkToSaturos (void) |
| Talking to Saturos: he demands the last star. | |
| static void | Event_TalkToMenardi (void) |
| Talking to Menardi, or reading her mind: she demands the last one. | |
| static void | Event_TalkToFelix (void) |
| Talking to Felix: he says nothing. "...". | |
| static void | Event_TalkToAlex (void) |
| Talking to Alex: only one star is left. | |
| static void | Event_KradenStopsPartyLeaving (void) |
| Heading out before the stars are bagged: the party is called back. | |
| static void | Event_CheckAhead (void) |
| Walking into trigger 10 or 11: the way ahead is checked as on any field. | |
| static void | SolSanctumElementalStarRoom_ShowPedestal (s32 cameraX, s32 cameraZ, s32 actorX, s32 actorZ, s32 speaker) |
| Shows a pedestal while Kraden describes it, then returns to the party. | |
| static void | SolSanctumElementalStarRoom_EnterStarRoom (void) |
| Introduces the room, explains the Elemental Stars, and gives out mythril bags. | |
| s32 | SolSanctumElementalStarRoom_Initialize (void) |
| Restores pedestal state and runs the first-arrival scene when needed. | |
Sol Sanctum's Elemental Star room: the party bags the four stars from their pedestals, Saturos and Menardi take Jenna and Kraden hostage, and Alex takes the stars.
Definition in file sol_sanctum_elemental_star_room.c.
| #define NULL ((void *)0) |
Definition at line 72 of file sol_sanctum_elemental_star_room.c.
| enum StarRoomActor |
| Enumerator | |
|---|---|
| ACTOR_TELEPORT_GLOW | |
| ACTOR_KRADEN | |
| ACTOR_SATUROS | |
| ACTOR_MENARDI | |
| ACTOR_FELIX_MASKED | |
| ACTOR_FELIX | |
| ACTOR_ALEX | |
Definition at line 62 of file sol_sanctum_elemental_star_room.c.
|
static |
Reveals the Jupiter crossings and places the star in a mythril bag.
Definition at line 324 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_BagJupiterStar().
|
static |
Brings Isaac and Garet back to discover Jenna and Kraden's captors.
Definition at line 398 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_RevealSaturosAndMenardi().
|
static |
Reveals the masked intruder while the captors demand the stars.
Definition at line 454 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_DemandElementalStars().
|
static |
Has the captors offer a guarantee for their hostages' safety.
Definition at line 619 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_OfferHostageGuarantee().
|
static |
Reveals Felix's identity and lets Isaac decide how to hand over the stars.
Definition at line 717 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_UnmaskFelix().
|
static |
Has Alex collect the stars and returns the party to the final pedestal.
Definition at line 905 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), and SolSanctumElementalStarRoom_AlexTakesStars().
|
static |
Arranges the captors and hostages after the exchange.
Definition at line 1086 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos(), SolSanctumElementalStarRoom_Initialize(), and SolSanctumElementalStarRoom_LineUpFollowers().
Definition at line 2028 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagMercuryStar(), Event_BagVenusStar(), Event_KradenStopsPartyLeaving(), SolSanctumElementalStarRoom_AlexTakesStars(), SolSanctumElementalStarRoom_DemandElementalStars(), SolSanctumElementalStarRoom_EnterStarRoom(), SolSanctumElementalStarRoom_OfferHostageGuarantee(), SolSanctumElementalStarRoom_ShowMessageAndWait(), and SolSanctumElementalStarRoom_UnmaskFelix().
Animates a star's icon and replaces its owner's mythril bag with the star.
Definition at line 2035 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagMercuryStar(), Event_BagVenusStar(), Event_TakeMarsStar(), SolSanctumElementalStarRoom_BagJupiterStar(), and SolSanctumElementalStarRoom_PresentStar().
|
static |
Makes inventory room and gives the party four bags, preserving the dialogue.
Definition at line 2071 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_EnterStarRoom(), and SolSanctumElementalStarRoom_GiveMythrilBags().
|
static |
Emits sparks while Alex disappears and reappears.
Definition at line 2099 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_AlexTakesStars(), and SolSanctumElementalStarRoom_AnimateAlexTeleport().
|
static |
Advances through the current dialogue's consecutive messages.
Definition at line 80 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_DemandElementalStars(), and SolSanctumElementalStarRoom_SkipMessages().
| const struct SceneEntrance * SolSanctumElementalStarRoom_GetEntrances | ( | void | ) |
Definition at line 86 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetEntrances().
| const struct SceneRegion * SolSanctumElementalStarRoom_GetRegions | ( | void | ) |
Definition at line 90 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetRegions().
| const u32 * SolSanctumElementalStarRoom_GetExits | ( | void | ) |
Definition at line 94 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetExits().
| const struct ScenePlacement * SolSanctumElementalStarRoom_GetPlacements | ( | void | ) |
Definition at line 98 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetPlacements().
| const struct SceneEvent * SolSanctumElementalStarRoom_GetEvents | ( | void | ) |
Returns the star, dialogue, and boundary interactions.
Definition at line 103 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetEvents().
|
static |
Searching the Venus Star's pedestal: the room flashes, new crossings open between the pedestals, and the star goes into a Mythril Bag.
Definition at line 109 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagVenusStar().
|
static |
Searching the Mercury Star's pedestal: as the Venus Star.
Definition at line 209 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagMercuryStar().
|
static |
Searching the Jupiter Star's pedestal: the star is bagged, then Saturos and Menardi appear, take Jenna and Kraden hostage, and Alex takes the stars.
Definition at line 310 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagJupiterStarAndMeetSaturos().
|
static |
Searching the Mars Star's pedestal: Isaac takes the last star and the room begins to shake.
Definition at line 1138 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TakeMarsStar().
|
static |
Talking to Kraden: about the stars still to bag, or the hostages.
Definition at line 1211 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToKraden(), and Event_TalkToKraden().
|
static |
Talking to Jenna, or reading her mind: about the stars, or Felix alive.
Definition at line 1229 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToJenna().
|
static |
Talking to Saturos: he demands the last star.
Definition at line 1247 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToSaturos().
|
static |
Talking to Menardi, or reading her mind: she demands the last one.
Definition at line 1255 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToMenardi().
|
static |
Talking to Felix: he says nothing. "...".
Definition at line 1263 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToFelix().
|
static |
Talking to Alex: only one star is left.
Definition at line 1271 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_TalkToAlex().
|
static |
Heading out before the stars are bagged: the party is called back.
"There aren't any Elemental Stars out there!"
Definition at line 1280 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_KradenStopsPartyLeaving(), and Event_KradenStopsPartyLeaving().
|
static |
Walking into trigger 10 or 11: the way ahead is checked as on any field.
Definition at line 1288 of file sol_sanctum_elemental_star_room.c.
|
inlinestatic |
Shows a pedestal while Kraden describes it, then returns to the party.
Definition at line 1292 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_EnterStarRoom(), and SolSanctumElementalStarRoom_ShowPedestal().
|
static |
Introduces the room, explains the Elemental Stars, and gives out mythril bags.
Definition at line 1307 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_EnterStarRoom(), and SolSanctumElementalStarRoom_Initialize().
| s32 SolSanctumElementalStarRoom_Initialize | ( | void | ) |
Restores pedestal state and runs the first-arrival scene when needed.
Definition at line 1967 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_Initialize().
| s32 gEffectScript0[] |
Definition at line 2141 of file sol_sanctum_elemental_star_room.c.
| s32 gEffectScript1[] |
| s32 gEffectScript2[] |
| const s32* gEffectScripts[] |
Definition at line 2156 of file sol_sanctum_elemental_star_room.c.
| s32 gSolSanctumElementalStarRoom_AngleScript[] |
Definition at line 2162 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_LineUpFollowers().
| s32 gSolSanctumElementalStarRoom_PresentItemScript[] |
Definition at line 2167 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_PresentStar().
| struct SceneEntrance gSolSanctumElementalStarRoom_Entrances[] |
Definition at line 2210 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetEntrances().
| u32 gSolSanctumElementalStarRoom_Exits[] |
Definition at line 2215 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetExits().
| struct ScenePlacement gSolSanctumElementalStarRoom_Placements[] |
Definition at line 2222 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetPlacements().
| struct SceneEvent gSolSanctumElementalStarRoom_Events[] |
Definition at line 2264 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctumElementalStarRoom_GetEvents().
| u16 gSolSanctumElementalStarRoom_StarCells[] |
Definition at line 2286 of file sol_sanctum_elemental_star_room.c.
Referenced by Event_BagMercuryStar(), Event_BagVenusStar(), and SolSanctumElementalStarRoom_BagJupiterStar().
| u8 gSolSanctum_RingDrift[][3] |
Definition at line 2290 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctum_UpdateRing().
| u8 gSolSanctum_RingSwing[][3] |
Definition at line 2303 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctum_UpdateRing().
| s8 gSolSanctum_RingDirection[][3] |
Definition at line 2316 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctum_UpdateRing().
| s32 gSolSanctumRing_MaxScales[] |
Definition at line 2329 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctum_StartFloatingLights(), and SolSanctum_UpdateRing().
| s32 gSolSanctumRing_ScaleSteps[] |
Definition at line 2334 of file sol_sanctum_elemental_star_room.c.
Referenced by SolSanctum_StartFloatingLights(), and SolSanctum_UpdateRing().