Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
GetJumpHammerCharge.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
3
API_CALLABLE(N(GetJumpHammerCharge)) {
4
Bytecode
* args = script->ptrReadPos;
5
6
evt_set_variable
(script, *args++,
gBattleStatus
.
jumpCharge
);
7
evt_set_variable
(script, *args++,
gBattleStatus
.
hammerCharge
);
8
9
return
ApiStatus_DONE2
;
10
}
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
BattleStatus::jumpCharge
s8 jumpCharge
Definition
common_structs.h:902
BattleStatus::hammerCharge
s8 hammerCharge
Definition
common_structs.h:901
gBattleStatus
BattleStatus gBattleStatus
Definition
battle.c:11
src
common
GetJumpHammerCharge.inc.c
Generated by
1.10.0