summaryrefslogtreecommitdiff
path: root/home/init.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/init.asm')
-rw-r--r--home/init.asm14
1 files changed, 13 insertions, 1 deletions
diff --git a/home/init.asm b/home/init.asm
index 38c2a31..ef4b745 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -7,7 +7,19 @@ SECTION "Entry point", ROM0[$100]
SECTION "Global check value", ROM0[$14E]
; The ROM has an incorrect global check, so set it here
; It is not corrected by RGBFIX
- db $21, $C6
+if def(GOLD)
+if DEBUG
+ db $21, $C6
+else
+ db $7e, $49
+endc
+else
+if DEBUG
+ db $c9, $2f
+else
+ db $b1, $7a
+endc
+endc
SECTION "Init", ROM0[$52F]