Document party_menu first pass

This commit is contained in:
GriffinR
2019-10-17 19:22:03 -04:00
parent 60a592a2c3
commit 6db014cc32
92 changed files with 3119 additions and 2815 deletions

View File

@@ -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;