26 (actor->
z.
part.pixel << 16) + -0x100000);
34 actor->
update = MercuryLighthouse_TrailSparks;
37 (void (*)(
union FieldObject *))MercuryLighthouse_TrailSparks;
44 sprite =
actor->sprite;
struct FieldActor * Object_GetById(s32 actor)
Returns an actor, or NULL if it does not exist.
The scene script layer: the engine services a scene's events call, declared once (Engine_EventBegin,...
void Engine_EventWaitForScreen(void)
static void Actor_WalkByAndWait(s32 actor, s32 dx, s32 dz)
void Engine_EventOpenScreen(void)
static void Actor_SetChildValue(s32 actor, s32 value)
static void Actor_SetSpeed(s32 actor, s32 speed, s32 acceleration)
static void Camera_MoveTo(s32 fixed_x, s32 fixed_y, s32 fixed_z, s32 pan)
static struct FieldActor * Actor_Get(s32 actor)
Field objects and actors, and the scene transition styles.
Game flags, named where their meaning is shown.
#define FLAG_KEEP_PARTY_POSITION
static void MercuryLighthouse_ArriveWithSparks(void)
Unless the party returns to where it was, the leader appears 16 pixels north of the entrance,...
void BattleFx_PlayQueuedSound(void)
Plays the sound BattleFx_SetQueuedSoundAndPlay remembered, if any.
Song and sound effect ids, indices into gSound_SongTable.
void Engine_ActorSetPosition(u32 actor, s32 x, s32 z)
void Engine_EventEnd(void)
void Engine_AudioPlayCue()
void Engine_EventBegin(void)
An animated sprite: its image and shadow, scale, rotation, size and up to four animation layers.
struct AnimationSpritePart image
u16 priority
2 when created
A field actor: a person or thing on the field with a position, motion toward a target,...
u8 motionFlags
ActorMotionFlag bits; zero is free flight in 3D, and 3 is set on creation.
union FieldCoordinate x
16.16 fixed-point pixels
union FieldCoordinate z
16.16 fixed-point pixels
void(*) update(union FieldObject *object)
Called each frame before the object's script, while the object is live.
The integer types, TRUE, UNUSED and the fixed-address macros.
struct FieldCoordinate::@024321007066302143002254325121164243234242211074 part
An object on the field, read as an actor or as an effect.