shithub: pokered

Download patch

ref: 0d062b49a6585378d424185b3590e52493964a61
parent: a30bbae4b5b6433941b7011b82e4aee1ae6916e1
parent: 3541904411d4051fd7e0635d5f995cbe38dd0867
author: YamaArashi <YamaArashi@users.noreply.github.com>
date: Mon Apr 3 15:51:38 EDT 2017

Merge pull request #153 from strager/strager-fix-wrong-variable

Use correct variable in EngageMapTrainer

--- a/home.asm
+++ b/home.asm
@@ -2528,7 +2528,7 @@
 	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::