pmd-red/include/exclusive_pokemon.h
Seth Barberee 4fc272fea6
No wifi + 2 days on train = more decomp (#80)
* No wifi + 2 days on train = more decomp

* layin some more

* one func, one file
2021-12-01 14:33:06 -08:00

42 lines
960 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];
/* 0x58 */ 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);
void UnlockExclusivePokemon(s16 pokeID);
#endif // GUARD_EXCLUSIVE_POKEMON_H