Skip to content

Commit

Permalink
Removing stardust() performance timing print outs
Browse files Browse the repository at this point in the history
  • Loading branch information
DeathbyToast committed May 19, 2024
1 parent f4ce4b2 commit a1381d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions indexTest.html
Original file line number Diff line number Diff line change
Expand Up @@ -2543,8 +2543,7 @@

function stardust(startlvl, endlvl, shdw, pure) {
/* Returns calculated stardust power-up costs based on https://bulbapedia.bulbagarden.net/wiki/Power_Up#CP_multiplier*/
var T0, dust = 0;
if (perfTiming) {T0 = performance.now();}
var dust = 0;

if (pure && startlvl/1 < 25) {
/* Purification sets lvl to 25 */
Expand Down Expand Up @@ -2605,7 +2604,6 @@
if (dust > 1000) {
dust = Math.round(dust/100) / 10 + "K";
}
if (perfTiming) {stopTiming(T0, "stardust");}
return dust;
}

Expand Down

0 comments on commit a1381d1

Please sign in to comment.