Fixed graphics during evolution scene
This commit is contained in:
parent
755df9b1cf
commit
8a285ac830
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue