Skip to Content
The Alchemy Project

src/scene/shared/field_effect_advance_motion_priority.c

A field effect's motion each tick, drawn at the leader's priority.

Included by dehkan_plateau.c, gaia_rock_inside.c, izumo_ruins.c, magma_rock.c, magma_rock_inside.c, trial_road.c, tundaria_tower.c and yampi_desert.c.

Functions

NameDescription
voidscEffectAdvanceMotionAtLeaderPriority (FIELD_OBJECT *object)fdEffectAdvanceMotion, then gives the effect's sprite the leader's sprite priority, so the effect is drawn at the leader's depth.

Description

A field effect's motion each tick, drawn at the leader's priority.

Functions in detail

scEffectAdvanceMotionAtLeaderPriority

void scEffectAdvanceMotionAtLeaderPriority(FIELD_OBJECT *object)

fdEffectAdvanceMotion, then gives the effect's sprite the leader's sprite priority, so the effect is drawn at the leader's depth.

References fdActorGetById(), MainRoutineStateWork and Sint32.

Referenced by scDustBurst(), scDustScatter(), scGaiaRockInsideCaskBursts(), scMagmaRockInsideSpawnDustRing(), scMagmaRockSpawnDustRing(), scTrialRoadDriftWithStream(), scYampiDesertBurstSand() and scYampiDesertCarryLeader().

Definition at line 9 of file field_effect_advance_motion_priority.c.