Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
Penguin_Wander.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
Penguin.h
"
3
4
MobileAISettings
N(
AISettings_Penguin_Wander
) = {
5
.moveSpeed = 1.5f,
6
.moveTime = 60,
7
.waitTime = 30,
8
.playerSearchInterval = -1,
9
.unk_AI_2C = 1,
10
};
11
12
EvtScript
N(
EVS_NpcAI_Penguin_Wander
) = {
13
Call
(
BasicAI_Main
,
Ref
(N(
AISettings_Penguin_Wander
)))
14
Return
15
End
16
};
17
18
NpcSettings
N(
NpcSettings_Penguin_Wander
) = {
19
.height = 24,
20
.radius = 24,
21
.level =
ACTOR_LEVEL_NONE
,
22
.ai = &N(
EVS_NpcAI_Penguin_Wander
),
23
};
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
Penguin.h
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
Penguin_Wander.inc.c
Generated by
1.10.0