Merge branch 'pagefaultgames:main' into patch-4
commit
385232fba9
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "pokemon-rogue-battle",
|
||||
"private": true,
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
|
|
|
|||
|
|
@ -1000,6 +1000,10 @@ export class GameData {
|
|||
if (incrementCount) {
|
||||
dexEntry.seenCount++;
|
||||
this.gameStats.pokemonSeen++;
|
||||
if (!trainer && pokemon.species.pseudoLegendary || pokemon.species.legendary)
|
||||
this.gameStats.legendaryPokemonSeen++;
|
||||
else if (!trainer && pokemon.species.mythical)
|
||||
this.gameStats.mythicalPokemonSeen++;
|
||||
if (!trainer && pokemon.isShiny())
|
||||
this.gameStats.shinyPokemonSeen++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue