diff options
| author | Ash Ketchum <no-reply@sl0p.foo> | 2026-07-15 02:01:51 +0200 |
|---|---|---|
| committer | Ash Ketchum <no-reply@sl0p.foo> | 2026-07-15 02:01:51 +0200 |
| commit | 849fc45bc57e9a1f85c4fa98103ec04991406627 (patch) | |
| tree | 393b2932633e22a9d79fedbd442ef3f05a53159d /main.asm | |
| parent | intro: real 2bpp graphic splash (POKeMON SL0P EDITION) (diff) | |
| download | pokeyellow-849fc45bc57e9a1f85c4fa98103ec04991406627.tar.gz pokeyellow-849fc45bc57e9a1f85c4fa98103ec04991406627.tar.xz pokeyellow-849fc45bc57e9a1f85c4fa98103ec04991406627.zip | |
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)
Diffstat (limited to 'main.asm')
| -rw-r--r-- | main.asm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |
