mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Expand blocks per tileset from 128 to 256 (#2)
This commit is contained in:
parent
1d64befdb7
commit
74b8214272
@ -147,12 +147,12 @@ LoadMetatiles::
|
|||||||
ld d, h
|
ld d, h
|
||||||
; Set hl to the address of the current metatile data ([wTilesetBlocksAddress] + (a) tiles).
|
; Set hl to the address of the current metatile data ([wTilesetBlocksAddress] + (a) tiles).
|
||||||
; BUG: LoadMetatiles wraps around past 128 blocks (see docs/bugs_and_glitches.md)
|
; BUG: LoadMetatiles wraps around past 128 blocks (see docs/bugs_and_glitches.md)
|
||||||
add a
|
|
||||||
ld l, a
|
ld l, a
|
||||||
ld h, 0
|
ld h, 0
|
||||||
add hl, hl
|
add hl, hl
|
||||||
add hl, hl
|
add hl, hl
|
||||||
add hl, hl
|
add hl, hl
|
||||||
|
add hl, hl
|
||||||
ld a, [wTilesetBlocksAddress]
|
ld a, [wTilesetBlocksAddress]
|
||||||
add l
|
add l
|
||||||
ld l, a
|
ld l, a
|
||||||
|
Loading…
Reference in New Issue
Block a user