Frame 1
fscommand ("showmenu", "false");
fscommand ("allowscale", "true");
if (_framesloaded >= _totalframes) {
gotoAndPlay (3);
} else {
_root.loading = (getBytesLoaded() / getBytesTotal()) * 100;
}
_root.playername = "";
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Symbol 16 Button
on (release) {
tellTarget (_root.game) {
gotoAndStop (3);
};
}
Symbol 18 MovieClip Frame 1
_root.game.player._xscale = _root.playersize;
_root.game.player._yscale = _root.playersize;
if (Key.isDown(38)) {
_root.vthrust = _root.vthrust - 3;
}
if (Key.isDown(40)) {
_root.vthrust = _root.vthrust + 3;
}
if (Key.isDown(37)) {
_root.hthrust = _root.hthrust - 3;
}
if (Key.isDown(39)) {
_root.hthrust = _root.hthrust + 3;
}
if (_root.vthrust > 0) {
_root.vthrust = _root.vthrust - 1;
}
if (_root.vthrust < 0) {
_root.vthrust = _root.vthrust + 1;
}
if (_root.hthrust > 0) {
_root.hthrust = _root.hthrust - 1;
}
if (_root.hthrust < 0) {
_root.hthrust = _root.hthrust + 1;
}
_root.game.player._y = _root.game.player._y + (_root.vthrust / 10);
_root.game.player._x = _root.game.player._x + (_root.hthrust / 10);
if (_root.vthrust > 100) {
_root.vthrust = 100;
}
if (_root.vthrust < -100) {
_root.vthrust = -100;
}
if (_root.hthrust > 100) {
_root.hthrust = 100;
}
if (_root.hthrust < -100) {
_root.hthrust = -100;
}
if ((_root.game.player._y - (_root.game.player._height / 2)) < 95) {
_root.game.player._y = 95 + (_root.playersize / 1.2);
_root.vthrust = -_root.vthrust;
}
if ((_root.game.player._y + (_root.game.player._height / 2)) > 553) {
_root.game.player._y = 553 - (_root.playersize / 1.2);
_root.vthrust = -_root.vthrust;
}
if ((_root.game.player._x - (_root.game.player._width / 2)) < 75) {
_root.game.player._x = 75 + (_root.playersize / 1.2);
_root.hthrust = -_root.hthrust;
}
if ((_root.game.player._x + (_root.game.player._width / 2)) > 527) {
_root.game.player._x = 527 - (_root.playersize / 1.2);
_root.hthrust = -_root.hthrust;
}
x = 1;
while (x < 17) {
if (eval ("_root.direction" add x) == 1) {
Set(("_root.game.object" add x) add "._y", eval (("_root.game.object" add x) add "._y") + eval ("_root.speed" add x));
}
if (eval ("_root.direction" add x) == 2) {
Set(("_root.game.object" add x) add "._y", eval (("_root.game.object" add x) add "._y") - eval ("_root.speed" add x));
}
if (eval ("_root.direction" add x) == 3) {
Set(("_root.game.object" add x) add "._x", eval (("_root.game.object" add x) add "._x") + eval ("_root.speed" add x));
}
if (eval ("_root.direction" add x) == 4) {
Set(("_root.game.object" add x) add "._x", eval (("_root.game.object" add x) add "._x") - eval ("_root.speed" add x));
}
if ((((eval (("_root.game.object" add x) add "._y") < -150) || (eval (("_root.game.object" add x) add "._y") > 750)) || (eval (("_root.game.object" add x) add "._x") < -150)) || (eval (("_root.game.object" add x) add "._x") > 750)) {
Set("_root.size" + x, random(16) + 1);
while (eval ("_root.size" + x) > _root.playersize) {
Set("_root.size" + x, eval ("_root.size" + x) - 5);
}
if (eval ("_root.size" + x) == 1) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (1);
};
}
if (eval ("_root.size" + x) == 2) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (2);
};
}
if (eval ("_root.size" + x) == 3) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (3);
};
}
if (eval ("_root.size" + x) == 4) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (4);
};
}
if (eval ("_root.size" + x) == 5) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (5);
};
}
if (eval ("_root.size" + x) == 6) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (6);
};
}
if (eval ("_root.size" + x) == 7) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (7);
};
}
if (eval ("_root.size" + x) == 8) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (8);
};
}
if (eval ("_root.size" + x) == 9) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (9);
};
}
if (eval ("_root.size" + x) == 10) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (10);
};
}
if (eval ("_root.size" + x) == 11) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (11);
};
}
if (eval ("_root.size" + x) == 12) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (12);
};
}
if (eval ("_root.size" + x) == 13) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (13);
};
}
if (eval ("_root.size" + x) == 14) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (14);
};
}
if (eval ("_root.size" + x) == 15) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (15);
};
}
if (eval ("_root.size" + x) == 16) {
tellTarget (eval ("_root.game.object" + x)) {
gotoAndStop (16);
};
}
Set("_root.direction" + x, random(4) + 1);
Set("_root.speed" + x, random(3) + 2);
if (eval ("_root.direction" add x) == 1) {
Set(("_root.game.object" add x) add "._x", random(520) + 40);
Set(("_root.game.object" add x) add "._y", -100);
}
if (eval ("_root.direction" add x) == 2) {
Set(("_root.game.object" add x) add "._x", random(520) + 40);
Set(("_root.game.object" add x) add "._y", 700);
}
if (eval ("_root.direction" add x) == 3) {
Set(("_root.game.object" add x) add "._x", -100);
Set(("_root.game.object" add x) add "._y", random(480) + 90);
}
if (eval ("_root.direction" add x) == 4) {
Set(("_root.game.object" add x) add "._x", 700);
Set(("_root.game.object" add x) add "._y", random(480) + 90);
}
}
x++;
}
if (_root.bonus > 1) {
_root.bonus = _root.bonus - 1;
}
if (_root.playersize > 100) {
_root.score = _root.score + _root.bonus;
tellTarget (_root.game) {
gotoAndStop (5);
};
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 55 MovieClip Frame 1
x = 1;
while (x < 17) {
if (((hitTest(eval ("_root.game.object" add x)) && (eval ("_root.size" add x) != 4)) && (eval (("_root.game.object" add x) add "._width") > (_root.game.player._width + 1))) || ((hitTest(eval ("_root.game.object" add x)) && (eval ("_root.size" add x) == 4)) && (_root.game.player._width < 11))) {
gotoAndPlay (3);
}
if (((hitTest(eval ("_root.game.object" add x)) && (eval ("_root.size" add x) != 4)) && (eval (("_root.game.object" add x) add "._width") < (_root.game.player._width + 1))) || ((hitTest(eval ("_root.game.object" add x)) && (eval ("_root.size" add x) == 4)) && (_root.game.player._width > 11))) {
Set(("_root.game.object" add x) add "._x", 800);
Set(("_root.game.object" add x) add "._y", 800);
_root.playersize = (_root.playersize + (eval ("_root.size" add x) / 20)) + 0.05;
_root.score = _root.score + (eval ("_root.size" add x) * (eval ("_root.size" add x) + 2));
}
x++;
}
Symbol 55 MovieClip Frame 2
gotoAndPlay (1);
Symbol 55 MovieClip Frame 3
_root.vthrust = -(_root.vthrust * 1.5);
_root.hthrust = -(_root.hthrust * 1.5);
Symbol 55 MovieClip Frame 20
tellTarget (_root.game) {
gotoAndStop (4);
};
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 2
stop();
Symbol 80 MovieClip Frame 3
stop();
Symbol 80 MovieClip Frame 4
stop();
Symbol 80 MovieClip Frame 5
stop();
Symbol 80 MovieClip Frame 6
stop();
Symbol 80 MovieClip Frame 7
stop();
Symbol 80 MovieClip Frame 8
stop();
Symbol 80 MovieClip Frame 9
stop();
Symbol 80 MovieClip Frame 10
stop();
Symbol 80 MovieClip Frame 11
stop();
Symbol 80 MovieClip Frame 12
stop();
Symbol 80 MovieClip Frame 13
stop();
Symbol 80 MovieClip Frame 14
stop();
Symbol 80 MovieClip Frame 15
stop();
Symbol 80 MovieClip Frame 16
stop();
Symbol 81 MovieClip Frame 1
x = 1;
while (x < 17) {
Set("_root.size" + x, 1);
Set("_root.direction" + x, random(4) + 1);
Set("_root.speed" + x, random(4) + 2);
if (eval ("_root.direction" add x) == 1) {
Set(("_root.game.object" add x) add "._x", random(570) + 15);
Set(("_root.game.object" add x) add "._y", -100);
}
if (eval ("_root.direction" add x) == 2) {
Set(("_root.game.object" add x) add "._x", random(570) + 15);
Set(("_root.game.object" add x) add "._y", 700);
}
if (eval ("_root.direction" add x) == 3) {
Set(("_root.game.object" add x) add "._x", -100);
Set(("_root.game.object" add x) add "._y", random(570) + 15);
}
if (eval ("_root.direction" add x) == 4) {
Set(("_root.game.object" add x) add "._x", 700);
Set(("_root.game.object" add x) add "._y", random(570) + 15);
}
x++;
}
Symbol 81 MovieClip Frame 2
stop();
Symbol 89 Button
on (release) {
tellTarget (_root.game) {
gotoAndStop (1);
};
}
Symbol 102 MovieClip Frame 1
totallyrandom = random(20000000);
loadVariablesNum ((((("postgpower.php?name=" + _root.playername) + "&score=") + _root.score) + "&uselessvariable=") + totallyrandom, 0);
Symbol 102 MovieClip Frame 2
if (_root.result != "") {
tellTarget (_root.game) {
gotoAndPlay (7);
};
}
Symbol 102 MovieClip Frame 3
gotoAndPlay (2);
Symbol 105 MovieClip Frame 1
_root.score = 0;
_root.playersize = 5;
_root.vthrust = 0;
_root.hthrust = 0;
_root.bonus = 50000;
_root.result = "";
stop();
Instance of Symbol 8 MovieClip in Symbol 105 MovieClip Frame 1
on (release) {
tellTarget (_root.game) {
gotoAndStop (2);
};
}
Instance of Symbol 10 MovieClip in Symbol 105 MovieClip Frame 1
on (release) {
tellTarget (_root.game) {
gotoAndStop (3);
};
}
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 4
stop();
Instance of Symbol 87 MovieClip in Symbol 105 MovieClip Frame 4
on (release) {
if (_root.playername != "") {
tellTarget (_root.game) {
gotoAndStop (6);
};
}
}
Symbol 105 MovieClip Frame 5
stop();
Symbol 105 MovieClip Frame 7
if (_root.result == "added") {
_root.message == "Success! Score posted.";
}
if (_root.result == "noupdate") {
_root.message == "Previous score was higher.";
}
if (_root.result == "updated") {
_root.message == "Success! New score posted.";
}
if (_root.result == "error1") {
_root.message == "Success! Score posted.";
}
if (_root.result == "error2") {
_root.message == "Success! Score posted.";
}
stop();