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 /engine/battle/core.asm | |
| 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 'engine/battle/core.asm')
| -rw-r--r-- | engine/battle/core.asm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 0916176c..672bd416 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6841,17 +6841,7 @@ InitWildBattle: ld [hli], a ; write front sprite pointer ld [hl], b ld hl, wEnemyMonNick ; set name to "GHOST" - ld a, 'G' - ld [hli], a - ld a, 'H' - ld [hli], a - ld a, 'O' - ld [hli], a - ld a, 'S' - ld [hli], a - ld a, 'T' - ld [hli], a - ld [hl], '@' + ld_hli_a_string "GHOST@" ld a, [wCurPartySpecies] push af ld a, MON_GHOST |
