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