fix pollen puff heal blocked battler in CanTargetBattler
This commit is contained in:
parent
07579bd42b
commit
5456a87b83
1 changed files with 2 additions and 2 deletions
|
@ -10104,7 +10104,7 @@ bool32 CanTargetBattler(u8 battlerAtk, u8 battlerDef, u16 move)
|
|||
{
|
||||
if (gBattleMoves[move].effect == EFFECT_HIT_ENEMY_HEAL_ALLY
|
||||
&& GetBattlerSide(battlerAtk) == GetBattlerSide(battlerDef)
|
||||
&& gStatuses3[battlerDef] & STATUS3_HEAL_BLOCK)
|
||||
return FALSE;
|
||||
&& gStatuses3[battlerAtk] & STATUS3_HEAL_BLOCK)
|
||||
return FALSE; // Pokémon affected by Heal Block cannot target allies with Pollen Puff
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue