summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSierra A <6080951+Sierraffinity@users.noreply.github.com>2020-05-18 16:31:58 -0700
committerGitHub <noreply@github.com>2020-05-18 16:31:58 -0700
commit45866cf0946e00d909e060e218a6809c939e997d (patch)
tree244373468cd28c5e579c7bc9509773f383959ab5
parent44f348a8e1334e05b16891a1a019743b723f60da (diff)
parentdb17f8091caefc81134c3e7681f5971248154230 (diff)
Merge pull request #1042 from GriffinRichards/typo
Fix CreatedHatchedMon typo
-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 032ae6733..3bc35bc4a 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -293,7 +293,7 @@ static const s16 sEggShardVelocities[][2] =
// code
-static void CreatedHatchedMon(struct Pokemon *egg, struct Pokemon *temp)
+static void CreateHatchedMon(struct Pokemon *egg, struct Pokemon *temp)
{
u16 species;
u32 personality, pokerus;
@@ -357,7 +357,7 @@ static void AddHatchedMonToParty(u8 id)
u8 mapNameID;
struct Pokemon* mon = &gPlayerParty[id];
- CreatedHatchedMon(mon, &gEnemyParty[0]);
+ CreateHatchedMon(mon, &gEnemyParty[0]);
SetMonData(mon, MON_DATA_IS_EGG, &isEgg);
pokeNum = GetMonData(mon, MON_DATA_SPECIES);