Description:
When looking up a Pokémon with a weather requirement, it does not recognize the Pokémon marked as "special" encounters. This includes Castform, which requires a specific weather for you to encounter it on Hoenn Route 119.
Steps to Reproduce:
Go to #bot-commands on the Discord server.
Enter !p 351
Expected Behavior:
The bot should be able to tell you where to encounter it, including the weather requirement.
Screenshots:
Additional Information:PokemonHelper.getPokemonRegionRoutes only looks for the name as a string entry in one of the encounter types. As special encounters are wrapped in a SpecialRoutePokemon object, these do not pass the requirements. I haven't found any references to PokemonHelper.getPokemonLocations in this repo, so I'm fairly certain it's only used by the bot.
Info
Description: When looking up a Pokémon with a weather requirement, it does not recognize the Pokémon marked as "special" encounters. This includes Castform, which requires a specific weather for you to encounter it on Hoenn Route 119.
Steps to Reproduce:
#bot-commands
on the Discord server.!p 351
Expected Behavior: The bot should be able to tell you where to encounter it, including the weather requirement.
Screenshots:
Additional Information:
PokemonHelper.getPokemonRegionRoutes
only looks for the name as a string entry in one of the encounter types. As special encounters are wrapped in aSpecialRoutePokemon
object, these do not pass the requirements. I haven't found any references toPokemonHelper.getPokemonLocations
in this repo, so I'm fairly certain it's only used by the bot.