From d5c0f1ab2a04279fd973f4bd8bad5cfbd210f1ad Mon Sep 17 00:00:00 2001 From: Ash Ketchum Date: Wed, 15 Jul 2026 01:12:25 +0200 Subject: 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. --- engine/menus/main_menu.asm | 7 +++++-- engine/slop_intro.asm | 27 +++++++++++++++++++++++++++ main.asm | 1 + 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 engine/slop_intro.asm diff --git a/engine/menus/main_menu.asm b/engine/menus/main_menu.asm index c41a7d10..2875290e 100644 --- a/engine/menus/main_menu.asm +++ b/engine/menus/main_menu.asm @@ -10,10 +10,13 @@ MainMenu: predef TryLoadSaveFile -; FASTBOOT: if the save loaded cleanly (status 2), skip the menu and continue +; FASTBOOT: if the save loaded cleanly (status 2), show the SL0P splash then +; skip the menu and continue straight into the game ld a, [wSaveFileStatus] cp 2 - jp z, SpecialEnterMap + jr nz, .mainMenuLoop + farcall SlopSplash + jp SpecialEnterMap .mainMenuLoop ld c, 20 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@" diff --git a/main.asm b/main.asm index fb970f95..cd466490 100644 --- a/main.asm +++ b/main.asm @@ -425,3 +425,4 @@ INCLUDE "engine/pikachu/pikachu_movement.asm" INCLUDE "engine/pikachu/pikachu_pic_animation.asm" INCLUDE "engine/debug/debug_menu.asm" INCLUDE "engine/warp_menu.asm" +INCLUDE "engine/slop_intro.asm" -- cgit v1.3.1-sl0p