summaryrefslogtreecommitdiff
path: root/include/party.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/party.h')
-rw-r--r--include/party.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/party.h b/include/party.h
new file mode 100644
index 00000000..b6065a3f
--- /dev/null
+++ b/include/party.h
@@ -0,0 +1,19 @@
+#ifndef POKEDIAMOND_PARTY_H
+#define POKEDIAMOND_PARTY_H
+
+#include "pokemon.h"
+
+#define PARTY_SIZE 6
+
+struct PlayerParty
+{
+ u32 maxCount;
+ u32 curCount;
+ struct Pokemon mons[PARTY_SIZE];
+};
+
+BOOL PartyHasMon(struct PlayerParty * party_p, u16 species);
+int GetPartyCount(struct PlayerParty * party_p);
+struct Pokemon * GetPartyMonByIndex(struct PlayerParty * party_p, int idx);
+
+#endif //POKEDIAMOND_PARTY_H