shithub: pokecrystal

Download patch

ref: f81add782affc2ca3b196e0beb98e9c89d0f09ff
parent: fa3192e3da7e3ce9550b40a2ab2c3640c996ea46
author: Rangi <[email protected]>
date: Mon Jan 22 14:29:22 EST 2018

$20 is BG_MAP_WIDTH

--- a/engine/crystal_intro.asm
+++ b/engine/crystal_intro.asm
@@ -1860,11 +1860,10 @@
 	inc de
 	dec c
 	jr nz, .col
-	; add hl, $20 - SCREEN_WIDTH
-	ld a, $20 - SCREEN_WIDTH
+	ld a, BG_MAP_WIDTH - SCREEN_WIDTH
 	add l
 	ld l, a
-	ld a, $0
+	ld a, 0
 	adc h
 	ld h, a
 	dec b