From 3a202ea850e8d3babe5367540b0f7d18d79bb39e Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 11 Apr 2020 07:18:45 -0300 Subject: [PATCH] Made the opponent's self damage induced by the confusion status affect Assurance's power (#313) --- 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 3775461df4..3ffc8fc21b 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -5270,7 +5270,7 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef) basePower *= 2; break; case EFFECT_ASSURANCE: - if (gProtectStructs[battlerAtk].physicalDmg != 0 || gProtectStructs[battlerAtk].specialDmg != 0) + if (gProtectStructs[battlerAtk].physicalDmg != 0 || gProtectStructs[battlerAtk].specialDmg != 0 || gProtectStructs[battlerDef].confusionSelfDmg != 0) basePower *= 2; break; case EFFECT_TRUMP_CARD: