From 849fc45bc57e9a1f85c4fa98103ec04991406627 Mon Sep 17 00:00:00 2001 From: Ash Ketchum Date: Wed, 15 Jul 2026 02:01:51 +0200 Subject: menu: SL0P MENU scaffolding with WARP as a submenu Refactor the flat warp menu into a table-driven top-level SL0P MENU opened by SELECT. Each entry = a name in SlopMenuText + a routine in SlopMenuHandlers; handlers return carry set (a warp was started, exit) or clear (back to the menu). Ships two entries: WARP -> WarpSubmenu (the 13-destination town list) HEAL -> SlopHealParty (restore party HP + clear status), demoing an action Shared open/close display handling (hide sprites, single-space flags, wTileMap push, restore). Add an entry by appending a name+handler and bumping SLOP_MENU_COUNT. (renamed engine/warp_menu.asm -> engine/slop_menu.asm) --- home/overworld.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/overworld.asm b/home/overworld.asm index a2626089..a41a7ba8 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -73,9 +73,9 @@ OverworldLoopLessDelay:: .notSimulating ldh a, [hJoyPressed] .checkIfStartIsPressed - bit B_PAD_SELECT, a ; WARP MENU hotkey + bit B_PAD_SELECT, a ; SL0P MENU hotkey jr z, .notWarpHotkey - farcall WarpMenu + farcall SlopMenu jp OverworldLoop .notWarpHotkey bit B_PAD_START, a -- cgit v1.3.1-sl0p