From 3b3a7186e1aef8e5844274eb9f47076da035f021 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Mon, 29 Jan 2024 14:28:44 -0800 Subject: [PATCH] small cleanup --- src/code_809C5C4.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/code_809C5C4.c b/src/code_809C5C4.c index 3a01d45ad..7f33870e5 100644 --- a/src/code_809C5C4.c +++ b/src/code_809C5C4.c @@ -421,11 +421,10 @@ void sub_809CB8C(void) { sub_80015C0(0, 0x3D); } -bool8 sub_809CBA4(u8 param_1) +bool8 sub_809CBA4(u8 item) { - - if(FindItemInInventory(param_1) >= 0) - return 1; - else - return 0; + if(FindItemInInventory(item) >= 0) + return TRUE; + else + return FALSE; }