Identify intro tilemaps and attrmaps

This commit is contained in:
Rangi 2019-11-03 13:28:53 -05:00
parent 4aeab6b879
commit 3e7c7d5fff
38 changed files with 82 additions and 82 deletions

View File

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