Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -12,7 +12,7 @@ public class TechnoBlast : Script, IScriptChangeMoveType
|
||||
};
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ChangeMoveType(IExecutingMove move, IPokemon target, byte hit, ref TypeIdentifier? moveType)
|
||||
public void ChangeMoveType(IExecutingMove move, IBattlePokemon target, byte hit, ref TypeIdentifier? moveType)
|
||||
{
|
||||
var heldItem = move.User.HeldItem;
|
||||
if (heldItem == null)
|
||||
|
||||
Reference in New Issue
Block a user