Open
Conversation
Contributor
Author
|
The user setup for this might be a bit of a doozy. The biggest headaches come from needing a Dig user for exiting Rock Tunnel and Pokemon Tower and a Surf user for farming SpDef EVs from Tentacool, as well as from type immunities that some encounters have. There aren't many wild encounters with SpAtk EVs, unfortunately, especially in Leaf Green, so we're kind of stuck with Pokemon Tower for those. SpDef can be farmed from Drowzee on Route 11, which would avoid the need for Surf but would be noticeably slower. |
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.
This adds a basic EV Trainer for FLRG. The user can input a number of EVs to be earned for each stat, and the program will navigate to appropriate areas and grind wild encounters.
Some tools that were added to enable this:
BattlePokemonDetectorfor determining if a Pokemon is on the field (or has fainted)MapDetectorfor opening the Fly map, along with a function for navigating to all Kanto fly spotsWildEncounterReaderfor determining the species of a wild encounter. This could be extended to also detect level and gender, but it isn't necessary for EV training.In-game setup:
I don't have Surf unlocked in my current playthrough, but I will implement and test the Sp. Defense EV training once I get there.Since some common navigation functions were modified, Pickup Farmer has been changed slightly here as well. It should now be better able to handle evolutions and can make use of Fly as well as Teleport.