summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-12-20 23:40:12 -0800
committerGitHub <noreply@github.com>2019-12-20 23:40:12 -0800
commitd42ea06dc5ade2209fb84ffedafd33de3fbc9cd1 (patch)
treed4109c9287dfad47e1548c90c9c63f6510cfaa23 /include
parente4e3d439dcb7dedf0fd3da17d82120303ca10f5b (diff)
parent9e08cfe55f632fd749ce64c0e54eb93bd10926dc (diff)
Merge pull request #939 from GriffinRichards/fix-compare
Use constants in compare macro
Diffstat (limited to 'include')
-rw-r--r--include/constants/vars.h6
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