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:21 -06:00 committed by GitHub
parent 449c2bcc34
commit 492b5718e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5205,7 +5205,7 @@ static bool32 UnnerveOn(u32 battlerId, u32 itemId)
static bool32 GetMentalHerbEffect(u8 battlerId) static bool32 GetMentalHerbEffect(u8 battlerId)
{ {
bool32 ret = FALSE; bool32 ret = FALSE;
// check infatuation // Check infatuation
if (gBattleMons[battlerId].status2 & STATUS2_INFATUATION) if (gBattleMons[battlerId].status2 & STATUS2_INFATUATION)
{ {
gBattleMons[battlerId].status2 &= ~(STATUS2_INFATUATION); gBattleMons[battlerId].status2 &= ~(STATUS2_INFATUATION);