Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
KoopaWithoutShell_Patrol.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "KoopaWithoutShell.h"
3
5
6MobileAISettings N(AISettings_KoopaWithoutShell_Patrol) = {
7 .moveSpeed = 1.5f,
8 .moveTime = 30,
9 .waitTime = 30,
10 .playerSearchInterval = -1,
11 .unk_AI_2C = 1,
12};
13
14EvtScript N(EVS_NpcAI_KoopaWithoutShell_Patrol) = {
15 Call(N(PatrolNoAttackAI_Main), Ref(N(AISettings_KoopaWithoutShell_Patrol)))
16 Return
17 End
18};
19
20NpcSettings N(NpcSettings_KoopaWithoutShell_Patrol) = {
21 .height = 35,
22 .radius = 24,
23 .level = ACTOR_LEVEL_NONE,
24 .ai = &N(EVS_NpcAI_KoopaWithoutShell_Patrol),
26};
27
28NpcSettings N(missing_80246F94_6F94) = {
29 .height = 42,
30 .radius = 24,
31 .level = ACTOR_LEVEL_NONE,
32 .ai = &N(EVS_NpcAI_KoopaWithoutShell_Patrol),
33};
Bytecode EvtScript[]
@ AI_ACTION_LOOK_AROUND_DURING_LOITER
Definition enums.h:4616
#define Ref(sym)
Address/pointer constant.
Definition macros.h:60
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition macros.h:213
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:576
#define Return
Kills the current EVT thread.
Definition macros.h:217