summaryrefslogtreecommitdiff
path: root/include/constants/vars.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-14 19:58:38 -0400
committerGitHub <noreply@github.com>2020-07-14 19:58:38 -0400
commit3c356a1d7af543d84c06f28f670b6ddc4b27fdd6 (patch)
treeeb8f0ae6435b7fe9515928f6fedba5c872aa5827 /include/constants/vars.h
parent6f3c7925775bedb2195c9be03ab38a3fcee23836 (diff)
parentbeeb673ba16e02cacadb2de0ee3608d2106ed14a (diff)
Merge pull request #1082 from GriffinRichards/add-flagvarsave
Allow flag/var counts to be updated alongside values
Diffstat (limited to 'include/constants/vars.h')
-rw-r--r--include/constants/vars.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/constants/vars.h b/include/constants/vars.h
index 4a38bde81..625c37aa9 100644
--- a/include/constants/vars.h
+++ b/include/constants/vars.h
@@ -274,6 +274,7 @@
#define VAR_UNUSED_0x40FF 0x40FF // Unused Var
#define VARS_END 0x40FF
+#define VARS_COUNT (VARS_END - VARS_START + 1)
#define SPECIAL_VARS_START 0x8000
// special vars