summaryrefslogtreecommitdiff
path: root/src/items.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-06-18 17:56:20 -0500
committerSeth Barberee <seth.barberee@gmail.com>2021-06-18 17:56:20 -0500
commitf1fdcc2b0ade13ad1a4cc7360eac70f27396d26a (patch)
tree3ac5b9f61650299f96095e3d3c09ad771793be08 /src/items.c
parente806b05526bfcc540cb2c1f3165a96e76f6c235d (diff)
more splitting and labeling with some decomp
Diffstat (limited to 'src/items.c')
-rw-r--r--src/items.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/items.c b/src/items.c
index d6128f5..2c7dd90 100644
--- a/src/items.c
+++ b/src/items.c
@@ -16,7 +16,7 @@ extern void sub_8091840(u8);
extern u8 GetItemType(u8);
extern u32 GetItemUnkThrow(u8, u32);
extern s32 sub_80915D4(struct ItemStruct_203B460 *);
-extern u8 sub_80914E4(u8);
+extern bool8 sub_80914E4(u8);
extern void sub_8090F58(u32, u8 *, struct ItemStruct_203B460 *, u32);
void LoadItemParameters(void)
@@ -230,7 +230,7 @@ s32 sub_8090C30(struct ItemStruct_203B460 *param_1)
s32 sub_8090C7C(struct ItemStruct_203B460 *param_1)
{
- if (sub_80914E4(param_1->itemIndex) == 0) {
+ if (!sub_80914E4(param_1->itemIndex)) {
return 0;
}
else {
@@ -245,7 +245,7 @@ s32 sub_8090C7C(struct ItemStruct_203B460 *param_1)
s32 sub_8090CCC(struct ItemStruct_203B460 *param_1)
{
- if (sub_80914E4(param_1->itemIndex) == 0) {
+ if (!sub_80914E4(param_1->itemIndex)) {
return 0;
}
else {