Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
kooper.h File Reference

Go to the source code of this file.

Functions

void world_kooper_init (Npc *)
 
s32 world_kooper_test_first_strike (Npc *, Npc *)
 
void world_kooper_pre_battle (Npc *)
 
void world_kooper_post_battle (Npc *)
 

Variables

EvtScript EVS_WorldKooper_TakeOut
 
EvtScript EVS_WorldKooper_Update
 
EvtScript EVS_WorldKooper_UseAbility
 
EvtScript EVS_WorldKooper_PutAway
 

Function Documentation

◆ world_kooper_init()

void world_kooper_init ( Npc * )

◆ world_kooper_test_first_strike()

s32 world_kooper_test_first_strike ( Npc * ,
Npc *  )

◆ world_kooper_pre_battle()

void world_kooper_pre_battle ( Npc * )

◆ world_kooper_post_battle()

void world_kooper_post_battle ( Npc * )

Variable Documentation

◆ EVS_WorldKooper_TakeOut

EvtScript EVS_WorldKooper_TakeOut
extern

Definition at line 93 of file kooper.c.

93 {
94 Call(N(TakeOut))
95 Return
96 End
97};
#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

◆ EVS_WorldKooper_Update

EvtScript EVS_WorldKooper_Update
extern

Definition at line 194 of file kooper.c.

194 {
195 Call(N(Update))
196 Return
197 End
198};

◆ EVS_WorldKooper_UseAbility

EvtScript EVS_WorldKooper_UseAbility
extern

Definition at line 647 of file kooper.c.

647 {
648 Call(N(UseAbility))
649 Return
650 End
651};

◆ EVS_WorldKooper_PutAway

EvtScript EVS_WorldKooper_PutAway
extern

Definition at line 663 of file kooper.c.

663 {
664 Call(N(PutAway))
665 Return
666 End
667};