Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed EVO_OVERWORLD_STEPS to use an EWRAM variable #5047

Conversation

AsparagusEduardo
Copy link
Collaborator

Description

Changed behavior of EVO_OVERWORLD_STEPS in order to be more accurate with SV's mechanics:

  • Steps are reset when the game is turned off, so it shouldn't be saved on the Pokémon's data
  • Steps are reset when switching the walking Pokémon.

Also, added debug function to check both the step counter and the fishing chain value.

Images

Full showcase
mGBA_NadUeugiSV

Feature(s) this PR does NOT handle:

Does not implement SV's exploit. Technically in SV the counter doesn't reset until you take a step with a different mon, but this caused the side effect of allowing multiple Pokémon with a single set of steps, so probably wasn't intended.

Discord contact info

AsparagusEduardo

@AsparagusEduardo
Copy link
Collaborator Author

Fixed exploit that allowed PC swapping without resetting the step counter.
mGBA_T4B0eRGbKl mGBA_Jq1BSI0nCj

@Bassoonian Bassoonian merged commit 1e87733 into rh-hideout:upcoming Jul 27, 2024
1 check passed
@AsparagusEduardo AsparagusEduardo deleted the _RHH/pr/upcoming/overworldStepsEvo branch July 29, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants