diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-08-03 02:17:01 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-08-10 22:13:02 -0400 |
commit | 28a8fe191af71a71d45afb93480dc59f98e790cf (patch) | |
tree | 7b996bdea556925c90e0c9b157f906c3c5d572dc /include/menu_helpers.h | |
parent | d391486247cc9f29d85787d6711f7cb993cf6585 (diff) |
Document item menu
Diffstat (limited to 'include/menu_helpers.h')
-rw-r--r-- | include/menu_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/menu_helpers.h b/include/menu_helpers.h index 9909437a2..b9b9e2d80 100644 --- a/include/menu_helpers.h +++ b/include/menu_helpers.h @@ -28,13 +28,13 @@ void CreateYesNoMenuWithCallbacks(u8 taskId, const struct WindowTemplate *templa bool8 AdjustQuantityAccordingToDPadInput(s16 *arg0, u16 arg1); u8 GetLRKeysPressed(void); u8 GetLRKeysPressedAndHeld(void); -bool8 sub_8122148(u16 itemId); +bool8 IsHoldingItemAllowed(u16 itemId); bool8 IsWritingMailAllowed(u16 itemId); bool8 MenuHelpers_LinkSomething(void); bool8 MenuHelpers_CallLinkSomething(void); void sub_812220C(struct ItemSlot *slots, u8 count, u8 *arg2, u8 *usedSlotsCount, u8 maxUsedSlotsCount); void sub_812225C(u16 *scrollOffset, u16 *cursorPos, u8 maxShownItems, u8 numItems); -void sub_8122298(u16 *arg0, u16 *arg1, u8 arg2, u8 arg3, u8 arg4); +void SetCursorScrollWithinListBounds(u16 *scrollOffset, u16 *cursorPos, u8 shownItems, u8 totalItems, u8 maxShownItems); void LoadListMenuSwapLineGfx(void); void CreateSwapLineSprites(u8 *spriteIds, u8 count); void DestroySwapLineSprites(u8 *spriteIds, u8 count); |