Alchemy
Loading...
Searching...
No Matches

mercury.c File Reference

A Mercury Djinni joining the party. More...

Go to the source code of this file.

Macros

#define MERCURY_PARTICLE_MAX   24
 droplets (one an effect slot)
#define MERCURY_AFTERIMAGE_MAX   8
 afterimages of the rising Djinni

Functions

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.

Detailed Description

A Mercury Djinni joining the party.

Part of psynergy_effects.c, compiled only through it.

Definition in file mercury.c.

Macro Definition Documentation

◆ MERCURY_PARTICLE_MAX

#define MERCURY_PARTICLE_MAX   24

droplets (one an effect slot)

Definition at line 7 of file mercury.c.

Referenced by BattleFx_RunMercuryDjinnCapture().

◆ MERCURY_AFTERIMAGE_MAX

#define MERCURY_AFTERIMAGE_MAX   8

afterimages of the rising Djinni

Definition at line 8 of file mercury.c.

Referenced by BattleFx_RunMercuryDjinnCapture().

Function Documentation

◆ 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.

Definition at line 14 of file mercury.c.

Referenced by BattleFx_RunMercuryDjinnCapture(), Djinn_JoinParty(), and Djinn_ResolvePendingEvent().