Fix faulty search&replace

This commit is contained in:
PikalaxALT
2021-03-18 15:00:06 -04:00
parent 18f1080882
commit c5aa5d3722
5 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -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)