Fixes invalid battle state
This commit is contained in:
@@ -133,6 +133,10 @@ public class BattleSideImpl : ScriptSource, IBattleSide
|
|||||||
_pokemon = new IPokemon?[numberOfPositions];
|
_pokemon = new IPokemon?[numberOfPositions];
|
||||||
_setChoices = new ITurnChoice?[numberOfPositions];
|
_setChoices = new ITurnChoice?[numberOfPositions];
|
||||||
_fillablePositions = new bool[numberOfPositions];
|
_fillablePositions = new bool[numberOfPositions];
|
||||||
|
for (byte i = 0; i < numberOfPositions; i++)
|
||||||
|
{
|
||||||
|
_fillablePositions[i] = true;
|
||||||
|
}
|
||||||
Battle = battle;
|
Battle = battle;
|
||||||
VolatileScripts = new ScriptSet();
|
VolatileScripts = new ScriptSet();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user