8API_CALLABLE(N(ClubbaPatrolAI_Main)) {
9 Enemy* enemy = script->owner1.enemy;
29 npc->
flags &= ~NPC_FLAG_JUMPING;
32 npc->
flags &= ~NPC_FLAG_FLYING;
34 npc->
flags &= ~NPC_FLAG_GRAVITY;
40 enemy->
aiFlags &= ~AI_FLAG_SUSPEND;
42 enemy->varTable[0] = 0;
49 switch (script->AI_TEMP_STATE) {
void N MeleeHitbox_31(Evt *script)
void N MeleeHitbox_32(Evt *script)
s32 N MeleeHitbox_CanSeePlayer(Evt *script)
void N MeleeHitbox_33(Evt *script)
void N MeleeHitbox_30(Evt *script)
void N PatrolAI_MoveInit(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_PostLoiter(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_Loiter(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_Jump(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_JumpInit(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_ChaseInit(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_Chase(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_Move(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N PatrolAI_LosePlayer(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
@ AI_STATE_MELEE_HITBOX_INIT
@ AI_STATE_MELEE_HITBOX_ACTIVE
@ AI_STATE_MELEE_HITBOX_MISS
@ AI_STATE_MELEE_HITBOX_PRE
s32 evt_get_variable(Evt *script, Bytecode var)
void PatrolAI_LoiterInit(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void basic_ai_suspend(Evt *script)
enum TerritoryShape shape
Npc * get_npc_unsafe(s32 npcID)
EnemyTerritoryPatrol patrol
s32 skipPlayerDetectChance
enum TerritoryShape detectShape
EnemyTerritory * territory