diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-08 10:38:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 10:38:29 -0400 |
commit | e26f9d10d7bebee5ea512fc4729ce6adafec66a0 (patch) | |
tree | b868ba0c0b0618c38064037d840c52971ca10111 /src/main_menu.c | |
parent | 6012cf43cbfc27e37fedae41136e13a62ccdd61c (diff) | |
parent | 6e62c057f5123b458ebc7d74e60c7ce8fb32e980 (diff) |
Merge pull request #1509 from GriffinRichards/doc-sprman
Document remaining symbols in pokemon.c
Diffstat (limited to 'src/main_menu.c')
-rw-r--r-- | src/main_menu.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main_menu.c b/src/main_menu.c index a60cf1a28..f6dff3d44 100644 --- a/src/main_menu.c +++ b/src/main_menu.c @@ -161,10 +161,7 @@ * - Destroys itself when done. */ -// These two defines are used with the sCurrItemAndOptionsMenuCheck, -// to distinguish between its two parts. -#define OPTION_MENU_FLAG 0x8000 -#define CURRENT_ITEM_MASK 0x7FFF +#define OPTION_MENU_FLAG (1 << 15) // Static type declarations @@ -685,7 +682,7 @@ static void Task_MainMenuCheckSaveFile(u8 taskId) break; } } - sCurrItemAndOptionMenuCheck &= CURRENT_ITEM_MASK; // turn off the "returning from options menu" flag + sCurrItemAndOptionMenuCheck &= ~OPTION_MENU_FLAG; // turn off the "returning from options menu" flag tCurrItem = sCurrItemAndOptionMenuCheck; tItemCount = tMenuType + 2; } |