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

View File

@@ -31,7 +31,7 @@ struct ListMenuTemplate
{
const struct ListMenuItem *items;
void (* moveCursorFunc)(s32 itemIndex, bool8 onInit, struct ListMenu *list);
void (* itemPrintFunc)(u8 windowId, s32 itemId, u8 y);
void (* itemPrintFunc)(u8 windowId, u32 itemId, u8 y);
u16 totalItems;
u16 maxShowed;
u8 windowId;