diff --git a/src/Battling/Battle/Battle.hpp b/src/Battling/Battle/Battle.hpp index d477a17..bfcc8ed 100644 --- a/src/Battling/Battle/Battle.hpp +++ b/src/Battling/Battle/Battle.hpp @@ -32,6 +32,7 @@ namespace PkmnLib::Battling { } const Arbutils::CaseInsensitiveConstString& GetWeatherName() noexcept { return _weatherScript->GetName(); } + size_t ScriptCount() const override { return CreatureLib::Battling::Battle::ScriptCount() + 1; } void GetActiveScripts(List& scripts) override { CreatureLib::Battling::Battle::GetActiveScripts(scripts); scripts.Append(CreatureLib::Battling::ScriptWrapper(