PLAYER -> PLAYER_ACTOR

This commit is contained in:
Alex Bates 2021-02-04 14:26:24 +00:00
parent 68fe856234
commit ca7a0c3eac
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
#define STATIC_ASSERT(condition) enum { static_assert_fail = 1/(!!(condition)) } // Causes division by zero ("not integer constant") if false
#define BATTLE_STATUS (&gBattleStatus)
#define PLAYER (gBattleStatus.playerActor)
#define PLAYER_ACTOR (gBattleStatus.playerActor)
#define GAME_STATUS (*gGameStatusPtr)
#define PLAYER_STATUS (&gPlayerStatus)
#define UI_STATUS (&gUIStatus)

View File

@ -30,7 +30,7 @@ ApiStatus func_802A1000_72F720(ScriptInstance* script, s32 isInitialCall) {
sellValue = gItemTable[battleStatus->selectedItemID].sellValue;
posY = battleStatus->playerActor->currentPos.y + battleStatus->playerActor->size.y;
player = PLAYER;
player = PLAYER_ACTOR;
// If Refund is equipped, the player gets
if (heroes_is_ability_active(battleStatus->playerActor, Ability_REFUND)) {