zakthompson / pokescripts.xyz

A web tool for compiling bots for automating repetitive tasks in Pokemon Sword & Shield
https://pokescripts.xyz
MIT License
12 stars 4 forks source link

update Auto3DaySkipper to properly handle uncatchable mons #8

Closed kirbunkle closed 4 years ago

kirbunkle commented 4 years ago

I'm leveraging the fact that there is a bit of a window while the game is connecting to others that allows for some extra A presses. This was actually already utilized for entering the raid even if the watts have already been collected.

I had to tweak entering the den the first time, though. The timing was such that now there were too many A presses if the watts had already been collected. Given that in the instructions it says to collect the watts and then save, I added some logic to skip collecting the watts on the first den.