File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
play.pokemonshowdown.com/js Expand file tree Collapse file tree 2 files changed +4
-4
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 ) ;
3162
3164
if ( baseFormat . substr ( 0 , 3 ) === 'gen' ) baseFormat = baseFormat . substr ( 4 ) ;
3163
3165
if ( baseFormat . substr ( 0 , 4 ) === 'bdsp' ) baseFormat = baseFormat . substr ( 4 ) ;
3164
3166
if ( baseFormat . substr ( 0 , 8 ) === 'pokebank' ) baseFormat = baseFormat . substr ( 8 ) ;
Original file line number Diff line number Diff line change @@ -1386,10 +1386,8 @@ function toId() {
1386
1386
}
1387
1387
if ( teambuilderFormatName !== name ) {
1388
1388
teambuilderFormat = toID ( teambuilderFormatName ) ;
1389
- if ( ! teambuilderFormat . startsWith ( 'gen9rebalanced' ) ) {
1390
- if ( teambuilderFormat . startsWith ( 'gen8nd' ) ) teambuilderFormat = 'gen8nationaldex' + teambuilderFormat . slice ( 6 ) ;
1391
- if ( teambuilderFormat . startsWith ( 'gen8natdex' ) ) teambuilderFormat = 'gen8nationaldex' + teambuilderFormat . slice ( 10 ) ;
1392
- }
1389
+ if ( teambuilderFormat . startsWith ( 'gen8nd' ) ) teambuilderFormat = 'gen8nationaldex' + teambuilderFormat . slice ( 6 ) ;
1390
+ if ( teambuilderFormat . startsWith ( 'gen8natdex' ) ) teambuilderFormat = 'gen8nationaldex' + teambuilderFormat . slice ( 10 ) ;
1393
1391
if ( BattleFormats [ teambuilderFormat ] ) {
1394
1392
BattleFormats [ teambuilderFormat ] . isTeambuilderFormat = true ;
1395
1393
} else {
You can’t perform that action at this time.
0 commit comments