diff options
author | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-10-17 01:11:44 +0100 |
---|---|---|
committer | Slawter666 <38655737+Slawter666@users.noreply.github.com> | 2018-10-17 01:11:44 +0100 |
commit | 1435c96b41049da3a05ed97d9a07b355aacbac4f (patch) | |
tree | 72b638cae542fc16c9785656f3335ff8de00b1ba /src/event_object_movement.c | |
parent | 3aff112127ddb67882bfce31d046eb886e0aa2c1 (diff) |
Further synchronisation
Diffstat (limited to 'src/event_object_movement.c')
-rw-r--r-- | src/event_object_movement.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/event_object_movement.c b/src/event_object_movement.c index 342944fcb..201f5ff08 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -74,7 +74,7 @@ static void sub_8097D68(struct Sprite*); static void ApplyLevitateMovement(u8); static bool8 MovementType_Disguise_Callback(struct EventObject *, struct Sprite *); static bool8 MovementType_Hidden_Callback(struct EventObject *, struct Sprite *); -static void sub_808D450(void); +static void CreateReflectionEffectSprites(void); static u8 GetEventObjectIdByLocalId(u8); static u8 GetEventObjectIdByLocalIdAndMapInternal(u8, u8, u8); static bool8 GetAvailableEventObjectId(u16, u8, u8, u8 *); @@ -1083,15 +1083,15 @@ static void ClearAllEventObjects(void) ClearEventObject(&gEventObjects[i]); } -void sub_808D438(void) +void ResetEventObjects(void) { ClearLinkPlayerEventObjects(); ClearAllEventObjects(); ClearPlayerAvatarInfo(); - sub_808D450(); + CreateReflectionEffectSprites(); } -static void sub_808D450(void) +static void CreateReflectionEffectSprites(void) { u8 spriteId = CreateSpriteAtEnd(gFieldEffectObjectTemplatePointers[21], 0, 0, 31); gSprites[spriteId].oam.affineMode = 1; @@ -1809,7 +1809,7 @@ void sub_808E16C(s16 x, s16 y) sub_808E1B8(i, x, y); } } - sub_808D450(); + CreateReflectionEffectSprites(); } static void sub_808E1B8(u8 eventObjectId, s16 x, s16 y) |