mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
improve readability
This commit is contained in:
parent
dcdf12a974
commit
408e3b507e
@ -3638,11 +3638,11 @@ export class GameOverPhase extends BattlePhase {
|
|||||||
if (pokemon.species.getRootSpeciesId() != pokemon.species.getRootSpeciesId(true)) {
|
if (pokemon.species.getRootSpeciesId() != pokemon.species.getRootSpeciesId(true)) {
|
||||||
this.awardRibbon(pokemon.species, true);
|
this.awardRibbon(pokemon.species, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pokemon.isFusion()){
|
if(pokemon.isFusion()){
|
||||||
this.awardRibbon(pokemon.fusionSpecies);
|
let fusionSpecies = pokemon.fusionSpecies
|
||||||
if (pokemon.fusionSpecies.getRootSpeciesId() != pokemon.fusionSpecies.getRootSpeciesId(true)) {
|
this.awardRibbon(fusionSpecies);
|
||||||
this.awardRibbon(pokemon.fusionSpecies, true);
|
if (fusionSpecies.getRootSpeciesId() != fusionSpecies.getRootSpeciesId(true)) {
|
||||||
|
this.awardRibbon(fusionSpecies, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user