mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Identify intro tilemaps and attrmaps
This commit is contained in:
parent
4aeab6b879
commit
3e7c7d5fff
@ -445,7 +445,7 @@ IntroScene1:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap001
|
||||
ld hl, IntroUnownAAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -456,18 +456,18 @@ IntroScene1:
|
||||
ld hl, IntroPulseGFX
|
||||
ld de, vTiles0 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap002
|
||||
ld hl, IntroUnownATilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -521,7 +521,7 @@ IntroScene3:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap003
|
||||
ld hl, IntroBackgroundAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -529,18 +529,18 @@ IntroScene3:
|
||||
ld hl, IntroBackgroundGFX
|
||||
ld de, vTiles2 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap004
|
||||
ld hl, IntroBackgroundTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -584,7 +584,7 @@ IntroScene5:
|
||||
ldh [hLCDCPointer], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap005
|
||||
ld hl, IntroUnownHIAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -595,18 +595,18 @@ IntroScene5:
|
||||
ld hl, IntroPulseGFX
|
||||
ld de, vTiles0 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap006
|
||||
ld hl, IntroUnownHITilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -682,7 +682,7 @@ IntroScene7:
|
||||
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap003
|
||||
ld hl, IntroBackgroundAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
|
||||
@ -700,7 +700,7 @@ IntroScene7:
|
||||
ld de, vTiles2 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
|
||||
ld hl, IntroTilemap004
|
||||
ld hl, IntroBackgroundTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
|
||||
@ -709,12 +709,12 @@ IntroScene7:
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -852,7 +852,7 @@ IntroScene11:
|
||||
ldh [hLCDCPointer], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap007
|
||||
ld hl, IntroUnownsAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -860,18 +860,18 @@ IntroScene11:
|
||||
ld hl, IntroUnownsGFX
|
||||
ld de, vTiles2 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap008
|
||||
ld hl, IntroUnownsTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette2
|
||||
ld hl, IntroUnownsPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -975,7 +975,7 @@ IntroScene13:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap003
|
||||
ld hl, IntroBackgroundAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -986,18 +986,18 @@ IntroScene13:
|
||||
ld hl, IntroBackgroundGFX
|
||||
ld de, vTiles2 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap004
|
||||
ld hl, IntroBackgroundTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette1
|
||||
ld hl, IntroBackgroundPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -1079,7 +1079,7 @@ IntroScene15:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap009
|
||||
ld hl, IntroSuicuneJumpAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -1094,7 +1094,7 @@ IntroScene15:
|
||||
ld hl, vTiles1 tile $00
|
||||
lb bc, BANK(IntroGrass4GFX), 1
|
||||
call Request2bpp
|
||||
ld hl, IntroTilemap010
|
||||
ld hl, IntroSuicuneJumpTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
call Intro_LoadTilemap
|
||||
@ -1102,11 +1102,11 @@ IntroScene15:
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette5
|
||||
ld hl, IntroSuicunePalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette5
|
||||
ld hl, IntroSuicunePalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -1161,7 +1161,7 @@ IntroScene17:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap011
|
||||
ld hl, IntroSuicuneCloseAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -1169,18 +1169,18 @@ IntroScene17:
|
||||
ld hl, IntroSuicuneCloseGFX
|
||||
ld de, vTiles1 tile $00
|
||||
call Intro_DecompressRequest2bpp_255Tiles
|
||||
ld hl, IntroTilemap012
|
||||
ld hl, IntroSuicuneCloseTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette4
|
||||
ld hl, IntroSuicuneClosePalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette4
|
||||
ld hl, IntroSuicuneClosePalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -1227,7 +1227,7 @@ IntroScene19:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap013
|
||||
ld hl, IntroSuicuneBackAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -1242,7 +1242,7 @@ IntroScene19:
|
||||
ld hl, vTiles1 tile $7f
|
||||
lb bc, BANK(IntroGrass4GFX), 1
|
||||
call Request2bpp
|
||||
ld hl, IntroTilemap014
|
||||
ld hl, IntroSuicuneBackTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
call Intro_LoadTilemap
|
||||
@ -1250,11 +1250,11 @@ IntroScene19:
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette5
|
||||
ld hl, IntroSuicunePalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette5
|
||||
ld hl, IntroSuicunePalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -1404,7 +1404,7 @@ IntroScene26:
|
||||
ldh [hBGMapMode], a
|
||||
ld a, $1
|
||||
ldh [rVBK], a
|
||||
ld hl, IntroTilemap015
|
||||
ld hl, IntroCrystalUnownsAttrmap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ld a, $0
|
||||
@ -1412,18 +1412,18 @@ IntroScene26:
|
||||
ld hl, IntroCrystalUnownsGFX
|
||||
ld de, vTiles2 tile $00
|
||||
call Intro_DecompressRequest2bpp_128Tiles
|
||||
ld hl, IntroTilemap017
|
||||
ld hl, IntroCrystalUnownsTilemap
|
||||
debgcoord 0, 0
|
||||
call Intro_DecompressRequest2bpp_64Tiles
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wBGPals1)
|
||||
ldh [rSVBK], a
|
||||
ld hl, IntroPalette3
|
||||
ld hl, IntroCrystalUnownsPalette
|
||||
ld de, wBGPals1
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
ld hl, IntroPalette3
|
||||
ld hl, IntroCrystalUnownsPalette
|
||||
ld de, wBGPals2
|
||||
ld bc, 16 palettes
|
||||
call CopyBytes
|
||||
@ -2038,14 +2038,14 @@ INCBIN "gfx/intro/pichu_wooper.2bpp.lz"
|
||||
IntroBackgroundGFX:
|
||||
INCBIN "gfx/intro/background.2bpp.lz"
|
||||
|
||||
IntroTilemap004:
|
||||
INCBIN "gfx/intro/004.tilemap.lz"
|
||||
IntroBackgroundTilemap:
|
||||
INCBIN "gfx/intro/background.tilemap.lz"
|
||||
|
||||
IntroTilemap003:
|
||||
INCBIN "gfx/intro/003.tilemap.lz"
|
||||
IntroBackgroundAttrmap:
|
||||
INCBIN "gfx/intro/background.attrmap.lz"
|
||||
|
||||
IntroPalette1:
|
||||
INCLUDE "gfx/intro/intro_1.pal"
|
||||
IntroBackgroundPalette:
|
||||
INCLUDE "gfx/intro/background.pal"
|
||||
|
||||
IntroUnownsGFX:
|
||||
INCBIN "gfx/intro/unowns.2bpp.lz"
|
||||
@ -2053,50 +2053,50 @@ INCBIN "gfx/intro/unowns.2bpp.lz"
|
||||
IntroPulseGFX:
|
||||
INCBIN "gfx/intro/pulse.2bpp.lz"
|
||||
|
||||
IntroTilemap002:
|
||||
INCBIN "gfx/intro/002.tilemap.lz"
|
||||
IntroUnownATilemap:
|
||||
INCBIN "gfx/intro/unown_a.tilemap.lz"
|
||||
|
||||
IntroTilemap001:
|
||||
INCBIN "gfx/intro/001.tilemap.lz"
|
||||
IntroUnownAAttrmap:
|
||||
INCBIN "gfx/intro/unown_a.attrmap.lz"
|
||||
|
||||
IntroTilemap006:
|
||||
INCBIN "gfx/intro/006.tilemap.lz"
|
||||
IntroUnownHITilemap:
|
||||
INCBIN "gfx/intro/unown_hi.tilemap.lz"
|
||||
|
||||
IntroTilemap005:
|
||||
INCBIN "gfx/intro/005.tilemap.lz"
|
||||
IntroUnownHIAttrmap:
|
||||
INCBIN "gfx/intro/unown_hi.attrmap.lz"
|
||||
|
||||
IntroTilemap008:
|
||||
INCBIN "gfx/intro/008.tilemap.lz"
|
||||
IntroUnownsTilemap:
|
||||
INCBIN "gfx/intro/unowns.tilemap.lz"
|
||||
|
||||
IntroTilemap007:
|
||||
INCBIN "gfx/intro/007.tilemap.lz"
|
||||
IntroUnownsAttrmap:
|
||||
INCBIN "gfx/intro/unowns.attrmap.lz"
|
||||
|
||||
IntroPalette2:
|
||||
INCLUDE "gfx/intro/intro_2.pal"
|
||||
IntroUnownsPalette:
|
||||
INCLUDE "gfx/intro/unowns.pal"
|
||||
|
||||
IntroCrystalUnownsGFX:
|
||||
INCBIN "gfx/intro/crystal_unowns.2bpp.lz"
|
||||
|
||||
IntroTilemap017:
|
||||
INCBIN "gfx/intro/017.tilemap.lz"
|
||||
IntroCrystalUnownsTilemap:
|
||||
INCBIN "gfx/intro/crystal_unowns.tilemap.lz"
|
||||
|
||||
IntroTilemap015:
|
||||
INCBIN "gfx/intro/015.tilemap.lz"
|
||||
IntroCrystalUnownsAttrmap:
|
||||
INCBIN "gfx/intro/crystal_unowns.attrmap.lz"
|
||||
|
||||
IntroPalette3:
|
||||
INCLUDE "gfx/intro/intro_3.pal"
|
||||
IntroCrystalUnownsPalette:
|
||||
INCLUDE "gfx/intro/crystal_unowns.pal"
|
||||
|
||||
IntroSuicuneCloseGFX:
|
||||
INCBIN "gfx/intro/suicune_close.2bpp.lz"
|
||||
|
||||
IntroTilemap012:
|
||||
INCBIN "gfx/intro/012.tilemap.lz"
|
||||
IntroSuicuneCloseTilemap:
|
||||
INCBIN "gfx/intro/suicune_close.tilemap.lz"
|
||||
|
||||
IntroTilemap011:
|
||||
INCBIN "gfx/intro/011.tilemap.lz"
|
||||
IntroSuicuneCloseAttrmap:
|
||||
INCBIN "gfx/intro/suicune_close.attrmap.lz"
|
||||
|
||||
IntroPalette4:
|
||||
INCLUDE "gfx/intro/intro_4.pal"
|
||||
IntroSuicuneClosePalette:
|
||||
INCLUDE "gfx/intro/suicune_close.pal"
|
||||
|
||||
IntroSuicuneJumpGFX:
|
||||
INCBIN "gfx/intro/suicune_jump.2bpp.lz"
|
||||
@ -2104,20 +2104,20 @@ INCBIN "gfx/intro/suicune_jump.2bpp.lz"
|
||||
IntroSuicuneBackGFX:
|
||||
INCBIN "gfx/intro/suicune_back.2bpp.lz"
|
||||
|
||||
IntroTilemap010:
|
||||
INCBIN "gfx/intro/010.tilemap.lz"
|
||||
IntroSuicuneJumpTilemap:
|
||||
INCBIN "gfx/intro/suicune_jump.tilemap.lz"
|
||||
|
||||
IntroTilemap009:
|
||||
INCBIN "gfx/intro/009.tilemap.lz"
|
||||
IntroSuicuneJumpAttrmap:
|
||||
INCBIN "gfx/intro/suicune_jump.attrmap.lz"
|
||||
|
||||
IntroTilemap014:
|
||||
INCBIN "gfx/intro/014.tilemap.lz"
|
||||
IntroSuicuneBackTilemap:
|
||||
INCBIN "gfx/intro/suicune_back.tilemap.lz"
|
||||
|
||||
IntroTilemap013:
|
||||
INCBIN "gfx/intro/013.tilemap.lz"
|
||||
IntroSuicuneBackAttrmap:
|
||||
INCBIN "gfx/intro/suicune_back.attrmap.lz"
|
||||
|
||||
IntroPalette5:
|
||||
INCLUDE "gfx/intro/intro_5.pal"
|
||||
IntroSuicunePalette:
|
||||
INCLUDE "gfx/intro/suicune.pal"
|
||||
|
||||
IntroUnownBackGFX:
|
||||
INCBIN "gfx/intro/unown_back.2bpp.lz"
|
||||
|
Loading…
Reference in New Issue
Block a user