summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/egg_hatch.c4
-rw-r--r--src/event_object_movement.c2
2 files changed, 3 insertions, 3 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);
diff --git a/src/event_object_movement.c b/src/event_object_movement.c
index e166f8b95..d6a2fe2ec 100644
--- a/src/event_object_movement.c
+++ b/src/event_object_movement.c
@@ -1448,7 +1448,7 @@ u8 SpawnSpecialObjectEventParameterized(u8 graphicsId, u8 movementBehavior, u8 l
y -= 7;
objectEventTemplate.localId = localId;
objectEventTemplate.graphicsId = graphicsId;
- objectEventTemplate.unk2 = 0;
+ objectEventTemplate.inConnection = 0;
objectEventTemplate.x = x;
objectEventTemplate.y = y;
objectEventTemplate.elevation = z;