Fix faulty search&replace

This commit is contained in:
PikalaxALT committed 2021-03-18 15:00:06 -04:00
1 parent 18f1080882
commit c5aa5d3722
5 files changed
+12 -14

No files matched your search

+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)