Closed lain-core closed 1 month ago
By the way: I have seen mixed use of checks for the JOY_NEW()
macro, and use of gMain.newKeys
. Is there a particular reason to use one or the other?
By the way: I have seen mixed use of checks for the
JOY_NEW()
macro, and use ofgMain.newKeys
. Is there a particular reason to use one or the other?
No idea, that question should be asked to PRET as they are the ones who are decompiling Emerald.
Resolves #35
Description
Carves out a few of the edge cases where the L button in L=A should be treated as L:
In the
tx_rac_menu
, the input is processed to determine the action, but if the user previously setL=A
in the settings menu, the case forA_BUTTON
is evaluated before the case forL_BUTTON
, rendering it impossible to go backwards in the menus. By adding a check for theA_BUTTON
case checking that theL_BUTTON
was not being pressed simultaneously, we can correctly route the user's input for the menu.options_plus_menu.c
because theA_BUTTON
case is not evaluated.In the
pokemon_summary_screen
, on theskills
menu, the A button has no effect in the Skills screen otherwise, and L=A users would otherwise be unable to see their Pokemon EVs.Discord contact info
hking0036