src/field/script_commands_mercury.c
A Mercury Djinni joining the party. More…
Included by script_commands.c.
Macros
| Name | Description | |
|---|---|---|
#define | MERCURY_AFTERIMAGE_MAX 8 | afterimages of the rising Djinni |
#define | MERCURY_RISE_TICKS 15 | ticks the Djinni rises, 8 pixels each |
Functions
| Name | Description | |
|---|---|---|
void | fdActorMoveHalfwayTowardTargetCopy (ACTOR *actor) | Moves the actor halfway to the actor it watches; a copy of fdActorMoveHalfwayTowardTarget. |
void | fdDjinnRunMercuryJoinEffect (Sint32 djinniId) | A Mercury Djinni joins the party: the screen is tinted blue, the Djinni bounces twice and hops three times ever higher, then rises 120 pixels out of sight trailing eight afterimages; the leader turns to the camera and raises its arms, and droplets fall about it. |
Description
A Mercury Djinni joining the party. Part of script_commands.c.
Macros in detail
MERCURY_AFTERIMAGE_MAX
#define MERCURY_AFTERIMAGE_MAX 8
afterimages of the rising Djinni
Referenced by fdDjinnRunMercuryJoinEffect().
Definition at line 3 of file script_commands_mercury.c.
MERCURY_RISE_TICKS
#define MERCURY_RISE_TICKS 15
ticks the Djinni rises, 8 pixels each
Referenced by fdDjinnRunMercuryJoinEffect().
Definition at line 4 of file script_commands_mercury.c.
Functions in detail
fdActorMoveHalfwayTowardTargetCopy
void fdActorMoveHalfwayTowardTargetCopy(ACTOR *actor)
Moves the actor halfway to the actor it watches; a copy of
fdActorMoveHalfwayTowardTarget.
Referenced by fdDjinnRunMercuryJoinEffect().
Definition at line 8 of file script_commands_mercury.c.
fdDjinnRunMercuryJoinEffect
void fdDjinnRunMercuryJoinEffect(Sint32 djinniId)
A Mercury Djinni joins the party: the screen is tinted blue, the Djinni bounces twice and hops three times ever higher, then rises 120 pixels out of sight trailing eight afterimages; the leader turns to the camera and raises its arms, and droplets fall about it.
References fdActorCreateStub(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorMoveHalfwayTowardTargetCopy(), fdActorReleaseStub(), fdActorRunRepeatedMotion(), fdActorSelectAnimationStub(), fdActorSetSpriteColorModeStub(), fdActorSetSpriteFlagsStub(), fdCameraWorldToScreen(), fdEffectInitSlots(), fdEffectReleaseSlots(), fdEffectUpdateRandomTargetParticle(), fdParticleInit(), fdParticleSetAnimation(), fdParticleSetCallback(), fdSpriteSetAnimationColorModesStub(), fdSpriteShareVRAMCacheEntry(), MainRoutineStateWork, mnShopRestoreFieldPaletteStub(), mnShopSaveAndTintFieldPaletteStub(), Sint32, sySoundPlayStub(), sySynch() and syVRAMCacheFreeEntry().
Referenced by fdDjinnJoinParty().
Definition at line 21 of file script_commands_mercury.c.