papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
main.c File Reference

Macros

#define Goto_MAP(mapName, entry)
 
#define SetUP_PIPE(entry, collider, exitScript)
 

Macro Definition Documentation

◆ Goto_MAP

#define Goto_MAP ( mapName,
entry )
Value:
{ \
SetGroup(EVT_GROUP_EXIT_MAP) \
Call(GotoMap, Ref(mapName), entry) \
Wait(100) \
Return \
End \
}
@ EVT_GROUP_EXIT_MAP
Definition evt.h:145
ApiStatus GotoMap(Evt *script, b32 isInitialCall)
#define Ref(sym)
Address/pointer constant.
Definition macros.h:56

◆ SetUP_PIPE

#define SetUP_PIPE ( entry,
collider,
exitScript )
Value:
Set(LVar0, entry) \
Set(LVar1, collider) \
Set(LVar2, Ref(exitScript)) \
BindTrigger(Ref(N(EVS_OnEnterPipe)), TRIGGER_FLOOR_TOUCH, LVar1, 1, 0)
@ TRIGGER_FLOOR_TOUCH
Definition enums.h:2678
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:377
#define LVar2
Definition macros.h:146
#define LVar1
Definition macros.h:145
#define LVar0
Definition macros.h:144