src/field/script_commands_mercury.c
A Mercury Djinni joining the party. More…
Included by script_commands.c.
Macros
| Name | Description | |
|---|---|---|
#define | MERCURY_DROPLETS 24 | droplets (one a field effect sprite) |
#define | MERCURY_AFTERIMAGE_MAX 8 | afterimages of the rising Djinni |
Functions
| Name | Description | |
|---|---|---|
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 raises its arms as droplets rain round it. |
Description
A Mercury Djinni joining the party. Part of script_commands.c.
Macros in detail
MERCURY_DROPLETS
#define MERCURY_DROPLETS 24
droplets (one a field effect sprite)
Referenced by fdDjinnRunMercuryJoinEffect().
Definition at line 5 of file script_commands_mercury.c.
MERCURY_AFTERIMAGE_MAX
#define MERCURY_AFTERIMAGE_MAX 8
afterimages of the rising Djinni
Referenced by fdDjinnRunMercuryJoinEffect().
Definition at line 6 of file script_commands_mercury.c.
Functions in detail
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 raises its arms as droplets rain round it.
References fdActorCreateStub(), fdActorFaceDirectionById(), fdActorGetById(), fdActorJump(), fdActorReleaseStub(), fdActorRunRepeatedMotion(), fdActorSelectAnimationStub(), fdActorSetSpriteColorModeStub(), fdActorSetSpriteFlagsStub(), fdCameraWorldToScreen(), fdEffectHalveDistanceToTarget(), fdEffectInitSlots(), fdEffectReleaseSlots(), fdEffectUpdateRandomTargetParticle(), fdParticleInit(), fdParticleSetAnimation(), fdParticleSetCallback(), fdSpriteSetAnimationColorModesStub(), fdSpriteShareVRAMCacheEntry(), MainRoutineStateWork, mnShopRestoreFieldPaletteStub(), mnShopSaveAndTintFieldPaletteStub(), Sint32, sySoundPlayStub(), sySynch() and syVRAMCacheFreeEntry().
Referenced by fdDjinnJoinParty().
Definition at line 12 of file script_commands_mercury.c.