Alchemy
Loading...
Searching...
No Matches

object_depth.h File Reference

Go to the source code of this file.

Functions

static s32 SceneActor_SetFlagBitByRelativeDepth (union FieldObject *fieldObject)
static void SceneActor_SwapPositionsByDepth (s32 first, s32 second)
 Unless actor first is south of actor second, swaps their positions and waits a frame.

Function Documentation

◆ SceneActor_SetFlagBitByRelativeDepth()

s32 SceneActor_SetFlagBitByRelativeDepth ( union FieldObject * fieldObject)
static

Definition at line 19 of file object_depth.h.

Referenced by Scene_RunEntrySetup(), and SceneActor_SetFlagBitByRelativeDepth().

◆ SceneActor_SwapPositionsByDepth()

void SceneActor_SwapPositionsByDepth ( s32 first,
s32 second )
static

Unless actor first is south of actor second, swaps their positions and waits a frame.

Definition at line 49 of file object_depth.h.

Referenced by Event_MoveDepthBlock(), SceneActor_SwapPositionsByDepth(), TunnelRuins_UpdateFirstPillarCells(), and TunnelRuins_UpdateSecondPillarCells().