Frame 1
stop();
this.onEnterFrame = function () {
ifFrameLoaded (_totalframes) {
gotoAndStop (2);
delete this.onEnterFrame;
}
};
Frame 2
stop();
_root.score = 0;
this.onEnterFrame = function () {
if ((_xmouse < 600) and (_currentframe == 2)) {
Mouse.hide();
} else {
Mouse.show();
}
};
Instance of Symbol 109 MovieClip "crossair" in Frame 2
onClipEvent (load) {
shoot = true;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
_root.wapens._x = _x + 120;
_root.wapens._y = _y + 150;
if (_root.wapens._x < 160) {
_root.wapens._x = 160;
}
if (_root.wapens._y < 340) {
_root.wapens._y = 340;
}
if (_x < 0) {
_x = 0;
}
if (_y < 0) {
_y = 0;
}
if (_x > 552) {
_x = 552;
}
}
Frame 3
Mouse.show();
unloadMovieNum (50);
Frame 72
_level0.highNum = 26;
_level0.myScore = _root.score;
_level0.gameW = 740;
loadMovieNum ("highscores_new.swf", 5000);
stop();
Symbol 11 MovieClip Frame 1
stop();
if (!modeCheck) {
modeCheck = true;
if ((_parent.harnasKalkoen == true) and (_parent.helm == true)) {
gotoAndStop (2);
}
}
Instance of Symbol 7 MovieClip in Symbol 11 MovieClip Frame 1
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_root.score = _root.score + 200;
_parent._parent.Kalkoenheadshot = true;
_parent._parent.dood();
}
}
Symbol 11 MovieClip Frame 2
stop();
Instance of Symbol 7 MovieClip in Symbol 11 MovieClip Frame 2
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_parent.gotoAndPlay(3);
}
}
Symbol 15 MovieClip Frame 1
stop();
if (!modeCheck) {
modeCheck = true;
if (_parent.harnasKalkoen == true) {
gotoAndStop (2);
}
}
_parent.helm = false;
Instance of Symbol 7 MovieClip in Symbol 15 MovieClip Frame 1
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_root.score = _root.score + 100;
_parent._parent.Kalkoenheadshot = true;
_parent._parent.dood();
}
}
Symbol 15 MovieClip Frame 2
stop();
_parent.helm = true;
Instance of Symbol 7 MovieClip in Symbol 15 MovieClip Frame 2
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_parent.gotoAndPlay(3);
}
}
Symbol 19 Button
on (press) {
nextFrame();
}
Symbol 20 Button
on (press) {
gotoAndStop (1);
}
Symbol 21 Button
on (press) {
_root.score = _root.score + 100;
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 1
stop();
if (!modeCheck) {
modeCheck = true;
if ((_parent._parent.harnasKalkoen == true) and (_parent._parent.harnas == true)) {
gotoAndStop (2);
}
}
_parent._parent.harnas = false;
Instance of Symbol 7 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_root.score = _root.score + 50;
_parent._parent._parent.dood();
}
}
Symbol 64 MovieClip Frame 2
stop();
_parent._parent.harnas = true;
Instance of Symbol 7 MovieClip in Symbol 64 MovieClip Frame 2
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_parent.gotoAndPlay(3);
}
}
Symbol 65 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (_parent.landing == false) {
gotoAndPlay(_currentframe + 1);
}
};
Symbol 65 MovieClip Frame 30
stop();
this.onEnterFrame = function () {
if (_parent.landing == true) {
gotoAndPlay (1);
}
};
Symbol 95 MovieClip Frame 1
if (!checked) {
checked = true;
harnas = true;
}
Symbol 95 MovieClip Frame 11
gotoAndPlay (1);
Symbol 95 MovieClip Frame 14
rnd = 2 + random(3);
_root.soundbank.gotoAndPlay(rnd);
Symbol 95 MovieClip Frame 19
_parent._parent.nieuweKalkoen();
Symbol 95 MovieClip Frame 22
if (Kalkoenheadshot == true) {
_root.soundbank.gotoAndPlay("headshot");
}
Instance of Symbol 7 MovieClip in Symbol 95 MovieClip Frame 23
onClipEvent (mouseUp) {
if ((_root.fire == true) and _root.crossair.hitvlak.hitTest(this)) {
_root.fire = false;
_parent.jump();
}
}
Symbol 95 MovieClip Frame 34
stop();
this.onEnterFrame = function () {
wegRotCount++;
if (wegRotCount > 100) {
wegRotCount = 0;
gotoAndPlay(_currentframe + 1);
delete this.onEnterFrame;
}
};
Symbol 95 MovieClip Frame 64
_parent.removeMovieClip();
Symbol 95 MovieClip Frame 123
_root.soundbank.gotoAndPlay("hithard");
_root.menu.levensmeter.nextFrame();
_root.bloed.gotoAndPlay(2);
Symbol 95 MovieClip Frame 135
gotoAndPlay (94);
Instance of Symbol 95 MovieClip "kalkoenanimatie" in Symbol 96 MovieClip [kalkoencopy] Frame 1
onClipEvent (load) {
_parent.swapDepths((_parent._y * 100) + 1);
_parent._visible = false;
_parent._x = 30 + random(500);
if (_parent._x < 200) {
startY = 30;
} else {
startY = 60;
}
_parent._y = startY;
startHeight = -1000;
landing = true;
shoot = false;
harnasKalkoen = false;
schietKalkoen = false;
if (_parent._parent.moeilijkheidcount >= 8) {
harnasKalkoen = true;
}
if (_parent._parent.moeilijkheidcount > 10) {
schietKalkoen = true;
}
if (schietkalkoen == true) {
gunAfstand = 140 + random(160);
} else {
gunAfstand = 900;
}
walkSpeed = _root.jumpspeedcount;
naarvorenspeed = _root.naarvorenspeedcount;
opzijspeed = _root.opzijspeedcount;
alive = true;
}
onClipEvent (enterFrame) {
function stagecontrole() {
dieptewisseling();
if ((_parent._x < 20) or (_parent._x > 500)) {
stagelimit();
}
}
function grondhit() {
if ((_parent._x < 0) or (_parent._x > 550)) {
reset();
}
if (_parent._y > 350) {
_root.menu.levens.nextFrame();
reset();
}
_root.soundbank.gotoAndPlay("boing");
}
function dieptewisseling() {
_parent.swapDepths((_parent._y * 100) + 1);
_parent._yscale = 4 * (_parent._y / 16);
_parent._xscale = 4 * (_parent._y / 16);
if (!displayKalkoen) {
_parent._visible = true;
displayKalkoen = true;
}
}
function stagelimit() {
if (_parent._x < 0) {
Xlooprichting = -Math.abs(Xlooprichting);
}
if (_parent._x > 550) {
Xlooprichting = Math.abs(Xlooprichting);
}
}
function jump() {
if (landing == true) {
walkEngine();
landing = false;
orgY = _y;
opstijgSpeed = 30;
gravity = walkSpeed;
}
}
function walkEngine() {
temprnd = 1 + random(3);
if ((temprnd == 1) and (alive == true)) {
Ylooprichting = -3 * ((_parent._y / naarvorenspeed) * 2);
Xlooprichting = 0;
} else if (temprnd == 2) {
Ylooprichting = -3 * ((_parent._y / naarvorenspeed) * 2);
Xlooprichting = -5 * (_parent._y / opzijspeed);
} else {
Ylooprichting = -3 * ((_parent._y / naarvorenspeed) * 2);
Xlooprichting = 5 * (_parent._y / opzijspeed);
}
}
function dood() {
dieptewisseling();
alive = false;
this.gotoAndPlay("dood1");
}
function reset() {
_parent._x = 30 + random(500);
if (_parent._x < 200) {
startY = 30;
} else {
startY = 60;
}
_parent._y = startY;
Xlooprichting = 1;
Ylooprichting = -1;
dieptewisseling();
}
if (alive) {
if (_parent._y < gunAfstand) {
jump();
} else if ((landing == true) and (!shoot)) {
shoot = true;
this.gotoAndPlay("startshoot");
}
stagecontrole();
}
if (landing == false) {
gravity = gravity + 0.05;
opstijgSpeed = opstijgSpeed - gravity;
if (alive) {
_parent._y = _parent._y - Ylooprichting;
}
_parent._x = _parent._x - Xlooprichting;
_y = (_y - opstijgSpeed);
if (_y > (orgY + opstijgSpeed)) {
landing = true;
grondhit();
_y = orgY;
}
}
}
Symbol 97 MovieClip Frame 1
function init() {
_root.reloadCount = 8;
_root.jumpspeedcount = 1;
_root.naarvorenspeedcount = 700;
_root.opzijspeedcount = 500;
moeilijkheid = 1;
level = 4;
moeilijkheidcount = level;
aantalObjecten = 17;
addLayers();
nieuweKalkoen();
}
function addLayers() {
i = 1;
while (i <= aantalObjecten) {
this["obj" + i].swapDepths(this["obj" + i]._y * 100);
i++;
}
}
function nieuweKalkoen() {
a++;
attachMovie("kalkoencopy", "kalkoen" + a, "");
moeilijkheid = moeilijkheid + 0.2;
if (moeilijkheid >= moeilijkheidcount) {
if (b < 1) {
b++;
attachMovie("kalkoencopy", "kalkoen" + b, b);
}
_root.jumpspeedcount = 1 + random(moeilijkheid / 3);
_root.naarvorenspeedcount = 700 / (moeilijkheid / 6);
_root.opzijspeedcount = 500 / (moeilijkheid / 3);
moeilijkheidcount = moeilijkheidcount + level;
}
if (moeilijkheidcount >= 20) {
_root.jumpspeedcount = 1;
moeilijkheid = 1;
moeilijkheidcount = level;
if (level > 1) {
level--;
}
}
}
init();
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 2
gotoAndStop (1);
Symbol 104 MovieClip Frame 3
gotoAndStop (1);
Symbol 104 MovieClip Frame 4
gotoAndStop (1);
Symbol 104 MovieClip Frame 5
gotoAndStop (1);
Symbol 104 MovieClip Frame 6
gotoAndStop (1);
Symbol 104 MovieClip Frame 7
gotoAndStop (1);
Symbol 104 MovieClip Frame 8
gotoAndStop (1);
Symbol 108 Button
on (press) {
if ((_parent.crossair.shoot == true) and (_root.wapens.pistool._currentframe == 15)) {
_root.wapens.pistool.gotoAndPlay(16);
_parent.crossair.shoot = false;
}
}
on (release) {
_parent.crossair.shoot = true;
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 15
stop();
_root.fire = false;
Symbol 118 MovieClip Frame 16
_root.fire = true;
Symbol 118 MovieClip Frame 21
shootcount = shootcount + 1;
_root.fire = false;
if (shootcount >= _root.reloadCount) {
gotoAndPlay (22);
shootcount = 0;
} else {
gotoAndStop (15);
}
Symbol 118 MovieClip Frame 35
Symbol 121 MovieClip Frame 1
stop();
Symbol 126 Button
on (release) {
gotoAndStop (2);
}
Symbol 131 Button
on (release) {
gotoAndStop (1);
}
Symbol 132 MovieClip Frame 1
stop();
loadMovieNum ("soundmovie.swf", 50);
Symbol 132 MovieClip Frame 2
unloadMovieNum (50);
Symbol 137 Button
on (release) {
gotoAndStop (2);
}
Symbol 142 Button
on (release) {
gotoAndStop (1);
}
Symbol 143 MovieClip Frame 1
stop();
_quality = "high";
Symbol 143 MovieClip Frame 2
_quality = "low";
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 5
_parent.levens.nextFrame();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
stop();
_parent.levensmeter.gotoAndStop(1);
_root.soundbank.gotoAndPlay("hehehe");
Symbol 151 MovieClip Frame 3
stop();
_parent.levensmeter.gotoAndStop(1);
_root.soundbank.gotoAndPlay("hehehe");
Symbol 151 MovieClip Frame 4
stop();
_root.soundbank.gotoAndPlay("hehehe");
_root.gameOver = true;
_root.gotoAndPlay("gameoverScherm");
Symbol 154 MovieClip Frame 10
stop();