File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
play.pokemonshowdown.com/js Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3159
3159
set . species = 'Trevenant' ;
3160
3160
delete set . level ;
3161
3161
var baseFormat = this . curTeam . format ;
3162
- console . log ( 'baseformat' ) ;
3163
- console . log ( baseFormat ) ;
3164
3162
if ( baseFormat . substr ( 0 , 3 ) === 'gen' ) baseFormat = baseFormat . substr ( 4 ) ;
3165
3163
if ( baseFormat . substr ( 0 , 4 ) === 'bdsp' ) baseFormat = baseFormat . substr ( 4 ) ;
3166
3164
if ( baseFormat . substr ( 0 , 8 ) === 'pokebank' ) baseFormat = baseFormat . substr ( 8 ) ;
3415
3413
if ( this . curTeam && this . curTeam . format ) {
3416
3414
var baseFormat = this . curTeam . format ;
3417
3415
var format = window . BattleFormats && window . BattleFormats [ baseFormat ] ;
3416
+ console . log ( baseFormat ) ;
3418
3417
if ( baseFormat . substr ( 0 , 3 ) === 'gen' ) baseFormat = baseFormat . substr ( 4 ) ;
3419
3418
if ( baseFormat . substr ( 0 , 4 ) === 'bdsp' ) baseFormat = baseFormat . substr ( 4 ) ;
3420
3419
if ( baseFormat . substr ( 0 , 8 ) === 'pokebank' ) baseFormat = baseFormat . substr ( 8 ) ;
You can’t perform that action at this time.
0 commit comments