diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-10-17 19:22:03 -0400 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-10-25 15:41:06 -0400 |
commit | 6db014cc32d28a64499af7d605be3a062560d5e0 (patch) | |
tree | 378d719659dd5a32b077bd6ee8140ccae6b2799c /src/menu_helpers.c | |
parent | 60a592a2c32d07d47c892204659a8576017584d1 (diff) |
Document party_menu first pass
Diffstat (limited to 'src/menu_helpers.c')
-rw-r--r-- | src/menu_helpers.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/menu_helpers.c b/src/menu_helpers.c index cb0d621c6..2b7a7f419 100644 --- a/src/menu_helpers.c +++ b/src/menu_helpers.c @@ -251,27 +251,27 @@ bool8 AdjustQuantityAccordingToDPadInput(s16 *arg0, u16 arg1) return FALSE; } -u8 GetLRKeysState(void) +u8 GetLRKeysPressed(void) { if (gSaveBlock2Ptr->optionsButtonMode == OPTIONS_BUTTON_MODE_LR) { if (gMain.newKeys & L_BUTTON) - return 1; + return MENU_L_PRESSED; if (gMain.newKeys & R_BUTTON) - return 2; + return MENU_R_PRESSED; } return 0; } -u8 sub_812210C(void) +u8 GetLRKeysPressedAndHeld(void) { if (gSaveBlock2Ptr->optionsButtonMode == OPTIONS_BUTTON_MODE_LR) { if (gMain.newAndRepeatedKeys & L_BUTTON) - return 1; + return MENU_L_PRESSED; if (gMain.newAndRepeatedKeys & R_BUTTON) - return 2; + return MENU_R_PRESSED; } return 0; |