Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -4,7 +4,7 @@ namespace PkmnLib.Plugin.Gen7.Scripts.Side;
|
||||
public class LunarDanceEffect(byte position) : Script, IScriptOnSwitchIn
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public void OnSwitchIn(IPokemon pokemon, byte position1)
|
||||
public void OnSwitchIn(IBattlePokemon pokemon, byte position1)
|
||||
{
|
||||
if (position != position1)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user