diff --git a/common/src/main/kotlin/com/cobblemon/mod/common/pokemon/Species.kt b/common/src/main/kotlin/com/cobblemon/mod/common/pokemon/Species.kt index 2b4c111aa6..ab16f3bd2c 100644 --- a/common/src/main/kotlin/com/cobblemon/mod/common/pokemon/Species.kt +++ b/common/src/main/kotlin/com/cobblemon/mod/common/pokemon/Species.kt @@ -203,7 +203,7 @@ class Species : ClientDataSynchronizer, ShowdownIdentifiable { this.forms.forEach(FormData::resolveEvolutionMoves) } - fun create(level: Int = 10) = PokemonProperties.parse("species=\"${this.name}\" level=${level}").create() + fun create(level: Int = 10) = PokemonProperties.parse("species=\"${this.resourceIdentifier}\" level=${level}").create() fun getForm(aspects: Set) = forms.lastOrNull { it.aspects.all { it in aspects } } ?: standardForm fun getFormByName(name: String) = forms.firstOrNull { it.name == name } ?: standardForm