aboutsummaryrefslogtreecommitdiffstats
path: root/engine/slop_intro.asm
blob: 84bbc53f47d9d389464faa7a7ece7b180610173f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; Brief custom boot splash shown on the fastboot path (before the save is
; loaded). Reuses the same display setup as the menu/text system.

SECTION "Slop Intro", ROMX

SlopSplash::
	call ClearScreen
	call LoadFontTilePatterns
	call RunDefaultPaletteCommand
	hlcoord 6, 7
	ld de, .line1
	call PlaceString
	hlcoord 4, 9
	ld de, .line2
	call PlaceString
	ld b, HIGH(vBGMap1)
	call CopyScreenTileBufferToVRAM
	xor a
	ldh [hWY], a
	ld a, $01
	ldh [hAutoBGTransferEnabled], a
	ld c, 120                          ; ~2 seconds
	call DelayFrames
	ret

.line1: db "POKéMON@"
.line2: db "SL0P EDITION@"