Frame 34
stop();
Instance of Symbol 94 MovieClip in Frame 34
on (release) {
_root.gotoAndPlay(35);
}
Instance of Symbol 95 MovieClip in Frame 34
on (release) {
getURL ("http://www.armorgames.com", _blank);
}
Frame 70
_root.badguysnum = 5;
stop();
Instance of Symbol 101 MovieClip in Frame 70
on (release) {
_root.changeablegravityenemy = 0.5;
_root.changeablejumpenemy = -15;
_root.changeablejump = -15;
_root.changeablegravity = 0.5;
}
Instance of Symbol 103 MovieClip in Frame 70
on (release) {
_root.changeablegravityenemy = 1;
_root.changeablejumpenemy = -11;
_root.changeablejump = -11;
_root.changeablegravity = 1;
}
Instance of Symbol 105 MovieClip in Frame 70
on (release) {
_root.changeablegravityenemy = 2.5;
_root.changeablejumpenemy = -10;
_root.changeablejump = -10;
_root.changeablegravity = 2.25;
}
Instance of Symbol 107 MovieClip in Frame 70
on (release) {
_root.changeablespeedenemy = 0.4;
_root.changeablespeed = 0.4;
}
Instance of Symbol 109 MovieClip in Frame 70
on (release) {
_root.changeablespeedenemy = 1;
_root.changeablespeed = 1;
}
Instance of Symbol 101 MovieClip in Frame 70
on (release) {
_root.changeabledecreaseenemy = 0.4;
_root.changeabledecrease = 4;
}
Instance of Symbol 103 MovieClip in Frame 70
on (release) {
_root.changeabledecreaseenemy = 0.8;
_root.changeabledecrease = 8;
}
Instance of Symbol 105 MovieClip in Frame 70
on (release) {
_root.changeabledecreaseenemy = 1.1;
_root.changeabledecrease = 14;
}
Instance of Symbol 111 MovieClip in Frame 70
on (release) {
_root.play();
}
Instance of Symbol 113 MovieClip in Frame 70
on (release) {
_root.badguysnum = 5;
}
Instance of Symbol 115 MovieClip in Frame 70
on (release) {
_root.badguysnum = 1;
}
Instance of Symbol 117 MovieClip in Frame 70
on (release) {
_root.badguysnum = 7;
}
Instance of Symbol 119 MovieClip in Frame 70
on (release) {
_root.badguysnum = 3;
}
Frame 71
stop();
_root.cover._alpha = 0;
_root.deaths = 0;
_root.gooddeaths = 0;
var a = 1000;
var b = 1;
_root.badnum = _root.badguysnum + 1;
trace(_root.badnum);
_root.blah = 0;
trace(_root.badguysnum);
if (_root.badnum > 10) {
_root.badnum = 10;
}
b = 1;
while (b < _root.badnum) {
duplicateMovieClip ("bad", "bg" + b, b + 100);
_root["bg" + b].nname = "whatever";
_root["bg" + b]._x = 66;
_root["bg" + b]._y = 43;
_root["bg" + b].num = b;
_root["bg" + b].shoot = "shoot" + b;
duplicateMovieClip ("bgun", "bgun" + b, b + 200);
_root["bgun" + b]._x = _root["bg" + b]._x;
_root["bgun" + b]._y = _root["bg" + b]._y;
_root["bgun" + b].num = b;
b++;
}
_root.onMouseDown = function () {
if (_root.alive == true) {
a++;
if (a > 1100) {
a = 1000;
}
duplicateMovieClip ("bullet", "bullet" + a, a);
}
};
_root.onEnterFrame = function () {
if (_root.gooddeaths == 3) {
_root.gotoAndStop(73);
}
if (_root.deaths == _root.badguysnum) {
_root.gotoAndStop(72);
}
};
_root.cover.swapDepths(_root.getNextHighestDepth());
Instance of Symbol 139 MovieClip "barrel1" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 139 MovieClip "barrel2" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 139 MovieClip "barrel3" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 139 MovieClip "barrel4" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 139 MovieClip "barrel5" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 139 MovieClip "barrel6" in Frame 71
onClipEvent (load) {
this._x = random(300) + 200;
this.num = 7;
}
onClipEvent (enterFrame) {
if (num == 0) {
explode = true;
}
if (explode == true) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.guy._x, _root.guy._y, true)) {
if (explode == true) {
_root.mainhealth = _root.mainhealth - 15;
}
}
i = 1;
while (i < _root.badnum) {
if (this.hitTest(_root["bg" + i])) {
if (explode == true) {
_root["bg" + i].hp = _root["bg" + i].hp - 20;
}
}
i++;
}
}
Instance of Symbol 152 MovieClip "guy" in Frame 71
onClipEvent (load) {
_root.gameover = false;
_root.lives = 3;
xspeed = 0;
gravity = 0;
decrease = 0.9;
scale = this._xscale;
jumping = false;
sliding = false;
holding = false;
crouching = false;
_root.mainhealth = 100;
_root.alive = true;
_root.createTextField("mainhp", _root.getNextHighestDepth(), _root.guy._x, _root.guy._y - 50, 100, 30);
_root.createTextField("livesleft", _root.getNextHighestDepth(), _root.guy._x, _root.guy._y - 70, 100, 30);
_root.changeablespeed = 0.5;
_root.changeablejump = -11;
_root.changeabledecrease = 10;
_root.changeablegravity = 1;
respawnspot = false;
}
onClipEvent (enterFrame) {
_root.gooddeaths = 3 - _root.lives;
if (_root.mainhealth > 100) {
_root.mainhealth = 100;
}
if (respawnspot == true) {
respawnspot = false;
this._x = 250;
this._y = 10;
}
if (_root.mainhealth > 0) {
_root.alive = true;
_alpha = 100;
}
if (_root.mainhealth < 0) {
_root.mainhealth = 0;
}
if (_root.mainhealth == 0) {
_root.lives = _root.lives - 1;
_root.alive = false;
_root.mainhealth = 100;
_alpha = 0;
respawnspot = true;
i = 0;
while (i < 3) {
_root.skull.duplicateMovieClip("sk" + i, i + 8000);
_root["sk" + i]._x = this._x;
_root["sk" + i]._y = this._y;
i++;
}
}
if (_root.lives == 0) {
_root.mainhp.removeMovieClip();
_root.livesleft.removeMovieClip();
this._alpha = this._alpha - 3;
_root.gameover = true;
_root.alive = false;
trace("deaD");
}
if (_root.lives < 0) {
_root.lives = 0;
_root.alive = false;
}
_root.mainhp.text = "HP: " + _root.mainhealth;
_root.mainhp._x = _root.guy._x;
_root.mainhp._y = _root.guy._y - 50;
_root.livesleft.text = "Lives: " + _root.lives;
_root.livesleft._x = _root.guy._x;
_root.livesleft._y = _root.guy._y - 70;
if (_root.alive == false) {
this.gotoAndStop(7);
}
if (_root.alive == true) {
this._x = this._x + xspeed;
if (Key.isDown(39)) {
holding = true;
_xscale = scale;
xspeed = xspeed + _root.changeablespeed;
} else if (Key.isDown(37)) {
holding = true;
_xscale = (-scale);
xspeed = xspeed - _root.changeablespeed;
} else {
holding = false;
}
xspeed = xspeed * decrease;
if (xspeed > (_root.changeablespeed * 10)) {
xspeed = _root.changeablespeed * 10;
} else if (xspeed < ((-_root.changeablespeed) * 10)) {
xspeed = (-_root.changeablespeed) * 10;
}
if (xspeed < 0.25) {
if (xspeed > -0.25) {
xspeed = 0;
sliding = false;
}
}
if (Math.abs(xspeed) > 0) {
if (holding == false) {
sliding = true;
}
}
this._y = this._y + gravity;
if (_root.ground.hitTest(_x, _y + 14, true)) {
if (gravity > 0) {
gravity = 0;
jumping = false;
}
} else {
gravity = gravity + _root.changeablegravity;
}
if (Key.isDown(38)) {
if (jumping == false) {
jumping = true;
gravity = _root.changeablejump;
}
}
if (Key.isDown(40)) {
if (gravity == 0) {
if (holding == false) {
crouching = true;
}
}
} else {
crouching = false;
}
if (crouching == true) {
if (jumping == false) {
decrease = _root.changeabledecrease * 0.06;
}
} else {
decrease = _root.changeabledecrease * 0.09;
}
if (_root.ground.hitTest(_x + 15, _y, true)) {
xspeed = Math.abs(xspeed) * -0.6;
}
if (_root.ground.hitTest(_x - 15, _y, true)) {
xspeed = Math.abs(xspeed) * 0.6;
}
if (_root.ground.hitTest(_x + 7.5, _y + 7.5, true)) {
this._y = this._y - 2.5;
}
if (_root.ground.hitTest(_x + 7.5, _y + 7.5, true)) {
this._y = this._y - 2.5;
}
if (jumping == true) {
this.gotoAndStop(2);
} else if (xspeed != 0) {
if (sliding == false) {
if (crouching == false) {
this.gotoAndStop(1);
}
}
} else if (xspeed == 0) {
if (jumping == false) {
if (holding == false) {
if (gravity == 0) {
if (crouching == false) {
this.gotoAndStop(1);
}
}
}
}
} else if (gravity > 0) {
if (jumping == false) {
this.gotoAndStop(4);
}
}
if (sliding == true) {
if (jumping == false) {
if (crouching == false) {
this.gotoAndStop(3);
}
}
}
if (crouching == true) {
if (jumping == false) {
this.gotoAndStop(5);
}
}
if (alive == false) {
this.gotoAndStop(6);
}
}
}
Instance of Symbol 154 MovieClip "gun" in Frame 71
onClipEvent (load) {
this._x = _root.guy._x;
this._y = _root.guy._y;
xs = this._xscale;
this.gotoAndStop(1);
}
onClipEvent (mouseMove) {
if (_root.alive == true) {
xdistance = _root._xmouse - this._x;
ydistance = _root._ymouse - this._y;
radAngle = Math.atan2(ydistance, xdistance);
this._rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
}
if (xdistance > 0) {
this._xscale = xs;
} else {
this._xscale = -xs;
}
}
onClipEvent (enterFrame) {
if (_root.lives == 0) {
this._alpha = this._alpha - 3;
}
if (this._alpha == 0) {
this.removeMovieClip();
}
this._x = _root.guy._x;
this._y = _root.guy._y;
}
Instance of Symbol 157 MovieClip "bullet" in Frame 71
onClipEvent (load) {
speed = 13;
this._x = _root.gun._x;
this._y = _root.gun._y;
this._rotation = _root.gun._rotation + (random(10) - 5);
damage = 5;
j = 0;
k = 0;
l = 0;
}
onClipEvent (enterFrame) {
if (this._name == "bullet") {
this._x = -1000;
} else if (this._rotation > 180) {
this._y = this._y + (speed * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x - (speed * Math.sin((Math.PI/180) * this._rotation));
} else {
this._y = this._y - (speed * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x + (speed * Math.sin((Math.PI/180) * this._rotation));
}
a = 0;
while (a < _root.badnum) {
if (_root["bg" + a].hitTest(_x, _y, true)) {
_root["bg" + a].hp = _root["bg" + a].hp - damage;
this.removeMovieClip();
}
a++;
}
z = 1;
while (z < 7) {
if (this.hitTest(_root["barrel" + z])) {
_root["barrel" + z].num = _root["barrel" + z].num - 1;
y = 0;
while (y < 100) {
_root.goo.duplicateMovieClip("goo" + y, y + 5000);
_root["goo" + y]._x = this._x;
_root["goo" + y]._y = this._y;
_root["goo" + y]._rotation = this._rotation;
this.removeMovieClip();
y++;
}
}
z++;
}
if ((((this._x > 950) || (this._x < -400)) || (this._y > 800)) || (this._y < -400)) {
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
j = 0;
while (j < 100) {
_root.bullethole.duplicateMovieClip("bh" + j, k + 4300);
_root["bh" + j]._x = this._x;
_root["bh" + j]._y = this._y;
_root["bh" + j]._rotation = this._rotation;
this.removeMovieClip();
j++;
}
}
}
Instance of Symbol 158 MovieClip "bullethole" in Frame 71
onClipEvent (load) {
number = 0;
if (this._name == "bullethole") {
this._x = 10000;
this._y = 10000;
}
}
onClipEvent (enterFrame) {
number++;
if (this._name != "bullethole") {
if (number > 6) {
this.removeMovieClip();
}
}
}
Instance of Symbol 160 MovieClip "goo" in Frame 71
onClipEvent (load) {
this._alpha = random(30) + 30;
a = 0;
}
onClipEvent (enterFrame) {
a++;
if (a > 12) {
this.removeMovieClip();
}
}
Instance of Symbol 162 MovieClip "bgun" in Frame 71
onClipEvent (load) {
if (this._name == "bgun") {
this._x = 10000;
this._y = 10000;
xs = this._xscale;
}
alive = true;
}
onClipEvent (enterFrame) {
if (alive == true) {
if (_root["bg" + this.num].alive == false) {
alive = false;
}
if (this._rotation < 180) {
this._xscale = -xs;
} else {
this._xscale = xs;
}
this._x = _root["bg" + this.num]._x;
this._y = _root["bg" + this.num]._y;
xdistance = _root.guy._x - this._x;
ydistance = _root.guy._y - this._y;
radAngle = Math.atan2(ydistance, xdistance);
this._rotation = int(((radAngle * 360) / (Math.PI*2)) + 90);
}
if (alive == false) {
this._alpha = this._alpha - 2;
}
if (this._alpha < 0) {
this.removeMovieClip();
}
if (this.hitTest(_root.invisAI)) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 164 MovieClip "badbullet" in Frame 71
onClipEvent (load) {
speed = 20;
this._x = _root["bgun" + number]._x;
this._y = _root["bgun" + number]._y;
this._rotation = _root["bgun" + number]._rotation;
damage = random(2) + 2;
j = 0;
k = 0;
l = 0;
}
onClipEvent (enterFrame) {
shaken++;
if (this._rotation > 180) {
this._y = this._y + (speed * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x - (speed * Math.sin((Math.PI/180) * this._rotation));
} else {
this._y = this._y - (speed * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x + (speed * Math.sin((Math.PI/180) * this._rotation));
}
if (this.hitTest(_root.guy)) {
_root.mainhealth = _root.mainhealth - damage;
this.removeMovieClip();
}
if ((((this._x > 950) || (this._x < -400)) || (this._y > 800)) || (this._y < -400)) {
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
j = 0;
while (j < 100) {
_root.bullethole.duplicateMovieClip("ebh" + j, k + 3900);
_root["ebh" + j]._x = this._x;
_root["ebh" + j]._y = this._y;
_root["ebh" + j]._rotation = this._rotation;
this.removeMovieClip();
j++;
}
}
}
Instance of Symbol 174 MovieClip "bad" in Frame 71
onClipEvent (load) {
this.lockback.gotoAndStop(random(4) + 1);
if (this.num == 1) {
this.nname = "Baseball Lock";
} else if (this.num == 2) {
this.nname = "Note Lock";
} else if (this.num == 3) {
this.nname = "Weed Lock";
} else if (this.num == 4) {
this.nname = "Basketball Lock";
}
deadonce = false;
if (this._name == "bad") {
this._x = 10000;
this._y = 10000;
this.removeMovieClip();
}
action = 1;
scale = this._xscale;
farwalk = false;
gravity = 0;
jumping = false;
scale = this._xscale;
enemyside = 50;
decrease = 0.9;
xspeed = 0;
holding = false;
bullettime = random(3) + 1;
shottime = 1;
a = 0;
nextnum = this.num;
hp = 250;
alive = true;
loadx1 = 0;
loady1 = 0;
loadx2 = 0;
loady2 = 0;
loadx3 = 0;
loady3 = 0;
loadx4 = 0;
loady4 = 0;
loadx5 = 0;
loady5 = 0;
loadx6 = 0;
loady6 = 0;
voidthing = false;
right = false;
left = false;
loadnum = (random(6) + 1) * 2;
var arr = new Array(loadx1, loady1, loadx2, loady2, loadx3, loady3, loadx4, loady4, loadx5, loady5, loadx6, loady6);
_root.changeablespeedenemy = 0.5;
_root.changeablejumpenemy = -11;
_root.changeabledecreaseenemy = 1;
_root.changeablegravityenemy = 1;
if (this._name != "bad") {
this._x = random(400) + 75;
this._y = random(250) + 75;
}
}
onClipEvent (enterFrame) {
if (deadonce == true) {
deadonce = false;
_root.deaths = _root.deaths + 1;
}
if (Math.abs(enemytop) < 15) {
if (Math.abs(enemyside) > 50) {
farwalk = true;
action = 1;
}
} else {
farwalk = false;
}
if (enemytop < -30) {
if (this._y > 40) {
if (random(11) == 10) {
action = 2;
}
} else {
farwalk = true;
action = 1;
}
}
if (enemytop > 30) {
if (this._x > _root.faller._x) {
action = 1;
left = true;
right = false;
} else if (this._x < _root.faller._x) {
action = 1;
right = true;
left = false;
} else {
right = false;
left = false;
voidthing = false;
}
}
if (Math.abs(enemytop) < 20) {
if (Math.abs(enemyside) < 300) {
if (random(3) == 1) {
action = 3;
} else {
action = 1;
farwalk = true;
}
}
}
if (hp > 250) {
hp = 250;
}
if (hp < 0) {
hp = 0;
deadonce = true;
}
if (hp == 0) {
alive = false;
_root.enemydeaths = _root.enemydeaths + 1;
}
if (alive == false) {
this.gotoAndStop(6);
this._alpha = this._alpha - 2;
}
if (this._alpha < 0) {
this.removeMovieClip();
}
if (alive == true) {
disx = _root.guy._x - this._x;
disy = _root.guy._y - this._y;
dissq = (disx * disx) + (disy * disy);
dissqr = Math.sqrt(dissq);
enemyside = _root.guy._x - this._x;
enemytop = _root.guy._y - this._y;
this._x = this._x + xspeed;
xspeed = xspeed * decrease;
if (action == 1) {
if (enemyside < -80) {
if (voidthing == false) {
if (Math.abs(enemytop) < 40) {
xspeed = xspeed - _root.changeablespeedenemy;
holding = true;
}
}
} else if (enemyside > 80) {
if (voidthing == false) {
if (Math.abs(enemytop) < 40) {
xspeed = xspeed + _root.changeablespeedenemy;
holding = true;
}
}
} else if (enemyside <= 80) {
if (enemyside >= -80) {
if (voidthing == false) {
decrease = _root.changeabledecreaseenemy * 0.8;
holding = false;
}
}
} else {
decrease = _root.changeabledecreaseenemy * 0.9;
}
if (farwalk == true) {
if (voidthing == false) {
if (enemyside < 0) {
xspeed = xspeed - _root.changeablespeedenemy;
holding = true;
} else if (enemyside > 0) {
xspeed = xspeed + _root.changeablespeedenemy;
holding = true;
} else {
decrease = _root.changeabledecreaseenemy * 0.9;
}
}
}
if (xspeed > 0) {
this._xscale = scale;
} else if (xspeed < 0) {
this._xscale = -scale;
}
if (right == true) {
left = false;
xspeed = xspeed + _root.changeablespeedenemy;
holding = true;
}
if (left == true) {
right = false;
xspeed = xspeed - _root.changeablespeedenemy;
holding = true;
} else {
holding = false;
}
}
if (xspeed > 4) {
xspeed = 4;
} else if (xspeed < -4) {
xspeed = -4;
}
if (xspeed < 0.3) {
if (xspeed > -0.3) {
xspeed = 0;
}
}
if (action == 2) {
if (jumping == false) {
jumping = true;
gravity = _root.changeablejumpenemy;
_root.change = true;
}
if (enemyside < -100) {
if (enemytop < 40) {
xspeed = xspeed - _root.changeablespeedenemy;
}
} else if (enemyside > 100) {
xspeed = xspeed + _root.changeablespeedenemy;
} else if (enemyside <= 100) {
if (enemyside >= -100) {
if (enemytop < 40) {
decrease = _root.changeabledecreaseenemy * 0.85;
}
}
} else {
decrease = _root.changabledecreaseenemy * 0.9;
}
if (xspeed > 3) {
xspeed = 3;
} else if (xspeed < -3) {
xspeed = -3;
}
if (xspeed < 0.3) {
if (xspeed > -0.3) {
xspeed = 0;
}
}
}
shottime++;
if (shottime > (random(3) + 1)) {
shottime = 1;
}
if (a > 100) {
a = 0;
}
if (action == 3) {
if (shottime == 1) {
a++;
_root.badbullet.duplicateMovieClip("bb" + a, a + 4600);
_root["bb" + a]._x = this._x;
_root["bb" + a]._y = this._y;
_root["bb" + a]._rotation = _root["bgun" + this.num]._rotation;
_root["bb" + a].number = nextnum;
}
}
this._y = this._y + gravity;
if (_root.ground.hitTest(_x, _y + 12, true)) {
if (gravity > 0) {
gravity = 0;
jumping = false;
}
} else {
gravity = gravity + _root.changeablegravityenemy;
}
if (_root.ground.hitTest(_x + 15, _y, true)) {
xspeed = Math.abs(xspeed) * -0.6;
}
if (_root.ground.hitTest(_x - 15, _y, true)) {
xspeed = Math.abs(xspeed) * 0.6;
}
if (_root.ground.hitTest(_x + 7.5, _y + 7.5, true)) {
this._y = this._y - 2.5;
}
if (_root.ground.hitTest(_x + 7.5, _y + 7.5, true)) {
this._y = this._y - 2.5;
}
if (xspeed == 0) {
if (jumping == false) {
if (gravity == 0) {
this.gotoAndStop(1);
}
}
} else if (xspeed != 0) {
if (jumping == false) {
if (holding == true) {
if (gravity == 0) {
this.gotoAndStop(2);
}
}
}
}
if (jumping == true) {
this.gotoAndStop(3);
}
if (holding == false) {
if (xspeed != 0) {
if (jumping == false) {
if (gravity == 0) {
this.gotoAndStop(4);
}
}
}
}
if (gravity > 0) {
if (jumping == false) {
this.gotoAndStop(5);
}
}
}
if (xspeed == 0) {
if (gravity == 0) {
if (jumping == false) {
this.gotoAndStop(1);
}
}
}
if (xspeed != 0) {
if (gravity == 0) {
if (jumping == false) {
if (holding == true) {
this.gotoAndStop(2);
}
}
}
}
if (jumping == true) {
this.gotoAndStop(3);
}
if (xspeed != 0) {
if (gravity == 0) {
if (jumping == false) {
if (holding == false) {
this.gotoAndStop(2);
}
}
}
}
if (gravity != 0) {
if (jumping == false) {
this.gotoAndStop(3);
}
}
if (alive == false) {
this.gotoAndStop(6);
this._y = this._y + 3;
this._alpha = this._alpha - 3;
}
}
Instance of Symbol 178 MovieClip "vcam" in Frame 71
onClipEvent (load) {
this._x = _root.guy._x;
this._y = _root.guy._y;
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
this._x = this._x + xspeed;
this._y = this._y + yspeed;
xdistance = this._x - _root.guy._x;
ydistance = this._y - _root.guy._y;
if (xdistance < -10) {
xspeed = xspeed + 0.3;
} else if (xdistance > 10) {
xspeed = xspeed - 0.3;
} else {
xspeed = xspeed * 0.6;
}
if (ydistance > 10) {
yspeed = yspeed - 0.4;
} else if (ydistance < -10) {
yspeed = yspeed + 0.4;
} else {
yspeed = yspeed * 0.6;
}
}
Instance of Symbol 182 MovieClip "skull" in Frame 71
onClipEvent (load) {
if (this._name == "skull") {
this._y = -1000;
this._x = -1000;
}
speedup = 3;
}
onClipEvent (enterFrame) {
this._y = this._y - speedup;
if (this._name == "skull") {
} else {
this._alpha = this._alpha - 3;
}
if (this._alpha == 0) {
this.removeMovieClip();
}
}
Frame 72
_root.namefinish = _root.guysname.tr;
stop();
Instance of Symbol 201 MovieClip in Frame 72
on (release) {
_root.gotoAndPlay(2);
}
Frame 73
_root.namefinish = _root.guysname.tr;
stop();
Symbol 6 MovieClip [orig] Frame 5
stop();
Symbol 54 MovieClip Frame 20
stop();
Symbol 56 Button
on (release) {
_root.play();
}
Symbol 65 MovieClip Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("d92ba052", this, 10301, true);
_root.stop();
onEnterFrame = function () {
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_currentframe < percent) {
nextFrame();
}
pert = _currentframe + "%";
onMouseDown = function () {
if (percent > 99) {
gotoAndPlay (100);
}
};
};
Symbol 65 MovieClip Frame 100
stop();
Symbol 65 MovieClip Frame 134
_root.play();
Symbol 85 MovieClip Frame 12
stop();
Symbol 137 MovieClip Frame 25
stop();
Symbol 138 MovieClip Frame 26
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 157 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 6
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
stop();
Symbol 174 MovieClip Frame 3
stop();
Symbol 174 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 178 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local3 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local3);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local3;
_parent._yscale = 100 * _local4;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;