Skip to content

Automated Raid Battle in Pokémon Sword and Pokémon Shield

Notifications You must be signed in to change notification settings

murufon/AutoRaid

 
 

Repository files navigation

Automatic Raid Battle

--- 編集中 / now writing ---

注意

  • 使い方は無限ワットなどと同じです
  • READMEはわかってる人向けのメモなのでかなり省略しています
  • ダウンロードはreleasesからどうぞ
  • 捕獲なしverなどもそこにおいてあります

What we need

  • マイコン本体 ATmega32u4 など example
  • micro USBケーブル example

How to use

  1. このレポジトリを clone download する
  2. lufa を lufa フォルダに入れる
  3. avr-gcc avr-dude をインストール
  4. makefile 設定する
  5. make コマンド
  6. マイコンに書き込み (dfu-programmer など)
  7. ニンテンドースイッチとマイコンを繋げる
  8. Done

Reference

Note

事前準備
  • 設定
    • 「自動で送る」にしておく
    • 「ニックネームを登録しない」にしておく
    • (インターネットをオフにしておく)
  • ボックス
    • 捕まえたポケモンが預けられてもいいボックスにして閉じておく
  • ボール
    • 念のため大事なボールはボックスのポケモンに持たせておく
    • バッグの並び順において、モンスターボールの一つ前のボールが使われるらしい?(要検証)(バッグの一番したのボールが使われると勘違いしていました。ごめんなさい)
    • そこに不要なボールを置いておく
    • バッグの順番はお気に入り+並び替えで変更できる
  • ねがいのかたまり
    • たくさん用意しておく
    • ボックスの空き数などにあわせて個数を調整してもよい
  • ポケモン
    • 戦わせたいポケモンを手持ちの先頭に持ってくる
    • 撃ちたい技を一番上に持ってくる
仕組み
  • ずっと右スティックの上押しっぱなし
    • 「ポケモンを変える」を押さないようにするため
  • 一定間隔で「十字キー左押してすぐAボタン」を繰り返す
    • 十字キー左を押すことでダイマックスできる
    • 最後の報酬画面で十字キー左により「次へ」にカーソルを合わせることができる
    • あまり間隔が短いと「ポケモンを変える」を押してしまいそうなので、長めにしている

Compiling and Flashing onto the Teensy 2.0++

Go to the Teensy website and download/install the Teensy Loader application. For Linux, follow their instructions for installing the GCC Compiler and Tools. For Windows, you will need the latest AVR toolchain from the Atmel site. See this issue and this thread on GBAtemp for more information. (Note for Mac users - the AVR MacPack is now called AVR CrossPack. If that does not work, you can try installing avr-gcc with brew.)

LUFA has been included as a git submodule, so cloning the repo like this:

git clone --recursive git@github.com:john-ditto/timewalk-with-watt.git

will put LUFA in the right directory.

Now you should be ready to rock. Open a terminal window in the timewalk-with-watt directory, type make, and hit enter to compile. If all goes well, the printout in the terminal will let you know it finished the build! Follow the directions on flashing Joystick.hex onto your Teensy, which can be found page where you downloaded the Teensy Loader application.

Thanks

Thanks snowball-thrower

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!

About

Automated Raid Battle in Pokémon Sword and Pokémon Shield

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 89.0%
  • C++ 6.3%
  • Makefile 4.7%