diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-14 17:03:39 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-14 17:03:39 -0400 |
commit | 8ce183851366b01c1bda5b2272f95e27ae7ef2fd (patch) | |
tree | 8c6b0b3f57b1f8449012c637297559866ce3eec7 /include/party.h | |
parent | 654acf33f071db80179fa556097f5663ca4dc311 (diff) |
through FUN_02069CF4
Diffstat (limited to 'include/party.h')
-rw-r--r-- | include/party.h | 19 |
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 |