diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-16 21:31:37 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-16 21:31:37 -0400 |
commit | 996d9f4b4204396395e67e33a61ffd7111117fc2 (patch) | |
tree | cdfbed51466fe11a89cfa686db6c50e120737ba5 /src | |
parent | 951acc8c31029327775e90e21ba6c92c24ff8b3b (diff) |
sub_8092E9C
Diffstat (limited to 'src')
-rwxr-xr-x | src/field_map_obj.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/field_map_obj.c b/src/field_map_obj.c index 9855321d3..954088edc 100755 --- a/src/field_map_obj.c +++ b/src/field_map_obj.c @@ -3763,6 +3763,17 @@ bool8 CheckForCollisionBetweenFieldObjects(struct MapObject *mapObject, s16 x, s return FALSE; } +bool8 sub_8092E9C(u8 localId, u8 mapNum, u8 mapGroup) +{ + u8 mapObjectId; + + if (!TryGetFieldObjectIdByLocalIdAndMap(localId, mapNum, mapGroup, &mapObjectId) && gSprites[gMapObjects[mapObjectId].spriteId].data7 & 0x02) + { + return TRUE; + } + return FALSE; +} + asm(".section .text.get_face_direction_anim_id"); void FieldObjectClearAnimIfSpecialAnimActive(struct MapObject *); |