Title/Intro screen edits

NOTE: THIS IS STILL A WIP

- Adds 'EXPANSION PAK' text to the title screen.

- Makes the Ditto on the Game Freak presents screen shiny. This'll act as a neat way for people to tell they've correctly patched the ROM.
This commit is contained in:
Martha Schilling 2024-08-28 15:03:56 +01:00
parent d8acbafc75
commit e799ba8765
5 changed files with 33 additions and 27 deletions

View file

@ -35,6 +35,8 @@ SplashScreen:
; Play GameFreak logo animation
call GameFreakPresentsInit
ld de, SFX_GAME_FREAK_LOGO_GS
call PlaySFX
.joy_loop
call JoyTextDelay
ldh a, [hJoyLast]
@ -267,8 +269,6 @@ GameFreakLogo_Bounce:
ld a, [hl]
sub 48
ld [hl], a
ld de, SFX_DITTO_BOUNCE
call PlaySFX
ret
.done
@ -287,7 +287,7 @@ GameFreakLogo_Ditto:
ld hl, SPRITEANIMSTRUCT_VAR2 ; frame count
add hl, bc
ld a, [hl]
cp 32
cp 40
jr nc, .start_transform
inc [hl]
ret

View file

@ -47,31 +47,37 @@ _TitleScreen:
; Apply logo gradient:
; lines 3-4
hlbgcoord 0, 3
hlbgcoord 0, 2
ld bc, 2 * BG_MAP_WIDTH
ld a, 2
call ByteFill
; line 5
hlbgcoord 0, 5
hlbgcoord 0, 4
ld bc, BG_MAP_WIDTH
ld a, 3
call ByteFill
; line 6
hlbgcoord 0, 6
hlbgcoord 0, 5
ld bc, BG_MAP_WIDTH
ld a, 4
call ByteFill
; line 7
hlbgcoord 0, 7
hlbgcoord 0, 6
ld bc, BG_MAP_WIDTH
ld a, 5
call ByteFill
; lines 8-9
hlbgcoord 0, 8
hlbgcoord 0, 7
ld bc, 2 * BG_MAP_WIDTH
ld a, 6
call ByteFill
; 'CRYSTAL VERSION'
hlbgcoord 5, 8
ld bc, 11 ; length of version text
ld a, 1
call ByteFill
; 'CRYSTAL VERSION'
hlbgcoord 5, 9
ld bc, 11 ; length of version text
@ -105,16 +111,16 @@ _TitleScreen:
call ByteFill
; Draw Pokemon logo
hlcoord 0, 3
lb bc, 7, 20
hlcoord 0, 2
lb bc, 8, 20
ld d, $80
ld e, 20
call DrawTitleGraphic
; Draw copyright text
hlbgcoord 3, 0, vBGMap1
lb bc, 1, 13
ld d, $c
lb bc, 2, 13
ld d, $20
ld e, 16
call DrawTitleGraphic