Converts more defines to enums and name unnamed enums (#7071)

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
This commit is contained in:
Bassoonian
2025-06-18 14:30:37 +02:00
committed by GitHub
parent 340d815c6d
commit 6333702461
29 changed files with 116 additions and 99 deletions

View File

@@ -314,7 +314,8 @@ Cry_Pecharunt::
Then we add the cry ID to [include/constants/cries.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/constants/cries.h):
```diff
enum {
enum PokemonCry
{
CRY_NONE,
...
#if P_FAMILY_TERAPAGOS
@@ -371,7 +372,8 @@ Edit [include/constants/pokedex.h](https://github.com/rh-hideout/pokeemerald-exp
```diff
// National Pokedex order
enum {
enum NationalDexOrder
{
NATIONAL_DEX_NONE,
// Kanto
NATIONAL_DEX_BULBASAUR,
@@ -394,7 +396,8 @@ Do keep in mind that if you intend to add your new species to the Hoenn Dex, you
```diff
// Hoenn Pokedex order
enum {
enum HoennDexOrder
{
HOENN_DEX_NONE,
HOENN_DEX_TREECKO,
...