File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
play.pokemonshowdown.com/js Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1276
1276
console . log ( species ) ;
1277
1277
var isLetsGo = this . curTeam . format . includes ( 'letsgo' ) ;
1278
1278
var isBDSP = this . curTeam . format . includes ( 'bdsp' ) ;
1279
- var isNatDex = this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ;
1279
+ var isRebalanced = this . curTeam . format . startsWith ( 'gen9rebalanced' ) ;
1280
+ var isNatDex = ! isRebalanced && ( this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ) ;
1280
1281
var buf = '<li value="' + i + '">' ;
1281
1282
if ( ! set . species ) {
1282
1283
if ( this . deletedSet ) {
2737
2738
var set = this . curSet ;
2738
2739
var isLetsGo = this . curTeam . format . includes ( 'letsgo' ) ;
2739
2740
var isBDSP = this . curTeam . format . includes ( 'bdsp' ) ;
2740
- var isNatDex = this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ;
2741
+ var isRebalanced = this . curTeam . format . startsWith ( 'gen9rebalanced' ) ;
2742
+ var isNatDex = ! isRebalanced && ( this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ) ;
2741
2743
var isHackmons = this . curTeam . format . includes ( 'hackmons' ) || this . curTeam . format . endsWith ( 'bh' ) ;
2742
2744
var species = this . curTeam . dex . species . get ( set . species ) ;
2743
2745
if ( ! set ) return ;
2843
2845
var species = this . curTeam . dex . species . get ( set . species ) ;
2844
2846
var isLetsGo = this . curTeam . format . includes ( 'letsgo' ) ;
2845
2847
var isBDSP = this . curTeam . format . includes ( 'bdsp' ) ;
2846
- var isNatDex = this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ;
2848
+ var isRebalanced = this . curTeam . format . startsWith ( 'gen9rebalanced' ) ;
2849
+ var isNatDex = ! isRebalanced && ( this . curTeam . format . includes ( 'nationaldex' ) || this . curTeam . format . includes ( 'natdex' ) ) ;
2847
2850
2848
2851
// level
2849
2852
var level = parseInt ( this . $chart . find ( 'input[name=level]' ) . val ( ) , 10 ) ;
Original file line number Diff line number Diff line change 305
305
306
306
// number
307
307
var tier = this . engine ? this . engine . getTier ( pokemon ) : pokemon . num ;
308
- console . log ( 'hiero' ) ;
309
- console . log ( this . engine ) ;
310
- console . log ( tier ) ;
311
308
// buf += '<span class="col numcol">' + (pokemon.num >= 0 ? pokemon.num : 'CAP') + '</span> ';
312
309
buf += '<span class="col numcol">' + tier + '</span> ' ;
313
310
You can’t perform that action at this time.
0 commit comments