Merge pull request #1933 from BuffelSaft/brick-break

Fix Brick Break
This commit is contained in:
ghoulslash 2021-11-21 22:30:38 -05:00 committed by GitHub
commit 3ac480076c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13120,7 +13120,8 @@ static void Cmd_removelightscreenreflect(void) // brick break
bool32 failed;
#if B_BRICK_BREAK >= GEN_4
side = GetBattlerSide(gBattlerAttacker);
// From Gen 4 onwards, Brick Break can remove screens on the user's side if used on an ally
side = GetBattlerSide(gBattlerTarget);
#else
side = GetBattlerSide(gBattlerAttacker) ^ BIT_SIDE;
#endif