diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2025-11-23 22:19:21 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-23 21:19:21 -0600 |
| commit | 308189b638d3dbed2283e041221b8db7d6063094 (patch) | |
| tree | a588912a560ed276dd39654e90d4b2d5cd5c3534 /home | |
| parent | Use more hardware and graphics constants (#532) (diff) | |
| download | pokeyellow-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.asm | 6 |
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 |
