Pokeclicker get all Unown by pressing space

Press space to get all Unown

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Pokeclicker get all Unown by pressing space
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Press space to get all Unown
// @author       AyZz
// @match        https://www.pokeclicker.com/
// @grant        none
// @license                  MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pokeclicker.com
// @grant        none
// ==/UserScript==


    document.addEventListener('keyup',function(evt){
    if(evt.keyCode==32){
    App.game.party.gainPokemonById(201,false) //change false to true if you want them in their shiny forms
    App.game.party.gainPokemonById(201.01,false)
    App.game.party.gainPokemonById(201.02,false)
    App.game.party.gainPokemonById(201.03,false)
    App.game.party.gainPokemonById(201.04,false)
    App.game.party.gainPokemonById(201.05,false)
    App.game.party.gainPokemonById(201.06,false)
    App.game.party.gainPokemonById(201.07,false)
    App.game.party.gainPokemonById(201.08,false)
    App.game.party.gainPokemonById(201.09,false)
    App.game.party.gainPokemonById(201.1,false)
    App.game.party.gainPokemonById(201.11,false)
    App.game.party.gainPokemonById(201.12,false)
    App.game.party.gainPokemonById(201.13,false)
    App.game.party.gainPokemonById(201.14,false)
    App.game.party.gainPokemonById(201.15,false)
    App.game.party.gainPokemonById(201.16,false)
    App.game.party.gainPokemonById(201.17,false)
    App.game.party.gainPokemonById(201.18,false)
    App.game.party.gainPokemonById(201.19,false)
    App.game.party.gainPokemonById(201.2,false)
    App.game.party.gainPokemonById(201.21,false)
    App.game.party.gainPokemonById(201.22,false)
    App.game.party.gainPokemonById(201.23,false)
    App.game.party.gainPokemonById(201.24,false)
    App.game.party.gainPokemonById(201.25,false)
    App.game.party.gainPokemonById(201.26,false)
    App.game.party.gainPokemonById(201.27,false)
    App.game.party.gainPokemonById(201.28,false)

    App.game.party.removePokemonByName("MissingNo.");
    }});