Fix CreatedHatchedMon typo

This commit is contained in:
GriffinR 2020-05-17 01:06:17 -04:00
parent 44f348a8e1
commit db17f8091c

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