File tree 1 file changed +1
-4
lines changed
play.pokemonshowdown.com/js
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 2926
2926
buf += '</div></div>' ;
2927
2927
}
2928
2928
2929
- console . log ( set . movePPUps ) ;
2930
2929
for ( var i = 0 ; i <= 3 ; i ++ ) {
2931
2930
buf += '<div class="formrow"><label class="formlabel" title="Move ' + ( i + 1 ) + ' PP Ups">Move ' + ( i + 1 ) + ' PP Ups:</label><div>' ;
2932
2931
var defaultPPUps = toID ( set . moves [ i ] ) === 'trumpcard' ? 0 : 3 ;
2933
2932
var movePPUps = defaultPPUps ;
2934
2933
if ( set . movePPUps && ! isNaN ( set . movePPUps [ i ] ) ) movePPUps = set . movePPUps [ i ] ;
2935
- console . log ( movePPUps ) ;
2936
2934
buf += '<select name="move' + i + 'ppups" class="button">' ;
2937
2935
for ( var j = 0 ; j <= 3 ; j ++ ) {
2938
- if ( movePPUps === j ) console . log ( "match" ) ;
2939
- buf += '<option value="' + j + '" ' + ( movePPUps === j ? 'selected' : '' ) + '>' + j + '</option>'
2936
+ buf += '<option value="' + j + '" ' + ( movePPUps === j ? 'selected' : '' ) + '>' + j + '</option>' ;
2940
2937
}
2941
2938
buf += '</select>' ;
2942
2939
buf += '</div></div>' ;
You can’t perform that action at this time.
0 commit comments