summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-08-09 14:03:48 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-08-09 14:03:48 -0400
commita75c6619fb933dc2d4c94b24394fb6fa9335b3b1 (patch)
tree6e90a61bcfa23f20358009d29eb8c2c38bcebe6a /engine
parentb7da8dbb0e2236f37e4b4c99b88598369da3a008 (diff)
Remove "; if DEBUG" comments for SECTIONs, and "if DEBUG" conditions since only the debug Gold ROM is built
Diffstat (limited to 'engine')
-rw-r--r--engine/predef.asm4
-rw-r--r--engine/title.asm9
2 files changed, 0 insertions, 13 deletions
diff --git a/engine/predef.asm b/engine/predef.asm
index c9293b4..92fed51 100644
--- a/engine/predef.asm
+++ b/engine/predef.asm
@@ -1,10 +1,6 @@
INCLUDE "constants.asm"
-; if DEBUG
SECTION "engine/predef.asm", ROMX
-; 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 c39abdd..5abeade 100644
--- a/engine/title.asm
+++ b/engine/title.asm
@@ -420,12 +420,8 @@ TitleSeq_TitleScreenInputAndTimeout::
jr .psbtn_nextseq
.psbtn_gotodebug
-if DEBUG
ld a, $01 ; DebugMenu
jr .psbtn_nextseq
-else
- ret
-endc
.psbtn_sramclear
ld a, $02
@@ -629,12 +625,7 @@ SetTitleGfxNext::
jr nz, .loop
ret
-; if DEBUG
SECTION "engine/title.asm@Title screen TEMPORARY", ROMX
-; else
-; SECTION "Title screen TEMPORARY", ROMX[$62A2], BANK[$01] ; TODO: merge this with the main section above
-; endc
-
GameInit::
call ClearWindowData