Skip to Content
The Alchemy Project

src/scene/shared/actor_setup_scripted_for.c

Included by mars_lighthouse_entrance.c, mars_lighthouse_star_room.c and mars_lighthouse_towers.c.

Functions

NameDescription
voidscActorSetupScriptedFor (ACTOR *actor, Sint32 unused)Readies a flame thrower's spark (FLAME_SPARK): it stops, shadowless and tinted SPRITE_COLOR_RED_TINT, and breaks up (the dust cloud's animation 2) without spinning or growing until ScriptedPartScript releases it, half a second on.

Functions in detail

scActorSetupScriptedFor

void scActorSetupScriptedFor(ACTOR *actor, Sint32 unused)

Readies a flame thrower's spark (FLAME_SPARK): it stops, shadowless and tinted SPRITE_COLOR_RED_TINT, and breaks up (the dust cloud's animation 2) without spinning or growing until ScriptedPartScript releases it, half a second on.

References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scFieldActorSetSpriteColor(), ScriptedPartScript and Sint32.

Referenced by scFlameThrowerSendSpark().

Definition at line 5 of file actor_setup_scripted_for.c.