aboutsummaryrefslogtreecommitdiffstats
path: root/data/player
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 /data/player
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 'data/player')
-rw-r--r--data/player/names_list.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/player/names_list.asm b/data/player/names_list.asm
index 786c1229..44f3c7f1 100644
--- a/data/player/names_list.asm
+++ b/data/player/names_list.asm
@@ -2,7 +2,7 @@
DefaultNamesPlayerList:
db "NEW NAME@"
- list_start
+ list_start PLAYER_NAME_LENGTH - 1
FOR n, 1, NUM_PLAYER_NAMES + 1
li #PLAYERNAME{d:n}
ENDR
@@ -10,7 +10,7 @@ ENDR
DefaultNamesRivalList:
db "NEW NAME@"
- list_start
+ list_start PLAYER_NAME_LENGTH - 1
FOR n, 1, NUM_PLAYER_NAMES + 1
li #RIVALNAME{d:n}
ENDR