Merge pull request #1042 from GriffinRichards/typo

Fix CreatedHatchedMon typo
This commit is contained in:
Sierra A 2020-05-18 16:31:58 -07:00 committed by GitHub
commit 45866cf094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);