Skip to content

Commit

Permalink
Fixes Trainer Slide messages causing corruption for recoil damage (#5926
Browse files Browse the repository at this point in the history
)
  • Loading branch information
AlexOn1ine authored Jan 1, 2025
1 parent b7e945f commit 875f0f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/battle_script_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 875f0f7

Please sign in to comment.