Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
goombaria.c File Reference

Go to the source code of this file.

Functions

void N init (Npc *goombaria)
 

Variables

EvtScript EVS_WorldGoombaria_TakeOut
 
EvtScript EVS_WorldGoombaria_Update
 
EvtScript EVS_WorldGoombaria_UseAbility
 
EvtScript EVS_WorldGoombaria_PutAway
 

Function Documentation

◆ init()

void N init ( Npc * goombaria)

Definition at line 7 of file goombaria.c.

7 {
8 goombaria->collisionHeight = 24;
9 goombaria->collisionDiameter = 20;
10}
s16 collisionDiameter
s16 collisionHeight

Variable Documentation

◆ EVS_WorldGoombaria_TakeOut

EvtScript EVS_WorldGoombaria_TakeOut
Initial value:
= {
Call(N(TakeOut))
}
#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

Definition at line 51 of file goombaria.c.

51 {
52 Call(N(TakeOut))
53 Return
54 End
55};

◆ EVS_WorldGoombaria_Update

EvtScript EVS_WorldGoombaria_Update
Initial value:
= {
Call(N(Update))
}

Definition at line 57 of file goombaria.c.

57 {
58 Call(N(Update))
59 Return
60 End
61};

◆ EVS_WorldGoombaria_UseAbility

EvtScript EVS_WorldGoombaria_UseAbility
Initial value:
= {
Call(N(UseAbility))
}

Definition at line 63 of file goombaria.c.

63 {
64 Call(N(UseAbility))
65 Return
66 End
67};

◆ EVS_WorldGoombaria_PutAway

EvtScript EVS_WorldGoombaria_PutAway
Initial value:
= {
Call(N(PutAway))
}

Definition at line 69 of file goombaria.c.

69 {
70 Call(N(PutAway))
71 Return
72 End
73};