Skip to Content
The Alchemy Project

src/scene/mars_lighthouse_aerie.c

Mars Lighthouse's aerie, at the top of the last lighthouse: the party faces the Doom Dragon (scMarsLighthouseAerieFaceDoomDragon) and learns who the dragon was (scMarsLighthouseAerieFindWhoTheDragonWas), the three it was speak to the party as they lie dying (scMarsLighthouseAerieTalkToJennasMother and the talks after it), and the beacon is lit with the Mars Star (scMarsLighthouseAerieLightBeacon) before the Golden Sun rises (scMarsLighthouseAerieWatchGoldenSunRise). More…

Macros

NameDescription
#defineFLAG_ASKED_FOR_MARS_STAR FLAG_SCENE_TEMP(0x02)The voice has asked for the Mars Star; stepping back from the beacon asks again.
#defineFLAG_BEACON_BROKE_THROUGH FLAG_SCENE_TEMP(0x00)The beacon's light has broken through: its orbs rise every tick.
#defineEXIT_TO_THE_BEACON 2The exit that takes the party, faded to black, from the fallen dragon to the beacon (MARS_LIGHTHOUSE_AERIE_FROM_MARS_LIGHTHOUSE_AERIE).
#defineBEACON_FLAME_SWING_RADIUS 28A flame swings round the beacon's fire BEACON_FLAME_SWING_RADIUS pixels out, and up to BEACON_FLAME_SWING_SPREAD farther, by the height it rose from.
#defineBEACON_FLAME_SWING_SPREAD 24
#defineTELEPORT_CIRCLE_FIRST_ENTRY 137

Enumerations

NameDescription
enumanonymous enum { WISE_ONE_ANIMATION_BLINK, WISE_ONE_ANIMATION_HALF_SHUT_RIGHT … }The Wise One's animations, as wise_one.png draws its great eye (left and right are the screen's).
enumanonymous enum { JENNA_ANIMATION_BEND_DOWN }Jenna's sheet's animation 22: she bends down over the one she runs to, as over her mother at "Mom...
enumanonymous enum { PARENT_ANIMATION_FACE_DOWN, PARENT_ANIMATION_ON_BACK, KYLE_A … }The three the dragon was, as their sprites lie: face down where they fell from its heads, then on their backs at the beacon.
enumanonymous enum { ACTOR_BEACON_FIRE, ACTOR_BEACON_GLOW, ACTOR_FIRST_PLATFORM, … }The aerie's actors, by the rows of its three actor placement tables; the party's rows go to their party slots.
enumMARS_LIGHTHOUSE_AERIE_METATILE_BEHAVIOR { METATILE_TELEPORT_LANDING, METATILE_BEFORE_BEACON, METATILE_ … }The metatile behaviours the aerie's map marks its spots with, which its cue table answers.
enumanonymous enum { ENTRANCE_DRAGON_BEATEN, ENTRANCE_LIGHT_BEACON }The entrances the aerie's own scripts arrive by.
enumanonymous enum { ACTOR_JENNA_STAND_IN, ACTOR_SHEBA_STAND_IN, ACTOR_PIERS_STAN … }After the battle (MarsLighthouseAerieAfterBattlePlacements): the party but the leader stand in on their smaller sprites (SPRITE_JENNA_SMALL and the rest), the dragon's three heads fall, and under each lies one of the three it was.
enumanonymous enum { ACTOR_JENNAS_MOTHER_TALK_SPOT, ACTOR_VOICE, ACTOR_JENNAS_MOT … }At the beacon (MarsLighthouseAerieBeaconPlacements), entered from MARS_LIGHTHOUSE_AERIE_FROM_MARS_LIGHTHOUSE_AERIE on: the three lie dying, and an unseen actor beside each answers for them when talked to.

Functions

NameDescription
voidscMarsLighthouseAerieLookAround (ACTOR *actor)Each tick while waiting in the storm: now and then the actor looks another way.
voidscMarsLighthouseAerieStartTalkWhileHalted (Sint32 id)In every edition but the Japanese: the one Halt holds speaks haltingly, with a pause before each character.
voidscMarsLighthouseAerieEndTalkWhileHalted (Sint32 id)In every edition but the Japanese: the talk over, Halt's hold on its speaker ends, and with it the halting speech.
voidscTeleportStartShimmer (void)Starts the shimmer at its slow pace, as Teleport is cast: the first step after 16 ticks, each after a tick less, down to two.
voidscTeleportStopShimmer (void)Stops the shimmer, leaving the next transition a backdrop fade.
voidfdPaletteCycleFade (void)Steps a palette cycle that fades as it slows.
voidfdTeleportPlaySparks (void)The leaving half of a teleport, fdTeleportPlayWhirl's companion in the same scenes: the leader raises both arms in changing colours, spins faster and faster as sparks burst from it, shrinks away and is hidden.
BSS_DATAALIGNED (16)The blend of one turn of the two maps' alternation in the throne room, a step every four ticks: the first map fades up and down, then the second.
voidscMarsLighthouseAerieHaltSpeaker (Sint32 spot, Sint32 speaker)In every edition but the Japanese: Halt on one of the three holds the speaker beside them.
voidscMarsLighthouseAerieStartRisingRings (ACTOR *actor, SPARKLE_STATE *state)Starts an actor's rings, kept in state: loads their tiles and hooks scMarsLighthouseAerieUpdateRisingRings to the actor.
Sint32scListCountEntries (Uint16 *list)The number of entries in a list of palette slots ended by PALETTE_LIST_END, less one.
voidscMarsLighthouseAerieFlicker (ACTOR *actor)The actor flickers: hidden for two ticks, shown for two.
voidscMarsLighthouseAerieThrob (ACTOR *actor)The actor swells now and then and shrinks back, as if breathing.
voidscMarsLighthouseAerieOrbitBeaconFire (ACTOR *actor)A spark of the beacon's fire circles it as it rises.
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
voidscLeaveByExit (void)Teleport takes the party back down to the inscriptions room, in a shimmer of sparks.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
voidscPaletteSetColorsFade (Uint16 *slots, Uint16 *colours, Uint16 *cycleColors, Uint16 *cycleSlots)Writes each listed background colour from its red, green and blue, keeps the lists for the shimmer, and saves the palettes as the fade's source; arriving by Teleport, the party then arrives on the circle.
voidscMarsLighthouseAerieSpawnBeaconFlames (void)Every sixteenth tick a flame rises from the beacon's fire.
voidscMarsLighthouseAerieSetUpBeacon (void)The beacon's colours and its fire, burning once the beacon is lit.
Sint32scInit (void)Sets the scene up for the entrance the party arrived by: the Golden Sun rising, the beacon's lighting, the three at the beacon, or the fallen dragon.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.
voidscMarsLighthouseAerieSwingBeaconFlame (ACTOR *actor)A flame swings round the beacon's fire, behind it and then in front.
voidscMarsLighthouseAerieStartLookingAround (Sint32 id)The actor stands looking about.
voidscMarsLighthouseAerieStopLookingAround (Sint32 id)The actor stops looking about and faces the beacon.
voidscMarsLighthouseAerieFaceDoomDragon (void)The party walks up to the unlit beacon in the storm (metatiles (32, 20) to (34, 20)), and the voice calls them betrayers before the Doom Dragon's battle.
voidscMarsLighthouseAerieFlickerDragon (ACTOR *actor)The Doom Dragon's body and heads flicker in and out of sight, ever faster.
voidscMarsLighthouseAerieFlickerParent (ACTOR *actor)The three it was flicker out of step with the dragon, showing while it is hidden.
voidscMarsLighthouseAerieFindWhoTheDragonWas (void)The Doom Dragon falls, and the party finds who it was: Felix and Jenna's parents and Isaac's father, Kyle, freed.
voidscMarsLighthouseAerieStandAside (Sint32 id)The actor stands where the party will pass, no longer in the way.
voidscMarsLighthouseAerieUrgeOnToBeacon (void)At the beacon, before it is lit: Piers and Mia can heal the three no longer, Kraden tells Jenna they spent their last strength as the dragon, the party turns on the Wise One, and Kraden urges Felix to light the beacon.
voidscOrbUpdateRising (ACTOR *self)An orb circles the beacon's beam as it rises.
voidscOrbSpawnRising (void)Every third tick, or every tick once the light has broken through, an orb starts to rise round the beacon's beam.
voidfdTeleportPlayWhirl (void)The arriving half of a teleport: a whirl of sparks, the coloured orbs of RESOURCE_COLOURED_ORBS, falls in round the hidden leader with SE_SPARKLE_FALL, the leader spins and grows back to full size inside it, and the whirl dies away.
voidscMarsLighthouseAerieRaiseBeaconFire (void)The beacon's fire, a tick event: the background flashes pale yellow and the ground quakes; at tick 24 the fire is put 360 pixels below the floor at (512, 204) and climbs 2.25 pixels a tick, a spark (SPRITE_PARTICLE) made each tick to circle it and a glitter sounding every 8, until it stands 20 pixels above the floor; as it passes the floor the whole palette dims toward RGB(16, 16, 12).
voidscMarsLighthouseAerieStepBackLeft (Sint32 id)The actor steps back from the beam, to the left.
voidscMarsLighthouseAerieStepBackRight (Sint32 id)The actor steps back from the beam, to the right.
voidscMarsLighthouseAerieHoldStill (Sint32 id)The actor keeps to the ground as the beacon's beam rises.
voidscMarsLighthouseAerieLightBeacon (void)The Mars Star is cast into the beacon: the beam rises, the fire climbs up into it and the beacon is lit.
voidscMarsLighthouseAerieWatchGoldenSunRise (void)All look up as the beam widens and the Golden Sun begins to rise.
voidscMarsLighthouseAerieHoldBackFromParents (void)Before the beacon is lit, Felix walks away south from the three as they lie dying and reaches the head of the broad stairway down from the beacon's platform on its west half (metatiles (29, 23) and (30, 23), whose behaviour scMarsLighthouseAerieUrgeOnToBeacon copies there from the map's spare block at (45, 53) and (46, 53)).
voidscMarsLighthouseAerieHoldBackFromParentsAgain (void)The same at the head of the stairway's east half (metatiles (33, 23) and (34, 23), from the spare block's (49, 53) and (50, 53)): Kraden turns to him, "Do not let your sadness overwhelm you, Felix!
voidscMarsLighthouseAerieOfferToCastMarsStar (void)Felix steps up to the beacon, and the voice asks: "Will you cast in the Mars Star?" Yes lights the beacon (scMarsLighthouseAerieLightBeacon); no leaves it to be asked again once he steps back.
voidscMarsLighthouseAerieClearCastOffer (void)Felix has stepped back from the beacon without casting in the Mars Star: the voice will ask again when he steps up to it.
voidscMarsLighthouseAerieTalkToIvan (void)Felix talks to Ivan, who stands by the three: "Felix, I understand your loss..." In every edition but the Japanese, if Halt holds him, he speaks haltingly.
voidscMarsLighthouseAerieTalkToJennasMother (void)Felix talks to Jenna's mother as she lies dying: "Uhhhhnnn...
voidscMarsLighthouseAerieTalkToKyle (void)Felix talks to Kyle, Isaac's father, as he lies dying: "*Koff!
voidscMarsLighthouseAerieTalkToJennasFather (void)Felix talks to Jenna's father as he lies dying: "Unnnn...
voidscMarsLighthouseAerieHaltIvan (void)In every edition but the Japanese: Ivan is held where he stands while he talks.
voidscMarsLighthouseAerieHaltJennasMother (void)In every edition but the Japanese: Jenna's mother is held where she lies while she talks.
voidscMarsLighthouseAerieHaltKyle (void)In every edition but the Japanese: Kyle is held where he lies while he talks.
voidscMarsLighthouseAerieHaltJennasFather (void)In every edition but the Japanese: Jenna's father is held where he lies while he talks.
voidscMarsLighthouseAerieUpdateRisingRings (ACTOR *actor)Each tick of an actor's rings: a ring climbs RING_CLIMB pixels up the actor, swelling and shrinking as it goes, and the next starts with a chime RING_INTERVAL ticks later, two at a time, while the actor's colours cycle.
voidscMarsLighthouseAerieEndRisingRings (ACTOR *actor)Lets an actor's rings climb out.

