Frame 1
fscommand ("allowscale", "false");
stop();
Instance of Symbol 39 MovieClip in Frame 1
onClipEvent (enterFrame) {
bytes = _root.getBytesTotal();
bytesl = _root.getBytesLoaded();
percent = Math.round((bytesl / bytes) * 100);
_root.info = ((((((("<center>Bytes Total = " + bytes) + "<br>") + "Bytes Loaded = ") + bytesl) + "<br>") + "Percent Loaded = ") + percent) + "%";
if (percent == 100) {
_root.play();
}
}
Instance of Symbol 43 MovieClip "driver" in Frame 1
onClipEvent (enterFrame) {
_root.attachMovie("snow", "snow" + i, i);
_root["snow" + i]._y = -20;
_root["snow" + i]._x = random(500) - 50;
i = i + 1;
if (800 < i) {
i = 200;
}
}
Frame 2
fscommand ("allowscale", "false");
stop();
Instance of Symbol 51 MovieClip "how" in Frame 2
onClipEvent (load) {
swapDepths(10000);
}
Frame 3
fscommand ("allowscale", "false");
tangle = (random(8) + 6) * 5;
tpower = random(50) + 20;
stop();
function newheights() {
SH = new Array();
SH[0] = 0;
i = 1;
while (i < 20) {
SH[i] = random(100) + 50;
i = i + 1;
}
SH[1] = SH[2];
SH[18] = SH[19];
wind = random(100) - 50;
}
function render() {
i = 0;
while (i < 20) {
removeMovieClip(_root.container["line" + i]);
i = i + 1;
}
i = 100;
while (150 >= i) {
removeMovieClip(_root.holes["hole" + i]);
i = i + 1;
}
i = 0;
while (i < 20) {
if (SH[i] >= SH[i + 1]) {
_root.container.attachMovie("line", "line" + i, i);
_root.container["line" + i]._y = SH[i];
_root.container["line" + i]._x = i * 20;
_root.container["line" + i]._yscale = SH[i] - SH[i + 1];
_root.container["line" + i]._xscale = 20;
_root.container.attachMovie("block", "block" + i, i + 20);
_root.container["block" + i]._y = SH[i];
_root.container["block" + i]._x = i * 20;
_root.container["block" + i]._yscale = 200 - SH[i];
_root.container["block" + i]._xscale = 20;
i = i + 1;
} else {
_root.container.attachMovie("lined", "line" + i, i);
_root.container["line" + i]._y = SH[i];
_root.container["line" + i]._x = i * 20;
_root.container["line" + i]._yscale = SH[i + 1] - SH[i];
_root.container["line" + i]._xscale = 20;
_root.container.attachMovie("block", "block" + i, i + 20);
_root.container["block" + i]._y = SH[i] + Math.abs(SH[i + 1] - SH[i]);
_root.container["block" + i]._x = i * 20;
_root.container["block" + i]._yscale = 200 - (SH[i] + Math.abs(SH[i + 1] - SH[i]));
_root.container["block" + i]._xscale = 20;
i = i + 1;
}
}
attachMovie("man", "man", 998);
_root.man._x = 30;
_root.man._y = 0;
_root.man.player = 1;
_root.man.done = false;
attachMovie("enemy", "man2", 999);
_root.man2._x = 370;
_root.man2._y = 0;
_root.man2._xscale = -100;
_root.man2.player = 2;
_root.man2.done = false;
i = 100;
}
function Adjust(Rand) {
i = 0;
while (i < 41) {
SH[i] = SH[i] + ((Math.random() * Rand) - (Rand / 2));
i = i + 1;
}
}
function Move(speed) {
CH = new Array();
i = 0;
while (i < 41) {
CH[i] = _root["line" + i]._y;
if ((SH[i] + speed) < CH[i]) {
CH[i] = CH[i] - speed;
} else if (CH[i] < (SH[i] - speed)) {
CH[i] = CH[i] + speed;
}
i = i + 1;
}
i = 0;
while (i < 41) {
removeMovieClip(_root["line" + i]);
i = i + 1;
}
i = 0;
while (i < 41) {
attachMovie("line", "line" + i, i);
_root["line" + i]._y = CH[i];
_root["line" + i]._x = i * 10;
_root["line" + i]._yscale = CH[i] - CH[i + 1];
_root["line" + i]._xscale = 10;
i = i + 1;
}
}
i = 1;
windshift = 1;
NewHeights();
Render();
go = 1;
score1 = 0;
score2 = 0;
s = 200;
Instance of Symbol 77 MovieClip "windbar" in Frame 3
onClipEvent (enterFrame) {
if (_root.wind < this._xscale) {
_xscale = (_xscale - _root.windshift);
} else if (this._xscale < _root.wind) {
_xscale = (_xscale + _root.windshift);
}
}
onClipEvent (load) {
_xscale = 0;
}
Instance of Symbol 43 MovieClip "driver" in Frame 3
onClipEvent (enterFrame) {
_root.attachMovie("snow", "snow" + i, i);
_root["snow" + i]._y = -20;
_root["snow" + i]._x = random(500) - 50;
i = i + 1;
if (800 < i) {
i = 200;
}
}
Instance of Symbol 86 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(Key.SHIFT) and Key.isDown(Key.CONTROL)) {
gotoAndStop (2);
}
}
Frame 4
fscommand ("allowscale", "false");
tangle = (random(8) + 6) * 5;
tpower = random(50) + 20;
stop();
function newheights() {
SH = new Array();
SH[0] = 0;
i = 1;
while (i < 20) {
SH[i] = random(100) + 50;
i = i + 1;
}
SH[1] = SH[2];
SH[18] = SH[19];
wind = random(100) - 50;
}
function render() {
i = 0;
while (i < 20) {
removeMovieClip(_root.container["line" + i]);
i = i + 1;
}
i = 100;
while (150 >= i) {
removeMovieClip(_root.holes["hole" + i]);
i = i + 1;
}
i = 0;
while (i < 20) {
if (SH[i] >= SH[i + 1]) {
_root.container.attachMovie("line", "line" + i, i);
_root.container["line" + i]._y = SH[i];
_root.container["line" + i]._x = i * 20;
_root.container["line" + i]._yscale = SH[i] - SH[i + 1];
_root.container["line" + i]._xscale = 20;
_root.container.attachMovie("block", "block" + i, i + 20);
_root.container["block" + i]._y = SH[i];
_root.container["block" + i]._x = i * 20;
_root.container["block" + i]._yscale = 200 - SH[i];
_root.container["block" + i]._xscale = 20;
i = i + 1;
} else {
_root.container.attachMovie("lined", "line" + i, i);
_root.container["line" + i]._y = SH[i];
_root.container["line" + i]._x = i * 20;
_root.container["line" + i]._yscale = SH[i + 1] - SH[i];
_root.container["line" + i]._xscale = 20;
_root.container.attachMovie("block", "block" + i, i + 20);
_root.container["block" + i]._y = SH[i] + Math.abs(SH[i + 1] - SH[i]);
_root.container["block" + i]._x = i * 20;
_root.container["block" + i]._yscale = 200 - (SH[i] + Math.abs(SH[i + 1] - SH[i]));
_root.container["block" + i]._xscale = 20;
i = i + 1;
}
}
attachMovie("man", "man", 998);
_root.man._x = 30;
_root.man._y = 0;
_root.man.player = 1;
_root.man.done = false;
attachMovie("man", "man2", 999);
_root.man2._x = 370;
_root.man2._y = 0;
_root.man2._xscale = -100;
_root.man2.player = 2;
_root.man2.done = false;
i = 100;
}
function Adjust(Rand) {
i = 0;
while (i < 41) {
SH[i] = SH[i] + ((Math.random() * Rand) - (Rand / 2));
i = i + 1;
}
}
function Move(speed) {
CH = new Array();
i = 0;
while (i < 41) {
CH[i] = _root["line" + i]._y;
if ((SH[i] + speed) < CH[i]) {
CH[i] = CH[i] - speed;
} else if (CH[i] < (SH[i] - speed)) {
CH[i] = CH[i] + speed;
}
i = i + 1;
}
i = 0;
while (i < 41) {
removeMovieClip(_root["line" + i]);
i = i + 1;
}
i = 0;
while (i < 41) {
attachMovie("line", "line" + i, i);
_root["line" + i]._y = CH[i];
_root["line" + i]._x = i * 10;
_root["line" + i]._yscale = CH[i] - CH[i + 1];
_root["line" + i]._xscale = 10;
i = i + 1;
}
}
i = 1;
windshift = 1;
NewHeights();
Render();
go = 1;
score1 = 0;
score2 = 0;
s = 200;
stop();
Symbol 5 MovieClip [ash] Frame 1
colours = ["red1", "orange1", "yelloworange", "yellow"];
colength = colours.length;
coln = random(colength);
d = ((random(50) + 10) / 10) / 2;
g = 0.25;
this._height = d * 2;
this._width = d * 2;
this._rotation = random(360) + 1;
speed = (random(10) + d) / 2;
this._alpha = 100;
diss = ((random(5) + 1) + d) / 2;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
gotoAndPlay(colours[coln]);
Symbol 5 MovieClip [ash] Frame 2
this._alpha = this._alpha - diss;
this._x = this._x + x;
this._y = this._y + y;
this.y = this.y + g;
if ((((0 >= this._x) or (this._x >= 400)) or ((0 >= this._y) or (this._y >= 200))) or (this._alpha < 10)) {
removeMovieClip(this);
}
Symbol 5 MovieClip [ash] Frame 3
gotoAndPlay (2);
Symbol 5 MovieClip [ash] Frame 4
this._alpha = this._alpha - diss;
this._x = this._x + x;
this._y = this._y + y;
this.y = this.y + g;
if ((((0 >= this._x) or (this._x >= 400)) or ((0 >= this._y) or (this._y >= 200))) or (this._alpha < 10)) {
removeMovieClip(this);
}
Symbol 5 MovieClip [ash] Frame 5
gotoAndPlay (4);
Symbol 5 MovieClip [ash] Frame 6
this._alpha = this._alpha - diss;
this._x = this._x + x;
this._y = this._y + y;
this.y = this.y + g;
if ((((0 >= this._x) or (this._x >= 400)) or ((0 >= this._y) or (this._y >= 200))) or (this._alpha < 10)) {
removeMovieClip(this);
}
Symbol 5 MovieClip [ash] Frame 7
gotoAndPlay (6);
Symbol 5 MovieClip [ash] Frame 8
this._alpha = this._alpha - diss;
this._x = this._x + x;
this._y = this._y + y;
this.y = this.y + g;
if ((((0 >= this._x) or (this._x >= 400)) or ((0 >= this._y) or (this._y >= 200))) or (this._alpha < 10)) {
removeMovieClip(this);
}
Symbol 5 MovieClip [ash] Frame 9
gotoAndPlay (8);
Symbol 7 MovieClip [lined] Frame 1
stop();
Symbol 9 MovieClip [line] Frame 1
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 5
gotoAndStop (1);
Symbol 20 MovieClip [enemy] Frame 1
if (!_root.container.hitTest(_x, _y, true)) {
_y = (_y + 10);
turretmove = false;
} else {
just = false;
Turretmove = true;
}
if (just == false) {
while (_root.container.hitTest(_x, _y, true)) {
this._y = this._y - 0.1;
}
this._y = this._y + 0.1;
just = true;
}
if (0 < diff) {
tpower = tpower + Math.round(diff / 10);
} else {
tpower = tpower + Math.round(diff / 10);
}
tangle = _root.tangle + ((random(4) - 2) * 5);
tpower = _root.tpower + (random(10) - 5);
if (tangle >= 90) {
tangle = 80;
} else if (tangle < 10) {
tangle = 15;
}
if (turretmove) {
if (turret._rotation < 45) {
turret._rotation = turret._rotation + 5;
} else {
gotoAndPlay (3);
power = 20;
}
}
Symbol 20 MovieClip [enemy] Frame 2
gotoAndPlay (1);
Symbol 20 MovieClip [enemy] Frame 3
if (_root.go == player) {
if (tangle < (90 - turret._rotation)) {
turret._rotation = turret._rotation + 5;
} else if ((90 - turret._rotation) < tangle) {
turret._rotation = turret._rotation - 5;
} else {
rotateready = true;
}
_root.angle = 90 - turret._rotation;
if (tpower < power) {
power = power - 1;
} else if (power < tpower) {
power = power + 1;
} else {
powerready = true;
}
_root.power = power;
if (rotateready and powerready) {
gotoAndPlay (5);
}
}
Symbol 20 MovieClip [enemy] Frame 4
gotoAndPlay (3);
Symbol 20 MovieClip [enemy] Frame 5
windshift = _root.wind / 50;
turret.point.p = {x:0, y:0};
turret.point.localToGlobal(turret.point.p);
_root.attachMovie("round", "round", 1000);
_root.round._x = turret.point.p.x;
_root.round._y = turret.point.p.y;
_root.round._rotation = turret._rotation;
_root.tangle = tangle;
_root.tpower = tpower;
turret.gotoAndPlay(2);
if (player == 1) {
x = (Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
} else {
x = ((Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) * -1) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
}
Symbol 20 MovieClip [enemy] Frame 6
y = y + 0.1;
_root.round._x = _root.round._x + x;
_root.round._y = _root.round._y + y;
Xdiff = x;
Ydiff = y;
radAngle = Math.atan2(Ydiff, Xdiff);
_root.round._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
if (_root.s < 800) {
i = _root.s;
_root.s = _root.s + 1;
} else {
_root.s = 201;
i = 200;
}
_root.attachMovie("smoke", "smoke" + i, i);
_root["smoke" + i]._x = _root.round._x;
_root["smoke" + i]._y = _root.round._y;
if (_root.container.hitTest(_root.round._x, _root.round._y, true) and (!_root.holes.hitTest(_root.round._x, _root.round._y, true))) {
if (_root.i < 150) {
i = _root.i;
_root.i = _root.i + 1;
} else {
_root.i = 100;
i = 100;
}
_root.holes.attachMovie("hole", "hole" + i, i);
_root.holes["hole" + i]._x = _root.round._x;
_root.holes["hole" + i]._y = _root.round._y;
diff = _root.round._x - _root.man._x;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (8);
}
if (200 < _root.round._y) {
_root.stat.gotoAndPlay(2);
diff = _root.round._x - _root.man._x;
removeMovieClip(_root.round);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (8);
}
if (_root.man.hitTest(_root.round._x, _root.round._y, true)) {
_root.score2 = _root.score2 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man._x;
_root["ash" + i]._y = _root.man._y;
i++;
}
_root.stat.gotoAndPlay(31);
removeMovieClip(_root.man);
}
if (_root.man2.hitTest(_root.round._x, _root.round._y, true)) {
_root.score1 = _root.score1 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man2._x;
_root["ash" + i]._y = _root.man2._y;
i++;
}
_root.stat.gotoAndPlay(31);
_root.angle = (random(8) + 6) * 5;
_root.tpower = random(50) + 20;
removeMovieClip(_root.man2);
}
Symbol 20 MovieClip [enemy] Frame 7
gotoAndPlay (6);
Symbol 20 MovieClip [enemy] Frame 8
if (0 < diff) {
tpower = tpower + Math.round(diff / 10);
} else {
tpower = tpower + Math.round(diff / 10);
}
_root.diff = diff;
rotateready = false;
powerready = false;
Symbol 20 MovieClip [enemy] Frame 9
gotoAndPlay (3);
Symbol 20 MovieClip [enemy] Frame 11
if (_root.go == player) {
if (player == 1) {
if (Key.isDown(Key.RIGHT) and (turret._rotation < 90)) {
turret._rotation = turret._rotation + 5;
} else if (Key.isDown(Key.LEFT) and (0 < turret._rotation)) {
turret._rotation = turret._rotation - 5;
}
} else if (Key.isDown(Key.RIGHT) and (0 < turret._rotation)) {
turret._rotation = turret._rotation - 5;
} else if (Key.isDown(Key.LEFT) and (turret._rotation < 90)) {
turret._rotation = turret._rotation + 5;
}
_root.angle = 90 - turret._rotation;
if (Key.isDown(Key.UP)) {
power = power + 1;
} else if (Key.isDown(Key.DOWN) and (1 < power)) {
power = power - 1;
}
_root.power = power;
if (Key.isDown(Key.SPACE)) {
windshift = _root.wind / 50;
turret.point.p = {x:0, y:0};
turret.point.localToGlobal(turret.point.p);
_root.attachMovie("round", "round", 1000);
_root.round._x = turret.point.p.x;
_root.round._y = turret.point.p.y;
_root.round._rotation = turret._rotation;
turret.gotoAndPlay(2);
if (player == 1) {
x = (Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
} else {
x = ((Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) * -1) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
}
gotoAndPlay (5);
}
}
Symbol 20 MovieClip [enemy] Frame 12
gotoAndPlay (3);
Symbol 20 MovieClip [enemy] Frame 13
y = y + 0.1;
_root.round._x = _root.round._x + x;
_root.round._y = _root.round._y + y;
Xdiff = x;
Ydiff = y;
radAngle = Math.atan2(Ydiff, Xdiff);
_root.round._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
if (_root.s < 800) {
i = _root.s;
_root.s = _root.s + 1;
} else {
_root.s = 200;
i = 200;
}
_root.attachMovie("smoke", "smoke" + i, i);
_root["smoke" + i]._x = _root.round._x;
_root["smoke" + i]._y = _root.round._y;
if (_root.container.hitTest(_root.round._x, _root.round._y, true) and (!_root.holes.hitTest(_root.round._x, _root.round._y, true))) {
if (_root.i < 150) {
i = _root.i;
_root.i = _root.i + 1;
} else {
_root.i = 100;
i = 100;
}
_root.holes.attachMovie("hole", "hole" + i, i);
_root.holes["hole" + i]._x = _root.round._x;
_root.holes["hole" + i]._y = _root.round._y;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (3);
}
if (200 < _root.round._y) {
_root.stat.gotoAndPlay(2);
removeMovieClip(_root.round);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (3);
}
if (_root.man.hitTest(_root.round._x, _root.round._y, true)) {
_root.score2 = _root.score2 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man._x;
_root["ash" + i]._y = _root.man._y;
i++;
}
_root.stat.gotoAndPlay(31);
removeMovieClip(_root.man);
}
if (_root.man2.hitTest(_root.round._x, _root.round._y, true)) {
_root.score1 = _root.score1 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man2._x;
_root["ash" + i]._y = _root.man2._y;
i++;
}
_root.stat.gotoAndPlay(31);
removeMovieClip(_root.man2);
}
Symbol 20 MovieClip [enemy] Frame 14
gotoAndPlay (5);
Symbol 21 MovieClip [man] Frame 1
if (!_root.container.hitTest(_x, _y, true)) {
_y = (_y + 10);
turretmove = false;
} else {
just = false;
Turretmove = true;
}
if (just == false) {
while (_root.container.hitTest(_x, _y, true)) {
this._y = this._y - 0.1;
}
this._y = this._y + 0.1;
just = true;
}
if (turretmove) {
if (turret._rotation < 45) {
turret._rotation = turret._rotation + 5;
} else {
gotoAndPlay (3);
power = 20;
}
}
Symbol 21 MovieClip [man] Frame 2
gotoAndPlay (1);
Symbol 21 MovieClip [man] Frame 3
if (_root.go == player) {
if (player == 1) {
if (Key.isDown(Key.RIGHT) and (turret._rotation < 90)) {
turret._rotation = turret._rotation + 5;
} else if (Key.isDown(Key.LEFT) and (0 < turret._rotation)) {
turret._rotation = turret._rotation - 5;
}
} else if (Key.isDown(Key.RIGHT) and (0 < turret._rotation)) {
turret._rotation = turret._rotation - 5;
} else if (Key.isDown(Key.LEFT) and (turret._rotation < 90)) {
turret._rotation = turret._rotation + 5;
}
_root.angle = 90 - turret._rotation;
if (Key.isDown(Key.UP)) {
power = power + 1;
} else if (Key.isDown(Key.DOWN) and (1 < power)) {
power = power - 1;
}
_root.power = power;
if (Key.isDown(Key.SPACE)) {
windshift = _root.wind / 50;
turret.point.p = {x:0, y:0};
turret.point.localToGlobal(turret.point.p);
_root.attachMovie("round", "round", 1000);
_root.round._x = turret.point.p.x;
_root.round._y = turret.point.p.y;
_root.round._rotation = turret._rotation;
turret.gotoAndPlay(2);
if (player == 1) {
x = (Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
} else {
x = ((Math.sin(_root.round._rotation * (Math.PI/180)) * (power / 10)) * -1) + windshift;
y = Math.cos(_root.round._rotation * (Math.PI/180)) * (-(power / 10));
}
gotoAndPlay (5);
}
}
Symbol 21 MovieClip [man] Frame 4
gotoAndPlay (3);
Symbol 21 MovieClip [man] Frame 5
y = y + 0.1;
_root.round._x = _root.round._x + x;
_root.round._y = _root.round._y + y;
Xdiff = x;
Ydiff = y;
radAngle = Math.atan2(Ydiff, Xdiff);
_root.round._rotation = ((radAngle * 360) / (Math.PI*2)) + 90;
if (_root.s < 800) {
i = _root.s;
_root.s = _root.s + 1;
} else {
_root.s = 201;
i = 200;
}
_root.attachMovie("smoke", "smoke" + i, i);
_root["smoke" + i]._x = _root.round._x;
_root["smoke" + i]._y = _root.round._y;
if (_root.container.hitTest(_root.round._x, _root.round._y, true) and (!_root.holes.hitTest(_root.round._x, _root.round._y, true))) {
if (_root.i < 150) {
i = _root.i;
_root.i = _root.i + 1;
} else {
_root.i = 100;
i = 100;
}
_root.holes.attachMovie("hole", "hole" + i, i);
_root.holes["hole" + i]._x = _root.round._x;
_root.holes["hole" + i]._y = _root.round._y;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (3);
}
if (200 < _root.round._y) {
_root.stat.gotoAndPlay(2);
removeMovieClip(_root.round);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
gotoAndPlay (3);
}
if (_root.man.hitTest(_root.round._x, _root.round._y, true)) {
_root.score2 = _root.score2 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man._x;
_root["ash" + i]._y = _root.man._y;
i++;
}
_root.stat.gotoAndPlay(31);
removeMovieClip(_root.man);
}
if (_root.man2.hitTest(_root.round._x, _root.round._y, true)) {
_root.score1 = _root.score1 + 1;
_root.round.gotoAndPlay(2);
removeMovieClip(_root.round);
_root.stat.gotoAndPlay(2);
if (_root.go == 1) {
_root.go = 2;
_root.stats._x = 320;
} else {
_root.go = 1;
_root.stats._x = 80;
}
_root.man.gotoAndPlay(3);
_root.man2.gotoAndPlay(3);
i = 1;
while (i < 50) {
_root.attachMovie("ash", "ash" + i, i);
_root["ash" + i]._x = _root.man2._x;
_root["ash" + i]._y = _root.man2._y;
i++;
}
_root.stat.gotoAndPlay(31);
removeMovieClip(_root.man2);
}
Symbol 21 MovieClip [man] Frame 6
gotoAndPlay (5);
Symbol 25 MovieClip [round] Frame 1
stop();
Symbol 28 MovieClip [hole] Frame 25
stop();
Symbol 32 MovieClip [smoke] Frame 30
removeMovieClip(this);
Symbol 35 MovieClip [snow] Frame 1
d = (Math.random() * 3) + 1;
_height = d;
_width = d;
Symbol 35 MovieClip [snow] Frame 2
this._x = this._x + (_root.windbar._xscale / 20);
this._y = this._y + d;
if (_root.container.hitTest(_x, _y, true) and (!_root.holes.hitTest(_x, _y, true))) {
removeMovieClip(this);
}
if (250 < this._y) {
removeMovieClip(this);
}
Symbol 35 MovieClip [snow] Frame 3
gotoAndPlay (2);
Symbol 42 Button
on (release) {
getURL ("http:\\\\www.quirkyanimations.tk", "_blank");
}
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 20
stop();
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 20
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
_parent.play();
}
}
Symbol 51 MovieClip Frame 40
_root.howp = false;
Symbol 66 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.howp) {
if (Key.isDown(Key.UP)) {
_parent.gotoAndPlay(31);
} else if (Key.isDown(Key.DOWN)) {
_parent.gotoAndPlay(2);
} else if (Key.isDown(Key.SPACE)) {
_root.gotoAndPlay(3);
}
}
}
Symbol 66 MovieClip Frame 10
stop();
Instance of Symbol 64 MovieClip in Symbol 66 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.howp) {
if (Key.isDown(Key.UP)) {
_parent.gotoAndPlay(52);
} else if (Key.isDown(Key.DOWN)) {
_parent.gotoAndPlay(11);
} else if (Key.isDown(Key.SPACE)) {
_root.gotoAndPlay(4);
}
}
}
Symbol 66 MovieClip Frame 20
stop();
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 20
onClipEvent (enterFrame) {
if (!_root.howp) {
if (Key.isDown(Key.UP)) {
_parent.gotoAndPlay(41);
} else if (Key.isDown(Key.DOWN)) {
_parent.gotoAndPlay(21);
} else if (Key.isDown(Key.SPACE)) {
_root.how.gotoAndPlay(2);
_root.howp = true;
}
}
}
Symbol 66 MovieClip Frame 30
gotoAndPlay (1);
Symbol 66 MovieClip Frame 40
gotoAndPlay (20);
Symbol 66 MovieClip Frame 50
gotoAndPlay (10);
Symbol 66 MovieClip Frame 60
gotoAndPlay (1);
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 30
gotoAndPlay (1);
Symbol 80 MovieClip Frame 60
gotoAndPlay (1);
_root.NewHeights();
_root.render();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 2
stop();