Add evolution pausing and fix visual bug with evolution scene

This commit is contained in:
Flashfyre committed 2023-12-14 12:55:11 -05:00
1 parent fc2665b3f0
commit dad6401f67
6 files changed
+166 -128

No files matched your search

+2
View File
@@ -25,6 +25,7 @@ export default class PokemonData {
public moveset: PokemonMove[];
public status: Status;
public winCount: integer;
public pauseEvolutions: boolean;
public pokerus: boolean;
public fusionSpecies: Species;
@@ -52,6 +53,7 @@ export default class PokemonData {
this.stats = source.stats;
this.ivs = source.ivs;
this.winCount = source.winCount;
this.pauseEvolutions = !!source.pauseEvolutions;
this.pokerus = !!source.pokerus;
this.fusionSpecies = sourcePokemon ? sourcePokemon.fusionSpecies?.speciesId : source.fusionSpecies;