Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
GetSelectedMoveID.inc.c
Go to the documentation of this file.
1
#include "common.h"
2
#include "
npc.h
"
3
4
API_CALLABLE(N(GetSelectedMoveID)) {
5
evt_set_variable
(script, *script->ptrReadPos,
gBattleStatus
.
selectedMoveID
);
6
return
ApiStatus_DONE2
;
7
}
ApiStatus_DONE2
#define ApiStatus_DONE2
Definition
evt.h:118
evt_set_variable
s32 evt_set_variable(Evt *script, Bytecode var, s32 value)
Definition
evt.c:1847
npc.h
BattleStatus::selectedMoveID
s16 selectedMoveID
Definition
common_structs.h:940
gBattleStatus
BattleStatus gBattleStatus
Definition
battle.c:11
src
common
GetSelectedMoveID.inc.c
Generated by
1.10.0