summaryrefslogtreecommitdiff
path: root/home/init.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/init.asm')
-rw-r--r--home/init.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/home/init.asm b/home/init.asm
index 0a31e69..5498b35 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
+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]