summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-10-31 18:40:40 -0500
committerGitHub <noreply@github.com>2018-10-31 18:40:40 -0500
commitcbc414c44115550c811d6629c23c2e749d9d7fe3 (patch)
tree42a2274534149cb609636c3ef98a90438a11ca33 /src/egg_hatch.c
parent425cb7ec71d549bed0a73bb864c3f33a1c89f1c4 (diff)
parentbc71641386573c7e865d0cec941f84310fbd648f (diff)
Merge pull request #698 from Slawter666/synchronise
Synchronise with pokeemerald
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();