Skip to content

Commit

Permalink
Fixes Misty Terrain displaying wrong message (#5742)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Nov 30, 2024
1 parent cc05187 commit 51fbc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2784,7 +2784,7 @@ u8 DoBattlerEndTurnEffects(void)
&& !IsLeafGuardProtected(battler))
{
CancelMultiTurnMoves(battler);
gEffectBattler = battler;
gEffectBattler = gBattlerTarget = battler;
if (IsBattlerTerrainAffected(battler, STATUS_FIELD_ELECTRIC_TERRAIN))
{
gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_TERRAINPREVENTS_ELECTRIC;
Expand Down

0 comments on commit 51fbc80

Please sign in to comment.