From 2bf72fc51eb526319353d046c6bbef871c615f72 Mon Sep 17 00:00:00 2001 From: BuffelSaft Date: Sat, 13 Nov 2021 15:29:24 +1300 Subject: [PATCH] Double Struggle damage for PB Not sure if this should hit twice. If not, this works. --- src/battle_script_commands.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index dad910d5e..789c95bb0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1142,7 +1142,6 @@ static const u16 sFinalStrikeOnlyEffects[] = EFFECT_THIEF, EFFECT_BURN_UP, EFFECT_SECRET_POWER, - EFFECT_HIT_SWITCH_TARGET, EFFECT_SMACK_DOWN, EFFECT_SPARKLING_ARIA, EFFECT_SMELLINGSALT, @@ -3274,6 +3273,8 @@ void SetMoveEffect(bool32 primary, u32 certain) gBattleMoveDamage = (gBattleMons[gEffectBattler].maxHP) / 4; if (gBattleMoveDamage == 0) gBattleMoveDamage = 1; + if (GetBattlerAbility(gEffectBattler) == ABILITY_PARENTAL_BOND) + gBattleMoveDamage *= 2; BattleScriptPush(gBattlescriptCurrInstr + 1); gBattlescriptCurrInstr = BattleScript_MoveEffectRecoil;