Variables

NameDescription
extern Uint8MsgUhhhhnnnICan []
extern Uint8MsgKoffKoffYou []
extern Uint8MsgUnnnnIAm []
extern Uint8MsgIUnderstandYour []
extern ACTOR_PLACEMarsLighthouseAeriePlacements []
extern ACTOR_PLACEMarsLighthouseAerieAfterBattlePlacements []
extern ACTOR_PLACEMarsLighthouseAerieBeaconPlacements []
Uint32MarsLighthouseAerieBeaconFlameTick
Uint32MarsLighthouseAerieFlickerTick
Uint32MarsLighthouseAerieBeaconFireTicks
Uint32MarsLighthouseAerieFlickerRate
SPARKLE_STATEMarsLighthouseAerieRisingRingsB
SPARKLE_STATEMarsLighthouseAerieRisingRingsA
Uint32MarsLighthouseAerieBeaconFireTick
Uint16PaletteCycleBrightThe teleport circle's shimmer, a palette cycle that fdPaletteCycleFade steps.
Uint16PaletteCycleTimer
Uint16PaletteCycleDelay
extern Uint8MsgMarsLighthouseAerieDoNotLetYourSadness []
extern Uint16TeleportCirclePaletteSlots []The entries the circle is drawn in.
extern Uint16TeleportCircleColors []The circle's colours: one pale grey-green on every entry.
extern Uint16TeleportCircleShimmerColors []The shimmer's colours, which it moves round the entries: lilac, blues deepening to violet, and white.
extern Uint16TeleportCircleShimmerSlots []The shimmer's six steps: for each, the entries its colours go to.
extern Sint32MarsLighthouseAerieBeaconFlameScript []
extern Sint32MarsLighthouseAerieJennaApproachScript []
extern Sint32MarsLighthouseAerieShebaApproachScript []
extern Sint32MarsLighthouseAeriePiersApproachScript []
extern Sint32MarsLighthouseAerieIvanApproachScript []
extern Sint32MarsLighthouseAerieKradenApproachScript []
extern Sint32MarsLighthouseAerieWiseOneShrinkScript []
extern Sint32MarsLighthouseAerieDoomDragonRiseScript []
extern Sint32MarsLighthouseAerieLeaderReadyScript []
extern Sint32MarsLighthouseAerieIsaacReadyScript []
extern Sint32MarsLighthouseAerieJennaReadyScript []
extern Sint32MarsLighthouseAerieShebaReadyScript []
extern Sint32MarsLighthouseAeriePiersReadyScript []
extern Sint32MarsLighthouseAerieIvanReadyScript []
extern Sint32MarsLighthouseAerieMiaReadyScript []
extern Sint32MarsLighthouseAerieGaretReadyScript []
extern Sint32MarsLighthouseAerieShebaToThosePeopleScript []
extern Sint32MarsLighthouseAerieJennaToThosePeopleScript []
extern Sint32MarsLighthouseAerieJennaTurnScript []
extern Sint32MarsLighthouseAerieLeaderTurnScript []
extern Sint32MarsLighthouseAerieIsaacTurnScript []
extern Sint32MarsLighthouseAerieGaretTurnScript []The same script as MarsLighthouseAerieGaretReadyScript, under another name.
extern Sint32MarsLighthouseAerieMiaTurnScript []
extern Sint32MarsLighthouseAerieBeaconFireScript []
extern Sint32MarsLighthouseAerieBeamNarrowScript []
Sint32MarsLighthouseAerieRisingRingTiles []The rings' tiles: half a ring of light, 32 by 16 pixels of 16 colours, which scMarsLighthouseAerieUpdateRisingRings draws twice, the second flipped, for the whole ring; only the first 8 tiles are loaded.
Sint32MarsLighthouseAerieBeamWidenScript []
Uint32MarsLighthouseAerieBeamShootUpScript []
Uint32MarsLighthouseAerieBeamRiseScript []
Sint32MarsLighthouseAerieBeaconSparkScript []
Sint32MarsLighthouseAerieWatchGoldenSunRiseScript []
SCENE_ENTRANCESceneEntrances []Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole.
Uint32SceneExits []The room has no exits of its own.
CUESceneCues []The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers.

Description

Mars Lighthouse's aerie, at the top of the last lighthouse: the party faces the Doom Dragon (scMarsLighthouseAerieFaceDoomDragon) and learns who the dragon was (scMarsLighthouseAerieFindWhoTheDragonWas), the three it was speak to the party as they lie dying (scMarsLighthouseAerieTalkToJennasMother and the talks after it), and the beacon is lit with the Mars Star (scMarsLighthouseAerieLightBeacon) before the Golden Sun rises (scMarsLighthouseAerieWatchGoldenSunRise).

