From 04ce8ec2132e5eba279c02d13ec794c743628218 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 6 Feb 2023 11:55:59 +0100 Subject: [PATCH] Fix Volt Absorb not activating on Thunderwave --- data/battle_scripts_1.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 9ff5838b1..833d01348 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -4139,6 +4139,7 @@ BattleScript_EffectParalyze: BattleScript_BattleScript_EffectParalyzeNoTypeCalc: jumpifmovehadnoeffect BattleScript_ButItFailed jumpifstatus BS_TARGET, STATUS1_PARALYSIS, BattleScript_AlreadyParalyzed + jumpifabsorbaffected BS_TARGET, BattleScript_VoltAbsorbHeal tryparalyzetype BS_ATTACKER, BS_TARGET, BattleScript_NotAffected jumpifstatus BS_TARGET, STATUS1_ANY, BattleScript_ButItFailed jumpifterrainaffected BS_TARGET, STATUS_FIELD_MISTY_TERRAIN, BattleScript_MistyTerrainPrevents @@ -4152,6 +4153,11 @@ BattleScript_BattleScript_EffectParalyzeNoTypeCalc: resultmessage waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd + +BattleScript_VoltAbsorbHeal: + copybyte gBattlerAbility, gBattlerTarget + tryhealquarterhealth BS_TARGET BattleScript_MonMadeMoveUseless @ Check if max hp + goto BattleScript_MoveHPDrain BattleScript_AlreadyParalyzed: setalreadystatusedmoveattempt BS_ATTACKER