Frame 2
if (getBytesLoaded() == getBytesTotal()) {
gotoAndPlay ("continue");
}
Frame 3
if (getBytesLoaded() == getBytesTotal()) {
loader_mc.gotoAndPlay(49);
}
if (getBytesLoaded() < getBytesTotal()) {
percentLoaded = (getBytesLoaded() / getBytesTotal()) * 100;
loader_mc.gotoAndStop(Math.round(percentLoaded) / 2);
} else {
loader_mc.play();
stop();
}
Frame 5
gotoAndPlay ("loopStart");
Frame 10
_root.points = 0;
_root.perfectpointsFinal = 0;
_root.greatpointsFinal = 0;
_root.goodpointsFinal = 0;
_root.missesFinal = 0;
Frame 132
stop();
Instance of Symbol 127 MovieClip "DownArrow" in Frame 287
onClipEvent (load) {
arrowDownMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowDownMove == 1) {
_root.arrowDownMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowDownMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowDownMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowDownMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowDownMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowDownMove = 0;
eval (newBurst).arrowDownMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 349
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 349
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 350
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 350
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 351
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 351
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 352
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 352
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 353
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 353
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 354
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 354
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 355
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 355
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 356
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 356
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 357
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 357
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 129 MovieClip "RightArrow" in Frame 358
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 132 MovieClip "leftArrow" in Frame 358
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Frame 455
gotoAndPlay ("instructions");
Frame 564
stopAllSounds();
startTime = getTimer();
beats = 0;
_root.frameRate = 20;
if (level == 1) {
loadVariablesNum ("level1.txt", 0);
_root.Speed = 7;
_root.releaseRate = 20.9;
}
if (level == 2) {
loadVariablesNum ("level2.txt", 0);
_root.Speed = 7;
_root.releaseRate = 16.1;
}
if (level == 3) {
loadVariablesNum ("level3.txt", 0);
_root.Speed = 7;
_root.releaseRate = 13.2;
}
energyBar.gotoAndStop(10);
_root.powerEmpty = 0;
_root.energyGainRate = 5;
_root.energyincrease = 0;
_root.combo = 0;
_root.DistanceToTravel = leftArrow._y - leftArrowMarker._y;
_root.neededAccuracy = 15;
_root.perfectAccuracy = 4;
_root.greatAccuracy = 8;
_root.goodAccuracy = 15;
_root.ScoreIncrements = 5;
_root.ScoreIncrPerfect = 30;
_root.ScoreIncrGreat = 20;
_root.ScoreIncrGood = 10;
_root.misses = 0;
_root.perfectpoints = 0;
_root.greatpoints = 0;
_root.goodpoints = 0;
_root.leftArrowMarker.ammo.gotoAndStop(1);
_root.upArrowMarker.ammo.gotoAndStop(1);
_root.downArrowMarker.ammo.gotoAndStop(1);
_root.RightArrowMarker.ammo.gotoAndStop(1);
Instance of Symbol 211 MovieClip "leftArrow" in Frame 564
onClipEvent (load) {
arrowLeftMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowLeftMove == 1) {
_root.arrowLeftMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowLeftMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowLeftMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowLeftMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowLeftMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowLeftMove = 0;
eval (newBurst).arrowLeftMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 213 MovieClip "UpArrow" in Frame 564
onClipEvent (load) {
arrowUpMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowUpMove == 1) {
_root.arrowUpMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowUpMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowUpMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowUpMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowUpMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowUpMove = 0;
eval (newBurst).arrowUpMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 215 MovieClip "RightArrow" in Frame 564
onClipEvent (load) {
arrowRightMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowRightMove == 1) {
_root.arrowRightMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowRightMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowRightMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowRightMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowRightMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowRightMove = 0;
eval (newBurst).arrowRightMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 217 MovieClip "DownArrow" in Frame 564
onClipEvent (load) {
arrowDownMove = 0;
burst = 0;
ammo._y = 0;
holdDownNo = 0;
}
onClipEvent (enterFrame) {
if (holdDownNo == 0) {
BeatStart = _root.BeatStart;
}
if (_root.arrowDownMove == 1) {
_root.arrowDownMove = 0;
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
eval (newBurst).arrowDownMove = 1;
eval (newBurst).BeatStart = BeatStart;
burst++;
holdDownNo = 0;
}
if (_root.arrowDownMove == 2) {
if (holdDownNo > 0) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
if (holdDownNo > 1) {
eval (newBurst)._alpha = 20;
}
eval (newBurst).arrowDownMove = 2;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
}
holdDownNo++;
burst++;
} else if (_root.arrowDownMove == 3) {
newBurst = "newBurst" + burst;
duplicateMovieClip (ammo, newBurst, burst);
eval (newBurst)._y = 0;
_root.arrowDownMove = 0;
eval (newBurst).arrowDownMove = 3;
eval (newBurst).BeatStart = BeatStart + holdDownNo;
burst++;
holdDownNo = 0;
}
}
Instance of Symbol 266 MovieClip "track1" in Frame 564
onClipEvent (enterFrame) {
if (_root.level == 1) {
if (_currentframe > 2) {
FrameNo = Math.round(((getTimer() - _root.startTime) * _root.framerate) / 1000);
gotoAndStop(FrameNo +563);
lastFrame = (_root.ValuesArray.length * _root.releaseRate) + (_root.DistanceToTravel / _root.Speed);
if (FrameNo >= lastFrame) {
_root.finished = 1;
_root.gotoAndPlay("levelend");
}
_root.playNumber = Math.floor(FrameNo / _root.releaseRate);
if (_currentframe < _totalframes) {
if (this["playNumberDone" + _root.playNumber] != 1) {
_root.BeatStart = _currentframe;
if (_root.ValuesArray[_root.playNumber].charAt(0) == 0) {
_root.arrowLeftMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 1) {
_root.arrowLeftMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 2) {
_root.arrowLeftMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 3) {
_root.arrowLeftMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(1) == 0) {
_root.arrowDownMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 1) {
_root.arrowDownMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 2) {
_root.arrowDownMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 3) {
_root.arrowDownMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(2) == 0) {
_root.arrowUpMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 1) {
_root.arrowUpMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 2) {
_root.arrowUpMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 3) {
_root.arrowUpMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(3) == 0) {
_root.arrowRightMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 1) {
_root.arrowRightMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 2) {
_root.arrowRightMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 3) {
_root.arrowRightMove = 3;
}
this["playNumberDone" + _root.playNumber] = 1;
}
}
}
}
}
Instance of Symbol 269 MovieClip in Frame 564
onClipEvent (load) {
keyListener = new Object();
_root.Left = 0;
_root.Right = 0;
_root.Up = 0;
_root.Down = 0;
KeytimeOut = 10;
KeytimeLimit = 4;
timeoutLeft = 0;
timeoutRight = 0;
timeoutUp = 0;
timeoutDown = 0;
keyListener.onKeyDown = function () {
var _local1 = _root;
switch (Key.getCode()) {
case 38 :
if (_local1.Up == 0) {
_local1.Up = 1;
}
return;
case 67 :
if (_local1.Up == 0) {
_local1.Up = 1;
}
return;
case 40 :
if (_local1.Down == 0) {
_local1.Down = 1;
}
return;
case 88 :
if (_local1.Down == 0) {
_local1.Down = 1;
}
return;
case 37 :
if (_local1.Left == 0) {
_local1.Left = 1;
}
return;
case 90 :
if (_local1.Left == 0) {
_local1.Left = 1;
}
return;
case 39 :
if (_local1.Right == 0) {
_local1.Right = 1;
}
return;
case 86 :
if (_local1.Right != 0) {
break;
}
_local1.Right = 1;
}
};
keyListener.onKeyUp = function () {
var _local1 = _root;
switch (Key.getCode()) {
case 38 :
_local1.Up = 5;
timeoutUp = 0;
return;
case 40 :
_local1.Down = 5;
timeoutDown = 0;
return;
case 37 :
_local1.Left = 5;
timeoutLeft = 0;
return;
case 39 :
_local1.Right = 5;
timeoutRight = 0;
return;
case 67 :
_local1.Up = 5;
timeoutUp = 0;
return;
case 88 :
_local1.Down = 5;
timeoutDown = 0;
return;
case 90 :
_local1.Left = 5;
timeoutLeft = 0;
return;
case 86 :
_local1.Right = 5;
timeoutRight = 0;
}
};
Key.addListener(keyListener);
}
onClipEvent (enterFrame) {
if (_root.powerEmpty == 1) {
_root.gotoAndPlay("levelend");
}
if (_root.Left == 1) {
timeoutLeft++;
if (timeoutLeft >= KeytimeLimit) {
_root.Left = 4;
timeoutLeft = 0;
}
}
if (_root.Right == 1) {
timeoutRight++;
if (timeoutRight >= KeytimeLimit) {
_root.Right = 4;
timeoutRight = 0;
}
}
if (_root.Up == 1) {
timeoutUp++;
if (timeoutUp >= KeytimeLimit) {
_root.Up = 4;
timeoutUp = 0;
}
}
if (_root.Down == 1) {
timeoutDown++;
if (timeoutDown >= KeytimeLimit) {
_root.Down = 4;
timeoutDown = 0;
}
}
if (_root.Left >= 5) {
_root.Left++;
if (_root.Left >= KeytimeOut) {
_root.Left = 0;
}
}
if (_root.Up >= 5) {
_root.Up++;
if (_root.Up >= KeytimeOut) {
_root.Up = 0;
}
}
if (_root.Down >= 5) {
_root.Down++;
if (_root.Down >= KeytimeOut) {
_root.Down = 0;
}
}
if (_root.Right >= 5) {
_root.Right++;
if (_root.Right >= KeytimeOut) {
_root.Right = 0;
}
}
}
Instance of Symbol 272 MovieClip "track2" in Frame 564
onClipEvent (enterFrame) {
if (_root.level == 2) {
if (_currentframe > 2) {
FrameNo = Math.round(((getTimer() - _root.startTime) * _root.framerate) / 1000);
gotoAndStop(FrameNo +563);
lastFrame = (_root.ValuesArray.length * _root.releaseRate) + (_root.DistanceToTravel / _root.Speed);
if (FrameNo >= lastFrame) {
_root.finished = 1;
_root.gotoAndPlay("levelend");
}
_root.playNumber = Math.floor(FrameNo / _root.releaseRate);
if (_currentframe < _totalframes) {
if (this["playNumberDone" + _root.playNumber] != 1) {
_root.BeatStart = _currentframe;
if (_root.ValuesArray[_root.playNumber].charAt(0) == 0) {
_root.arrowLeftMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 1) {
_root.arrowLeftMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 2) {
_root.arrowLeftMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 3) {
_root.arrowLeftMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(1) == 0) {
_root.arrowDownMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 1) {
_root.arrowDownMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 2) {
_root.arrowDownMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 3) {
_root.arrowDownMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(2) == 0) {
_root.arrowUpMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 1) {
_root.arrowUpMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 2) {
_root.arrowUpMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 3) {
_root.arrowUpMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(3) == 0) {
_root.arrowRightMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 1) {
_root.arrowRightMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 2) {
_root.arrowRightMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 3) {
_root.arrowRightMove = 3;
}
this["playNumberDone" + _root.playNumber] = 1;
}
}
}
}
}
Instance of Symbol 274 MovieClip "track3" in Frame 564
onClipEvent (enterFrame) {
if (_root.level == 3) {
if (_currentframe > 2) {
FrameNo = Math.round(((getTimer() - _root.startTime) * _root.framerate) / 1000);
gotoAndStop(FrameNo +563);
lastFrame = (_root.ValuesArray.length * _root.releaseRate) + (_root.DistanceToTravel / _root.Speed);
if (FrameNo >= lastFrame) {
_root.finished = 1;
_root.gotoAndPlay("levelend");
}
_root.playNumber = Math.floor(FrameNo / _root.releaseRate);
if (_currentframe < _totalframes) {
if (this["playNumberDone" + _root.playNumber] != 1) {
_root.BeatStart = _currentframe;
if (_root.ValuesArray[_root.playNumber].charAt(0) == 0) {
_root.arrowLeftMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 1) {
_root.arrowLeftMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 2) {
_root.arrowLeftMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(0) == 3) {
_root.arrowLeftMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(1) == 0) {
_root.arrowDownMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 1) {
_root.arrowDownMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 2) {
_root.arrowDownMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(1) == 3) {
_root.arrowDownMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(2) == 0) {
_root.arrowUpMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 1) {
_root.arrowUpMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 2) {
_root.arrowUpMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(2) == 3) {
_root.arrowUpMove = 3;
}
if (_root.ValuesArray[_root.playNumber].charAt(3) == 0) {
_root.arrowRightMove = 0;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 1) {
_root.arrowRightMove = 1;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 2) {
_root.arrowRightMove = 2;
} else if (_root.ValuesArray[_root.playNumber].charAt(3) == 3) {
_root.arrowRightMove = 3;
}
this["playNumberDone" + _root.playNumber] = 1;
}
}
}
}
}
Frame 565
if (_root.level == 1) {
judgment.gotoAndPlay("level1Frame");
} else if (_root.level == 2) {
judgment.gotoAndPlay("level2Frame");
} else if (_root.level == 3) {
judgment.gotoAndPlay("level3Frame");
} else if (_root.level == 4) {
judgment.gotoAndPlay("level4Frame");
} else if (_root.level == 5) {
judgment.gotoAndPlay("level5Frame");
}
Frame 566
if (beats != 0) {
ValuesArray = new Array();
ValuesArray = beats.split("|");
gotoAndStop ("done");
}
Frame 567
gotoAndPlay ("loopBeats");
Frame 568
stop();
if (level == 1) {
track1.play();
levels_mc.gotoAndStop(1);
} else if (level == 2) {
track2.play();
levels_mc.gotoAndStop(2);
} else if (level == 3) {
track3.play();
levels_mc.gotoAndStop(3);
} else if (level == 4) {
track4.play();
levels_mc.gotoAndStop(4);
} else if (level == 5) {
track5.play();
levels_mc.gotoAndStop(5);
}
startTime = getTimer();
Frame 574
if (_root.powerEmpty != 1) {
judgment.gotoAndPlay("wellDoneFrame");
} else {
judgment.gotoAndPlay("badluckFrame");
}
stopAllSounds();
Frame 780
stop();
_root.perfectpointsFinal = _root.perfectpointsFinal + _root.perfectpoints;
_root.greatpointsFinal = _root.greatpointsFinal + _root.greatpoints;
_root.goodpointsFinal = _root.goodpointsFinal + _root.goodpoints;
_root.missesFinal = _root.missesFinal + _root.misses;
if ((level < 3) and (_root.powerEmpty != 1)) {
level++;
gotoAndPlay (564);
} else {
gotoAndPlay ("gameover");
}
Frame 783
stopAllSounds();
Frame 803
judgment.gotoAndPlay("gameoverFrame");
Frame 887
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 50
stop();
_parent.gotoAndPlay("continue");
Symbol 35 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 52 Button
on (release) {
_root.level = 1;
gotoAndPlay (564);
}
Symbol 78 Button
on (release) {
_root.level = 1;
gotoAndPlay (564);
}
Symbol 80 Button
on (release) {
_root.level = 2;
gotoAndPlay (564);
}
Symbol 82 Button
on (release) {
_root.level = 3;
gotoAndPlay (564);
}
Symbol 90 Button
on (release) {
gotoAndPlay (564);
level = 1;
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 8
gotoAndStop (1);
Symbol 96 MovieClip Frame 15
removeMovieClip(this);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 8
gotoAndStop (1);
Symbol 100 MovieClip Frame 15
removeMovieClip(this);
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 8
gotoAndStop (1);
Symbol 104 MovieClip Frame 15
removeMovieClip(this);
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 8
gotoAndStop (1);
Symbol 108 MovieClip Frame 15
removeMovieClip(this);
Symbol 144 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 12
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 55
gotoAndStop (1);
Symbol 208 MovieClip Frame 110
gotoAndStop (1);
Symbol 208 MovieClip Frame 165
gotoAndStop (1);
Symbol 208 MovieClip Frame 220
gotoAndStop (1);
Symbol 208 MovieClip Frame 274
gotoAndStop (1);
Symbol 208 MovieClip Frame 328
gotoAndStop (1);
Symbol 208 MovieClip Frame 382
gotoAndStop (1);
Symbol 208 MovieClip Frame 436
gotoAndStop (1);
Symbol 208 MovieClip Frame 490
gotoAndStop (1);
Symbol 208 MovieClip Frame 544
stop();
Symbol 208 MovieClip Frame 598
stop();
Symbol 208 MovieClip Frame 652
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 7
gotoAndStop (1);
Symbol 210 MovieClip Frame 14
removeMovieClip(this);
Instance of Symbol 210 MovieClip "ammo" in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
function accuracy() {
var _local1 = _root;
var _local2 = this;
_local1.bleep1.play();
_local1.leftArrowMarker.ammo.gotoAndPlay(2);
_local1.starno.stars.gotoAndPlay("gotit");
if (arrowLeftMove != 2) {
_local1.energyincrease++;
if (_local1.energyincrease > _local1.energyGainRate) {
_local1.energyBar.nextFrame();
_local1.energyincrease = 0;
}
arrowLeftMove = 0;
if ((targetDist <= _local1.perfectAccuracy) && (targetDist >= 0)) {
_local1.judgment.gotoAndPlay("perfect");
_local1.points = _local1.points + (_local1.ScoreIncrPerfect * _local1.combo);
_local1.perfectPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.greatAccuracy) && (targetDist > _local1.perfectAccuracy)) {
_local1.judgment.gotoAndPlay("greatone");
_local1.points = _local1.points + (_local1.ScoreIncrGreat * _local1.combo);
_local1.greatPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.goodAccuracy) && (targetDist > _local1.greatAccuracy)) {
_local1.judgment.gotoAndPlay("goodone");
_local1.points = _local1.points + (_local1.ScoreIncrGood * _local1.combo);
_local1.goodPoints++;
removeMovieClip(_local2);
}
}
removeMovieClip(_local2);
}
missAnimation = 0;
}
onClipEvent (enterFrame) {
if (arrowLeftMove > 0) {
_y = ((-(_root["track" + _root.level]._currentframe - BeatStart)) * _root.Speed);
targetDist = Math.abs(_root.DistanceToTravel + _y);
if (targetDist <= _root.neededAccuracy) {
if (arrowLeftMove == 1) {
if (_root.Left == 1) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Left = 2;
}
}
if (arrowLeftMove == 2) {
if ((_root.Left == 1) or (_root.Left == 4)) {
accuracy();
}
}
if (arrowLeftMove == 3) {
if (_root.Left >= 5) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Left = 0;
}
}
}
}
if (_visible) {
if (missAnimation == 0) {
if ((_root.DistanceToTravel + _y) < (-_root.neededAccuracy)) {
if (_alpha == 100) {
gotoAndPlay ("missed");
}
_root.energyincrease = 0;
if (arrowLeftMove != 2) {
_root.energyBar.prevFrame();
_root.misses++;
_root.bleep2.gotoAndPlay(2);
}
_root.starno.stars.gotoAndPlay("missed");
_root.judgment.gotoAndPlay("miss");
missAnimation = 1;
_root.combo = 0;
_root.comboNo.gotoAndStop(1);
}
}
}
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 7
gotoAndStop (1);
Symbol 212 MovieClip Frame 14
removeMovieClip(this);
Instance of Symbol 212 MovieClip "ammo" in Symbol 213 MovieClip Frame 1
onClipEvent (load) {
function accuracy() {
var _local1 = _root;
var _local2 = this;
_local1.bleep1.play();
_local1.upArrowMarker.ammo.gotoAndPlay(2);
_local1.starno.stars.gotoAndPlay("gotit");
if (arrowUpMove != 2) {
_local1.energyincrease++;
if (_local1.energyincrease > _local1.energyGainRate) {
_local1.energyBar.nextFrame();
_local1.energyincrease = 0;
}
arrowUpMove = 0;
if ((targetDist <= _local1.perfectAccuracy) && (targetDist >= 0)) {
_local1.judgment.gotoAndPlay("perfect");
_local1.points = _local1.points + (_local1.ScoreIncrPerfect * _local1.combo);
_local1.perfectPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.greatAccuracy) && (targetDist > _local1.perfectAccuracy)) {
_local1.judgment.gotoAndPlay("greatone");
_local1.points = _local1.points + (_local1.ScoreIncrGreat * _local1.combo);
_local1.greatPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.goodAccuracy) && (targetDist > _local1.greatAccuracy)) {
_local1.judgment.gotoAndPlay("goodone");
_local1.points = _local1.points + (_local1.ScoreIncrGood * _local1.combo);
_local1.goodPoints++;
removeMovieClip(_local2);
}
}
removeMovieClip(_local2);
}
missAnimation = 0;
}
onClipEvent (enterFrame) {
if (arrowUpMove > 0) {
_y = ((-(_root["track" + _root.level]._currentframe - BeatStart)) * _root.Speed);
targetDist = Math.abs(_root.DistanceToTravel + _y);
if (targetDist <= _root.neededAccuracy) {
if (arrowUpMove == 1) {
if (_root.Up == 1) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Up = 2;
}
}
if (arrowUpMove == 2) {
if ((_root.Up == 1) or (_root.Up == 4)) {
accuracy();
}
}
if (arrowUpMove == 3) {
if (_root.Up >= 5) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Up = 0;
}
}
}
}
if (_visible) {
if (missAnimation == 0) {
if ((_root.DistanceToTravel + _y) < (-_root.neededAccuracy)) {
if (_alpha == 100) {
gotoAndPlay ("missed");
}
_root.energyincrease = 0;
if (arrowUpMove != 2) {
_root.energyBar.prevFrame();
_root.misses++;
_root.bleep2.gotoAndPlay(2);
}
_root.judgment.gotoAndPlay("miss");
_root.starno.stars.gotoAndPlay("missed");
missAnimation = 1;
_root.combo = 0;
_root.comboNo.gotoAndStop(1);
}
}
}
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 7
gotoAndStop (1);
Symbol 214 MovieClip Frame 14
removeMovieClip(this);
Instance of Symbol 214 MovieClip "ammo" in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
function accuracy() {
var _local1 = _root;
var _local2 = this;
_local1.starno.stars.gotoAndPlay("gotit");
_local1.RightArrowMarker.ammo.gotoAndPlay(2);
_local1.bleep1.play();
if (arrowRightMove != 2) {
_local1.energyincrease++;
if (_local1.energyincrease > _local1.energyGainRate) {
_local1.energyBar.nextFrame();
_local1.energyincrease = 0;
}
_local1.combo++;
_local1.comboNo.gotoAndPlay(2);
arrowRightMove = 0;
if ((targetDist <= _local1.perfectAccuracy) && (targetDist >= 0)) {
_local1.judgment.gotoAndPlay("perfect");
_local1.points = _local1.points + (_local1.ScoreIncrPerfect * _local1.combo);
_local1.perfectPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.greatAccuracy) && (targetDist > _local1.perfectAccuracy)) {
_local1.judgment.gotoAndPlay("greatone");
_local1.points = _local1.points + (_local1.ScoreIncrGreat * _local1.combo);
_local1.greatPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.goodAccuracy) && (targetDist > _local1.greatAccuracy)) {
_local1.judgment.gotoAndPlay("goodone");
_local1.points = _local1.points + (_local1.ScoreIncrGood * _local1.combo);
_local1.goodPoints++;
removeMovieClip(_local2);
}
}
removeMovieClip(_local2);
}
missAnimation = 0;
}
onClipEvent (enterFrame) {
if (arrowRightMove > 0) {
_y = ((-(_root["track" + _root.level]._currentframe - BeatStart)) * _root.Speed);
targetDist = Math.abs(_root.DistanceToTravel + _y);
if (targetDist <= _root.neededAccuracy) {
if (arrowRightMove == 1) {
if (_root.Right == 1) {
accuracy();
_root.Right = 2;
}
}
if (arrowRightMove == 2) {
if ((_root.Right == 1) or (_root.Right == 4)) {
accuracy();
}
}
if (arrowRightMove == 3) {
if (_root.Right >= 5) {
accuracy();
_root.Right = 0;
}
}
}
}
if (_visible) {
if (missAnimation == 0) {
if ((_root.DistanceToTravel + _y) < (-_root.neededAccuracy)) {
if (_alpha == 100) {
gotoAndPlay ("missed");
}
if (arrowRightMove != 2) {
_root.energyBar.prevFrame();
_root.misses++;
_root.bleep2.gotoAndPlay(2);
}
_root.judgment.gotoAndPlay("miss");
_root.starno.stars.gotoAndPlay("missed");
missAnimation = 1;
_root.combo = 0;
_root.comboNo.gotoAndStop(1);
}
}
}
}
Symbol 216 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 7
gotoAndStop (1);
Symbol 216 MovieClip Frame 14
removeMovieClip(this);
Instance of Symbol 216 MovieClip "ammo" in Symbol 217 MovieClip Frame 1
onClipEvent (load) {
function accuracy() {
var _local1 = _root;
var _local2 = this;
_local1.bleep1.play();
_local1.DownArrowMarker.ammo.gotoAndPlay(2);
_local1.starno.stars.gotoAndPlay("gotit");
if (arrowDownMove != 2) {
_local1.energyincrease++;
if (_local1.energyincrease > _local1.energyGainRate) {
_local1.energyBar.nextFrame();
_local1.energyincrease = 0;
}
arrowDownMove = 0;
if ((targetDist <= _local1.perfectAccuracy) && (targetDist >= 0)) {
_local1.judgment.gotoAndPlay("perfect");
_local1.points = _local1.points + (_local1.ScoreIncrPerfect * _local1.combo);
_local1.perfectPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.greatAccuracy) && (targetDist > _local1.perfectAccuracy)) {
_local1.judgment.gotoAndPlay("greatone");
_local1.points = _local1.points + (_local1.ScoreIncrGreat * _local1.combo);
_local1.greatPoints++;
removeMovieClip(_local2);
}
if ((targetDist <= _local1.goodAccuracy) && (targetDist > _local1.greatAccuracy)) {
_local1.judgment.gotoAndPlay("goodone");
_local1.points = _local1.points + (_local1.ScoreIncrGood * _local1.combo);
_local1.goodPoints++;
removeMovieClip(_local2);
}
}
removeMovieClip(_local2);
}
missAnimation = 0;
}
onClipEvent (enterFrame) {
if (arrowDownMove > 0) {
_y = ((-(_root["track" + _root.level]._currentframe - BeatStart)) * _root.Speed);
targetDist = Math.abs(_root.DistanceToTravel + _y);
if (targetDist <= _root.neededAccuracy) {
if (arrowDownMove == 1) {
if (_root.Down == 1) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Down = 2;
}
}
if (arrowDownMove == 2) {
if ((_root.Down == 1) or (_root.Down == 4)) {
accuracy();
}
}
if (arrowDownMove == 3) {
if (_root.Down >= 5) {
_root.combo++;
_root.comboNo.gotoAndPlay(2);
accuracy();
_root.Down = 0;
}
}
}
}
if (_visible) {
if (missAnimation == 0) {
if ((_root.DistanceToTravel + _y) < (-_root.neededAccuracy)) {
if (_alpha == 100) {
gotoAndPlay ("missed");
}
_root.energyincrease = 0;
if (arrowDownMove != 2) {
_root.energyBar.prevFrame();
_root.misses++;
_root.bleep2.gotoAndPlay(2);
}
_root.judgment.gotoAndPlay("miss");
_root.starno.stars.gotoAndPlay("missed");
missAnimation = 1;
_root.combo = 0;
_root.comboNo.gotoAndStop(1);
}
}
}
}
Symbol 233 MovieClip Frame 1
stop();
_root.powerEmpty = 1;
Symbol 233 MovieClip Frame 2
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 3
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 4
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 5
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 6
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 7
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 8
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 9
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 10
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 11
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 12
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 13
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 14
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 15
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 16
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 17
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 18
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 19
stop();
_root.powerEmpty = 0;
Symbol 233 MovieClip Frame 20
stop();
_root.powerEmpty = 2;
Symbol 241 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 10
gotoAndStop (1);
if (_root.combo <= 10) {
_root.starno.gotoAndStop(1);
} else if ((_root.combo > 10) and (_root.combo <= 25)) {
_root.starno.gotoAndStop(2);
} else if ((_root.combo > 25) and (_root.combo <= 40)) {
_root.starno.gotoAndStop(3);
} else if ((_root.combo > 40) and (_root.combo <= 60)) {
_root.starno.gotoAndStop(4);
} else if (_root.combo > 60) {
_root.starno.gotoAndStop(5);
}
Symbol 241 MovieClip Frame 19
gotoAndStop (1);
if (_root.combo <= 4) {
_root.starno.gotoAndStop(1);
} else if ((_root.combo > 4) and (_root.combo <= 10)) {
_root.starno.gotoAndStop(2);
} else if ((_root.combo > 10) and (_root.combo <= 15)) {
_root.starno.gotoAndStop(3);
} else if ((_root.combo > 15) and (_root.combo <= 20)) {
_root.starno.gotoAndStop(4);
} else if (_root.combo > 20) {
_root.starno.gotoAndStop(5);
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 3
stop();
Symbol 249 MovieClip Frame 4
stop();
Symbol 249 MovieClip Frame 5
stop();
Symbol 249 MovieClip Frame 6
stop();
Symbol 249 MovieClip Frame 7
stop();
Symbol 249 MovieClip Frame 8
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 976 Button
on (release) {
gotoAndPlay ("continue");
stopAllSounds();
_root.points = 0;
_root.perfectpointsFinal = 0;
_root.greatpointsFinal = 0;
_root.goodpointsFinal = 0;
_root.missesFinal = 0;
}