diff options
author | camthesaxman <cameronghall@cox.net> | 2019-07-29 21:25:10 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2019-07-29 21:25:10 -0500 |
commit | cf0da4c3bb5658908275068591fe51fb6f2ce49d (patch) | |
tree | 5b27866fe839d0f2f7ae76e0f13580ecea2dd863 | |
parent | ea0dfce3c41c6348cfbea086c291ab19744def9a (diff) |
fix build
-rw-r--r-- | include/constants/battle.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/include/constants/battle.h b/include/constants/battle.h index c1d33fae8..c33e0abb4 100644 --- a/include/constants/battle.h +++ b/include/constants/battle.h @@ -264,19 +264,17 @@ #define MOVE_EFFECT_AFFECTS_USER 0x40 #define MOVE_EFFECT_CERTAIN 0x80 -enum -{ - BATTLE_TERRAIN_GRASS, - BATTLE_TERRAIN_LONG_GRASS, - BATTLE_TERRAIN_SAND, - BATTLE_TERRAIN_UNDERWATER, - BATTLE_TERRAIN_WATER, - BATTLE_TERRAIN_POND, - BATTLE_TERRAIN_MOUNTAIN, - BATTLE_TERRAIN_CAVE, - BATTLE_TERRAIN_BUILDING, - BATTLE_TERRAIN_PLAIN, -}; +// Battle terrain defines for gBattleTerrain. +#define BATTLE_TERRAIN_GRASS 0 +#define BATTLE_TERRAIN_LONG_GRASS 1 +#define BATTLE_TERRAIN_SAND 2 +#define BATTLE_TERRAIN_UNDERWATER 3 +#define BATTLE_TERRAIN_WATER 4 +#define BATTLE_TERRAIN_POND 5 +#define BATTLE_TERRAIN_MOUNTAIN 6 +#define BATTLE_TERRAIN_CAVE 7 +#define BATTLE_TERRAIN_BUILDING 8 +#define BATTLE_TERRAIN_PLAIN 9 #define TARGET_SELECTED_POKEMON 0 #define TARGET_SPECIAL (1 << 0) |