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

Variables

EvtScript EVS_800936C0
 
EvtScript EVS_NpcHitRecoil
 
EvtScript D_800939A4
 
EvtScript D_800939B4
 

Variable Documentation

◆ D_800939A4

EvtScript D_800939A4
Initial value:
= {
}
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
Definition macros.h:225
#define Return
Kills the current EVT thread.
Definition macros.h:229

◆ D_800939B4

EvtScript D_800939B4
Initial value:
= {
IfEq(LVar0, 0)
Set(LVar0, 0)
Loop(30)
Call(func_8005DD54)
Add(LVar0, 30)
Wait(1)
Call(func_8005DDF0)
}
EvtScript D_800939A4
Definition 38F00.c:56
@ IMGFX_SET_COLOR
Definition enums.h:5123
@ NPC_SELF
Definition enums.h:2527
@ NPC_FLAG_FLYING
Definition enums.h:3002
@ NPC_FLAG_JUMPING
Definition enums.h:3010
@ NPC_FLAG_GRAVITY
Definition enums.h:3008
@ NPC_FLAG_IGNORE_CAMERA_FOR_YAW
Definition enums.h:3017
ApiStatus SetNpcImgFXParams(Evt *script, b32 isInitialCall)
ApiStatus SetNpcAnimation(Evt *script, b32 isInitialCall)
ApiStatus BindNpcAI(Evt *script, b32 isInitialCall)
ApiStatus SetNpcRotation(Evt *script, b32 isInitialCall)
ApiStatus SetSelfVar(Evt *script, b32 isInitialCall)
ApiStatus SetNpcFlagBits(Evt *script, b32 isInitialCall)
ApiStatus GetSelfVar(Evt *script, b32 isInitialCall)
#define Ref(sym)
Address/pointer constant.
Definition macros.h:56
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:377
#define Add(VAR, INT_VALUE)
Definition macros.h:388
#define EndLoop
Marks the end of a loop.
Definition macros.h:260
#define EndIf
Marks the end of an if statement or an else block.
Definition macros.h:310
#define LVar2
Definition macros.h:146
#define LVar1
Definition macros.h:145
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
Definition macros.h:266
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
Definition macros.h:281
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
Definition macros.h:588
#define Loop(TIMES)
Marks the beginning of a loop.
Definition macros.h:257
#define LVar0
Definition macros.h:144

◆ EVS_800936C0

EvtScript EVS_800936C0
Initial value:
= {
Call(func_8005DB00)
}

◆ EVS_NpcHitRecoil

EvtScript EVS_NpcHitRecoil