Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
IsHammerMaxCharged.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(IsHammerMaxCharged)) {
5
script->varTable[0] = FALSE;
6
7
if
(
gBattleStatus
.
hammerCharge
>= 99) {
8
script->varTable[0] = TRUE;
9
}
10
11
return
ApiStatus_DONE2
;
12
}
13
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
npc.h
BattleStatus::hammerCharge
s8 hammerCharge
Definition
common_structs.h:901
gBattleStatus
BattleStatus gBattleStatus
Definition
battle.c:11
src
world
common
todo
IsHammerMaxCharged.inc.c
Generated by
1.10.0