From c7f28f034c4a86b6373b45941f47e5a231392ad0 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 16 Sep 2017 15:16:39 -0400 Subject: [PATCH] Change type of state_to_direction argument 1 to match pokeruby --- src/field_map_obj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field_map_obj.c b/src/field_map_obj.c index cdf4006de7..cd330a18de 100755 --- a/src/field_map_obj.c +++ b/src/field_map_obj.c @@ -101,7 +101,7 @@ bool8 FieldObjectExecRegularAnim(struct MapObject *, struct Sprite *); void SetFieldObjectStepTimer(struct Sprite *, s16); bool8 RunFieldObjectStepTimer(struct Sprite *); bool8 npc_block_way__next_tile(struct MapObject *, u8); -u32 state_to_direction(u8, u8, u32); +u32 state_to_direction(u8, u32, u32); void DoGroundEffects_OnSpawn(struct MapObject *, struct Sprite *); void sub_80964E8(struct MapObject *, struct Sprite *); bool8 FieldObjectIsSpecialAnimActive(struct MapObject *);