Doesn't compile on some compilers (#5099)

the u8 should be brought back once we remove agbcc.
This commit is contained in:
Alex
2024-08-06 00:12:55 +02:00
committed by GitHub
parent 12351d520d
commit 745db06dc8

View File

@@ -246,13 +246,7 @@
#define EVOLUTIONS_END 0xFFFF // Not an actual evolution, used to mark the end of an evolution array.
#define EVO_NONE 0xFFFE // Not an actual evolution, used to generate offspring that can't evolve into the specified species, like regional forms.
#if MODERN
#define U8_ENUM : u8
#else
#define U8_ENUM
#endif
enum EvolutionMethods U8_ENUM {
enum EvolutionMethods {
EVO_FRIENDSHIP, // Pokémon levels up with friendship ≥ 220
EVO_FRIENDSHIP_DAY, // Pokémon levels up during the day with friendship ≥ 220
EVO_FRIENDSHIP_NIGHT, // Pokémon levels up at night with friendship ≥ 220
@@ -307,7 +301,7 @@ enum EvolutionMethods U8_ENUM {
EVO_OVERWORLD_STEPS, // Pokémon levels up after having taken a specific amount of steps in the overworld
};
enum EvolutionMode U8_ENUM {
enum EvolutionMode {
EVO_MODE_NORMAL,
EVO_MODE_CANT_STOP,
EVO_MODE_TRADE,