Fixed Egg graphical data not being properly read. (#3879)

This commit is contained in:
Eduardo Quezada D'Ottone 2023-12-31 21:21:03 -03:00 committed by GitHub
parent a3c25114b7
commit c50777d88b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5985,7 +5985,7 @@ u16 SanitizeSpeciesId(u16 species)
bool32 IsSpeciesEnabled(u16 species)
{
return gSpeciesInfo[species].baseHP > 0;
return gSpeciesInfo[species].baseHP > 0 || species == SPECIES_EGG;
}
void TryToSetBattleFormChangeMoves(struct Pokemon *mon, u16 method)