Go to the source code of this file.
◆ _AI_TACKLE_STATES_INC_
#define _AI_TACKLE_STATES_INC_ 0 |
◆ set_script_owner_npc_anim()
Definition at line 10 of file States_TackleAI.inc.c.
10 {
13
17 script->AI_TEMP_STATE = 13;
18}
union Evt::@10 owner1
Initially -1.
@ ENEMY_ANIM_INDEX_MELEE_PRE
Npc * get_npc_unsafe(s32 npcID)
PlayerStatus * gPlayerStatusPtr
◆ UnkDistFunc()
Definition at line 20 of file States_TackleAI.inc.c.
20 {
23
28 if ((enemy->varTable[7] == 5) || (enemy->varTable[7] == 0) || (enemy->varTable[7] == 1)) {
30 }
33 if (npc->
duration < enemy->varTable[3]) {
35 }
37 script->functionTemp[0] = 14;
38 }
39 }
40}
@ ENEMY_ANIM_INDEX_MELEE_HIT
f32 dist2D(f32 ax, f32 ay, f32 bx, f32 by)
s16 turnAroundYawAdjustment
◆ UnkNpcAIFunc12()
Definition at line 42 of file States_TackleAI.inc.c.
42 {
45 s32 temp;
46 f32 f1;
47 f32 f2;
48 f32 f3;
49
50 if (npc->
duration == enemy->varTable[4] - 1) {
55 }
56
60
62 if (temp == 0) {
64 }
65
70 script->functionTemp[0] = 15;
71 }
72}
b32 npc_test_move_simple_with_slipping(s32, f32 *, f32 *, f32 *, f32, f32, f32, f32)
void npc_move_heading(Npc *npc, f32 speed, f32 yaw)
◆ set_script_owner_npc_col_height()
Definition at line 74 of file States_TackleAI.inc.c.
75 {
78
82 }
83
84 if (npc->
duration < enemy->varTable[5]) {
85 return;
86 }
87
89 script->functionTemp[0] = 0;
90}