Alchemy
Loading...
Searching...
No Matches

object_orbit.h File Reference

Go to the source code of this file.

Functions

static s32 SceneEffect_UpdateOrbitPosition (s32 *p)
 The Nut's callback, each frame: it sways up to two pixels either side of its spot and dips up to two pixels below it, at a random pace.
void Scene_FloatNut (s32 id)
 Draws actor id as the Nut's icon and starts it floating, 32 pixels up unless the party returns to where it was.

Function Documentation

◆ SceneEffect_UpdateOrbitPosition()

s32 SceneEffect_UpdateOrbitPosition ( s32 * p)
static

The Nut's callback, each frame: it sways up to two pixels either side of its spot and dips up to two pixels below it, at a random pace.

Definition at line 10 of file object_orbit.h.

Referenced by Scene_FloatNut(), and SceneEffect_UpdateOrbitPosition().

◆ Scene_FloatNut()

void Scene_FloatNut ( s32 id)

Draws actor id as the Nut's icon and starts it floating, 32 pixels up unless the party returns to where it was.

Definition at line 27 of file object_orbit.h.

Referenced by Garden_ApplyProgress(), Kalay_PrepareCave(), KolimaForestClearing_Initialize(), MogallForest_Initialize(), Scene_FloatNut(), Scene_Initialize(), and Vale_Initialize().