The party climbs to the beacon in the storm with all eight and Kraden; a voice calls them betrayers and the Doom Dragon rises. Beaten, it is three people, Isaac's father and Felix and Jenna's parents, too weak to live long; Kraden holds the children back while the Mercury Adepts try to heal them. Then the voice asks for the Mars Star, the beacon is lit, and the party leaves.

Macros in detail

FLAG_ASKED_FOR_MARS_STAR

#define FLAG_ASKED_FOR_MARS_STAR FLAG_SCENE_TEMP(0x02)

The voice has asked for the Mars Star; stepping back from the beacon asks again.

Referenced by SceneCues, scMarsLighthouseAerieClearCastOffer(), scMarsLighthouseAerieOfferToCastMarsStar() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 78 of file mars_lighthouse_aerie.c.

FLAG_BEACON_BROKE_THROUGH

#define FLAG_BEACON_BROKE_THROUGH FLAG_SCENE_TEMP(0x00)

The beacon's light has broken through: its orbs rise every tick.

Referenced by scMarsLighthouseAerieLightBeacon() and scOrbSpawnRising().

Definition at line 80 of file mars_lighthouse_aerie.c.

EXIT_TO_THE_BEACON

#define EXIT_TO_THE_BEACON 2

The exit that takes the party, faded to black, from the fallen dragon to the beacon (MARS_LIGHTHOUSE_AERIE_FROM_MARS_LIGHTHOUSE_AERIE).

Referenced by SceneExits and scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at line 128 of file mars_lighthouse_aerie.c.

BEACON_FLAME_SWING_RADIUS

#define BEACON_FLAME_SWING_RADIUS 28

A flame swings round the beacon's fire BEACON_FLAME_SWING_RADIUS pixels out, and up to BEACON_FLAME_SWING_SPREAD farther, by the height it rose from.

Referenced by scMarsLighthouseAerieSwingBeaconFlame().

Definition at line 463 of file mars_lighthouse_aerie.c.

BEACON_FLAME_SWING_SPREAD

#define BEACON_FLAME_SWING_SPREAD 24

Referenced by scMarsLighthouseAerieSpawnBeaconFlames().

Definition at line 464 of file mars_lighthouse_aerie.c.

TELEPORT_CIRCLE_FIRST_ENTRY

#define TELEPORT_CIRCLE_FIRST_ENTRY 137

Definition at line 3312 of file mars_lighthouse_aerie.c.

Enumerations in detail

anonymous enum

enum { WISE_ONE_ANIMATION_BLINK, WISE_ONE_ANIMATION_HALF_SHUT_RIGHT, WISE_ONE_ANIMATION_HALF_SHUT_LEFT, WISE_ONE_ANIMATION_SHUT, … }

The Wise One's animations, as wise_one.png draws its great eye (left and right are the screen's).

EnumeratorValueDescription
WISE_ONE_ANIMATION_BLINK1Turned to the right, blinking now and then; its idle.
WISE_ONE_ANIMATION_HALF_SHUT_RIGHT3The lid half down over an eye
WISE_ONE_ANIMATION_HALF_SHUT_LEFT9looking down to the right, or to the left.
WISE_ONE_ANIMATION_SHUT4Shut, turned to the right as in
WISE_ONE_ANIMATION_SHUT_FRONT10the blink, or facing the party.
WISE_ONE_ANIMATION_NARROWED6Open under a heavy lid, looking to the right.
WISE_ONE_ANIMATION_LOOK_AROUND8Wide open, looking up, down, left and right in turn between looks ahead.
WISE_ONE_ANIMATION_WIDE_DOWN11Wide open, looking down to the left; to the left; to the right.
WISE_ONE_ANIMATION_WIDE_LEFT14
WISE_ONE_ANIMATION_WIDE_RIGHT13
WISE_ONE_ANIMATION_GLANCE12Wide open, glancing left and right.

Definition at line 34 of file mars_lighthouse_aerie.c.

anonymous enum

enum { JENNA_ANIMATION_BEND_DOWN }

Jenna's sheet's animation 22: she bends down over the one she runs to, as over her mother at "Mom... Wake up!".

EnumeratorValueDescription
JENNA_ANIMATION_BEND_DOWN22

Definition at line 60 of file mars_lighthouse_aerie.c.

anonymous enum

enum { PARENT_ANIMATION_FACE_DOWN, PARENT_ANIMATION_ON_BACK, KYLE_ANIMATION_FACE_DOWN, KYLE_ANIMATION_ON_BACK }

The three the dragon was, as their sprites lie: face down where they fell from its heads, then on their backs at the beacon. Jenna's mother's and father's sheets number the two 7 and 8, Kyle's 6 and 7.

EnumeratorValueDescription
PARENT_ANIMATION_FACE_DOWN7
PARENT_ANIMATION_ON_BACK8
KYLE_ANIMATION_FACE_DOWN6
KYLE_ANIMATION_ON_BACK7

Definition at line 68 of file mars_lighthouse_aerie.c.

anonymous enum

enum { ACTOR_BEACON_FIRE, ACTOR_BEACON_GLOW, ACTOR_FIRST_PLATFORM, ACTOR_LAST_PLATFORM, … }

The aerie's actors, by the rows of its three actor placement tables; the party's rows go to their party slots. Ids 8 to 16 and Kraden's are the same in all three.

EnumeratorValueDescription
ACTOR_BEACON_FIRE8The beacon's fire and its glow: SPRITE_BLUE_ORB on
ACTOR_BEACON_GLOWthe beacon's table, placed over the beacon once FLAG_MARS_BEACON_BURNING is set.
ACTOR_FIRST_PLATFORMSeven platforms (SPRITE_FLOATING_PLATFORM) along
ACTOR_LAST_PLATFORMACTOR_FIRST_PLATFORM + 6the aerie's east edge, floating before the battle.
ACTOR_DOOM_DRAGONBefore the battle (MarsLighthouseAeriePlacements) and after it: the Doom Dragon and the Wise One, the voice that calls the party betrayers.
ACTOR_WISE_ONE
ACTOR_KRADEN

Definition at line 85 of file mars_lighthouse_aerie.c.

MARS_LIGHTHOUSE_AERIE_METATILE_BEHAVIOR

enum MARS_LIGHTHOUSE_AERIE_METATILE_BEHAVIOR

The metatile behaviours the aerie's map marks its spots with, which its cue table answers.

EnumeratorValueDescription
METATILE_TELEPORT_LANDING1The landing the party reaches the aerie on, where Teleport takes them back down.
METATILE_BEFORE_BEACON10The spot before the unlit beacon, where the voice speaks before the battle.
METATILE_KRADEN_STOPS_WEST20Where Kraden stops Felix, west and east
METATILE_KRADEN_STOPS_EAST21of the three as they lie dying.
METATILE_AT_BEACON22At the beacon, where the voice asks for
METATILE_ROUND_BEACON23the Mars Star, and the ring of metatiles round it that let it ask again.

Definition at line 103 of file mars_lighthouse_aerie.c.

anonymous enum

enum { ENTRANCE_DRAGON_BEATEN, ENTRANCE_LIGHT_BEACON }

The entrances the aerie's own scripts arrive by.

EnumeratorValueDescription
ENTRANCE_DRAGON_BEATEN2after the Doom Dragon's battle
ENTRANCE_LIGHT_BEACON4straight to the beacon's lighting; no exit leads here

Definition at line 119 of file mars_lighthouse_aerie.c.

anonymous enum

enum { ACTOR_JENNA_STAND_IN, ACTOR_SHEBA_STAND_IN, ACTOR_PIERS_STAND_IN, ACTOR_ISAAC_STAND_IN, … }

After the battle (MarsLighthouseAerieAfterBattlePlacements): the party but the leader stand in on their smaller sprites (SPRITE_JENNA_SMALL and the rest), the dragon's three heads fall, and under each lies one of the three it was.

EnumeratorValueDescription
ACTOR_JENNA_STAND_IN20
ACTOR_SHEBA_STAND_IN
ACTOR_PIERS_STAND_IN
ACTOR_ISAAC_STAND_IN
ACTOR_GARET_STAND_IN
ACTOR_MIA_STAND_IN
ACTOR_IVAN_STAND_IN
ACTOR_DRAGON_HEAD_A
ACTOR_DRAGON_HEAD_B
ACTOR_DRAGON_HEAD_C
ACTOR_FREED_JENNAS_MOTHER
ACTOR_FREED_JENNAS_FATHER
ACTOR_FREED_KYLE

