Adds a bunch more move scripts

This commit is contained in:
2024-11-02 12:59:55 +01:00
parent 6f2bd678a5
commit 44cd2ee03e
17 changed files with 492 additions and 1 deletions

View File

@@ -14,8 +14,15 @@ namespace PkmnLib.Dynamic.ScriptHandling;
/// </summary>
public abstract class Script
{
internal event Action<Script>? OnRemoveEvent;
private int _suppressCount;
public void RemoveSelf()
{
OnRemoveEvent?.Invoke(this);
}
/// <summary>
/// The name of a script is its unique identifier.
/// If not overridden, this will resolve the name from the <see cref="ScriptAttribute"/> of the