Alchemy

sol_sanctum_elemental_star_room.c

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.

games/tbs/src/scene/sol_sanctum_elemental_star_room.c on GitHub

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.

Functions

SolSanctumElementalStarRoom_SkipMessages

static __inline__ void SolSanctumElementalStarRoom_SkipMessages(s32 amount)

Advances through the current dialogue's consecutive messages.

Used by SolSanctumElementalStarRoom_DemandElementalStars.

Line 79

SolSanctumElementalStarRoom_GetEvents

const struct SceneEvent *SolSanctumElementalStarRoom_GetEvents(void)

Returns the star, dialogue, and boundary interactions.

Line 102

Event_BagVenusStar

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.

Used by gSolSanctumElementalStarRoom_Events.

Line 108

Event_BagMercuryStar

static void Event_BagMercuryStar(void)

Searching the Mercury Star's pedestal: as the Venus Star.

Used by gSolSanctumElementalStarRoom_Events.

Line 208

Event_BagJupiterStarAndMeetSaturos

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.

Used by gSolSanctumElementalStarRoom_Events.

Line 309

SolSanctumElementalStarRoom_BagJupiterStar

static void SolSanctumElementalStarRoom_BagJupiterStar(void)

Reveals the Jupiter crossings and places the star in a mythril bag.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 323

SolSanctumElementalStarRoom_RevealSaturosAndMenardi

static void SolSanctumElementalStarRoom_RevealSaturosAndMenardi(void)

Brings Isaac and Garet back to discover Jenna and Kraden's captors.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 397

SolSanctumElementalStarRoom_DemandElementalStars

static void SolSanctumElementalStarRoom_DemandElementalStars(void)

Reveals the masked intruder while the captors demand the stars.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 453

SolSanctumElementalStarRoom_OfferHostageGuarantee

static void SolSanctumElementalStarRoom_OfferHostageGuarantee(void)

Has the captors offer a guarantee for their hostages' safety.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 618

SolSanctumElementalStarRoom_UnmaskFelix

static void SolSanctumElementalStarRoom_UnmaskFelix(void)

Reveals Felix's identity and lets Isaac decide how to hand over the stars.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 716

SolSanctumElementalStarRoom_AlexTakesStars

static void SolSanctumElementalStarRoom_AlexTakesStars(void)

Has Alex collect the stars and returns the party to the final pedestal.

Used by Event_BagJupiterStarAndMeetSaturos.

Line 904

SolSanctumElementalStarRoom_LineUpFollowers

static void SolSanctumElementalStarRoom_LineUpFollowers(void)

Arranges the captors and hostages after the exchange.

Used by Event_BagJupiterStarAndMeetSaturos, SolSanctumElementalStarRoom_Initialize.

Line 1085

Event_TakeMarsStar

static void Event_TakeMarsStar(void)

Searching the Mars Star's pedestal: Isaac takes the last star and the room begins to shake.

Used by gSolSanctumElementalStarRoom_Events.

Line 1137

Event_TalkToKraden

static void Event_TalkToKraden(void)

Talking to Kraden: about the stars still to bag, or the hostages.

Used by gSolSanctumElementalStarRoom_Events, gSolSanctumLunaSolRoomsEvents.

Line 1210

Event_TalkToJenna

static void Event_TalkToJenna(void)

Talking to Jenna, or reading her mind: about the stars, or Felix alive.

Used by gSolSanctumElementalStarRoom_Events.

Line 1228

Event_TalkToSaturos

static void Event_TalkToSaturos(void)

Talking to Saturos: he demands the last star.

Used by gSolSanctumElementalStarRoom_Events.

Line 1246

Event_TalkToMenardi

static void Event_TalkToMenardi(void)

Talking to Menardi, or reading her mind: she demands the last one.

Used by gSolSanctumElementalStarRoom_Events.

Line 1254

Event_TalkToFelix

static void Event_TalkToFelix(void)

Talking to Felix: he says nothing. "..."

Used by gSolSanctumElementalStarRoom_Events.

Line 1262

Event_TalkToAlex

static void Event_TalkToAlex(void)

Talking to Alex: only one star is left.

Used by gSolSanctumElementalStarRoom_Events.

Line 1270

Event_KradenStopsPartyLeaving

static void Event_KradenStopsPartyLeaving(void)

Heading out before the stars are bagged: the party is called back. "There aren't any Elemental Stars out there!"

Used by gSolSanctumElementalStarRoom_Events, gSolSanctumLunaSolRoomsEvents.

Line 1279

Event_CheckAhead

static void Event_CheckAhead(void)

Walking into trigger 10 or 11: the way ahead is checked as on any field.

Used by gBilibinEvents2, gBilibinEvents3, gColossoLogEvents, gColossoWallEvents, gGondowanCaveEvents3, gSolSanctumElementalStarRoom_Events.

Line 1287

SolSanctumElementalStarRoom_ShowPedestal

static inline 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.

Used by SolSanctumElementalStarRoom_EnterStarRoom.

Line 1290

SolSanctumElementalStarRoom_EnterStarRoom

static void SolSanctumElementalStarRoom_EnterStarRoom(void)

Introduces the room, explains the Elemental Stars, and gives out mythril bags.

Used by SolSanctumElementalStarRoom_Initialize.

Line 1306

SolSanctumElementalStarRoom_Initialize

s32 SolSanctumElementalStarRoom_Initialize(void)

Restores pedestal state and runs the first-arrival scene when needed.

Line 1966

SolSanctumElementalStarRoom_PresentStar

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.

Used by Event_BagMercuryStar, Event_BagVenusStar, Event_TakeMarsStar, SolSanctumElementalStarRoom_BagJupiterStar.

Line 2034

SolSanctumElementalStarRoom_GiveMythrilBags

static void SolSanctumElementalStarRoom_GiveMythrilBags(void)

Makes inventory room and gives the party four bags, preserving the dialogue.

Used by SolSanctumElementalStarRoom_EnterStarRoom.

Line 2070

SolSanctumElementalStarRoom_AnimateAlexTeleport

static void SolSanctumElementalStarRoom_AnimateAlexTeleport(void)

Emits sparks while Alex disappears and reappears.

Used by SolSanctumElementalStarRoom_AlexTakesStars.

Line 2098

Also, functions without a comment: SolSanctumElementalStarRoom_GetEntrances, SolSanctumElementalStarRoom_GetRegions, SolSanctumElementalStarRoom_GetExits, SolSanctumElementalStarRoom_GetPlacements, SolSanctumElementalStarRoom_ShowMessageAndWait.

Enumerations, without a comment: StarRoomActor.

Macros, without a comment: NULL.

Globals, without a comment: gEffectScript0, gEffectScript1, gEffectScript2, gEffectScripts, gSolSanctumElementalStarRoom_AngleScript, gSolSanctumElementalStarRoom_PresentItemScript, gSolSanctumElementalStarRoom_Entrances, gSolSanctumElementalStarRoom_Exits, gSolSanctumElementalStarRoom_Placements, gSolSanctumElementalStarRoom_Events, gSolSanctumElementalStarRoom_StarCells, gSolSanctum_RingDrift, gSolSanctum_RingSwing, gSolSanctum_RingDirection, gSolSanctumRing_MaxScales, gSolSanctumRing_ScaleSteps.

On this page