diff options
author | itskobold <itskobold@users.noreply.github.com> | 2017-11-17 09:25:40 +0000 |
---|---|---|
committer | itskobold <itskobold@users.noreply.github.com> | 2017-11-17 09:25:40 +0000 |
commit | 370e47beeef3f115d071161a7b2f09dcfbd2168b (patch) | |
tree | 648fdb13c6a341e8efc5ba5c734f7cd25d826b60 /src/egg_hatch.c | |
parent | 46ee15b96250d53b4100171c572f6e6b6e2c99c6 (diff) | |
parent | a98c6bf210cec0591badb51be1e472c5fb4f1f1a (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c index 589e8901d..13c088883 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -75,7 +75,7 @@ extern void CreateYesNoMenu(const struct WindowTemplate*, u16, u8, u8); 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); @@ -888,6 +888,6 @@ u8 GetEggStepsToSubtract(void) u16 sub_80722E0(void) { u16 value = sub_80D22D0(); - value += sub_80C7050(6); + value += CountPartyAliveNonEggMonsExcept(6); return value; } |