diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2019-12-20 23:40:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 23:40:12 -0800 |
commit | d42ea06dc5ade2209fb84ffedafd33de3fbc9cd1 (patch) | |
tree | d4109c9287dfad47e1548c90c9c63f6510cfaa23 /include/constants/vars.h | |
parent | e4e3d439dcb7dedf0fd3da17d82120303ca10f5b (diff) | |
parent | 9e08cfe55f632fd749ce64c0e54eb93bd10926dc (diff) |
Merge pull request #939 from GriffinRichards/fix-compare
Use constants in compare macro
Diffstat (limited to 'include/constants/vars.h')
-rw-r--r-- | include/constants/vars.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/constants/vars.h b/include/constants/vars.h index d2782116f..7f622b6e3 100644 --- a/include/constants/vars.h +++ b/include/constants/vars.h @@ -273,7 +273,9 @@ #define VAR_UNUSED_0x40FE 0x40FE // Unused Var #define VAR_UNUSED_0x40FF 0x40FF // Unused Var -#define SPECIAL_VARS_START 0x8000 +#define VARS_END 0x40FF + +#define SPECIAL_VARS_START 0x8000 // special vars // They are commonly used as parameters to commands, or return values from commands. #define VAR_0x8000 0x8000 @@ -299,4 +301,6 @@ #define VAR_UNUSED_0x8014 0x8014 #define VAR_TRAINER_BATTLE_OPPONENT_A 0x8015 // Alias of gTrainerBattleOpponent_A +#define SPECIAL_VARS_END 0x8015 + #endif // GUARD_CONSTANTS_VARS_H |