Fix Poison Point
It incorrectly activated only if the Pokémon with Poison Point could be poisoned by the attacker.
This commit is contained in:
parent
a13ffdbfba
commit
3647825a30
1 changed files with 1 additions and 1 deletions
|
@ -5625,7 +5625,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
|||
&& gBattleMons[gBattlerAttacker].hp != 0
|
||||
&& !gProtectStructs[gBattlerAttacker].confusionSelfDmg
|
||||
&& TARGET_TURN_DAMAGED
|
||||
&& CanBePoisoned(gBattlerAttacker, gBattlerTarget)
|
||||
&& CanBePoisoned(gBattlerTarget, gBattlerAttacker)
|
||||
&& IsMoveMakingContact(move, gBattlerAttacker)
|
||||
&& (Random() % 3) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue