summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/bank_00.asm2
-rw-r--r--source/bank_02.asm4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/bank_00.asm b/source/bank_00.asm
index 6c4a634..9e967ae 100644
--- a/source/bank_00.asm
+++ b/source/bank_00.asm
@@ -1379,7 +1379,7 @@ text_print::
ld a, [hl+]
ld d, a
and e
- cp LOW(TX_END)
+ cp TX_END
jr z, .loop
push bc
diff --git a/source/bank_02.asm b/source/bank_02.asm
index 07ecdf7..a15b070 100644
--- a/source/bank_02.asm
+++ b/source/bank_02.asm
@@ -28,7 +28,7 @@ textbox_print_char::
; Check if we've reached the end of the string
ld d, a
and e
- cp LOW(TX_END)
+ cp TX_END
jp z, farcall_ret
push hl
@@ -80,7 +80,7 @@ textbox_print_char::
; Check if the next character is a terminator
ld a, [hl+]
and [hl]
- cp LOW(TX_END)
+ cp TX_END
jp farcall_ret
; Returns: