summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2020-09-13 01:01:55 +0200
committermid-kid <esteve.varela@gmail.com>2020-09-13 01:01:55 +0200
commit4407d82012890c4dbcf3bc1977847a3862bcc97e (patch)
treeac3a5e38de0e212502252bbe54f6a04ca7a036e1 /source
parent38315f0c65e4a512386b3ffd3e914b4a54edda92 (diff)
parenta35856aa2f6d3003c974b3744952c8127bef3131 (diff)
Merge branch 'master' of github.com:mid-kid/pokepicross
Diffstat (limited to 'source')
-rw-r--r--source/bank_02.asm4
1 files changed, 2 insertions, 2 deletions
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: