From 875f0f7436773ee7ef0690a661f522ffda562848 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 1 Jan 2025 21:46:42 +0100 Subject: [PATCH] Fixes Trainer Slide messages causing corruption for recoil damage (#5926) --- src/battle_script_commands.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 82d941bbda..2f31b230ae 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -10369,6 +10369,7 @@ static void Cmd_various(void) { gBattlerSpriteIds[BATTLE_PARTNER(battler)] = gBattleScripting.savedDmg >> 8; gBattlerSpriteIds[battler] = gBattleScripting.savedDmg & 0xFF; + gBattleScripting.savedDmg = 0; if (IsBattlerAlive(battler)) { SetBattlerShadowSpriteCallback(battler, gBattleMons[battler].species);