mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-17 01:37:36 +00:00
Fix applying time tint to Pokemon when evolving
This commit is contained in:
parent
f0060e47a7
commit
a2fbb91a77
@ -85,8 +85,8 @@ export class EvolutionPhase extends BattlePhase {
|
||||
|
||||
[ this.pokemonSprite, this.pokemonTintSprite, this.pokemonEvoSprite, this.pokemonEvoTintSprite ].map(sprite => {
|
||||
sprite.play(pokemon.getSpriteKey(true));
|
||||
sprite.pipelineData['ignoreTimeTint'] = true;
|
||||
sprite.setPipeline(this.scene.spritePipeline, { tone: [ 0.0, 0.0, 0.0, 0.0 ], hasShadow: false });
|
||||
sprite.pipelineData['ignoreTimeTint'] = true;
|
||||
[ 'spriteColors', 'fusionSpriteColors' ].map(k => {
|
||||
if (pokemon.summonData?.speciesForm)
|
||||
k += 'Base';
|
||||
|
Loading…
x
Reference in New Issue
Block a user