Applied a couple of tweaks

-Made it so only Rare Candies can evolve Lv100 'mons. Game Freak dumb. The Exp. Candies SHOULD work too.
-Made sure to remove the candy that was used from the bag.
This commit is contained in:
LOuroboros 2022-11-25 18:12:51 -03:00
parent 53110a0ff6
commit add75d84c0

View File

@ -5177,9 +5177,10 @@ void ItemUseCB_RareCandy(u8 taskId, TaskFunc task)
PlaySE(SE_SELECT);
if (cannotUseEffect)
{
if (targetSpecies != SPECIES_NONE)
if (targetSpecies != SPECIES_NONE && holdEffectParam == 0)
{
PartyMenuTryEvolution(taskId);
RemoveBagItem(gSpecialVar_ItemId, 1);
}
else
{