callers of sub_80940C4

This commit is contained in:
PikalaxALT 2017-09-17 09:49:50 -04:00
parent 8ee004b9b1
commit 9dc7839dd8
3 changed files with 12 additions and 24 deletions

View file

@ -5,30 +5,6 @@
.text
thumb_func_start sub_8094188
sub_8094188: @ 8094188
push {lr}
ldr r2, =sub_809785C
bl sub_80940C4
lsls r0, 24
lsrs r0, 24
pop {r1}
bx r1
.pool
thumb_func_end sub_8094188
thumb_func_start sub_809419C
sub_809419C: @ 809419C
push {lr}
ldr r2, =sub_80978E4
bl sub_80940C4
lsls r0, 24
lsrs r0, 24
pop {r1}
bx r1
.pool
thumb_func_end sub_809419C
thumb_func_start sub_80941B0
sub_80941B0: @ 80941B0
push {lr}

View file

@ -20,5 +20,7 @@ bool8 sub_80976EC(struct Sprite *sprite);
void sub_80976DC(struct Sprite *, u8);
void sub_809783C(struct Sprite *, u8, u8, u8);
void DoShadowFieldEffect(struct MapObject *);
u8 sub_809785C(struct Sprite *);
u8 sub_80978E4(struct Sprite *);
#endif //GUARD_MAP_OBJ_8097404_H

View file

@ -4316,3 +4316,13 @@ u8 sub_80940C4(struct MapObject *mapObject, struct Sprite *sprite, u8 callback(s
}
return result;
}
u8 sub_8094188(struct MapObject *mapObject, struct Sprite *sprite)
{
return sub_80940C4(mapObject, sprite, sub_809785C);
}
u8 sub_809419C(struct MapObject *mapObject, struct Sprite *sprite)
{
return sub_80940C4(mapObject, sprite, sub_80978E4);
}