Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Dryite_Wander.inc.c
Go to the documentation of this file.
1#include "Dryite.h"
2
3MobileAISettings N(AISettings_Dryite_Wander) = {
4 .moveSpeed = 1.5f,
5 .moveTime = 60,
6 .waitTime = 30,
7 .playerSearchInterval = -1,
8 .unk_AI_2C = 1,
9};
10
11EvtScript N(EVS_NpcAI_Dryite_Wander) = {
12 Call(BasicAI_Main, Ref(N(AISettings_Dryite_Wander)))
13 Return
14 End
15};
16
17NpcSettings N(NpcSettings_Dryite_Wander) = {
18 .height = 26,
19 .radius = 23,
20 .ai = &N(EVS_NpcAI_Dryite_Wander),
21 .level = ACTOR_LEVEL_NONE,
22 .actionFlags = 16,
23};
Bytecode EvtScript[]
#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