change printItemFunc to use u32 instead of s32

also change a use of -2 to LIST_CANCEL
This commit is contained in:
Kurausukun
2021-06-18 00:15:45 -04:00
parent 8b59909ac5
commit 10c80230c4
9 changed files with 28 additions and 29 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ static void BagAction_Give(u8);
static void BagAction_Cancel(u8);
static void BagAction_UseInBattle(u8);
static void BagCursorMoved(s32, bool8, struct ListMenu *);
static void PrintItemQuantity(u8, s32, u8);
static void PrintItemQuantity(u8 windowId, u32 itemId, u8 y);
static void TossItem(u8);
static void DontTossItem(u8);
@@ -651,7 +651,7 @@ static void BagCursorMoved(s32 itemIndex, bool8 onInit, struct ListMenu *list)
}
}
static void PrintItemQuantity(u8 windowId, s32 itemIndex, u8 y)
static void PrintItemQuantity(u8 windowId, u32 itemIndex, u8 y)
{
s32 xAlign;
if (itemIndex == LIST_CANCEL)