Simple set of tools to help with probabilities in Pokémon games.
- NodeJS 20+
nvm use
npm install
npm run dev
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
topublic/sprites/pokeballs
- update enum to represent new items in
enum/PokeBalls.ts
anddataProviders/pokeBallProvider.ts
- copy Poké Ball sprites from
- Adding new Pokémon
- copy Pokémon sprites from
node_modules/pokemon-sprites/sprites/pokemon
topublic/sprites/pokemon
wget -P bin/_pokedata https://raw.githubusercontent.com/PokeAPI/pokeapi/refs/heads/master/data/v2/csv/pokemon.csv
wget -P bin/_pokedata https://raw.githubusercontent.com/PokeAPI/pokeapi/refs/heads/master/data/v2/csv/pokemon_species.csv
wget -P bin/_pokedata https://raw.githubusercontent.com/PokeAPI/pokeapi/refs/heads/master/data/v2/csv/pokemon_stats.csv
npm run create-pokemon-data
to create data fordataProviders/PokemonProvider.ts
- copy Pokémon sprites from
Pokémon and Pokémon character names are trademarks of Nintendo.