We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e145abc commit 6361e25Copy full SHA for 6361e25
play.pokemonshowdown.com/src/battle-dex.ts
@@ -602,7 +602,8 @@ const Dex = new class implements ModdedDex {
602
if (options.shiny && mechanicsGen > 1) dir += '-shiny';
603
604
// April Fool's 2014
605
- if (window.Config?.server?.afd || Dex.prefs('afd') || options.afd) {
+ if (Dex.prefs('afd') !== false && (window.Config?.server?.afd || Dex.prefs('afd') || options.afd)) {
606
+ // Explicit false check above means AFD will be off if the user disables it - no matter what
607
dir = 'afd' + dir;
608
spriteData.url += dir + '/' + name + '.png';
609
// Duplicate code but needed to make AFD tinymax work
0 commit comments