Fix Brick Break
Should remove the target's screens, not the attacker's.
This commit is contained in:
parent
0f801b110b
commit
8118f3bb44
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue