Fixed graphics during evolution scene

This commit is contained in:
Eduardo Quezada 2022-11-29 11:41:17 -03:00
parent 755df9b1cf
commit 8a285ac830

View file

@ -79,7 +79,7 @@ void DecompressPicFromTableGender(void* buffer, s32 species, u32 personality)
{ {
if (species > NUM_SPECIES) if (species > NUM_SPECIES)
LZ77UnCompWram(gBaseStats[SPECIES_NONE].frontPic, buffer); LZ77UnCompWram(gBaseStats[SPECIES_NONE].frontPic, buffer);
else if (gBaseStats[species].frontPicFemale != NULL) else if (gBaseStats[species].frontPicFemale != NULL && IsPersonalityFemale(species, personality))
LZ77UnCompWram(gBaseStats[species].frontPicFemale, buffer); LZ77UnCompWram(gBaseStats[species].frontPicFemale, buffer);
else if (gBaseStats[species].frontPic != NULL) else if (gBaseStats[species].frontPic != NULL)
LZ77UnCompWram(gBaseStats[species].frontPic, buffer); LZ77UnCompWram(gBaseStats[species].frontPic, buffer);