Feat/lunar adventure - #1701
Open
carroarmato0 wants to merge 3 commits into
Open
Conversation
…ies for Alex, Luna, Nash and Ramu), and max Sil (money). Signed-off-by: Christophe Vanlancker <carroarmato0@gmail.com>
The counter at 0x030025D4 (u16, IWRAM) holds the number of frames of held
movement input remaining until the next random encounter. It decrements once
per movement frame and the encounter fires when the decrement lands exactly on
zero. Pinning it at 999 means it can never land there.
The address was found by diffing RAM across using the in-game item "Perfume"
("Keeps monsters away!"), which turned out to add 300 to this same counter,
once -- it delays encounters rather than suppressing them.
Verified causally in both directions through retro_cheat_set, on two different
saves in two different areas: 830025D4 03E7 gives zero encounters across
400-step walks and a 30,510-frame soak, while 830025D4 0001 forces a battle
within four steps. Poking the counter to N produces the encounter after
exactly N frames of held movement, confirmed across 17 distinct predictions.
Combat is unaffected -- a battle entered by other means fights and resolves
normally with the cheat active -- and the counter is not battle scratch memory:
it holds a stable value for the duration of a fight.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Christophe Vanlancker <carroarmato0@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.