Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezzo64 committed Nov 23, 2023
1 parent 101f35b commit b0b2b40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions play.pokemonshowdown.com/src/battle-dex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,7 @@ const Dex = new class implements ModdedDex {
if (window.ModSprites[spriteId][modName].includes('ani' + filepath)) return modName;
}
}
if (optionsMod && window.ModSprites[spriteId][optionsMod]) {
console.log("filepath for " + spriteId + ": " + filepath);

if (optionsMod && window.ModSprites[spriteId][optionsMod]) {
if (window.ModSprites[spriteId][optionsMod].includes('ani' + filepath)) return optionsMod;
if (window.ModSprites[spriteId][optionsMod].includes(filepath)) return optionsMod;
}
Expand Down Expand Up @@ -545,7 +543,6 @@ const Dex = new class implements ModdedDex {
spriteDir = `${options.mod}/sprites/`;
hasCustomSprite = true;
if (this.getSpriteMod(options.mod, modSpriteId, (isFront ? 'front' : 'back') + '-shiny', modSpecies.exists) === '') options.shiny = false;
console.log("pokemon: " + pokemon + ", modSpriteId: " + modSpriteId + ", modSpecies.exists: " + modSpecies.exists + ", isShiny: " + options.shiny);
}

const species = Dex.species.get(pokemon);
Expand Down

0 comments on commit b0b2b40

Please sign in to comment.