Document party_menu first pass
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user