summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-16 08:36:51 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-16 19:00:07 -0500
commit236cbf96c8f94b8b2d23be8c72ee0e188e82842d (patch)
treec2042f78efdc37a5b64c9cd797cc0c66a0c80255 /src/egg_hatch.c
parent50501396b21bf132cf71d0f5d353bf51d277ba27 (diff)
parentc0d180a8702b9b20afe07b09316286f6406e5811 (diff)
Merge origin/master into pikalaxalt/link
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 9d1f6fd0e..a6f02ea23 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -69,7 +69,7 @@ extern void play_some_sound(void);
extern void DoNamingScreen(u8, const u8*, u16, u8, u32, MainCallback);
extern void AddTextPrinterParametrized2(u8 windowId, u8 fontId, u8 x, u8 y, u8 letterSpacing, u8 lineSpacing, struct TextColor* colors, s8 speed, u8 *str);
extern u16 sub_80D22D0(void);
-extern u8 sub_80C7050(u8);
+extern u8 CountPartyAliveNonEggMonsExcept(u8);
static void Task_EggHatch(u8 taskID);
static void CB2_EggHatch_0(void);
@@ -882,6 +882,6 @@ u8 GetEggStepsToSubtract(void)
u16 sub_80722E0(void)
{
u16 value = sub_80D22D0();
- value += sub_80C7050(6);
+ value += CountPartyAliveNonEggMonsExcept(6);
return value;
}