mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
fix tint for too expensive pokemons
This commit is contained in:
parent
8db5b96afc
commit
8e36952c8b
@ -3422,7 +3422,9 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
||||
const remainValue = valueLimit - newValue;
|
||||
for (let s = 0; s < this.starterContainers.length; s++) {
|
||||
/** Cost of pokemon species */
|
||||
const speciesStarterValue = globalScene.gameData.getSpeciesStarterValue(this.allStarterSpecies[s].speciesId);
|
||||
const speciesStarterValue = globalScene.gameData.getSpeciesStarterValue(
|
||||
this.starterContainers[s].species.speciesId,
|
||||
);
|
||||
/** {@linkcode Phaser.GameObjects.Sprite} object of Pokémon for setting the alpha value */
|
||||
const speciesSprite = this.starterContainers[s].icon;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user