From 3647825a3087de3c1575d5793330c11907af3cb4 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Thu, 12 Jan 2023 21:22:59 +0000 Subject: [PATCH] Fix Poison Point MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It incorrectly activated only if the Pokémon with Poison Point could be poisoned by the attacker. --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index eff2faf872..b9ec515801 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -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) {