2#include "sprite/player.h"
15 Call(PlayerRunToGoal, 0)
26 Call(N(GiveRefundCleanup))
49 Call(SetBattleCamTarget, -85, 1, 0)
50 Call(SetBattleCamOffsetY, 41)
51 Call(SetBattleCamDist, 248)
52 Call(MoveBattleCamOver, 30)
62 Call(N(GiveRefundCleanup))
73 Call(PlayerRunToGoal, 0)
@ ITEM_SPAWN_MODE_DECORATION
ApiStatus RemoveItemEntity(Evt *script, b32 isInitialCall)
ApiStatus MakeItemEntity(Evt *script, b32 isInitialCall)
#define Else
Marks the end of an if statement and the start of the else block.
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define EndLoop
Marks the end of a loop.
#define EndIf
Marks the end of an if statement or an else block.
#define Thread
Marks the start of a thread block.
#define EndThread
Marks the end of a thread block.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define PlayEffect(args...)
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Loop(TIMES)
Marks the beginning of a loop.
#define Return
Kills the current EVT thread.