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