mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-27 05:43:51 +01:00
Fix CreatedHatchedMon typo
This commit is contained in:
parent
44f348a8e1
commit
db17f8091c
@ -293,7 +293,7 @@ static const s16 sEggShardVelocities[][2] =
|
|||||||
|
|
||||||
// code
|
// code
|
||||||
|
|
||||||
static void CreatedHatchedMon(struct Pokemon *egg, struct Pokemon *temp)
|
static void CreateHatchedMon(struct Pokemon *egg, struct Pokemon *temp)
|
||||||
{
|
{
|
||||||
u16 species;
|
u16 species;
|
||||||
u32 personality, pokerus;
|
u32 personality, pokerus;
|
||||||
@ -357,7 +357,7 @@ static void AddHatchedMonToParty(u8 id)
|
|||||||
u8 mapNameID;
|
u8 mapNameID;
|
||||||
struct Pokemon* mon = &gPlayerParty[id];
|
struct Pokemon* mon = &gPlayerParty[id];
|
||||||
|
|
||||||
CreatedHatchedMon(mon, &gEnemyParty[0]);
|
CreateHatchedMon(mon, &gEnemyParty[0]);
|
||||||
SetMonData(mon, MON_DATA_IS_EGG, &isEgg);
|
SetMonData(mon, MON_DATA_IS_EGG, &isEgg);
|
||||||
|
|
||||||
pokeNum = GetMonData(mon, MON_DATA_SPECIES);
|
pokeNum = GetMonData(mon, MON_DATA_SPECIES);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user