$20 is BG_MAP_WIDTH

This commit is contained in:
Rangi 2018-01-22 19:29:22 -05:00
parent fa3192e3da
commit f81add782a

View File

@ -1860,11 +1860,10 @@ Intro_LoadTilemap: ; e541b (39:541b)
inc de inc de
dec c dec c
jr nz, .col jr nz, .col
; add hl, $20 - SCREEN_WIDTH ld a, BG_MAP_WIDTH - SCREEN_WIDTH
ld a, $20 - SCREEN_WIDTH
add l add l
ld l, a ld l, a
ld a, $0 ld a, 0
adc h adc h
ld h, a ld h, a
dec b dec b