From 2fd4f339b42c010191c199772b09ac34c580de94 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Tue, 23 Mar 2021 12:11:10 -0500 Subject: 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 --- include/exclusive_pokemon.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 include/exclusive_pokemon.h (limited to 'include/exclusive_pokemon.h') 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 -- cgit v1.2.3