diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-08 21:28:22 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-08 21:28:22 -0400 |
commit | 019935fb73b7a065c735045a80d5124132ee6e5e (patch) | |
tree | c5432b0a68665a4d8cbdc42924f8d0a0939f951f /src | |
parent | 70e982d1fabc62a6d145b1a8dda866931886bb4d (diff) |
npc_coords_set
Diffstat (limited to 'src')
-rw-r--r-- | src/field_map_obj.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/field_map_obj.c b/src/field_map_obj.c index 6298c977b..c7d9e32d7 100644 --- a/src/field_map_obj.c +++ b/src/field_map_obj.c @@ -1234,3 +1234,11 @@ void npc_coords_shift(struct MapObject *mapObject, s16 x, s16 y) mapObject->coords2.y = y; } +/*static*/ void npc_coords_set(struct MapObject *mapObject, s16 x, s16 y) +{ + mapObject->coords3.x = x; + mapObject->coords3.y = y; + mapObject->coords2.x = x; + mapObject->coords2.y = y; +} + |