Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
The idea behind the script is a bug that, when you switch to another sphere right after throwing, the game will consume that type of sphere instead of the previous one. So it's possible to throw out a legendary sphere while consuming a basic sphere. Since you can get ton of basic spheres late game, this bug technically provides you with infinite legendary spheres.
This script functions in a way that in the game, whenever you release the "q" button it in addition click "2" twice, so that if you only bring 2 types of spheres with you (let's say, 1 legendary and 100 basic) and select the legendary one, the first click will switch to basic sphere so the legendary one will not be used, and the second click 0.5 seconds later will switch back to the legendary sphere automatically, so you do not need to switch it back manually.
note that if you are not holding the best ball you have, you may end up consuming the high tier while throwing the low one, and if you bring more than 3 types of spheres it wont switch back to the original one properly, if you happened to pick up a mega sphere during exploration it might cause some trouble. usually you have time to check what sphere you're holding during encounter battles, but make sure to check your inventory before boss fight to ensure this script work properly.
side effects: the script checks whether the current window is the game, so it should not bring trouble when you press "q" outside the game. However, the ingame chat will be affected. Also when in palbox, the "q" key that swtich the page left will be a bit laggy (due to the 0.5 seconds interval)
Changelog: 2024/02/05 Now use "enter" to toggle the effect, so that if you press "enter" to start a chat and press "enter" again to exit, "q" button will not trigger the script during typing. Note if you press other keys to leave the chatbox the script cannot be toggled on automatically, you must press "enter" again (and then leave the chatbox without pressing "enter" again). Thanks to Friedslick6 for the suggestion. Reduce the interval between pressing "2" to 150ms, so that in palbox it should not be laggy. if the interval is too short for your computer to recognize you can increase it by editing the line "Sleep 150" in the script. During my testing 80 ms is long enough but i doubled the value for safety.