You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Implement common tileset portion at second half of vTiles5: palette maps (#19)
This commit is contained in:
10
home/map.asm
10
home/map.asm
@@ -1342,7 +1342,7 @@ LoadTilesetGFX::
|
||||
|
||||
ld hl, wDecompressScratch + $80 tiles
|
||||
ld de, vTiles5
|
||||
ld bc, $80 tiles - (TILESET_FIXED_SPACES_SIZE + TILESET_VARIABLE_SPACES_SIZE)
|
||||
ld bc, $80 tiles - (TILESET_FIXED_SPACES_NUM_TILES + TILESET_VARIABLE_SPACES_NUM_TILES) tiles
|
||||
call CopyBytes
|
||||
|
||||
ldh a, [hROMBank]
|
||||
@@ -1356,8 +1356,8 @@ LoadTilesetGFX::
|
||||
call Decompress
|
||||
|
||||
ld hl, wDecompressScratch
|
||||
ld de, vTiles5 + $80 tiles - (TILESET_FIXED_SPACES_SIZE + TILESET_VARIABLE_SPACES_SIZE)
|
||||
ld bc, TILESET_FIXED_SPACES_SIZE
|
||||
ld de, vTiles5 + $80 tiles - (TILESET_FIXED_SPACES_NUM_TILES + TILESET_VARIABLE_SPACES_NUM_TILES) tiles
|
||||
ld bc, TILESET_FIXED_SPACES_NUM_TILES tiles
|
||||
call CopyBytes
|
||||
|
||||
ld hl, TilesetVariableSpacesPointers
|
||||
@@ -1373,8 +1373,8 @@ LoadTilesetGFX::
|
||||
call Decompress
|
||||
|
||||
ld hl, wDecompressScratch
|
||||
ld de, vTiles5 + $80 tiles - TILESET_VARIABLE_SPACES_SIZE
|
||||
ld bc, TILESET_VARIABLE_SPACES_SIZE
|
||||
ld de, vTiles5 + $80 tiles - TILESET_VARIABLE_SPACES_NUM_TILES tiles
|
||||
ld bc, TILESET_VARIABLE_SPACES_NUM_TILES tiles
|
||||
call CopyBytes
|
||||
|
||||
pop af
|
||||
|
Reference in New Issue
Block a user