Definition at line 134 of file mars_lighthouse_aerie.c.

anonymous enum

enum { ACTOR_JENNAS_MOTHER_TALK_SPOT, ACTOR_VOICE, ACTOR_JENNAS_MOTHER, ACTOR_JENNAS_FATHER, … }

At the beacon (MarsLighthouseAerieBeaconPlacements), entered from MARS_LIGHTHOUSE_AERIE_FROM_MARS_LIGHTHOUSE_AERIE on: the three lie dying, and an unseen actor beside each answers for them when talked to.

EnumeratorValueDescription
ACTOR_JENNAS_MOTHER_TALK_SPOT17
ACTOR_VOICEUnseen: "Will you cast in the Mars Star?"
ACTOR_JENNAS_MOTHER20"I...can't see you, but I sense..."
ACTOR_JENNAS_FATHER"I am so happy...to have one last chance..."
ACTOR_KYLE"Tell Dora...to live her life..."
ACTOR_BEAM_BOTTOMThe beacon's beam, in five segments (SPRITE_PIPE_NORTH_SOUTH) from the bottom up, as at Venus Lighthouse's aerie.
ACTOR_BEAM_LOWER
ACTOR_BEAM_MIDDLE
ACTOR_BEAM_UPPER
ACTOR_BEAM_TOP
ACTOR_HAMMAHamma, who speaks to the party from afar as the Golden Sun rises; until then her actor stands unseen beside Ivan as his talk spot.
ACTOR_JENNAS_FATHER_TALK_SPOT
ACTOR_KYLE_TALK_SPOT

Definition at line 154 of file mars_lighthouse_aerie.c.

Functions in detail

scMarsLighthouseAerieLookAround

void scMarsLighthouseAerieLookAround(ACTOR *actor)

Each tick while waiting in the storm: now and then the actor looks another way.

References syRandom().

Referenced by scMarsLighthouseAerieFaceDoomDragon() and scMarsLighthouseAerieStartLookingAround().

Definition at lines 176 and 218 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStartTalkWhileHalted

void scMarsLighthouseAerieStartTalkWhileHalted(Sint32 id)

In every edition but the Japanese: the one Halt holds speaks haltingly, with a pause before each character.

References MainRoutineStateWork and Sint32.

Referenced by scMarsLighthouseAerieTalkToIvan(), scMarsLighthouseAerieTalkToJennasFather(), scMarsLighthouseAerieTalkToJennasMother() and scMarsLighthouseAerieTalkToKyle().

Definition at lines 177 and 2977 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieEndTalkWhileHalted

void scMarsLighthouseAerieEndTalkWhileHalted(Sint32 id)

In every edition but the Japanese: the talk over, Halt's hold on its speaker ends, and with it the halting speech.

References fdActorGet(), MainRoutineStateWork, scFieldActorSetSpriteColor() and Sint32.

Referenced by scMarsLighthouseAerieTalkToIvan(), scMarsLighthouseAerieTalkToJennasFather(), scMarsLighthouseAerieTalkToJennasMother() and scMarsLighthouseAerieTalkToKyle().

Definition at lines 178 and 2989 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHaltSpeaker

void scMarsLighthouseAerieHaltSpeaker(Sint32 spot, Sint32 speaker)

In every edition but the Japanese: Halt on one of the three holds the speaker beside them.

References fdActorGet(), MainRoutineStateWork and Sint32.

Referenced by scMarsLighthouseAerieHaltIvan(), scMarsLighthouseAerieHaltJennasFather(), scMarsLighthouseAerieHaltJennasMother() and scMarsLighthouseAerieHaltKyle().

Definition at lines 209 and 3084 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStartRisingRings

void scMarsLighthouseAerieStartRisingRings(ACTOR *actor, SPARKLE_STATE *state)

Starts an actor's rings, kept in state: loads their tiles and hooks scMarsLighthouseAerieUpdateRisingRings to the actor.

References fdActorGetSpritePriority(), fdEffectSpriteInit(), MarsLighthouseAerieRisingRingTiles, mnVRAMLoad(), scMarsLighthouseAerieUpdateRisingRings(), Sint32, syVRAMCacheFindFreeEntry() and VramCacheEntries.

Referenced by scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieFindWhoTheDragonWas() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at lines 210 and 3216 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieFlicker

void scMarsLighthouseAerieFlicker(ACTOR *actor)

The actor flickers: hidden for two ticks, shown for two.

References scFieldActorSetSpriteColor() and TickCount.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at line 234 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieThrob

void scMarsLighthouseAerieThrob(ACTOR *actor)

The actor swells now and then and shrinks back, as if breathing.

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at line 243 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieOrbitBeaconFire

void scMarsLighthouseAerieOrbitBeaconFire(ACTOR *actor)

A spark of the beacon's fire circles it as it rises.

References fdActorGetById(), Sint32, syCos() and sySin().

Referenced by scMarsLighthouseAerieRaiseBeaconFire().

Definition at line 267 of file mars_lighthouse_aerie.c.

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 290 of file mars_lighthouse_aerie.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 295 of file mars_lighthouse_aerie.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 300 of file mars_lighthouse_aerie.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References MainRoutineStateWork, MarsLighthouseAerieAfterBattlePlacements, MarsLighthouseAerieBeaconPlacements and MarsLighthouseAeriePlacements.

Definition at line 305 of file mars_lighthouse_aerie.c.

scLeaveByExit

void scLeaveByExit(void)

Teleport takes the party back down to the inscriptions room, in a shimmer of sparks.

References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().

Referenced by SceneCues.

Definition at line 321 of file mars_lighthouse_aerie.c.

scGetCues

const CUE *scGetCues(void)

References SceneCues.

Definition at line 331 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieSpawnBeaconFlames

void scMarsLighthouseAerieSpawnBeaconFlames(void)

Every sixteenth tick a flame rises from the beacon's fire.

References fdActorGet(), fdActorStartScript(), MarsLighthouseAerieBeaconFlameScript, MarsLighthouseAerieBeaconFlameTick, scFieldActorCreate(), scFieldActorSetSpriteColor(), scMarsLighthouseAerieSwingBeaconFlame(), Sint32, syRandom() and sySin().

Referenced by scMarsLighthouseAerieSetUpBeacon() and scMarsLighthouseAerieWatchGoldenSunRise().

Definition at lines 345 and 467 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieSetUpBeacon

void scMarsLighthouseAerieSetUpBeacon(void)

The beacon's colours and its fire, burning once the beacon is lit.

References fdActorGet(), fdActorSetBlendMode(), fdActorSetSpriteColorMode(), fdActorSetSpriteFlags(), fdScriptGetFlag(), MainRoutineStateWork, MarsLighthouseAerieBeaconFlameTick, scFieldActorSetSpritePriority(), scFieldSetTickEvent(), scMarsLighthouseAerieSpawnBeaconFlames(), scPaletteSetColorsFade(), Sint32, sySynch(), TeleportCircleColors, TeleportCirclePaletteSlots, TeleportCircleShimmerColors and TeleportCircleShimmerSlots.

Referenced by scInit().

Definition at line 348 of file mars_lighthouse_aerie.c.

scInit

Sint32 scInit(void)

Sets the scene up for the entrance the party arrived by: the Golden Sun rising, the beacon's lighting, the three at the beacon, or the fallen dragon.

References fdActorSetAnimation(), fdMapGridCenterOnFollowedPoint(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), scMarsLighthouseAerieFindWhoTheDragonWas(), scMarsLighthouseAerieLightBeacon(), scMarsLighthouseAerieSetUpBeacon(), scMarsLighthouseAerieUrgeOnToBeacon(), scMarsLighthouseAerieWatchGoldenSunRise(), scScriptCameraGetActor(), Sint32 and sySynch().

Definition at line 395 of file mars_lighthouse_aerie.c.

scPrepareMap

Sint32 scPrepareMap(void)

References fdMapCopyPalette(), fdScriptGetFlag(), fdWeatherStartRain(), MainRoutineStateWork and Sint32.

Definition at line 446 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieSwingBeaconFlame

void scMarsLighthouseAerieSwingBeaconFlame(ACTOR *actor)

A flame swings round the beacon's fire, behind it and then in front.

References syCos() and sySin().

Referenced by scMarsLighthouseAerieSpawnBeaconFlames().

Definition at lines 459 and 505 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStartLookingAround

void scMarsLighthouseAerieStartLookingAround(Sint32 id)

