mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
$20 is BG_MAP_WIDTH
This commit is contained in:
parent
fa3192e3da
commit
f81add782a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user