gPlayerNpc to gPlayerNpcPtr & small formatting fix

This commit is contained in:
Jdog 2020-08-23 18:38:50 -07:00
parent c140901612
commit 86a51e3f69
2 changed files with 2 additions and 1 deletions

View File

@ -205,6 +205,7 @@ ApiStatus GetPlayerPos(ScriptInstance* script, s32 isInitialCall) {
ApiStatus GetPlayerAnimation(ScriptInstance* script, s32 isInitialCall) { ApiStatus GetPlayerAnimation(ScriptInstance* script, s32 isInitialCall) {
Bytecode outVar = *script->ptrReadPos; Bytecode outVar = *script->ptrReadPos;
set_variable(script, outVar, gPlayerAnimation); set_variable(script, outVar, gPlayerAnimation);
return ApiStatus_DONE2; return ApiStatus_DONE2;
} }

View File

@ -9,7 +9,7 @@ gWorldScriptList = 0x802DA490;
gBattleScriptList = 0x802DA690; gBattleScriptList = 0x802DA690;
gCurrentScriptListPtr = 0x802DA890; gCurrentScriptListPtr = 0x802DA890;
gGlobalTimeSpace = 0x802D9CA8; gGlobalTimeSpace = 0x802D9CA8;
gPlayerNpc = 0x802D9D20; gPlayerNpcPtr = 0x802D9D20;
D_80147574 = 0x80147574; D_80147574 = 0x80147574;
gMapTransitionAlpha = 0x800A0940; gMapTransitionAlpha = 0x800A0940;