7 Enemy* enemy = script->owner1.enemy;
13 script->functionTemp[0] = 0xF;
17 Enemy* enemy = script->owner1.enemy;
31 script->functionTemp[0] = 16;
36 Enemy* enemy = script->owner1.enemy;
47 script->functionTemp[0] = 17;
52 Enemy* enemy = script->owner1.enemy;
58 script->functionTemp[0] = 0;
62API_CALLABLE(N(ShyGuyPatrolAI_Main)) {
63 Enemy* enemy = script->owner1.enemy;
84 script->functionTemp[0] = 0;
88 npc->
flags &= ~NPC_FLAG_JUMPING;
91 npc->
flags &= ~NPC_FLAG_FLYING;
93 npc->
flags &= ~NPC_FLAG_GRAVITY;
98 script->functionTemp[0] = 99;
99 script->functionTemp[1] = 0;
100 enemy->
aiFlags &= ~AI_FLAG_SUSPEND;
102 script->functionTemp[0] = 12;
103 enemy->
flags &= ~ENEMY_FLAG_BEGIN_WITH_CHASING;
115 switch (script->functionTemp[0]) {
145 if (script->functionTemp[0] != 0xF) {
150 if (script->functionTemp[0] != 0x10) {
155 if (script->functionTemp[0] != 0x11) {
void N ShyGuyPatrolAI_15(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N ShyGuyPatrolAI_16(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
void N ShyGuyPatrolAI_14(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territoryPtr)
void N ShyGuyPatrolAI_17(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
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)
#define npc_raycast_down_sides
@ ENEMY_FLAG_BEGIN_WITH_CHASING
s32 evt_get_variable(Evt *script, Bytecode var)
void PatrolAI_LoiterInit(Evt *script, MobileAISettings *aiSettings, EnemyDetectVolume *territory)
s32 ai_check_fwd_collisions(Npc *npc, f32 arg1, f32 *arg2, f32 *arg3, f32 *arg4, f32 *arg5)
void basic_ai_suspend(Evt *script)
enum TerritoryShape shape
Npc * get_npc_unsafe(s32 npcID)
EnemyTerritoryPatrol patrol
void npc_move_heading(Npc *npc, f32 speed, f32 yaw)
s32 skipPlayerDetectChance
enum TerritoryShape detectShape
EnemyTerritory * territory