blob: 2d06705c72f4c6e832e26dcb4b10794fe9b25ef4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef POKEDIAMOND_PARTY_H
#define POKEDIAMOND_PARTY_H
#include "pokemon.h"
#include "save_block_2.h"
BOOL PartyHasMon(struct PlayerParty * party_p, u16 species);
int GetPartyCount(struct PlayerParty * party_p);
struct Pokemon * GetPartyMonByIndex(struct PlayerParty * party_p, int idx);
u32 SavArray_Party_sizeof(void);
struct PlayerParty * SavArray_Party_alloc(u32 heap_id);
void SavArray_Party_init(struct PlayerParty * party);
void InitPartyWithMaxSize(struct PlayerParty * party, int count);
BOOL AddMonToParty(struct PlayerParty * party, struct Pokemon * pokemon);
BOOL RemoveMonFromParty(struct PlayerParty * party, int pos);
void ReplacePartySlotWithMon(struct PlayerParty * party, int pos, struct Pokemon * pokemon);
BOOL SwapSlotsInParty(struct PlayerParty * party, int pos1, int pos2);
void CopyPlayerParty(struct PlayerParty * src, struct PlayerParty * dest);
struct PlayerParty * SavArray_PlayerParty_get(struct SaveBlock2 * ptr);
#endif //POKEDIAMOND_PARTY_H
|