Fixes invalid battle state
This commit is contained in:
parent
b43e1dc15e
commit
1df35c1f50
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user