mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Fix gen 7 mons' battle anims not showing (#826)
This commit is contained in:
@@ -1146,7 +1146,6 @@ var Tools = {
|
||||
|
||||
// Decide what gen sprites to use.
|
||||
var gen = {1:'rby', 2:'gsc', 3:'rse', 4:'dpp', 5:'bw', 6:'xy', 7:'xy'}[Math.max(options.gen, pokemon.gen)];
|
||||
if (pokemon.gen === 7) gen = 'bw';
|
||||
if (Tools.prefs('nopastgens')) gen = 'xy';
|
||||
if (Tools.prefs('bwgfx') && gen === 'xy') gen = 'bw';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user