Fix totem boost not triggering (#4328)

This commit is contained in:
Alex 2024-04-02 11:06:14 +02:00 committed by GitHub
parent f5a5932e4d
commit f65fc5f849
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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--;