Update src/battle_util.c

Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
This commit is contained in:
ghoulslash 2021-03-29 08:02:51 -06:00 committed by GitHub
parent 97428b6e10
commit d7c7f808b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5222,7 +5222,7 @@ static bool32 GetMentalHerbEffect(u8 battlerId)
PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_TAUNT); PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_TAUNT);
ret = TRUE; ret = TRUE;
} }
// check encore // Check encore
if (gDisableStructs[gBattlerTarget].encoreTimer != 0) if (gDisableStructs[gBattlerTarget].encoreTimer != 0)
{ {
gDisableStructs[gActiveBattler].encoredMove = 0; gDisableStructs[gActiveBattler].encoredMove = 0;