Ephenia / Pokeclicker-Scripts

Various scripts & enhancements for the game Pokéclicker.
https://github.com/Ephenia/Pokeclicker-Scripts
GNU General Public License v3.0
184 stars 263 forks source link

[v0.10.20] Fix scripts #397

Closed Realswitzer closed 2 weeks ago

Realswitzer commented 2 weeks ago

Due to changes with how player.route() and player.town() works, being changed from a function to a getter, and effectively the renaming of ModalUtils, this fixes the following scripts:

There is only one part of this update that I don't really have the experience to fix, which is enhancedautoclicker.user.js:571 where player.town() is used with an argument to get the gym's location, and then throws an error which locks the player in the gym screen. I'm currently trying to patch that, and will add another commit afterwards. This has been fixed in 491bcbf, PR is ready for review.

Closes: #396