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
4API_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
#define ApiStatus_DONE2
Definition evt.h:118
BattleStatus gBattleStatus
Definition battle.c:11