mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-01-18 14:38:25 +13:00
More text nulls.
hg-commit-id: e6826566b661
This commit is contained in:
parent
d637d149cc
commit
64016fb133
11
pokered.asm
11
pokered.asm
|
|
@ -479,8 +479,7 @@ PlaceString: ; 1955
|
||||||
PlaceNextChar: ; 1956
|
PlaceNextChar: ; 1956
|
||||||
ld a,[de]
|
ld a,[de]
|
||||||
|
|
||||||
; $50 ends a string
|
cp "@"
|
||||||
cp $50
|
|
||||||
jr nz,.PlaceText\@
|
jr nz,.PlaceText\@
|
||||||
ld b,h
|
ld b,h
|
||||||
ld c,l
|
ld c,l
|
||||||
|
|
@ -670,7 +669,7 @@ Char56Text:
|
||||||
Char5AText:
|
Char5AText:
|
||||||
db "Enemy @"
|
db "Enemy @"
|
||||||
Char4AText:
|
Char4AText:
|
||||||
db $E1,$E2,$50 ; PKMN
|
db $E1,$E2,"@" ; PKMN
|
||||||
|
|
||||||
Char55:
|
Char55:
|
||||||
push de
|
push de
|
||||||
|
|
@ -713,7 +712,7 @@ Next1AA2:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Char58Text:
|
Char58Text:
|
||||||
db $50
|
db "@"
|
||||||
|
|
||||||
Char51:
|
Char51:
|
||||||
push de
|
push de
|
||||||
|
|
@ -1028,7 +1027,7 @@ GetMachineName:
|
||||||
add b
|
add b
|
||||||
ld [de],a
|
ld [de],a
|
||||||
inc de
|
inc de
|
||||||
ld a,$50 ; text null
|
ld a,"@"
|
||||||
ld [de],a
|
ld [de],a
|
||||||
|
|
||||||
pop af
|
pop af
|
||||||
|
|
@ -4744,7 +4743,7 @@ SaveTrainerName: ; 7E4A
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
ld [de],a
|
ld [de],a
|
||||||
inc de
|
inc de
|
||||||
cp $50
|
cp "@"
|
||||||
jr nz,.CopyCharacter\@
|
jr nz,.CopyCharacter\@
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue