diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-03-23 12:11:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 12:11:10 -0500 |
commit | 2fd4f339b42c010191c199772b09ac34c580de94 (patch) | |
tree | e562899f35861ece70c292602fe6aac2f50906bf /include/exclusive_pokemon.h | |
parent | 7b142311a7294c4c7a943870fa5f24f0fbea604a (diff) |
Miscellaneous Work (Again) (#31)
* move some personality data from asm to C
* combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu
* decomp some more wonder mail funcs and label some more data
* lots of data splitting and move some to src
* split out more dungeon data
* continue splitting out more dungeon data
* doc rescue team rank/pts funcs/data and exclusive pokemon ewram
* doc more sound things and decomp a func
* decomp LoadTeamRankBadge and label some data members
* split out rescue team and text util stuff
* forgot a constant
* match a few funcs and clean up a few
* cleaned up sub_80A28B4
Diffstat (limited to 'include/exclusive_pokemon.h')
-rw-r--r-- | include/exclusive_pokemon.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/exclusive_pokemon.h b/include/exclusive_pokemon.h new file mode 100644 index 0000000..47df2a8 --- /dev/null +++ b/include/exclusive_pokemon.h @@ -0,0 +1,38 @@ +#ifndef EXCLUSIVE_POKEMON_H +#define EXCLUSIVE_POKEMON_H + +#define NUM_EXCLUSIVE_POKEMON 12 + +struct ExclusivePokemon +{ + u16 poke_id; + bool8 in_rrt; // red rescue team + bool8 in_brt; // blue rescue team +}; + +struct ExclusivePokemonData +{ + u8 fill0[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, \ +} + + +void LoadExclusivePokemon(void); +struct ExclusivePokemonData *GetExclusivePokemon(void); +void InitializeExclusivePokemon(void); + +#endif // EXCLUSIVE_POKEMON_H |