Fix totem boost not triggering (#4328)
This commit is contained in:
parent
f5a5932e4d
commit
f65fc5f849
1 changed files with 1 additions and 1 deletions
|
@ -5273,11 +5273,11 @@ static void TurnValuesCleanUp(bool8 var0)
|
||||||
gProtectStructs[i].quash = FALSE;
|
gProtectStructs[i].quash = FALSE;
|
||||||
gProtectStructs[i].usedCustapBerry = FALSE;
|
gProtectStructs[i].usedCustapBerry = FALSE;
|
||||||
gProtectStructs[i].quickDraw = FALSE;
|
gProtectStructs[i].quickDraw = FALSE;
|
||||||
|
memset(&gQueuedStatBoosts[i], 0, sizeof(struct QueuedStatBoost));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
memset(&gProtectStructs[i], 0, sizeof(struct ProtectStruct));
|
memset(&gProtectStructs[i], 0, sizeof(struct ProtectStruct));
|
||||||
memset(&gQueuedStatBoosts[i], 0, sizeof(struct QueuedStatBoost));
|
|
||||||
|
|
||||||
if (gDisableStructs[i].isFirstTurn)
|
if (gDisableStructs[i].isFirstTurn)
|
||||||
gDisableStructs[i].isFirstTurn--;
|
gDisableStructs[i].isFirstTurn--;
|
||||||
|
|
Loading…
Reference in a new issue