exports.BattleScripts = {
  init: function() {
		for (var i in this.data.Pokedex) {
			

			this.data.Pokedex[i].baseStats.hp = (150-this.data.Pokedex[i].baseStats.hp);
                        if (this.data.Pokedex[i].baseStats.hp <= 10) {
				this.data.Pokedex[i].baseStats.hp = 10;
			}
			this.data.Pokedex[i].baseStats.atk = (150-this.data.Pokedex[i].baseStats.atk);
                        if (this.data.Pokedex[i].baseStats.atk <= 10) {
				this.data.Pokedex[i].baseStats.atk = 10;
			}
			this.data.Pokedex[i].baseStats.def = (150-this.data.Pokedex[i].baseStats.def);
                        if (this.data.Pokedex[i].baseStats.def <= 10) {
				this.data.Pokedex[i].baseStats.def = 10;
			}
			this.data.Pokedex[i].baseStats.spa = (150-this.data.Pokedex[i].baseStats.spa);
                        if (this.data.Pokedex[i].baseStats.spa <= 10) {
				this.data.Pokedex[i].baseStats.spa = 10;
			}
			this.data.Pokedex[i].baseStats.spd = (150-this.data.Pokedex[i].baseStats.spd);
                        if (this.data.Pokedex[i].baseStats.spd <= 10) {
				this.data.Pokedex[i].baseStats.spd = 10;
			}
			this.data.Pokedex[i].baseStats.spe = (150-this.data.Pokedex[i].baseStats.spe);
                        if (this.data.Pokedex[i].baseStats.spe <= 10) {
				this.data.Pokedex[i].baseStats.spe = 10;
			}
		}
	}
};

@@ -19,18 +19,17 @@
 pts = %7B%0A
-  
+%09
 init: fu
@@ -80,20 +80,126 @@
 ) %7B%0A%09%09%09%0A
-%0A%09%09%09
+                        var adjustment = 0;%0A                        %0A                        var adjustment = 
 this.dat
@@ -223,24 +223,21 @@
 Stats.hp
- = (150-
+;%0A%09%09%09
 this.dat
@@ -261,16 +261,36 @@
 Stats.hp
+ = (150 - adjustment
 );%0A     
@@ -399,32 +399,49 @@
 p = 10;%0A%09%09%09%7D%0A%09%09%09
+var adjustment = 
 this.data.Pokede
@@ -458,24 +458,21 @@
 tats.atk
- = (150-
+;%0A%09%09%09
 this.dat
@@ -497,16 +497,36 @@
 tats.atk
+ = (150 - adjustment
 );%0A     
@@ -637,32 +637,49 @@
 k = 10;%0A%09%09%09%7D%0A%09%09%09
+var adjustment = 
 this.data.Pokede
@@ -696,24 +696,21 @@
 tats.def
- = (150-
+;%0A%09%09%09
 this.dat
@@ -735,16 +735,36 @@
 tats.def
+ = (150 - adjustment
 );%0A     
@@ -875,32 +875,49 @@
 f = 10;%0A%09%09%09%7D%0A%09%09%09
+var adjustment = 
 this.data.Pokede
@@ -934,24 +934,21 @@
 tats.spa
- = (150-
+;%0A%09%09%09
 this.dat
@@ -973,16 +973,36 @@
 tats.spa
+ = (150 - adjustment
 );%0A     
@@ -1113,32 +1113,49 @@
 a = 10;%0A%09%09%09%7D%0A%09%09%09
+var adjustment = 
 this.data.Pokede
@@ -1172,24 +1172,21 @@
 tats.spd
- = (150-
+;%0A%09%09%09
 this.dat
@@ -1211,16 +1211,36 @@
 tats.spd
+ = (150 - adjustment
 );%0A     
@@ -1355,24 +1355,41 @@
 10;%0A%09%09%09%7D%0A%09%09%09
+var adjustment = 
 this.data.Po
@@ -1414,16 +1414,13 @@
 .spe
- = (150-
+;%0A%09%09%09
 this
@@ -1449,16 +1449,36 @@
 tats.spe
+ = (150 - adjustment
 );%0A     

Update script.js