Corrected initial value of targetSpecies in GetEvolutionTargetSpecies (#4269)
This commit is contained in:
parent
0dabcfc966
commit
cd650ae998
@ -3766,7 +3766,7 @@ u8 GetNatureFromPersonality(u32 personality)
|
||||
u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 mode, u16 evolutionItem, struct Pokemon *tradePartner)
|
||||
{
|
||||
int i, j;
|
||||
u16 targetSpecies = 0;
|
||||
u16 targetSpecies = SPECIES_NONE;
|
||||
u16 species = GetMonData(mon, MON_DATA_SPECIES, 0);
|
||||
u16 heldItem = GetMonData(mon, MON_DATA_HELD_ITEM, 0);
|
||||
u32 personality = GetMonData(mon, MON_DATA_PERSONALITY, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user