Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
GetFloorCollider.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(GetFloorCollider)) {
5
Bytecode
* args = script->ptrReadPos;
6
s32 outVar = *args++;
7
8
evt_set_variable
(script, outVar,
gCollisionStatus
.
curFloor
);
9
return
ApiStatus_DONE2
;
10
}
CollisionStatus::curFloor
s16 curFloor
Definition
common_structs.h:1621
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
Bytecode
s32 Bytecode
Definition
evt.h:7
evt_set_variable
s32 evt_set_variable(Evt *script, Bytecode var, s32 value)
Definition
evt.c:1847
npc.h
gCollisionStatus
CollisionStatus gCollisionStatus
Definition
7BB60.c:6
src
world
common
todo
GetFloorCollider.inc.c
Generated by
1.10.0