diff options
author | Cheng Hann Gan <chenghanngan.us@gmail.com> | 2021-11-20 10:47:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-20 08:47:46 -0800 |
commit | 938a88551f6ddefb7f696b738696c8ce2d8e0e36 (patch) | |
tree | 35a8d3954aa03fb00d061d7603d28af0111bb516 /src/code_8041AD0.c | |
parent | 13552719886449c45aa0a06caccb7d7491382d9c (diff) |
Labeled more symbols (#77)
* Labeled more symbols
* Fixed comment typo
* Renamed some functions
Diffstat (limited to 'src/code_8041AD0.c')
-rw-r--r-- | src/code_8041AD0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_8041AD0.c b/src/code_8041AD0.c index 6388af1..f711b92 100644 --- a/src/code_8041AD0.c +++ b/src/code_8041AD0.c @@ -17,7 +17,7 @@ extern void sub_804151C(struct DungeonEntity *r0, u32 r1, u8 r2); extern void sub_80416E0(struct DungeonEntity *r0, u32, u32); extern u8 sub_8042768(struct DungeonEntity *r0); extern void sub_806CDD4(struct DungeonEntity *r0, u8, u32); -extern u8 sub_8071858(struct DungeonEntity *r0, u8); +extern u8 HasType(struct DungeonEntity *r0, u8); extern u32 sub_806F62C(u32); extern void PlaySoundEffect(u32); extern u8 sub_803F428(struct DungeonEntity *r0); @@ -344,7 +344,7 @@ void sub_8041DD8(struct DungeonEntity *r0, s16 r1) u32 temp; temp = r1; - if(sub_8071858(r0, 0xE) != 0) + if(HasType(r0, 0xE) != 0) sub_804151C(r0, temp, 1); else sub_804151C(r0, 0xE, 1); |