Frame 1
stop();
Instance of Symbol 37 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.pr = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.nextFrame();
}
}
Frame 2
stop();
Instance of Symbol 78 MovieClip in Frame 2
onClipEvent (load) {
_root.music = new Sound();
_root.music.attachSound("lowloop");
_root.music.start(0, 9999);
}
Frame 3
stop();
hit1 = new Sound();
hit1.attachSound("au1");
hit2 = new Sound();
hit2.attachSound("au2");
Instance of Symbol 94 MovieClip "fire" in Frame 3
onClipEvent (enterFrame) {
if (_name != "fire") {
_x = (_x + speedX);
_y = (_y + speedY);
if (_root.box.hitTest(_x, _y, true) || (_root.objects.hitTest(_x, _y, true))) {
_root.tok.start(0, 1);
this.removeMovieClip();
}
if (_root.b1.hitTest(_x, _y, true) and (shotby != "b1")) {
if (_root.b1.powerup != "inv") {
_root.b1health = _root.b1health - dam;
_root.scoreboard.hoofdb1.gotoAndPlay(2);
}
this.removeMovieClip();
} else if (_root.b2.hitTest(_x, _y, true) and (shotby != "b2")) {
if (_root.b2.powerup != "inv") {
_root.b2health = _root.b2health - dam;
_root.scoreboard.hoofdb2.gotoAndPlay(2);
}
this.removeMovieClip();
}
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (load) {
function pickUp(baby, weapon, dam) {
_root[baby + "weapon"] = weapon;
_root[baby + "damage"] = dam;
_root.scoreboard[baby + "w"].gotoAndStop(weapon);
_root.scoreboard["hoofd" + baby].gotoAndPlay(29);
gotoAndPlay (1);
}
}
Instance of Symbol 75 MovieClip in Frame 3
onClipEvent (load) {
function pickUp(baby, pp) {
_root[baby].powerup = pp;
_root.scoreboard["hoofd" + baby].gotoAndPlay(26);
gotoAndPlay (1);
}
function health(baby) {
_root[baby + "health"] = _root[baby + "health"] + 25;
if (_root[baby + "health"] > 100) {
_root[baby + "health"] = 100;
}
_root.heal.start(0, 1);
gotoAndPlay (1);
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (load) {
function pickUp(baby, weapon, dam) {
_root[baby + "weapon"] = weapon;
_root[baby + "damage"] = dam;
_root.scoreboard[baby + "w"].gotoAndStop(weapon);
_root.scoreboard["hoofd" + baby].gotoAndPlay(29);
gotoAndPlay (1);
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (load) {
function pickUp(baby, weapon, dam) {
_root[baby + "weapon"] = weapon;
_root[baby + "damage"] = dam;
_root.scoreboard[baby + "w"].gotoAndStop(weapon);
_root.scoreboard["hoofd" + baby].gotoAndPlay(29);
gotoAndPlay (1);
}
}
Instance of Symbol 97 MovieClip in Frame 3
onClipEvent (load) {
function pickUp(baby, weapon, dam) {
_root[baby + "weapon"] = weapon;
_root[baby + "damage"] = dam;
_root.scoreboard[baby + "w"].gotoAndStop(weapon);
_root.scoreboard["hoofd" + baby].gotoAndPlay(29);
gotoAndPlay (1);
}
}
Instance of Symbol 103 MovieClip "b2" in Frame 3
onClipEvent (load) {
move = false;
_root.b2weapon = "none";
_root.b2damage = 0;
walk = true;
dir = "up";
baby = "b2";
powerup = "none";
}
onClipEvent (enterFrame) {
hisX = _x;
hisY = _y;
if (walk == true) {
if (Key.isDown(13) and (_root[baby + "weapon"] != "none")) {
gotoAndPlay (23);
} else if (Key.isDown(38) && (Key.isDown(37))) {
_rotation = -45;
move = true;
_x = (_x - 1.5);
_y = (_y - 1.5);
dir = "leftup";
} else if (Key.isDown(37) && (Key.isDown(40))) {
_rotation = -135;
move = true;
_x = (_x - 1.5);
_y = (_y + 1.5);
dir = "leftdown";
} else if (Key.isDown(40) && (Key.isDown(39))) {
_rotation = 135;
move = true;
_x = (_x + 1.5);
_y = (_y + 1.5);
dir = "rightdown";
} else if (Key.isDown(39) && (Key.isDown(38))) {
_rotation = 45;
move = true;
_x = (_x + 1.5);
_y = (_y - 1.5);
dir = "rightup";
} else if (Key.isDown(37)) {
_rotation = -90;
move = true;
_x = (_x - 2);
dir = "left";
} else if (Key.isDown(39)) {
_rotation = 90;
move = true;
_x = (_x + 2);
dir = "right";
} else if (Key.isDown(38)) {
_rotation = 0;
move = true;
_y = (_y - 2);
dir = "up";
} else if (Key.isDown(40)) {
_rotation = 180;
move = true;
_y = (_y + 2);
dir = "down";
} else {
gotoAndPlay (1);
move = false;
}
}
if ((this._currentframe == 1) and (move == true)) {
gotoAndPlay (2);
}
if ((_root.box.hitTest(_x, _y, true) || (_root.b1.hitTest(_x, _y, true))) || (_root.objects.hitTest(_x, _y, true))) {
_x = hisX;
_y = hisY;
}
}
Instance of Symbol 103 MovieClip "b1" in Frame 3
onClipEvent (load) {
move = false;
_root.b1weapon = "none";
_root.b1damage = 0;
walk = true;
dir = "up";
baby = "b1";
powerup = "none";
}
onClipEvent (enterFrame) {
hisX = _x;
hisY = _y;
if (walk == true) {
if (Key.isDown(16) and (_root[baby + "weapon"] != "none")) {
gotoAndPlay (23);
} else if (Key.isDown(87) && (Key.isDown(65))) {
_rotation = -45;
move = true;
_x = (_x - 1.5);
_y = (_y - 1.5);
dir = "leftup";
} else if (Key.isDown(65) && (Key.isDown(83))) {
_rotation = -135;
move = true;
_x = (_x - 1.5);
_y = (_y + 1.5);
dir = "leftdown";
} else if (Key.isDown(83) && (Key.isDown(68))) {
_rotation = 135;
move = true;
_x = (_x + 1.5);
_y = (_y + 1.5);
dir = "rightdown";
} else if (Key.isDown(68) && (Key.isDown(87))) {
_rotation = 45;
move = true;
_x = (_x + 1.5);
_y = (_y - 1.5);
dir = "rightup";
} else if (Key.isDown(65)) {
_rotation = -90;
move = true;
_x = (_x - 2);
dir = "left";
} else if (Key.isDown(68)) {
_rotation = 90;
move = true;
_x = (_x + 2);
dir = "right";
} else if (Key.isDown(87)) {
_rotation = 0;
move = true;
_y = (_y - 2);
dir = "up";
} else if (Key.isDown(83)) {
_rotation = 180;
move = true;
_y = (_y + 2);
dir = "down";
} else {
gotoAndStop (1);
move = false;
}
}
if ((this._currentframe == 1) and (move == true)) {
gotoAndPlay (2);
}
if ((_root.box.hitTest(_x, _y, true) || (_root.b2.hitTest(_x, _y, true))) || (_root.objects.hitTest(_x, _y, true))) {
_x = hisX;
_y = hisY;
}
}
Instance of Symbol 123 MovieClip "scoreboard" in Frame 3
onClipEvent (load) {
_root.b1health = 100;
_root.b2health = 100;
_root.fireCounter = 1;
_root.tt = 0;
_root.heal = new Sound();
_root.heal.attachSound("heal");
_root.tok = new Sound();
_root.tok.attachSound("tok");
}
Frame 4
stop();
Instance of Symbol 29 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (35);
}
Instance of Symbol 29 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (61);
}
Frame 5
stop();
Instance of Symbol 29 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (61);
}
Instance of Symbol 29 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (35);
}
Symbol 14 MovieClip Frame 1
if (random(50) == 6) {
gotoAndPlay (3);
}
Symbol 14 MovieClip Frame 2
gotoAndPlay (1);
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 5
if (random(10) < 5) {
_root.hit1.start(0, 1);
} else {
_root.hit2.start(0, 1);
}
Symbol 29 MovieClip Frame 25
gotoAndStop (1);
Symbol 29 MovieClip Frame 26
counter = 0;
Symbol 29 MovieClip Frame 27
counter++;
if (counter > 300) {
_root[baby].powerup = "none";
gotoAndPlay (1);
}
Symbol 29 MovieClip Frame 28
gotoAndPlay (27);
Symbol 29 MovieClip Frame 60
gotoAndStop (1);
Instance of Symbol 14 MovieClip in Symbol 29 MovieClip Frame 61
onClipEvent (load) {
gotoAndStop (7);
}
Symbol 49 Button
on (release) {
gotoAndPlay (17);
}
Symbol 52 Button
on (release) {
gotoAndPlay (31);
}
Symbol 64 Button
on (release) {
nextFrame();
}
Symbol 75 MovieClip Frame 1
if (random(800) == 6) {
_x = (random(390) + 80);
_y = (random(170) + 70);
gotoAndPlay (3);
}
Symbol 75 MovieClip Frame 2
gotoAndPlay (1);
Symbol 75 MovieClip Frame 30
var i = (31 + random(2));
gotoAndStop(i);
Instance of Symbol 72 MovieClip in Symbol 75 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true)) {
_parent.pickUp("b1", "inv");
} else if (_root.b2.hitTest(_parent._x, _parent._y, true)) {
_parent.pickUp("b2", "inv");
}
}
Instance of Symbol 72 MovieClip in Symbol 75 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true)) {
_parent.health("b1");
} else if (_root.b2.hitTest(_parent._x, _parent._y, true)) {
_parent.health("b2");
}
}
Symbol 77 Button
on (release) {
gotoAndPlay (1);
}
Symbol 78 MovieClip Frame 16
stop();
Symbol 78 MovieClip Frame 30
_root.gotoAndStop("game");
Symbol 78 MovieClip Frame 60
stop();
Instance of Symbol 83 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 85 MovieClip in Symbol 94 MovieClip Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 87 MovieClip in Symbol 94 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 89 MovieClip in Symbol 94 MovieClip Frame 4
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 91 MovieClip in Symbol 94 MovieClip Frame 5
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 93 MovieClip "pamp" in Symbol 94 MovieClip Frame 6
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 97 MovieClip Frame 1
if (random(150) == 6) {
_x = (random(390) + 80);
_y = (random(170) + 70);
if (_root.objects.hitTest(_x, _y, true)) {
gotoAndPlay (2);
}
gotoAndPlay (3);
}
Symbol 97 MovieClip Frame 2
gotoAndPlay (1);
Symbol 97 MovieClip Frame 30
var i = (31 + random(6));
gotoAndStop(i);
Symbol 97 MovieClip Frame 31
stop();
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "hamer", 30);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "hamer", 30);
}
}
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "pop", 15);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "pop", 15);
}
}
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "blok", 30);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "blok", 30);
}
}
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "bal", 15);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "bal", 15);
}
}
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "car", 20);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "car", 20);
}
}
Instance of Symbol 72 MovieClip in Symbol 97 MovieClip Frame 36
onClipEvent (enterFrame) {
if (_root.b1.hitTest(_parent._x, _parent._y, true) and (_root.b1weapon == "none")) {
_parent.pickUp("b1", "pamp", 40);
} else if (_root.b2.hitTest(_parent._x, _parent._y, true) and (_root.b2weapon == "none")) {
_parent.pickUp("b2", "pamp", 40);
}
}
Symbol 103 MovieClip Frame 1
stop();
move = true;
walk = true;
Symbol 103 MovieClip Frame 22
gotoAndPlay (1);
Symbol 103 MovieClip Frame 23
walk = false;
move = false;
Symbol 103 MovieClip Frame 32
_root.fireCounter++;
duplicateMovieClip (_root.fire, "fire" + _root.fireCounter, _root.fireCounter);
_root["fire" + _root.fireCounter]._x = this._x;
_root["fire" + _root.fireCounter]._y = this._y;
_root["fire" + _root.fireCounter].gotoAndStop(_root[baby + "weapon"]);
_root["fire" + _root.fireCounter].speedX = 0;
_root["fire" + _root.fireCounter].speedY = 0;
_root["fire" + _root.fireCounter].dam = _root[baby + "damage"];
_root["fire" + _root.fireCounter].shotby = baby;
if (dir == "left") {
_root["fire" + _root.fireCounter].speedX = -10;
} else if (dir == "right") {
_root["fire" + _root.fireCounter].speedX = 8;
} else if (dir == "up") {
_root["fire" + _root.fireCounter].speedY = -8;
} else if (dir == "down") {
_root["fire" + _root.fireCounter].speedY = 8;
} else if (dir == "leftup") {
_root["fire" + _root.fireCounter].speedX = -5;
_root["fire" + _root.fireCounter].speedY = -5;
} else if (dir == "leftdown") {
_root["fire" + _root.fireCounter].speedX = -5;
_root["fire" + _root.fireCounter].speedY = 5;
} else if (dir == "rightup") {
_root["fire" + _root.fireCounter].speedX = 5;
_root["fire" + _root.fireCounter].speedY = -5;
} else if (dir == "rightdown") {
_root["fire" + _root.fireCounter].speedX = 5;
_root["fire" + _root.fireCounter].speedY = 5;
}
_root[baby + "weapon"] = "none";
_root[baby + "damage"] = 0;
_root.scoreboard[baby + "w"].gotoAndStop(1);
Symbol 103 MovieClip Frame 42
walk = true;
gotoAndPlay (1);
Symbol 112 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 1
if (random(200) == 6) {
gotoAndPlay (3);
}
Symbol 116 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 29 MovieClip "hoofdb1" in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
baby = "b1";
}
Instance of Symbol 29 MovieClip "hoofdb2" in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
baby = "b2";
}
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
balk._x = -100 + _root.b1health;
if (_root.b1health <= 0) {
_root.gotoAndStop(5);
}
}
Instance of Symbol 122 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
balk._x = -100 + _root.b2health;
if (_root.b2health <= 0) {
_root.gotoAndStop(4);
}
}
Symbol 127 Button
on (release) {
gotoAndStop (3);
}