3EvtScript N(EVS_NpcAuxAI_MontyMole_GroundAmbush) = {
14EvtScript N(EVS_NpcAuxAI_MontyMole_GroundAmbush_Hole) = {
29 .alertOffsetDist = 70.0f,
30 .playerSearchInterval = 2,
33 .chaseUpdateInterval = 25,
34 .chaseRadius = 120.0f,
35 .chaseOffsetDist = 70.0f,
39EvtScript N(EVS_NpcAI_MontyMole_GroundAmbush) = {
68 Call(BasicAI_Main,
Ref(N(AISettings_MontyMole_GroundAmbush)))
73NpcSettings N(NpcSettings_MontyMole_GroundAmbush) = {
76 .level = ACTOR_LEVEL_MONTY_MOLE,
77 .otherAI = &N(EVS_NpcAuxAI_MontyMole_GroundAmbush),
78 .ai = &N(EVS_NpcAI_MontyMole_GroundAmbush),
84NpcSettings N(NpcSettings_MontyMole_GroundAmbush_Hole) = {
87 .level = ACTOR_LEVEL_MONTY_MOLE,
88 .otherAI = &N(EVS_NpcAuxAI_MontyMole_GroundAmbush_Hole),
@ ENEMY_FLAG_BEGIN_WITH_CHASING
@ AI_ACTION_JUMP_WHEN_SEE_PLAYER
ApiStatus PlaySoundAtNpc(Evt *script, b32 isInitialCall)
ApiStatus EnableNpcShadow(Evt *script, b32 isInitialCall)
ApiStatus GetNpcPos(Evt *script, b32 isInitialCall)
ApiStatus SetNpcAnimation(Evt *script, b32 isInitialCall)
ApiStatus SetSelfEnemyFlagBits(Evt *script, b32 isInitialCall)
ApiStatus SetNpcPos(Evt *script, b32 isInitialCall)
ApiStatus NpcJump0(Evt *script, b32 isInitialCall)
ApiStatus NpcFacePlayer(Evt *script, b32 isInitialCall)
ApiStatus SetNpcJumpscale(Evt *script, b32 isInitialCall)
ApiStatus IsPlayerWithin(Evt *script, b32 isInitialCall)
ApiStatus GetSelfNpcID(Evt *script, b32 isInitialCall)
ApiStatus SetNpcFlagBits(Evt *script, b32 isInitialCall)
ApiStatus func_800445D4(Evt *script, b32 isInitialCall)
#define Ref(sym)
Address/pointer constant.
#define Sub(VAR, INT_VALUE)
#define IfNe(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR != RVAR.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define Goto(LABEL_ID)
Moves execution to the given label.
#define Label(LABEL_ID)
Marks this point in the script as a Goto target.
#define EndIf
Marks the end of an if statement or an else block.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define NPC_DISPOSE_LOCATION
#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 Return
Kills the current EVT thread.