summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2017-04-03 19:51:38 -0700
committerGitHub <noreply@github.com>2017-04-03 19:51:38 -0700
commit0d062b49a6585378d424185b3590e52493964a61 (patch)
treef682e37d8f4c4764efd93a5a0c77a8cd22176a73
parenta30bbae4b5b6433941b7011b82e4aee1ae6916e1 (diff)
parent3541904411d4051fd7e0635d5f995cbe38dd0867 (diff)
Merge pull request #153 from strager/strager-fix-wrong-variable
Use correct variable in EngageMapTrainer
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index bfd73b31..94125da2 100644
--- a/home.asm
+++ b/home.asm
@@ -2528,7 +2528,7 @@ EngageMapTrainer::
ld a, [hli] ; load trainer class
ld [wEngagedTrainerClass], a
ld a, [hl] ; load trainer mon set
- ld [wEnemyMonAttackMod], a
+ ld [wEngagedTrainerSet], a
jp PlayTrainerMusic
PrintEndBattleText::