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
@@ -492,7 +492,7 @@ static void AnimFistOrFootRandomPos(struct Sprite *sprite)
if (Random2() & 1)
y *= -1;
if ((gBattlerPositions[battler] & BIT_SIDE) == B_SIDE_PLAYER)
if (GET_BATTLER_SIDE2(battler) == B_SIDE_PLAYER)
y += 0xFFF0;
sprite->x += x;