Using GET_BATTLER_SIDE and GET_BATTLER_SIDE2

This commit is contained in:
Eduardo Quezada
2022-09-03 00:28:32 -04:00
parent ff53a553bc
commit 790bdd69f8
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ static void HandleInputChooseMove(void)
if (moveTarget & MOVE_TARGET_USER)
gMultiUsePlayerCursor = gActiveBattler;
else
gMultiUsePlayerCursor = GetBattlerAtPosition(BATTLE_OPPOSITE(GetBattlerPosition(gActiveBattler) & BIT_SIDE));
gMultiUsePlayerCursor = GetBattlerAtPosition(BATTLE_OPPOSITE(GET_BATTLER_SIDE(gActiveBattler)));
if (!gBattleBufferA[gActiveBattler][1]) // not a double battle
{