Merge pull request #1019 from GriffinRichards/constants-party
Add misc party constant usage
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user