summaryrefslogtreecommitdiff
path: root/constants/misc_constants.asm
diff options
context:
space:
mode:
Diffstat (limited to 'constants/misc_constants.asm')
-rw-r--r--constants/misc_constants.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm
index 03911c50..37cee638 100644
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -12,7 +12,11 @@ SET_FLAG EQU 1
CHECK_FLAG EQU 2
; G/S version ID: 0 = Gold, 1 = Silver (used by checkver)
+IF DEF(_GOLD)
GS_VERSION EQU 0
+ELIF DEF(_SILVER)
+GS_VERSION EQU 1
+ENDC
; save file corruption check values
SAVE_CHECK_VALUE_1 EQU 99