mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +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 => {
|
[ 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
Block a user