shithub: pokecrystal

Download patch

ref: 36e91c971cb3cc82927fa09f9f011aa6c3df0a23
parent: fb422e8d9c78c56db27d974baa04c7a16bf5df41
author: Adelaide Walter <adelaidekwalter@gmail.com>
date: Thu Jan 4 10:06:11 EST 2018

Fix stray hardcoded WRAM bank.

--- a/engine/dma_transfer.asm
+++ b/engine/dma_transfer.asm
@@ -119,7 +119,7 @@
 .unreferenced_1040da
 	ld a, $1
 	ld [rVBK], a
-	ld a, $3
+	ld a, BANK(w3_d800)
 	ld [rSVBK], a
 	ld de, w3_d800
 	ld a, [hBGMapAddress + 1]