Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
IsPlayerPounding.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(
IsPlayerPounding
)) {
5
script
->varTable[0] =
FALSE
;
6
if
(
gPlayerStatus
.
actionState
==
ACTION_STATE_SPIN_POUND
||
gPlayerStatus
.
actionState
==
ACTION_STATE_TORNADO_POUND
) {
7
script
->varTable[0] =
TRUE
;
8
}
9
return
ApiStatus_DONE2
;
10
}
PopupMenu_SelectedIndex
BSS s32 PopupMenu_SelectedIndex
Definition
8a860_len_3f30.c:84
PlayerStatus::actionState
s8 actionState
Definition
common_structs.h:2021
ACTION_STATE_SPIN_POUND
@ ACTION_STATE_SPIN_POUND
Definition
enums.h:2442
ACTION_STATE_TORNADO_POUND
@ ACTION_STATE_TORNADO_POUND
Definition
enums.h:2444
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
npc.h
gPlayerStatus
PlayerStatus gPlayerStatus
Definition
77480.c:39
src
world
common
todo
IsPlayerPounding.inc.c
Generated by
1.10.0