24 for (i = 0; i < 8; i++,
blurData++) {
30 newNpc->verticalRenderOffset = 3;
49 floorY = (
f32)
script->owner1.enemy->varTable[0];
58 for (i = 0; i < 8; i++,
blurData++) {
67 for (i = 0; i < 8; i++,
blurData++) {
119 for (i = 0; i < 8; i++,
blurData++) {
136 .alertRadius = 100.0f,
137 .playerSearchInterval = 10,
140 .chaseUpdateInterval = 10,
141 .chaseRadius = 500.0f,
BSS s32 PopupMenu_SelectedIndex
@ ENCOUNTER_TRIGGER_HAMMER
@ ENCOUNTER_TRIGGER_PARTNER
@ NPC_FLAG_IGNORE_ENTITY_COLLISION
@ NPC_FLAG_IGNORE_WORLD_COLLISION
@ NPC_FLAG_IGNORE_PLAYER_COLLISION
f32 dist3D(f32 ax, f32 ay, f32 az, f32 bx, f32 by, f32 bz)
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
void * heap_malloc(s32 size)
s32 create_basic_npc(NpcBlueprint *blueprint)
void disable_npc_shadow(Npc *npc)
Npc * get_npc_by_index(s32 listIndex)
Npc * get_npc_safe(s32 npcID)
ApiStatus SetBattleMusic(Evt *script, b32 isInitialCall)
ApiStatus SetNpcRotation(Evt *script, b32 isInitialCall)
ApiStatus GetSelfAnimationFromTable(Evt *script, b32 isInitialCall)
ApiStatus DoNpcDefeat(Evt *script, b32 isInitialCall)
ApiStatus GetOwnerEncounterTrigger(Evt *script, b32 isInitialCall)
ApiStatus func_800458CC(Evt *script, b32 isInitialCall)
ApiStatus GetBattleOutcome(Evt *script, b32 isInitialCall)
ApiStatus GetSelfVar(Evt *script, b32 isInitialCall)
#define Switch(LVAR)
Marks the start of a switch statement.
#define Ref(sym)
Address/pointer constant.
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#define CaseEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR. It also marks the end of any pre...
#define EndChildThread
Marks the end of a child thread block.
#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 EndCaseGroup
Marks the end of a switch case group (CaseOrEq and/or CaseAndEq), stopping fallthrough.
#define CaseOrEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR.
#define EndIf
Marks the end of an if statement or an else block.
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#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 EndSwitch
Marks the end of a switch statement and any case.
#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 ChildThread
Marks the start of a child thread block.
#define Loop(TIMES)
Marks the beginning of a loop.
#define Return
Kills the current EVT thread.
EvtScript EVS_NpcHitRecoil