summaryrefslogtreecommitdiff
path: root/engine/battle/get_trainer_name.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-12-06 16:08:20 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-12-06 16:08:20 -0500
commit6ddc025942a03802acf6a2731d7b46f2672ae74f (patch)
tree97cf0f4bca92254f5e6d32bd78505bca9f6cda94 /engine/battle/get_trainer_name.asm
parentc3911c80cf8400f81518532c13912c647b81b880 (diff)
engine/battle/trainer_ai.asm
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 bbc577b3..cacf7ee8 100644
--- a/engine/battle/get_trainer_name.asm
+++ b/engine/battle/get_trainer_name.asm
@@ -4,7 +4,7 @@ GetTrainerName_: ; f67a5 (3d:67a5)
and a
jr nz, .foundName
ld hl, wRivalName
- ld a, [W_TRAINERCLASS]
+ ld a, [wTrainerClass]
cp SONY1
jr z, .foundName
cp SONY2