summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-09-16 21:45:18 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-09-16 21:45:18 -0400
commit76b68e039dc6cebee6da0f421be630f96ff75d2d (patch)
treedaa0b1f04b1bad8d7b0916ab9bf43773b3869d40 /src
parentf03c0dc3b4f763c65fefaa8cdf10a06b2fd00dc2 (diff)
MoveCoordsPixel
Diffstat (limited to 'src')
-rwxr-xr-xsrc/field_map_obj.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/field_map_obj.c b/src/field_map_obj.c
index 56281a10d..d52bd86f7 100755
--- a/src/field_map_obj.c
+++ b/src/field_map_obj.c
@@ -3790,6 +3790,12 @@ void MoveCoords(u8 direction, s16 *x, s16 *y)
*y += gUnknown_0850DB7C[direction].y;
}
+void sub_8092F60(u8 direction, s16 *x, s16 *y)
+{
+ *x += gUnknown_0850DB7C[direction].x << 4;
+ *y += gUnknown_0850DB7C[direction].y << 4;
+}
+
asm(".section .text.get_face_direction_anim_id");
void FieldObjectClearAnimIfSpecialAnimActive(struct MapObject *);