mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-06 18:53:21 -05:00
22 lines
977 B
C
22 lines
977 B
C
#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
|