Skip to content

Commit

Permalink
Fix totem boost not triggering (#4328)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Apr 2, 2024
1 parent f5a5932 commit f65fc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -5273,11 +5273,11 @@ static void TurnValuesCleanUp(bool8 var0)
gProtectStructs[i].quash = FALSE;
gProtectStructs[i].usedCustapBerry = FALSE;
gProtectStructs[i].quickDraw = FALSE;
memset(&gQueuedStatBoosts[i], 0, sizeof(struct QueuedStatBoost));
}
else
{
memset(&gProtectStructs[i], 0, sizeof(struct ProtectStruct));
memset(&gQueuedStatBoosts[i], 0, sizeof(struct QueuedStatBoost));

if (gDisableStructs[i].isFirstTurn)
gDisableStructs[i].isFirstTurn--;
Expand Down

0 comments on commit f65fc5f

Please sign in to comment.