Frame 1
stop();
Frame 3
var i = 0;
var inter = 5;
var music = new Sound();
var muson = true;
stopAllSounds();
music.stop();
music.attachSound("mus");
music.start(0, 99);
stop();
onMouseMove = function () {
cur._x = _root._xmouse;
cur._y = _root._ymouse;
Mouse.hide();
};
onEnterFrame = function () {
if (_alpha < 99) {
_alpha = (_alpha + 5);
}
if (!(i % _root.inter)) {
_root.createEmptyMovieClip("thing_" + i, i + 100);
if (random(100) > 80) {
_root["thing_" + i].attachMovie("swfblue", "file", 0, {_y:-50, _x:random(400), _alpha:random(50)});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + 3;
if (this._x < _root.mcportal._x) {
this._x = this._x + 1;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - 1;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + 6;
}
this._xscale = (this._yscale = this._yscale - 1);
};
} else if (random(100) < 4) {
_root["thing_" + i].attachMovie("swfflash", "file", 0, {_y:-50, _x:random(400), _alpha:random(50)});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + 3;
if (this._x < _root.mcportal._x) {
this._x = this._x + 1;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - 1;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + 6;
}
this._xscale = (this._yscale = this._yscale - 1);
};
} else if ((random(100) > 25) && (random(100) < 40)) {
_root["thing_" + i].attachMovie("swfred", "file", 0, {_y:-50, _x:random(400), _alpha:random(50)});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + 3;
if (this._x < _root.mcportal._x) {
this._x = this._x + 1;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - 1;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + 6;
}
this._xscale = (this._yscale = this._yscale - 1);
};
} else {
_root["thing_" + i].attachMovie("swf", "file", 0, {_y:-50, _x:random(400), _alpha:random(50)});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + 3;
if (this._x < _root.mcportal._x) {
this._x = this._x + 1;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - 1;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + 6;
}
this._xscale = (this._yscale = this._yscale - 1);
};
}
}
if (i > 100) {
i = 0;
} else {
i++;
}
};
Instance of Symbol 83 MovieClip in Frame 3
on (release) {
if (!_root.muson) {
stopAllSounds();
_root.music.stop();
_root.music.attachSound("mus");
_root.music.start(0, 99);
_root.muson = true;
} else {
stopAllSounds();
_root.muson = false;
}
}
Frame 4
var scor = 0;
var d = 0;
while (d < 501) {
_root["thing_" + d].removeMovieClip();
d++;
}
var i = 0;
var inter = 22;
var rot = 3;
var xmov = 1;
var ymov = 6;
var scl = 100;
var blam = 0;
var pro = 0;
var lev = "Level 1";
var over = false;
var spec = new Sound();
var level = 1;
var nextlevel = 2;
spec.attachSound("specsound");
var lose = new Sound();
lose.attachSound("booo");
stop();
onMouseMove = function () {
cur._x = _root._xmouse;
cur._y = _root._ymouse;
Mouse.hide();
};
onEnterFrame = function () {
if (level == nextlevel) {
yay.play();
nextlevel++;
}
if (!over) {
if (_root.scor < -1000) {
var _local3 = 0;
while (_local3 < 501) {
_root["thing_" + _local3].removeMovieClip();
_local3++;
}
wootah("GAME OVER");
_root.createEmptyMovieClip("bla", 0);
_root.bla.attachMovie("playag", "bl", 6000, {_x:200, _y:200});
_root.bla.onMouseUp = function () {
_root.gotoAndStop(1);
this.removeMovieClip();
};
over = true;
}
if (_root.blam > 1500) {
var _local3 = 0;
while (_local3 < 501) {
_root["thing_" + _local3].removeMovieClip();
_local3++;
}
score = (_root.blam * 5) + _root.scor;
wootah("Score:" + score);
_root.createEmptyMovieClip("bla", 0);
_root.bla.attachMovie("playag", "bl", 6000, {_x:200, _y:200});
_root.bla.onMouseUp = function () {
_root.gotoAndStop(1);
this.removeMovieClip();
};
over = true;
_root.lose.start();
} else if ((_root.blam > 1000) && (level == 5)) {
_root.lev = "Final";
_root.inter = 1;
level++;
} else if ((_root.blam > 500) && (level == 4)) {
_root.lev = "Level 5";
_root.inter = 2;
level++;
} else if ((_root.blam > 250) && (level == 3)) {
_root.lev = "Level 4";
_root.inter = 5;
level++;
} else if ((_root.blam > 100) && (level == 2)) {
_root.lev = "Level 3";
_root.inter = 10;
level++;
} else if ((_root.blam > 50) && (level == 1)) {
_root.lev = "Level 2";
_root.inter = 15;
level++;
}
_root.blammed = ("blammed " + _root.blam) + " entries";
_root.protect = ("protected " + _root.pro) + " entries";
explo_mc._x = _root._xmouse;
explo_mc._y = _root._ymouse;
if (!(i % _root.inter)) {
_root.createEmptyMovieClip("thing_" + i, i + 100);
if (random(100) > 80) {
_root["thing_" + i].attachMovie("swfblue", "file", 0, {_y:-50, _x:random(350), _xscale:_root.scl, _yscale:_root.scl});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + _root.rot;
if (this._x < _root.mcportal._x) {
this._x = this._x + _root.xmov;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - _root.xmov;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + _root.ymov;
}
this._xscale = (this._yscale = _root.scl - ((this._y / Stage.height) * 100));
if (this.hitTest(_root.mcportal)) {
scor = scor + 100;
this.removeMovieClip();
pro++;
}
if (this.hitTest(_root.cur)) {
scor = scor - 150;
_root.explo_mc.play();
this.removeMovieClip();
_root.blam = _root.blam + 1;
}
};
} else if (random(100) < 4) {
_root["thing_" + i].attachMovie("swfflash", "file", 0, {_y:-50, _x:random(350), _xscale:_root.scl, _yscale:_root.scl});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + _root.rot;
if (this._x < _root.mcportal._x) {
this._x = this._x + _root.xmov;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - _root.xmov;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + _root.ymov;
}
this._xscale = (this._yscale = _root.scl - ((this._y / Stage.height) * 100));
if (this.hitTest(_root.cur)) {
rand = random(7);
if (rand == 1) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.scl = 140;
wootah("Pumped Up!");
}
if (rand == 2) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.ymov = 3;
_root.rot = 10;
wootah("Dizzy!");
}
if (rand == 3) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.xmov = 3;
wootah("Funnel!");
}
if (rand == 4) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.cur._xscale = (_root.cur._yscale = 200);
wootah("Supersize!");
}
if (rand == 0) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
var _local3 = 0;
while (_local3 < 501) {
_root["thing_" + _local3].removeMovieClip();
_local3++;
}
wootah("Kamikazi!");
}
if (rand == 5) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.ymov = 14;
wootah("Lightspeed!");
}
if (rand == 6) {
this.removeMovieClip();
_root.explo_mc.play();
reset();
_root.rot = 0;
_root.ymov = 8;
wootah("Dropdown!");
}
}
};
} else if ((random(100) > 10) && (random(100) < 80)) {
_root["thing_" + i].attachMovie("swfred", "file", 0, {_y:-50, _x:random(350), _xscale:_root.scl, _yscale:_root.scl});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + _root.rot;
if (this._x < _root.mcportal._x) {
this._x = this._x + _root.xmov;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - _root.xmov;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + _root.ymov;
}
this._xscale = (this._yscale = _root.scl - ((this._y / Stage.height) * 100));
if (this.hitTest(_root.mcportal)) {
scor = scor - 100;
this.removeMovieClip();
pro++;
}
if (this.hitTest(_root.cur)) {
scor = scor + 25;
_root.explo_mc.play();
this.removeMovieClip();
_root.blam = _root.blam + 1;
}
};
} else {
_root["thing_" + i].attachMovie("swf", "file", 0, {_y:-50, _x:random(350), _xscale:_root.scl, _yscale:_root.scl});
_root["thing_" + i].file.onEnterFrame = function () {
this._rotation = this._rotation + _root.rot;
if (this._x < _root.mcportal._x) {
this._x = this._x + _root.xmov;
} else if (this._x > _root.mcportal._x) {
this._x = this._x - _root.xmov;
} else {
this._x = this._x;
}
if (this._y < _root.mcportal._y) {
this._y = this._y + _root.ymov;
}
this._xscale = (this._yscale = _root.scl - ((this._y / Stage.height) * 100));
if (this.hitTest(_root.mcportal)) {
scor = scor + 5;
this.removeMovieClip();
pro++;
}
if (this.hitTest(_root.cur)) {
scor = scor - 10;
_root.explo_mc.play();
this.removeMovieClip();
_root.blam = _root.blam + 1;
}
};
}
}
if (i > 500) {
i = 0;
} else {
i++;
}
}
};
reset = function () {
_root.rot = 3;
_root.xmov = 1;
_root.ymov = 6;
_root.scl = 100;
_root.cur._xscale = (_root.cur._yscale = 100);
_root.spec.start();
};
wootah = function (what) {
var _local3 = 0;
_root.special.onEnterFrame = function () {
_root.special.woot = what;
if (this._alpha > 20) {
this._alpha = 15;
} else {
this._alpha = 25;
}
};
};
Symbol 13 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 19 Button
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 20 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 20 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 MovieClip Frame 3
_root.play();
Symbol 24 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 78 Button
on (release) {
nextFrame();
}
Symbol 79 Button
on (release) {
getURL ("http://www.daretogame.com", "_blank");
}