Alchemy
Loading...
Searching...
No Matches

growth.c File Reference

Growth. More...

Go to the source code of this file.

Data Structures

struct  BurstParticleVector
 A point Growth works out round the effect's position. More...
struct  BurstParticleVisual
 A particle sprite's attributes. More...
struct  BurstParticleVisualGroup
 A particle's sprite, seen as its two parts' attributes, which Growth copies from the first to the second. More...

Macros

#define GROWTH_PARTICLE_MAX   24
 particles round the target
#define GROWTH_PARTICLE_OBJECT   284
 particle object
#define GROWTH_FALL_OBJECT   217
 falling object
#define GROWTH_FALL_LAST   4
 five falling objects, 0 to 4

Functions

void FieldFx_RunGrowthOnTarget (s32 unused)
 Particles round the target, which takes the sprite priority of the ground under it.
void FieldFx_RunGrowth (void)
 The particles, then five falling objects 4 to 10 pixels round the effect's position.
void BattleEffect_SpawnBurstParticleField (void)
 Sends 24 particles, one every 2 frames, from in front of the caster to points round the effect's position.

Detailed Description

Growth.

Part of psynergy_effects.c, compiled only through it.

Definition in file growth.c.

Macro Definition Documentation

◆ GROWTH_PARTICLE_MAX

#define GROWTH_PARTICLE_MAX   24

particles round the target

Definition at line 7 of file growth.c.

Referenced by BattleEffect_SpawnBurstParticleField().

◆ GROWTH_PARTICLE_OBJECT

#define GROWTH_PARTICLE_OBJECT   284

particle object

Definition at line 8 of file growth.c.

Referenced by BattleEffect_SpawnBurstParticleField().

◆ GROWTH_FALL_OBJECT

#define GROWTH_FALL_OBJECT   217

falling object

Definition at line 9 of file growth.c.

Referenced by FieldFx_RunGrowth().

◆ GROWTH_FALL_LAST

#define GROWTH_FALL_LAST   4

five falling objects, 0 to 4

Definition at line 10 of file growth.c.

Referenced by FieldFx_RunGrowth().

Function Documentation

◆ FieldFx_RunGrowthOnTarget()

void FieldFx_RunGrowthOnTarget ( s32 unused)

Particles round the target, which takes the sprite priority of the ground under it.

Abilities: Growth (field kind 12), cast on a target.

Definition at line 50 of file growth.c.

Referenced by BattleFx_DispatchRequestKind(), Djinn_ResolvePendingEvent(), and FieldFx_RunGrowthOnTarget().

◆ FieldFx_RunGrowth()

void FieldFx_RunGrowth ( void )

The particles, then five falling objects 4 to 10 pixels round the effect's position.

Abilities: Growth (field kind 12), cast with no target.

Definition at line 71 of file growth.c.

Referenced by BattleFx_Run(), Djinn_ResolvePendingEvent(), and FieldFx_RunGrowth().

◆ BattleEffect_SpawnBurstParticleField()

void BattleEffect_SpawnBurstParticleField ( void )

Sends 24 particles, one every 2 frames, from in front of the caster to points round the effect's position.

They start 10 pixels up facing south, 24 pixels up facing north, and 10 pixels up and 10 ahead otherwise.

Definition at line 107 of file growth.c.

Referenced by BattleEffect_SpawnBurstParticleField(), Djinn_ResolvePendingEvent(), FieldFx_RunGrowth(), and FieldFx_RunGrowthOnTarget().