This simple script generates a complete image sprite of all Pokémon in the National Pokédex, along with the icons for every single in-game item. It also generates SCSS and JS files which can then be used to efficiently display the icons from the sprite on a website. Displaying the sprites is a matter of adding an empty <span> or <div> element with the appropriate class attribute set, and then running the JS decoration code. The base class is pkspr. Following the base class, you can add a number of classes that specify which icon is to be displayed.