From eeb61bd9aa3ad514d685b82a635a8b7d4511339a Mon Sep 17 00:00:00 2001 From: Ash Ketchum Date: Wed, 15 Jul 2026 15:23:39 +0200 Subject: SL0P menu: add SAVER screensaver (autopilot EXPLORE) New menu entry that auto-drives the EXPLORE camera across the overworld: - persistent-direction wander (DFS-ish): keep heading, turn only when blocked or occasionally at a junction, never an immediate U-turn. SlopSaverPickDir synthesises a d-pad direction into the normal EXPLORE dispatch, so it inherits smooth scrolling and smooth map-edge crossing. - arrows hidden; player/Pikachu never drawn (clear+freeze OAM right after every LoadMapData, before the first frame renders - also fixes a brief player flash at crossings in manual EXPLORE). - any button wakes it back to the menu. State byte wSlopSaverDir reuses wUnusedCreditsByte (0=off, else current dir). --- ram/wram.asm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ram') diff --git a/ram/wram.asm b/ram/wram.asm index e0488e62..0e530a77 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -971,7 +971,11 @@ wBadgeOrFaceTiles:: ds NUM_BADGES + 1 wTempObtainedBadgesBooleans:: ds NUM_BADGES NEXTU -wUnusedCreditsByte:: db +wUnusedCreditsByte:: +; SL0P: EXPLORE screensaver state. 0 = normal EXPLORE (manual). Nonzero = the +; screensaver is running and the value is the current auto-scroll direction +; (a PAD_* bit). Overlaps a credits-only scratch byte, unused during overworld. +wSlopSaverDir:: db ; the number of credits mons that have been displayed so far wNumCreditsMonsDisplayed:: db -- cgit v1.3.1-sl0p