Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -6,7 +6,7 @@ public class LastResort : Script, IScriptPreventMoveSelection
|
||||
/// <inheritdoc />
|
||||
public void PreventMoveSelection(IMoveChoice choice, ref bool prevent)
|
||||
{
|
||||
var battleData = choice.User.BattleData;
|
||||
var battleData = choice.User;
|
||||
if (battleData == null)
|
||||
{
|
||||
prevent = true;
|
||||
|
||||
Reference in New Issue
Block a user