Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Kammy_Guard.inc.c
Go to the documentation of this file.
1
#include "
Kammy.h
"
2
3
// odd enemy template used in kmr_02 for flying kammy
4
5
#include "
world/common/enemy/ai/GuardAI.inc.c
"
6
7
GuardAISettings
N(
AISettings_Kammy_Guard
) = {
8
.playerSearchInterval = -1,
9
.chaseRadius = 300.0f,
10
.unk_AI_20 = 30,
11
};
12
13
EvtScript
N(
EVS_NpcAI_Kammy_Guard
) = {
14
Call
(N(
GuardAI_Main
),
Ref
(N(
AISettings_Kammy_Guard
)))
15
Return
16
End
17
};
18
19
NpcSettings
N(
NpcSettings_Kammy_Guard
) = {
20
.height = 40,
21
.radius = 30,
22
.level =
ACTOR_LEVEL_MAGIKOOPA
,
23
.ai = &N(
EVS_NpcAI_Kammy_Guard
),
24
.onHit = &
EnemyNpcHit
,
25
.onDefeat = &
EnemyNpcDefeat
,
26
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
GuardAI.inc.c
Kammy.h
EvtScript
Bytecode EvtScript[]
Definition
common_structs.h:14
GuardAISettings
Definition
npc.h:107
NpcSettings
Definition
npc.h:143
EnemyNpcDefeat
EvtScript EnemyNpcDefeat
Definition
encounter.c:158
EnemyNpcHit
EvtScript EnemyNpcHit
Definition
encounter.c:131
Ref
#define Ref(sym)
Address/pointer constant.
Definition
macros.h:60
End
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition
macros.h:213
Call
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition
macros.h:576
Return
#define Return
Kills the current EVT thread.
Definition
macros.h:217
src
world
common
enemy
Kammy_Guard.inc.c
Generated by
1.10.0