change printItemFunc to use u32 instead of s32
also change a use of -2 to LIST_CANCEL
This commit is contained in:
+4
-4
@@ -119,7 +119,7 @@ static void sub_816C060(u16 itemId);
|
||||
static void sub_816BEF0(s32 id);
|
||||
static void sub_816B4DC(u8 taskId);
|
||||
static void ItemStorage_MoveCursor(s32 id, bool8 b, struct ListMenu * thisMenu);
|
||||
static void fish4_goto_x5_or_x6(u8 windowId, s32 id, u8 yOffset);
|
||||
static void fish4_goto_x5_or_x6(u8 windowId, u32 id, u8 yOffset);
|
||||
|
||||
// EWRAM
|
||||
static EWRAM_DATA const u8 *gPcItemMenuOptionOrder = NULL;
|
||||
@@ -943,7 +943,7 @@ static void ItemStorage_MoveCursor(s32 id, bool8 b, struct ListMenu *thisMenu)
|
||||
if (gUnknown_0203BCC4->unk666 == 0xFF)
|
||||
{
|
||||
sub_816C0C8();
|
||||
if (id != -2)
|
||||
if (id != LIST_CANCEL)
|
||||
sub_816C060(gSaveBlock1Ptr->pcItems[id].itemId);
|
||||
else
|
||||
sub_816C060(ITEMPC_GO_BACK_TO_PREV);
|
||||
@@ -951,9 +951,9 @@ static void ItemStorage_MoveCursor(s32 id, bool8 b, struct ListMenu *thisMenu)
|
||||
}
|
||||
}
|
||||
|
||||
static void fish4_goto_x5_or_x6(u8 windowId, s32 id, u8 yOffset)
|
||||
static void fish4_goto_x5_or_x6(u8 windowId, u32 id, u8 yOffset)
|
||||
{
|
||||
if (id != -2)
|
||||
if (id != LIST_CANCEL)
|
||||
{
|
||||
if (gUnknown_0203BCC4->unk666 != 0xFF)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user