Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Toad_Patrol.inc.c
Go to the documentation of this file.
1
#include "
Toad_Collection.h
"
2
3
#include "
world/common/enemy/ai/PatrolNoAttackAI.inc.c
"
4
5
MobileAISettings
N(
AISettings_Toad_Patrol
) = {
6
.moveSpeed = 1.5f,
7
.moveTime = 30,
8
.waitTime = 30,
9
.playerSearchInterval = -1,
10
.unk_AI_2C = 1,
11
};
12
13
EvtScript
N(
EVS_NpcAI_Toad_Patrol
) = {
14
Call
(N(
PatrolNoAttackAI_Main
),
Ref
(N(
AISettings_Toad_Patrol
)))
15
Return
16
End
17
};
18
19
NpcSettings
N(
NpcSettings_Toad_Patrol
) = {
20
.height = 30,
21
.radius = 24,
22
.level =
ACTOR_LEVEL_NONE
,
23
.ai = &N(
EVS_NpcAI_Toad_Patrol
),
24
.actionFlags =
AI_ACTION_LOOK_AROUND_DURING_LOITER
,
25
};
26
27
NpcSettings
N(
NpcSettings_ToadKid_Patrol
) = {
28
.height = 23,
29
.radius = 19,
30
.level =
ACTOR_LEVEL_NONE
,
31
.ai = &N(
EVS_NpcAI_Toad_Patrol
),
32
.actionFlags =
AI_ACTION_LOOK_AROUND_DURING_LOITER
,
33
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
PatrolNoAttackAI.inc.c
Toad_Collection.h
EvtScript
Bytecode EvtScript[]
Definition
common_structs.h:14
AI_ACTION_LOOK_AROUND_DURING_LOITER
@ AI_ACTION_LOOK_AROUND_DURING_LOITER
Definition
enums.h:4615
MobileAISettings
Definition
npc.h:92
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_Patrol.inc.c
Generated by
1.10.0