Merge pull request #1650 from LOuroboros/unown

Fix SPECIES_UNOWN
This commit is contained in:
Eduardo Quezada D'Ottone 2021-09-20 21:14:11 -03:00 committed by GitHub
commit d32df119a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)