Skip to content

Commit 18243f6

Browse files
committed
fix
1 parent 76b3740 commit 18243f6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

play.pokemonshowdown.com/js/client-teambuilder.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
if (this.curTeam.format.includes('sanctified')) {
3434
this.curTeam.dex = Dex.mod('gen9sanctified');
3535
}
36-
if (this.curTeam.format.startsWith('gpt')) {
36+
if (this.curTeam.format.startsWith('gen9gpt')) {
3737
this.curTeam.dex = Dex.mod('gen9gpt');
3838
}
3939
// if (this.curTeam.format.includes('espionage')) {
@@ -746,7 +746,7 @@
746746
if (this.curTeam.format.includes('sanctified')) {
747747
this.curTeam.dex = Dex.mod('gen9sanctified');
748748
}
749-
if (this.curTeam.format.startsWith('gpt')) {
749+
if (this.curTeam.format.startsWith('gen9gpt')) {
750750
this.curTeam.dex = Dex.mod('gen9gpt');
751751
}
752752
// if (this.curTeam.format.includes('espionage')) {
@@ -1601,7 +1601,7 @@
16011601
if (this.curTeam.format.includes('sanctified')) {
16021602
this.curTeam.dex = Dex.mod('gen9sanctified');
16031603
}
1604-
if (this.curTeam.format.startsWith('gpt')) {
1604+
if (this.curTeam.format.startsWith('gen9gpt')) {
16051605
this.curTeam.dex = Dex.mod('gen9gpt');
16061606
}
16071607
// if (this.curTeam.format.includes('espionage')) {
@@ -2206,12 +2206,6 @@
22062206
updateStatForm: function (setGuessed) {
22072207
var buf = '';
22082208
var set = this.curSet;
2209-
if (this.curTeam.format.startsWith('gpt')) {
2210-
this.curTeam.dex = Dex.mod('gen9gpt');
2211-
}
2212-
console.log('here')
2213-
console.log(this.curTeam.dex);
2214-
console.log(this.curTeam.format);
22152209
var species = this.curTeam.dex.species.get(this.curSet.species);
22162210
var baseStats = species.baseStats;
22172211

0 commit comments

Comments
 (0)