Fixes Misty Terrain displaying wrong message (#5742)
This commit is contained in:
parent
cc05187ab1
commit
51fbc80ac5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue