Dump intro tilemaps

This commit is contained in:
Zumi Daxuya 2020-12-10 14:23:48 +07:00
parent 4092ef1207
commit 25a4edfe6f
8 changed files with 21 additions and 15 deletions

View File

@ -89,9 +89,9 @@ IntroScene1: ; 43b8
call Intro_Copy128Tiles
; Load water metatiles
ld a, $df
ld a, LOW(Intro_WaterMeta)
ld [wIntroTilesPointer + 0], a
ld a, $54
ld a, HIGH(Intro_WaterMeta)
ld [wIntroTilesPointer + 1], a
; Set destination BG map pointer
@ -101,8 +101,8 @@ IntroScene1: ; 43b8
ld a, h
ld [wIntroBGMapPointer + 1], a
; Set destination tilemap pointer
ld de, $53cf
; Load water tilemap
ld de, Intro_WaterTilemap + 15 tiles
ld a, e
ld [wIntroTilemapPointer + 0], a
ld a, d
@ -596,16 +596,16 @@ IntroScene6:
ld hl, vChars2
ld de, IntroForestGFX
call Intro_Copy128Tiles
ld a, $0f
ld a, LOW(Intro_GrassMeta)
ld [wIntroTilesPointer + 0], a
ld a, $62
ld a, HIGH(Intro_GrassMeta)
ld [wIntroTilesPointer + 1], a
ld hl, vBGMap0
ld a, l
ld [wIntroBGMapPointer + 0], a
ld a, h
ld [wIntroBGMapPointer + 1], a
ld de, $610f
ld de, Intro_GrassTilemap + 2 tiles
ld a, e
ld [wIntroTilemapPointer + 0], a
ld a, d
@ -1224,5 +1224,3 @@ Intro_ResetLYOverrides:
dec c
jr nz, .loop
ret
;;;;;; GFX goes here ;;;;;;;;;;;;;;;;;;

View File

@ -546,12 +546,20 @@ INCBIN "gfx/splash/game_freak_logo_oam.2bpp"
SECTION "gfx.asm@Intro Underwater GFX", ROMX
IntroUnderwaterGFX::
INCBIN "gfx/intro/underwater.2bpp"
SECTION "gfx.asm@Intro Water Mon and Forest GFX", ROMX
Intro_WaterTilemap::
INCBIN "gfx/intro/water_tilemap.bin"
Intro_WaterMeta::
INCBIN "gfx/intro/water.bin"
IntroWaterPokemonGFX::
INCBIN "gfx/intro/water_pokemon.2bpp"
SECTION "gfx.asm@Intro Forest GFX", ROMX
IntroForestGFX::
INCBIN "gfx/intro/forest.2bpp"
Intro_GrassTilemap::
INCBIN "gfx/intro/forest_tilemap.bin"
Intro_GrassMeta::
INCBIN "gfx/intro/forest.bin"
SECTION "gfx.asm@Intro Mon", ROMX
IntroJigglypuffPikachuGFX::

View File

@ -17,5 +17,8 @@ $(BUILD)/gfx/minigames/poker.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/intro/jigglypuff_pikachu.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/intro/%.bin: gfx/intro/%.bin
cp $< $@
$(BUILD)/gfx/battle_anims/attack_animations_1.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/battle_anims/attack_animations_2.2bpp: tools/gfx += --trim-whitespace

BIN
gfx/intro/forest.bin Normal file

Binary file not shown.

Binary file not shown.

BIN
gfx/intro/water.bin Normal file

Binary file not shown.

BIN
gfx/intro/water_tilemap.bin Normal file

Binary file not shown.

View File

@ -899,11 +899,8 @@ ROMX $39
"gfx.asm@Gamefreak Logo GFX"
org $432F
"engine/opening_cutscene.asm"
org $4adf
"gfx.asm@Intro Underwater GFX"
org $55ef
"gfx.asm@Intro Water Mon and Forest GFX"
org $626f
"gfx.asm@Intro Forest GFX"
"gfx.asm@Intro Mon"
ROMX $3a