diff options
| author | Ash Ketchum <no-reply@sl0p.foo> | 2026-07-15 01:12:25 +0200 |
|---|---|---|
| committer | Ash Ketchum <no-reply@sl0p.foo> | 2026-07-15 01:12:25 +0200 |
| commit | d5c0f1ab2a04279fd973f4bd8bad5cfbd210f1ad (patch) | |
| tree | 815b09b9e3d8a286fa548ef437d9ae93b0efb2ed /engine/slop_intro.asm | |
| parent | warp: center the menu box and add a SECRET SL0P WARP MENU banner (diff) | |
| download | pokeyellow-d5c0f1ab2a04279fd973f4bd8bad5cfbd210f1ad.tar.gz pokeyellow-d5c0f1ab2a04279fd973f4bd8bad5cfbd210f1ad.tar.xz pokeyellow-d5c0f1ab2a04279fd973f4bd8bad5cfbd210f1ad.zip | |
intro: brief POKeMON SL0P EDITION splash on the fastboot path
New SlopSplash (engine/slop_intro.asm) clears the screen, draws the two centered
lines, pushes to VRAM and holds ~2s, then MainMenu's autoload continues into the
game. Replaces the vanilla intro/title for the fast-boot-into-save flow.
Diffstat (limited to 'engine/slop_intro.asm')
| -rw-r--r-- | engine/slop_intro.asm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/engine/slop_intro.asm b/engine/slop_intro.asm new file mode 100644 index 00000000..84bbc53f --- /dev/null +++ b/engine/slop_intro.asm @@ -0,0 +1,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@" |
