npc_coords_set

This commit is contained in:
PikalaxALT committed 2017-09-08 21:28:22 -04:00
1 parent 70e982d1fa
commit 019935fb73
2 files changed
+8 -14

No files matched your search

+8
View File
@@ -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;
}