summaryrefslogtreecommitdiff
path: root/pokered.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2011-12-21 14:23:37 -0700
committerIIMarckus <iimarckus@gmail.com>2011-12-21 14:23:37 -0700
commit64016fb1332413ff6ef3bf9ca250368ff92fec0c (patch)
treefe6d044807506829a6c45818711cfc4fddc5860c /pokered.asm
parentd637d149ccc272f419cfcda9564e07e7141979d4 (diff)
More text nulls.
hg-commit-id: e6826566b661
Diffstat (limited to 'pokered.asm')
-rw-r--r--pokered.asm11
1 files changed, 5 insertions, 6 deletions
diff --git a/pokered.asm b/pokered.asm
index f0c7df1a..ea404898 100644
--- a/pokered.asm
+++ b/pokered.asm
@@ -479,8 +479,7 @@ PlaceString: ; 1955
PlaceNextChar: ; 1956
ld a,[de]
- ; $50 ends a string
- cp $50
+ cp "@"
jr nz,.PlaceText\@
ld b,h
ld c,l
@@ -670,7 +669,7 @@ Char56Text:
Char5AText:
db "Enemy @"
Char4AText:
- db $E1,$E2,$50 ; PKMN
+ db $E1,$E2,"@" ; PKMN
Char55:
push de
@@ -713,7 +712,7 @@ Next1AA2:
ret
Char58Text:
- db $50
+ db "@"
Char51:
push de
@@ -1028,7 +1027,7 @@ GetMachineName:
add b
ld [de],a
inc de
- ld a,$50 ; text null
+ ld a,"@"
ld [de],a
pop af
@@ -4744,7 +4743,7 @@ SaveTrainerName: ; 7E4A
ld a,[hli]
ld [de],a
inc de
- cp $50
+ cp "@"
jr nz,.CopyCharacter\@
ret