A Jupiter Djinni joining the party. More...
Go to the source code of this file.
Data Structures | |
| struct | RampedSpinObject |
| A spinning object: its angle, and at 0x64 the frames its spin has been speeding up for (BattleFx_AdvanceAngleWithRamp), read signed. More... | |
Functions | |
| void | Djinn_RunJupiterJoinEffect (s32 djinniId) |
| A Jupiter Djinni joins the party: it bounces three times, spins, leaps out of sight and bursts into 24 light particles that circle and close in on the leader, who turns to the camera and plays animation 28. | |
| void | BattleFx_SetObjectAlternatingWords (union FieldObject *fieldObject) |
| Per-frame update: makes an object pulse, switching its scale between the two values of gBattleFx_PulseScales every 4 frames. | |
| void | BattleFx_AdvanceAngleWithRamp (union FieldObject *fieldObject) |
| Per-frame update: spins an object ever faster, from 1/16 turn a frame up to 1/8. | |
| void | BattleFx_ShrinkObjectAndDestroySlow (union FieldObject *fieldObject) |
| Spins and shrinks an object by 0x1c0 a frame, then releases it. | |
| void | BattleEffect_UpdatePhasedRadialParticle (struct EffectSlot *effect) |
| Effect slot callback of a Mars Djinni's sparks. | |
A Jupiter Djinni joining the party.
Part of psynergy_effects.c, compiled only through it.
Definition in file jupiter.c.
| void Djinn_RunJupiterJoinEffect | ( | s32 | djinniId | ) |
A Jupiter Djinni joins the party: it bounces three times, spins, leaps out of sight and bursts into 24 light particles that circle and close in on the leader, who turns to the camera and plays animation 28.
Definition at line 10 of file jupiter.c.
Referenced by Djinn_JoinParty(), Djinn_ResolvePendingEvent(), and Djinn_RunJupiterJoinEffect().
| void BattleFx_SetObjectAlternatingWords | ( | union FieldObject * | fieldObject | ) |
Per-frame update: makes an object pulse, switching its scale between the two values of gBattleFx_PulseScales every 4 frames.
Definition at line 86 of file jupiter.c.
Referenced by BattleFx_SetObjectAlternatingWords(), Djinn_ResolvePendingEvent(), and Djinn_RunMarsJoinEffect().
| void BattleFx_AdvanceAngleWithRamp | ( | union FieldObject * | fieldObject | ) |
Per-frame update: spins an object ever faster, from 1/16 turn a frame up to 1/8.
Definition at line 97 of file jupiter.c.
Referenced by BattleFx_AdvanceAngleWithRamp(), Djinn_ResolvePendingEvent(), and Djinn_RunMarsJoinEffect().
| void BattleFx_ShrinkObjectAndDestroySlow | ( | union FieldObject * | fieldObject | ) |
Spins and shrinks an object by 0x1c0 a frame, then releases it.
Definition at line 110 of file jupiter.c.
Referenced by BattleFx_ShrinkObjectAndDestroySlow(), and Djinn_RunMarsJoinEffect().
| void BattleEffect_UpdatePhasedRadialParticle | ( | struct EffectSlot * | effect | ) |
Effect slot callback of a Mars Djinni's sparks.
States 0 and 1 repeat: the spark flies 120 pixels up the screen (give or take 3/32 turn) from its origin and starts over. Set to 2, it stops where it arrives; 40 frames later, states 3 and 4 swarm it round a point 20 pixels over the leader. Set to 5, it is freed once it arrives.
Definition at line 117 of file jupiter.c.
Referenced by BattleEffect_UpdatePhasedRadialParticle(), Djinn_ResolvePendingEvent(), and Djinn_RunMarsJoinEffect().