Frame 2
stop();
Frame 3
stop();
Instance of Symbol 51 MovieClip "sign" in Frame 3
onClipEvent (enterFrame) {
}
Instance of Symbol 127 MovieClip in Frame 4
onClipEvent (load) {
var aspeed = 5;
var bspeed = 7;
var cspeed = 9;
var dspeed = 11;
var randomflow = 1;
var maxx = 5;
var arotation = 100;
var brotation = 200;
var crotation = 300;
var drotation = 400;
var rotation = 0;
var colorrotation = 0;
var barp = _root.pbar._x;
var dead = 0;
var roadish = _root.road._y;
var tryy = _root.retryy._y;
var herox = _root.hero._x;
var heroy = _root.hero._y;
var pbarw = _root.pbar._width;
var up = 1;
var score = 0;
var liney = _root.l15._y;
var liner = 1;
var checkpoint = 0;
_root.retryy._y = 2000;
var a1y = _root.a1._y;
var a2y = _root.a2._y;
var a3y = _root.a3._y;
var a4y = _root.a4._y;
var b1y = _root.b1._y;
var b2y = _root.b2._y;
var b3y = _root.b3._y;
var b4y = _root.b4._y;
var c1y = _root.c1._y;
var c2y = _root.c2._y;
var c3y = _root.c3._y;
var c4y = _root.c4._y;
var d1y = _root.d1._y;
var d2y = _root.d2._y;
var d3y = _root.d3._y;
var d4y = _root.d4._y;
var roadspeed = 30;
}
onClipEvent (enterFrame) {
_root.scorey.text = score;
if (dead < 1) {
checkpoint = checkpoint + 3;
if (checkpoint > 500) {
_root.texter.play();
checkpoint = 0;
}
}
score = score + 3;
_root.retryy.score.text = score + " meters";
if (dead == 1) {
score = score - 3;
_root.retryy._y = tryy;
_root.retryy._alpha = 100;
_root.hero.gotoAndStop(2);
aspeed = -35;
bspeed = -45;
cspeed = -25;
dspeed = -55;
_root.stillroad._x = 265;
if (_root.a1._y < -200) {
_root.a1._y = 850;
}
if (_root.a2._y < -200) {
_root.a2._y = 850;
}
if (_root.a3._y < -200) {
_root.a3._y = 850;
}
if (_root.a4._y < -200) {
_root.a4._y = 850;
}
if (_root.b1._y < -200) {
_root.b1._y = 850;
}
if (_root.b2._y < -200) {
_root.b2._y = 850;
}
if (_root.b3._y < -200) {
_root.b3._y = 850;
}
if (_root.b4._y < -200) {
_root.b4._y = 850;
}
if (_root.c1._y < -200) {
_root.c1._y = 850;
}
if (_root.c2._y < -200) {
_root.c2._y = 850;
}
if (_root.c3._y < -200) {
_root.c3._y = 850;
}
if (_root.c4._y < -200) {
_root.c4._y = 850;
}
if (_root.d1._y < -200) {
_root.d1._y = 850;
}
if (_root.d2._y < -200) {
_root.d2._y = 850;
}
if (_root.d3._y < -200) {
_root.d3._y = 850;
}
if (_root.d4._y < -200) {
_root.d4._y = 850;
}
}
if (_root.hero.head.hitTest(_root.a1)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.a2)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.a3)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.a4)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.b1)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.b2)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.b3)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.b4)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.c1)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.c2)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.c3)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.c4)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.d1)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.d2)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.d3)) {
dead = 1;
}
if (_root.hero.head.hitTest(_root.d4)) {
dead = 1;
}
if (_root.border1.hitTest(_root.hero.head)) {
_root.hero._y = _root.hero._y + 15;
}
if (_root.border3.hitTest(_root.hero.head)) {
_root.hero._y = _root.hero._y - 15;
}
if (_root.border2.hitTest(_root.hero.head)) {
_root.hero._x = _root.hero._x - 15;
}
if (_root.border4.hitTest(_root.hero.head)) {
_root.hero._x = _root.hero._x + 15;
}
if (_root.aspeed.text == 1) {
if (_root.bspeed.text == 1) {
_root.aspeed.text = 0;
_root.bspeed.text = 0;
aspeed = 15;
bspeed = 15;
}
}
if (_root.aspeed.text == 1) {
if (_root.cspeed.text == 1) {
_root.aspeed.text = 0;
_root.cspeed.text = 0;
aspeed = 15;
cspeed = 15;
}
}
if (_root.aspeed.text == 1) {
if (_root.dspeed.text == 1) {
_root.aspeed.text = 0;
_root.dspeed.text = 0;
aspeed = 15;
dspeed = 15;
}
}
if (_root.bspeed.text == 1) {
if (_root.cspeed.text == 1) {
_root.bspeed.text = 0;
_root.cspeed.text = 0;
bspeed = 15;
cspeed = 15;
}
}
if (_root.bspeed.text == 1) {
if (_root.dspeed.text == 1) {
_root.bspeed.text = 0;
_root.dspeed.text = 0;
bspeed = 15;
dspeed = 15;
}
}
if (_root.cspeed.text == 1) {
if (_root.dspeed.text == 1) {
_root.cspeed.text = 0;
_root.dspeed.text = 0;
cspeed = 15;
dspeed = 15;
}
}
if (_root.aspeed.text == 1) {
aspeed = 2;
}
if (_root.bspeed.text == 1) {
bspeed = 2;
}
if (_root.cspeed.text == 1) {
cspeed = 2;
}
if (_root.dspeed.text == 1) {
dspeed = 2;
}
colorrotation = colorrotation + 1;
if (colorrotation == 8) {
colorrotation = 1;
}
arotation = arotation + 1;
brotation = brotation + 1;
crotation = crotation + 1;
drotation = drotation + 1;
rotation = rotation + 1;
if (rotation == 15) {
rotation = 3;
}
if (arotation == 450) {
aspeed = rotation;
arotation = 0;
}
if (brotation == 450) {
bspeed = rotation;
brotation = 0;
}
if (crotation == 450) {
cspeed = rotation;
crotation = 0;
}
if (drotation == 450) {
dspeed = rotation;
drotation = 0;
}
randomflow = randomflow + 1;
if (randomflow == (maxx + 1)) {
randomflow = 1;
}
_root.a1._y = _root.a1._y + aspeed;
_root.a2._y = _root.a2._y + aspeed;
_root.a3._y = _root.a3._y + aspeed;
_root.a4._y = _root.a4._y + aspeed;
_root.b1._y = _root.b1._y + bspeed;
_root.b2._y = _root.b2._y + bspeed;
_root.b3._y = _root.b3._y + bspeed;
_root.b4._y = _root.b4._y + bspeed;
_root.c1._y = _root.c1._y + cspeed;
_root.c2._y = _root.c2._y + cspeed;
_root.c3._y = _root.c3._y + cspeed;
_root.c4._y = _root.c4._y + cspeed;
_root.d1._y = _root.d1._y + dspeed;
_root.d2._y = _root.d2._y + dspeed;
_root.d3._y = _root.d3._y + dspeed;
_root.d4._y = _root.d4._y + dspeed;
if (_root.a1._y > 1050) {
if (colorrotation == 1) {
_root.a1.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.a1.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.a1.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.a1.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.a1.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.a1.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.a1.gotoAndStop(7);
}
if (randomflow == 1) {
_root.a1._y = -150;
}
if (randomflow == 2) {
_root.a1._y = -350;
}
if (randomflow == 3) {
_root.a1._y = -550;
}
if (randomflow == 4) {
_root.a1._y = -750;
}
if (randomflow == 5) {
_root.a1._y = -1000;
}
}
if (_root.a2._y > 1050) {
if (colorrotation == 1) {
_root.a2.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.a2.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.a2.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.a2.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.a2.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.a2.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.a2.gotoAndStop(7);
}
if (randomflow == 1) {
_root.a2._y = -150;
}
if (randomflow == 2) {
_root.a2._y = -350;
}
if (randomflow == 3) {
_root.a2._y = -550;
}
if (randomflow == 4) {
_root.a2._y = -750;
}
if (randomflow == 5) {
_root.a2._y = -1000;
}
}
if (_root.a3._y > 1050) {
if (colorrotation == 1) {
_root.a3.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.a3.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.a3.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.a3.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.a3.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.a3.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.a3.gotoAndStop(7);
}
if (randomflow == 1) {
_root.a3._y = -150;
}
if (randomflow == 2) {
_root.a3._y = -350;
}
if (randomflow == 3) {
_root.a3._y = -550;
}
if (randomflow == 4) {
_root.a3._y = -750;
}
if (randomflow == 5) {
_root.a3._y = -1000;
}
}
if (_root.a4._y > 1050) {
if (colorrotation == 1) {
_root.a4.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.a4.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.a4.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.a4.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.a4.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.a4.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.a4.gotoAndStop(7);
}
if (randomflow == 1) {
_root.a4._y = -150;
}
if (randomflow == 2) {
_root.a4._y = -300;
}
if (randomflow == 3) {
_root.a4._y = -550;
}
if (randomflow == 4) {
_root.a4._y = -750;
}
if (randomflow == 5) {
_root.a4._y = -1000;
}
}
if (_root.b1._y > 1050) {
if (colorrotation == 1) {
_root.b1.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.b1.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.b1.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.b1.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.b1.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.b1.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.b1.gotoAndStop(7);
}
if (randomflow == 1) {
_root.b1._y = -150;
}
if (randomflow == 2) {
_root.b1._y = -350;
}
if (randomflow == 3) {
_root.b1._y = -550;
}
if (randomflow == 4) {
_root.b1._y = -750;
}
if (randomflow == 5) {
_root.b1._y = -1000;
}
}
if (_root.b2._y > 1050) {
if (colorrotation == 1) {
_root.b2.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.b2.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.b2.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.b2.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.b2.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.b2.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.b2.gotoAndStop(7);
}
if (randomflow == 1) {
_root.b2._y = -150;
}
if (randomflow == 2) {
_root.b2._y = -350;
}
if (randomflow == 3) {
_root.b2._y = -550;
}
if (randomflow == 4) {
_root.b2._y = -750;
}
if (randomflow == 5) {
_root.b2._y = -1000;
}
}
if (_root.b3._y > 1050) {
if (colorrotation == 1) {
_root.b3.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.b3.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.b3.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.b3.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.b3.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.b3.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.b3.gotoAndStop(7);
}
if (randomflow == 1) {
_root.b3._y = -150;
}
if (randomflow == 2) {
_root.b3._y = -350;
}
if (randomflow == 3) {
_root.b3._y = -550;
}
if (randomflow == 4) {
_root.b3._y = -750;
}
if (randomflow == 5) {
_root.b3._y = -1000;
}
}
if (_root.b4._y > 1050) {
if (colorrotation == 1) {
_root.b4.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.b4.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.b4.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.b4.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.b4.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.b4.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.b4.gotoAndStop(7);
}
if (randomflow == 1) {
_root.b4._y = -150;
}
if (randomflow == 2) {
_root.b4._y = -350;
}
if (randomflow == 3) {
_root.b4._y = -550;
}
if (randomflow == 4) {
_root.b4._y = -750;
}
if (randomflow == 5) {
_root.b4._y = -1000;
}
}
if (_root.c1._y > 1050) {
if (colorrotation == 1) {
_root.c1.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.c1.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.c1.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.c1.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.c1.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.c1.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.c1.gotoAndStop(7);
}
if (randomflow == 1) {
_root.c1._y = -150;
}
if (randomflow == 2) {
_root.c1._y = -350;
}
if (randomflow == 3) {
_root.c1._y = -550;
}
if (randomflow == 4) {
_root.c1._y = -750;
}
if (randomflow == 5) {
_root.c1._y = -1000;
}
}
if (_root.c2._y > 1050) {
if (colorrotation == 1) {
_root.c2.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.c2.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.c2.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.c2.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.c2.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.c2.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.c2.gotoAndStop(7);
}
if (randomflow == 1) {
_root.c2._y = -150;
}
if (randomflow == 2) {
_root.c2._y = -350;
}
if (randomflow == 3) {
_root.c2._y = -550;
}
if (randomflow == 4) {
_root.c2._y = -750;
}
if (randomflow == 5) {
_root.c2._y = -1000;
}
}
if (_root.c3._y > 1050) {
if (colorrotation == 1) {
_root.c3.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.c3.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.c3.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.c3.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.c3.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.c3.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.c3.gotoAndStop(7);
}
if (randomflow == 1) {
_root.c3._y = -150;
}
if (randomflow == 2) {
_root.c3._y = -350;
}
if (randomflow == 3) {
_root.c3._y = -550;
}
if (randomflow == 4) {
_root.c3._y = -750;
}
if (randomflow == 5) {
_root.c3._y = -1000;
}
}
if (_root.c4._y > 1050) {
if (colorrotation == 1) {
_root.c4.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.c4.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.c4.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.c4.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.c4.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.c4.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.c4.gotoAndStop(7);
}
if (randomflow == 1) {
_root.c4._y = -150;
}
if (randomflow == 2) {
_root.c4._y = -350;
}
if (randomflow == 3) {
_root.c4._y = -550;
}
if (randomflow == 4) {
_root.c4._y = -750;
}
if (randomflow == 5) {
_root.c4._y = -1000;
}
}
if (_root.d1._y > 1050) {
if (colorrotation == 1) {
_root.d1.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.d1.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.d1.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.d1.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.d1.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.d1.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.d1.gotoAndStop(7);
}
if (randomflow == 1) {
_root.d1._y = -150;
}
if (randomflow == 2) {
_root.d1._y = -350;
}
if (randomflow == 3) {
_root.d1._y = -550;
}
if (randomflow == 4) {
_root.d1._y = -750;
}
if (randomflow == 5) {
_root.d1._y = -1000;
}
}
if (_root.d2._y > 1050) {
if (colorrotation == 1) {
_root.d2.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.d2.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.d2.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.d2.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.d2.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.d2.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.d2.gotoAndStop(7);
}
if (randomflow == 1) {
_root.d2._y = -150;
}
if (randomflow == 2) {
_root.d2._y = -350;
}
if (randomflow == 3) {
_root.d2._y = -550;
}
if (randomflow == 4) {
_root.d2._y = -750;
}
if (randomflow == 5) {
_root.d2._y = -1000;
}
}
if (_root.d3._y > 1050) {
if (colorrotation == 1) {
_root.d3.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.d3.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.d3.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.d3.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.d3.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.d3.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.d3.gotoAndStop(7);
}
if (randomflow == 1) {
_root.d3._y = -150;
}
if (randomflow == 2) {
_root.d3._y = -350;
}
if (randomflow == 3) {
_root.d3._y = -550;
}
if (randomflow == 4) {
_root.d3._y = -750;
}
if (randomflow == 5) {
_root.d3._y = -1000;
}
}
if (_root.d4._y > 1050) {
if (colorrotation == 1) {
_root.d4.gotoAndStop(1);
}
if (colorrotation == 2) {
_root.d4.gotoAndStop(2);
}
if (colorrotation == 3) {
_root.d4.gotoAndStop(3);
}
if (colorrotation == 4) {
_root.d4.gotoAndStop(4);
}
if (colorrotation == 5) {
_root.d4.gotoAndStop(5);
}
if (colorrotation == 6) {
_root.d4.gotoAndStop(6);
}
if (colorrotation == 7) {
_root.d4.gotoAndStop(7);
}
if (randomflow == 1) {
_root.d4._y = -150;
}
if (randomflow == 2) {
_root.d4._y = -350;
}
if (randomflow == 3) {
_root.d4._y = -550;
}
if (randomflow == 4) {
_root.d4._y = -750;
}
if (randomflow == 5) {
_root.d4._y = -1000;
}
}
if (_root.a1.hitTest(_root.a2)) {
_root.a1._y = _root.a1._y - 350;
}
if (_root.a1.hitTest(_root.a3)) {
_root.a1._y = _root.a1._y - 350;
}
if (_root.a1.hitTest(_root.a4)) {
_root.a1._y = _root.a1._y - 350;
}
if (_root.a2.hitTest(_root.a1)) {
_root.a2._y = _root.a2._y - 450;
}
if (_root.a2.hitTest(_root.a3)) {
_root.a2._y = _root.a2._y - 450;
}
if (_root.a2.hitTest(_root.a4)) {
_root.a2._y = _root.a2._y - 450;
}
if (_root.a3.hitTest(_root.a2)) {
_root.a3._y = _root.a3._y - 0;
}
if (_root.a3.hitTest(_root.a1)) {
_root.a3._y = _root.a3._y - 0;
}
if (_root.a3.hitTest(_root.a4)) {
_root.a3._y = _root.a3._y - 0;
}
if (_root.a4.hitTest(_root.a2)) {
_root.a4._y = _root.a4._y - 175;
}
if (_root.a4.hitTest(_root.a3)) {
_root.a4._y = _root.a4._y - 175;
}
if (_root.a4.hitTest(_root.a1)) {
_root.a4._y = _root.a4._y - 175;
}
if (_root.b1.hitTest(_root.b2)) {
_root.b1._y = _root.b1._y - 350;
}
if (_root.b1.hitTest(_root.b3)) {
_root.b1._y = _root.b1._y - 350;
}
if (_root.b1.hitTest(_root.b4)) {
_root.b1._y = _root.b1._y - 350;
}
if (_root.b2.hitTest(_root.b1)) {
_root.b2._y = _root.b2._y - 450;
}
if (_root.b2.hitTest(_root.b3)) {
_root.b2._y = _root.b2._y - 450;
}
if (_root.b2.hitTest(_root.b4)) {
_root.b2._y = _root.b2._y - 450;
}
if (_root.b3.hitTest(_root.b2)) {
_root.b3._y = _root.b3._y - 0;
}
if (_root.b3.hitTest(_root.b1)) {
_root.b3._y = _root.b3._y - 0;
}
if (_root.b3.hitTest(_root.b4)) {
_root.b3._y = _root.b3._y - 0;
}
if (_root.b4.hitTest(_root.b2)) {
_root.b4._y = _root.b4._y - 175;
}
if (_root.b4.hitTest(_root.b3)) {
_root.b4._y = _root.b4._y - 175;
}
if (_root.b4.hitTest(_root.b1)) {
_root.b4._y = _root.b4._y - 175;
}
if (_root.c1.hitTest(_root.c2)) {
_root.c1._y = _root.c1._y - 350;
}
if (_root.c1.hitTest(_root.c3)) {
_root.c1._y = _root.c1._y - 350;
}
if (_root.c1.hitTest(_root.c4)) {
_root.c1._y = _root.c1._y - 350;
}
if (_root.c2.hitTest(_root.c1)) {
_root.c2._y = _root.c2._y - 450;
}
if (_root.c2.hitTest(_root.c3)) {
_root.c2._y = _root.c2._y - 450;
}
if (_root.c2.hitTest(_root.c4)) {
_root.c2._y = _root.c2._y - 450;
}
if (_root.c3.hitTest(_root.c2)) {
_root.c3._y = _root.c3._y - 0;
}
if (_root.c3.hitTest(_root.c1)) {
_root.c3._y = _root.c3._y - 0;
}
if (_root.c3.hitTest(_root.c4)) {
_root.c3._y = _root.c3._y - 0;
}
if (_root.c4.hitTest(_root.c2)) {
_root.c4._y = _root.c4._y - 175;
}
if (_root.c4.hitTest(_root.c3)) {
_root.c4._y = _root.c4._y - 175;
}
if (_root.c4.hitTest(_root.c1)) {
_root.c4._y = _root.c4._y - 175;
}
if (_root.d1.hitTest(_root.d2)) {
_root.d1._y = _root.d1._y - 350;
}
if (_root.d1.hitTest(_root.d3)) {
_root.d1._y = _root.d1._y - 350;
}
if (_root.d1.hitTest(_root.d4)) {
_root.d1._y = _root.d1._y - 350;
}
if (_root.d2.hitTest(_root.d1)) {
_root.d2._y = _root.d2._y - 450;
}
if (_root.d2.hitTest(_root.d3)) {
_root.d2._y = _root.d2._y - 450;
}
if (_root.d2.hitTest(_root.d4)) {
_root.d2._y = _root.d2._y - 450;
}
if (_root.d3.hitTest(_root.d2)) {
_root.d3._y = _root.d3._y - 0;
}
if (_root.d3.hitTest(_root.d1)) {
_root.d3._y = _root.d3._y - 0;
}
if (_root.d3.hitTest(_root.d4)) {
_root.d3._y = _root.d3._y - 0;
}
if (_root.d4.hitTest(_root.d2)) {
_root.d4._y = _root.d4._y - 175;
}
if (_root.d4.hitTest(_root.d3)) {
_root.d4._y = _root.d4._y - 175;
}
if (_root.d4.hitTest(_root.d1)) {
_root.d4._y = _root.d4._y - 175;
}
if (dead == 0) {
if (Key.isDown(37)) {
_root.hero._x = _root.hero._x - 15;
}
if (Key.isDown(39)) {
_root.hero._x = _root.hero._x + 15;
}
if (Key.isDown(38)) {
_root.hero._y = _root.hero._y - 15;
}
if (Key.isDown(40)) {
_root.hero._y = _root.hero._y + 15;
}
}
if (Key.isDown(8)) {
stopAllSounds();
aspeed = 5;
bspeed = 7;
cspeed = 9;
dspeed = 11;
randomflow = 1;
maxx = 5;
arotation = 100;
brotation = 200;
crotation = 300;
drotation = 400;
rotation = 0;
colorrotation = 0;
dead = 0;
_root.retryy._y = 2000;
_root.a1._y = a1y;
_root.a2._y = a2y;
_root.a3._y = a3y;
_root.a4._y = a4y;
_root.b1._y = b1y;
_root.b2._y = b2y;
_root.b3._y = b3y;
_root.b4._y = b4y;
_root.c1._y = c1y;
_root.c2._y = c2y;
_root.c3._y = c3y;
_root.c4._y = c4y;
_root.d1._y = d1y;
_root.d2._y = d2y;
_root.d3._y = d3y;
_root.d4._y = d4y;
_root.texter.texty.texta.text = "0 Meters";
_root.retryy._y = 2000;
_root.stillroad._x = -2000;
_root.hero._x = herox;
_root.hero._y = heroy;
_root.pbar._width = pbarw;
_root.hero.gotoAndStop(1);
score = 0;
_root.a1.gotoAndStop(1);
_root.a2.gotoAndStop(1);
_root.a3.gotoAndStop(1);
_root.a4.gotoAndStop(1);
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
_root.c1.gotoAndStop(1);
_root.c2.gotoAndStop(1);
_root.c3.gotoAndStop(1);
_root.c4.gotoAndStop(1);
_root.d1.gotoAndStop(1);
_root.d2.gotoAndStop(1);
_root.d3.gotoAndStop(1);
_root.d4.gotoAndStop(1);
_root.gotoAndStop("menu");
}
if (Key.isDown(32)) {
if (dead == 1) {
if (up == 1) {
aspeed = 5;
bspeed = 7;
cspeed = 9;
dspeed = 11;
randomflow = 1;
maxx = 5;
arotation = 100;
brotation = 200;
crotation = 300;
drotation = 400;
rotation = 0;
colorrotation = 0;
dead = 0;
checkpoint = 0;
_root.texter.texty.texta.text = "0 Meters";
_root.retryy._y = 2000;
_root.a1._y = a1y;
_root.a2._y = a2y;
_root.a3._y = a3y;
_root.a4._y = a4y;
_root.b1._y = b1y;
_root.b2._y = b2y;
_root.b3._y = b3y;
_root.b4._y = b4y;
_root.c1._y = c1y;
_root.c2._y = c2y;
_root.c3._y = c3y;
_root.c4._y = c4y;
_root.d1._y = d1y;
_root.d2._y = d2y;
_root.d3._y = d3y;
_root.d4._y = d4y;
_root.stillroad._x = -2000;
_root.hero._x = herox;
_root.hero._y = heroy;
_root.pbar._width = pbarw;
_root.hero.gotoAndStop(1);
score = 0;
_root.a1.gotoAndStop(1);
_root.a2.gotoAndStop(1);
_root.a3.gotoAndStop(1);
_root.a4.gotoAndStop(1);
_root.b1.gotoAndStop(1);
_root.b2.gotoAndStop(1);
_root.b3.gotoAndStop(1);
_root.b4.gotoAndStop(1);
_root.c1.gotoAndStop(1);
_root.c2.gotoAndStop(1);
_root.c3.gotoAndStop(1);
_root.c4.gotoAndStop(1);
_root.d1.gotoAndStop(1);
_root.d2.gotoAndStop(1);
_root.d3.gotoAndStop(1);
_root.d4.gotoAndStop(1);
}
}
up = 0;
if (_root.pbar._width < 31) {
if (_root.pbar._width < 600) {
_root.pbar._width = _root.pbar._width + 5;
}
_root.pbar._x = barp;
_root.hero.pulse.gotoAndStop(1);
if (_root.aspeed.text == 1) {
_root.aspeed.text = 0;
aspeed = 9;
}
if (_root.bspeed.text == 1) {
_root.bspeed.text = 0;
bspeed = 9;
}
if (_root.cspeed.text == 1) {
_root.cspeed.text = 0;
cspeed = 9;
}
if (_root.dspeed.text == 1) {
_root.dspeed.text = 0;
dspeed = 9;
}
_root.pbar._width = 0;
}
_root.pbar._width = _root.pbar._width - 20;
_root.pbar._x = barp;
if (_root.pbar._width > 0) {
_root.hero.pulse.gotoAndStop(2);
}
} else {
up = 1;
if (_root.pbar._width < 600) {
_root.pbar._width = _root.pbar._width + 5;
}
_root.pbar._x = barp;
_root.hero.pulse.gotoAndStop(1);
if (_root.aspeed.text == 1) {
_root.aspeed.text = 0;
aspeed = 9;
}
if (_root.bspeed.text == 1) {
_root.bspeed.text = 0;
bspeed = 9;
}
if (_root.cspeed.text == 1) {
_root.cspeed.text = 0;
cspeed = 9;
}
if (_root.dspeed.text == 1) {
_root.dspeed.text = 0;
dspeed = 9;
}
}
}
Instance of Symbol 137 MovieClip "retryy" in Frame 4
on (press, release) {
getURL ("http://www.galactigames.com/ref.php?id=36", " _blank");
}
Frame 5
stopAllSounds();
Frame 6
stopAllSounds();
Symbol 9 Button
on (release) {
_root.play();
}
Symbol 10 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
_root.loadee.g1.gotoAndPlay("death");
gotoAndStop ("loaded");
}
Symbol 10 MovieClip Frame 2
gotoAndPlay (1);
Symbol 31 Button
on (press, release) {
getURL ("http://www.galactigames.com/ref.php?id=36", " _blank");
}
Symbol 37 Button
on (press, release) {
getURL ("http://www.galactigames.com/ref.php?id=36", " _blank");
}
Instance of Symbol 35 MovieClip in Symbol 48 MovieClip Frame 1
on (press, release) {
getURL ("http://www.galactigames.com/ref.php?id=<IDNUM>");
}
Symbol 48 MovieClip Frame 160
_root.gotoAndStop(3);
Symbol 51 MovieClip Frame 1
stop();
Symbol 55 Button
on (release) {
stopAllSounds();
this.gotoAndStop("game");
}
Symbol 58 Button
on (release) {
this.gotoAndStop("how");
}
Symbol 61 Button
on (release) {
this.gotoAndStop("credits");
}
Instance of Symbol 67 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
var snapback = 0;
}
onClipEvent (enterFrame) {
this._y = this._y + 50;
snapback = snapback + 50;
if (snapback == 650) {
this._y = this._y - 650;
snapback = 0;
}
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();
Instance of Symbol 85 MovieClip "pulse" in Symbol 86 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.apulse.hitTest(_root.hero.head)) {
_root.aspeed.text = 1;
}
if (_root.bpulse.hitTest(_root.hero.head)) {
_root.bspeed.text = 1;
}
if (_root.cpulse.hitTest(_root.hero.head)) {
_root.cspeed.text = 1;
}
if (_root.dpulse.hitTest(_root.hero.head)) {
_root.dspeed.text = 1;
}
}
Symbol 95 MovieClip Frame 10
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 1
stop();
Instance of Symbol 105 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this)) {
_root.death.text = 1;
}
}
Symbol 124 MovieClip Frame 2
stop();
Symbol 124 MovieClip Frame 3
stop();
Symbol 124 MovieClip Frame 4
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 6
stop();
Symbol 124 MovieClip Frame 7
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
if ((500 - _root.scorey.text) < 5) {
if ((500 - _root.scorey.text) > -5) {
_root.scorey.text = 500;
}
}
if ((1000 - _root.scorey.text) < 5) {
if ((1000 - _root.scorey.text) > -5) {
_root.scorey.text = 1000;
}
}
if ((1500 - _root.scorey.text) < 5) {
if ((1500 - _root.scorey.text) > -5) {
_root.scorey.text = 1500;
}
}
if ((2000 - _root.scorey.text) < 5) {
if ((2000 - _root.scorey.text) > -5) {
_root.scorey.text = 2000;
}
}
if ((2500 - _root.scorey.text) < 5) {
if ((2500 - _root.scorey.text) > -5) {
_root.scorey.text = 2500;
}
}
if ((3000 - _root.scorey.text) < 5) {
if ((3000 - _root.scorey.text) > -5) {
_root.scorey.text = 3000;
}
}
if ((3500 - _root.scorey.text) < 5) {
if ((3500 - _root.scorey.text) > -5) {
_root.scorey.text = 3500;
}
}
if ((4000 - _root.scorey.text) < 5) {
if ((4000 - _root.scorey.text) > -5) {
_root.scorey.text = 4000;
}
}
if ((4500 - _root.scorey.text) < 5) {
if ((4500 - _root.scorey.text) > -5) {
_root.scorey.text = 4500;
}
}
if ((5000 - _root.scorey.text) < 5) {
if ((5000 - _root.scorey.text) > -5) {
_root.scorey.text = 5000;
}
}
if ((5500 - _root.scorey.text) < 5) {
if ((5500 - _root.scorey.text) > -5) {
_root.scorey.text = 5500;
}
}
if ((6000 - _root.scorey.text) < 5) {
if ((6000 - _root.scorey.text) > -5) {
_root.scorey.text = 6000;
}
}
if ((6500 - _root.scorey.text) < 5) {
if ((6500 - _root.scorey.text) > -5) {
_root.scorey.text = 6500;
}
}
if ((7000 - _root.scorey.text) < 5) {
if ((7000 - _root.scorey.text) > -5) {
_root.scorey.text = 7000;
}
}
_root.texter.texty.texta.text = _root.scorey.text + " meters";
_root.texter.gotoAndPlay(3);
Symbol 140 MovieClip Frame 36
_root.texter.gotoAndStop(1);
Symbol 152 Button
on (release) {
this.gotoAndStop("menu");
}
Symbol 159 Button
on (press, release) {
getURL ("http://www.galactigames.com/ref.php?id=36", " _blank");
}