Corrected uses of GetBattlerSide

This commit is contained in:
Eduardo Quezada
2022-08-27 00:59:12 -04:00
parent 0a34d47041
commit 6c457f42af
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -926,7 +926,7 @@ static void CreateEruptionLaunchRocks(u8 spriteId, u8 taskId, u8 activeSpritesId
u16 y = GetEruptionLaunchRockInitialYPos(spriteId);
u16 x = gSprites[spriteId].x;
if(!GetBattlerSide(gBattleAnimAttacker))
if(GetBattlerSide(gBattleAnimAttacker) == B_SIDE_PLAYER)
{
x -= 12;
sign = 1;