home *** CD-ROM | disk | FTP | other *** search
- function pauseGame()
- {
- if(cStatus != 10)
- {
- cHolder = cStatus;
- cStatus = 10;
- trace("HE");
- }
- else if(cStatus == 10)
- {
- cStatus = cHolder;
- trace("SHE");
- }
- }
- function checkElevation()
- {
- if(elevation > 4500)
- {
- stopAllSounds();
- onMouseDown = null;
- onMouseUp = null;
- onEnterFrame = null;
- _root._x = 0;
- _root._y = 0;
- killSwitch();
- gotoAndStop("win");
- }
- }
- function moveRocketThing()
- {
- rocketThing._x = player._x;
- rocketThing._y = player._y;
- }
- function controlRadar()
- {
- radar._x = - _root._x + radarX;
- radar._y = - _root._y + radarY;
- radar.smallhedge._rotation = player._rotation;
- radar.blips._x = _root._x + 275;
- radar.blips._y = _root._y + 275;
- }
- function addMapJumper(mov, pip)
- {
- cat = radar.blips.attachMovie("jumper-blip",mov._name,k++);
- cat._x = mov._x;
- cat._y = mov._y;
- if(radarLevel == 0)
- {
- radar._visible = false;
- }
- if(radarLevel == 1)
- {
- switch(pip)
- {
- case 0:
- cat._visible = true;
- break;
- case 1:
- cat._visible = false;
- break;
- case 2:
- cat._visible = false;
- }
- }
- if(radarLevel == 2)
- {
- }
- if(radarLevel == 3)
- {
- maltColor = new Color(cat);
- switch(pip)
- {
- case 0:
- maltColor.setRGB(255);
- break;
- case 1:
- maltColor.setRGB(65280);
- break;
- case 2:
- maltColor.setRGB(16776960);
- }
- }
- }
- function removeMapJumper(mov)
- {
- radar.blips[mov._name].removeMovieClip();
- }
- function checkSlowDown()
- {
- if(Math.abs(xVel) < 1 && Math.abs(yVel) < 1 && player._y > 400)
- {
- cStatus = 5;
- stopAllSounds();
- shel = attachMovie("victoryScreen","victoryScreen",k++);
- shel._x = - _root._x + 275;
- shel._y = - _root._y + 275;
- }
- }
- function stats()
- {
- elevation = Math.floor((- player._y + 450) / 5);
- if(elevation < 0)
- {
- elevation = 0;
- }
- gotta = Math.round((levelCash - Math.floor(levelCash)) * 100);
- if(gotta == 0)
- {
- _root.levelCashDisp = levelCash + ".00";
- }
- else if(gotta % 10 == 0)
- {
- _root.levelCashDisp = levelCash + "0";
- }
- else
- {
- _root.levelCashDisp = levelCash;
- }
- gotta = Math.round((totalCash - Math.floor(totalCash)) * 100);
- if(gotta == 0)
- {
- _root.totalCashDisp = totalCash + ".00";
- }
- else if(gotta % 10 == 0)
- {
- _root.totalCashDisp = totalCash + "0";
- }
- else
- {
- _root.totalCashDisp = totalCash;
- }
- _root.totalCashDispDisp = "$" + _root.totalCashDisp + " Total";
- if(elevation > levelElevation)
- {
- levelElevation = elevation;
- lence = true;
- }
- else if(lence)
- {
- bar.bounce.play();
- lence = false;
- }
- elevationDisp = commaMonger(elevation);
- levelElevationDisp = commaMonger(levelElevation) + " ft Best";
- if(cStatus == 4)
- {
- mph = Math.floor(dist(oldMX,oldMY,player._x,player._y));
- distTraveled += Math.floor(mph / 5);
- distTraveledDisp = commaMonger(distTraveled) + " ft traveled";
- mphDisp = mph + " MPH";
- oldMX = player._x;
- oldMY = player._y;
- }
- }
- function mainTimer()
- {
- miliSeconds += 3.125;
- if(miliSeconds >= 100)
- {
- miliSeconds = 0;
- seconds++;
- }
- if(seconds >= 60)
- {
- seconds = 0;
- minutes++;
- }
- clockDisp = loopTen(minutes) + ":" + loopTen(seconds) + "." + loopTen(Math.floor(miliSeconds));
- }
- function loopTen(num)
- {
- if(num < 10)
- {
- return "0" + num;
- }
- return num;
- }
- function moveBar()
- {
- bar._x = - _root._x;
- bar._y = - _root._y;
- whiteFade._x = bar._x;
- whiteFade._y = bar._y;
- }
- function nextDay()
- {
- stopAllSounds();
- onMouseDown = null;
- onMouseUp = null;
- _root._x = 0;
- _root._y = 0;
- day++;
- gotoAndStop("upgrade");
- killSwitch();
- }
- function control()
- {
- if(myFuel > 0 && !eRocketDeployed)
- {
- if(Key.isDown(37))
- {
- rocketThing.leftBurst._visible = true;
- xVel -= lInc;
- drainFuel();
- loadFire("left");
- }
- else
- {
- rocketThing.leftBurst._visible = false;
- }
- if(Key.isDown(39))
- {
- xVel += rInc;
- drainFuel();
- loadFire("right");
- rocketThing.rightBurst._visible = true;
- }
- else
- {
- rocketThing.rightBurst._visible = false;
- }
- if(xVel > RMax)
- {
- xVel = RMax;
- }
- if(xVel < - LMax)
- {
- xVel = - LMax;
- }
- }
- else
- {
- rocketThing.leftBurst._visible = false;
- rocketThing.rightBurst._visible = false;
- }
- if(Key.isDown(40) && !downKey && !eRocketDeployed && parachuteDeployed == false && yVel > 0 && paraUses > 0)
- {
- paraUses--;
- parachuteDeployed = true;
- rocketThing.parachute.gotoAndPlay(2);
- downKey = true;
- }
- if(Key.isDown(40) && !downKey && !eRocketDeployed && parachuteDeployed)
- {
- closeParachute();
- downKey = true;
- }
- if(!Key.isDown(40))
- {
- downKey = false;
- }
- if(Key.isDown(38) && !parachuteDeployed && eRocketDeployed == false && eRocketUses > 0)
- {
- eRocketUses--;
- rockety.start(0,1);
- eRocketDeployed = true;
- player._rotation = -90;
- }
- bar.fuelBar._xscale = myFuel / totalFuel * 100;
- }
- function closeParachute()
- {
- if(parachuteDeployed)
- {
- parachuteDeployed = false;
- rocketThing.parachute.gotoAndPlay(12);
- }
- }
- function loadFire(str)
- {
- i = 0;
- while(i < totalParts)
- {
- shel = rocketThing.attachMovie("star2","star" + k,k++);
- switch(str)
- {
- case "left":
- shel._x = 10;
- shel.xVel = Math.abs(xVel) + random(20);
- shel._y = 0;
- shel.yVel = - random(10);
- break;
- case "right":
- shel._x = -10;
- shel.xVel = - (Math.abs(xVel) + random(20));
- shel._y = 0;
- shel.yVel = - random(10);
- break;
- case "down":
- shel._y = 10;
- shel.yVel = Math.abs(yVel) + random(20);
- shel._x = 0;
- shel.xVel = 10 - random(20);
- }
- shel.onEnterFrame = function()
- {
- this._x += this.xVel;
- this._y += this.yVel;
- this.yVel += gravity;
- };
- i++;
- }
- }
- function drainFuel()
- {
- myFuel -= baseDrain;
- }
- function backgrounds()
- {
- curQuad = Math.floor(player._x / 1000);
- bgs.bg0.removeMovieClip();
- bgs.bg1.removeMovieClip();
- bgs.bg2.removeMovieClip();
- shel = bgs.attachMovie("bg","bg0",k++);
- shel._x = (curQuad - 1) * 1000;
- shel._y = 550;
- shel = bgs.attachMovie("bg","bg1",k++);
- shel._x = curQuad * 1000;
- shel._y = 550;
- shel = bgs.attachMovie("bg","bg2",k++);
- shel._x = (curQuad + 1) * 1000;
- shel._y = 550;
- curQuad = Math.floor((player._x - bbgs._x) / 800);
- bbgs.bg0.removeMovieClip();
- bbgs.bg1.removeMovieClip();
- bbgs.bg2.removeMovieClip();
- shel = bbgs.attachMovie("longSky","bg0",k++);
- shel._x = (curQuad - 1) * 800;
- shel._y = 550;
- shel = bbgs.attachMovie("longSky","bg1",k++);
- shel._x = curQuad * 800;
- shel._y = 550;
- shel = bbgs.attachMovie("longSky","bg2",k++);
- shel._x = (curQuad + 1) * 800;
- shel._y = 550;
- }
- function depths()
- {
- bbgs.swapDepths(k++);
- bgs.swapDepths(k++);
- launcher.swapDepths(k++);
- particles.swapDepths(k++);
- rocketThing.swapDepths(k++);
- rocketThing.fwoop.swapDepths(k++);
- player.swapDepths(k++);
- bungieArea.swapDepths(k++);
- bungie.swapDepths(k++);
- pUps.swapDepths(k++);
- particles.swapDepths(k++);
- yoyo.swapDepths(k++);
- bar.swapDepths(k++);
- firstWarning.swapDepths(k++);
- radar.swapDepths(k++);
- victoryScreen.swapDepths(k++);
- whiteFade.swapDepths(k++);
- }
- function placeJumpers()
- {
- curQuad = Math.floor(player._x / 1000);
- if(curQuad != puQuad)
- {
- if(curQuad < puQuad)
- {
- targetQuad = curQuad - 1;
- }
- else
- {
- targetQuad = curQuad + 1;
- }
- loadIn(targetQuad);
- puQuad = curQuad;
- for(var _loc1_ in pUps)
- {
- if(typeof pUps[_loc1_] == "movieclip")
- {
- if(pUps[_loc1_]._x > (curQuad + 2) * 1000)
- {
- removeMapJumper(pUps[_loc1_]);
- pUps[_loc1_].removeMovieClip();
- }
- if(pUps[_loc1_]._x < (curQuad - 2) * 1000)
- {
- removeMapJumper(pUps[_loc1_]);
- pUps[_loc1_].removeMovieClip();
- }
- }
- }
- }
- }
- function loadIn(tar)
- {
- i = 0;
- while(i < 10)
- {
- shel = pUps.attachMovie("jumper0","jump" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.type = 0;
- addMapJumper(shel,shel.type);
- i++;
- }
- i = 0;
- while(i < 2)
- {
- shel = pUps.attachMovie("jumper1","jump" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.type = 1;
- addMapJumper(shel,shel.type);
- i++;
- }
- i = 0;
- while(i < 2)
- {
- shel = pUps.attachMovie("jumper2","jump" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.type = 2;
- addMapJumper(shel,shel.type);
- i++;
- }
- i = 0;
- while(i < 40)
- {
- shel = pUps.attachMovie("coin0","coin" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.coin = true;
- shel.type = 1;
- i++;
- }
- i = 0;
- while(i < 20)
- {
- shel = pUps.attachMovie("coin1","coin" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.coin = true;
- shel.type = 2;
- i++;
- }
- i = 0;
- while(i < 5)
- {
- shel = pUps.attachMovie("coin2","coin" + k,k++);
- shel._x = tar * 1000 + random(1000);
- shel._y = 500 - random(20000);
- shel.coin = true;
- shel.type = 3;
- i++;
- }
- }
- function addVal(num)
- {
- levelCash += num;
- shel = yoyo.attachMovie("showVal","sh" + k,k++);
- shel._x = player._x;
- shel._y = player._y - 100;
- shel.val = "+$" + num;
- }
- function powerUps()
- {
- for(var _loc1_ in pUps)
- {
- if(typeof pUps[_loc1_] == "movieclip")
- {
- if(pUps[_loc1_].hitTest(player))
- {
- if(!pUps[_loc1_].coin)
- {
- switch(pUps[_loc1_].type)
- {
- case 0:
- if(yVel > 0)
- {
- yVel = -20;
- addVal(1);
- closeParachute();
- moveIt(pUps[_loc1_]);
- plat1.start(0,1);
- removeMapJumper(pUps[_loc1_]);
- }
- break;
- case 1:
- if(yVel > 0)
- {
- yVel = -35;
- addVal(5);
- closeParachute();
- moveIt(pUps[_loc1_]);
- plat2.start(0,1);
- removeMapJumper(pUps[_loc1_]);
- }
- break;
- case 2:
- if(yVel > 0)
- {
- yVel = -50;
- addVal(10);
- closeParachute();
- moveIt(pUps[_loc1_]);
- plat3.start(0,1);
- removeMapJumper(pUps[_loc1_]);
- }
- }
- }
- else
- {
- switch(pUps[_loc1_].type)
- {
- case 1:
- addVal(0.25);
- coinSound.start(0,1);
- break;
- case 2:
- addVal(1);
- coinSound.start(0,1);
- break;
- case 3:
- addVal(5);
- coinSound.start(0,1);
- }
- j = 0;
- while(j < 10)
- {
- shel = particles.attachMovie("burst","burst" + k,k++);
- shel._x = pUps[_loc1_]._x;
- shel._y = pUps[_loc1_]._y;
- shel.inside.gotoAndStop(pUps[_loc1_].type);
- shel._yscale = _loc0_ = random(100) + 50;
- shel._xscale = _loc0_;
- shel._rotation = random(360);
- j++;
- }
- pUps[_loc1_].removeMovieClip();
- }
- }
- }
- }
- }
- function moveIt(mov)
- {
- mov.rotSpeed = (player._x - mov._x) / 20;
- mov.yMov = yVel / 2;
- mov.xMov = 0;
- mov.onEnterFrame = function()
- {
- this._y += this.yMov;
- this.yMov += gravity;
- this._x += this.xMov;
- this._rotation += this.rotSpeed;
- };
- }
- function killSwitch()
- {
- for(var _loc2_ in _root)
- {
- if(typeof _root[_loc2_] == "movieclip")
- {
- _root[_loc2_].removeMovieClip();
- }
- }
- }
- function movePlayer()
- {
- player.filters = new Array(new flash.filters.BlurFilter(Math.abs(xVel / 50),Math.abs(yVel / 50),5));
- player._xscale = 100 - Math.abs(xVel / 3);
- player._yscale = 100 + Math.abs(yVel / 3);
- newPX = player._x;
- newPY = player._y;
- player._rotation = rot(oldPX,oldPY,newPX,newPY);
- player._x += xVel;
- player._y += yVel;
- yVel += gravity;
- if(player._y > 500)
- {
- player._y = 500;
- yVel *= -0.4;
- xVel *= 0.4;
- closeParachute();
- }
- oldPX = newPX;
- oldPY = newPY;
- rocketThing._x = player._x;
- rocketThing._y = player._y;
- if(parachuteDeployed)
- {
- if(yVel > 5)
- {
- yVel /= 2;
- }
- else
- {
- yVel = 4;
- }
- }
- if(eRocketDeployed == true)
- {
- rocketCounter++;
- xVel = 0;
- yVel = -50;
- loadFire("down");
- if(rocketCounter > 20)
- {
- rocketCounter = 0;
- eRocketDeployed = false;
- }
- }
- }
- function trail()
- {
- if(yVel < 0)
- {
- shel = particles.attachMovie("star","particles" + k,k++);
- shel._x = player._x + 20 - random(40);
- shel._y = player._y;
- shel._rotation = random(360);
- shel._yscale = shel._xscale = random(50) + 50;
- tap = Math.round(Math.random() * 16777215);
- altColor = new Color(shel);
- altColor.setRGB(tap);
- }
- }
- function calcVelocity()
- {
- newX = bungie._x;
- newY = bungie._y;
- txVel = newX - oldX;
- tyVel = newY - oldY;
- if(tyVel < bestVel)
- {
- bestVel = tyVel;
- }
- else
- {
- cStatus = 4;
- yVel = tyVel;
- xVel = txVel;
- oldPX = player._x;
- oldPY = player._y;
- }
- oldX = newX;
- oldY = newY;
- }
- function drawBungie()
- {
- if(cStatus == 2)
- {
- bungie._rotation = - (bungie._x - 275) / 6;
- player._rotation = bungie._rotation;
- }
- if(cStatus == 4 || cStatus == 5)
- {
- easing("rotation",bungie,0,0.04);
- }
- bungieArea.clear();
- bungieArea.lineStyle(7,0,100);
- bungieArea.moveTo(launcher._x + 8,launcher._y + 8);
- var _loc2_ = {};
- _loc2_.x = bungie.lG._x;
- _loc2_.y = bungie.lG._y;
- bungie.localToGlobal(_loc2_);
- bungieArea.lineTo(_loc2_.x - _root._x,_loc2_.y - _root._y);
- bungieArea.moveTo(launcher._x + launcher._width - 8,launcher._y + 8);
- _loc2_ = {};
- _loc2_.x = bungie.rG._x;
- _loc2_.y = bungie.rG._y;
- bungie.localToGlobal(_loc2_);
- bungieArea.lineTo(_loc2_.x - _root._x,_loc2_.y - _root._y);
- bungieArea.lineStyle(5,bandColor,100);
- bungieArea.moveTo(launcher._x + 8,launcher._y + 8);
- _loc2_ = {};
- _loc2_.x = bungie.lG._x;
- _loc2_.y = bungie.lG._y;
- bungie.localToGlobal(_loc2_);
- bungieArea.lineTo(_loc2_.x - _root._x,_loc2_.y - _root._y);
- bungieArea.moveTo(launcher._x + launcher._width - 8,launcher._y + 8);
- _loc2_ = {};
- _loc2_.x = bungie.rG._x;
- _loc2_.y = bungie.rG._y;
- bungie.localToGlobal(_loc2_);
- bungieArea.lineTo(_loc2_.x - _root._x,_loc2_.y - _root._y);
- }
- function moveBungie()
- {
- xspeed += (launcher._x + launcher._width / 2 - bungie._x) / ease;
- yspeed += (launcher._y - bungie._y) / ease;
- xspeed *= fric;
- yspeed *= fric;
- bungie._x += xspeed;
- bungie._y += yspeed;
- }
- function prePlayer()
- {
- player._x = bungie._x;
- player._y = bungie._y;
- }
- function dynCamera()
- {
- xCalc = (550 - 550 * (_root._xscale / 100)) / 2;
- yCalc = (550 - 550 * (_root._yscale / 100)) / 2;
- offsetX = 275 - player._x - _root._x;
- offsetY = 275 - player._y - _root._y;
- _root._x += offsetX;
- _root._y += offsetY;
- if(_root._y < 550 - bb._y)
- {
- _root._y = 550 - bb._y;
- }
- bbgs._y = - _root._y / 1.2;
- bbgs._x = - _root._x / 1.2;
- }
- function easing(pro, mov1, mov2, drift)
- {
- switch(pro)
- {
- case "x":
- mov1._x -= drift * ((mov1._x - mov2) / 2);
- break;
- case "y":
- mov1._y -= drift * ((mov1._y - mov2) / 2);
- break;
- case "xscale":
- mov1._xscale -= drift * ((mov1._xscale - mov2) / 2);
- break;
- case "yscale":
- mov1._yscale -= drift * ((mov1._yscale - mov2) / 2);
- break;
- case "width":
- mov1._width -= drift * ((mov1._width - mov2) / 2);
- break;
- case "height":
- mov1._height -= drift * ((mov1._height - mov2) / 2);
- break;
- case "alpha":
- mov1._alpha -= drift * ((mov1._alpha - mov2) / 2);
- break;
- case "rotation":
- mov1._rotation -= drift * ((mov1._rotation - mov2) / 2);
- }
- }
- function dist(x1, y1, x2, y2)
- {
- return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
- }
- function rot(circx, circy, prevx, prevy)
- {
- if(circx < prevx && circy < prevy)
- {
- angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
- degrees = angle * 180 / 3.141592653589793;
- return degrees + 90;
- }
- if(circx < prevx && circy > prevy)
- {
- angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
- degrees = angle * 180 / 3.141592653589793;
- return 90 - degrees;
- }
- if(circx > prevx && circy < prevy)
- {
- angle = Math.atan(Math.abs(circx - prevx) / Math.abs(circy - prevy));
- degrees = angle * 180 / 3.141592653589793;
- return - (180 - degrees);
- }
- if(circx > prevx && circy > prevy)
- {
- angle = Math.atan(Math.abs(circy - prevy) / Math.abs(circx - prevx));
- degrees = angle * 180 / 3.141592653589793;
- return - (90 - degrees);
- }
- }
- var k = 2;
- _root.createEmptyMovieClip("bungieArea",k++);
- Mouse.show();
- cursor._visible = false;
- cursor.stopDrag();
- var cStatus = 1;
- var paraUses = parachuteLevel;
- var eRocketUses = eRocketLevel;
- var bandColor = bandColors[bandLevel];
- onEnterFrame = function()
- {
- switch(cStatus)
- {
- case 1:
- prePlayer();
- moveRocketThing();
- break;
- case 2:
- prePlayer();
- moveRocketThing();
- break;
- case 3:
- firstWarning._visible = false;
- moveBungie();
- prePlayer();
- dynCamera();
- calcVelocity();
- moveRocketThing();
- break;
- case 4:
- control();
- moveBungie();
- movePlayer();
- trail();
- dynCamera();
- placeJumpers();
- powerUps();
- mainTimer();
- magnet();
- checkSlowDown();
- moveRocketThing();
- checkElevation();
- break;
- case 5:
- moveBungie();
- }
- controlRadar();
- moveBar();
- drawBungie();
- stats();
- backgrounds();
- depths();
- };
- var levelCash = 0;
- var mphDisp;
- player.goggles.gotoAndStop(gogglesLevel + 1);
- launcher._y = 350 - launchSize[launcherLevel] * 5;
- radarX = radar._x;
- radarY = radar._y;
- var oldMX = 0;
- var oldMY = 0;
- var mph = 0;
- var distTraveled = 0;
- var lence = false;
- var levelElevation = 0;
- var seconds = 0;
- var miliSeconds = 0;
- var minutes = 0;
- _root.createEmptyMovieClip("particles",k++);
- _root.createEmptyMovieClip("bgs",k++);
- _root.createEmptyMovieClip("bbgs",k++);
- bungie._y = launcher._y;
- var totalParts = 3;
- var parachuteDeployed = false;
- var eRocketDeployed = false;
- var rockety = new Sound(this);
- rockety.attachSound("rocket_sound2");
- var downKey = false;
- var baseRocketFuel = 200;
- var totalFuel = baseRocketFuel + rocketSize[rocketPackLevel] * baseRocketFuel;
- var myFuel = totalFuel;
- var baseDrain = 1;
- var baseLMax = 25;
- var baseRMax = baseLMax;
- var LMax = baseLMax + baseLMax * lRocketSize[leftRocketLevel];
- var RMax = baseRMax + baseRMax * rRocketSize[rightRocketLevel];
- var lInc = LMax / 20;
- var rInc = RMax / 20;
- var puQuad = 0;
- if(day > 1)
- {
- firstWarning.swapDepths(k++);
- firstWarning.removeMovieClip();
- }
- var coinSound = new Sound(this);
- coinSound.attachSound("cling_1");
- var plat1 = new Sound(this);
- var plat2 = new Sound(this);
- var plat3 = new Sound(this);
- plat1.attachSound("ns-signal-0");
- plat2.attachSound("ns-signal-3");
- plat3.attachSound("ns-signal-5");
- _root.createEmptyMovieClip("particles",k++);
- _root.createEmptyMovieClip("pUps",k++);
- _root.createEmptyMovieClip("yoyo",k++);
- var jumpCounter = 1;
- var bestVel = 1000;
- var gravity = 0.6;
- var oldPX = 0;
- var oldPY = 0;
- var newPX = 0;
- var newPY = 0;
- var rocketCounter = 0;
- onMouseDown = function()
- {
- if(bungie.hitTest(_xmouse,_ymouse) && cStatus == 1)
- {
- bungie.startDrag();
- cStatus = 2;
- }
- };
- onMouseUp = function()
- {
- if(cStatus == 2)
- {
- bungie.stopDrag();
- dragging = false;
- cStatus = 3;
- oldX = bungie._x;
- oldY = bungie._y;
- stopAllSounds();
- mainTheme.start(0,2000);
- }
- };
- var mainTheme = new Sound(this);
- mainTheme.attachSound("mindMaster");
- var xspeed = 0;
- var yspeed = 0;
- var fric = 0.95;
- var baseEase = 20;
- var ease = 50 - baseEase - baseEase * bandPower[bandLevel];
- var angle = 0;
- var degrees = 0;
- loadIn(-1);
- loadIn(1);
- loadIn(0);
- stop();
-