Skip to content

renecatharsis/pokecalculator

Repository files navigation

PokéCalculator

Simple set of tools to help with probabilities in Pokémon games.

Requirements

  • NodeJS 18+

Installation

  • npm install
  • npm run dev

Updating static Pokémon resources

Icons for Poké Balls and Pokémon provided via https://github.com/PokeAPI

Once sprites get added with a new set of games, they'll have to be added manually once. Temporarily require their sprites repo to get the full package: npm install github:PokeAPI/sprites

  • Adding new Poké Balls
    • copy Poké Ball sprites from node_modules/pokemon-sprites/sprites/items to public/sprites/pokeballs
    • update enum to represent new items in enum/pokeBalls.ts and dataProviders/pokeBallProvider.ts
  • Adding new Pokémon
    • copy Pokémon sprites from node_modules/pokemon-sprites/sprites/pokemon to public/sprites/pokemon
    • wget -P bin/_pokedata/pokemon.csv https://github.com/PokeAPI/pokeapi/blob/master/data/v2/csv/pokemon.csv
    • npm run create-poke-data to automatically update dataProviders/pokemonProvider.ts

Legal information

Pokémon and Pokémon character names are trademarks of Nintendo.

About

Webapp to simulate multiple systems in Pokémon games

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published