Frame 1
stop();
Frame 4
stop();
gravity = 1;
ptim = 0;
clod = false;
restitution = 0.55;
friction = 0.8;
bkb = 0;
leng = 0;
Instance of Symbol 49 MovieClip "m1" in Frame 4
onClipEvent (enterFrame) {
_x = (_x - (_root.bkb / 10));
if (_x < -23) {
_x = Number(random(Stage.width) + (Stage.width + 246));
}
}
Instance of Symbol 49 MovieClip "m1" in Frame 4
onClipEvent (enterFrame) {
_x = (_x - (_root.bkb / 10));
if (_x < -23) {
_x = Number(random(Stage.width) + (Stage.width + 246));
}
}
Instance of Symbol 51 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - (_root.bkb / 5));
if (_x < -24) {
_x = (Stage.width + 741);
}
}
Instance of Symbol 51 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - (_root.bkb / 5));
if (_x < -24) {
_x = (Stage.width + 741);
}
}
Instance of Symbol 54 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width / 2) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 82 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 137 MovieClip in Frame 4
onClipEvent (enterFrame) {
_x = (_x - _root.bkb);
if (_x < -10) {
_x = Number(random(Stage.width) + (Stage.width + 10));
gotoAndStop (1);
}
}
Instance of Symbol 139 MovieClip "rock" in Frame 4
onClipEvent (load) {
radius = _width / 2;
}
onClipEvent (enterFrame) {
if (_root.rgo == true) {
_x = 217;
_y = 364;
_rotation = (_root.rockangle + Number(random(9) - 4));
thrust = Number(_root.rockpower / 1.2) + Number(random(11) - 5);
speed = thrust;
dx = speed * Math.sin(_rotation * (Math.PI/180));
dy = (speed * Math.cos(_rotation * (Math.PI/180))) * -1;
_root.rgo = false;
_root.snd.gotoAndPlay(2);
_root.rockactive = true;
}
if (_root.rockactive == true) {
_root.ptim++;
if (((dx <= 0.5) and (dy <= 0.5)) and (_root.ptim > 55)) {
_root.nextFrame();
}
dy = dy + _root.gravity;
_x = (_x + dx);
_y = (_y + dy);
if ((_y + radius) > Stage.height) {
_y = (Stage.height - radius);
dy = dy * (-_root.restitution);
dx = dx * _root.friction;
}
if ((_x + radius) > Stage.width) {
_x = (Stage.width - radius);
dx = dx * (-_root.restitution);
}
if (_x < radius) {
_x = radius;
dx = dx * (-_root.restitution);
}
if (_x >= (Stage.width / 2)) {
_root.bkb = _x - (Stage.width / 2);
_x = (_x - _root.bkb);
_root.leng = _root.leng + _root.bkb;
}
}
}
Frame 5
_root.leng = Number(_root.leng) / 10;
_root.leng = Math.round(_root.leng);
_root.leng2 = "Distance Score: " + _root.leng;
_root.score2 = "Kill Score: " + _root.score;
_root.tot2 = 0;
_root.qtot = Number(_root.leng) * Number(_root.score);
Instance of Symbol 156 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.tot2 < _root.qtot) {
_root.tot2 = Number(_root.tot2) + (_root.qtot / 100);
} else {
_root.tot = "Total Score: " + Math.round(_root.qtot);
}
_root.tot = "Total Score: " + Math.round(_root.tot2);
}
Symbol 9 Button
on (release) {
getURL ("http://www.onlinegames.net", "_blank");
}
Symbol 19 MovieClip Frame 177
stop();
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip Frame 177
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
with (_level0) {
nextFrame();
}
}
}
Symbol 29 Button
on (release, keyPress "<Enter>") {
gotoAndStop (4);
}
Symbol 35 Button
on (release) {
nextFrame();
}
Symbol 42 Button
on (release) {
getURL ("http://www.onlinegames.net", "_blank");
}
Symbol 46 Button
on (release, keyPress "<Enter>") {
nextFrame();
}
Symbol 68 Button
on (release, keyPress "<Down>") {
_root.rockangle = arrow._rotation;
nextFrame();
}
Symbol 74 Button
on (release) {
pbar._xscale = pbar._xscale + 6.6;
}
Instance of Symbol 76 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
numc = 0;
cnum = 6;
}
onClipEvent (enterFrame) {
if (cnum == 0) {
numc = 0;
cnum = 1;
_root.rockpower = _parent._parent.pbar._xscale;
_parent._parent.nextFrame();
}
if (numc >= 18) {
numc = 0;
cnum = cnum - 1;
_xscale = 100;
_yscale = 100;
_alpha = 100;
}
numc++;
_xscale = (_xscale - 3);
_yscale = (_yscale - 3);
_alpha = (_alpha - 3);
}
Symbol 82 MovieClip Frame 33
stop();
Instance of Symbol 66 MovieClip "arrow" in Symbol 82 MovieClip Frame 33
onClipEvent (load) {
rnum = 10;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + rnum);
if (_rotation > 90) {
rnum = -10;
}
if (_rotation < 0) {
rnum = 10;
}
}
Instance of Symbol 73 MovieClip "pbar" in Symbol 82 MovieClip Frame 34
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
if (_root.clod == false) {
_root.clod = true;
_xscale = (_xscale + 10);
}
} else {
_root.clod = false;
}
_xscale = (_xscale - 3);
if (_xscale >= 100) {
_xscale = 100;
}
if (_xscale <= 10) {
_xscale = 10;
}
}
Symbol 82 MovieClip Frame 35
play();
Symbol 82 MovieClip Frame 37
stop();
_root.rgo = true;
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 84 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
headx = _x + _parent._x;
heady = _y + _parent._y;
if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) {
} else {
_parent.gotoAndPlay("head1");
}
}
Instance of Symbol 86 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
headx = _x + _parent._x;
heady = _y + _parent._y;
if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) {
} else {
_parent.gotoAndPlay("spine1");
}
}
Instance of Symbol 88 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
headx = _x + _parent._x;
heady = _y + _parent._y;
if ((((_root.rock._x < (headx - _width)) or (_root.rock._x > (headx + _width))) or (_root.rock._y < (heady - _height))) or (_root.rock._y > (heady + _height))) {
} else {
_parent.gotoAndPlay("torso" + Number(random(2) + 1));
}
}
Symbol 137 MovieClip Frame 3
_root.score = Number(_root.score) + 3;
Symbol 137 MovieClip Frame 17
stop();
Symbol 137 MovieClip Frame 19
_root.score++;
_root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 25
stop();
Symbol 137 MovieClip Frame 27
_root.score++;
_root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 32
stop();
Symbol 137 MovieClip Frame 34
_root.score++;
_root.score = Number(_root.score) + 1;
Symbol 137 MovieClip Frame 48
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 5
stopAllSounds();
gotoAndStop (1);
Symbol 150 Button
on (release) {
getURL ("http://www.onlinegames.net", "_blank");
}
Symbol 161 Button
on (release, keyPress "<Enter>") {
_root.tot = 0;
_root.xout = false;
_root.score = "0";
_root.leng = 0;
_root.clod = false;
_root.tot2 = 0;
_root.ptim = 0;
_root.qtot = 0;
_root.rockactive = false;
stopAllSounds();
gotoAndStop (4);
stopAllSounds();
}