diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-18 15:00:06 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-03-18 15:00:06 -0400 |
commit | c5aa5d37229e5692355e4b3979b6cafbcad7caee (patch) | |
tree | 662be8b474b9c50264fc49262cbaf21769479516 /src/pokemon.c | |
parent | 18f108088229e520660ee55fe74a323b3156b036 (diff) |
Fix faulty search&replace
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c index b5f683ab4..f8c03ea02 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4900,7 +4900,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 type, u16 evolutionItem) else holdEffect = ItemId_GetHoldEffect(heldItem); - if (holdEffect == HOLD_EFFECT_PREVENT_EVOLVE && type != 3) + if (holdEffect == HOLD_EFFECT_PREVENT_EVOLVE && type != EVO_MODE_ITEM_CHECK) return 0; switch (type) |