diff --git a/src/system/game-data.ts b/src/system/game-data.ts index 91eb66d6d48..f9f4d060cf3 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -1586,7 +1586,7 @@ export class GameData { // If incrementCount === false (not a catch scenario), only update the pokemon's dex data if the Pokemon has already been marked as caught in dex // Prevents form changes, nature changes, etc. from unintentionally updating the dex data of a "rental" pokemon const speciesRootForm = pokemon.species.getRootSpeciesId(); - if (!!this.scene.gameData.dexData[speciesRootForm].caughtAttr) { + if (this.scene.gameData.dexData[speciesRootForm].caughtAttr) { return this.setPokemonSpeciesCaught(pokemon, pokemon.species, incrementCount, fromEgg, showMessage); } else { return new Promise(resolve => resolve(false));