From 3a7b49e843f0b6a586ca3d94a6cd5753dd70a849 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Fri, 18 Feb 2022 00:36:10 -0300 Subject: [PATCH] Updated to use constants --- Repeated-Field-Medicine-Use.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Repeated-Field-Medicine-Use.md b/Repeated-Field-Medicine-Use.md index aa6286a..4ea0931 100644 --- a/Repeated-Field-Medicine-Use.md +++ b/Repeated-Field-Medicine-Use.md @@ -105,7 +105,7 @@ You may also want to use this for Rare Candies, so all you have to do is find `P static void PartyMenuTryEvolution(u8 taskId) { struct Pokemon *mon = &gPlayerParty[gPartyMenu.slotId]; - u16 targetSpecies = GetEvolutionTargetSpecies(mon, 0, 0); + u16 targetSpecies = GetEvolutionTargetSpecies(mon, EVO_MODE_NORMAL, ITEM_NONE); if (targetSpecies != SPECIES_NONE) { @@ -114,7 +114,7 @@ static void PartyMenuTryEvolution(u8 taskId) gCB2_AfterEvolution = CB2_ReturnToPartyMenuUsingRareCandy; else gCB2_AfterEvolution = gPartyMenu.exitCallback; - BeginEvolutionScene(mon, targetSpecies, 1, gPartyMenu.slotId); + BeginEvolutionScene(mon, targetSpecies, TRUE, gPartyMenu.slotId); DestroyTask(taskId); } else