Skip to content

LUFA Project for the Nintendo Switch. Pretends to be a HORI Pokken Pad with Macros per button

Notifications You must be signed in to change notification settings

YozenPL/PokemonSwSh_joystick_macros

 
 

Repository files navigation

I am not a programmer. The code was written by trial and error - but it's important that it works :) Wiring could probably also be done better. Sorry for my english.

What is it?

1/2/3 button macros for:

  • reseting raids with save
  • reseting raids without save (manual save before encounter targeted pokemon) //to do
  • transfer whole box special trade
  • farm watts

Standard Joystick.c (in this project is for reseting raids with save)

Wiring

Image of board

Promoted raid shiny hunting - How to use it?

Go to shinyquagsire23/Switch-Fightstick how to compile and upload it for Teensy 2.0++.

  • Connect Teensy to switch/dock (no other additional pads can be connected - JoyCons attached to the console are OK)
  • Go to Controllers > Change Grip/Order menu and press Button 2 few times. Your console should recognize new pad - great!
  • Open the game and do this if you are trying to get any shiny Gigantamax Pokemon
  • Set date to 1 day of December (can be any month with 31 days)
  • Get watts from den and close it
  • Save game
  • Open the den (just open and do not click anything)
  • Press Button 1 to reset the den (macro will press Invite Others > Change date > Exit searching > re-enter the den). Also this button is set addtional LED to OFF)
  • If new pokemon is Gigantamax do next step. If not click Button 1 to re-roll.
  • Press Button 3 if you want to get inside the den and check if pokemon is shiny (it will execute the macro - open den > you have to visually check if shiny > macro will close game > start it once again > open den. And you are on the same screen as you was). Additional LED on the board will be ON. To show that Button 3 was pressed. Sometimes you can forgot which button you have pressed so now you will know.
  • Repeat clicking Button 1 and Button 3

Why starting from 01.XX.2019? Because macro is set to go over 31 days. When date is changed from 31 to 01 raid den needs different key input (den is not glowing). When date is change from 31 to 01 Button 3 is disabled because pokemon from 31 and 01 is the same.

Watt Generator

  • Go to Controllers > Change Grip/Order menu and press Button 2 few times. Your console should recognize new pad - great!
  • Open the game
  • Set date to 1 day of December (can be any month with 31 days)
  • Get watts from den and close it
  • Save game
  • Open the den (just open and do not click anything)
  • Press Button 1 to reset the den (it will reset the raid den over and over). To stop unplug the teensy.

Suprise trade full box

  • Go to Controllers > Change Grip/Order menu and press Button 2 few times. Your console should recognize new pad - great!
  • Open the game
  • Connect to internet Y > +.
  • Go to pokemon boxes and select your box which will be traded (jut open it - For example Box 11 with your IV4/IV5 no longer usefull breeded pokemons).
  • Close the box and main menu (you should see your character).
  • Press Button 1 to run macro.
  • Wait for Blue Y-COM communicate that trade is over.
  • Press Button 2 to get pokemon (it's a Y button)
  • Press Button 3 it's a B button.
  • Repeat from Button 1

Own macros

Edit those lines: (leave those 3 from top)

static const command step[] = {
	// Setup controller
	{ NOTHING,   10 },
	{ TRIGGERS,   5 },
	{ NOTHING,   10 },
	
	// RAID RESET	
	{ A,          5 },
	{ NOTHING,   90 },
	{ HOME,       5 }, 
	{ NOTHING,   20 },
	{ RIGHT,      5 }, 
	{ NOTHING,    1 },
	{ RIGHT,      5 },

Additional info

If you unplug the Teensy from the console, or shutdown the switch you have to start from the beginning like set the date (for resetting the raids) or make sure you will send pokemon from good box over Spectal Trade. You must set text speed to Fast.

Video

How it works!

About

LUFA Project for the Nintendo Switch. Pretends to be a HORI Pokken Pad with Macros per button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.2%
  • Python 3.8%
  • C++ 1.7%
  • Makefile 1.3%