mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-28 12:57:19 -05:00
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:
@@ -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,
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user