One way to get around it is to minimze the size of the reference screenshot so that the part that differentiates males and females are cropped out, and thus not considered. For example female Combees have a mark on their forehead, while males do not. The reference image you saved can be of one gender and when you encounter pokemon of another gender it assumes it is a shiny since the sprites are different.
#Pokemon emerald emulator reset trial
Set up the four coordinates accordingly, you can do this by a trial and error method (by running the script, seeing the saved image and adjusting the four values), or by taking a screenshot of the screen, and seeing where the coordinates of the pixels lie. For this to happen accurately for your system and its monitor resolution, you need to alter line 19 of the code, where the coordinates for the encounter screen are specified. The script first presses Ctrl + Tab and then takes a screenshot of the encounter screen.Īfter that if crops out the image of the pokemon from the encounter screen. Then you run the script screenshooter.py from that terminal. The emulator must be running the game and the encounter screen should be displayed on it. Screenshooter.py: Taking a screenshot of an encounterįor this script to run, you need to open a DS emulator and a terminal. The following steps are required for you to set up the Shiny Hunter: Use the Combee directory as reference to the following scripts. By doing so, if you press A immediately after soft resetting, the encounter is triggered (check the GIF) Setting up the script Save the game in that position and you're all set. In the game, you need to be standing in such a position that pressing A will trigger the encounter. (These are the only keys you need to run the script successfully) Position in the game The keyboard controls of the emulator is configured in the following manner: For Pokemon DPPt, this includes legendary pokemon, trees slathered with honey, starters, Drifloon on the Windworks and other such encounters. This version of the script only works for static encounters, i.e., you need to press A to trigger the encounter. If they do match, then it is not a shiny and the process loops again. If the two encounters do not match, then it is a shiny. The encountered screenshot is compared with a saved encounter screenshot of the Pokemon. It triggers an encounter and takes a screenshot of the encountered Pokemon. The script controls your keyboard and presses keys in intervals to automate the shiny hunting process.