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:
parent
53110a0ff6
commit
add75d84c0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue