mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 07:27:47 +01:00
Fix Brick Break
Should remove the target's screens, not the attacker's.
This commit is contained in:
parent
0f801b110b
commit
8118f3bb44
@ -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…
x
Reference in New Issue
Block a user