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) --- main.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.asm') diff --git a/main.asm b/main.asm index cd466490..fbc83a05 100644 --- a/main.asm +++ b/main.asm @@ -424,5 +424,5 @@ INCLUDE "engine/pikachu/pikachu_emotions.asm" 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_menu.asm" INCLUDE "engine/slop_intro.asm" -- cgit v1.3.1-sl0p