summaryrefslogtreecommitdiff
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
parent38315f0c65e4a512386b3ffd3e914b4a54edda92 (diff)
parenta35856aa2f6d3003c974b3744952c8127bef3131 (diff)
Merge branch 'master' of github.com:mid-kid/pokepicross
-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: