mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
PLAYER -> PLAYER_ACTOR
This commit is contained in:
parent
68fe856234
commit
ca7a0c3eac
@ -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)
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user