mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-25 07:29:01 -05:00
19 lines
659 B
C
19 lines
659 B
C
#ifndef POKEPLATINUM_CONTEST_H
|
|
#define POKEPLATINUM_CONTEST_H
|
|
|
|
#include "constants/contests.h"
|
|
#include "generated/pokemon_contest_types.h"
|
|
|
|
#include "savedata.h"
|
|
|
|
typedef struct LinkContestRecords {
|
|
u16 contestPlacement[CONTEST_TYPE_MAX][CONTEST_NUM_PARTICIPANTS];
|
|
} LinkContestRecords;
|
|
|
|
int LinkContestRecords_SaveSize(void);
|
|
void LinkContestRecords_Init(LinkContestRecords *linkContestRecords);
|
|
void LinkContestRecords_IncrementSavaData(SaveData *saveData, enum PokemonContestType contestType, int placement);
|
|
u16 LinkContestRecords_GetSavaData(SaveData *saveData, enum PokemonContestType contestType, int placement);
|
|
|
|
#endif // POKEPLATINUM_CONTEST_H
|