Conversation
|
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. |
| return false; | ||
| } | ||
|
|
||
| // SeviiMapDetector |
There was a problem hiding this comment.
Did you forget to add this detector ?
| // , m_box_level(0.325, 0.120, 0.092, 0.063) | ||
| {} | ||
|
|
||
| void WildEncounterReader::make_overlays(VideoOverlaySet &items) const { |
There was a problem hiding this comment.
PA code use & stuck to the type and not name
| Logger &logger, Language language, | ||
| const ImageViewRGB32 &frame, | ||
| std::set<std::string> &subset, | ||
| PokemonFRLG_WildEncounter& encounter |
There was a problem hiding this comment.
why give it as a parameter instead of a return type ?
| default: | ||
| subset = std::set<std::string>{}; | ||
| } | ||
| std::set<std::string>{"pidgey","rattata"}; |
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.