Skip to Content
The Alchemy Project

src/scene/shared/mercury_lighthouse_arrive.c

Mercury Lighthouse and its entrance: arriving on a floor through one of its sparkling passages.

Included by mercury_lighthouse.c and mercury_lighthouse_entrance.c.

Functions

NameDescription
static voidscMercuryLighthouseArriveWithSparks (void)Unless the party returns to where it was, the leader appears 16 pixels north of the entrance, hidden, as the screen opens, then comes south with the trail of sparks and is drawn again on the way.

Description

Mercury Lighthouse and its entrance: arriving on a floor through one of its sparkling passages.

Functions in detail

scMercuryLighthouseArriveWithSparks

static void scMercuryLighthouseArriveWithSparks(void)

Unless the party returns to where it was, the leader appears 16 pixels north of the entrance, hidden, as the screen opens, then comes south with the trail of sparks and is drawn again on the way.

References fdActorGet(), fdActorGetById(), fdActorSetPosFX(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorWalkByAndWait(), fdPlayQueuedMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmFlagGet(), scMercuryLighthouseTrailSparks() and sySoundPlay().

Referenced by scInit().

Definition at line 7 of file mercury_lighthouse_arrive.c.