22 params.
update = Effect_AdvanceMotion;
23 for (i = 0; i <= 16; i += 2) {
struct FieldActor * Object_GetById(s32 actor)
Returns an actor, or NULL if it does not exist.
static void SceneEffect_SpawnNineRadialEffects(s32 actor)
Burst nine particles out from the actor in a ring (the ninth on the first), flung a third further eas...
Field effects, their scripts and the flags that spawn them.
@ EFFECT_USE_PALETTE
options.palette, as its group child value
@ EFFECT_USE_UPDATE
options.update
@ EFFECT_USE_PRIORITY
options.priority, as the sprite's priority
s32 Engine_MathSin(s32 angle)
static s32 Math_Divide(s32 dividend, s32 divisor)
s32 Engine_MathCos(s32 angle)
Field objects and actors, and the scene transition styles.
The options of a spawned field effect, each used when its EFFECT_USE_ flag (or EFFECT_SCALE_TO_TARGET...
s32 palette
passed to ObjectGroup_SetChildValue
s32 priority
the sprite's priority
void(*) update(union FieldObject *object)
replaces the update hook
A field actor: a person or thing on the field with a position, motion toward a target,...
union FieldCoordinate x
16.16 fixed-point pixels
union FieldCoordinate y
16.16 fixed-point pixels
union FieldCoordinate z
16.16 fixed-point pixels
Position record used by the shared radial-effect source below.
The integer types, TRUE, UNUSED and the fixed-address macros.
s32 fixed
16.16 fixed-point pixels