Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
Bobomb_Wander.inc.c
Go to the documentation of this file.
1#include "common.h"
2#include "Bobomb.h"
3
5 .moveSpeed = 1.5f,
6 .moveTime = 60,
7 .waitTime = 10,
8 .alertRadius = 110.0f,
9 .alertOffsetDist = 65.0f,
10 .playerSearchInterval = 8,
11 .chaseSpeed = 3.4f,
12 .chaseTurnRate = 120,
13 .chaseUpdateInterval = 2,
14 .chaseRadius = 110.0f,
15 .chaseOffsetDist = 65.0f,
16 .unk_AI_2C = 1,
17};
18
21 Return
22 End
23};
24
26 .height = 23,
27 .radius = 20,
28 .level = ACTOR_LEVEL_BOB_OMB,
30 .onHit = &EnemyNpcHit,
31 .onDefeat = &EnemyNpcDefeat,
32};
BSS s32 PopupMenu_SelectedIndex
Bytecode EvtScript[]
EvtScript EnemyNpcDefeat
Definition encounter.c:158
EvtScript EnemyNpcHit
Definition encounter.c:131
#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