aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/get_trainer_name.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-12-15 15:16:40 -0500
committerGitHub <noreply@github.com>2025-12-15 15:16:40 -0500
commitd79c578abd993f7eee4e85462a8cd5b7c4e14646 (patch)
treedd89e07a471a12cd6eb731bf559d73940c07b444 /engine/battle/get_trainer_name.asm
parentComment more unreferenced local labels (#550) (diff)
downloadpokeyellow-d79c578abd993f7eee4e85462a8cd5b7c4e14646.tar.gz
pokeyellow-d79c578abd993f7eee4e85462a8cd5b7c4e14646.tar.xz
pokeyellow-d79c578abd993f7eee4e85462a8cd5b7c4e14646.zip
Specify a max item length for `list_start` (#552)
Diffstat (limited to 'engine/battle/get_trainer_name.asm')
-rw-r--r--engine/battle/get_trainer_name.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/get_trainer_name.asm b/engine/battle/get_trainer_name.asm
index a0e869fc..1983b08a 100644
--- a/engine/battle/get_trainer_name.asm
+++ b/engine/battle/get_trainer_name.asm
@@ -20,5 +20,5 @@ GetTrainerName_::
ld hl, wNameBuffer
.foundName
ld de, wTrainerName
- ld bc, ITEM_NAME_LENGTH
+ ld bc, TRAINER_NAME_LENGTH
jp CopyData