Skip to Content
The Alchemy Project

include/scene/mars_lighthouse_star_room.h

Mars Lighthouse's star room: its torches, fireballs and the Mars Star, and the knock-back, flame and crack functions it shares with the rooms that keep copies of them.

Included by magma_rock.c and mars_lighthouse_star_room.c.

Functions

NameDescription
Sint32fdLeaderKnockBack (void)The leader is thrown back by the flames that struck them (shared/leader_knock_back.c).
voidfdActorLaunchAhead (struct ACTOR *actor)Launches the actor this one carries (scActorAttach) 32 pixels ahead of it, the way launchFacing faces, rolling at up to 8 pixels a tick (scActorRollAndCrumble), with the launch sound.
voidscMarsLighthouseStarRoomShootFireballs (void)The west torch sends its two sparkles round the hall, west and east; each launches its fireball at the ice, the west one rolling east and the east one west.
voidscFlameThrowersPuff (void)The flame throwers' tick event: every ninth tick each flame thrower in view puffs its flame (forward, back, east or west) or its spark, as its flags say.
voidgmPartyTakeFallDamage (void)A flame or a rolling fireball has knocked the leader down: each party member loses FALL_DAMAGE HP and the leader shows the hit; each member it brings down is listed, loses their poison and raises FIELD_RAISED_CUE_PARTY_FELL, as a hazard's damage does.
voidscActorRollAndCrumble (struct ACTOR *actor)A fireball rolls forward, breaking the ice in the metatiles around it, and carries the leader along if it hits him.
voidfdLeaderStopIfPending (void)Stops the leader while an action waits.
voidfdActorSteerByPad (struct ACTOR *actor)While the leader slides on ice, turns him toward the held direction, at most a sixteenth of a turn a tick; with none held, or a menu open, he looks around.
voidscCrackedTileCrack (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry)Cracks the tile under the leader, swapping in its cracked picture.
voidscMarsLighthouseStarRoomStartBlazeOnEastTorch (void)Felix casts Blaze at the burning torch on the east stand before the frozen dragons, and its jet of flame comes out long and fast.
voidscMarsLighthouseStarRoomBlazeWestTorch (void)Blaze's flame reaches the unlit torch on the west stand before the frozen dragons, which sends out the two sparkles that launch the fireballs.
voidscMarsLighthouseStarRoomWestFireballCracksIce (void)The west fireball reaches the ice: a small crack shows, unless the east one came first.
voidscMarsLighthouseStarRoomEastFireballCracksIce (void)The east fireball reaches the ice: the whole crack shows, and Burst can break it.
voidscMarsLighthouseStarRoomWakeFlameDragons (void)Free of the ice, the Flame Dragons rise and roar, and the battle begins.
voidscMarsLighthouseStarRoomHoldWarmHand (void)Felix talks to Karst, lying on the floor of the dragon hall where her dragon fell: "Your hand...so warm...
voidscMarsLighthouseStarRoomTakeMarsStar (void)Felix talks to Agatio, lying on the floor of the dragon hall: "It's too late for us now...
voidscMarsLighthouseStarRoomUseMarsStar (void)Felix uses the Mars Star on the great dragon head on the north wall of the dragon hall and sets it in the head's face: the room shakes, sparks rise, the ice melts into lava and the lighthouse turns back to fire; the star falls back out.
voidscMarsLighthouseStarRoomEndBlazeOnWestTorch (void)Nothing happens when Blaze ends at the west torch; the sparkles and fireballs go on alone.

Description

Mars Lighthouse's star room: its torches, fireballs and the Mars Star, and the knock-back, flame and crack functions it shares with the rooms that keep copies of them.