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

Go to the source code of this file.

Functions

void world_watt_init (Npc *)
 
void world_watt_pre_battle (Npc *)
 
void world_watt_post_battle (Npc *)
 
void world_watt_sync_held_position (void)
 

Variables

EvtScript EVS_WorldWatt_TakeOut
 
EvtScript EVS_WorldWatt_Update
 
EvtScript EVS_WorldWatt_UseAbility
 
EvtScript EVS_WorldWatt_PutAway
 
EvtScript EVS_WorldWatt_EnterMap
 

Function Documentation

◆ world_watt_init()

void world_watt_init ( Npc * )

◆ world_watt_pre_battle()

void world_watt_pre_battle ( Npc * )

◆ world_watt_post_battle()

void world_watt_post_battle ( Npc * )

◆ world_watt_sync_held_position()

void world_watt_sync_held_position ( void )

Referenced by phys_update_standard().

Variable Documentation

◆ EVS_WorldWatt_TakeOut

EvtScript EVS_WorldWatt_TakeOut
extern

Definition at line 90 of file watt.c.

90 {
91 Call(N(TakeOut))
92 Return
93 End
94};
#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_WorldWatt_Update

EvtScript EVS_WorldWatt_Update
extern

Definition at line 208 of file watt.c.

208 {
209 Call(N(Update))
210 Return
211 End
212};

◆ EVS_WorldWatt_UseAbility

EvtScript EVS_WorldWatt_UseAbility
extern

Definition at line 433 of file watt.c.

433 {
434 Call(N(UseAbility))
435 Return
436 End
437};

◆ EVS_WorldWatt_PutAway

EvtScript EVS_WorldWatt_PutAway
extern

Definition at line 461 of file watt.c.

461 {
462 Call(N(PutAway))
463 Return
464 End
465};

◆ EVS_WorldWatt_EnterMap

EvtScript EVS_WorldWatt_EnterMap
extern

Definition at line 597 of file watt.c.

597 {
598 Call(N(EnterMap))
599 Return
600 End
601};