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 => {
|
[ this.pokemonSprite, this.pokemonTintSprite, this.pokemonEvoSprite, this.pokemonEvoTintSprite ].map(sprite => {
|
||||||
sprite.play(pokemon.getSpriteKey(true));
|
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.setPipeline(this.scene.spritePipeline, { tone: [ 0.0, 0.0, 0.0, 0.0 ], hasShadow: false });
|
||||||
|
sprite.pipelineData['ignoreTimeTint'] = true;
|
||||||
[ 'spriteColors', 'fusionSpriteColors' ].map(k => {
|
[ 'spriteColors', 'fusionSpriteColors' ].map(k => {
|
||||||
if (pokemon.summonData?.speciesForm)
|
if (pokemon.summonData?.speciesForm)
|
||||||
k += 'Base';
|
k += 'Base';
|
||||||
|
|
Loading…
Reference in New Issue