From c242fdc1ea6e620f84f37e96623d75c99458e99d Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Thu, 14 Feb 2013 00:45:37 -0800 Subject: Added insane speed, removed 'slow' hack. --- js/mapspecs.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'js') diff --git a/js/mapspecs.js b/js/mapspecs.js index adbf5d8..3aa123f 100644 --- a/js/mapspecs.js +++ b/js/mapspecs.js @@ -590,8 +590,7 @@ function doanimate(x, y, p, c, mapid, pathNumber) { selected = selectbox.options[selectbox.selectedIndex].value; switch (selected) { case '1': - rs =120; - rs =0; + rs =160; break; case '2': @@ -605,6 +604,10 @@ function doanimate(x, y, p, c, mapid, pathNumber) { case '4': rs =22; break; + + case '5': + rs =0; + break; } @@ -674,12 +677,11 @@ function doanimate(x, y, p, c, mapid, pathNumber) { // || mapdata[mapid].moveCount[0] < mapdata[mapid].moveCount[pathNumber] - 2) // rs = rs + 100; - if (count[mapid] % 2 == 1 && rs == 0) + if (count[mapid] % 2 == 1 && rs == 0) { doanimate(x,y,p,t,mapid,pathNumber); - else + } else { setTimeout("doanimate("+x+","+y+",'"+p+"','"+t+"','"+mapid+"','"+pathNumber+"')",rs); -//setTimeout("doanimate("+x+","+y+",'"+p+"','"+t+"','"+mapid+"','"+pathNumber+"')",1); - + } } @@ -932,6 +934,7 @@ function getSpeedOptions(mapID) { listObj[2] = 'Med'; listObj[3] = 'Fast'; listObj[4] = 'Ultra'; + listObj[5] = 'Insane'; var r = ''; r += "