summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-06-02 20:16:37 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-06-02 20:16:37 -0400
commit956d010d59ad225bea768aec172ccb56977b1775 (patch)
tree4385f7c50ebb09e747f9e2cac4bc900d925060d4 /engine
parent513028a98e6225e39c53ea64e4f9c483b3abd55b (diff)
Make the repository build all four ROMs
Diffstat (limited to 'engine')
-rw-r--r--engine/predef.asm4
-rw-r--r--engine/title.asm4
2 files changed, 8 insertions, 0 deletions
diff --git a/engine/predef.asm b/engine/predef.asm
index 8210266..14de69f 100644
--- a/engine/predef.asm
+++ b/engine/predef.asm
@@ -1,6 +1,10 @@
INCLUDE "constants.asm"
+if DEBUG
SECTION "Predef pointers", ROMX[$62B0], BANK[$01]
+else
+SECTION "Predef pointers", ROMX[$62AD], BANK[$01]
+endc
GetPredefPointer:: ; 1:62b0
ld a, h
diff --git a/engine/title.asm b/engine/title.asm
index 2ddaa44..961b83b 100644
--- a/engine/title.asm
+++ b/engine/title.asm
@@ -6,7 +6,11 @@ IntroSequence:: ; 5d8c
; TODO
+if DEBUG
SECTION "Title screen TEMPORARY", ROMX[$62A5],BANK[1] ; TODO: merge this with the main section above
+else
+SECTION "Title screen TEMPORARY", ROMX[$62A2],BANK[1] ; TODO: merge this with the main section above
+endc
GameInit:: ; 62a5
call ClearWindowData