Fix Pokerus tutorial condition
This commit is contained in:
parent
c5cc4445c4
commit
36de62dc8a
|
@ -1319,7 +1319,7 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
||||||
this.setTypeIcons(speciesForm.type1, speciesForm.type2);
|
this.setTypeIcons(speciesForm.type1, speciesForm.type2);
|
||||||
|
|
||||||
this.pokemonSprite.clearTint();
|
this.pokemonSprite.clearTint();
|
||||||
if (this.pokerusCursors.find((cursor: integer, i: integer) => cursor === this.cursor && this.pokerusGens[i] === this.genCursor))
|
if (this.pokerusCursors.find((cursor: integer, i: integer) => cursor === this.cursor && this.pokerusGens[i] === this.getGenCursorWithScroll()))
|
||||||
handleTutorial(this.scene, Tutorial.Pokerus);
|
handleTutorial(this.scene, Tutorial.Pokerus);
|
||||||
} else {
|
} else {
|
||||||
this.pokemonGrowthRateText.setText('');
|
this.pokemonGrowthRateText.setText('');
|
||||||
|
|
Loading…
Reference in New Issue