shithub: pokered

Download patch

ref: 26d279b5515446e444089ce727b3eda3122721b5
parent: 941d2b9eb8a59b42ea71a08b34b25c06477cf36d
author: IIMarckus <iimarckus@gmail.com>
date: Sun May 31 05:15:52 EDT 2015

Fix a hardcoded value by replacing it with a variable.

--- a/engine/battle/trainer_ai.asm
+++ b/engine/battle/trainer_ai.asm
@@ -808,7 +808,7 @@
 	ld a,[hl]
 	push af
 	push hl
-	ld a,$AF
+	ld a,ANIM_AF
 	ld [hli],a
 	ld [hl],b
 	callab StatModifierUpEffect