mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-25 07:28:17 -05:00
* death by 74 files * 20% reached * doc move stuff in pokemon * fix undef reference * doc more and plumb a few more constanst for num party members and num moves * that struct is def PokemonMove.. clean up all code with it
41 lines
908 B
C
41 lines
908 B
C
#ifndef GUARD_EXCLUSIVE_POKEMON_H
|
|
#define GUARD_EXCLUSIVE_POKEMON_H
|
|
|
|
#define NUM_EXCLUSIVE_POKEMON 12
|
|
|
|
struct ExclusivePokemon
|
|
{
|
|
s16 poke_id;
|
|
bool8 in_rrt; // red rescue team
|
|
bool8 in_brt; // blue rescue team
|
|
};
|
|
|
|
struct ExclusivePokemonData
|
|
{
|
|
u8 fill0[0x48];
|
|
u32 unk48[4];
|
|
bool8 Exclusives[NUM_EXCLUSIVE_POKEMON];
|
|
};
|
|
|
|
#define RED_EXCLUSIVE(species) \
|
|
{ \
|
|
.poke_id = species, \
|
|
.in_rrt = TRUE, \
|
|
.in_brt = FALSE, \
|
|
}
|
|
|
|
#define BLUE_EXCLUSIVE(species) \
|
|
{ \
|
|
.poke_id = species, \
|
|
.in_rrt = FALSE, \
|
|
.in_brt = TRUE, \
|
|
}
|
|
|
|
extern struct ExclusivePokemonData *gUnknown_203B498;
|
|
|
|
void LoadExclusivePokemon(void);
|
|
struct ExclusivePokemonData *GetExclusivePokemon(void);
|
|
void InitializeExclusivePokemon(void);
|
|
|
|
#endif // GUARD_EXCLUSIVE_POKEMON_H
|