A fork of a fork of a fork of a fork, modified to grind automate the breeding process in pokemon sword and shield. Breeding faster makes it easier to both find high IV pokemon and shiny pokemon with less effort.
-
Download the LUFA library here (LUFA DOWNLOAD) and extract it's contents in the LUFA folder of the project
-
Install packages needed for flashing the Arduino
- For Windows: TBD
- For Linux / Mac:
brew install dfu-programmer brew tap osx-cross/avr brew install avr-gcc
-
Set the Arduino into DFU mode:
-
Select the mode that you would like the arduino to run in by changing the mode variable which can be found in Joystick.c.
- COLLECTING: Repeatedly grabs eggs from the day care lady on route 5
- HATCHING: Repeatedly hatches boxes of pokemon
- RELEASING: Releases boxes of pokemon. Set the variable numBoxes to the number of boxes you would like to relase. (NOTE: only works if releasing full boxes of pokemon)
-
In terminal navigate to the inside of the project directory
-
Make the file in terminal enter:
-
Flash the arduino with the code by entering the following commands in terminal.
sudo dfu-programmer atmega16u2 erase
sudo dfu-programmer atmega16u2 flash Arduino-usbserial-uno.hex
sudo dfu-programmer atmega16u2 reset
-
Make sure that you are standing in the appropriate area depending on the mode that you are trying to run the arduino in.
- Collecting:
- Location: Stand slightly to the left of the daycare lady on route 5
- Menu status: Menu settings should not matter
- Text speed: Fast
- Hatching:
- Location: Start facing the wall to the left of the daycare in the wild area.
- Menu status: Also make sure that your menu cursor is hovering over pokemon, and then exit the menu.
- Text speed: Fast
- Releasing:
- Location: Make sure that your menu cursor is hovering over the pokemon option, and then exit the menu.
- Menu Status: Then stand anywhere without the menus open.
- Text speed: Fast
- Collecting:
-
Make sure that no other controllers are connected to the switch besides the docked joycons.
-
Plug in the Arduino into the switch and let the hunt begin! This can be done through either a USB-C cable (needs testing) or by plugging the arduino directly into the dock.
Thanks to https://github.com/bertrandom/snowball-thrower for the updated information which modifies the original script to throw snowballs in Zelda. This C Source is much easier to start from, and has a nice object interface for creating new command sequences.
Thanks to Shiny Quagsire for his Splatoon post printer and progmem for his original discovery.
Thanks to exsilium for improving the command structure, optimizing the waiting times, and handling the failure scenarios. It can now run indefinitely!