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:41 -06:00 committed by GitHub
parent d0f5528abb
commit 31cdf043cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5214,7 +5214,7 @@ static bool32 GetMentalHerbEffect(u8 battlerId)
ret = TRUE; ret = TRUE;
} }
#if B_MENTAL_HERB >= GEN_5 #if B_MENTAL_HERB >= GEN_5
// check taunt // Check taunt
if (gDisableStructs[gBattlerTarget].tauntTimer != 0) if (gDisableStructs[gBattlerTarget].tauntTimer != 0)
{ {
gDisableStructs[gBattlerTarget].tauntTimer = gDisableStructs[gBattlerTarget].tauntTimer2 = 0; gDisableStructs[gBattlerTarget].tauntTimer = gDisableStructs[gBattlerTarget].tauntTimer2 = 0;