From 43fcd9bee09308becc19457002dcb7df69022029 Mon Sep 17 00:00:00 2001 From: ImperialSympathizer <110984302+ben-lear@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:31:36 -0400 Subject: [PATCH] Update src/system/game-data.ts Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> --- src/system/game-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/game-data.ts b/src/system/game-data.ts index f9f4d060cf3..606065cff09 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -1727,7 +1727,7 @@ export class GameData { addStarterCandy(species: PokemonSpecies, count: integer): void { // Only gain candies if the Pokemon has already been marked as caught in dex (ignore "rental" pokemon) const speciesRootForm = species.getRootSpeciesId(); - if (!!this.scene.gameData.dexData[speciesRootForm].caughtAttr) { + if (this.scene.gameData.dexData[speciesRootForm].caughtAttr) { this.scene.candyBar.showStarterSpeciesCandy(species.speciesId, count); this.starterData[species.speciesId].candyCount += count; }