summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--source/bank_02.asm4
2 files changed, 2 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 777e730..44b1de0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
/DMGAKVJ0.1
/disassembly
/build
-__pycache__
*.sav
*.gbc
*.map
diff --git a/source/bank_02.asm b/source/bank_02.asm
index 41844ab..4073698 100644
--- a/source/bank_02.asm
+++ b/source/bank_02.asm
@@ -28,7 +28,7 @@ text_char_print::
; Check if we've reached the end of the string
ld d, a
and e
- cp TX_END
+ cp LOW(TX_END)
jp z, farcall_ret
push hl
@@ -80,7 +80,7 @@ text_char_print::
; Check if the next character is a terminator
ld a, [hl+]
and [hl]
- cp TX_END
+ cp LOW(TX_END)
jp farcall_ret
; Returns: