From 407b813250a768a85c619e06c3f1f010575f31c4 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 27 Aug 2020 12:25:34 -0400 Subject: Separate splash screen, intro, and credits (like pokegold/pokecrystal) --- Makefile | 20 +-- data/tilemaps.asm | 6 +- engine/movie/credits.asm | 2 +- engine/movie/gamefreak.asm | 243 ------------------------------- engine/movie/intro.asm | 22 +-- engine/movie/splash.asm | 243 +++++++++++++++++++++++++++++++ gfx/credits/the_end.png | Bin 0 -> 139 bytes gfx/font.asm | 2 +- gfx/intro/blue_jigglypuff_1.png | Bin 0 -> 366 bytes gfx/intro/blue_jigglypuff_2.png | Bin 0 -> 360 bytes gfx/intro/blue_jigglypuff_3.png | Bin 0 -> 416 bytes gfx/intro/gengar.png | Bin 0 -> 1089 bytes gfx/intro/gengar_1.tilemap | Bin 0 -> 49 bytes gfx/intro/gengar_2.tilemap | Bin 0 -> 49 bytes gfx/intro/gengar_3.tilemap | Bin 0 -> 49 bytes gfx/intro/red_nidorino_1.png | Bin 0 -> 462 bytes gfx/intro/red_nidorino_2.png | Bin 0 -> 449 bytes gfx/intro/red_nidorino_3.png | Bin 0 -> 495 bytes gfx/intro_credits/blue_jigglypuff_1.png | Bin 366 -> 0 bytes gfx/intro_credits/blue_jigglypuff_2.png | Bin 360 -> 0 bytes gfx/intro_credits/blue_jigglypuff_3.png | Bin 416 -> 0 bytes gfx/intro_credits/copyright.png | Bin 220 -> 0 bytes gfx/intro_credits/falling_star.png | Bin 90 -> 0 bytes gfx/intro_credits/gamefreak_logo.png | Bin 139 -> 0 bytes gfx/intro_credits/gamefreak_presents.png | Bin 180 -> 0 bytes gfx/intro_credits/gengar.png | Bin 1089 -> 0 bytes gfx/intro_credits/gengar_1.tilemap | Bin 49 -> 0 bytes gfx/intro_credits/gengar_2.tilemap | Bin 49 -> 0 bytes gfx/intro_credits/gengar_3.tilemap | Bin 49 -> 0 bytes gfx/intro_credits/red_nidorino_1.png | Bin 462 -> 0 bytes gfx/intro_credits/red_nidorino_2.png | Bin 449 -> 0 bytes gfx/intro_credits/red_nidorino_3.png | Bin 495 -> 0 bytes gfx/intro_credits/the_end.png | Bin 139 -> 0 bytes gfx/splash/copyright.png | Bin 0 -> 220 bytes gfx/splash/falling_star.png | Bin 0 -> 90 bytes gfx/splash/gamefreak_logo.png | Bin 0 -> 139 bytes gfx/splash/gamefreak_presents.png | Bin 0 -> 180 bytes main.asm | 2 +- 38 files changed, 270 insertions(+), 270 deletions(-) delete mode 100755 engine/movie/gamefreak.asm create mode 100755 engine/movie/splash.asm create mode 100644 gfx/credits/the_end.png create mode 100644 gfx/intro/blue_jigglypuff_1.png create mode 100644 gfx/intro/blue_jigglypuff_2.png create mode 100644 gfx/intro/blue_jigglypuff_3.png create mode 100644 gfx/intro/gengar.png create mode 100644 gfx/intro/gengar_1.tilemap create mode 100644 gfx/intro/gengar_2.tilemap create mode 100644 gfx/intro/gengar_3.tilemap create mode 100644 gfx/intro/red_nidorino_1.png create mode 100644 gfx/intro/red_nidorino_2.png create mode 100644 gfx/intro/red_nidorino_3.png delete mode 100644 gfx/intro_credits/blue_jigglypuff_1.png delete mode 100644 gfx/intro_credits/blue_jigglypuff_2.png delete mode 100644 gfx/intro_credits/blue_jigglypuff_3.png delete mode 100644 gfx/intro_credits/copyright.png delete mode 100644 gfx/intro_credits/falling_star.png delete mode 100644 gfx/intro_credits/gamefreak_logo.png delete mode 100644 gfx/intro_credits/gamefreak_presents.png delete mode 100644 gfx/intro_credits/gengar.png delete mode 100644 gfx/intro_credits/gengar_1.tilemap delete mode 100644 gfx/intro_credits/gengar_2.tilemap delete mode 100644 gfx/intro_credits/gengar_3.tilemap delete mode 100644 gfx/intro_credits/red_nidorino_1.png delete mode 100644 gfx/intro_credits/red_nidorino_2.png delete mode 100644 gfx/intro_credits/red_nidorino_3.png delete mode 100644 gfx/intro_credits/the_end.png create mode 100644 gfx/splash/copyright.png create mode 100644 gfx/splash/falling_star.png create mode 100644 gfx/splash/gamefreak_logo.png create mode 100644 gfx/splash/gamefreak_presents.png diff --git a/Makefile b/Makefile index 7a8f8ac3..6d432ec9 100644 --- a/Makefile +++ b/Makefile @@ -114,16 +114,16 @@ pokeblue_debug_opt = -jsv -n 0 -k 01 -l 0x33 -m 0x13 -r 03 -t "POKEMON BLUE" gfx/battle/attack_anim_1.2bpp: tools/gfx += --trim-whitespace gfx/battle/attack_anim_2.2bpp: tools/gfx += --trim-whitespace -gfx/intro_credits/blue_jigglypuff_1.2bpp: rgbgfx += -h -gfx/intro_credits/blue_jigglypuff_2.2bpp: rgbgfx += -h -gfx/intro_credits/blue_jigglypuff_3.2bpp: rgbgfx += -h -gfx/intro_credits/red_nidorino_1.2bpp: rgbgfx += -h -gfx/intro_credits/red_nidorino_2.2bpp: rgbgfx += -h -gfx/intro_credits/red_nidorino_3.2bpp: rgbgfx += -h -gfx/intro_credits/gengar.2bpp: rgbgfx += -h -gfx/intro_credits/gengar.2bpp: tools/gfx += --remove-duplicates --preserve=0x19,0x76 - -gfx/intro_credits/the_end.2bpp: tools/gfx += --interleave --png=$< +gfx/intro/blue_jigglypuff_1.2bpp: rgbgfx += -h +gfx/intro/blue_jigglypuff_2.2bpp: rgbgfx += -h +gfx/intro/blue_jigglypuff_3.2bpp: rgbgfx += -h +gfx/intro/red_nidorino_1.2bpp: rgbgfx += -h +gfx/intro/red_nidorino_2.2bpp: rgbgfx += -h +gfx/intro/red_nidorino_3.2bpp: rgbgfx += -h +gfx/intro/gengar.2bpp: rgbgfx += -h +gfx/intro/gengar.2bpp: tools/gfx += --remove-duplicates --preserve=0x19,0x76 + +gfx/credits/the_end.2bpp: tools/gfx += --interleave --png=$< gfx/slots/red_slots_1.2bpp: tools/gfx += --trim-whitespace gfx/slots/blue_slots_1.2bpp: tools/gfx += --trim-whitespace diff --git a/data/tilemaps.asm b/data/tilemaps.asm index c7efb222..97e687fd 100644 --- a/data/tilemaps.asm +++ b/data/tilemaps.asm @@ -31,13 +31,13 @@ SlideDownMonTiles_7x3: INCBIN "gfx/pokemon/slide_down_7x3.tilemap" GengarIntroTiles1: - INCBIN "gfx/intro_credits/gengar_1.tilemap" + INCBIN "gfx/intro/gengar_1.tilemap" GengarIntroTiles2: - INCBIN "gfx/intro_credits/gengar_2.tilemap" + INCBIN "gfx/intro/gengar_2.tilemap" GengarIntroTiles3: - INCBIN "gfx/intro_credits/gengar_3.tilemap" + INCBIN "gfx/intro/gengar_3.tilemap" GameBoyTiles: INCBIN "gfx/trade/game_boy.tilemap" diff --git a/engine/movie/credits.asm b/engine/movie/credits.asm index 6fb0598e..0410de21 100755 --- a/engine/movie/credits.asm +++ b/engine/movie/credits.asm @@ -266,5 +266,5 @@ INCLUDE "data/credits/credits_order.asm" INCLUDE "data/credits/credits_text.asm" TheEndGfx: - INCBIN "gfx/intro_credits/the_end.2bpp" + INCBIN "gfx/credits/the_end.2bpp" TheEndGfxEnd: diff --git a/engine/movie/gamefreak.asm b/engine/movie/gamefreak.asm deleted file mode 100755 index 1f837443..00000000 --- a/engine/movie/gamefreak.asm +++ /dev/null @@ -1,243 +0,0 @@ -LoadShootingStarGraphics: - ld a, $f9 - ldh [rOBP0], a - ld a, $a4 - ldh [rOBP1], a - ld de, AnimationTileset2 tile 3 ; star tile (top left quadrant) - ld hl, vChars1 tile $20 - lb bc, BANK(AnimationTileset2), 1 - call CopyVideoData - ld de, AnimationTileset2 tile 19 ; star tile (bottom left quadrant) - ld hl, vChars1 tile $21 - lb bc, BANK(AnimationTileset2), 1 - call CopyVideoData - ld de, FallingStar - ld hl, vChars1 tile $22 - lb bc, BANK(FallingStar), (FallingStarEnd - FallingStar) / $10 - call CopyVideoData - ld hl, GameFreakLogoOAMData - ld de, wOAMBuffer + $60 - ld bc, GameFreakLogoOAMDataEnd - GameFreakLogoOAMData - call CopyData - ld hl, GameFreakShootingStarOAMData - ld de, wOAMBuffer - ld bc, GameFreakShootingStarOAMDataEnd - GameFreakShootingStarOAMData - jp CopyData - -AnimateShootingStar: - call LoadShootingStarGraphics - ld a, SFX_SHOOTING_STAR - call PlaySound - -; Move the big star down and left across the screen. - ld hl, wOAMBuffer - lb bc, $a0, $4 -.bigStarLoop - push hl - push bc -.bigStarInnerLoop - ld a, [hl] ; Y - add 4 - ld [hli], a - ld a, [hl] ; X - add -4 - ld [hli], a - inc hl - inc hl - dec c - jr nz, .bigStarInnerLoop - ld c, 1 - call CheckForUserInterruption - pop bc - pop hl - ret c - ld a, [hl] - cp 80 - jr nz, .next - jr .bigStarLoop -.next - cp b - jr nz, .bigStarLoop - -; Clear big star OAM. - ld hl, wOAMBuffer - ld c, 4 - ld de, 4 -.clearOAMLoop - ld [hl], 160 - add hl, de - dec c - jr nz, .clearOAMLoop - -; Make Gamefreak logo flash. - ld b, 3 -.flashLogoLoop - ld hl, rOBP0 - rrc [hl] - rrc [hl] - ld c, 10 - call CheckForUserInterruption - ret c - dec b - jr nz, .flashLogoLoop - -; Copy 24 instances of the small stars OAM data. -; Note that their coordinates put them off-screen. - ld de, wOAMBuffer - ld a, 24 -.initSmallStarsOAMLoop - push af - ld hl, SmallStarsOAM - ld bc, SmallStarsOAMEnd - SmallStarsOAM - call CopyData - pop af - dec a - jr nz, .initSmallStarsOAMLoop - -; Animate the small stars falling from the Gamefreak logo. - xor a - ld [wMoveDownSmallStarsOAMCount], a - ld hl, SmallStarsWaveCoordsPointerTable - ld c, 6 -.smallStarsLoop - ld a, [hli] - ld e, a - ld a, [hli] - ld d, a - push bc - push hl - ld hl, wOAMBuffer + $50 - ld c, 4 -.smallStarsInnerLoop ; introduce new wave of 4 small stars OAM entries - ld a, [de] - cp $ff - jr z, .next2 - ld [hli], a ; Y - inc de - ld a, [de] - ld [hli], a ; X - inc de - inc hl - inc hl - dec c - jr nz, .smallStarsInnerLoop - ld a, [wMoveDownSmallStarsOAMCount] - cp 24 - jr z, .next2 - add 6 ; should be 4, but the extra 2 aren't visible on screen - ld [wMoveDownSmallStarsOAMCount], a -.next2 - call MoveDownSmallStars - push af - -; shift the existing OAM entries down to make room for the next wave - ld hl, wOAMBuffer + $10 - ld de, wOAMBuffer - ld bc, $50 - call CopyData - - pop af - pop hl - pop bc - ret c - dec c - jr nz, .smallStarsLoop - and a - ret - -SmallStarsOAM: - dbsprite 0, 0, 0, 0, $A2, OAM_BEHIND_BG | OAM_OBP1 -SmallStarsOAMEnd: - -SmallStarsWaveCoordsPointerTable: - dw SmallStarsWave1Coords - dw SmallStarsWave2Coords - dw SmallStarsWave3Coords - dw SmallStarsWave4Coords - dw SmallStarsEmptyWave - dw SmallStarsEmptyWave - -; The stars that fall from the Gamefreak logo come in 4 waves of 4 OAM entries. -; These arrays contain the Y and X coordinates of each OAM entry. - -SmallStarsWave1Coords: - db $68, $30 - db $68, $40 - db $68, $58 - db $68, $78 - -SmallStarsWave2Coords: - db $68, $38 - db $68, $48 - db $68, $60 - db $68, $70 - -SmallStarsWave3Coords: - db $68, $34 - db $68, $4C - db $68, $54 - db $68, $64 - -SmallStarsWave4Coords: - db $68, $3C - db $68, $5C - db $68, $6C - db $68, $74 - -SmallStarsEmptyWave: - db $FF - -MoveDownSmallStars: - ld b, 8 -.loop - ld hl, wOAMBuffer + $5c - ld a, [wMoveDownSmallStarsOAMCount] - ld de, -4 - ld c, a -.innerLoop - inc [hl] ; Y - add hl, de - dec c - jr nz, .innerLoop -; Toggle the palette so that the lower star in the small stars tile blinks in -; and out. - ldh a, [rOBP1] - xor %10100000 - ldh [rOBP1], a - - ld c, 3 - call CheckForUserInterruption - ret c - dec b - jr nz, .loop - ret - -GameFreakLogoOAMData: - dbsprite 10, 9, 0, 0, $8d, 0 - dbsprite 11, 9, 0, 0, $8e, 0 - dbsprite 10, 10, 0, 0, $8f, 0 - dbsprite 11, 10, 0, 0, $90, 0 - dbsprite 10, 11, 0, 0, $91, 0 - dbsprite 11, 11, 0, 0, $92, 0 - dbsprite 6, 12, 0, 0, $80, 0 - dbsprite 7, 12, 0, 0, $81, 0 - dbsprite 8, 12, 0, 0, $82, 0 - dbsprite 9, 12, 0, 0, $83, 0 - dbsprite 10, 12, 0, 0, $93, 0 - dbsprite 11, 12, 0, 0, $84, 0 - dbsprite 12, 12, 0, 0, $85, 0 - dbsprite 13, 12, 0, 0, $83, 0 - dbsprite 14, 12, 0, 0, $81, 0 - dbsprite 15, 12, 0, 0, $86, 0 -GameFreakLogoOAMDataEnd: - -GameFreakShootingStarOAMData: - dbsprite 20, 0, 0, 0, $a0, OAM_OBP1 - dbsprite 21, 0, 0, 0, $a0, OAM_OBP1 | OAM_HFLIP - dbsprite 20, 1, 0, 0, $a1, OAM_OBP1 - dbsprite 21, 1, 0, 0, $a1, OAM_OBP1 | OAM_HFLIP -GameFreakShootingStarOAMDataEnd: - -FallingStar: - INCBIN "gfx/intro_credits/falling_star.2bpp" -FallingStarEnd: diff --git a/engine/movie/intro.asm b/engine/movie/intro.asm index d8ec8e6e..040d643d 100755 --- a/engine/movie/intro.asm +++ b/engine/movie/intro.asm @@ -433,32 +433,32 @@ IntroNidorinoAnimation7: db ANIMATION_END GameFreakIntro: - INCBIN "gfx/intro_credits/gamefreak_presents.2bpp" - INCBIN "gfx/intro_credits/gamefreak_logo.2bpp" + INCBIN "gfx/splash/gamefreak_presents.2bpp" + INCBIN "gfx/splash/gamefreak_logo.2bpp" ds 16, $00 ; blank tile GameFreakIntroEnd: FightIntroBackMon: - INCBIN "gfx/intro_credits/gengar.2bpp" + INCBIN "gfx/intro/gengar.2bpp" ds 16, $00 ; blank tile FightIntroBackMonEnd: -FightIntroFrontMon: - IF DEF(_RED) - INCBIN "gfx/intro_credits/red_nidorino_1.2bpp" +FightIntroFrontMon: + INCBIN "gfx/intro/red_nidorino_1.2bpp" FightIntroFrontMon2: - INCBIN "gfx/intro_credits/red_nidorino_2.2bpp" + INCBIN "gfx/intro/red_nidorino_2.2bpp" FightIntroFrontMon3: - INCBIN "gfx/intro_credits/red_nidorino_3.2bpp" + INCBIN "gfx/intro/red_nidorino_3.2bpp" ENDC IF DEF(_BLUE) - INCBIN "gfx/intro_credits/blue_jigglypuff_1.2bpp" +FightIntroFrontMon: + INCBIN "gfx/intro/blue_jigglypuff_1.2bpp" FightIntroFrontMon2: - INCBIN "gfx/intro_credits/blue_jigglypuff_2.2bpp" + INCBIN "gfx/intro/blue_jigglypuff_2.2bpp" FightIntroFrontMon3: - INCBIN "gfx/intro_credits/blue_jigglypuff_3.2bpp" + INCBIN "gfx/intro/blue_jigglypuff_3.2bpp" ENDC FightIntroFrontMonEnd: diff --git a/engine/movie/splash.asm b/engine/movie/splash.asm new file mode 100755 index 00000000..be97b8e5 --- /dev/null +++ b/engine/movie/splash.asm @@ -0,0 +1,243 @@ +LoadShootingStarGraphics: + ld a, $f9 + ldh [rOBP0], a + ld a, $a4 + ldh [rOBP1], a + ld de, AnimationTileset2 tile 3 ; star tile (top left quadrant) + ld hl, vChars1 tile $20 + lb bc, BANK(AnimationTileset2), 1 + call CopyVideoData + ld de, AnimationTileset2 tile 19 ; star tile (bottom left quadrant) + ld hl, vChars1 tile $21 + lb bc, BANK(AnimationTileset2), 1 + call CopyVideoData + ld de, FallingStar + ld hl, vChars1 tile $22 + lb bc, BANK(FallingStar), (FallingStarEnd - FallingStar) / $10 + call CopyVideoData + ld hl, GameFreakLogoOAMData + ld de, wOAMBuffer + $60 + ld bc, GameFreakLogoOAMDataEnd - GameFreakLogoOAMData + call CopyData + ld hl, GameFreakShootingStarOAMData + ld de, wOAMBuffer + ld bc, GameFreakShootingStarOAMDataEnd - GameFreakShootingStarOAMData + jp CopyData + +AnimateShootingStar: + call LoadShootingStarGraphics + ld a, SFX_SHOOTING_STAR + call PlaySound + +; Move the big star down and left across the screen. + ld hl, wOAMBuffer + lb bc, $a0, $4 +.bigStarLoop + push hl + push bc +.bigStarInnerLoop + ld a, [hl] ; Y + add 4 + ld [hli], a + ld a, [hl] ; X + add -4 + ld [hli], a + inc hl + inc hl + dec c + jr nz, .bigStarInnerLoop + ld c, 1 + call CheckForUserInterruption + pop bc + pop hl + ret c + ld a, [hl] + cp 80 + jr nz, .next + jr .bigStarLoop +.next + cp b + jr nz, .bigStarLoop + +; Clear big star OAM. + ld hl, wOAMBuffer + ld c, 4 + ld de, 4 +.clearOAMLoop + ld [hl], 160 + add hl, de + dec c + jr nz, .clearOAMLoop + +; Make Gamefreak logo flash. + ld b, 3 +.flashLogoLoop + ld hl, rOBP0 + rrc [hl] + rrc [hl] + ld c, 10 + call CheckForUserInterruption + ret c + dec b + jr nz, .flashLogoLoop + +; Copy 24 instances of the small stars OAM data. +; Note that their coordinates put them off-screen. + ld de, wOAMBuffer + ld a, 24 +.initSmallStarsOAMLoop + push af + ld hl, SmallStarsOAM + ld bc, SmallStarsOAMEnd - SmallStarsOAM + call CopyData + pop af + dec a + jr nz, .initSmallStarsOAMLoop + +; Animate the small stars falling from the Gamefreak logo. + xor a + ld [wMoveDownSmallStarsOAMCount], a + ld hl, SmallStarsWaveCoordsPointerTable + ld c, 6 +.smallStarsLoop + ld a, [hli] + ld e, a + ld a, [hli] + ld d, a + push bc + push hl + ld hl, wOAMBuffer + $50 + ld c, 4 +.smallStarsInnerLoop ; introduce new wave of 4 small stars OAM entries + ld a, [de] + cp $ff + jr z, .next2 + ld [hli], a ; Y + inc de + ld a, [de] + ld [hli], a ; X + inc de + inc hl + inc hl + dec c + jr nz, .smallStarsInnerLoop + ld a, [wMoveDownSmallStarsOAMCount] + cp 24 + jr z, .next2 + add 6 ; should be 4, but the extra 2 aren't visible on screen + ld [wMoveDownSmallStarsOAMCount], a +.next2 + call MoveDownSmallStars + push af + +; shift the existing OAM entries down to make room for the next wave + ld hl, wOAMBuffer + $10 + ld de, wOAMBuffer + ld bc, $50 + call CopyData + + pop af + pop hl + pop bc + ret c + dec c + jr nz, .smallStarsLoop + and a + ret + +SmallStarsOAM: + dbsprite 0, 0, 0, 0, $A2, OAM_BEHIND_BG | OAM_OBP1 +SmallStarsOAMEnd: + +SmallStarsWaveCoordsPointerTable: + dw SmallStarsWave1Coords + dw SmallStarsWave2Coords + dw SmallStarsWave3Coords + dw SmallStarsWave4Coords + dw SmallStarsEmptyWave + dw SmallStarsEmptyWave + +; The stars that fall from the Gamefreak logo come in 4 waves of 4 OAM entries. +; These arrays contain the Y and X coordinates of each OAM entry. + +SmallStarsWave1Coords: + db $68, $30 + db $68, $40 + db $68, $58 + db $68, $78 + +SmallStarsWave2Coords: + db $68, $38 + db $68, $48 + db $68, $60 + db $68, $70 + +SmallStarsWave3Coords: + db $68, $34 + db $68, $4C + db $68, $54 + db $68, $64 + +SmallStarsWave4Coords: + db $68, $3C + db $68, $5C + db $68, $6C + db $68, $74 + +SmallStarsEmptyWave: + db $FF + +MoveDownSmallStars: + ld b, 8 +.loop + ld hl, wOAMBuffer + $5c + ld a, [wMoveDownSmallStarsOAMCount] + ld de, -4 + ld c, a +.innerLoop + inc [hl] ; Y + add hl, de + dec c + jr nz, .innerLoop +; Toggle the palette so that the lower star in the small stars tile blinks in +; and out. + ldh a, [rOBP1] + xor %10100000 + ldh [rOBP1], a + + ld c, 3 + call CheckForUserInterruption + ret c + dec b + jr nz, .loop + ret + +GameFreakLogoOAMData: + dbsprite 10, 9, 0, 0, $8d, 0 + dbsprite 11, 9, 0, 0, $8e, 0 + dbsprite 10, 10, 0, 0, $8f, 0 + dbsprite 11, 10, 0, 0, $90, 0 + dbsprite 10, 11, 0, 0, $91, 0 + dbsprite 11, 11, 0, 0, $92, 0 + dbsprite 6, 12, 0, 0, $80, 0 + dbsprite 7, 12, 0, 0, $81, 0 + dbsprite 8, 12, 0, 0, $82, 0 + dbsprite 9, 12, 0, 0, $83, 0 + dbsprite 10, 12, 0, 0, $93, 0 + dbsprite 11, 12, 0, 0, $84, 0 + dbsprite 12, 12, 0, 0, $85, 0 + dbsprite 13, 12, 0, 0, $83, 0 + dbsprite 14, 12, 0, 0, $81, 0 + dbsprite 15, 12, 0, 0, $86, 0 +GameFreakLogoOAMDataEnd: + +GameFreakShootingStarOAMData: + dbsprite 20, 0, 0, 0, $a0, OAM_OBP1 + dbsprite 21, 0, 0, 0, $a0, OAM_OBP1 | OAM_HFLIP + dbsprite 20, 1, 0, 0, $a1, OAM_OBP1 + dbsprite 21, 1, 0, 0, $a1, OAM_OBP1 | OAM_HFLIP +GameFreakShootingStarOAMDataEnd: + +FallingStar: + INCBIN "gfx/splash/falling_star.2bpp" +FallingStarEnd: diff --git a/gfx/credits/the_end.png b/gfx/credits/the_end.png new file mode 100644 index 00000000..025ebb61 Binary files /dev/null and b/gfx/credits/the_end.png differ diff --git a/gfx/font.asm b/gfx/font.asm index b3dda1e7..fc2aff4f 100644 --- a/gfx/font.asm +++ b/gfx/font.asm @@ -13,7 +13,7 @@ BattleHudTiles2: INCBIN "gfx/battle/battle_hud_2.1bpp" BattleHudTiles3: INCBIN "gfx/battle/battle_hud_3.1bpp" BattleHudTiles3End: -NintendoCopyrightLogoGraphics: INCBIN "gfx/intro_credits/copyright.2bpp" +NintendoCopyrightLogoGraphics: INCBIN "gfx/splash/copyright.2bpp" GamefreakLogoGraphics: INCBIN "gfx/title/gamefreak_inc.2bpp" GamefreakLogoGraphicsEnd: diff --git a/gfx/intro/blue_jigglypuff_1.png b/gfx/intro/blue_jigglypuff_1.png new file mode 100644 index 00000000..0e53582c Binary files /dev/null and b/gfx/intro/blue_jigglypuff_1.png differ diff --git a/gfx/intro/blue_jigglypuff_2.png b/gfx/intro/blue_jigglypuff_2.png new file mode 100644 index 00000000..21107af0 Binary files /dev/null and b/gfx/intro/blue_jigglypuff_2.png differ diff --git a/gfx/intro/blue_jigglypuff_3.png b/gfx/intro/blue_jigglypuff_3.png new file mode 100644 index 00000000..1c30a0e8 Binary files /dev/null and b/gfx/intro/blue_jigglypuff_3.png differ diff --git a/gfx/intro/gengar.png b/gfx/intro/gengar.png new file mode 100644 index 00000000..9558d1a1 Binary files /dev/null and b/gfx/intro/gengar.png differ diff --git a/gfx/intro/gengar_1.tilemap b/gfx/intro/gengar_1.tilemap new file mode 100644 index 00000000..c962326a Binary files /dev/null and b/gfx/intro/gengar_1.tilemap differ diff --git a/gfx/intro/gengar_2.tilemap b/gfx/intro/gengar_2.tilemap new file mode 100644 index 00000000..a909ba5e Binary files /dev/null and b/gfx/intro/gengar_2.tilemap differ diff --git a/gfx/intro/gengar_3.tilemap b/gfx/intro/gengar_3.tilemap new file mode 100644 index 00000000..231106d8 Binary files /dev/null and b/gfx/intro/gengar_3.tilemap differ diff --git a/gfx/intro/red_nidorino_1.png b/gfx/intro/red_nidorino_1.png new file mode 100644 index 00000000..4c7804a1 Binary files /dev/null and b/gfx/intro/red_nidorino_1.png differ diff --git a/gfx/intro/red_nidorino_2.png b/gfx/intro/red_nidorino_2.png new file mode 100644 index 00000000..a29a4814 Binary files /dev/null and b/gfx/intro/red_nidorino_2.png differ diff --git a/gfx/intro/red_nidorino_3.png b/gfx/intro/red_nidorino_3.png new file mode 100644 index 00000000..e920d55d Binary files /dev/null and b/gfx/intro/red_nidorino_3.png differ diff --git a/gfx/intro_credits/blue_jigglypuff_1.png b/gfx/intro_credits/blue_jigglypuff_1.png deleted file mode 100644 index 0e53582c..00000000 Binary files a/gfx/intro_credits/blue_jigglypuff_1.png and /dev/null differ diff --git a/gfx/intro_credits/blue_jigglypuff_2.png b/gfx/intro_credits/blue_jigglypuff_2.png deleted file mode 100644 index 21107af0..00000000 Binary files a/gfx/intro_credits/blue_jigglypuff_2.png and /dev/null differ diff --git a/gfx/intro_credits/blue_jigglypuff_3.png b/gfx/intro_credits/blue_jigglypuff_3.png deleted file mode 100644 index 1c30a0e8..00000000 Binary files a/gfx/intro_credits/blue_jigglypuff_3.png and /dev/null differ diff --git a/gfx/intro_credits/copyright.png b/gfx/intro_credits/copyright.png deleted file mode 100644 index 49174349..00000000 Binary files a/gfx/intro_credits/copyright.png and /dev/null differ diff --git a/gfx/intro_credits/falling_star.png b/gfx/intro_credits/falling_star.png deleted file mode 100644 index 9093bef4..00000000 Binary files a/gfx/intro_credits/falling_star.png and /dev/null differ diff --git a/gfx/intro_credits/gamefreak_logo.png b/gfx/intro_credits/gamefreak_logo.png deleted file mode 100644 index 1671943b..00000000 Binary files a/gfx/intro_credits/gamefreak_logo.png and /dev/null differ diff --git a/gfx/intro_credits/gamefreak_presents.png b/gfx/intro_credits/gamefreak_presents.png deleted file mode 100644 index f65c64ed..00000000 Binary files a/gfx/intro_credits/gamefreak_presents.png and /dev/null differ diff --git a/gfx/intro_credits/gengar.png b/gfx/intro_credits/gengar.png deleted file mode 100644 index 9558d1a1..00000000 Binary files a/gfx/intro_credits/gengar.png and /dev/null differ diff --git a/gfx/intro_credits/gengar_1.tilemap b/gfx/intro_credits/gengar_1.tilemap deleted file mode 100644 index c962326a..00000000 Binary files a/gfx/intro_credits/gengar_1.tilemap and /dev/null differ diff --git a/gfx/intro_credits/gengar_2.tilemap b/gfx/intro_credits/gengar_2.tilemap deleted file mode 100644 index a909ba5e..00000000 Binary files a/gfx/intro_credits/gengar_2.tilemap and /dev/null differ diff --git a/gfx/intro_credits/gengar_3.tilemap b/gfx/intro_credits/gengar_3.tilemap deleted file mode 100644 index 231106d8..00000000 Binary files a/gfx/intro_credits/gengar_3.tilemap and /dev/null differ diff --git a/gfx/intro_credits/red_nidorino_1.png b/gfx/intro_credits/red_nidorino_1.png deleted file mode 100644 index 4c7804a1..00000000 Binary files a/gfx/intro_credits/red_nidorino_1.png and /dev/null differ diff --git a/gfx/intro_credits/red_nidorino_2.png b/gfx/intro_credits/red_nidorino_2.png deleted file mode 100644 index a29a4814..00000000 Binary files a/gfx/intro_credits/red_nidorino_2.png and /dev/null differ diff --git a/gfx/intro_credits/red_nidorino_3.png b/gfx/intro_credits/red_nidorino_3.png deleted file mode 100644 index e920d55d..00000000 Binary files a/gfx/intro_credits/red_nidorino_3.png and /dev/null differ diff --git a/gfx/intro_credits/the_end.png b/gfx/intro_credits/the_end.png deleted file mode 100644 index 025ebb61..00000000 Binary files a/gfx/intro_credits/the_end.png and /dev/null differ diff --git a/gfx/splash/copyright.png b/gfx/splash/copyright.png new file mode 100644 index 00000000..49174349 Binary files /dev/null and b/gfx/splash/copyright.png differ diff --git a/gfx/splash/falling_star.png b/gfx/splash/falling_star.png new file mode 100644 index 00000000..9093bef4 Binary files /dev/null and b/gfx/splash/falling_star.png differ diff --git a/gfx/splash/gamefreak_logo.png b/gfx/splash/gamefreak_logo.png new file mode 100644 index 00000000..1671943b Binary files /dev/null and b/gfx/splash/gamefreak_logo.png differ diff --git a/gfx/splash/gamefreak_presents.png b/gfx/splash/gamefreak_presents.png new file mode 100644 index 00000000..f65c64ed Binary files /dev/null and b/gfx/splash/gamefreak_presents.png differ diff --git a/main.asm b/main.asm index 8e8ee1a1..31506a29 100755 --- a/main.asm +++ b/main.asm @@ -314,7 +314,7 @@ INCLUDE "gfx/version.asm" SECTION "bank1C", ROMX -INCLUDE "engine/movie/gamefreak.asm" +INCLUDE "engine/movie/splash.asm" INCLUDE "engine/movie/hall_of_fame.asm" INCLUDE "engine/overworld/healing_machine.asm" INCLUDE "engine/overworld/player_animations.asm" -- cgit v1.2.3