src/scene/shared/actor_animate.c
Included by staff_credit.c and world_map.c.
Functions
| Name | Description | |
|---|---|---|
void | scActorCycleColorSwaps (ACTOR *actor) | Steps an actor's sprite through the six colour swaps, SPRITE_COLOR_NORMAL to SPRITE_COLOR_BRG, one every two ticks: scActorAnimateAndEmit without its sparks. |
Functions in detail
scActorCycleColorSwaps
void scActorCycleColorSwaps(ACTOR *actor)
Steps an actor's sprite through the six colour swaps, SPRITE_COLOR_NORMAL to
SPRITE_COLOR_BRG, one every two ticks: scActorAnimateAndEmit without its
sparks. Nothing sets it as an update.
References fdActorSetSpriteColorMode() and TickCount.
Definition at line 4 of file actor_animate.c.