summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/global.h1
-rw-r--r--include/party_menu.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/constants/global.h b/include/constants/global.h
index 7c96de511..c7063d71c 100644
--- a/include/constants/global.h
+++ b/include/constants/global.h
@@ -67,6 +67,7 @@
#define FRONTIER_DOUBLES_PARTY_SIZE 4
#define FRONTIER_MULTI_PARTY_SIZE 2
#define MAX_FRONTIER_PARTY_SIZE FRONTIER_DOUBLES_PARTY_SIZE
+#define UNION_ROOM_PARTY_SIZE 2
// string lengths
#define ITEM_NAME_LENGTH 14
diff --git a/include/party_menu.h b/include/party_menu.h
index 126931762..7f51d08c9 100644
--- a/include/party_menu.h
+++ b/include/party_menu.h
@@ -24,8 +24,8 @@ extern struct PartyMenu gPartyMenu;
extern bool8 gPartyMenuUseExitCallback;
extern u8 gSelectedMonPartyId;
extern MainCallback gPostMenuFieldCallback;
-extern u8 gSelectedOrderFromParty[4];
-extern u8 gBattlePartyCurrentOrder[3];
+extern u8 gSelectedOrderFromParty[MAX_FRONTIER_PARTY_SIZE];
+extern u8 gBattlePartyCurrentOrder[PARTY_SIZE / 2];
extern void (*gItemUseCB)(u8, TaskFunc);