Greasy Fork

Greasy Fork is available in English.

Pokeclicker : Press tab to apply vitamins

Add vitamins to pokemon, for the game pokeclicker

当前为 2024-01-05 提交的版本,查看 最新版本

// ==UserScript==
// @name         Pokeclicker : Press tab to apply vitamins
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Add vitamins to pokemon, for the game pokeclicker
// @author       Natoalaska
// @match        https://www.pokeclicker.com/*
// @grant        none
// @license                  MIT
// ==/UserScript==


    document.addEventListener('keyup',function(evt){
    if(evt.keyCode==9){ // just click tab and you'll add vitamins to the pokemon of the chosen id (you can also change the keycode so that it's another button to press)
    //App.game.party.getPokemon(1).useVitamin(0,19);
    // Change the pokemon #
    // Change the Vitamin to use (0 = Protein, 1 = Calcium, 0 = Carbos)
    // Change the Number of Vitamins to use

        // Give Bulbasaur 19 Proteins
        App.game.party.getPokemon(1).useVitamin(0,19);

        // Give Bulbasaur 21 Carbos
        App.game.party.getPokemon(1).useVitamin(2,21);

    //App.game.party.removePokemonByName("MissingNo."); // remove the MissingNo if by mistake you add it to your party : getting the name of a pokemon is quite tedious but it's possible so if you want to know just post a feedback
        }});