aboutsummaryrefslogtreecommitdiffstats
path: root/home/names.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-12 15:44:07 -0500
committerGitHub <noreply@github.com>2025-11-12 15:44:07 -0500
commit5943b96cf6d5eda52df2ad689af0ac251e4e0841 (patch)
tree1e90b28cfce0c0876ad7f9886fb2ad405478fd39 /home/names.asm
parentUse the same tools/make_patch.c as Gen 2 (diff)
downloadpokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.gz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.xz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.zip
Use features of RGBDS 1.0.0 (#537)
Diffstat (limited to 'home/names.asm')
-rw-r--r--home/names.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/names.asm b/home/names.asm
index 5848cb19..4b6f6903 100644
--- a/home/names.asm
+++ b/home/names.asm
@@ -16,7 +16,7 @@ GetMonName::
ld bc, NAME_LENGTH - 1
call CopyData
ld hl, wNameBuffer + NAME_LENGTH - 1
- ld [hl], "@"
+ ld [hl], '@'
pop de
pop af
ldh [hLoadedROMBank], a
@@ -74,7 +74,7 @@ GetMachineName::
; now get the machine number and convert it to text
ld a, [wNamedObjectIndex]
sub TM01 - 1
- ld b, "0"
+ ld b, '0'
.FirstDigit
sub 10
jr c, .SecondDigit
@@ -87,11 +87,11 @@ GetMachineName::
ld [de], a
inc de
pop af
- ld b, "0"
+ ld b, '0'
add b
ld [de], a
inc de
- ld a, "@"
+ ld a, '@'
ld [de], a
pop af
ld [wNamedObjectIndex], a