Fixes invalid battle state

This commit is contained in:
Deukhoofd 2024-11-01 13:25:38 +01:00
parent b43e1dc15e
commit 1df35c1f50
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,10 @@ public class BattleSideImpl : ScriptSource, IBattleSide
_pokemon = new IPokemon?[numberOfPositions];
_setChoices = new ITurnChoice?[numberOfPositions];
_fillablePositions = new bool[numberOfPositions];
for (byte i = 0; i < numberOfPositions; i++)
{
_fillablePositions[i] = true;
}
Battle = battle;
VolatileScripts = new ScriptSet();
}