Greasy Fork

Greasy Fork is available in English.

Pokeclicker : Press tab for pokemon

Add Pokemon by Id

当前为 2022-12-18 提交的版本,查看 最新版本

// ==UserScript==
// @name         Pokeclicker : Press tab for pokemon
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Add Pokemon by Id
// @author       Loliprane
// @match        https://www.pokeclicker.com/*
// @grant        none
// @license                  MIT
// ==/UserScript==


    document.addEventListener('keyup',function(evt){
    if(evt.keyCode==9){ // just click on tab and you'll get the pokemon of the chosen id (you can also change the keycode so that it's another button to press)
    App.game.party.gainPokemonById(869.67,false); //false will get you a non shiny, true will get you one. You can add as many of those line as you want.
    App.game.party.gainPokemonById(869.67,false); //etc  you just have to change the ID to get different pokemon
        }});