diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp index e309637..bd190fa 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp @@ -199,12 +199,12 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) { r = engine->RegisterObjectMethod("Pokemon", "void ClearStatus() const", asMETHOD(PkmnLib::Battling::Pokemon, ClearStatus), asCALL_THISCALL); Ensure(r >= 0); - r = engine->RegisterObjectMethod("Pokemon", "void SetStatus(const constString& name)", + r = engine->RegisterObjectMethod("Pokemon", "void SetStatus(const constString &in name)", asMETHOD(PkmnLib::Battling::Pokemon, SetStatus), asCALL_THISCALL); Ensure(r >= 0); r = engine->RegisterObjectMethod( - "Pokemon", "void ChangeForme(const constString& name)", + "Pokemon", "void ChangeForme(const constString &in name)", asMETHODPR(PkmnLib::Battling::Pokemon, ChangeVariant, (const ArbUt::StringView&), void), asCALL_THISCALL); Ensure(r >= 0);