From d52815caa2c0f385ae61e38ecc7b5bddd7ccf7b3 Mon Sep 17 00:00:00 2001 From: Ash Ketchum Date: Wed, 15 Jul 2026 00:28:26 +0200 Subject: fastboot: skip intro/title/menu and autoload save if one exists Three small hooks, all gated on CheckForPlayerNameInSRAM (carry = save present): - home/init.asm: skip 'predef PlayIntro' when a save exists - engine/movie/title.asm (PrepareTitleScreen): jp MainMenu, skipping the title screen (only the boot path hits PrepareTitleScreen; return-to-title paths jp DisplayTitleScreen directly, so they're unaffected) - engine/menus/main_menu.asm (MainMenu): after TryLoadSaveFile, if wSaveFileStatus==2 jp SpecialEnterMap, skipping the CONTINUE menu Exported CheckForPlayerNameInSRAM (:: ) so home/init.asm can farcall it. New game (no save) path is fully preserved. Ship pokeyellow.gbc only; the _DEBUG build overflows home ROM0 by 8 bytes with the init hook. --- home/init.asm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home') diff --git a/home/init.asm b/home/init.asm index bef73b7e..fc426e29 100644 --- a/home/init.asm +++ b/home/init.asm @@ -98,7 +98,11 @@ Init:: dec a ld [wUpdateSpritesEnabled], a +; FASTBOOT: skip the GameFreak/Pikachu intro if a save file exists + farcall CheckForPlayerNameInSRAM + jr c, .fastbootSkipIntro predef PlayIntro +.fastbootSkipIntro call DisableLCD call ClearVram -- cgit v1.3.1-sl0p