From acf755fb9c3503efc524e73478a7ed922e6303d8 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 11 Sep 2021 04:35:16 -0300 Subject: [PATCH] Fixed SPECIES_UNOWN --- src/pokemon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pokemon.c b/src/pokemon.c index 91c9607f09..e81bc5094d 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4355,13 +4355,11 @@ u8 GetGenderFromSpeciesAndPersonality(u16 species, u32 personality) u32 GetUnownSpeciesId(u32 personality) { - return GetUnownLetterByPersonality(personality) + SPECIES_UNOWN_B - 1; //TODO - /* u16 unownLetter = GetUnownLetterByPersonality(personality); + if (unownLetter == 0) return SPECIES_UNOWN; return unownLetter + SPECIES_UNOWN_B - 1; - */ } void SetMultiuseSpriteTemplateToPokemon(u16 speciesTag, u8 battlerPosition)