summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 02:53:05 +0100
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-10-17 02:53:05 +0100
commitbb72dcf19dc13d07234b50fbaabb7e5f74f1ac63 (patch)
tree0d6daa2877725eebc49fcfdaf0b253fb72191a02 /src/egg_hatch.c
parent9e3e6173760ebdbe58eda2986b9f21d31f774f16 (diff)
Further synchronisation
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r--src/egg_hatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c
index 6dc55ef28..876034d2a 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -473,7 +473,7 @@ static void CB2_EggHatch_0(void)
static void EggHatchSetMonNickname(void)
{
SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_NICKNAME, gStringVar3);
- SetMainCallback2(c2_exit_to_overworld_2_switch);
+ SetMainCallback2(CB2_ReturnToField);
}
static void Task_EggHatchPlayBGM(u8 taskID)
@@ -576,7 +576,7 @@ static void CB2_EggHatch_1(void)
break;
case 11:
if (!gPaletteFade.active)
- SetMainCallback2(c2_exit_to_overworld_2_switch);
+ SetMainCallback2(CB2_ReturnToField);
break;
}
RunTasks();