Add parentheses and case statements
This commit is contained in:
+4
-2
@@ -83,8 +83,8 @@
|
|||||||
#define MENU_DIR_RIGHT 2
|
#define MENU_DIR_RIGHT 2
|
||||||
#define MENU_DIR_LEFT -2
|
#define MENU_DIR_LEFT -2
|
||||||
|
|
||||||
#define SLOT_CONFIRM PARTY_SIZE
|
#define SLOT_CONFIRM (PARTY_SIZE)
|
||||||
#define SLOT_CANCEL PARTY_SIZE + 1
|
#define SLOT_CANCEL (PARTY_SIZE + 1)
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
@@ -1207,6 +1207,8 @@ static void HandleChooseMonSelection(u8 taskId, s8 *slotPtr)
|
|||||||
TryEnterMonForMinigame(taskId, (u8)*slotPtr);
|
TryEnterMonForMinigame(taskId, (u8)*slotPtr);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
case PARTY_ACTION_ABILITY_PREVENTS:
|
||||||
|
case PARTY_ACTION_SWITCHING:
|
||||||
PlaySE(SE_SELECT);
|
PlaySE(SE_SELECT);
|
||||||
Task_TryCreateSelectionWindow(taskId);
|
Task_TryCreateSelectionWindow(taskId);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user