The actor stands looking about.

References fdActorGet(), scFieldActorStop(), scMarsLighthouseAerieLookAround() and Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieLightBeacon() and scMarsLighthouseAerieWatchGoldenSunRise().

Definition at line 525 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStopLookingAround

void scMarsLighthouseAerieStopLookingAround(Sint32 id)

The actor stops looking about and faces the beacon.

References fdActorFaceDirection(), fdActorGet() and Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieLightBeacon() and scMarsLighthouseAerieWatchGoldenSunRise().

Definition at line 535 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieFaceDoomDragon

void scMarsLighthouseAerieFaceDoomDragon(void)

The party walks up to the unlit beacon in the storm (metatiles (32, 20) to (34, 20)), and the voice calls them betrayers before the Doom Dragon's battle.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorPlaceOnActor(), fdActorReleaseById(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorShowEmote(), fdActorWaitForAnimationChange(), fdActorWalkToAndWait(), fdCameraWaitForArrival(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdRequestBattleFromEncounterTable(), fdScriptOpenMessage(), fdScriptPlaySound(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, MarsLighthouseAerieDoomDragonRiseScript, MarsLighthouseAerieGaretReadyScript, MarsLighthouseAerieIsaacReadyScript, MarsLighthouseAerieIvanApproachScript, MarsLighthouseAerieIvanReadyScript, MarsLighthouseAerieJennaApproachScript, MarsLighthouseAerieJennaReadyScript, MarsLighthouseAerieKradenApproachScript, MarsLighthouseAerieLeaderReadyScript, MarsLighthouseAerieMiaReadyScript, MarsLighthouseAeriePiersApproachScript, MarsLighthouseAeriePiersReadyScript, MarsLighthouseAerieRisingRingsA, MarsLighthouseAerieShebaApproachScript, MarsLighthouseAerieShebaReadyScript, MarsLighthouseAerieWiseOneShrinkScript, scFieldActorJump(), scFieldActorSetAnimation(), scFieldActorSetAnimationAndWait(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpriteColor(), scFieldActorSetSpritePriority(), scFieldActorStartRepeatedMotion(), scFieldActorStop() and 17 more.

Referenced by SceneCues.

Definition at line 560 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieFlickerDragon

void scMarsLighthouseAerieFlickerDragon(ACTOR *actor)

The Doom Dragon's body and heads flicker in and out of sight, ever faster.

References MarsLighthouseAerieFlickerRate, MarsLighthouseAerieFlickerTick and scFieldActorSetSpriteColor().

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at line 1342 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieFlickerParent

void scMarsLighthouseAerieFlickerParent(ACTOR *actor)

The three it was flicker out of step with the dragon, showing while it is hidden.

References MarsLighthouseAerieFlickerRate, MarsLighthouseAerieFlickerTick and scFieldActorSetSpriteColor().

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at line 1353 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieFindWhoTheDragonWas

void scMarsLighthouseAerieFindWhoTheDragonWas(void)

