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

Macros

#define EVT_DROP_STEP_1(x, y, z, delay, dist, modelID)
 
#define EVT_DROP_STEP_2(x, y, z, delay, dist, modelID)
 
#define EVT_DROP_STEP_N(x, y, z, delay, dist, modelID)
 
#define EVT_DROP_STEP_L(x, y, z, delay, dist, modelID)
 

Macro Definition Documentation

◆ EVT_DROP_STEP_1

#define EVT_DROP_STEP_1 ( x,
y,
z,
delay,
dist,
modelID )
Value:
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
ExecWait(N(EVS_Cam_FocusOnStairs)) \
Call(ShakeCam, CAM_DEFAULT, 0, 30, Float(3.0)) \
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
Set(LVarA, delay) \
Exec(N(EVS_PlayDropStepFX)) \
Set(LVar0, dist) \
Set(LVar1, 5 * DT) \
Set(LVar2, modelID) \
Exec(N(EVS_DropStep)) \
Wait(5)
@ CAM_DEFAULT
Definition enums.h:1800
#define DT
Definition macros.h:536
ApiStatus ShakeCam(Evt *script, b32 isInitialCall)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:377
#define Float(DOUBLE)
Definition macros.h:47
#define LVar2
Definition macros.h:146
#define LVar1
Definition macros.h:145
#define LVarA
Definition macros.h:154
#define LVar0
Definition macros.h:144

◆ EVT_DROP_STEP_2

#define EVT_DROP_STEP_2 ( x,
y,
z,
delay,
dist,
modelID )
Value:
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
Exec(N(EVS_Cam_FocusOnStairs)) \
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
Set(LVarA, delay) \
Exec(N(EVS_PlayDropStepFX)) \
Set(LVar0, dist) \
Set(LVar1, 5 * DT) \
Set(LVar2, modelID) \
Exec(N(EVS_DropStep)) \
Wait(5)

◆ EVT_DROP_STEP_L

#define EVT_DROP_STEP_L ( x,
y,
z,
delay,
dist,
modelID )
Value:
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
ExecWait(N(EVS_Cam_FocusOnStairs)) \
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
Set(LVarA, delay) \
Exec(N(EVS_PlayDropStepFX)) \
Set(LVar0, dist) \
Set(LVar1, 2 * DT) \
Set(LVar2, modelID) \
ExecWait(N(EVS_DropStep)) \

◆ EVT_DROP_STEP_N

#define EVT_DROP_STEP_N ( x,
y,
z,
delay,
dist,
modelID )
Value:
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
ExecWait(N(EVS_Cam_FocusOnStairs)) \
Set(LVar0, x) \
Set(LVar1, y) \
Set(LVar2, z) \
Set(LVarA, delay) \
Exec(N(EVS_PlayDropStepFX)) \
Set(LVar0, dist) \
Set(LVar1, 5 * DT) \
Set(LVar2, modelID) \
Exec(N(EVS_DropStep)) \
Wait(5)