Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Toad_Guard.inc.c
Go to the documentation of this file.
1
#include "
Toad_Collection.h
"
2
3
#include "
world/common/enemy/ai/GuardAI.inc.c
"
4
5
GuardAISettings
N(
AISettings_Toad_Guard
) = {
6
.playerSearchInterval = -1,
7
.chaseRadius = 300.0f,
8
.unk_AI_20 = 30,
9
};
10
11
EvtScript
N(
EVS_NpcAI_Toad_Guard
) = {
12
Call
(N(
GuardAI_Main
),
Ref
(N(
AISettings_Toad_Guard
)))
13
Return
14
End
15
};
16
17
NpcSettings
N(
NpcSettings_Toad_Guard
) = {
18
.height = 30,
19
.radius = 24,
20
.level =
ACTOR_LEVEL_NONE
,
21
.ai = &N(
EVS_NpcAI_Toad_Guard
),
22
};
23
24
NpcSettings
N(
NpcSettings_ToadKid_Guard
) = {
25
.height = 23,
26
.radius = 19,
27
.level =
ACTOR_LEVEL_NONE
,
28
.ai = &N(
EVS_NpcAI_Toad_Guard
),
29
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
GuardAI.inc.c
Toad_Collection.h
EvtScript
Bytecode EvtScript[]
Definition
common_structs.h:14
GuardAISettings
Definition
npc.h:107
NpcSettings
Definition
npc.h:143
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
npc
Toad_Guard.inc.c
Generated by
1.10.0