mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-17 02:30:50 +12:00
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:
parent
d8acbafc75
commit
e799ba8765
|
@ -35,6 +35,8 @@ SplashScreen:
|
||||||
|
|
||||||
; Play GameFreak logo animation
|
; Play GameFreak logo animation
|
||||||
call GameFreakPresentsInit
|
call GameFreakPresentsInit
|
||||||
|
ld de, SFX_GAME_FREAK_LOGO_GS
|
||||||
|
call PlaySFX
|
||||||
.joy_loop
|
.joy_loop
|
||||||
call JoyTextDelay
|
call JoyTextDelay
|
||||||
ldh a, [hJoyLast]
|
ldh a, [hJoyLast]
|
||||||
|
@ -267,8 +269,6 @@ GameFreakLogo_Bounce:
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
sub 48
|
sub 48
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
ld de, SFX_DITTO_BOUNCE
|
|
||||||
call PlaySFX
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.done
|
.done
|
||||||
|
@ -287,7 +287,7 @@ GameFreakLogo_Ditto:
|
||||||
ld hl, SPRITEANIMSTRUCT_VAR2 ; frame count
|
ld hl, SPRITEANIMSTRUCT_VAR2 ; frame count
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp 32
|
cp 40
|
||||||
jr nc, .start_transform
|
jr nc, .start_transform
|
||||||
inc [hl]
|
inc [hl]
|
||||||
ret
|
ret
|
||||||
|
|
|
@ -47,31 +47,37 @@ _TitleScreen:
|
||||||
; Apply logo gradient:
|
; Apply logo gradient:
|
||||||
|
|
||||||
; lines 3-4
|
; lines 3-4
|
||||||
hlbgcoord 0, 3
|
hlbgcoord 0, 2
|
||||||
ld bc, 2 * BG_MAP_WIDTH
|
ld bc, 2 * BG_MAP_WIDTH
|
||||||
ld a, 2
|
ld a, 2
|
||||||
call ByteFill
|
call ByteFill
|
||||||
; line 5
|
; line 5
|
||||||
hlbgcoord 0, 5
|
hlbgcoord 0, 4
|
||||||
ld bc, BG_MAP_WIDTH
|
ld bc, BG_MAP_WIDTH
|
||||||
ld a, 3
|
ld a, 3
|
||||||
call ByteFill
|
call ByteFill
|
||||||
; line 6
|
; line 6
|
||||||
hlbgcoord 0, 6
|
hlbgcoord 0, 5
|
||||||
ld bc, BG_MAP_WIDTH
|
ld bc, BG_MAP_WIDTH
|
||||||
ld a, 4
|
ld a, 4
|
||||||
call ByteFill
|
call ByteFill
|
||||||
; line 7
|
; line 7
|
||||||
hlbgcoord 0, 7
|
hlbgcoord 0, 6
|
||||||
ld bc, BG_MAP_WIDTH
|
ld bc, BG_MAP_WIDTH
|
||||||
ld a, 5
|
ld a, 5
|
||||||
call ByteFill
|
call ByteFill
|
||||||
; lines 8-9
|
; lines 8-9
|
||||||
hlbgcoord 0, 8
|
hlbgcoord 0, 7
|
||||||
ld bc, 2 * BG_MAP_WIDTH
|
ld bc, 2 * BG_MAP_WIDTH
|
||||||
ld a, 6
|
ld a, 6
|
||||||
call ByteFill
|
call ByteFill
|
||||||
|
|
||||||
|
; 'CRYSTAL VERSION'
|
||||||
|
hlbgcoord 5, 8
|
||||||
|
ld bc, 11 ; length of version text
|
||||||
|
ld a, 1
|
||||||
|
call ByteFill
|
||||||
|
|
||||||
; 'CRYSTAL VERSION'
|
; 'CRYSTAL VERSION'
|
||||||
hlbgcoord 5, 9
|
hlbgcoord 5, 9
|
||||||
ld bc, 11 ; length of version text
|
ld bc, 11 ; length of version text
|
||||||
|
@ -105,16 +111,16 @@ _TitleScreen:
|
||||||
call ByteFill
|
call ByteFill
|
||||||
|
|
||||||
; Draw Pokemon logo
|
; Draw Pokemon logo
|
||||||
hlcoord 0, 3
|
hlcoord 0, 2
|
||||||
lb bc, 7, 20
|
lb bc, 8, 20
|
||||||
ld d, $80
|
ld d, $80
|
||||||
ld e, 20
|
ld e, 20
|
||||||
call DrawTitleGraphic
|
call DrawTitleGraphic
|
||||||
|
|
||||||
; Draw copyright text
|
; Draw copyright text
|
||||||
hlbgcoord 3, 0, vBGMap1
|
hlbgcoord 3, 0, vBGMap1
|
||||||
lb bc, 1, 13
|
lb bc, 2, 13
|
||||||
ld d, $c
|
ld d, $20
|
||||||
ld e, 16
|
ld e, 16
|
||||||
call DrawTitleGraphic
|
call DrawTitleGraphic
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
RGB 31, 31, 31
|
RGB 31, 31, 31
|
||||||
RGB 13, 11, 00
|
RGB 13, 11, 00
|
||||||
RGB 23, 12, 28
|
RGB 17, 22, 28
|
||||||
RGB 00, 00, 00
|
RGB 00, 00, 00
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
; Fade from pink to orange.
|
; Fade from pink to orange.
|
||||||
; One color per step.
|
; One color per step.
|
||||||
|
|
||||||
RGB 23, 12, 28
|
RGB 17, 22, 28
|
||||||
RGB 23, 12, 27
|
RGB 17, 22, 27
|
||||||
RGB 23, 13, 26
|
RGB 18, 22, 26
|
||||||
RGB 23, 13, 24
|
RGB 19, 22, 24
|
||||||
RGB 24, 14, 22
|
RGB 19, 21, 22
|
||||||
RGB 24, 14, 20
|
RGB 20, 21, 20
|
||||||
RGB 24, 15, 18
|
RGB 21, 21, 18
|
||||||
RGB 24, 15, 16
|
RGB 21, 21, 16
|
||||||
RGB 25, 16, 14
|
RGB 22, 20, 14
|
||||||
RGB 25, 16, 12
|
RGB 23, 20, 12
|
||||||
RGB 25, 17, 10
|
RGB 23, 20, 10
|
||||||
RGB 25, 17, 08
|
RGB 24, 20, 08
|
||||||
RGB 26, 18, 06
|
RGB 25, 19, 06
|
||||||
RGB 26, 18, 04
|
RGB 25, 19, 04
|
||||||
RGB 26, 19, 02
|
RGB 26, 19, 02
|
||||||
RGB 26, 19, 00
|
RGB 26, 19, 00
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue