aboutsummaryrefslogtreecommitdiffstats
path: root/home/names.asm
diff options
context:
space:
mode:
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