npc_coords_set

This commit is contained in:
PikalaxALT
2017-09-08 21:28:22 -04:00
parent 70e982d1fa
commit 019935fb73
2 changed files with 8 additions and 14 deletions

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;
}