Alchemy

mercury.c

A Mercury Djinni joining the party.

games/tbs/src/object/psynergy_effects/mercury.c on GitHub

A Mercury Djinni joining the party. Part of psynergy_effects.c, compiled only through it.

Functions

BattleFx_RunMercuryDjinnCapture

void BattleFx_RunMercuryDjinnCapture(s32 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 plays animation 28 while 24 droplets rain round it, one a frame (BattleFx_UpdateRandomTargetParticle); then the colours return. Called by Djinn_JoinParty for a Mercury Djinni, which then clears the Djinni's actor slot; the Djinni's object and its afterimages are released here. Uses all 24 effect slots (BattleFx_InitializeSlots).

Used by Djinn_JoinParty.

Line 17

Macros, without a comment: MERCURY_PARTICLE_MAX, MERCURY_AFTERIMAGE_MAX.

On this page