papermario
Decompilation of Paper Mario
Loading...
Searching...
No Matches
Macros
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
@ EVT_GROUP_EXIT_MAP
Definition
evt.h:145
GotoMap
ApiStatus GotoMap(Evt *script, bool isInitialCall)
Ref
#define Ref(sym)
Address/pointer constant.
Definition
macros.h:88
◆
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
@ TRIGGER_FLOOR_TOUCH
Definition
enums.h:2666
Set
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition
macros.h:409
LVar2
#define LVar2
Definition
macros.h:178
LVar1
#define LVar1
Definition
macros.h:177
LVar0
#define LVar0
Definition
macros.h:176
src
world
dead
area_flo
flo_11
main.c
Generated by
1.10.0