aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/misc.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 /engine/battle/misc.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 'engine/battle/misc.asm')
-rw-r--r--engine/battle/misc.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/misc.asm b/engine/battle/misc.asm
index 66675dbf..3deebc61 100644
--- a/engine/battle/misc.asm
+++ b/engine/battle/misc.asm
@@ -17,7 +17,7 @@ FormatMovesString:
ld hl, wNameBuffer
.copyNameLoop
ld a, [hli]
- cp "@"
+ cp '@'
jr z, .doneCopyingName
ld [de], a
inc de
@@ -26,7 +26,7 @@ FormatMovesString:
ld a, b
ld [wNumMovesMinusOne], a
inc b
- ld a, "<NEXT>"
+ ld a, '<NEXT>'
ld [de], a
inc de
pop hl
@@ -35,19 +35,19 @@ FormatMovesString:
jr z, .done
jr .printMoveNameLoop
.printDashLoop
- ld a, "-"
+ ld a, '-'
ld [de], a
inc de
inc b
ld a, b
cp NUM_MOVES
jr z, .done
- ld a, "<NEXT>"
+ ld a, '<NEXT>'
ld [de], a
inc de
jr .printDashLoop
.done
- ld a, "@"
+ ld a, '@'
ld [de], a
ret