From f8c3e92769548f8e55561e013dcbccf326f4d0fd Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 28 Mar 2021 16:54:41 +0200 Subject: [PATCH] Fixes type causing PreventOpponentRunAway to not work. --- src/ScriptResolving/AngelScript/AngelScriptTypeInfo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptResolving/AngelScript/AngelScriptTypeInfo.hpp b/src/ScriptResolving/AngelScript/AngelScriptTypeInfo.hpp index 0f0871d..b661dfe 100644 --- a/src/ScriptResolving/AngelScript/AngelScriptTypeInfo.hpp +++ b/src/ScriptResolving/AngelScript/AngelScriptTypeInfo.hpp @@ -138,7 +138,7 @@ public: SCRIPT_HOOK_FUNCTION(OnOpponentFail, "void OnOpponentFail(Pokemon@ user)"); SCRIPT_HOOK_FUNCTION(PreventRunAway, "void PreventRunAway(FleeTurnChoice@ choice, bool& result)"); - SCRIPT_HOOK_FUNCTION(PreventOpponentRunAway, "void PreventOpponentRunAway(FleeTurnChoice@ choice, ool& result)"); + SCRIPT_HOOK_FUNCTION(PreventOpponentRunAway, "void PreventOpponentRunAway(FleeTurnChoice@ choice, bool& result)"); }; #undef SCRIPT_HOOK_FUNCTION