aboutsummaryrefslogtreecommitdiffstats
path: root/ram
diff options
context:
space:
mode:
authorAsh Ketchum <no-reply@sl0p.foo>2026-07-15 02:18:41 +0200
committerAsh Ketchum <no-reply@sl0p.foo>2026-07-15 02:18:41 +0200
commitdefa142490b4bb8d89f655dce3149cc25adaedd2 (patch)
tree78dd02e8b43890965a18a6c9b4961e2a5086236f /ram
parentmenu: cheat suite - MONEY, BADGES, DEX, MAXTEAM + ITEMS submenu (diff)
downloadpokeyellow-defa142490b4bb8d89f655dce3149cc25adaedd2.tar.gz
pokeyellow-defa142490b4bb8d89f655dce3149cc25adaedd2.tar.xz
pokeyellow-defa142490b4bb8d89f655dce3149cc25adaedd2.zip
menu: add NOWILD toggle + REPEL (and repurpose wc5d8 as the flag)
NOWILD toggles wild encounters off (hooked in TryDoWildEncounter, a banked file) with an ON indicator drawn on its menu row; the flag lives in the unused wc5d8 WRAM0 byte (renamed wSlopNoWild, always-accessible, defaults 0). REPEL refills repel steps to 255. (A NOCLIP toggle was prototyped but its hook lands in the full home bank - deferred until I free ROM0 budget.) SL0P MENU now: WARP HEAL MONEY BADGES DEX MAXTEAM ITEMS NOWILD REPEL.
Diffstat (limited to 'ram')
-rw-r--r--ram/wram.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ram/wram.asm b/ram/wram.asm
index 62ef1c44..b753e163 100644
--- a/ram/wram.asm
+++ b/ram/wram.asm
@@ -224,7 +224,7 @@ wc5d2:: db
wSurfingMinigameWaveFunctionNumber:: dw
wc5d5:: db
wSurfingMinigamePikachuHP:: dw ; little-endian BCD
-wc5d8:: db ; unused?
+wSlopNoWild:: db ; SL0P no-wild-encounters toggle (was unused wc5d8)
; number of consecutive tricks
wSurfingMinigameRadnessMeter:: db
wSurfingMinigameRadnessScore:: dw ; little-endian BCD