Frame 1
Stage.scaleMode = "noScale";
Instance of Symbol 118 MovieClip in Frame 1
onClipEvent (load) {
percent = 0;
loadOnce = true;
}
onClipEvent (enterFrame) {
if (loadOnce) {
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent = percent - ((percent - ((loading / total) * 100)) * 0.25);
_xscale = Math.round(percent);
if (percent > 99) {
loadOnce = false;
_parent.play();
} else {
_parent.stop();
}
}
}
Frame 2
stop();
Frame 3
stop();
Frame 4
play();
var Suckmydick = new Sound(this);
Suckmydick.attachSound("suckmydick");
Suckmydick.setVolume(50);
Suckmydick.start(0, 999);
Frame 26
function CreateBuilding() {
buildings_mc.attachMovie("building", "build" + bcount, buildings_mc.getNextHighestDepth());
curBuild = _root.buildings_mc["build" + bcount];
curBuild._y = 300;
curBuild._x = 900;
bcount++;
}
function CreateEnemy(stage) {
_root.attachMovie("enemy", "e" + ecount, getNextHighestDepth());
curEnemy = _root["e" + ecount];
curEnemy._x = 660;
curEnemy._y = 346;
ecount++;
}
stop();
this.createEmptyMovieClip("buildings_mc", getNextHighestDepth());
buildings_mc._x = 0;
buildings_mc._y = 0;
buildings_mc.swapDepths(curb_mc);
var timer_building = 0;
var timer_enemy = 0;
var bcount = 0;
main_mc.swapDepths(curb_mc);
var scount = 0;
var ecount = 0;
var dcount = 0;
var acount = 0;
_quality = "MEDIUM";
var step1 = new Sound(main_mc.legs_mc);
step1.attachSound("step1");
var step2 = new Sound(main_mc.legs_mc);
step2.attachSound("step2");
step1.setVolume(100);
step2.setVolume(100);
onEnterFrame = function () {
if (timer_building < 0) {
CreateBuilding();
timer_building = 22;
} else {
timer_building--;
}
if (timer_enemy < 0) {
CreateEnemy();
timer_enemy = 30;
} else {
timer_enemy--;
}
glow_mc.swapDepths(_root.getNextHighestDepth());
border_mc.swapDepths(_root.getNextHighestDepth());
if (hitting) {
if (main_mc.upperbody_mc._currentframe != 1) {
if (main_mc.upperbody_mc._currentframe == 2) {
if (main_mc.upperbody_mc.swing1_mc._currentframe == 6) {
sp1._x = main_mc._x + 82;
sp1._y = main_mc._y - 42;
} else if (main_mc.upperbody_mc.swing1_mc._currentframe == 7) {
sp1._x = main_mc._x + 87;
sp1._y = main_mc._y - 90;
} else if (main_mc.upperbody_mc.swing1_mc._currentframe == 8) {
sp1._x = main_mc._x + 55;
sp1._y = main_mc._y - 140;
} else if (main_mc.upperbody_mc.swing1_mc._currentframe == 9) {
sp1._x = main_mc._x + 51;
sp1._y = main_mc._y - 145;
}
} else if (main_mc.upperbody_mc._currentframe == 3) {
if (main_mc.upperbody_mc.swing2_mc._currentframe == 14) {
sp1._x = main_mc._x + 50;
sp1._y = main_mc._y - 75;
} else if (main_mc.upperbody_mc.swing2_mc._currentframe == 15) {
sp1._x = main_mc._x + 60;
sp1._y = main_mc._y - 75;
} else if (main_mc.upperbody_mc.swing2_mc._currentframe == 16) {
sp1._x = main_mc._x + 80;
sp1._y = main_mc._y - 75;
} else if (main_mc.upperbody_mc.swing2_mc._currentframe == 17) {
sp1._x = main_mc._x + 85;
sp1._y = main_mc._y - 75;
}
} else if (main_mc.upperbody_mc._currentframe == 4) {
if (main_mc.upperbody_mc.swing3_mc._currentframe == 12) {
sp1._x = main_mc._x + 65;
sp1._y = main_mc._y - 165;
} else if (main_mc.upperbody_mc.swing3_mc._currentframe == 13) {
sp1._x = main_mc._x + 90;
sp1._y = main_mc._y - 120;
} else if (main_mc.upperbody_mc.swing3_mc._currentframe == 14) {
sp1._x = main_mc._x + 100;
sp1._y = main_mc._y - 86;
} else if (main_mc.upperbody_mc.swing3_mc._currentframe == 15) {
sp1._x = main_mc._x + 80;
sp1._y = main_mc._y - 50;
}
}
dis = sp1._x - main_mc._x;
if (main_mc._xscale < 0) {
if (dis < 0) {
dis = dis * -1;
}
sp1._x = sp1._x - (dis * 2);
}
}
} else {
sp1._x = -100;
sp1._y = -100;
}
};
_global.BloodShower = function (object, number, number2) {
a = 0;
while (a < number) {
attachMovie("blood", "d" + dcount, _root.getNextHighestDepth());
_root["d" + dcount].object = object;
dcount++;
a++;
}
a = 0;
while (a < number2) {
attachMovie("explosion", "a" + acount, _root.getNextHighestDepth());
_root["a" + acount].object = object;
acount++;
a++;
}
};
_global.changeXY = function (object) {
object._x = object._x + (object.sp * Math.sin((object.dir * 3.141) / 180));
object._y = object._y - (object.sp * Math.cos((object.dir * 3.141) / 180));
};
_global.Scream = function (object) {
r = random(3) + 1;
var _local1 = new Sound(object);
if (r == 1) {
_local1.attachSound("d1");
}
if (r == 2) {
_local1.attachSound("d2");
}
if (r == 3) {
_local1.attachSound("d3");
}
_local1.start();
};
Instance of Symbol 197 MovieClip "main_mc" in Frame 26
onClipEvent (load) {
yp = 0;
xp = 0;
rest = true;
groundHit = false;
}
onClipEvent (enterFrame) {
upperbody_mc._rotation = upperbody_mc._rotation * 0.8;
legs_mc._rotation = legs_mc._rotation * 0.3;
_y = (_y + yp);
_x = (_x + xp);
xp = xp * 0.95;
yp = yp + 1.4;
a = 0;
while (this.hitTest(_root.ground_mc)) {
_y = (_y - 0.1);
_y - 0.1;
(yp = 0);
}
if (_y > 320) {
groundHit = true;
legs_mc.play();
} else {
groundHit = false;
if (yp < 0) {
legs_mc.gotoAndStop("jumpUp");
upperbody_mc._rotation = 10;
} else {
legs_mc.gotoAndStop("jumpDown");
}
}
if ((Key.isDown(38) && (yp >= 0)) && (legs_mc.walkEnd == false)) {
if (groundHit == true) {
yp = -25;
}
}
if (Key.isDown(39)) {
xp = xp + 0.7;
} else if (Key.isDown(37)) {
xp = xp - 0.7;
}
if (Key.isDown(65) && (upperbody_mc.rest == true)) {
upperbody_mc.gotoAndStop("swing1");
} else if (Key.isDown(83) && (upperbody_mc.rest == true)) {
upperbody_mc.gotoAndStop("swing2");
} else if (Key.isDown(87) && (upperbody_mc.rest == true)) {
upperbody_mc.gotoAndStop("swing3");
} else if (upperbody_mc.rest == true) {
upperbody_mc.gotoAndStop("rest");
}
if (_x < 10) {
_x = 10;
xp = 0;
} else if (_x > 590) {
_x = 590;
xp = 0;
}
}
Instance of Symbol 200 MovieClip "glow_mc" in Frame 26
onClipEvent (enterFrame) {
if (_root.buildings_mc.hitTest(_x, _y, 1) or _root.mountains_mc.hitTest(_x, _y, 1)) {
_alpha = (_alpha - 10);
} else {
_alpha = (_alpha + 10);
}
if (_alpha < 0) {
_alpha = 0;
} else if (_alpha > 30) {
_alpha = 30;
}
}
Symbol 19 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 19 MovieClip Frame 51
stop();
Symbol 20 MovieClip [explosion] Frame 1
_x = ((object._x + random(20)) - 10);
_y = ((object._y + random(20)) - 10);
_alpha = (random(60) + 40);
xp = random(4) - 2;
yp = random(2) + 1;
_rotation = random(360);
Instance of Symbol 13 MovieClip in Symbol 20 MovieClip [explosion] Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + (random(20) + 10));
if (_alpha > 100) {
_alpha = 100;
}
}
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip [explosion] Frame 1
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
_alpha = (_alpha - random(5));
if (_alpha < 0) {
_alpha = 0;
}
}
Symbol 20 MovieClip [explosion] Frame 2
_y = (_y - yp);
_x = (_x + xp);
xp = xp * 0.99;
_alpha = (_alpha - 3);
if (_alpha < 3) {
removeMovieClip(this);
}
_x = (_x - 10);
Symbol 20 MovieClip [explosion] Frame 3
gotoAndPlay (2);
Symbol 30 MovieClip Frame 1
stop();
gotoAndStop(random(3) + 1);
Instance of Symbol 24 MovieClip in Symbol 32 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x + 2);
}
Symbol 33 MovieClip [building] Frame 1
bin_mc.gotoAndStop(random(3) + 1);
onEnterFrame = function () {
_x = (_x - 20);
if (_x < -200) {
removeMovieClip(this);
}
s1_mc._xscale = (_x - 464) / 3;
s2_mc._xscale = (_x - 164) / -3;
};
Symbol 36 MovieClip [smoke] Frame 1
rot = random(30) - 15;
_rotation = random(360);
_alpha = (random(80) + 20);
_xscale = (random(50) + 50);
yp = (3 * Math.random()) + 1;
xp = (2 * Math.random()) + 3;
_yscale = _xscale;
onEnterFrame = function () {
_alpha = (_alpha - 1);
_rotation = (_rotation + rot);
_y = (_y - yp);
_x = (_x - xp);
_xscale = (_xscale+1);
_yscale = _xscale;
if (_alpha < 3) {
removeMovieClip(this);
}
};
Symbol 84 MovieClip Frame 1
Scream(this);
Symbol 84 MovieClip Frame 21
stop();
Symbol 102 MovieClip Frame 1
Scream(this);
Symbol 102 MovieClip Frame 17
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
_root.attachMovie("enemy1head", "h" + _parent._parent._name, _root.getNextHighestDepth());
head = _root["h" + _parent._parent._name];
head.object = _parent._parent;
Symbol 105 MovieClip [enemy] Frame 1
enemy.gotoAndStop(random(1) + 1);
xp = 0;
alive = true;
laughed = false;
onEnterFrame = function () {
if (alive) {
_x = (_x + (xp - 15));
xp = xp * 0.9;
if ((this.hitTest(_root.main_mc._x, _root.main_mc._y - 20, 1) && (_root.main_mc.yp > 10)) && ((_root.main_mc._y - _y) < -100)) {
BloodShower(_root.main_mc, 10 + random(10), 0);
enemy_mc.enemy_mc.gotoAndStop(3);
xp = 5;
}
if (this.hitTest(_root.sp1._x, _root.sp1._y, 1)) {
xp = xp + 10;
if (_root.hitting == true) {
ss = _root.main_mc.upperbody_mc.curPos;
alive = false;
BloodShower(_root.sp1, 10 + random(10), 0);
if ((ss == "slice1") or (ss == "slice2")) {
enemy_mc.enemy_mc.gotoAndStop(2);
xp = 20;
}
if (ss == "slice3") {
enemy_mc.enemy_mc.gotoAndStop(3);
xp = 5;
}
}
}
if ((_x < _root.main_mc._x) && (laughed == false)) {
r = random(2) + 1;
if (r == 1) {
var _local3 = new Sound(this);
_local3.attachSound("Laugh");
_local3.start();
}
if (r == 2) {
var _local3 = new Sound(this);
_local3.attachSound("Laugh2");
_local3.start();
}
laughed = true;
}
} else {
_x = (_x + (xp - 20));
xp = xp * 0.9;
}
if (_x < -300) {
removeMovieClip(this);
}
};
Symbol 107 MovieClip [enemy1head] Frame 1
_x = object._x;
_y = (object._y - 100);
rot = random(40) - 20;
xp = random(20);
yp = random(5) + 10;
hits = 0;
Symbol 107 MovieClip [enemy1head] Frame 2
if (xp > 25) {
xp = 25;
}
if (yp > 20) {
yp = 20;
}
_x = (_x + (xp - 7));
_y = (_y - yp);
yp = yp - 1.5;
xp = xp * 0.9;
if (_root.ground_mc.hitTest(_x, _y + 10, 1)) {
yp = yp * -0.8;
_y = (_y - 7);
rot = random(20) + 10;
}
if ((_root.main_mc.hitTest(_x, _y, 1) && (hits < 2)) && (_x > _root.main_mc._x)) {
hits++;
xp = xp + (25 + random(15));
_x = (_x + 20);
rot = 40;
}
_rotation = (_rotation + rot);
rot = rot * 0.95;
if (_x < -40) {
removeMovieClip(this);
}
Symbol 107 MovieClip [enemy1head] Frame 3
gotoAndPlay (2);
Symbol 111 MovieClip [blood] Frame 1
dir = random(360);
yp = 0;
fix = 0;
_alpha = 150;
sp = (10 * Math.random()) + 1;
_x = object._x;
_y = object._y;
Symbol 111 MovieClip [blood] Frame 2
changeXY(this);
_rotation = dir;
if ((dir > 0) && (dir < 180)) {
dir = dir + fix;
} else {
dir = dir - fix;
}
if (fix < 15) {
fix = fix + ((fix + 20) / 200);
} else {
fix = 15;
}
sp = sp * 0.95;
yp = yp + 0.1;
_y = (_y + yp);
_alpha = (_alpha - 10);
if (_alpha < 3) {
removeMovieClip(this);
}
_x = (_x - 10);
if (_root.main_mc.hitTest(_x, _y, 1)) {
_x = (_x + 6);
dir = 90;
_alpha = (_alpha + 9.5);
}
if (_root.ground_mc.hitTest(_x, _y + 5, 1)) {
yp = 0;
_y = (_y - 3);
}
Symbol 111 MovieClip [blood] Frame 3
gotoAndPlay (2);
Symbol 123 Button
on (release) {
nextFrame();
}
Symbol 126 Button
on (release) {
_root.play();
}
Symbol 128 MovieClip Frame 65
stop();
Symbol 132 MovieClip Frame 14
stop();
Symbol 133 MovieClip Frame 20
stop();
Symbol 140 MovieClip Frame 7
gotoAndPlay (1);
Symbol 148 MovieClip Frame 396
gotoAndPlay (1);
Symbol 164 MovieClip Frame 1
walkEnd = false;
_parent.yPush = 0;
_root.step2.start();
Symbol 164 MovieClip Frame 2
_parent.yPush = 0.1;
Symbol 164 MovieClip Frame 3
_parent.yPush = 0.3;
Symbol 164 MovieClip Frame 4
_parent.yPush = 0.5;
Symbol 164 MovieClip Frame 5
_parent.yPush = 0.8;
Symbol 164 MovieClip Frame 6
_parent.yPush = 0.9;
Symbol 164 MovieClip Frame 7
_parent.yPush = 1;
Symbol 164 MovieClip Frame 11
_parent.yPush = 0.5;
_root.step1.start();
Symbol 164 MovieClip Frame 12
_parent.yPush = 0.1;
Symbol 164 MovieClip Frame 13
_parent.yPush = 0.3;
Symbol 164 MovieClip Frame 14
_parent.yPush = 0.5;
Symbol 164 MovieClip Frame 15
_parent.yPush = 0.8;
Symbol 164 MovieClip Frame 16
_parent.yPush = 0.9;
Symbol 164 MovieClip Frame 21
gotoAndPlay (1);
Symbol 164 MovieClip Frame 22
walkEnd = true;
Symbol 164 MovieClip Frame 25
_root.step1.start();
_root.step2.start();
_parent.xp = _parent.xp - 5;
Symbol 175 MovieClip Frame 1
_alpha = 10;
sx = _x;
sy = _y;
rot = random(20) - 10;
Symbol 175 MovieClip Frame 2
onEnterFrame = function () {
_alpha = (_alpha - 1);
_xscale = (_xscale + scale);
scale = scale * 0.9;
_yscale = _xscale;
_rotation = (_rotation + rot);
if (_alpha < 0) {
scale = 10;
gotoAndPlay(random(3) + 1);
_xscale = (random(50) + 20);
_yscale = _xscale;
_x = ((sx + random(4)) - 2);
_y = ((sy + random(4)) - 2);
rot = random(20) - 10;
_rotation = random(360);
_alpha = (random(20) + 80);
}
};
Symbol 175 MovieClip Frame 5
gotoAndPlay (2);
Symbol 186 MovieClip Frame 1
onEnterFrame = function () {
if (_root.armorType == 1) {
gotoAndStop (1);
}
if (_root.armorType == 2) {
gotoAndStop (2);
}
};
Instance of Symbol 177 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 193 MovieClip Frame 1
_parent.rest = false;
Symbol 193 MovieClip Frame 4
_root.hitting = true;
Symbol 193 MovieClip Frame 10
_root.hitting = false;
Symbol 193 MovieClip Frame 26
_parent.rest = true;
Symbol 194 MovieClip Frame 1
_parent.rest = false;
Symbol 194 MovieClip Frame 10
_root.hitting = true;
Symbol 194 MovieClip Frame 27
_root.hitting = false;
Symbol 194 MovieClip Frame 33
_parent.rest = true;
Symbol 195 MovieClip Frame 1
_parent.rest = false;
Symbol 195 MovieClip Frame 12
_root.hitting = true;
Symbol 195 MovieClip Frame 20
_root.hitting = false;
Symbol 195 MovieClip Frame 28
_parent.rest = true;
Symbol 196 MovieClip Frame 1
curPos = "rest";
rest = true;
Symbol 196 MovieClip Frame 2
curPos = "slice1";
Symbol 196 MovieClip Frame 3
curPos = "slice2";
Symbol 196 MovieClip Frame 4
curPos = "slice3";
Symbol 198 MovieClip Frame 1
_visible = false;