blob: 17bb8eff18bd12354d02448384dd646527bb9d5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#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
|