The Doom Dragon falls, and the party finds who it was: Felix and Jenna's parents and Isaac's father, Kyle, freed.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetPosAndFacing(), fdActorSetScript(), fdActorShowEmote(), fdActorWalkToAndWait(), fdCameraWaitForArrival(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdScriptPlaySound(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, MarsLighthouseAerieFlickerRate, MarsLighthouseAerieFlickerTick, MarsLighthouseAerieGaretTurnScript, MarsLighthouseAerieIsaacTurnScript, MarsLighthouseAerieJennaToThosePeopleScript, MarsLighthouseAerieJennaTurnScript, MarsLighthouseAerieLeaderTurnScript, MarsLighthouseAerieMiaTurnScript, MarsLighthouseAerieRisingRingsA, MarsLighthouseAerieRisingRingsB, MarsLighthouseAerieShebaToThosePeopleScript, scFieldActorJump(), scFieldActorSetSpriteColor(), scFieldActorSetSpritePriority(), scFieldActorShowEmote(), scFieldActorStartRepeatedMotion(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scMarsLighthouseAerieEndRisingRings(), scMarsLighthouseAerieFlickerDragon(), scMarsLighthouseAerieFlickerParent(), scMarsLighthouseAerieStartRisingRings(), scMarsLighthouseAerieThrob(), scScriptCameraGetActor(), Sint32 and sySynch().

Referenced by scInit().

Definition at line 1371 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStandAside

void scMarsLighthouseAerieStandAside(Sint32 id)

The actor stands where the party will pass, no longer in the way.

References fdActorGet(), scFieldActorSetSpritePriority() and Sint32.

Referenced by scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 1706 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieUrgeOnToBeacon

void scMarsLighthouseAerieUrgeOnToBeacon(void)

At the beacon, before it is lit: Piers and Mia can heal the three no longer, Kraden tells Jenna they spent their last strength as the dragon, the party turns on the Wise One, and Kraden urges Felix to light the beacon.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorMoveToAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorWalkToAndWait(), fdCameraWaitForArrival(), fdMapGridCopyMetatileAttributes(), fdPartyRemoveMemberRestored(), fdScriptEnd(), fdScriptOpenMessage(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmPartyRestoreHpPp(), MainRoutineStateWork, MarsLighthouseAerieRisingRingsA, MarsLighthouseAerieRisingRingsB, scFieldActorJump(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpriteColor(), scFieldActorSetSpritePriority(), scFieldActorShowEmote(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scMarsLighthouseAerieEndRisingRings(), scMarsLighthouseAerieStandAside(), scMarsLighthouseAerieStartRisingRings(), scScriptCameraGetActor() and sySynch().

Referenced by scInit().

Definition at line 1718 of file mars_lighthouse_aerie.c.

scOrbUpdateRising

void scOrbUpdateRising(ACTOR *self)

An orb circles the beacon's beam as it rises.

References fdActorGet(), syCos() and sySin().

Referenced by scOrbSpawnRising().

Definition at line 1988 of file mars_lighthouse_aerie.c.

scOrbSpawnRising

void scOrbSpawnRising(void)

Every third tick, or every tick once the light has broken through, an orb starts to rise round the beacon's beam.

References fdActorGet(), fdActorStartScript(), fdScriptGetFlag(), OrbRisingScript, scFieldActorCreate(), scFieldActorSetSpriteColor(), scOrbUpdateRising(), Sint32, syRandom(), sySin() and TickCount.

Referenced by scInit(), scJupiterLighthouseActivateTheLighthouse() and scMarsLighthouseAerieLightBeacon().

Definition at line 2009 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieRaiseBeaconFire

void scMarsLighthouseAerieRaiseBeaconFire(void)

The beacon's fire, a tick event: the background flashes pale yellow and the ground quakes; at tick 24 the fire is put 360 pixels below the floor at (512, 204) and climbs 2.25 pixels a tick, a spark (SPRITE_PARTICLE) made each tick to circle it and a glitter sounding every 8, until it stands 20 pixels above the floor; as it passes the floor the whole palette dims toward RGB(16, 16, 12).

References fdActorGetById(), fdActorSetScript(), fdActorStartScript(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdScriptPlaySound(), MarsLighthouseAerieBeaconFireScript, MarsLighthouseAerieBeaconFireTick, MarsLighthouseAerieBeaconFireTicks, MarsLighthouseAerieBeaconSparkScript, scActorStopWhereItStands(), scFieldActorCreate(), scFieldActorSetSpriteColor(), scFieldCloseEvent(), scMarsLighthouseAerieOrbitBeaconFire(), Sint32, syRandom(), sySin() and TickCount.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 2070 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStepBackLeft

void scMarsLighthouseAerieStepBackLeft(Sint32 id)

The actor steps back from the beam, to the left.

References fdActorGet(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpritePriority() and Sint32.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 2168 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieStepBackRight

void scMarsLighthouseAerieStepBackRight(Sint32 id)

The actor steps back from the beam, to the right.

References fdActorGet(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpritePriority() and Sint32.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 2180 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHoldStill

void scMarsLighthouseAerieHoldStill(Sint32 id)

The actor keeps to the ground as the beacon's beam rises.

References fdActorGetById() and Sint32.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 2192 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieLightBeacon

void scMarsLighthouseAerieLightBeacon(void)

The Mars Star is cast into the beacon: the beam rises, the fire climbs up into it and the beacon is lit.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorRelease(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetBlendMode(), fdActorSetPosAndFacing(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorShowEmote(), fdActorWalkToAndWait(), fdCameraGetActor(), fdCameraWaitForArrival(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptShowMessage(), gmItemLoadIcon(), gmPartyInventoryRemove(), MainRoutineStateWork, MarsLighthouseAerieBeaconFireTick, MarsLighthouseAerieBeaconFireTicks, MarsLighthouseAerieBeamNarrowScript, MarsLighthouseAerieBeamRiseScript, MarsLighthouseAerieBeamShootUpScript, MarsLighthouseAerieBeamWidenScript, mnMessageShowCentered(), mnVRAMLoad(), scFieldActorCreate(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpriteColor(), scFieldActorSetSpritePriority(), scFieldActorShowEmote(), scFieldActorWaitForMove(), scFieldCloseEvent(), scFieldMapGridWaitForShakeToSettle(), scFieldScriptAddPartyMember(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptShowMessageThenWait(), scFieldScriptWait(), scMarsLighthouseAerieHoldStill() and 11 more.

Referenced by scInit() and scMarsLighthouseAerieOfferToCastMarsStar().

Definition at line 2201 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieWatchGoldenSunRise

void scMarsLighthouseAerieWatchGoldenSunRise(void)

All look up as the beam widens and the Golden Sun begins to rise.

References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGet(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetScript(), fdActorShowEmote(), fdActorWaitForAnimationChange(), fdActorWalkToAndWait(), fdCameraGetActor(), fdCameraWaitForArrival(), fdMapGridCenterOnFollowedPoint(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdPsynergyStartMindReadWave(), fdPsynergyStopMindReadWave(), fdScriptOpenMessage(), fdScriptPlaySound(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, MarsLighthouseAerieWatchGoldenSunRiseScript, scFieldActorJump(), scFieldActorSetPosAndResetMotion(), scFieldActorSetSpriteColor(), scFieldActorSetSpritePriority(), scFieldActorShowEmote(), scFieldActorStartRepeatedMotion(), scFieldCloseEvent(), scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait(), scMarsLighthouseAerieSpawnBeaconFlames(), scMarsLighthouseAerieStartLookingAround(), scMarsLighthouseAerieStopLookingAround(), Sint32 and sySynch().

Referenced by scInit().

Definition at line 2512 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHoldBackFromParents

void scMarsLighthouseAerieHoldBackFromParents(void)

Before the beacon is lit, Felix walks away south from the three as they lie dying and reaches the head of the broad stairway down from the beacon's platform on its west half (metatiles (29, 23) and (30, 23), whose behaviour scMarsLighthouseAerieUrgeOnToBeacon copies there from the map's spare block at (45, 53) and (46, 53)). Kraden turns to him: "Do not let your sadness overwhelm you, Felix! Go! Once the beacon has been ignited, you can mourn as much as you need." and Felix walks back up onto the platform, to (480, 348), south-west of them.

References fdActorFaceDirectionAndWait(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, MsgMarsLighthouseAerieDoNotLetYourSadness, scFieldScriptEndLastingPsynergy() and scFieldScriptSetMessageId().

Referenced by SceneCues.

Definition at line 2908 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHoldBackFromParentsAgain

void scMarsLighthouseAerieHoldBackFromParentsAgain(void)

The same at the head of the stairway's east half (metatiles (33, 23) and (34, 23), from the spare block's (49, 53) and (50, 53)): Kraden turns to him, "Do not let your sadness overwhelm you, Felix! Go! Once the beacon has been ignited, you can mourn as much as you need. I will protect you.", and Felix walks back up onto the platform, to (544, 348), south-east of them.

References fdActorFaceDirectionAndWait(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, MsgMarsLighthouseAerieDoNotLetYourSadness, scFieldScriptEndLastingPsynergy() and scFieldScriptSetMessageId().

Referenced by SceneCues.

Definition at line 2927 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieOfferToCastMarsStar

void scMarsLighthouseAerieOfferToCastMarsStar(void)

Felix steps up to the beacon, and the voice asks: "Will you cast in the Mars Star?" Yes lights the beacon (scMarsLighthouseAerieLightBeacon); no leaves it to be asked again once he steps back.

References fdScriptEnd(), fdScriptOpenMessage(), fdScriptSetFlag(), fdScriptStart(), MainRoutineStateWork, scFieldScriptAskYesNoWithActorAnimation(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scMarsLighthouseAerieLightBeacon() and sySynch().

Referenced by SceneCues.

Definition at line 2944 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieClearCastOffer

void scMarsLighthouseAerieClearCastOffer(void)

Felix has stepped back from the beacon without casting in the Mars Star: the voice will ask again when he steps up to it.

References syGameFlagClear().

Referenced by SceneCues.

Definition at line 2969 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieTalkToIvan

void scMarsLighthouseAerieTalkToIvan(void)

Felix talks to Ivan, who stands by the three: "Felix, I understand your loss..." In every edition but the Japanese, if Halt holds him, he speaks haltingly.

References fdActorFaceActor(), fdActorFaceDirectionAndWait(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, MsgIUnderstandYour, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scMarsLighthouseAerieEndTalkWhileHalted() and scMarsLighthouseAerieStartTalkWhileHalted().

Referenced by SceneCues.

Definition at line 3007 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieTalkToJennasMother

void scMarsLighthouseAerieTalkToJennasMother(void)

Felix talks to Jenna's mother as she lies dying: "Uhhhhnnn... Felix... I...can't see you, but I sense that you're..."

References fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MsgUhhhhnnnICan, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scMarsLighthouseAerieEndTalkWhileHalted() and scMarsLighthouseAerieStartTalkWhileHalted().

Referenced by SceneCues.

Definition at line 3029 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieTalkToKyle

void scMarsLighthouseAerieTalkToKyle(void)

Felix talks to Kyle, Isaac's father, as he lies dying: "*Koff! Koff!* Felix... You made it back...alive..."

References fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MsgKoffKoffYou, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scMarsLighthouseAerieEndTalkWhileHalted() and scMarsLighthouseAerieStartTalkWhileHalted().

Referenced by SceneCues.

Definition at line 3047 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieTalkToJennasFather

void scMarsLighthouseAerieTalkToJennasFather(void)

Felix talks to Jenna's father as he lies dying: "Unnnn... Felix? ...Jenna? I am so happy...to have one last chance..."

References fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MsgUnnnnIAm, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId(), scMarsLighthouseAerieEndTalkWhileHalted() and scMarsLighthouseAerieStartTalkWhileHalted().

Referenced by SceneCues.

Definition at line 3065 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHaltIvan

void scMarsLighthouseAerieHaltIvan(void)

In every edition but the Japanese: Ivan is held where he stands while he talks.

References scMarsLighthouseAerieHaltSpeaker().

Referenced by SceneCues.

Definition at line 3103 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHaltJennasMother

void scMarsLighthouseAerieHaltJennasMother(void)

In every edition but the Japanese: Jenna's mother is held where she lies while she talks.

References scMarsLighthouseAerieHaltSpeaker().

Referenced by SceneCues.

Definition at line 3110 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHaltKyle

void scMarsLighthouseAerieHaltKyle(void)

In every edition but the Japanese: Kyle is held where he lies while he talks.

References scMarsLighthouseAerieHaltSpeaker().

Referenced by SceneCues.

Definition at line 3117 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieHaltJennasFather

void scMarsLighthouseAerieHaltJennasFather(void)

In every edition but the Japanese: Jenna's father is held where he lies while he talks.

References scMarsLighthouseAerieHaltSpeaker().

Referenced by SceneCues.

Definition at line 3124 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieUpdateRisingRings

void scMarsLighthouseAerieUpdateRisingRings(ACTOR *actor)

Each tick of an actor's rings: a ring climbs RING_CLIMB pixels up the actor, swelling and shrinking as it goes, and the next starts with a chime RING_INTERVAL ticks later, two at a time, while the actor's colours cycle. Once stopped, the rings climb out and the actor's colours come back. The Psynergy test's dbPsynergyTestUpdateRings is the same function.

References fdActorGetSpriteDepth(), fdActorSetSpriteColorMode(), fdCameraWorldToScreen(), fdEffectSpriteDraw(), fdScriptPlaySound(), Sint32, sySin() and syVRAMCacheFreeEntry().

Referenced by scMarsLighthouseAerieStartRisingRings().

Definition at line 3138 of file mars_lighthouse_aerie.c.

scMarsLighthouseAerieEndRisingRings

void scMarsLighthouseAerieEndRisingRings(ACTOR *actor)

Lets an actor's rings climb out.

Referenced by scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieFindWhoTheDragonWas() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 3254 of file mars_lighthouse_aerie.c.

Variables in detail

MsgUhhhhnnnICan

extern Uint8 MsgUhhhhnnnICan[]

Referenced by scMarsLighthouseAerieTalkToJennasMother().

Definition at line 184 of file mars_lighthouse_aerie.c.

MsgKoffKoffYou

extern Uint8 MsgKoffKoffYou[]

Referenced by scMarsLighthouseAerieTalkToKyle().

Definition at line 185 of file mars_lighthouse_aerie.c.

MsgUnnnnIAm

extern Uint8 MsgUnnnnIAm[]

Referenced by scMarsLighthouseAerieTalkToJennasFather().

Definition at line 186 of file mars_lighthouse_aerie.c.

MsgIUnderstandYour

extern Uint8 MsgIUnderstandYour[]

Referenced by scMarsLighthouseAerieTalkToIvan().

Definition at line 187 of file mars_lighthouse_aerie.c.

MarsLighthouseAeriePlacements

extern ACTOR_PLACE MarsLighthouseAeriePlacements[]

ACTOR_PLACE MarsLighthouseAeriePlacements[]

Referenced by scGetActorPlacements().

Definition at lines 188 and 3629 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieAfterBattlePlacements

extern ACTOR_PLACE MarsLighthouseAerieAfterBattlePlacements[]

ACTOR_PLACE MarsLighthouseAerieAfterBattlePlacements[]

Referenced by scGetActorPlacements().

Definition at lines 189 and 3677 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconPlacements

extern ACTOR_PLACE MarsLighthouseAerieBeaconPlacements[]

ACTOR_PLACE MarsLighthouseAerieBeaconPlacements[]

Referenced by scGetActorPlacements().

Definition at lines 190 and 3731 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconFlameTick

Uint32 MarsLighthouseAerieBeaconFlameTick

Referenced by scMarsLighthouseAerieSetUpBeacon() and scMarsLighthouseAerieSpawnBeaconFlames().

Definition at line 191 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieFlickerTick

Uint32 MarsLighthouseAerieFlickerTick

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas(), scMarsLighthouseAerieFlickerDragon() and scMarsLighthouseAerieFlickerParent().

Definition at line 192 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconFireTicks

Uint32 MarsLighthouseAerieBeaconFireTicks

Referenced by scMarsLighthouseAerieLightBeacon() and scMarsLighthouseAerieRaiseBeaconFire().

Definition at line 193 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieFlickerRate

Uint32 MarsLighthouseAerieFlickerRate

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas(), scMarsLighthouseAerieFlickerDragon() and scMarsLighthouseAerieFlickerParent().

Definition at line 194 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieRisingRingsB

SPARKLE_STATE MarsLighthouseAerieRisingRingsB

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 195 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieRisingRingsA

SPARKLE_STATE MarsLighthouseAerieRisingRingsA

Referenced by scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieFindWhoTheDragonWas() and scMarsLighthouseAerieUrgeOnToBeacon().

Definition at line 196 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconFireTick

Uint32 MarsLighthouseAerieBeaconFireTick

Referenced by scMarsLighthouseAerieLightBeacon() and scMarsLighthouseAerieRaiseBeaconFire().

Definition at line 197 of file mars_lighthouse_aerie.c.

PaletteCycleBright

Uint16 PaletteCycleBright

The teleport circle's shimmer, a palette cycle that fdPaletteCycleFade steps.

Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().

Definition at line 199 of file mars_lighthouse_aerie.c.

PaletteCycleTimer

Uint16 PaletteCycleTimer

Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().

Definition at line 201 of file mars_lighthouse_aerie.c.

PaletteCycleDelay

Uint16 PaletteCycleDelay

Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().

Definition at line 202 of file mars_lighthouse_aerie.c.

MsgMarsLighthouseAerieDoNotLetYourSadness

extern Uint8 MsgMarsLighthouseAerieDoNotLetYourSadness[]

Referenced by scMarsLighthouseAerieHoldBackFromParents() and scMarsLighthouseAerieHoldBackFromParentsAgain().

Definition at line 212 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconFlameScript

extern Sint32 MarsLighthouseAerieBeaconFlameScript[]

Sint32 MarsLighthouseAerieBeaconFlameScript[]

References Sint32.

Referenced by scMarsLighthouseAerieSpawnBeaconFlames().

Definition at lines 457 and 3848 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieJennaApproachScript

extern Sint32 MarsLighthouseAerieJennaApproachScript[]

Sint32 MarsLighthouseAerieJennaApproachScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 541 and 3327 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieShebaApproachScript

extern Sint32 MarsLighthouseAerieShebaApproachScript[]

Sint32 MarsLighthouseAerieShebaApproachScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 542 and 3335 of file mars_lighthouse_aerie.c.

MarsLighthouseAeriePiersApproachScript

extern Sint32 MarsLighthouseAeriePiersApproachScript[]

Sint32 MarsLighthouseAeriePiersApproachScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 543 and 3343 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieIvanApproachScript

extern Sint32 MarsLighthouseAerieIvanApproachScript[]

Sint32 MarsLighthouseAerieIvanApproachScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 544 and 3351 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieKradenApproachScript

extern Sint32 MarsLighthouseAerieKradenApproachScript[]

Sint32 MarsLighthouseAerieKradenApproachScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 545 and 3359 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieWiseOneShrinkScript

extern Sint32 MarsLighthouseAerieWiseOneShrinkScript[]

Sint32 MarsLighthouseAerieWiseOneShrinkScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 546 and 3367 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieDoomDragonRiseScript

extern Sint32 MarsLighthouseAerieDoomDragonRiseScript[]

Sint32 MarsLighthouseAerieDoomDragonRiseScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 547 and 3377 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieLeaderReadyScript

extern Sint32 MarsLighthouseAerieLeaderReadyScript[]

Sint32 MarsLighthouseAerieLeaderReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 548 and 3386 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieIsaacReadyScript

extern Sint32 MarsLighthouseAerieIsaacReadyScript[]

Sint32 MarsLighthouseAerieIsaacReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 549 and 3397 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieJennaReadyScript

extern Sint32 MarsLighthouseAerieJennaReadyScript[]

Sint32 MarsLighthouseAerieJennaReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 550 and 3408 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieShebaReadyScript

extern Sint32 MarsLighthouseAerieShebaReadyScript[]

Sint32 MarsLighthouseAerieShebaReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 551 and 3419 of file mars_lighthouse_aerie.c.

MarsLighthouseAeriePiersReadyScript

extern Sint32 MarsLighthouseAeriePiersReadyScript[]

Sint32 MarsLighthouseAeriePiersReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 552 and 3430 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieIvanReadyScript

extern Sint32 MarsLighthouseAerieIvanReadyScript[]

Sint32 MarsLighthouseAerieIvanReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 553 and 3441 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieMiaReadyScript

extern Sint32 MarsLighthouseAerieMiaReadyScript[]

Sint32 MarsLighthouseAerieMiaReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 554 and 3452 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieGaretReadyScript

extern Sint32 MarsLighthouseAerieGaretReadyScript[]

Sint32 MarsLighthouseAerieGaretReadyScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFaceDoomDragon().

Definition at lines 555 and 3463 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieShebaToThosePeopleScript

extern Sint32 MarsLighthouseAerieShebaToThosePeopleScript[]

Sint32 MarsLighthouseAerieShebaToThosePeopleScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1361 and 3474 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieJennaToThosePeopleScript

extern Sint32 MarsLighthouseAerieJennaToThosePeopleScript[]

Sint32 MarsLighthouseAerieJennaToThosePeopleScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1362 and 3485 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieJennaTurnScript

extern Sint32 MarsLighthouseAerieJennaTurnScript[]

Sint32 MarsLighthouseAerieJennaTurnScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1363 and 3496 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieLeaderTurnScript

extern Sint32 MarsLighthouseAerieLeaderTurnScript[]

Sint32 MarsLighthouseAerieLeaderTurnScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1364 and 3507 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieIsaacTurnScript

extern Sint32 MarsLighthouseAerieIsaacTurnScript[]

Sint32 MarsLighthouseAerieIsaacTurnScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1365 and 3515 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieGaretTurnScript

extern Sint32 MarsLighthouseAerieGaretTurnScript[]

Sint32 MarsLighthouseAerieGaretTurnScript[]

The same script as MarsLighthouseAerieGaretReadyScript, under another name.

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1366 and 3524 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieMiaTurnScript

extern Sint32 MarsLighthouseAerieMiaTurnScript[]

Sint32 MarsLighthouseAerieMiaTurnScript[]

References Sint32.

Referenced by scMarsLighthouseAerieFindWhoTheDragonWas().

Definition at lines 1367 and 3535 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconFireScript

extern Sint32 MarsLighthouseAerieBeaconFireScript[]

Sint32 MarsLighthouseAerieBeaconFireScript[]

References Sint32.

Referenced by scMarsLighthouseAerieRaiseBeaconFire().

Definition at lines 2062 and 3315 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeamNarrowScript

extern Sint32 MarsLighthouseAerieBeamNarrowScript[]

Sint32 MarsLighthouseAerieBeamNarrowScript[]

References Sint32.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at lines 2197 and 3558 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieRisingRingTiles

Sint32 MarsLighthouseAerieRisingRingTiles[]

The rings' tiles: half a ring of light, 32 by 16 pixels of 16 colours, which scMarsLighthouseAerieUpdateRisingRings draws twice, the second flipped, for the whole ring; only the first 8 tiles are loaded.

References Sint32.

Referenced by scMarsLighthouseAerieStartRisingRings().

Definition at line 3263 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeamWidenScript

Sint32 MarsLighthouseAerieBeamWidenScript[]

References Sint32.

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 3546 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeamShootUpScript

Uint32 MarsLighthouseAerieBeamShootUpScript[]

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 3565 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeamRiseScript

Uint32 MarsLighthouseAerieBeamRiseScript[]

Referenced by scMarsLighthouseAerieLightBeacon().

Definition at line 3574 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieBeaconSparkScript

Sint32 MarsLighthouseAerieBeaconSparkScript[]

References Sint32.

Referenced by scMarsLighthouseAerieRaiseBeaconFire().

Definition at line 3583 of file mars_lighthouse_aerie.c.

MarsLighthouseAerieWatchGoldenSunRiseScript

Sint32 MarsLighthouseAerieWatchGoldenSunRiseScript[]

References Sint32.

Referenced by scMarsLighthouseAerieWatchGoldenSunRise().

Definition at line 3596 of file mars_lighthouse_aerie.c.

SceneEntrances

SCENE_ENTRANCE SceneEntrances[]

Referenced by scGetEntrances().

Definition at line 3607 of file mars_lighthouse_aerie.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 3612 of file mars_lighthouse_aerie.c.

SceneCues

CUE SceneCues[]

References scLeaveByExit(), scMarsLighthouseAerieClearCastOffer(), scMarsLighthouseAerieFaceDoomDragon(), scMarsLighthouseAerieHaltIvan(), scMarsLighthouseAerieHaltJennasFather(), scMarsLighthouseAerieHaltJennasMother(), scMarsLighthouseAerieHaltKyle(), scMarsLighthouseAerieHoldBackFromParents(), scMarsLighthouseAerieHoldBackFromParentsAgain(), scMarsLighthouseAerieOfferToCastMarsStar(), scMarsLighthouseAerieTalkToIvan(), scMarsLighthouseAerieTalkToJennasFather(), scMarsLighthouseAerieTalkToJennasMother() and scMarsLighthouseAerieTalkToKyle().

Referenced by scGetCues().

Definition at line 3801 of file mars_lighthouse_aerie.c.

On this page

MacrosEnumerationsFunctionsVariablesDescriptionMacros in detailFLAG_ASKED_FOR_MARS_STARFLAG_BEACON_BROKE_THROUGHEXIT_TO_THE_BEACONBEACON_FLAME_SWING_RADIUSBEACON_FLAME_SWING_SPREADTELEPORT_CIRCLE_FIRST_ENTRYEnumerations in detailanonymous enumanonymous enumanonymous enumanonymous enumMARS_LIGHTHOUSE_AERIE_METATILE_BEHAVIORanonymous enumanonymous enumanonymous enumFunctions in detailscMarsLighthouseAerieLookAroundscMarsLighthouseAerieStartTalkWhileHaltedscMarsLighthouseAerieEndTalkWhileHaltedscMarsLighthouseAerieHaltSpeakerscMarsLighthouseAerieStartRisingRingsscMarsLighthouseAerieFlickerscMarsLighthouseAerieThrobscMarsLighthouseAerieOrbitBeaconFirescGetEntrancesscGetExitRegionsscGetExitsscGetActorPlacementsscLeaveByExitscGetCuesscMarsLighthouseAerieSpawnBeaconFlamesscMarsLighthouseAerieSetUpBeaconscInitscPrepareMapscMarsLighthouseAerieSwingBeaconFlamescMarsLighthouseAerieStartLookingAroundscMarsLighthouseAerieStopLookingAroundscMarsLighthouseAerieFaceDoomDragonscMarsLighthouseAerieFlickerDragonscMarsLighthouseAerieFlickerParentscMarsLighthouseAerieFindWhoTheDragonWasscMarsLighthouseAerieStandAsidescMarsLighthouseAerieUrgeOnToBeaconscOrbUpdateRisingscOrbSpawnRisingscMarsLighthouseAerieRaiseBeaconFirescMarsLighthouseAerieStepBackLeftscMarsLighthouseAerieStepBackRightscMarsLighthouseAerieHoldStillscMarsLighthouseAerieLightBeaconscMarsLighthouseAerieWatchGoldenSunRisescMarsLighthouseAerieHoldBackFromParentsscMarsLighthouseAerieHoldBackFromParentsAgainscMarsLighthouseAerieOfferToCastMarsStarscMarsLighthouseAerieClearCastOfferscMarsLighthouseAerieTalkToIvanscMarsLighthouseAerieTalkToJennasMotherscMarsLighthouseAerieTalkToKylescMarsLighthouseAerieTalkToJennasFatherscMarsLighthouseAerieHaltIvanscMarsLighthouseAerieHaltJennasMotherscMarsLighthouseAerieHaltKylescMarsLighthouseAerieHaltJennasFatherscMarsLighthouseAerieUpdateRisingRingsscMarsLighthouseAerieEndRisingRingsVariables in detailMsgUhhhhnnnICanMsgKoffKoffYouMsgUnnnnIAmMsgIUnderstandYourMarsLighthouseAeriePlacementsMarsLighthouseAerieAfterBattlePlacementsMarsLighthouseAerieBeaconPlacementsMarsLighthouseAerieBeaconFlameTickMarsLighthouseAerieFlickerTickMarsLighthouseAerieBeaconFireTicksMarsLighthouseAerieFlickerRateMarsLighthouseAerieRisingRingsBMarsLighthouseAerieRisingRingsAMarsLighthouseAerieBeaconFireTickPaletteCycleBrightPaletteCycleTimerPaletteCycleDelayMsgMarsLighthouseAerieDoNotLetYourSadnessMarsLighthouseAerieBeaconFlameScriptMarsLighthouseAerieJennaApproachScriptMarsLighthouseAerieShebaApproachScriptMarsLighthouseAeriePiersApproachScriptMarsLighthouseAerieIvanApproachScriptMarsLighthouseAerieKradenApproachScriptMarsLighthouseAerieWiseOneShrinkScriptMarsLighthouseAerieDoomDragonRiseScriptMarsLighthouseAerieLeaderReadyScriptMarsLighthouseAerieIsaacReadyScriptMarsLighthouseAerieJennaReadyScriptMarsLighthouseAerieShebaReadyScriptMarsLighthouseAeriePiersReadyScriptMarsLighthouseAerieIvanReadyScriptMarsLighthouseAerieMiaReadyScriptMarsLighthouseAerieGaretReadyScriptMarsLighthouseAerieShebaToThosePeopleScriptMarsLighthouseAerieJennaToThosePeopleScriptMarsLighthouseAerieJennaTurnScriptMarsLighthouseAerieLeaderTurnScriptMarsLighthouseAerieIsaacTurnScriptMarsLighthouseAerieGaretTurnScriptMarsLighthouseAerieMiaTurnScriptMarsLighthouseAerieBeaconFireScriptMarsLighthouseAerieBeamNarrowScriptMarsLighthouseAerieRisingRingTilesMarsLighthouseAerieBeamWidenScriptMarsLighthouseAerieBeamShootUpScriptMarsLighthouseAerieBeamRiseScriptMarsLighthouseAerieBeaconSparkScriptMarsLighthouseAerieWatchGoldenSunRiseScriptSceneEntrancesSceneExitsSceneCues