Frame 1
FrameLoad = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
tellTarget ("/Bar") {
gotoAndStop(int(/:FrameLoad));
};
ifFrameLoaded (242) {
gotoAndPlay (3);
}
play();
Frame 2
gotoAndPlay (1);
Frame 3
stopAllSounds();
HScore = 0;
winname = "Enter Name";
stopAllSounds();
Frame 5
Checkpoint = 0;
Died = 0;
Score = 1;
Saved = 0;
Prog = 0;
entry = "bubbagone";
Frame 72
Score = 0;
Frame 90
stop();
Frame 104
stopAllSounds();
Frame 110
if (Number(music) == 0) {
tellTarget ("/MUSIC") {
gotoAndPlay (20);
};
music = 1;
}
Paused = 0;
Description = "Defend the portal!";
tellTarget ("/intro") {
gotoAndPlay (1);
};
Life = 5;
Max = 30;
Timer = 30;
CX = -100;
CY = -100;
Constant = 25;
Constant2 = 15;
Delay = 0;
Shot = 12;
N = 1;
while (Number(N) < 13) {
Set("SX" add n, -100);
Set("SY" add n, -100);
Set("ST" add n, 0);
Set("SSX" add n, 0);
Set("SSY" add n, 0);
N = Number(N) + 1;
}
Width = 10;
Height = 18;
MX = 50;
MY = 280;
MV = 0;
Falling = 2;
N = 1;
while (Number(N) < 8) {
Set("IX" add n, -1000);
Set("IY" add n, -1000);
Set("ISX" add n, 0);
Set("ISY" add n, 0);
Set("IL" add n, 2);
N = Number(N) + 1;
}
N = 1;
while (Number(N) < 8) {
Set("KX" add n, -1000);
Set("KY" add n, -1000);
Set("KVX" add n, 0);
Set("KVY" add n, 0);
Set("KL" add n, -100);
N = Number(N) + 1;
}
KT1 = 50;
KT2 = 100;
KT3 = 450;
KT4 = 750;
KT5 = 150;
KT6 = 250;
KT7 = 600;
N = 1;
while (Number(N) < 6) {
Set("PX" add n, -100);
Set("PY" add n, -100);
N = Number(N) + 1;
}
Prog = 0;
Backwall = 50;
Frontwall = 530;
Ground = 370;
Score = 0;
Frame 145
if (Number(HScore) < Number(Score)) {
HScore = Score;
}
Mouse.hide();
if (Number(Paused) == 1) {
tellTarget ("/Pause") {
gotoAndStop (2);
};
}
tellTarget ("/Lifebar") {
gotoAndStop(int(/:Life));
};
if (Number(Life) == 0) {
tellTarget ("/Lifebar") {
gotoAndStop (6);
};
tellTarget ("/mike") {
gotoAndPlay (6);
};
tellTarget ("/BG") {
stop();
};
tellTarget ("/intro") {
gotoAndPlay (68);
};
gotoAndPlay (147);
}
if (Number(Timer) < Number(Max)) {
Timer = Number(Timer) + 0.5;
}
startDrag ("/C", true, 0, 0, 550, 400);
CX = getProperty("/C", _x);
CY = getProperty("/C", _y);
if (10000 < Number(Score)) {
Constant2 = 20;
}
N = 1;
while (Number(N) < 13) {
if (0 < eval ("ST" add N)) {
Set("ST" add N, eval ("ST" add N) - 1);
}
if (0 >= eval ("ST" add N)) {
Set("SX" add N, eval ("SX" add N) - eval ("SSX" add N));
Set("SY" add N, eval ("SY" add N) - eval ("SSY" add N));
}
if (((0 < Attack) and (eval ("SSX" add N) == 0)) and (Delay == 0)) {
tellTarget ("S" add N) {
gotoAndPlay (1);
};
if (Number(Attack) == 3) {
Delay = 3;
} else {
Attack = 0;
}
if (Number(Falling) != 4) {
Set("SX" add N, Number(MX) + 13);
Set("SY" add N, MY);
SDX = Number(MX - CX) + 13;
SDY = MY - CY;
} else {
Set("SX" add N, Number(MX) + 8);
Set("SY" add N, Number(MY) + Number(Height));
SDX = Number(MX - CX) + 8;
SDY = Number(MY - CY) + Number(Height);
}
Set("ST" add N, -1);
Root = Number(SDX * SDX) + Number(SDY * SDY);
N2 = 1;
counter = 0;
while (Number(counter) < 11) {
N2 = N2 - (((N2 * N2) - Root) / (2 * N2));
counter = Number(counter) + 1;
}
Set("SSX" add N, (Constant * SDX) / N2);
Set("SSY" add N, (Constant * SDY) / N2);
}
if (((((590 < eval ("SX" add N)) or (eval ("SX" add N) < -40)) or (eval ("SY" add N) < -40)) or (440 < eval ("SY" add N))) or (eval ("ST" add N) == 1)) {
Set("SX" add N, -100);
Set("SY" add N, -100);
Set("SSX" add N, 0);
Set("SSX" add N, 0);
} else {
setProperty("S" add N, _x , eval ("SX" add N));
setProperty("S" add N, _y , eval ("SY" add N));
}
N = Number(N) + 1;
}
if (0 < Number(Delay)) {
Delay = Delay - 1;
}
setProperty("/mike", _x , MX);
setProperty("/mike", _y , MY);
if ((Number(Falling) == 1) or (Number(Falling) == 2)) {
MV = MV - 1;
}
if (Number(Falling) == 4) {
MX = Number(MX) + 12;
MV = MV - 0.5;
}
if ((Number(Falling) == 1) and (Number(MV) == 0)) {
Falling = 2;
}
if ((Number(Number(MY) + 25) >= Number(Ground)) and (Number(Falling) != 1)) {
MY = Ground - Height;
MV = 0;
Falling = 0;
tellTarget ("/mike/Spin") {
gotoAndStop (15);
};
}
if (Number(MV) < Number(-12)) {
MV = -12;
}
MY = MY - MV;
if (Number(Backwall) < Number(MX)) {
MX = MX - 4;
}
if (Number(MX) < Number(Backwall)) {
MX = Backwall;
}
if (Number(Frontwall) < Number(MX)) {
MX = Frontwall;
}
N = 1;
while (Number(N) < 8) {
if ((((eval ("IX" add N) < 650) and (-100 < eval ("IX" add N))) and (eval ("IY" add N) < 500)) and (-100 < eval ("IY" add N))) {
Set("IX" add N, eval ("IX" add N) - eval ("ISX" add N));
Set("IY" add N, eval ("IY" add N) - eval ("ISY" add N));
setProperty("I" add N, _x , eval ("IX" add N));
setProperty("I" add N, _y , eval ("IY" add N));
} else if ((((50 < eval ("KX" add N)) and (eval ("KX" add N) < 550)) and (0 < eval ("KL" add N))) and (eval ("KVX" add N) == 0)) {
tellTarget ("/Sound") {
gotoAndPlay (100);
};
tellTarget ("I" add N) {
gotoAndStop (1);
};
tellTarget (("K" add N) add "/Kid") {
gotoAndPlay (2);
};
Set("IX" add N, eval ("KX" add N) - 20);
Set("IY" add N, eval ("KY" add N));
Set("IL" add N, Number(random(1)) + 1);
SDX = (eval ("KX" add N) - 20) - MX;
SDY = (eval ("KY" add N) - MY) + 18;
Root = Number(SDX * SDX) + Number(SDY * SDY);
N2 = 1;
counter = 0;
while (Number(counter) < 11) {
N2 = N2 - (((N2 * N2) - Root) / (2 * N2));
counter = Number(counter) + 1;
}
Set("ISX" add N, (Constant2 * SDX) / N2);
Set("ISY" add N, (Constant2 * SDY) / N2);
}
L = 1;
while (Number(L) < 13) {
if (((((eval ("SX" add L) >= ((eval ("IX" add N) - Shot) - Shot)) and (((eval ("IX" add N) + Shot) + Shot) >= eval ("SX" add L))) and ((eval ("SY" add L) >= ((eval ("IY" add N) - Shot) - Shot)) and (((eval ("IY" add N) + Shot) + Shot) >= eval ("SY" add L)))) and (eval ("ST" add L) == -1)) and (0 < eval ("IL" add N))) {
tellTarget ("S" add L) {
gotoAndPlay (10);
};
Set("ST" add L, 15);
setProperty("S" add L, _rotation , random(360));
Set("IL" add N, eval ("IL" add N) - 1);
tellTarget ("/Sound") {
gotoAndPlay (120);
};
tellTarget ("I" add N) {
gotoAndPlay (2);
};
Score = Number(Score) + 10;
}
L = Number(L) + 1;
}
if (((((MX >= ((eval ("IX" add N) - Width) - Shot)) and (((eval ("IX" add N) + Width) + Shot) >= MX)) and ((MY >= ((eval ("IY" add N) - Shot) - Height)) and (((eval ("IY" add N) + Height) + Shot) >= MY))) and (0 < eval ("IL" add N))) and (Timer == Max)) {
Life = Life - 1;
Timer = 0;
if (0 < Number(Life)) {
Falling = 1;
MV = 10;
MY = MY - MV;
}
tellTarget ("I" add N) {
gotoAndStop (10);
};
tellTarget ("/Sound") {
gotoAndPlay (60);
};
if (Number(Life) >= 1) {
tellTarget ("/mike") {
gotoAndPlay (2);
};
}
}
N = Number(N) + 1;
}
N = 1;
while (Number(N) < 8) {
if (eval ("KT" add N) == 0) {
Set("KX" add N, 570);
Set("KY" add N, Number(random(300)) + 50);
Set("KVX" add N, Number(random(14)) + 8);
Set("KVY" add N, eval ("KY" add N));
Set("KV" add N, Number(random(7)) + 2);
Set("KL" add N, Number(random(1)) + 4);
tellTarget (("K" add N) add "/Kid") {
gotoAndStop (1);
};
}
if ((N >= 5) and (0 < eval ("KL" add N))) {
Set("KVX" add N, 0);
}
if (((20000 < Score) or (N >= 5)) and (0 < eval ("KL" add N))) {
Set("KX" add N, eval ("KX" add N) - N);
}
Set("KX" add N, eval ("KX" add N) - eval ("KVX" add N));
if (0 < eval ("KVX" add N)) {
Set("KVX" add N, eval ("KVX" add N) - 1);
}
if ((eval ("KVX" add N) == 0) and (0 < eval ("KL" add N))) {
Set("KY" add N, eval ("KY" add N) - eval ("KV" add N));
if (eval ("KVY" add N) < eval ("KY" add N)) {
Set("KV" add N, eval ("KV" add N) + 0.5);
} else {
Set("KV" add N, eval ("KV" add N) - 0.5);
}
}
L = 1;
while (Number(L) < 13) {
if (((((eval ("SX" add L) >= ((eval ("KX" add N) - Shot) - 18)) and (((eval ("KX" add N) + Shot) + 18) >= eval ("SX" add L))) and ((eval ("SY" add L) >= ((eval ("KY" add N) - 30) - Shot)) and (((eval ("KY" add N) + 30) + Shot) >= eval ("SY" add L)))) and (eval ("ST" add L) == -1)) and (0 < eval ("KL" add N))) {
tellTarget ("S" add L) {
gotoAndPlay (10);
};
Set("ST" add L, 15);
setProperty("S" add L, _rotation , random(360));
Set("KL" add N, eval ("KL" add N) - 1);
tellTarget ("/Sound") {
gotoAndPlay (110);
};
tellTarget ("K" add N) {
gotoAndPlay (2);
};
}
if ((((MX >= ((eval ("KX" add N) - Width) - Shot)) and (((eval ("KX" add N) + Width) + Shot) >= MX)) and ((MY >= ((eval ("KY" add N) - Shot) - Height)) and (((eval ("KY" add N) + Height) + Shot) >= MY))) and (0 < eval ("KL" add N))) {
if (Number(Falling) == 4) {
Set("KL" add N, eval ("KL" add N) - 1);
tellTarget ("/Sound") {
gotoAndPlay (110);
};
} else if (Number(Timer) == Number(Max)) {
Life = Life - 1;
Timer = 0;
if (0 < Number(Life)) {
Falling = 1;
MV = 10;
MY = MY - MV;
}
if (Number(Life) >= 1) {
tellTarget ("/mike") {
gotoAndPlay (2);
};
}
}
}
L = Number(L) + 1;
}
if ((0 >= eval ("KL" add N)) and (-99 < eval ("KL" add N))) {
Set("KL" add N, -100);
Set("KT" add N, 100);
tellTarget (("K" add N) add "/Kid") {
gotoAndPlay (15);
};
Score = Number(Score) + 100;
}
if ((eval ("KX" add N) < -50) and (0 < eval ("KL" add N))) {
Set("KL" add N, -100);
Set("KT" add N, 10);
}
setProperty("K" add N, _x , eval ("KX" add N));
setProperty("K" add N, _y , eval ("KY" add N));
Set("KT" add N, eval ("KT" add N) - 1);
N = Number(N) + 1;
}
if (Number(Prog) == 0) {
PX1 = 630;
PX2 = 762;
PX3 = 894;
PX4 = 1026;
PX5 = 1158;
PY1 = 265;
SX1 = Number(PX1) + 20;
SY1 = PY1 - 15;
SSX1 = 5;
PY2 = 265;
PY3 = 150;
PY4 = 265;
PY5 = 150;
}
Land = 0;
L = 1;
while (Number(L) < 6) {
if (eval ("PX" add L) < -70) {
Set("PX" add L, 630);
Set("PY" add L, Number(random(225)) + 100);
if ((Number(SX1) == Number(-100)) and (Number(SY1) == Number(-100))) {
SX1 = eval ("PX" add L) + 20;
SY1 = eval ("PY" add L) - 15;
SSX1 = 5;
}
}
Set("PX" add L, eval ("PX" add L) - 5);
setProperty("P" add L, _x , eval ("PX" add L));
setProperty("P" add L, _y , eval ("PY" add L));
if ((((MX >= ((eval ("PX" add L) - Width) - 60)) and (((eval ("PX" add L) + Width) + 55) >= MX)) and ((MY >= (eval ("PY" add L) - Height)) and ((eval ("PY" add L) + Height) >= MY))) and (((Falling == 2) or (Falling == 3)) or (Falling == 4))) {
Land = 1;
Falling = 3;
MV = -10;
MY = eval ("PY" add L) - Height;
tellTarget ("/mike/Spin") {
gotoAndStop (15);
};
}
L = Number(L) + 1;
}
if ((Number(Falling) == 3) and (Number(Land) == 0)) {
Falling = 2;
tellTarget ("/mike/Spin") {
gotoAndStop (22);
};
}
Prog = Number(Prog) + 1;
Score = Number(Score) + 1;
play();
Frame 146
prevFrame();
Frame 147
if (Number(HScore) < Number(Score)) {
HScore = Score;
}
Frame 152
Attack = 0;
Frame 219
stopAllSounds();
Music = 0;
Frame 220
winscore = Score;
Mouse.show();
GOTO = 1;
Frame 221
play();
Frame 222
play();
Frame 230
stop();
Frame 242
Score = 0;
winscore = 0;
if (Number(GOTO) == 1) {
gotoAndPlay (110);
}
if (Number(GOTO) == 2) {
gotoAndPlay (52);
}
Symbol 4 MovieClip Frame 1
stop();
Symbol 11 Button
on (release) {
getURL ("http://www.inconsequentialexistence.com/", "_new");
}
Symbol 32 Button
on (release) {
play();
}
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 12
stop();
Symbol 44 MovieClip Frame 23
stop();
Symbol 44 MovieClip Frame 32
stop();
Symbol 44 MovieClip Frame 46
stop();
Symbol 44 MovieClip Frame 52
stop();
Symbol 44 MovieClip Frame 62
stop();
Symbol 44 MovieClip Frame 72
stop();
Symbol 44 MovieClip Frame 82
stop();
Symbol 44 MovieClip Frame 92
stop();
Symbol 44 MovieClip Frame 102
stop();
Symbol 44 MovieClip Frame 112
stop();
Symbol 44 MovieClip Frame 122
stop();
Symbol 58 MovieClip Frame 55
stop();
Symbol 58 MovieClip Frame 114
stop();
Symbol 58 MovieClip Frame 289
stop();
Symbol 61 Button
on (press) {
Attack = 3;
tellTarget ("/Sound") {
gotoAndPlay (30);
};
}
on (release) {
tellTarget ("/Sound") {
gotoAndPlay (40);
};
Attack = 0;
}
on (keyPress "<Space>") {
if ((Number(Falling) == 0) or (Number(Falling) == 3)) {
Falling = 1;
MV = 15;
tellTarget ("/mike/Spin") {
gotoAndPlay (1);
};
tellTarget ("/Sound") {
gotoAndPlay (10);
};
}
}
on (keyPress "p") {
tellTarget ("/Sound") {
gotoAndPlay (20);
};
if (Number(Paused) == 0) {
tellTarget ("/Pause") {
gotoAndStop (2);
};
Paused = 1;
stopDrag();
stop();
} else if (Number(Paused) == 1) {
Paused = 0;
tellTarget ("/Pause") {
gotoAndStop (1);
};
startDrag ("/C", true, 0, 0, 550, 400);
play();
}
}
on (keyPress "q") {
toggleHighQuality();
}
on (keyPress "P") {
tellTarget ("/Sound") {
gotoAndPlay (20);
};
if (Number(Paused) == 0) {
tellTarget ("/Pause") {
gotoAndStop (2);
};
Paused = 1;
stopDrag();
stop();
} else if (Number(Paused) == 1) {
Paused = 0;
tellTarget ("/Pause") {
gotoAndStop (1);
};
startDrag ("/C", true, 0, 0, 550, 400);
play();
}
}
on (keyPress "Q") {
toggleHighQuality();
}
Symbol 71 MovieClip Frame 1
if (10000 < Number(_level0:Score)) {
gotoAndPlay (3);
}
Symbol 71 MovieClip Frame 2
gotoAndPlay (1);
Symbol 71 MovieClip Frame 183
gotoAndPlay (88);
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 14
stop();
Symbol 75 MovieClip Frame 46
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 3
gotoAndStop (1);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 14
stop();
Symbol 77 MovieClip Frame 46
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 3
gotoAndStop (1);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 14
stop();
Symbol 80 MovieClip Frame 46
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 3
gotoAndStop (1);
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 14
stop();
Symbol 83 MovieClip Frame 62
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 3
gotoAndStop (1);
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 14
stop();
Symbol 86 MovieClip Frame 62
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 3
gotoAndStop (1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 14
stop();
Symbol 89 MovieClip Frame 62
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 3
gotoAndStop (1);
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 14
stop();
Symbol 91 MovieClip Frame 62
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 3
gotoAndStop (1);
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
play();
Symbol 96 MovieClip Frame 14
stop();
Symbol 100 MovieClip Frame 13
gotoAndPlay (1);
Symbol 101 MovieClip Frame 13
gotoAndPlay (1);
Symbol 101 MovieClip Frame 15
stop();
Symbol 101 MovieClip Frame 20
stop();
Symbol 101 MovieClip Frame 22
stop();
Symbol 103 MovieClip Frame 11
stop();
Symbol 109 MovieClip Frame 24
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 5
if (Number(_level0:Timer) == Number(_level0:Max)) {
gotoAndStop (1);
} else {
gotoAndPlay (3);
}
Symbol 111 MovieClip Frame 38
stop();
Symbol 115 MovieClip Frame 9
gotoAndPlay (1);
Symbol 115 MovieClip Frame 26
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 130 Button
on (release) {
GOTO = 1;
play();
}