Split cgb_misc into credits roll and photographer

This commit is contained in:
Pierre de La Morinerie 2021-04-05 06:56:06 +00:00
parent f87c4b2050
commit 74773942ed
13 changed files with 18 additions and 18 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -4654,8 +4654,8 @@ IF __PATCH_1__
jr .both
.cgbOnly
ld a, BANK(CgbMiscTiles)
ld hl, CgbMiscTiles + $1100
ld a, BANK(CreditsRollTiles)
ld hl, CreditsRollTiles + $100
.both
ld [MBC3SelectBank], a
@ -4663,9 +4663,9 @@ IF __PATCH_1__
ld bc, TILE_SIZE * $70
call CopyData
ld a, BANK(CgbMiscTiles)
ld a, BANK(CreditsRollTiles)
ld [MBC3SelectBank], a
ld hl, CgbMiscTiles + $10c0
ld hl, CreditsRollTiles + $0c0
ld de, vTiles0 + $C0
ld bc, TILE_SIZE * $4
jp CopyData
@ -4679,9 +4679,9 @@ ELSE
jp CopyData ; $2B5E: $C3 $14 $29
.cgbOnly
ld a, BANK(CgbMiscTiles) ; $2B61: $3E $38
ld a, BANK(CreditsRollTiles) ; $2B61: $3E $38
ld [MBC3SelectBank], a ; $2B63: $EA $00 $21
ld hl, CgbMiscTiles + $1000 ; $2B66: $21 $00 $50
ld hl, CreditsRollTiles ; $2B66: $21 $00 $50
ld de, vTiles0 ; $2B69: $11 $00 $80
ld bc, TILE_SIZE * $80 ; $2B6C: $01 $00 $08
jp CopyData ; $2B6F: $C3 $14 $29

View File

@ -1,13 +1,13 @@
; Array of origin addresses
Data_038_7800::
dw CgbMiscTiles + $000
dw CgbMiscTiles + $040
dw CgbMiscTiles + $080
dw CgbMiscTiles + $0C0
dw CgbMiscTiles + $100
dw CgbMiscTiles + $140
dw CgbMiscTiles + $180
dw CgbMiscTiles + $1C0
dw PhotographerTiles + $000
dw PhotographerTiles + $040
dw PhotographerTiles + $080
dw PhotographerTiles + $0C0
dw PhotographerTiles + $100
dw PhotographerTiles + $140
dw PhotographerTiles + $180
dw PhotographerTiles + $1C0
; Array of destination addresses
Data_038_7810::

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 583 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -479,10 +479,10 @@ section "bank37",romx[$4000],bank[$37]
include "code/photos.asm"
section "bank38",romx[$4000],bank[$38]
CgbMiscTiles::
incbin "gfx/cgb_misc.2bpp"
CgbMiscTiles2::
incbin "gfx/cgb_misc2.2bpp"
PhotographerTiles::
incbin "gfx/characters/oam_photographer.2bpp"
CreditsRollTiles::
incbin "gfx/ending/credits_roll.2bpp"
TitleDXTiles::
TitleDXTilesDMG::
incbin "gfx/intro/title_dx.dmg.2bpp"