summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-12-18 19:12:09 -0500
committerGriffinR <griffin.richards@comcast.net>2019-12-18 19:12:09 -0500
commitd137a1a0c11737e1cbe9ca9fbeba74913ad63eab (patch)
treef00576bd84ce05da6a0d53e4c0e13aaf38ffaa53 /include
parent3b240b2ad4d02a14be9828f0be949131f6a8e58d (diff)
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