Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Koopa_Wander.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "Koopa.h"
3
4MobileAISettings N(AISettings_Koopa_Wander) = {
5 .moveSpeed = 1.5f,
6 .moveTime = 60,
7 .waitTime = 30,
8 .playerSearchInterval = -1,
9 .unk_AI_2C = 1,
10};
11
12EvtScript N(EVS_NpcAI_Koopa_Wander) = {
13 Call(BasicAI_Main, Ref(N(AISettings_Koopa_Wander)))
14 Return
15 End
16};
17
18NpcSettings N(NpcSettings_Koopa_Wander) = {
19 .height = 35,
20 .radius = 24,
21 .level = ACTOR_LEVEL_NONE,
22 .ai = &N(EVS_NpcAI_Koopa_Wander),
24};
25
26NpcSettings N(NpcSettings_TallKoopa_Wander) = {
27 .height = 42,
28 .radius = 24,
29 .ai = &N(EVS_NpcAI_Koopa_Wander),
30 .level = ACTOR_LEVEL_NONE,
31};
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