Frame 1
var b1y;
var b1x;
var b2y;
var b2x;
var b3y;
var b3x;
var b4y;
var b4x;
var b5y;
var b5x;
var b6y;
var b6x;
var b7y;
var b7x;
var b8y;
var b8x;
var b9y;
var b9x;
var b10y;
var b10x;
var b11y;
var b11x;
var time = 0;
var sec = 0;
var min = 0;
var secs = 0;
Frame 2
b1y = _ymouse - ball1._y;
b1x = _xmouse - ball1._x;
if ((((b1y > -100) && (b1y < 100)) && (b1x > -100)) && (b1x < 100)) {
ball1._y = ball1._y - (b1y / 10);
ball1._x = ball1._x - (b1x / 10);
}
b2y = _ymouse - ball2._y;
b2x = _xmouse - ball2._x;
if ((((b2y > -100) && (b2y < 100)) && (b2x > -100)) && (b2x < 100)) {
ball2._y = ball2._y - (b2y / (10 + random(3)));
ball2._x = ball2._x - (b2x / (10 + random(3)));
}
b3y = _ymouse - ball3._y;
b3x = _xmouse - ball3._x;
if ((((b3y > -100) && (b3y < 100)) && (b3x > -100)) && (b3x < 100)) {
ball3._y = ball3._y - (b3y / (10 + random(3)));
ball3._x = ball3._x - (b3x / (10 + random(3)));
}
b4y = _ymouse - ball4._y;
b4x = _xmouse - ball4._x;
if ((((b4y > -100) && (b4y < 100)) && (b4x > -100)) && (b4x < 100)) {
ball4._y = ball4._y - (b4y / (10 + random(3)));
ball4._x = ball4._x - (b4x / (10 + random(3)));
}
b5y = _ymouse - ball5._y;
b5x = _xmouse - ball5._x;
if ((((b5y > -100) && (b5y < 100)) && (b5x > -100)) && (b5x < 100)) {
ball5._y = ball5._y - (b5y / (10 + random(3)));
ball5._x = ball5._x - (b5x / (10 + random(3)));
}
b6y = _ymouse - ball6._y;
b6x = _xmouse - ball6._x;
if ((((b6y > -100) && (b6y < 100)) && (b6x > -100)) && (b6x < 100)) {
ball6._y = ball6._y - (b6y / (10 + random(3)));
ball6._x = ball6._x - (b6x / (10 + random(3)));
}
b7y = _ymouse - ball7._y;
b7x = _xmouse - ball7._x;
if ((((b7y > -100) && (b7y < 100)) && (b7x > -100)) && (b7x < 100)) {
ball7._y = ball7._y - (b7y / (10 + random(3)));
ball7._x = ball7._x - (b7x / (10 + random(3)));
}
b8y = _ymouse - ball8._y;
b8x = _xmouse - ball8._x;
if ((((b8y > -100) && (b8y < 100)) && (b8x > -100)) && (b8x < 100)) {
ball8._y = ball8._y - (b8y / (10 + random(3)));
ball8._x = ball8._x - (b8x / (10 + random(3)));
}
b9y = _ymouse - ball9._y;
b9x = _xmouse - ball9._x;
if ((((b9y > -100) && (b9y < 100)) && (b9x > -100)) && (b9x < 100)) {
ball9._y = ball9._y - (b9y / (10 + random(3)));
ball9._x = ball9._x - (b9x / (10 + random(3)));
}
b10y = _ymouse - ball10._y;
b10x = _xmouse - ball10._x;
if ((((b10y > -100) && (b10y < 100)) && (b10x > -100)) && (b10x < 100)) {
ball10._y = ball10._y - (b10y / (10 + random(3)));
ball10._x = ball10._x - (b10x / (10 + random(3)));
}
b11y = _ymouse - ball11._y;
b11x = _xmouse - ball11._x;
if ((((b11y > -100) && (b11y < 100)) && (b11x > -100)) && (b11x < 100)) {
ball11._y = ball11._y - (b11y / (10 + random(3)));
ball11._x = ball11._x - (b11x / (10 + random(3)));
}
if (ball1._y > (400 - ball1._height)) {
ball1._y = 400 - ball1._height;
}
if (ball1._x > (550 - ball1._width)) {
ball1._x = 550 - ball1._width;
}
if (ball1._y < ball1._height) {
ball1._y = ball1._height;
}
if (ball1._x < ball1._width) {
ball1._x = ball1._width;
}
if (ball2._y > (400 - ball2._height)) {
ball2._y = 400 - ball2._height;
}
if (ball2._x > (550 - ball2._width)) {
ball2._x = 550 - ball2._width;
}
if (ball2._y < ball2._height) {
ball2._y = ball2._height;
}
if (ball2._x < ball2._width) {
ball2._x = ball2._width;
}
if (ball3._y > (400 - ball3._height)) {
ball3._y = 400 - ball3._height;
}
if (ball3._x > (550 - ball3._width)) {
ball3._x = 550 - ball3._width;
}
if (ball3._y < ball3._height) {
ball3._y = ball3._height;
}
if (ball3._x < ball3._width) {
ball3._x = ball3._width;
}
if (ball4._y > (400 - ball4._height)) {
ball4._y = 400 - ball4._height;
}
if (ball4._x > (550 - ball4._width)) {
ball4._x = 550 - ball4._width;
}
if (ball4._y < ball4._height) {
ball4._y = ball4._height;
}
if (ball4._x < ball4._width) {
ball4._x = ball4._width;
}
if (ball5._y > (400 - ball5._height)) {
ball5._y = 400 - ball5._height;
}
if (ball5._x > (550 - ball5._width)) {
ball5._x = 550 - ball5._width;
}
if (ball5._y < ball5._height) {
ball5._y = ball5._height;
}
if (ball5._x < ball5._width) {
ball5._x = ball5._width;
}
if (ball6._y > (400 - ball6._height)) {
ball6._y = 400 - ball6._height;
}
if (ball6._x > (550 - ball6._width)) {
ball6._x = 550 - ball6._width;
}
if (ball6._y < ball6._height) {
ball6._y = ball6._height;
}
if (ball6._x < ball6._width) {
ball6._x = ball6._width;
}
if (ball7._y > (400 - ball7._height)) {
ball7._y = 400 - ball7._height;
}
if (ball7._x > (550 - ball7._width)) {
ball7._x = 550 - ball7._width;
}
if (ball7._y < ball7._height) {
ball7._y = ball7._height;
}
if (ball7._x < ball7._width) {
ball7._x = ball7._width;
}
if (ball8._y > (400 - ball8._height)) {
ball8._y = 400 - ball8._height;
}
if (ball8._x > (550 - ball8._width)) {
ball8._x = 550 - ball8._width;
}
if (ball8._y < ball8._height) {
ball8._y = ball8._height;
}
if (ball8._x < ball8._width) {
ball8._x = ball8._width;
}
if (ball9._y > (400 - ball9._height)) {
ball9._y = 400 - ball9._height;
}
if (ball9._x > (550 - ball9._width)) {
ball9._x = 550 - ball9._width;
}
if (ball9._y < ball9._height) {
ball9._y = ball9._height;
}
if (ball9._x < ball9._width) {
ball9._x = ball9._width;
}
if (ball10._y > (400 - ball10._height)) {
ball10._y = 400 - ball10._height;
}
if (ball10._x > (550 - ball10._width)) {
ball10._x = 550 - ball10._width;
}
if (ball10._y < ball10._height) {
ball10._y = ball10._height;
}
if (ball10._x < ball10._width) {
ball10._x = ball10._width;
}
if (ball11._y > (400 - ball11._height)) {
ball11._y = 400 - ball11._height;
}
if (ball11._x > (550 - ball11._width)) {
ball11._x = 550 - ball11._width;
}
if (ball11._y < ball11._height) {
ball11._y = ball11._height;
}
if (ball11._x < ball11._width) {
ball11._x = ball11._width;
}
time = 0;
sec = 0;
min = 0;
secs = 0;
Frame 3
gotoAndPlay (2);
Frame 10
var down = 365;
var up = 35;
var left = 35;
var right = 515;
Frame 11
if (Key.isDown(38)) {
u._y = u._y - 15;
}
if (Key.isDown(40)) {
u._y = u._y + 15;
}
if (Key.isDown(39)) {
u._x = u._x + 15;
}
if (Key.isDown(37)) {
u._x = u._x - 15;
}
if (((((border == 1) && (u._y > 365)) || (u._y < 35)) || (u._x < 35)) || (u._x > 515)) {
gotoAndStop (13);
}
u._rotation = u._rotation + 5;
time = time + 1;
if (time == 20) {
time = 0;
sec = sec + 1;
secs = secs + 1;
}
if (sec == 60) {
sec = 0;
min = min + 1;
}
if (secs < 15) {
u._y = u._y + 5;
level.text = "This is Level 00";
if ((border = 1)) {
code.text = "There is no code for this level";
}
description.text = "Normal Gravity";
}
if ((secs >= 15) && (secs < 30)) {
u._y = u._y - 5;
level.text = "This is Level 01";
code.text = "There is no code for this level";
description.text = "Reverse Gravity";
}
if ((secs >= 30) && (secs < 45)) {
u._y = u._y + 10;
level.text = "This is Level 02";
code.text = "There is no code for this level";
description.text = "Double Gravity";
}
if ((secs >= 45) && (secs < 60)) {
u._x = (u._x + 3) + random(2);
u._y = (u._y + random(5)) - 2;
level.text = "This is Level 03";
code.text = "There is no code for this level";
description.text = "Light Eastward Winds";
}
if ((secs >= 60) && (secs < 90)) {
u._x = (u._x - 3) - random(2);
u._y = (u._y + random(5)) - 6;
level.text = "This is Level 04";
code.text = "There is no code for this level";
description.text = "Light Northwest Winds";
}
if ((secs >= 90) && (secs < 105)) {
u._x = u._x - random(2);
u._y = u._y - 5;
level.text = "This is Level 05";
code.text = "There is no code for this level";
description.text = "Reverse Gravity With Westward Drift";
}
if ((secs >= 105) && (secs < 120)) {
u._x = (u._x - random(3)) - 1;
u._y = u._y + 10;
level.text = "This is Level 06";
code.text = "There is no code for this level";
description.text = "Double Gravity With Random Drift";
}
if ((secs >= 120) && (secs < 150)) {
u._y = u._y - 10;
level.text = "This is Level 07";
code.text = "There is no code for this level";
description.text = "Reverse Double Gravity";
}
if ((secs >= 150) && (secs < 165)) {
u._x = (u._x + 5) + random(4);
u._y = u._y + 5;
level.text = "This is Level 08";
code.text = "There is no code for this level";
description.text = "Normal Gravity With Strong Eastward Winds";
}
if ((secs >= 165) && (secs < 180)) {
if (random(2) == 1) {
u._x = (u._x + 3) + random(3);
} else {
u._x = u._x - (3 + random(3));
}
u._y = u._y + 10;
level.text = "This is Level 09";
code.text = "There is no code for this level";
description.text = "Double Gravity With Weak Random Winds";
}
if ((secs >= 180) && (secs < 210)) {
u._y = u._y + 5;
level.text = "This is Level 10";
code.text = "There is no code for this level";
description.text = "Rest Level";
}
if ((secs >= 210) && (secs < 225)) {
u._x = u._x - 10;
level.text = "This is Level 11";
code.text = "There is no code for this level";
description.text = "Double Westward Gravity";
}
if ((secs >= 225) && (secs < 240)) {
u._y = (u._y + 3.5) + random(2);
u._x = (u._x - 13.5) - random(2);
level.text = "This is Level 12";
code.text = "There is no code for this level";
description.text = "Double Gravity With Light Southeast Winds";
}
if ((secs >= 240) && (secs < 270)) {
u._y = (u._y - 3.5) - random(2);
u._x = (u._x - 13.5) - random(2);
level.text = "This is Level 13";
code.text = "There is no code for this level";
description.text = "Double Reverse Gravity With Light Southeast Winds";
}
if ((secs >= 270) && (secs < 285)) {
u._y = (u._y - random(70)) + 30;
u._x = (u._x - random(70)) + 30;
level.text = "This is Level 14";
code.text = "There is no code for this level";
description.text = "Weak Random Gravity";
}
if ((secs >= 285) && (secs < 300)) {
u._y = (u._y - random(70)) + 30;
u._x = (u._x - random(70)) + 30;
level.text = "This is Level 15";
code.text = "There is no code for this level";
description.text = "More Weak Random Gravity";
}
if ((secs >= 300) && (secs < 315)) {
u._y = (u._y - random(140)) + 60;
u._x = (u._x - random(140)) + 60;
level.text = "This is Level 16";
code.text = "There is no code for this level";
description.text = "Strong Random Gravity";
}
if ((secs >= 315) && (secs < 330)) {
u._y = u._y - 14;
u._x = u._x - 14;
level.text = "This is Level 17";
code.text = "There is no code for this level";
description.text = "Southwest Triple Gravity";
}
if ((secs >= 315) && (secs < 330)) {
u._y = u._y + random(14);
u._x = u._x + random(14);
level.text = "This is Level 18";
code.text = "There is no code for this level";
description.text = "Random Northeast Winds";
}
if ((secs >= 330) && (secs < 345)) {
u._y = u._y + 10;
u._x = u._x - 6;
level.text = "This is Level 19";
code.text = "There is no code for this level";
description.text = "Strong West Winds With Double Gravity";
}
if ((secs >= 345) && (secs < 390)) {
u._y = u._y - random(10);
u._x = u._x - 6;
level.text = "This is Level 20";
if (border == 1) {
code.text = "There is no code for this level";
}
description.text = "Reverse Random Gravity With Winds";
}
if (secs == 400) {
secs = 0;
gotoAndPlay (15);
}
timing.seconds.text = sec + " seconds";
timing.minutes.text = min + " minutes";
Frame 12
gotoAndPlay (11);
Frame 13
u._x = 237.6;
u._y = 81;
Symbol 15 Button
on (release) {
getURL ("http://www.albinoblacksheep.com/", "_blank");
}
Symbol 21 Button
on (release) {
gotoAndPlay (10);
}
Symbol 26 Button
on (release) {
gotoAndStop (5);
}
Symbol 32 Button
on (release) {
gotoAndPlay (1);
}