shithub: pokecrystal

Download patch

ref: a71901020bb71b37aa318e7c627fd18111504dee
parent: 7aa1c1f38840ba7873f05b762cebd6bd65941f79
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Aug 25 10:43:02 EDT 2018

These are signed offsets, not addresses (thanks, PikalaxALT)

--- a/engine/battle_anims/functions.asm
+++ b/engine/battle_anims/functions.asm
@@ -1619,7 +1619,7 @@
 	ld hl, BATTLEANIMSTRUCT_10
 	add hl, bc
 	ld e, [hl]
-	ld hl, hTransferVirtualOAM
+	ld hl, -$80
 	add hl, de
 	ld e, l
 	ld d, h
@@ -2116,7 +2116,7 @@
 	ld hl, BATTLEANIMSTRUCT_0F
 	add hl, bc
 	ld e, [hl]
-	ld hl, hTransferVirtualOAM
+	ld hl, -$80
 	add hl, de
 	ld e, l
 	ld d, h
@@ -3356,7 +3356,7 @@
 	ld hl, BATTLEANIMSTRUCT_0F
 	add hl, bc
 	ld e, [hl]
-	ld hl, hTransferVirtualOAM
+	ld hl, -$80
 	add hl, de
 	ld e, l
 	ld d, h