aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVortyne <104168801+Vortyne@users.noreply.github.com>2024-09-09 20:22:58 -0400
committerGitHub <noreply@github.com>2024-09-09 20:22:58 -0400
commit1f6e2bf999401b9444f939bb40c1eb279bc51829 (patch)
tree15abbca9456ae050fd37354d650807a06a434cf3
parentUse long option flags for rgbgfx, same as tools/gfx (diff)
downloadpokeyellow-1f6e2bf999401b9444f939bb40c1eb279bc51829.tar.gz
pokeyellow-1f6e2bf999401b9444f939bb40c1eb279bc51829.tar.xz
pokeyellow-1f6e2bf999401b9444f939bb40c1eb279bc51829.zip
Use correct label in get_trainer_name.asm (#461)
-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 82be49e0..beed3291 100644
--- a/engine/battle/get_trainer_name.asm
+++ b/engine/battle/get_trainer_name.asm
@@ -1,5 +1,5 @@
GetTrainerName_::
- ld hl, wGrassRate
+ ld hl, wLinkEnemyTrainerName
ld a, [wLinkState]
and a
jr nz, .foundName