diff options
Diffstat (limited to 'include/constants')
| -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) | 
