diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp index f23f709..38642ad 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterPokemonClass.cpp @@ -119,7 +119,7 @@ void RegisterPokemonClass::RegisterPokemonType(asIScriptEngine* engine) { REGISTER_GETTER("Pokemon", "uint32 get_MaxHealth() const property", CreatureLib::Battling::Creature, GetMaxHealth); REGISTER_GETTER("Pokemon", "const Species@ get_DisplaySpecies() const property", CreatureLib::Battling::Creature, GetDisplaySpecies); - REGISTER_GETTER("Pokemon", "const Species@ get_DisplayForme() const property", CreatureLib::Battling::Creature, + REGISTER_GETTER("Pokemon", "const Forme@ get_DisplayForme() const property", CreatureLib::Battling::Creature, GetDisplayVariant); REGISTER_GETTER("Pokemon", "Battle@ get_Battle() const property", CreatureLib::Battling::Creature, GetBattle); REGISTER_GETTER("Pokemon", "BattleSide@ get_BattleSide() const property", CreatureLib::Battling::Creature,