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
|
&& gBattleMons[gBattlerAttacker].hp != 0
|
||||||
&& !gProtectStructs[gBattlerAttacker].confusionSelfDmg
|
&& !gProtectStructs[gBattlerAttacker].confusionSelfDmg
|
||||||
&& TARGET_TURN_DAMAGED
|
&& TARGET_TURN_DAMAGED
|
||||||
&& CanBePoisoned(gBattlerAttacker, gBattlerTarget)
|
&& CanBePoisoned(gBattlerTarget, gBattlerAttacker)
|
||||||
&& IsMoveMakingContact(move, gBattlerAttacker)
|
&& IsMoveMakingContact(move, gBattlerAttacker)
|
||||||
&& (Random() % 3) == 0)
|
&& (Random() % 3) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue