aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-23 22:19:21 -0500
committerGitHub <noreply@github.com>2025-11-23 21:19:21 -0600
commit308189b638d3dbed2283e041221b8db7d6063094 (patch)
treea588912a560ed276dd39654e90d4b2d5cd5c3534 /home
parentUse more hardware and graphics constants (#532) (diff)
downloadpokeyellow-308189b638d3dbed2283e041221b8db7d6063094.tar.gz
pokeyellow-308189b638d3dbed2283e041221b8db7d6063094.tar.xz
pokeyellow-308189b638d3dbed2283e041221b8db7d6063094.zip
Use `ld_hli_a_string` macro to make byte-by-byte strings more obvious (#540)
Diffstat (limited to 'home')
-rw-r--r--home/pokemon.asm6
1 files changed, 1 insertions, 5 deletions
diff --git a/home/pokemon.asm b/home/pokemon.asm
index d720a642..df984d00 100644
--- a/home/pokemon.asm
+++ b/home/pokemon.asm
@@ -320,11 +320,7 @@ PrintStatusCondition::
pop de
jr nz, PrintStatusConditionNotFainted
; if the pokemon's HP is 0, print "FNT"
- ld a, 'F'
- ld [hli], a
- ld a, 'N'
- ld [hli], a
- ld [hl], 'T'
+ ld_hli_a_string "FNT"
and a
ret