summaryrefslogtreecommitdiff
path: root/home/init.asm
diff options
context:
space:
mode:
authorEldred Habert <eldredhabert0@gmail.com>2018-06-03 20:32:40 +0200
committerGitHub <noreply@github.com>2018-06-03 20:32:40 +0200
commit63ee9c801200b64108dbfcfbc31fe2f5eda975c9 (patch)
treec9b94852c7bb0d7e107b6b84c3c7103e08e5efb0 /home/init.asm
parent3a7ac51071ad9f3ae277046c29d7482b56754d1d (diff)
parent02051b9e0e213fb7d2e349e3cce220bb7a983472 (diff)
Merge pull request #2 from PikalaxALT/build_more_roms
Build all four ROMs in the dump
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]