mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-31 08:23:56 +01:00
Fixed Pancham's evo method
This commit is contained in:
parent
9e1b885ec1
commit
c94703e0bc
@ -6325,9 +6325,9 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, u
|
|||||||
{
|
{
|
||||||
for (j = 0; j < PARTY_SIZE; j++)
|
for (j = 0; j < PARTY_SIZE; j++)
|
||||||
{
|
{
|
||||||
u16 species = GetMonData(&gPlayerParty[j], MON_DATA_SPECIES, NULL);
|
u16 currSpecies = GetMonData(&gPlayerParty[j], MON_DATA_SPECIES, NULL);
|
||||||
if (gBaseStats[species].type1 == TYPE_DARK
|
if (gBaseStats[currSpecies].type1 == TYPE_DARK
|
||||||
|| gBaseStats[species].type2 == TYPE_DARK)
|
|| gBaseStats[currSpecies].type2 == TYPE_DARK)
|
||||||
{
|
{
|
||||||
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
targetSpecies = gEvolutionTable[species][i].targetSpecies;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user