Frame 1
stop();
mochi.as2.MochiServices.connect("b67e6a9a4fae87f8");
Stage.showMenu = false;
fscommand ("trapallkeys", true);
fscommand ("allowscale", false);
Instance of Symbol 426 MovieClip [Preloader Bar (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
AUTO_PLAY = false;
}
Instance of Symbol 391 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "17413:TtrXCOpu";
encryption_key = "uxViKtYyVfyCSIGwVkYHWH2y4yqNNxtt";
version = "";
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
Instance of Symbol 299 MovieClip [Flash Ad (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
show_background = true;
}
Frame 2
stop();
musicmute = 0;
mute = 0;
gostage = undefined;
gamemode = 0;
allsounds = new Sound(this);
allsounds.setVolume(100);
blox = SharedObject.getLocal("blox");
btn_cleardata.onRelease = function () {
var _local1 = 1;
while (_local1 < 41) {
blox.data["stg" + _local1] = undefined;
_local1++;
}
};
Frame 3
function getMedal(medal_name) {
var _local1 = com.newgrounds.API.getMedal(medal_name);
if (_local1.__get__unlocked()) {
} else {
sndMed.start();
com.newgrounds.API.unlockMedal(medal_name, 0, 0);
}
}
function showStage() {
mc_blocks.mc_stages.tmpy = mc_blocks.mc_stages._y;
mc_blocks.mc_stages.ysp = 10;
mc_blocks.mc_stages.tmpsp = 10;
mc_blocks.mc_stages.i = 0;
mc_blocks.mc_stages._alpha = 100;
mc_blocks.mc_stages.onEnterFrame = function () {
this.ysp--;
this._y = this._y - this.ysp;
if (this._y >= this.tmpy) {
this._y = this.tmpy;
this.tmpsp = this.tmpsp / 2;
this.ysp = this.tmpsp;
this.i++;
if (this.i > 40) {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
this.gotoAndStop(this._totalframes);
delete this.onEnterFrame;
}
}
}
};
}
function addShine() {
var _local3 = 1;
while (_local3 < (maxB + 1)) {
allB = _root.mc_blocks["blk" + _local3];
allS = _root.mc_blocks["blk" + _local3].attachMovie("blockshine", "blockshine" + _root.mc_blocks.getNextHighestDepth(), _root.mc_blocks.getNextHighestDepth());
allS.gotoAndPlay(random(allS._totalframes) + 1);
allB.tmpx = allB._x;
allB.tmpy = allB._y;
allB._x = (Math.random() * -450) + 450;
allB._y = (Math.random() * -450) + 450;
allB.onEnterFrame = function () {
this.xx = this._x - this.tmpx;
this.yy = this._y - this.tmpy;
this.dist = Math.sqrt((this.xx * this.xx) + (this.yy * this.yy));
this._x = this.tmpx - ((this.tmpx - this._x) / 1.1);
this._y = this.tmpy - ((this.tmpy - this._y) / 1.1);
if (this.dist < 1) {
this._x = this.tmpx;
this._y = this.tmpy;
delete this.onEnterFrame;
}
};
_local3++;
}
}
function killAll() {
removeMovieClip(wallcont);
removeMovieClip(scorecont);
gotoAndStop ("main");
}
function killAllBlocks() {
for (var _local1 in mc_blocks) {
unloadMovie (mc_blocks[_local1]);
}
}
function refreshGame() {
if ((var_curved_level == 1) && (var_allcurved == undefined)) {
var_allcurved = 1;
getMedal("It's All Curved");
}
if (gamemode == 0) {
if (mc_blocks._currentframe == 40) {
if (var_perfecthealth == 1) {
getMedal("Fitness Award");
}
getMedal("A Wonderful Journey");
paus = 1;
} else {
_root.mc_ball._y = _root.mc_paddle._y - 19;
}
if (mc_blocks._currentframe == 20) {
getMedal("Half Way Through");
}
if (mc_combo._currentframe < 22) {
mc_combo.gotoAndPlay(22);
}
mc_blocks.nextFrame();
mc_ball._rotation = 0;
sp = 11;
inplay = 0;
multi = 1;
hitPos = "";
mc_blocks.mc_stages.gotoAndStop(mc_blocks._currentframe);
showStage();
var_curved_level = 1;
var_first_hid = 0;
curveTimer = 0;
max_curve_sec = 0;
max_pad_hits = 0;
curve_l = 0;
curve_r = 0;
var_stg = mc_blocks._currentframe;
} else {
paus = 1;
disablePause = 1;
if (mc_stg_complete._currentframe == 1) {
mc_stg_complete.gotoAndPlay(2);
}
}
mc_stageunlock.gotoAndPlay(1);
}
function createSplat(frm, dis) {
splat = bg.attachMovie("splatmc", "splatmc" + bg.getNextHighestDepth(), splatcnt);
splat._rotation = 360 * Math.random();
splat.gotoAndStop(frm);
splat.mc.gotoAndStop(random(splat.mc._totalframes) + 1);
if (dis == undefined) {
splat._alpha = Math.random() * 100;
splat._xscale = (Math.random() * -90) + 100;
splat._yscale = splat._xscale;
splat._x = mc_ball._x;
splat._y = mc_ball._y;
} else {
splat._alpha = (Math.random() * -70) + 100;
splat._xscale = (Math.random() * -40) + 100;
splat._yscale = splat._xscale;
splat._x = dis._x;
splat._y = dis._y;
}
splat.sp = 20;
splatcnt++;
if (splatcnt > 20) {
splatcnt = 0;
}
}
function showScore(points) {
mcscore = scorecont.attachMovie("score", "score" + scorecont.getNextHighestDepth(), scorecont.getNextHighestDepth());
mcscore._x = _root.mc_ball._x;
mcscore._y = _root.mc_ball._y - 10;
mcscore.gotoAndPlay(1);
if (rotsp > 1) {
mcscore.var_tscore = (points * _root.multi) * Math.round(rotsp);
} else {
mcscore.var_tscore = points * _root.multi;
}
_root.var_score = _root.var_score + mcscore.var_tscore;
if ((_root.var_score >= 150000) && (var_gscore == undefined)) {
var_gscore = 1;
getMedal("Great Score");
} else if ((_root.var_score >= 250000) && (var_ascore == undefined)) {
var_ascore = 1;
getMedal("Amazing Score");
} else if ((_root.var_score >= 350000) && (var_iscore == undefined)) {
var_iscore = 1;
getMedal("Insane Score");
}
if (multi > 1) {
mc_combo.gotoAndPlay(2);
mc_combo.var_comb = multi;
}
if ((multi >= 10) && (var_comb1 == undefined)) {
var_comb1 = 1;
_root.getMedal("Good Combo");
} else if ((multi >= 20) && (var_comb2 == undefined)) {
var_comb2 = 1;
_root.getMedal("Nice Combo");
} else if ((multi >= 50) && (var_comb3 == undefined)) {
var_comb3 = 1;
_root.getMedal("Great Combo");
} else if ((multi >= 100) && (var_comb4 == undefined)) {
var_comb4 = 1;
_root.getMedal("Super Combo");
} else if ((multi >= 150) && (var_comb5 == undefined)) {
var_comb5 = 1;
_root.getMedal("Crazy Combo");
} else if ((multi >= 300) && (var_comb6 == undefined)) {
var_comb6 = 1;
_root.getMedal("Impossible Combo");
}
multi++;
}
function deadBlocks() {
var_max_deadblocks++;
var_noblox = var_max_deadblocks;
if ((var_max_deadblocks >= 50) && (var_dead1 == undefined)) {
var_dead1 = 1;
_root.getMedal("Block Destroyer");
} else if ((var_max_deadblocks >= 100) && (var_dead2 == undefined)) {
var_dead2 = 1;
_root.getMedal("Killer Ball");
} else if ((var_max_deadblocks >= 250) && (var_dead3 == undefined)) {
var_dead3 = 1;
_root.getMedal("A Murder of Blocks");
} else if ((var_max_deadblocks >= 400) && (var_dead4 == undefined)) {
var_dead4 = 1;
_root.getMedal("Block Massacre");
} else if ((var_max_deadblocks >= 650) && (var_dead5 == undefined)) {
var_dead5 = 1;
_root.getMedal("BlockXplatter");
}
}
function distance(x1, x2) {
dx = x2 - x1;
return(Math.sqrt(dx * dx));
}
function checkBlock(Bnum) {
var _local2 = 1;
while (_local2 < (Bnum + 1)) {
x1 = _root.mc_ball._x - (_root.mc_blocks["blk" + _local2]._x + _root.mc_blocks._x);
y1 = _root.mc_ball._y - (_root.mc_blocks["blk" + _local2]._y + _root.mc_blocks._y);
dist = Math.sqrt((x1 * x1) + (y1 * y1));
if (dist < 35) {
_root.mc_blocks["blk" + _local2].nextFrame();
}
_local2++;
}
}
function explEffect(frm) {
createSplat(21);
mcexp = wallcont.attachMovie("wallexplode", "wallexplode" + wallcont.getNextHighestDepth(), wallcont.getNextHighestDepth());
if (frm == 1) {
mcexp.mc.tmpf = 2;
}
mcexp._x = mc_ball._x;
mcexp._y = mc_ball._y;
}
function wallHitMedals() {
var_max_wallhits++;
var_nowalls = var_max_wallhits;
if (var_max_wallhits == 100) {
getMedal("Wall Hitter");
} else if (var_max_wallhits == 500) {
getMedal("Ball to the Wall");
} else if (var_max_wallhits == 1000) {
getMedal("Wall Magnet");
} else if (var_max_wallhits == 2000) {
getMedal("Can't Stop Hitting the Walls!");
} else if (var_max_wallhits == 3500) {
getMedal("Enough Walls!");
}
}
stop();
paus = 0;
var_score = 0;
var_bleft = 0;
var_lives = 10;
disablePause = 0;
if (gostage != undefined) {
mc_blocks.mc_stages.gotoAndStop(gostage);
var_stg = gostage;
} else {
var_stg = 1;
}
createEmptyMovieClip("wallcont", 10);
createEmptyMovieClip("scorecont", 11);
createEmptyMovieClip("bgmusic", 12);
sndMed = new Sound(this);
sndMed.attachSound("sndMedal");
sndBg1 = new Sound(bgmusic);
sndBg1.attachSound("bg1");
sndBg1.start();
sndBg1.onSoundComplete = function () {
sndBg1.start();
};
sndBg2 = new Sound(bgmusic);
sndBg2.attachSound("bg2");
sndBg2.onSoundComplete = function () {
sndBg2.start();
};
sndBg3 = new Sound(bgmusic);
sndBg3.attachSound("bg3");
sndBg3.onSoundComplete = function () {
sndBg3.start();
};
sndBg4 = new Sound(bgmusic);
sndBg4.attachSound("bg4");
sndBg4.onSoundComplete = function () {
sndBg4.start();
};
_quality = "LOW";
m = 0;
sp = 11;
pos = 0;
diry = 0;
dirx = 0;
mc_ball._rotation = -90;
inplay = 0;
_root.mc_ball._y = _root.mc_paddle._y - 19;
mc_score.gotoAndStop(mc_score._totalframes);
mc_combo.gotoAndStop(mc_combo._totalframes);
bl_points = 0;
multi = 1;
var_curved_level = 1;
var_first_hid = 0;
curveTimer = 0;
max_curve_sec = 0;
max_pad_hits = 0;
if (var_max_deadblocks == undefined) {
var_max_deadblocks = 0;
}
if (var_max_metal == undefined) {
var_max_metal = 0;
}
if (var_max_gold == undefined) {
var_max_gold = 0;
}
if (var_max_wallhits == undefined) {
var_max_wallhits = 0;
}
if (var_max_curves == undefined) {
var_max_curves = 0;
}
if (var_max_dirblocks_right == undefined) {
var_max_dirblocks_right = 0;
}
if (var_max_dirblocks_down == undefined) {
var_max_dirblocks_down = 0;
}
var_max_bumphits = 0;
var_perfecthealth = 1;
max_heartblocks = 0;
showStage();
splatcnt = 0;
_root.mc_paddle.onEnterFrame = function () {
if (disablePause == 0) {
if (((Key.isDown(80) || (Key.isDown(27))) && (mc_pause.ku == 1)) && (paus == 0)) {
mc_pause.nextFrame();
mc_pause.ku = 0;
paus = 1;
} else if (((Key.isDown(80) || (Key.isDown(27))) && (mc_pause.ku == 1)) && (paus == 1)) {
mc_pause.prevFrame();
mc_pause.ku = 0;
paus = 0;
}
}
with (mc_paddle) {
if ((mc_gover._currentframe == 1) && (paus == 0)) {
_x = _x + (_xmouse / 2);
if (_x < 62) {
_x = 62;
} else if (_x > 410) {
_x = 410;
}
if (tmpx2 < _x) {
dirx2 = "right";
} else if (tmpx2 > _x) {
dirx2 = "left";
} else {
dirx2 = "center";
}
tmpx2 = _x;
}
}
};
_root.onMouseDown = function () {
if ((inplay == 0) && (paus == 0)) {
rotPath = (Math.random() * -2) + 4;
rp = random(2) + 1;
if (rp == 1) {
mc_ball._rotation = rotPath;
} else {
mc_ball._rotation = -rotPath;
}
mc_blocks.mc_stages.gotoAndStop(mc_blocks.mc_stages._totalframes);
inplay = 1;
}
};
mc_curveblur.part.gotoAndStop(mc_curveblur.part._totalframes);
bluri = 0;
_root.mc_ball.onEnterFrame = function () {
if (tmprotsp > 0) {
bluri++;
if (bluri > 15) {
bluri = 0;
}
mc_curveblur.part.duplicateMovieClip("part" + bluri, bluri);
}
speed = distance(_root._xmouse, lastx);
lastx = _root._xmouse;
if (((curveTimer == 1) && (curv_med == undefined)) && (paus == 0)) {
max_curve_sec++;
if ((max_curve_sec > 2000) && (var_curvelife == undefined)) {
var_curvelife = 1;
curv_med = 1;
getMedal("Life As a Curved Ball");
max_curve_sec = 0;
curveTimer = 0;
}
}
with (_root.mc_ball) {
if (paus == 0) {
if (inplay == 0) {
_x = _root.mc_paddle._x;
} else {
if (curve_l) {
_rotation = _rotation - rotsp;
} else if (curve_r) {
_rotation = _rotation + rotsp;
} else {
max_pad_hits = 0;
curveTimer = 0;
max_curve_sec = 0;
}
xsp = sp * Math.sin(_rotation * (Math.PI/180));
ysp = sp * Math.cos(_rotation * (Math.PI/180));
_x = _x + xsp;
_y = _y - ysp;
if ((tmpx + 3) < _x) {
dirx = "right";
} else if ((tmpx - 3) > _x) {
dirx = "left";
} else {
dirx = "center";
}
if (tmpy < _y) {
diry = "down";
} else {
diry = "up";
}
tmpx = _x;
tmpy = _y;
for (var bloxes in mc_blocks) {
if (mc_blocks[bloxes]._name.charAt(0) == "b") {
if ((mc_blocks[bloxes].hitTest(this) && (hid_med == undefined)) && (var_first_hid == 0)) {
if (mc_blocks[bloxes]._visible == false) {
} else {
var_first_hid = 1;
}
}
if ((mc_blocks[bloxes].hitTest(_x, getBounds(_root).yMin - 5, true) && (diry == "up")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
diry = "down";
hitPos = "down";
_rotation = (-_rotation) - 180;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if ((mc_blocks[bloxes].hitTest(_x, getBounds(_root).yMax + 5, true) && (diry == "down")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
diry = "up";
hitPos = "up";
_rotation = (-_rotation) - 180;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if ((mc_blocks[bloxes].hitTest(getBounds(_root).xMin - 5, _y, true) && (dirx == "left")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "right";
hitPos = "right";
_rotation = (-_rotation) - 360;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if ((mc_blocks[bloxes].hitTest(getBounds(_root).xMax + 5, _y, true) && (dirx == "right")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "left";
hitPos = "left";
_rotation = (-_rotation) - 360;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if (((mc_blocks[bloxes].hitTest(getBounds(_root).xMax + 5, _y, true) && (dirx == "center")) && (diry == "up")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "left";
hitPos = "down";
_rotation = _rotation - 20;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if (((mc_blocks[bloxes].hitTest(getBounds(_root).xMin - 5, _y, true) && (dirx == "center")) && (diry == "up")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "right";
hitPos = "down";
_rotation = _rotation + 20;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if (((mc_blocks[bloxes].hitTest(getBounds(_root).xMin - 5, _y, true) && (dirx == "center")) && (diry == "down")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "right";
hitPos = "up";
_rotation = _rotation - 20;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
} else if (((mc_blocks[bloxes].hitTest(getBounds(_root).xMax + 5, _y, true) && (dirx == "center")) && (diry == "down")) && (mc_blocks[bloxes]._currentframe < mc_blocks[bloxes]._totalframes)) {
mc_blocks[bloxes].nextFrame();
dirx = "left";
hitPos = "up";
_rotation = _rotation + 20;
tmprotsp2 = tmprotsp;
tmprotsp = 0;
}
}
}
if (this.hitTest(_root.mc_paddle) && (diry == "down")) {
createSplat(22);
if (mc_combo._currentframe < 22) {
mc_combo.gotoAndPlay(22);
}
max_pad_hits++;
if ((curve_r == 1) || (curve_l == 1)) {
if (max_pad_hits == 2) {
getMedal("That's My Mom!");
} else if (max_pad_hits == 5) {
getMedal("Back to the Paddle");
} else if (max_pad_hits == 8) {
getMedal("It's All About the Paddle");
}
}
curve_r = 0;
curve_l = 0;
rotsp = speed / 10;
tmprotsp = rotsp;
if ((rotsp > 2) && (med_maxcurves == undefined)) {
var_max_curves++;
if (var_max_curves >= 200) {
getMedal("I Love Curve Balls");
med_maxcurves = 1;
}
}
if ((rotsp > 10) && (med_extremecurve == undefined)) {
med_extremecurve = 1;
getMedal("Extreme Curve");
}
if (dirx2 == "left") {
curveTimer = 1;
curve_r = 1;
curve_l = 0;
} else if (dirx2 == "right") {
curveTimer = 1;
curve_l = 1;
curve_r = 0;
} else {
curve_l = 0;
curve_r = 0;
}
if (rotsp < 0.6) {
var_curved_level = 0;
}
pos = _root.mc_paddle._x - _x;
pos = -pos;
_rotation = pos;
_root.mc_paddle.gotoAndPlay(2);
multi = 1;
}
if (_y < 33) {
wallHitMedals();
_y = 33;
_rotation = (-_rotation) - 180;
explEffect();
curve_r = 0;
curve_l = 0;
tmprotsp = 0;
}
if (_y > 500) {
var_perfecthealth = 0;
curveTimer = 0;
max_curve_sec = 0;
if ((rotsp > 2) && ((curve_l == 1) || (curve_r == 1))) {
getMedal("Curved Death");
}
if (mc_combo._currentframe < 22) {
mc_combo.gotoAndPlay(22);
}
if (var_lives > 0) {
_y = 410;
createSplat(1);
_root.mc_lminus.gotoAndPlay(2);
var_lives--;
_rotation = 0;
this.gotoAndPlay(5);
_y = _root.mc_paddle._y - 19;
_x = _root.mc_paddle._x;
inplay = 0;
multi = 1;
rotsp = 0;
tmprotsp = 0;
} else if ((var_lives == 0) && (mc_gover._currentframe == 1)) {
disablePause = 1;
_root.mc_paddle.gotoAndStop(15);
_y = 600;
sp = 0;
inplay = 0;
mc_gover.play();
}
}
if (_x < 33) {
wallHitMedals();
_x = 33;
_rotation = (-_rotation) - 360;
if (diry == "up") {
_rotation = _rotation - 2;
} else {
_rotation = _rotation + 2;
}
explEffect();
curve_r = 0;
curve_l = 0;
tmprotsp = 0;
}
if (_x > 435) {
wallHitMedals();
_x = 435;
_rotation = (-_rotation) - 360;
if (diry == "up") {
_rotation = _rotation + 2;
} else {
_rotation = _rotation - 2;
}
explEffect();
curve_r = 0;
curve_l = 0;
tmprotsp = 0;
}
}
}
}
};
Instance of Symbol 579 MovieClip "mc_pause" in Frame 3
onClipEvent (load) {
ku = 1;
}
onClipEvent (keyUp) {
if ((Key.getCode() == 80) || (Key.getCode() == 27)) {
ku = 1;
}
}
Frame 4
function createSplat() {
tmpx = (Math.random() * -475) + 475;
tmpy = (Math.random() * -470) + 470;
splat = bg.attachMovie("splatmc", "splatmc" + bg.getNextHighestDepth(), splatcnt);
splat._rotation = 360 * Math.random();
splat.gotoAndStop(random(splat._totalframes) + 1);
splat.mc.gotoAndStop(random(splat.mc._totalframes) + 1);
splat._alpha = (Math.random() * -40) + 50;
splat._xscale = (Math.random() * -90) + 100;
splat._yscale = splat._xscale;
splat._x = tmpx;
splat._y = tmpy;
splat.sp = 20;
splatcnt++;
if (splatcnt > 100) {
splatcnt = 0;
}
}
splatcnt = 0;
tmp_cnt = 0;
tmp_rnd = random(50) + 10;
createEmptyMovieClip("mc_enterframe", 100);
mc_enterframe.onEnterFrame = function () {
tmp_cnt++;
if (tmp_cnt > tmp_rnd) {
createSplat();
tmp_rnd = random(50) + 10;
tmp_cnt = 0;
}
};
btn_main.onRelease = function () {
stopAllSounds();
mc_enterframe.removeMovieClip();
gotoAndStop ("main");
};
btn_submit.onRelease = function () {
var _local1 = "6d5a10d01fc73527";
mochi.as2.MochiScores.showLeaderboard({boardID:_local1, score:var_score, onClose:function () {
stop();
}});
};
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 198 MovieClip "blk16" in Frame 4
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Frame 4
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Frame 5
function checkMedal(med_name, loc) {
var _local1 = com.newgrounds.API.getMedal(med_name);
if (_local1.__get__unlocked()) {
loc.nextFrame();
total_medals++;
}
}
function getMedal(medal_name) {
var _local1 = com.newgrounds.API.getMedal(medal_name);
if (_local1.__get__unlocked()) {
} else {
snd_medalget.start();
com.newgrounds.API.unlockMedal(medal_name, 0, 0);
}
}
stop();
medArray = ["Good Combo", "Nice Combo", "Great Combo", "Super Combo", "Crazy Combo", "Impossible Combo", "Curved Death", "Block Destroyer", "Killer Ball", "A Murder of Blocks", "Block Massacre", "BlockXplatter", "I See Dead Blocks", "Health Insurence", "Wall Hitter", "Ball to the Wall", "Wall Magnet", "Can't Stop Hitting the Walls!", "Enough Walls!", "Curved Ghost", "Half Way Through", "Great Score", "Amazing Score", "Insane Score", "Curved Metal", "Curved Gold", "Curved Heart", "A Wonderful Journey", "That's My Mom!", "Back to the Paddle", "It's All About the Paddle", "Vibrating Curve", "Falling to the Curve", "A Must Curve", "Heartbreaker", "Heavy Metal", "Gold Digger", "Small Ball, Big Ball", "Bumper Maniac", "Curve Bump", "Extreme Curve", "Fitness Award", "Ass Hitter", "That's Right!", "Bend It Like Beckham", "Life As a Curved Ball", "It's All Curved", "I Love Curve Balls", "Bumpers Die!"];
mc_info.gotoAndStop(mc_info._totalframes);
total_medals = 0;
var i = 1;
while (i < 50) {
checkMedal(medArray[i - 1], this["mc_med" + i]);
this["mc_med" + i].onRollOver = function () {
if (this._name.charAt(7) == undefined) {
tmp = this._name.charAt(6);
} else {
tmp = this._name.charAt(6) + this._name.charAt(7);
}
mc_info.gotoAndStop(tmp);
};
this["mc_med" + i].onRollOut = function () {
mc_info.gotoAndStop(mc_info._totalframes);
};
i++;
}
mc_info.onEnterFrame = function () {
this._x = this._x + (this._xmouse / 2);
this._y = this._y + (this._ymouse / 2);
};
btn_main.onRelease = function () {
stopAllSounds();
delete mc_info.onEnterFrame;
gotoAndStop ("main");
};
Frame 6
function startAll() {
var _local2 = 1;
while (_local2 < 41) {
if (blox.data["stg" + _local2] == 1) {
this["mc_stg" + _local2].gotoAndStop(2);
}
this["mc_stg" + _local2].btn.onRollOver = function () {
snd_stageover.start();
if (this._parent._name.charAt(7) == undefined) {
tmp = this._parent._name.charAt(6);
} else {
tmp = this._parent._name.charAt(6) + this._parent._name.charAt(7);
}
mc_stgimg.gotoAndStop(tmp);
};
this["mc_stg" + _local2].btn.onRelease = function () {
snd_stageclick.start();
mcplay.gotoAndPlay(2);
tmpstg = mc_stgimg._currentframe;
ref();
this._parent.nextFrame();
};
this["mc_stg" + _local2].btn.onRollOut = function () {
if ((this._parent._currentframe == 2) && (tmpstg != "")) {
mc_stgimg.gotoAndStop(tmpstg);
} else {
mc_stgimg.gotoAndStop(41);
}
};
_local2++;
}
}
function ref() {
var _local2 = 1;
while (_local2 < 41) {
if (_root["mc_stg" + _local2]._currentframe == 3) {
_root["mc_stg" + _local2].prevFrame();
startAll();
}
_local2++;
}
}
mc_stgimg.gotoAndStop(41);
tmpstg = "";
gamemode = 1;
snd_stageclick = new Sound(this);
snd_stageclick.attachSound("stageclick");
snd_stageover = new Sound(this);
snd_stageover.attachSound("stageover");
startAll();
btn_main.onRelease = function () {
stopAllSounds();
gotoAndStop ("main");
};
Symbol 5 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 10) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
if (tmpf == 2) {
mc.gotoAndStop(random(2) + 1);
} else {
mc.gotoAndStop(3);
}
i++;
}
stop();
Instance of Symbol 5 MovieClip "mc_obj" in Symbol 6 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -30) + 80);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.5;
ysp = ysp / 1.5;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Instance of Symbol 9 MovieClip in Symbol 10 MovieClip [wallexplode] Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 10 MovieClip [wallexplode] Frame 31
this.removeMovieClip();
Symbol 13 MovieClip [score] Frame 1
play();
Symbol 13 MovieClip [score] Frame 39
this.removeMovieClip();
Symbol 40 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 40 MovieClip "mc_obj" in Symbol 41 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 42 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 47 MovieClip Frame 1
stop();
_parent._parent.var_bleft++;
Instance of Symbol 37 MovieClip in Symbol 47 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Symbol 47 MovieClip Frame 2
_root.showScore(10);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
orbit = 0;
up = 0;
down = 0;
_root.createSplat(9, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 47 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 54 MovieClip Frame 4
stop();
Symbol 57 MovieClip Frame 1
_root.paus = 1;
_root.disablePause = 1;
Symbol 57 MovieClip Frame 96
stop();
btn_cont.onRelease = function () {
_root.paus = 0;
_root.disablePause = 0;
play();
};
Symbol 57 MovieClip Frame 101
stop();
_root.paus = 0;
_root.disablePause = 0;
Symbol 98 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 9
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 104 MovieClip "mc_obj" in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 106 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 107 MovieClip Frame 1
_visible = false;
stop();
_root.var_bleft++;
Symbol 107 MovieClip Frame 2
_visible = true;
if (_root.var_first_hid == 0) {
_root.hid_med = 1;
_root.getMedal("I See Dead Blocks");
}
_root.curve_r = 0;
_root.curve_l = 0;
_root.showScore(15);
_root.createSplat(11);
Symbol 107 MovieClip Frame 3
if ((_root.rotsp > 2) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Curved Ghost");
}
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(50);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(11, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 107 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 116 MovieClip Frame 1
_root.createSplat(24);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 116 MovieClip Frame 6
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 123 MovieClip "mc_obj" in Symbol 124 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 125 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 127 MovieClip Frame 1
stop();
Instance of Symbol 109 MovieClip in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Symbol 127 MovieClip Frame 2
_root.showScore(1);
Symbol 127 MovieClip Frame 3
_root.showScore(1);
Symbol 127 MovieClip Frame 4
_root.showScore(1);
Symbol 127 MovieClip Frame 5
_root.showScore(1);
Symbol 127 MovieClip Frame 6
_root.showScore(1);
Symbol 127 MovieClip Frame 7
_root.showScore(1);
Symbol 127 MovieClip Frame 8
_root.showScore(1);
Symbol 127 MovieClip Frame 9
_root.showScore(1);
Symbol 127 MovieClip Frame 10
_root.showScore(1);
Symbol 127 MovieClip Frame 11
_root.showScore(50);
speed = 0;
_root.var_max_metal++;
_root.var_nometals++;
if (_root.var_max_metal == 20) {
_root.getMedal("Heavy Metal");
}
if ((_root.rotsp > 2) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Curved Metal");
}
orbit = 0;
_root.createSplat(24, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 127 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 133 MovieClip "mc_obj" in Symbol 134 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 135 MovieClip Frame 64
stop();
unloadMovie (this._parent);
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
if ((_root.rotsp > 2) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Curved Heart");
}
_root.max_heartblocks++;
if ((_root.max_heartblocks == 13) && (_root.med_heartbreaker == undefined)) {
_root.med_heartbreaker = 1;
_root.getMedal("Heartbreaker");
}
_root.showScore(100);
_root.createSplat(6, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 135 MovieClip in Symbol 137 MovieClip Frame 2
onClipEvent (load) {
regPoint = new Object();
regPoint.x = 0;
regPoint.y = 0;
this.localtoGlobal(regPoint);
globalx = regPoint.x;
globaly = regPoint.y;
_root.mc_oneup._x = ((_x + _parent._x) + _parent._parent._x) + globalx;
_root.mc_oneup._y = ((_y + _parent._y) + _parent._parent._y) + globaly;
_root.mc_oneup.gotoAndPlay(2);
}
Symbol 141 MovieClip Frame 9
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 149 MovieClip "mc_obj" in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 151 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 152 MovieClip Frame 1
stop();
_root.var_bleft++;
Symbol 152 MovieClip Frame 2
_root.showScore(5);
_root.createSplat(19);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 146 MovieClip in Symbol 152 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 152 MovieClip Frame 3
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(20);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
orbit = 0;
up = 0;
down = 0;
_root.createSplat(8, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 152 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Instance of Symbol 146 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 156 MovieClip Frame 9
stop();
Instance of Symbol 146 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 158 MovieClip Frame 9
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 160 MovieClip "mc_obj" in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 162 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 163 MovieClip Frame 1
stop();
_root.var_bleft++;
Symbol 163 MovieClip Frame 2
_root.showScore(10);
_root.createSplat(1);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 163 MovieClip Frame 3
_root.showScore(20);
_root.createSplat(10);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 163 MovieClip Frame 4
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.var_bleft--;
_root.showScore(40);
if (_root.var_bleft == 0) {
_root.sp = 0;
}
up = 0;
down = 0;
orbit = 0;
_root.createSplat(14, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 163 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 169 MovieClip Frame 97
_root.var_bleft--;
this._parent.prevFrame();
Symbol 172 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 172 MovieClip "mc_obj" in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 174 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 175 MovieClip Frame 1
stop();
if (_root.var_bleft == 0) {
_root.sp = 11;
}
_root.var_bleft++;
Symbol 175 MovieClip Frame 2
_root.showScore(5);
_root.createSplat(7);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 146 MovieClip in Symbol 175 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 175 MovieClip Frame 3
if ((_root.rotsp > 2) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Vibrating Curve");
}
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(50);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(6, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
orbit = 0;
Instance of Symbol 46 MovieClip in Symbol 175 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 50) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(4) + 1);
i++;
}
stop();
Instance of Symbol 183 MovieClip "mc_obj" in Symbol 184 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.1;
ysp = ysp / 1.1;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 185 MovieClip Frame 65
stop();
unloadMovie (this._parent);
Symbol 187 MovieClip Frame 1
stop();
if (tmpi == undefined) {
tmpi = 0;
}
Symbol 187 MovieClip Frame 2
tmpi++;
if (tmpi >= 50) {
delete this.onEnterFrame;
gotoAndStop (18);
} else {
_root.explEffect(1);
_root.showScore(1);
_root.createSplat(20);
play();
}
Instance of Symbol 180 MovieClip in Symbol 187 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 187 MovieClip Frame 17
gotoAndStop (1);
Symbol 187 MovieClip Frame 18
if (_root.var_bumperdie == undefined) {
_root.var_bumperdie = 1;
_root.getMedal("Bumpers Die!");
}
_root.showScore(1000);
_root.createSplat(20, this);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 189 MovieClip Frame 48
this._parent.nextFrame();
Symbol 191 MovieClip Frame 1
stop();
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes) + 1);
}
Symbol 192 MovieClip Frame 51
_root.var_bleft--;
this._parent.prevFrame();
Symbol 195 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 195 MovieClip "mc_obj" in Symbol 196 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 197 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 198 MovieClip Frame 1
stop();
if (_root.var_bleft == 0) {
_root.sp = 11;
}
tmpname = this._name;
this._name = "";
_root.var_bleft++;
Instance of Symbol 189 MovieClip "bl" in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == 0) {
this.nextFrame();
}
}
Symbol 198 MovieClip Frame 2
this._name = this.tmpname;
Instance of Symbol 192 MovieClip in Symbol 198 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.paus == 0) {
this.nextFrame();
}
}
Symbol 198 MovieClip Frame 3
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(25);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(14, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
orbit = 0;
Instance of Symbol 46 MovieClip in Symbol 198 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 204 MovieClip Frame 11
stop();
this.fall = true;
Symbol 207 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 207 MovieClip "mc_obj" in Symbol 208 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 209 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 210 MovieClip Frame 1
tmpY = 0;
stop();
_root.var_bleft++;
Symbol 210 MovieClip Frame 2
_root.showScore(15);
_root.createSplat(16);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 204 MovieClip in Symbol 210 MovieClip Frame 2
onClipEvent (load) {
fallSp = 5;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (fall) {
fallSp = fallSp - 1;
_y = (_y - fallSp);
this._parent.tmpY = _y;
if (((_y + this._parent._y) + this._parent._parent._y) > 550) {
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.refreshGame();
_root.sp = 0;
}
unloadMovie (this._parent);
}
}
}
}
Instance of Symbol 146 MovieClip in Symbol 210 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 210 MovieClip Frame 3
if ((_root.rotsp > 2) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Falling to the Curve");
}
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(100);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(1);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
orbit = 0;
Instance of Symbol 209 MovieClip "mc" in Symbol 210 MovieClip Frame 3
onClipEvent (load) {
_y = this._parent.tmpY;
}
Instance of Symbol 46 MovieClip in Symbol 210 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Instance of Symbol 146 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 214 MovieClip Frame 10
stop();
Instance of Symbol 146 MovieClip in Symbol 216 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 216 MovieClip Frame 10
stop();
Instance of Symbol 146 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 218 MovieClip Frame 10
stop();
Instance of Symbol 146 MovieClip in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 220 MovieClip Frame 10
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 223 MovieClip "mc_obj" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 225 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 226 MovieClip Frame 1
stop();
_root.var_bleft++;
Instance of Symbol 212 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Symbol 226 MovieClip Frame 2
_root.showScore(10);
_root.createSplat(3);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 226 MovieClip Frame 3
_root.showScore(15);
_root.createSplat(18);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 226 MovieClip Frame 4
_root.showScore(20);
_root.createSplat(9);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 226 MovieClip Frame 5
_root.showScore(25);
_root.createSplat(9);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 226 MovieClip Frame 6
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(50);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
orbit = 0;
_root.createSplat(5, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 226 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 231 MovieClip Frame 9
this.rot = true;
Symbol 231 MovieClip Frame 45
stop();
Symbol 232 MovieClip Frame 9
_root.var_bleft--;
this._parent.gotoAndStop(1);
Symbol 235 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 235 MovieClip "mc_obj" in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 237 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 238 MovieClip Frame 1
stop();
if (_root.var_bleft == 0) {
_root.sp = 11;
}
_root.var_bleft++;
Symbol 238 MovieClip Frame 2
_root.showScore(10);
_root.createSplat(12);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 231 MovieClip in Symbol 238 MovieClip Frame 2
onClipEvent (load) {
rotsp = 1;
}
onClipEvent (enterFrame) {
if (rot) {
rotsp--;
_rotation = (_rotation - rotsp);
if (rotsp < -35) {
this._parent.gotoAndStop(4);
}
}
}
Instance of Symbol 146 MovieClip in Symbol 238 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 238 MovieClip Frame 3
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 146 MovieClip in Symbol 238 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 238 MovieClip Frame 4
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(35);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
orbit = 0;
_root.createSplat(17, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 46 MovieClip in Symbol 238 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Instance of Symbol 244 MovieClip in Symbol 245 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 245 MovieClip Frame 11
stop();
Symbol 246 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 248 MovieClip Frame 1
stop();
if (_root.var_bleft == 0) {
_root.sp = 11;
}
if (tmpi == undefined) {
tmpi = 0;
}
_root.var_bleft++;
Symbol 248 MovieClip Frame 2
_root.showScore(5);
tmpi++;
if ((_root.tmprotsp2 > 1.5) || (tmpi > 30)) {
gotoAndStop (3);
} else {
_root.var_bleft--;
gotoAndStop (1);
}
_root.createSplat(6);
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 248 MovieClip Frame 3
_root.getMedal("A Must Curve");
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(80);
_root.var_bleft--;
_root.tmprotsp2 = 0;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(6, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
orbit = 0;
Instance of Symbol 244 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 252 MovieClip Frame 11
stop();
Instance of Symbol 244 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 253 MovieClip Frame 10
stop();
Instance of Symbol 244 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 254 MovieClip Frame 10
stop();
Instance of Symbol 244 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 255 MovieClip Frame 10
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
mc_obj.gotoAndStop(mc_obj._totalframes);
var i = 0;
while (i < 20) {
mc = mc_obj.duplicateMovieClip("mc_obj" + i, i);
mc.gotoAndStop(random(2) + 1);
i++;
}
stop();
Instance of Symbol 258 MovieClip "mc_obj" in Symbol 259 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((Math.random() * -70) + 120);
_yscale = _xscale;
xsp = (Math.random() * -20) + 10;
ysp = (Math.random() * -20) + 10;
sp = (Math.random() * -0.0990000000000002) + 1.1;
cnt = 0;
}
onClipEvent (enterFrame) {
_x = (_x + xsp);
_y = (_y + ysp);
xsp = xsp / 1.3;
ysp = ysp / 1.3;
cnt++;
sp = sp * 1.001;
if (cnt > 70) {
unloadMovie (this._parent);
}
_xscale = (_xscale / sp);
_yscale = _xscale;
}
Symbol 260 MovieClip Frame 65
stop();
if (_root.var_bleft == 0) {
_root.refreshGame();
}
unloadMovie (this._parent);
Symbol 261 MovieClip Frame 1
stop();
if (_root.inplay == 1) {
_root.showScore(5);
}
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 261 MovieClip Frame 2
if (_root.inplay == 1) {
_root.showScore(5);
_root.createSplat(7);
}
if ((_root.diry == "down") && (_root.hitPos == "down")) {
_root.var_max_dirblocks_down++;
_root.var_nodowns = _root.var_max_dirblocks_down;
if (_root.var_max_dirblocks_down == 5) {
_root.getMedal("Ass Hitter");
}
gotoAndStop (6);
}
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 261 MovieClip Frame 3
if (_root.inplay == 1) {
_root.showScore(5);
_root.createSplat(7);
}
if ((_root.diry == "up") && (_root.hitPos == "up")) {
if ((_root.rotsp > 1) && ((_root.curve_r == 1) || (_root.curve_l == 1))) {
_root.getMedal("Bend It Like Beckham");
}
gotoAndStop (6);
}
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 261 MovieClip Frame 4
if (_root.inplay == 1) {
_root.showScore(5);
_root.createSplat(7);
}
if ((_root.dirx == "right") && (_root.hitPos == "right")) {
_root.var_max_dirblocks_right++;
_root.var_norights = _root.var_max_dirblocks_right;
if (_root.var_max_dirblocks_right == 10) {
_root.getMedal("That's Right!");
}
gotoAndStop (6);
}
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 261 MovieClip Frame 5
if (_root.hitPos == "down") {
_root.hitPos = "";
gotoAndStop (2);
_root.createSplat(7);
} else if ((_root.dirx == "left") && (_root.hitPos == "left")) {
gotoAndStop (6);
} else {
gotoAndStop (1);
_root.createSplat(7);
}
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 261 MovieClip Frame 6
_root.mc_vcam.i = 0;
_root.mc_vcam.shake_small = true;
_root.showScore(150);
_root.var_bleft--;
if (_root.var_bleft == 0) {
_root.sp = 0;
}
_root.createSplat(7, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
orbit = 0;
Instance of Symbol 46 MovieClip in Symbol 261 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * -2) + 4));
}
Symbol 268 MovieClip Frame 1
_root.createSplat(23);
_root.curve_r = 0;
_root.curve_l = 0;
Instance of Symbol 267 MovieClip in Symbol 268 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 268 MovieClip Frame 7
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
_root.showScore(2);
mc.gotoAndPlay(1);
stop();
Symbol 280 MovieClip Frame 3
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 4
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 5
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 6
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 7
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 8
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 9
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 10
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 11
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 12
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 13
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 14
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 15
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 16
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 17
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 18
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 19
_root.showScore(2);
mc.gotoAndPlay(1);
Symbol 280 MovieClip Frame 20
_root.showScore(100);
_root.var_max_gold++;
_root.var_nogolds++;
if (_root.var_max_gold == 10) {
_root.getMedal("Gold Digger");
}
if ((_root.rotsp > 1.5) && ((_root.curve_l == 1) || (_root.curve_r == 1))) {
_root.getMedal("Curved Gold");
}
orbit = 0;
_root.createSplat(23, this);
_root.deadBlocks();
_root.curve_r = 0;
_root.curve_l = 0;
Symbol 285 MovieClip [all_stages] Frame 1
_root.maxB = 14;
if (_root.firsttime == undefined) {
_root.firsttime = 1;
} else {
mc_curve_inf.gotoAndStop(mc_curve_inf._totalframes);
}
if ((_root.gostage == undefined) || (_root.gostage == 1)) {
_root.addShine();
} else {
gotoAndStop(_root.gostage);
}
stop();
Symbol 285 MovieClip [all_stages] Frame 2
_root.maxB = 14;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 3
_root.maxB = 10;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 4
_root.maxB = 18;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 5
_root.sndBg1.stop();
_root.sndBg2.start();
_root.maxB = 14;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 6
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
_root.maxB = 15;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 7
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
_root.maxB = 15;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 8
_root.sndBg2.stop();
_root.sndBg3.start();
_root.maxB = 18;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 9
_root.maxB = 12;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Symbol 285 MovieClip [all_stages] Frame 10
_root.maxB = 12;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 10
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 11
_root.sndBg3.stop();
_root.sndBg4.start();
_root.maxB = 17;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 12
_root.maxB = 17;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 198 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 12
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 198 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 12
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Symbol 285 MovieClip [all_stages] Frame 13
_root.maxB = 25;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 198 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(15);
}
Instance of Symbol 198 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(13);
}
Instance of Symbol 198 MovieClip "blk12" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(11);
}
Instance of Symbol 198 MovieClip "blk13" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(10);
}
Instance of Symbol 198 MovieClip "blk14" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(12);
}
Instance of Symbol 198 MovieClip "blk15" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(14);
}
Instance of Symbol 198 MovieClip "blk16" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(16);
}
Instance of Symbol 198 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(8);
}
Instance of Symbol 198 MovieClip "blk6" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(6);
}
Instance of Symbol 198 MovieClip "blk7" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(5);
}
Instance of Symbol 198 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(7);
}
Instance of Symbol 198 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(9);
}
Instance of Symbol 198 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(3);
}
Instance of Symbol 198 MovieClip "blk3" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(2);
}
Instance of Symbol 198 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(4);
}
Instance of Symbol 198 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(1);
}
Instance of Symbol 198 MovieClip "blk18" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(22);
}
Instance of Symbol 198 MovieClip "blk19" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(20);
}
Instance of Symbol 198 MovieClip "blk20" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(18);
}
Instance of Symbol 198 MovieClip "blk21" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(17);
}
Instance of Symbol 198 MovieClip "blk22" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(19);
}
Instance of Symbol 198 MovieClip "blk23" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(21);
}
Instance of Symbol 198 MovieClip "blk24" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(23);
}
Instance of Symbol 198 MovieClip "blk25" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(25);
}
Instance of Symbol 198 MovieClip "blk17" in Symbol 285 MovieClip [all_stages] Frame 13
onClipEvent (load) {
this.bl.gotoAndPlay(24);
}
Symbol 285 MovieClip [all_stages] Frame 14
_root.sndBg4.stop();
_root.sndBg1.start();
_root.maxB = 25;
_root.addShine();
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 14
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 14
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 14
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 15
_root.maxB = 15;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg4.stop();
_root.sndBg1.start();
}
Symbol 285 MovieClip [all_stages] Frame 16
_root.maxB = 6;
_root.addShine();
_root.maxB = 22;
if (_root.gamemode == 1) {
_root.sndBg4.stop();
_root.sndBg1.start();
}
Instance of Symbol 163 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 0;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 55;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 105;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk12" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 155;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk13" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 205;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk14" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 255;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk15" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk7._x;
tmpy = this._parent.blk7._y;
angle = 310;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk16" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 0;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk17" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 55;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk18" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 105;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk19" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 155;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk20" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 205;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk21" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 255;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk22" in Symbol 285 MovieClip [all_stages] Frame 16
onClipEvent (load) {
tmpx = this._parent.blk8._x;
tmpy = this._parent.blk8._y;
angle = 310;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Symbol 285 MovieClip [all_stages] Frame 17
_root.sndBg1.stop();
_root.sndBg2.start();
_root.maxB = 19;
_root.addShine();
Symbol 285 MovieClip [all_stages] Frame 18
_root.maxB = 21;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
Symbol 285 MovieClip [all_stages] Frame 19
_root.maxB = 18;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
Symbol 285 MovieClip [all_stages] Frame 20
_root.sndBg2.stop();
_root.sndBg3.start();
_root.maxB = 16;
_root.addShine();
Instance of Symbol 261 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk3" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk6" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk7" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 261 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 20
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 21
_root.maxB = 14;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Symbol 285 MovieClip [all_stages] Frame 22
_root.maxB = 20;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Instance of Symbol 261 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 22
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(2);
}
Instance of Symbol 261 MovieClip "blk12" in Symbol 285 MovieClip [all_stages] Frame 22
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(1);
}
Instance of Symbol 261 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 22
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(3);
}
Instance of Symbol 261 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 22
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(4);
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 22
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 23
_root.sndBg3.stop();
_root.sndBg4.start();
_root.maxB = 11;
_root.addShine();
Instance of Symbol 198 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 23
onClipEvent (load) {
this.bl.gotoAndPlay(16);
}
Instance of Symbol 198 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 23
onClipEvent (load) {
this.bl.gotoAndPlay(12);
}
Instance of Symbol 198 MovieClip "blk6" in Symbol 285 MovieClip [all_stages] Frame 23
onClipEvent (load) {
this.bl.gotoAndPlay(8);
}
Instance of Symbol 198 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 23
onClipEvent (load) {
this.bl.gotoAndPlay(4);
}
Symbol 285 MovieClip [all_stages] Frame 24
_root.maxB = 16;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 24
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 24
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 25
_root.maxB = 22;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 25
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 25
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 26
_root.sndBg4.stop();
_root.sndBg1.start();
_root.maxB = 14;
_root.addShine();
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 26
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 27
_root.maxB = 13;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg4.stop();
_root.sndBg1.start();
}
Instance of Symbol 198 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(10);
}
Instance of Symbol 198 MovieClip "blk3" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(2);
}
Instance of Symbol 198 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(4);
}
Instance of Symbol 198 MovieClip "blk7" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(12);
}
Instance of Symbol 198 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(16);
}
Instance of Symbol 198 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(8);
}
Instance of Symbol 198 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(14);
}
Instance of Symbol 198 MovieClip "blk12" in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
this.bl.gotoAndPlay(6);
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 27
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 28
_root.maxB = 14;
_root.addShine();
_root.maxB = 15;
if (_root.gamemode == 1) {
_root.sndBg4.stop();
_root.sndBg1.start();
}
Instance of Symbol 127 MovieClip "blk15" in Symbol 285 MovieClip [all_stages] Frame 28
onClipEvent (load) {
tmpx = _x;
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_x = (_x + speed);
if (_x > 418) {
_x = 418;
speed = -speed;
} else if (_x < tmpx) {
_x = tmpx;
speed = -speed;
}
}
}
Symbol 285 MovieClip [all_stages] Frame 29
_root.sndBg1.stop();
_root.sndBg2.start();
_root.maxB = 26;
_root.addShine();
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 29
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 29
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 29
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 29
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 30
_root.maxB = 11;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
Instance of Symbol 261 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(3);
}
Instance of Symbol 261 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(4);
}
Instance of Symbol 261 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(3);
}
Instance of Symbol 261 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(4);
}
Instance of Symbol 261 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(2);
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 30
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 31
_root.maxB = 12;
if (_root.gamemode == 1) {
_root.sndBg1.stop();
_root.sndBg2.start();
}
Instance of Symbol 47 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = -20;
mainDistance = 130;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 152 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = -10;
mainDistance = 90;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 226 MovieClip "blk3" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 0;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 226 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 180;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 152 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 170;
mainDistance = 90;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk6" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 160;
mainDistance = 130;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 187 MovieClip "tmppos" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 226 MovieClip "blk7" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 90;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 152 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 80;
mainDistance = 90;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = 70;
mainDistance = 130;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 226 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = -90;
mainDistance = 50;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 152 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = -100;
mainDistance = 90;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 47 MovieClip "blk12" in Symbol 285 MovieClip [all_stages] Frame 31
onClipEvent (load) {
tmpx = this._parent.tmppos._x;
tmpy = this._parent.tmppos._y;
angle = -110;
mainDistance = 130;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle + 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Symbol 285 MovieClip [all_stages] Frame 32
_root.sndBg2.stop();
_root.sndBg3.start();
_root.maxB = 22;
_root.addShine();
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 32
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 32
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 32
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 33
_root.maxB = 24;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 33
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 33
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 34
_root.maxB = 21;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg2.stop();
_root.sndBg3.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 34
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 34
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 198 MovieClip "blk10" in Symbol 285 MovieClip [all_stages] Frame 34
onClipEvent (load) {
this.bl.gotoAndPlay(4);
}
Instance of Symbol 198 MovieClip "blk11" in Symbol 285 MovieClip [all_stages] Frame 34
onClipEvent (load) {
this.bl.gotoAndPlay(1);
}
Instance of Symbol 198 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 34
onClipEvent (load) {
this.bl.gotoAndPlay(7);
}
Symbol 285 MovieClip [all_stages] Frame 35
_root.sndBg3.stop();
_root.sndBg4.start();
_root.maxB = 23;
_root.addShine();
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 35
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 35
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 35
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Symbol 285 MovieClip [all_stages] Frame 36
_root.maxB = 22;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 261 MovieClip "blk14" in Symbol 285 MovieClip [all_stages] Frame 36
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(4);
}
Instance of Symbol 261 MovieClip "blk15" in Symbol 285 MovieClip [all_stages] Frame 36
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(3);
}
Instance of Symbol 261 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 36
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(3);
}
Instance of Symbol 261 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 36
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(4);
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 36
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 37
_root.maxB = 5;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg3.stop();
_root.sndBg4.start();
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 37
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Symbol 285 MovieClip [all_stages] Frame 38
_root.sndBg4.stop();
_root.sndBg1.start();
_root.maxB = 12;
_root.addShine();
_root.maxB = 14;
Instance of Symbol 127 MovieClip "blk14" in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
tmpx = _x;
tmpx2 = this._parent.blk13._x;
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_x = (_x + speed);
if (_x > tmpx2) {
_x = tmpx2;
speed = -speed;
} else if (_x < tmpx) {
_x = tmpx;
speed = -speed;
}
}
}
Instance of Symbol 127 MovieClip "blk13" in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
tmpx = _x;
tmpx2 = this._parent.blk14._x;
speed = 4;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_x = (_x - speed);
if (_x > tmpx) {
speed = -speed;
} else if (_x < tmpx2) {
_x = tmpx2;
speed = -speed;
}
}
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 38
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Symbol 285 MovieClip [all_stages] Frame 39
_root.maxB = 13;
_root.addShine();
if (_root.gamemode == 1) {
_root.sndBg4.stop();
_root.sndBg1.start();
}
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 39
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 39
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 39
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation + 4);
}
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 39
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation - rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 39
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
_rotation = (_rotation - 4);
}
}
Symbol 285 MovieClip [all_stages] Frame 40
_root.sndBg1.stop();
_root.sndBg2.start();
_root.maxB = 9;
Instance of Symbol 187 MovieClip "tmppos1" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 175 MovieClip "blk1" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos1._x;
tmpy = this._parent.tmppos1._y;
angle = 45;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 261 MovieClip "blk5" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
tmpx = this._parent.tmppos3._x;
tmpy = this._parent.tmppos3._y;
angle = -45;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 248 MovieClip "blk3" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos2._x;
tmpy = this._parent.tmppos2._y;
angle = 90;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 163 MovieClip "blk2" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos1._x;
tmpy = this._parent.tmppos1._y;
angle = 225;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 187 MovieClip "tmppos2" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 187 MovieClip "tmppos3" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
rotsp = 0;
this.onEnterFrame = function () {
if (_root.paus == 0) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = _x - _root.mc_ball._x;
y1 = _y - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
angle2 = Math.atan2(x1, y1);
if (distance < 30) {
_root.var_max_bumphits++;
if ((_root.var_max_bumphits >= 10) && (_root.var_smallbig == undefined)) {
_root.var_smallbig = 1;
_root.getMedal("Small Ball, Big Ball");
} else if ((_root.var_max_bumphits >= 50) && (_root.var_bmaniac == undefined)) {
_root.var_bmaniac = 1;
_root.getMedal("Bumper Maniac");
}
if (((_root.rotsp > 2) && ((_root.curve_l == 1) || (_root.curve_r == 1))) && (_root.var_curvebump == undefined)) {
_root.var_curvebump = 1;
_root.getMedal("Curve Bump");
}
_root.curve_r = 0;
_root.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
_root.mc_ball._x = _x - (30 * Math.sin(angle2));
_root.mc_ball._y = _y - (30 * Math.cos(angle2));
newx = _root.mc_ball._x - _x;
newy = _root.mc_ball._y - _y;
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
};
}
Instance of Symbol 198 MovieClip "blk4" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos2._x;
tmpy = this._parent.tmppos2._y;
angle = -90;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 210 MovieClip "blk6" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos3._x;
tmpy = this._parent.tmppos3._y;
angle = 135;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 280 MovieClip "blk8" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos2._x;
tmpy = this._parent.tmppos2._y;
angle = 0;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 238 MovieClip "blk9" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos3._x;
tmpy = this._parent.tmppos3._y;
angle = 45;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Instance of Symbol 127 MovieClip "blk7" in Symbol 285 MovieClip [all_stages] Frame 40
onClipEvent (load) {
tmpx = this._parent.tmppos1._x;
tmpy = this._parent.tmppos1._y;
angle = -45;
mainDistance = 60;
orbit = 1;
}
onClipEvent (enterFrame) {
if (_root.paus == 0) {
if (orbit) {
angle = angle - 2;
xDistance = Math.sin((angle * Math.PI) / 180) * mainDistance;
yDistance = Math.cos((angle * Math.PI) / 180) * mainDistance;
xDisCalculated = tmpx - xDistance;
yDisCalculated = tmpy - yDistance;
_x = xDisCalculated;
_y = yDisCalculated;
}
}
}
Symbol 285 MovieClip [all_stages] Frame 41
_root.disablePause = 1;
_root.mc_whiteout._alpha = 0;
_root.mc_whiteout.nextFrame();
var_musicvol = 100;
_root.mc_whiteout.onEnterFrame = function () {
if ((_root.mute == 1) || (_root.musicmute == 1)) {
} else {
var_musicvol = var_musicvol - 2;
_root.sndBg2.setVolume(var_musicvol);
if (var_musicvol <= 0) {
_root.sndBg2.stop();
}
}
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
_root.sndBg2.stop();
delete this.onEnterFrame;
_root.gotoAndStop("completed");
}
};
Symbol 285 MovieClip [all_stages] Frame 42
Instance of Symbol 187 MovieClip in Symbol 285 MovieClip [all_stages] Frame 43
onClipEvent (load) {
rotsp = 0;
}
onClipEvent (enterFrame) {
if (rotr) {
rotsp = rotsp - 1;
_rotation = (_rotation - (-rotsp));
if (rotsp <= 0) {
rotsp = 0;
rotr = 0;
}
}
if (rotl) {
rotsp = rotsp - 1;
_rotation = (_rotation - rotsp);
if (rotsp <= 0) {
rotsp = 0;
rotl = 0;
}
}
x1 = (_x + this._parent._x) - _root.mc_ball._x;
y1 = (_y + this._parent._y) - _root.mc_ball._y;
distance = Math.sqrt((x1 * x1) + (y1 * y1));
if (distance < 30) {
_root.mc_ball.curve_r = 0;
_root.mc_ball.curve_l = 0;
i = random(2) + 1;
rotsp = (Math.random() * 20) + 40;
if (i == 1) {
rotl = 0;
rotr = 1;
} else {
rotr = 0;
rotl = 1;
}
this.gotoAndPlay(2);
newx = _root.mc_ball._x - (_x + this._parent._x);
newy = _root.mc_ball._y - (_y + this._parent._y);
angle = 114.591559026165 * Math.atan2(newy, newx);
_root.mc_ball._rotation = angle - _root.mc_ball._rotation;
}
}
Instance of Symbol 198 MovieClip "blk16" in Symbol 285 MovieClip [all_stages] Frame 43
onClipEvent (load) {
this.bl.gotoAndPlay(random(this.bl._totalframes) - 1);
}
Instance of Symbol 261 MovieClip "blk15" in Symbol 285 MovieClip [all_stages] Frame 43
onClipEvent (load) {
_root.var_bleft++;
this.gotoAndStop(random(4) + 1);
}
Instance of Symbol 282 MovieClip in Symbol 285 MovieClip [all_stages] Frame 43
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation - rotsp;
}
}
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip [all_stages] Frame 43
onClipEvent (load) {
_rotation = (360 * Math.random());
}
onClipEvent (enterFrame) {
_rotation = (_rotation - 4);
}
Symbol 291 Button
on (release) {
com.newgrounds.API.loadNewgrounds();
}
Symbol 297 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (865 % 511) * true);
return(\x03);
}
var \x01 = (-67 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 298 MovieClip Frame 11
gotoAndPlay (1);
Symbol 299 MovieClip [Flash Ad (NewgroundsAPI)] Frame 1
#initclip 31
Object.registerClass("Flash Ad (NewgroundsAPI)", com.newgrounds.components.FlashAd);
#endinitclip
Symbol 327 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 329 MovieClip Frame 10
stop();
Symbol 331 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 343 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 343 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 343 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 343 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 349 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
!!!ERROR
Symbol 349 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 349 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 352 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 352 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 352 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 373 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 377 Button
on (release) {
!!!ERROR
Symbol 383 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 385 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 386 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 390 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 391 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 32
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 391 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 418 MovieClip Frame 40
stop();
Symbol 425 Button
on (release) {
startMovie();
}
Symbol 426 MovieClip [Preloader Bar (NewgroundsAPI)] Frame 1
#initclip 33
Object.registerClass("Preloader Bar (NewgroundsAPI)", com.newgrounds.components.PreloaderBar);
#endinitclip
Symbol 1328 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
!!!ERROR
Symbol 1329 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
!!!ERROR
Symbol 1330 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
!!!ERROR
Symbol 1331 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
!!!ERROR
Symbol 1332 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
!!!ERROR
Symbol 1333 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
!!!ERROR
Symbol 1334 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
!!!ERROR
Symbol 301 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 302 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 303 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 304 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 307 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 309 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 308 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 318 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 306 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 300 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 313 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 286 MovieClip [__Packages.com.newgrounds.components.FlashAd] Frame 0
!!!ERROR
Symbol 305 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 310 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 311 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 312 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 314 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 315 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 316 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 317 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 319 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 320 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 395 MovieClip [__Packages.com.newgrounds.components.PreloaderBar] Frame 0
!!!ERROR
Symbol 485 MovieClip Frame 5
stop();
Symbol 488 MovieClip Frame 5
stop();
Symbol 490 MovieClip Frame 5
stop();
Symbol 492 MovieClip Frame 5
stop();
Symbol 494 MovieClip Frame 1
if (_root.mainfirst == undefined) {
_root.mainfirst = 1;
} else {
gotoAndPlay (50);
}
Instance of Symbol 459 MovieClip in Symbol 494 MovieClip Frame 61
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes) + 1);
}
Instance of Symbol 473 MovieClip in Symbol 494 MovieClip Frame 97
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Instance of Symbol 474 MovieClip in Symbol 494 MovieClip Frame 97
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Symbol 494 MovieClip Frame 112
stop();
btn_play.onRelease = function () {
stopAllSounds();
_root.gotoAndStop("game");
};
btn_medals.onRelease = function () {
stopAllSounds();
_root.gotoAndStop("medals");
};
btn_scores.onRelease = function () {
var _local1 = "6d5a10d01fc73527";
mochi.as2.MochiScores.showLeaderboard({boardID:_local1, onClose:function () {
stop();
}});
};
btn_stageselect.onRelease = function () {
stopAllSounds();
_root.gotoAndStop("stageselect");
};
Symbol 502 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 20
this.removeMovieClip();
Symbol 507 MovieClip Frame 21
stop();
Instance of Symbol 507 MovieClip "part" in Symbol 508 MovieClip Frame 1
onClipEvent (load) {
_alpha = (_root.tmprotsp * 20);
if (_alpha > 100) {
_alpha = 100;
}
_x = (((_x - this._parent._x) + _root.mc_ball._x) - _x);
_y = (((_y - this._parent._y) + _root.mc_ball._y) - _y);
}
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 4
gotoAndStop (1);
Symbol 511 MovieClip Frame 10
stop();
Symbol 513 MovieClip Frame 21
stop();
Symbol 513 MovieClip Frame 29
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 2
play();
Instance of Symbol 541 MovieClip in Symbol 547 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(Math.round((Math.random() * (2 - this._totalframes)) + this._totalframes));
}
Symbol 547 MovieClip Frame 14
gotoAndStop (1);
Symbol 547 MovieClip Frame 15
_root.createSplat(22, this);
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
play();
Symbol 554 MovieClip Frame 4
stop();
Symbol 556 MovieClip Frame 4
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 81
stop();
mc = _root.mc_blocks._currentframe;
btn_main.onRelease = function () {
stopAllSounds();
_root.killAll();
};
btn_submit.onRelease = function () {
if (_root.gamemode == 0) {
var _local2 = "6d5a10d01fc73527";
} else if (mc == 1) {
var _local2 = "aa2b149027b8af0b";
} else if (mc == 2) {
var _local2 = "2010311e01e98eae";
} else if (mc == 3) {
var _local2 = "be4fc053e5d01bd5";
} else if (mc == 4) {
var _local2 = "ed83e06dc8295002";
} else if (mc == 5) {
var _local2 = "a6c420a8a52101d4";
} else if (mc == 6) {
var _local2 = "206ff32f7f638300";
} else if (mc == 7) {
var _local2 = "bcdaf4d211ef04d8";
} else if (mc == 8) {
var _local2 = "439542a6b3dff554";
} else if (mc == 9) {
var _local2 = "730e36fca6c7afdf";
} else if (mc == 10) {
var _local2 = "1c319343ecba53a4";
} else if (mc == 11) {
var _local2 = "2df4093f780ddd71";
} else if (mc == 12) {
var _local2 = "cc2b2175df59f1f3";
} else if (mc == 13) {
var _local2 = "0e017031a967a439";
} else if (mc == 14) {
var _local2 = "e732662e57d20c01";
} else if (mc == 15) {
var _local2 = "be1e2f8b99e1b451";
} else if (mc == 16) {
var _local2 = "15252b9561331e7b";
} else if (mc == 17) {
var _local2 = "c82a8eed50d5d21f";
} else if (mc == 18) {
var _local2 = "bd85606b7d15a5cc";
} else if (mc == 19) {
var _local2 = "56e733464d6a4ec2";
} else if (mc == 20) {
var _local2 = "a247d5e35cb09b82";
} else if (mc == 21) {
var _local2 = "1b3feeee717d1c80";
} else if (mc == 22) {
var _local2 = "e1f8d77189691e04";
} else if (mc == 23) {
var _local2 = "2c92ea4a379e5515";
} else if (mc == 24) {
var _local2 = "a032fa794bcfa4bb";
} else if (mc == 25) {
var _local2 = "46964c04e16f2210";
} else if (mc == 26) {
var _local2 = "b75eedd2af7734ab";
} else if (mc == 27) {
var _local2 = "e27ef933da7eae79";
} else if (mc == 28) {
var _local2 = "b954eb12d06380c3";
} else if (mc == 29) {
var _local2 = "5d54c199117509b1";
} else if (mc == 30) {
var _local2 = "da335d2f385eadbb";
} else if (mc == 31) {
var _local2 = "93f2d54c8ff86723";
} else if (mc == 32) {
var _local2 = "74eace0951106111";
} else if (mc == 33) {
var _local2 = "b74d9e6206f18f1d";
} else if (mc == 34) {
var _local2 = "ae5402d90d934235";
} else if (mc == 35) {
var _local2 = "438fc8354d8969c7";
} else if (mc == 36) {
var _local2 = "69b4469a192774d7";
} else if (mc == 37) {
var _local2 = "b326269b73a019a7";
} else if (mc == 38) {
var _local2 = "fb3f5092423872df";
} else if (mc == 39) {
var _local2 = "2ca0cad28277fe56";
} else if (mc == 40) {
var _local2 = "9aebc2bd9ef49ecc";
}
mochi.as2.MochiScores.showLeaderboard({boardID:_local2, score:_root.var_score, onClose:function () {
stop();
}});
};
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 2
_root.var_lives++;
if ((_root.var_lives == 15) && (_root.med_healthinsurence == undefined)) {
_root.med_healthinsurence = 1;
_root.getMedal("Health Insurence");
}
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 39
stop();
mc = _root.mc_blocks._currentframe;
btn_main.onRelease = function () {
stopAllSounds();
_root.killAll();
};
btn_submit.onRelease = function () {
if (mc == 1) {
var _local2 = "aa2b149027b8af0b";
} else if (mc == 2) {
var _local2 = "2010311e01e98eae";
} else if (mc == 3) {
var _local2 = "be4fc053e5d01bd5";
} else if (mc == 4) {
var _local2 = "ed83e06dc8295002";
} else if (mc == 5) {
var _local2 = "a6c420a8a52101d4";
} else if (mc == 6) {
var _local2 = "206ff32f7f638300";
} else if (mc == 7) {
var _local2 = "bcdaf4d211ef04d8";
} else if (mc == 8) {
var _local2 = "439542a6b3dff554";
} else if (mc == 9) {
var _local2 = "730e36fca6c7afdf";
} else if (mc == 10) {
var _local2 = "1c319343ecba53a4";
} else if (mc == 11) {
var _local2 = "2df4093f780ddd71";
} else if (mc == 12) {
var _local2 = "cc2b2175df59f1f3";
} else if (mc == 13) {
var _local2 = "0e017031a967a439";
} else if (mc == 14) {
var _local2 = "e732662e57d20c01";
} else if (mc == 15) {
var _local2 = "be1e2f8b99e1b451";
} else if (mc == 16) {
var _local2 = "15252b9561331e7b";
} else if (mc == 17) {
var _local2 = "c82a8eed50d5d21f";
} else if (mc == 18) {
var _local2 = "bd85606b7d15a5cc";
} else if (mc == 19) {
var _local2 = "56e733464d6a4ec2";
} else if (mc == 20) {
var _local2 = "a247d5e35cb09b82";
} else if (mc == 21) {
var _local2 = "1b3feeee717d1c80";
} else if (mc == 22) {
var _local2 = "e1f8d77189691e04";
} else if (mc == 23) {
var _local2 = "2c92ea4a379e5515";
} else if (mc == 24) {
var _local2 = "a032fa794bcfa4bb";
} else if (mc == 25) {
var _local2 = "46964c04e16f2210";
} else if (mc == 26) {
var _local2 = "b75eedd2af7734ab";
} else if (mc == 27) {
var _local2 = "e27ef933da7eae79";
} else if (mc == 28) {
var _local2 = "b954eb12d06380c3";
} else if (mc == 29) {
var _local2 = "5d54c199117509b1";
} else if (mc == 30) {
var _local2 = "da335d2f385eadbb";
} else if (mc == 31) {
var _local2 = "93f2d54c8ff86723";
} else if (mc == 32) {
var _local2 = "74eace0951106111";
} else if (mc == 33) {
var _local2 = "b74d9e6206f18f1d";
} else if (mc == 34) {
var _local2 = "ae5402d90d934235";
} else if (mc == 35) {
var _local2 = "438fc8354d8969c7";
} else if (mc == 36) {
var _local2 = "69b4469a192774d7";
} else if (mc == 37) {
var _local2 = "b326269b73a019a7";
} else if (mc == 38) {
var _local2 = "fb3f5092423872df";
} else if (mc == 39) {
var _local2 = "2ca0cad28277fe56";
} else if (mc == 40) {
var _local2 = "9aebc2bd9ef49ecc";
}
mochi.as2.MochiScores.showLeaderboard({boardID:_local2, score:_root.var_score, onClose:function () {
stop();
}});
};
Symbol 570 Button
on (release) {
_root.mute = 1;
_root.allsounds.setVolume(0);
nextFrame();
}
Symbol 572 Button
on (release) {
_root.mute = 0;
_root.allsounds.setVolume(100);
prevFrame();
}
Symbol 573 MovieClip Frame 1
stop();
Symbol 575 Button
on (release) {
_root.musicmute = 1;
_root.sndBg1.setVolume(0);
nextFrame();
}
Symbol 576 Button
on (release) {
_root.musicmute = 0;
_root.sndBg1.setVolume(100);
prevFrame();
}
Symbol 577 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 2
btn_main.onRelease = function () {
stopAllSounds();
_root.killAll();
};
if ((_root.mute == undefined) || (_root.mute == 0)) {
} else {
mc_vol.nextFrame();
}
if ((_root.musicmute == undefined) || (_root.musicmute == 0)) {
} else {
mc_mus.nextFrame();
}
Symbol 581 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 1
tmpnum = _root.mc_blocks._currentframe;
if ((_root.blox.data["stg" + tmpnum] == undefined) && (tmpnum < 41)) {
var_stgunlock = tmpnum + " Unlocked";
_root.blox.data["stg" + tmpnum] = 1;
} else {
gotoAndStop (87);
}
Symbol 587 MovieClip Frame 87
stop();
Symbol 597 MovieClip Frame 1
arrCong = ["O", "N", "G", "R", "A", "D", "U", "L", "A", "T", "I", "O", "N", "S", "!"];
tmpy = 5;
var i = 1;
while (i < 16) {
this["mc" + i].gotoAndPlay(tmpy);
tmpy = tmpy + 5;
this["mc" + i].var_txt = arrCong[i - 1];
i++;
}
Symbol 601 MovieClip Frame 31
stop();
Symbol 615 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 1
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 639 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 1
stop();
Symbol 655 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 666 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 1
stop();
Symbol 678 MovieClip Frame 1
stop();
Symbol 682 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 1
stop();
Symbol 702 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 1
stop();
Symbol 709 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 1
stop();
Symbol 716 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 1
stop();
Symbol 724 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 1
stop();
Symbol 759 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 1
stop();
secretmed = 1;
Symbol 766 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 777 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 1
stop();
Symbol 784 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 1
stop();
Symbol 847 MovieClip Frame 1
stop();
Symbol 903 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
stop();
Symbol 930 MovieClip Frame 1
stop();
Symbol 947 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 1
stop();
Symbol 957 MovieClip Frame 1
stop();
Symbol 962 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 7
if (_parent.mc_med7._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 13
if (_parent.mc_med13._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 14
if (_parent.mc_med14._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 33
if (_parent.mc_med33._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 35
if (_parent.mc_med35._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 41
if (_parent.mc_med41._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 46
if (_parent.mc_med46._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 47
if (_parent.mc_med47._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 48
if (_parent.mc_med48._currentframe == 2) {
mc.nextFrame();
}
Symbol 963 MovieClip Frame 49
if (_parent.mc_med49._currentframe == 2) {
mc.nextFrame();
}
Symbol 979 MovieClip Frame 5
stop();
Symbol 980 MovieClip Frame 5
stop();
Symbol 984 MovieClip Frame 1
stop();
Symbol 987 MovieClip Frame 5
stop();
Symbol 988 MovieClip Frame 5
stop();
Symbol 991 MovieClip Frame 1
stop();
Symbol 994 MovieClip Frame 5
stop();
Symbol 995 MovieClip Frame 5
stop();
Symbol 998 MovieClip Frame 1
stop();
Symbol 1001 MovieClip Frame 5
stop();
Symbol 1002 MovieClip Frame 5
stop();
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1008 MovieClip Frame 5
stop();
Symbol 1009 MovieClip Frame 5
stop();
Symbol 1012 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 5
stop();
Symbol 1016 MovieClip Frame 5
stop();
Symbol 1019 MovieClip Frame 1
stop();
Symbol 1022 MovieClip Frame 5
stop();
Symbol 1023 MovieClip Frame 5
stop();
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1029 MovieClip Frame 5
stop();
Symbol 1030 MovieClip Frame 5
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1036 MovieClip Frame 5
stop();
Symbol 1037 MovieClip Frame 5
stop();
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1043 MovieClip Frame 5
stop();
Symbol 1044 MovieClip Frame 5
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1051 MovieClip Frame 5
stop();
Symbol 1052 MovieClip Frame 5
stop();
Symbol 1056 MovieClip Frame 1
stop();
Symbol 1059 MovieClip Frame 5
stop();
Symbol 1060 MovieClip Frame 5
stop();
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1067 MovieClip Frame 5
stop();
Symbol 1068 MovieClip Frame 5
stop();
Symbol 1072 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 5
stop();
Symbol 1076 MovieClip Frame 5
stop();
Symbol 1080 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 5
stop();
Symbol 1084 MovieClip Frame 5
stop();
Symbol 1088 MovieClip Frame 1
stop();
Symbol 1091 MovieClip Frame 5
stop();
Symbol 1092 MovieClip Frame 5
stop();
Symbol 1096 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 5
stop();
Symbol 1100 MovieClip Frame 5
stop();
Symbol 1104 MovieClip Frame 1
stop();
Symbol 1107 MovieClip Frame 5
stop();
Symbol 1108 MovieClip Frame 5
stop();
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1115 MovieClip Frame 5
stop();
Symbol 1116 MovieClip Frame 5
stop();
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1123 MovieClip Frame 5
stop();
Symbol 1124 MovieClip Frame 5
stop();
Symbol 1128 MovieClip Frame 1
stop();
Symbol 1131 MovieClip Frame 5
stop();
Symbol 1132 MovieClip Frame 5
stop();
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1138 MovieClip Frame 5
stop();
Symbol 1139 MovieClip Frame 5
stop();
Symbol 1142 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 5
stop();
Symbol 1146 MovieClip Frame 5
stop();
Symbol 1149 MovieClip Frame 1
stop();
Symbol 1152 MovieClip Frame 5
stop();
Symbol 1153 MovieClip Frame 5
stop();
Symbol 1156 MovieClip Frame 1
stop();
Symbol 1159 MovieClip Frame 5
stop();
Symbol 1160 MovieClip Frame 5
stop();
Symbol 1163 MovieClip Frame 1
stop();
Symbol 1166 MovieClip Frame 5
stop();
Symbol 1167 MovieClip Frame 5
stop();
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1173 MovieClip Frame 5
stop();
Symbol 1174 MovieClip Frame 5
stop();
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 5
stop();
Symbol 1181 MovieClip Frame 5
stop();
Symbol 1184 MovieClip Frame 1
stop();
Symbol 1187 MovieClip Frame 5
stop();
Symbol 1188 MovieClip Frame 5
stop();
Symbol 1191 MovieClip Frame 1
stop();
Symbol 1194 MovieClip Frame 5
stop();
Symbol 1195 MovieClip Frame 5
stop();
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1201 MovieClip Frame 5
stop();
Symbol 1202 MovieClip Frame 5
stop();
Symbol 1205 MovieClip Frame 1
stop();
Symbol 1208 MovieClip Frame 5
stop();
Symbol 1209 MovieClip Frame 5
stop();
Symbol 1212 MovieClip Frame 1
stop();
Symbol 1215 MovieClip Frame 5
stop();
Symbol 1216 MovieClip Frame 5
stop();
Symbol 1219 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 5
stop();
Symbol 1223 MovieClip Frame 5
stop();
Symbol 1226 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 5
stop();
Symbol 1230 MovieClip Frame 5
stop();
Symbol 1233 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 5
stop();
Symbol 1237 MovieClip Frame 5
stop();
Symbol 1240 MovieClip Frame 1
stop();
Symbol 1243 MovieClip Frame 5
stop();
Symbol 1244 MovieClip Frame 5
stop();
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1250 MovieClip Frame 5
stop();
Symbol 1251 MovieClip Frame 5
stop();
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1257 MovieClip Frame 5
stop();
Symbol 1258 MovieClip Frame 5
stop();
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1264 MovieClip Frame 5
stop();
Symbol 1265 MovieClip Frame 5
stop();
Symbol 1268 MovieClip Frame 1
stop();
Symbol 1276 MovieClip Frame 5
stop();
Symbol 1279 MovieClip Frame 5
stop();
Symbol 1281 MovieClip Frame 1
stop();
Symbol 1281 MovieClip Frame 11
stop();
btn_play.onRelease = function () {
_root.gostage = _root.mc_stgimg._currentframe;
stopAllSounds();
_root.gotoAndStop("game");
};
btn_scores.onRelease = function () {
mc = _root.mc_stgimg._currentframe;
if (mc == 1) {
var _local2 = "aa2b149027b8af0b";
} else if (mc == 2) {
var _local2 = "2010311e01e98eae";
} else if (mc == 3) {
var _local2 = "be4fc053e5d01bd5";
} else if (mc == 4) {
var _local2 = "ed83e06dc8295002";
} else if (mc == 5) {
var _local2 = "a6c420a8a52101d4";
} else if (mc == 6) {
var _local2 = "206ff32f7f638300";
} else if (mc == 7) {
var _local2 = "bcdaf4d211ef04d8";
} else if (mc == 8) {
var _local2 = "439542a6b3dff554";
} else if (mc == 9) {
var _local2 = "730e36fca6c7afdf";
} else if (mc == 10) {
var _local2 = "1c319343ecba53a4";
} else if (mc == 11) {
var _local2 = "2df4093f780ddd71";
} else if (mc == 12) {
var _local2 = "cc2b2175df59f1f3";
} else if (mc == 13) {
var _local2 = "0e017031a967a439";
} else if (mc == 14) {
var _local2 = "e732662e57d20c01";
} else if (mc == 15) {
var _local2 = "be1e2f8b99e1b451";
} else if (mc == 16) {
var _local2 = "15252b9561331e7b";
} else if (mc == 17) {
var _local2 = "c82a8eed50d5d21f";
} else if (mc == 18) {
var _local2 = "bd85606b7d15a5cc";
} else if (mc == 19) {
var _local2 = "56e733464d6a4ec2";
} else if (mc == 20) {
var _local2 = "a247d5e35cb09b82";
} else if (mc == 21) {
var _local2 = "1b3feeee717d1c80";
} else if (mc == 22) {
var _local2 = "e1f8d77189691e04";
} else if (mc == 23) {
var _local2 = "2c92ea4a379e5515";
} else if (mc == 24) {
var _local2 = "a032fa794bcfa4bb";
} else if (mc == 25) {
var _local2 = "46964c04e16f2210";
} else if (mc == 26) {
var _local2 = "b75eedd2af7734ab";
} else if (mc == 27) {
var _local2 = "e27ef933da7eae79";
} else if (mc == 28) {
var _local2 = "b954eb12d06380c3";
} else if (mc == 29) {
var _local2 = "5d54c199117509b1";
} else if (mc == 30) {
var _local2 = "da335d2f385eadbb";
} else if (mc == 31) {
var _local2 = "93f2d54c8ff86723";
} else if (mc == 32) {
var _local2 = "74eace0951106111";
} else if (mc == 33) {
var _local2 = "b74d9e6206f18f1d";
} else if (mc == 34) {
var _local2 = "ae5402d90d934235";
} else if (mc == 35) {
var _local2 = "438fc8354d8969c7";
} else if (mc == 36) {
var _local2 = "69b4469a192774d7";
} else if (mc == 37) {
var _local2 = "b326269b73a019a7";
} else if (mc == 38) {
var _local2 = "fb3f5092423872df";
} else if (mc == 39) {
var _local2 = "2ca0cad28277fe56";
} else if (mc == 40) {
var _local2 = "9aebc2bd9ef49ecc";
}
mochi.as2.MochiScores.showLeaderboard({boardID:_local2, onClose:function () {
stop();
}});
};
Instance of Symbol 282 MovieClip in Symbol 1323 MovieClip Frame 35
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 282 MovieClip in Symbol 1323 MovieClip Frame 39
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation + rotsp;
}
}
Instance of Symbol 282 MovieClip in Symbol 1323 MovieClip Frame 39
onClipEvent (load) {
rotsp = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mc_ball)) {
_root.mc_ball._rotation = _root.mc_ball._rotation - rotsp;
}
}