Frame 1
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
knop1.useHandCursor = false;
knop2.useHandCursor = false;
Stage.showMenu = false;
if (this._url != "http://www.playability.nl/games/supermarco/marco.swf") {
}
Instance of Symbol 52 MovieClip "logo" in Frame 1
/* no clip actions */
Frame 2
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 3
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 4
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 5
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 6
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 7
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 8
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 9
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 10
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 11
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 12
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 13
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 14
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 15
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 16
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 17
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 18
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 19
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 20
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 21
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 22
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 23
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 24
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 25
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 26
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 27
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 28
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 29
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 30
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 31
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 32
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 33
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 34
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 35
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 36
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 37
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 38
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 39
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 40
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 41
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 42
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 43
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 44
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 45
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 46
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 47
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 48
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 49
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 50
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 51
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 52
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 53
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 54
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 55
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 56
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 57
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 58
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 59
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 60
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 61
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 62
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 63
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 64
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 65
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 66
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 67
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 68
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 69
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 70
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 71
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 72
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 73
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 74
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 75
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 76
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 77
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 78
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 79
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 80
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 81
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 82
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 83
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 84
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 85
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 86
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 87
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 88
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 89
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 90
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 91
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 92
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 93
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 94
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 95
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 96
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 97
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 98
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
Frame 99
a = getBytesLoaded();
b = getBytesTotal();
percent = int((a / b) * 100);
procent = eval (percent + " %");
gotoAndPlay(percent);
_root.timeTics = 5840580 /* 0x591EC4 */;
_root.seconden = _root.timeTics / 60;
v = "";
Frame 205
stop();
Frame 278
hitsound2 = new Sound();
hitsound2.attachSound("hitsound2");
buis = new Sound();
buis.attachSound("buis");
ping = new Sound();
ping.attachSound("ping");
grotdeuntje = new Sound();
grotdeuntje.attachSound("grotdeuntje");
_root.level = "Level 0";
extraleven = new Sound();
extraleven.attachSound("extraleven");
starttheme = new Sound();
starttheme.attachSound("starttheme");
theme = new Sound();
theme.attachSound("theme");
weinigtijd = new Sound();
weinigtijd.attachSound("weinigtijd");
themesnel = new Sound();
themesnel.attachSound("themesnel");
_root.muziek = 1;
_root.punten = 0;
_root.levens = 2;
_root.extra1 = 0;
_root.extra2 = 0;
_root.extra3 = 0;
_root.extra4 = 0;
_root.jaja = 0;
knop1.useHandCursor = false;
knop2.useHandCursor = false;
_root._quality = "HIGH";
_root.timeTics = 5840580 /* 0x591EC4 */;
_root.seconden = _root.timeTics / 60;
v = "";
stop();
Frame 287
_root.rand = random(99999);
loadVariablesNum ("deelnemer.php?rand=" + rand, 0);
rand = random(100000);
loadVariablesNum ("checkscore.php?rand=" + rand, 0);
Frame 331
if (_root.level == "Level 5") {
_root.level = "Level 6";
}
if (_root.level == "Level 4") {
_root.level = "Level 5";
}
if (_root.level == "Level 3") {
_root.level = "Level 4";
}
if (_root.level == "Level 2") {
_root.level = "Level 3";
}
if (_root.level == "Level 1") {
_root.level = "Level 2";
}
if (_root.level == "Level 0") {
_root.level = "Level 1";
}
Frame 389
if (_root.level == "Level 1") {
_root.gotoAndPlay("level01");
}
if (_root.level == "Level 2") {
_root.gotoAndPlay("level02");
}
if (_root.level == "Level 3") {
_root.gotoAndPlay("level03");
}
if (_root.level == "Level 4") {
_root.gotoAndPlay("level04");
}
if (_root.level == "Level 5") {
_root.gotoAndPlay("level05");
}
if (_root.level == "Level 6") {
_root.gotoAndPlay("level06");
}
Frame 394
stop();
databox.tijd.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 4000;
_root.level = "Level 1";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 402
stop();
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.uitgespeeld = 0;
bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 2;
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.theme.stop();
_root.starttheme.stop();
_root.muziekintro = 0;
_root.buis.start(0, 0);
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if ((_local1.muziek == 1) && (muziekintro == 0)) {
_local1.muziekintro = 1;
_local1.grotdeuntje.start(0, 9999);
}
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if (_local1.leveltijd == 0) {
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 411
stop();
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.uitgespeeld = 0;
bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.speeldoor = 0;
buis.start(0, 0);
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 420
stop();
databox.tijd.gotoAndStop(1);
databox.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 4000;
_root.level = "Level 2";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 430
stop();
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.uitgespeeld = 0;
bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 2;
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.buis.start(0, 0);
_root.theme.stop();
_root.starttheme.stop();
_root.muziekintro = 0;
_root.buis.start(0, 0);
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if ((_local1.muziek == 1) && (muziekintro == 0)) {
_local1.muziekintro = 1;
_local1.grotdeuntje.start(0, 9999);
}
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if (_local1.leveltijd == 0) {
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 440
stop();
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.level = "Level 2";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 1;
_root.speeldoor = 0;
buis.start(0, 0);
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
_local1.gameover = 1;
_local1.moveLayer._y = -660;
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 449
stop();
databox.gotoAndStop(1);
databox.tijd.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 4000;
_root.level = "Level 3";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg._y = moveLayer._y / 7;
bg2._x = moveLayer._x / 8;
bg2._y = moveLayer._y / 4;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 456
stop();
databox.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.level = "Level 3";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 1;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg._y = moveLayer._y / 7;
bg2._x = moveLayer._x / 8;
bg2._y = moveLayer._y / 4;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 464
stop();
databox.gotoAndStop(1);
databox.tijd.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 4000;
_root.level = "Level 4";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg._y = moveLayer._y / 7;
bg2._x = moveLayer._x / 8;
bg2._y = moveLayer._y / 4;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 471
stop();
databox.gotoAndStop(1);
databox.tijd.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 4000;
_root.level = "Level 5";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg._y = moveLayer._y / 7;
bg2._x = moveLayer._x / 8;
bg2._y = moveLayer._y / 4;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 478
stop();
databox.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.level = "Level 5";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 1;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg._y = moveLayer._y / 7;
bg2._x = moveLayer._x / 8;
bg2._y = moveLayer._y / 4;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 486
stop();
databox.gotoAndStop(1);
databox.tijd.gotoAndStop(1);
gameover = 0;
moveLayer.hero.gotoAndStop(1);
_root.correctiemoveLayer = 0;
pakBonus = 0;
_root.hitEnemy = 0;
_root.kracht = 7;
_root.uitgespeeld = 0;
_root.bukken = 0;
levelcomplete._visible = false;
var onground = false;
jumpsetup = false;
_root.kleur = 1 + random(3);
_root.leveltijd = 1200;
_root.level = "Level 6";
_root.tijdtekst = "tijd";
_root.eindelevel = 0;
_root.bonusput2 = 0;
_root.speeldoor = 0;
_root.muziekintro = 0;
moveme = function () {
var _local1 = _root;
var _local2 = this;
if (((_local1.punten > 10000) && (_local1.punten < 20000)) && (_local1.extra1 == 0)) {
_local1.extra1 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 20000) && (_local1.punten < 30000)) && (_local1.extra2 == 0)) {
_local1.extra2 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 30000) && (_local1.punten < 40000)) && (_local1.extra3 == 0)) {
_local1.extra3 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.punten > 40000) && (_local1.punten < 50000)) && (_local1.extra4 == 0)) {
_local1.extra4 = 1;
extraleven.start(0, 0);
_local1.levens = _local1.levens + 1;
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd > 1000)) {
muziekintro = 1;
starttheme.start(0, 0);
}
if (((_local1.muziek == 1) && (muziekintro == 0)) && (leveltijd < 1000)) {
muziekintro = 1;
themesnel.start(0, 999);
}
starttheme.onSoundComplete = function () {
if (muziek == 1) {
theme.start(0, 999);
}
};
if (leveltijd == 1000) {
databox.tijd.gotoAndPlay("go");
starttheme.stop();
theme.stop();
weinigtijd.start();
}
weinigtijd.onSoundComplete = function () {
if (muziek == 1) {
themesnel.start(0, 999);
}
};
if ((_local1.uitgespeeld == 1) && (_local1.eindelevel == 1)) {
if ((_local1.leveltijd > 0) && (_local1.leveltijd <= 20)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 1;
_local1.punten = _local1.punten + 1;
}
if ((_local1.leveltijd > 20) && (_local1.leveltijd <= 100)) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 10;
_local1.punten = _local1.punten + 10;
}
if (_local1.leveltijd > 100) {
ping.start(0, 0);
_local1.leveltijd = _local1.leveltijd - 100;
_local1.punten = _local1.punten + 100;
}
if ((_local1.leveltijd == 0) && (_local1.speeldoor == 0)) {
ping.stop;
_local1.databox.gotoAndStop("opgeteld");
}
}
if (_local1.uitgespeeld == 0) {
databox.leeuw.gotoAndStop(kracht);
_local1.tijd = getTimer();
if ((kracht <= 1) && (gameover == 0)) {
gameovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if ((leveltijd <= 0) && (gameover == 0)) {
tijdovertekst.gotoAndPlay(2);
gameover = 1;
moveLayer.hero.gotoAndPlay("over");
}
if (gameover == 0) {
_local1.leveltijd = _local1.leveltijd - 1;
if (_local1.leveltijd < 1) {
_local1.leveltijd = 0;
}
}
if (_local2.x == undefined) {
_local2.startx = (_local2.x = _local2._x);
_local2.starty = (_local2.y = _local2._y);
}
if (((_local2.hittest(moveLayer.platforms.movingPlatformsX) && (_local1.dy == 0)) && (_local1.dx == 0)) || ((_local2.hittest(moveLayer.platforms.movingPlatformsY) && (_local1.dy == 0)) && (_local1.dx == 0))) {
} else {
_local2.dy = _local2.dy + 0.8;
}
var nexty = Math.ceil(_local2.y + _local2.dy);
var nextx = (_local2.x + _local2.dx);
onground = false;
if ((_local1.hitEnemy == 1) && (_local1.tijd < _local1.hitTijd)) {
if (moveLayer.hero._alpha == 100) {
moveLayer.hero._alpha = 0;
} else {
moveLayer.hero._alpha = 100;
}
}
if ((_local1.tijd > _local1.hitTijd) || (gameover == 1)) {
_local1.hitEnemy = 0;
moveLayer.hero._alpha = 100;
}
if ((_local2.dy >= 0) && (gameover == 0)) {
if (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, nexty + moveLayer._y, true) && (!jumpsetup)) {
onground = true;
jumping = false;
var cnt = 0;
var _local3 = Math.floor(nexty);
while (moveLayer.platforms.hitTest(_local2.x + moveLayer._x, _local3 + moveLayer._y, true)) {
cnt++;
_local3 = _local3 - 1;
}
if (cnt < 10) {
_local2.y = _local3;
_local2.dy = 0;
} else {
_local2.x = _local2.x - _local2.dx;
_local2.dx = 0;
}
} else if ((_local2.dy > 5) && (!shooting)) {
_local1.pakBonus = 0;
_local1.hitCeiling = 0;
_local2.gotoAndStop(3);
_local2.mc.gotoAndStop("springg");
}
} else if (_local2.dy < 0) {
if (moveLayer.platforms.bonussen.hitTest(_local2.x + moveLayer._x, (nexty + moveLayer._y) - 40, true)) {
_local1.hitCeiling = 1;
_local2.dy = 1;
}
}
if (_local2.dy > 9) {
_local2.dy = 9;
}
if (!jumpsetup) {
_local2.x = _local2.x + _local2.dx;
_local2.y = _local2.y + _local2.dy;
}
if (_local1.moveLayer.hero._visible == true) {
if (((Key.isDown(39) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = 12;
if (jumping) {
_local2.dx = _local2.dx + 0.7;
} else {
_local2.dx = _local2.dx + 1;
}
_local2._xscale = 120;
} else if (((Key.isDown(37) && (!shooting)) && (gameover == 0)) && (_local1.bukken == 0)) {
_local1.correctie = -12;
if (jumping) {
_local2.dx = _local2.dx - 0.7;
} else {
_local2.dx = _local2.dx - 1;
}
_local2._xscale = -120;
} else {
_local2.dx = _local2.dx * 0.7;
}
if (_local2.dx > 7) {
_local2.dx = 7;
}
if (_local2.dx < -7) {
_local2.dx = -7;
}
if (((((!jumpsetup) && (!jumping)) && (!shooting)) && (onground)) && (gameover == 0)) {
if (Math.abs(_local2.dx) < 0.99) {
_local2.dx = 0;
_local2.gotoAndStop(1);
} else {
_local2.gotoAndStop(2);
}
}
if (((((Key.isDown(38) && (_local2.dy >= 0)) && (_local2.dy == 0)) && (!jumping)) && (_local1.bukken == 0)) && (gameover == 0)) {
_local1.pakBonus = 1;
onground = false;
shooting = false;
jumping = true;
jumpsetup = true;
_local2.gotoAndStop(3);
}
lasty = _local2._y;
moveLayer._x = Math.round(320 - _local2.x);
moveLayer._y = Math.round(240 - _local2.y);
_local1.yyy = _local1.moveLayer._y + _local1.correctiemoveLayer;
if ((_local1.yyy < -660) && (gameover == 0)) {
_local1.gameover = 1;
_local1.moveLayer._y = -660;
moveLayer.hero.gotoAndStop(3);
moveLayer.hero.mc.gotoAndStop("springg");
gameovertekst.gotoAndPlay(2);
}
if (_local1.yyy < -660) {
_local1.moveLayer._y = -660 - _local1.correctiemoveLayer;
}
bg._x = moveLayer._x / 14;
bg2._x = moveLayer._x / 8;
if ((Key.isDown(40) && (jumping == false)) && (gameover == 0)) {
_local1.bukken = 1;
moveLayer.hero.gotoAndStop(4);
} else {
_local1.bukken = 0;
}
_local2._x = Math.floor(_local2.x);
_local2._y = Math.floor(_local2.y);
_local1.dx = _local2.dx;
_local1.dy = _local2.dy;
}
}
};
intro._visible = false;
moveLayer.hero.onEnterFrame = moveme;
Frame 492
rand = random(100000);
_root.loadVariablesNum("checkscore.php?rand=" + rand, "0");
_root._quality = "HIGH";
Frame 557
gotoAndPlay ("fertigloop");
Symbol 38 Button
on (rollOver) {
if (_root.jaja == 1) {
_root.jaja = 0;
_root.logo.info.gotoAndPlay("end");
}
}
Symbol 39 Button
on (rollOver) {
if (_root.jaja == 0) {
_root.jaja = 1;
_root.logo.info.gotoAndPlay("go");
}
}
Symbol 47 Button
on (rollOver) {
_root.logo.info.gotoAndStop("txt");
}
on (press) {
getURL ("http://www.playability.nl", "_blank");
}
Symbol 48 Button
on (rollOver) {
_root.logo.info.gotoAndStop("txt");
}
on (press) {
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 5
play();
Symbol 49 MovieClip Frame 19
stop();
Symbol 49 MovieClip Frame 33
play();
Symbol 49 MovieClip Frame 38
gotoAndStop (1);
Symbol 21 MovieClip Frame 1
_root.aaa = 1 + random(3);
if (_root.aaa == 1) {
gotoAndPlay ("steen");
}
if (_root.aaa == 2) {
gotoAndPlay ("glas");
}
if (_root.aaa == 3) {
gotoAndPlay ("fles");
}
Symbol 21 MovieClip Frame 29
play();
Symbol 21 MovieClip Frame 78
gotoAndPlay ("steen");
Symbol 21 MovieClip Frame 84
play();
Symbol 21 MovieClip Frame 111
gotoAndPlay ("glas");
Symbol 21 MovieClip Frame 115
play();
Symbol 21 MovieClip Frame 130
gotoAndPlay ("fles");
Symbol 28 MovieClip Frame 7
stop();
Symbol 29 MovieClip [bullet] Frame 1
stop();
Symbol 66 Button
on (press) {
}
Symbol 67 Button
on (press) {
}
Symbol 81 Button
on (press) {
gotoAndPlay ("gaaaan");
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
play();
Symbol 96 MovieClip Frame 20
_root.fietsinfo.gotoAndPlay(2);
Symbol 96 MovieClip Frame 23
stop();
Symbol 100 Button
on (press) {
gotoAndPlay ("level02");
}
Symbol 101 Button
on (press) {
gotoAndPlay ("level01");
}
Symbol 102 Button
on (press) {
gotoAndPlay ("level03");
}
Symbol 103 Button
on (press) {
gotoAndPlay ("level04");
}
Symbol 104 Button
on (press) {
gotoAndPlay ("level05");
}
Symbol 105 Button
on (press) {
gotoAndPlay ("level06");
}
Symbol 106 Button
on (press) {
gotoAndPlay ("fertig");
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 50
stop();
Symbol 117 Button
on (press) {
this.gotoAndStop(1);
}
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
play();
Symbol 118 MovieClip Frame 23
stop();
Symbol 128 Button
on (press) {
_root.gotoAndPlay("yoyo");
}
Symbol 131 Button
on (press) {
if (_root.uitleg._currentframe == 1) {
_root.uitleg.gotoAndPlay(2);
}
if (_root.uitleg._currentframe == 14) {
_root.uitleg.gotoAndStop(1);
}
}
Symbol 134 Button
on (press) {
getURL ("hiscores.php", "_blank");
}
Symbol 135 MovieClip Frame 18
stop();
Symbol 161 MovieClip Frame 1
function init() {
this.createEmptyMovieClip("container", 0);
container.attachMovie(clip, clip, 0);
container._x = startX;
container._y = startY;
width = container._width;
height = container._height;
container.removeMovieClip();
}
function drawMask(targ, width, height) {
var _local1 = targ.createEmptyMovieClip("mask", 1);
_local1.beginFill(0, 100);
_local1.lineTo(width, 0);
_local1.lineTo(width, height);
_local1.lineTo(0, height);
_local1.endFill();
return(_local1);
}
function oscillate(targ) {
var _local1 = targ;
_local1._y = startY + (amplitude * Math.sin(_local1.angle / periode));
_local1.angle = _local1.angle + angleIncrement;
}
function splitImage(slices) {
var j = 1;
var _local1 = 0;
while (_local1 < slices) {
clips.push(createEmptyMovieClip("container" + j, j++));
clips[_local1].attachMovie(clip, clip, 0);
clips[_local1]._x = startX;
clips[_local1]._y = startY;
clips[_local1].angle = _local1;
var _local3 = width / slices;
var _local2 = drawMask(clips[_local1], _local3, height);
_local2._x = _local1 * _local3;
_local2._y = 0;
clips[_local1].setMask(_local2);
clips[_local1].onEnterFrame = function () {
oscillate(this);
};
_local1++;
}
}
clip = "vlag";
startX = 0;
startY = 0;
amplitude = 20;
angleIncrement = 5;
periode = 8;
clips = [];
init();
splitImage(12);
Symbol 163 MovieClip Frame 1
function init() {
this.createEmptyMovieClip("container", 0);
container.attachMovie(clip, clip, 0);
container._x = startX;
container._y = startY;
width = container._width;
height = container._height;
container.removeMovieClip();
}
function drawMask(targ, width, height) {
var _local1 = targ.createEmptyMovieClip("mask", 1);
_local1.beginFill(0, 100);
_local1.lineTo(width, 0);
_local1.lineTo(width, height);
_local1.lineTo(0, height);
_local1.endFill();
return(_local1);
}
function oscillate(targ) {
var _local1 = targ;
_local1._y = startY + (amplitude * Math.sin(_local1.angle / periode));
_local1.angle = _local1.angle + angleIncrement;
}
function splitImage(slices) {
var j = 1;
var _local1 = 0;
while (_local1 < slices) {
clips.push(createEmptyMovieClip("container" + j, j++));
clips[_local1].attachMovie(clip, clip, 0);
clips[_local1]._x = startX;
clips[_local1]._y = startY;
clips[_local1].angle = _local1;
var _local3 = width / slices;
var _local2 = drawMask(clips[_local1], _local3, height);
_local2._x = _local1 * _local3;
_local2._y = 0;
clips[_local1].setMask(_local2);
clips[_local1].onEnterFrame = function () {
oscillate(this);
};
_local1++;
}
}
clip = "vlagnl";
startX = 0;
startY = 0;
amplitude = 20;
angleIncrement = 5;
periode = 8;
clips = [];
init();
splitImage(12);
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
play();
stopAllSounds();
Symbol 166 MovieClip Frame 70
_root.databox.gotoAndPlay("klaar");
Symbol 166 MovieClip Frame 71
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 17
_root.zwart.gotoAndPlay("dicht");
Symbol 193 MovieClip Frame 42
stop();
_root.grotdeuntje.stop();
_root.gotoAndPlay(_root.teruglevel);
Instance of Symbol 96 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 5
_root.punten = _root.punten + 100;
play();
Symbol 202 MovieClip Frame 15
stop();
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 5
play();
Symbol 208 MovieClip Frame 23
stop();
_root.gotoAndStop(_root.bonuslevel);
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.moveLayer.hero) && (_root.bukken == 1)) && (_root.bonusput2 == 0)) {
_root.bukken = 0;
_root.moveLayer.hero._visible = false;
_root.bonuslevel = "bonus01";
this.gotoAndPlay("putin");
_root.zwart.gotoAndPlay("dicht");
}
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 241 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 2
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 3
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 4
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 5
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 6
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 7
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 8
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 9
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 10
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 11
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 12
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 13
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 14
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 15
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 16
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 17
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 18
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 19
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 20
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 21
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 22
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 23
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 277 MovieClip Frame 24
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 281 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
_root.punten = _root.punten + 250;
play();
Symbol 284 MovieClip Frame 6
stop();
Symbol 300 MovieClip Frame 1
play();
Symbol 300 MovieClip Frame 13
this.gotoAndStop(1);
Symbol 301 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 2
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 3
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 4
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 5
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 6
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 7
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 8
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 9
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 10
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 11
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 12
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 13
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 14
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 15
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 16
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 17
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 18
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 19
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 20
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 21
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 22
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 23
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 304 MovieClip Frame 24
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 306 MovieClip Frame 1
_root.punten = _root.punten + 250;
play();
Symbol 306 MovieClip Frame 6
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
play();
Symbol 312 MovieClip Frame 1
shirtkleur.gotoAndStop(_root.kleur);
schouder.gotoAndStop(_root.kleur);
Symbol 313 MovieClip Frame 1
stop();
Instance of Symbol 310 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
ff = random(30);
if ((ff == 3) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
if ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.gameover == 0)) {
this.gotoAndPlay(1);
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 10;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet3 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x3;
this._visible = 1;
this._alpha = 100;
if (_root.velocity3 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x3 - this._x) > 200) || ((_root.x3 - this._x) < -200)) {
this._alpha = this._alpha - 5;
}
if (((_root.x3 - this._x) > 400) || ((_root.x3 - this._x) < -400)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
}
this._x = this._x + velocity;
if ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand4" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 4;
numsplats = 0;
_root.schiet3 = 0;
_root.velocity3 = 0;
_root.x3 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(80) == 10) && (_root.schiet3 == 0)) && (sterf == 0)) {
_root.x3 = x;
_root.velocity3 = velocity;
_root.schiet3 = 1;
}
x = _x + velocity;
if ((x > 5740) || (x < 5050)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if (((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 4100) || (x < 3400)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if (((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 7400) || (x < 7100)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Symbol 345 MovieClip Frame 48
gotoAndPlay (33);
Symbol 362 MovieClip Frame 4
_root.jumpsetup = false;
_parent.dy = -14;
Symbol 362 MovieClip Frame 8
stop();
Symbol 368 MovieClip Frame 59
stop();
Symbol 368 MovieClip Frame 108
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 15
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 2
play();
Symbol 377 MovieClip Frame 39
stop();
Symbol 386 MovieClip Frame 9
stop();
Symbol 390 MovieClip Frame 9
stop();
Symbol 392 MovieClip Frame 9
stop();
Symbol 394 MovieClip Frame 9
stop();
Symbol 396 MovieClip Frame 9
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 10
play();
Symbol 415 MovieClip Frame 80
stop();
Symbol 429 Button
on (press) {
if (_root.uitgespeeld == 0) {
if (_root.muziek == 1) {
muziekvink.gotoAndStop(2);
_root.muziek = 0;
_root.theme.stop();
_root.starttheme.stop();
} else {
_root.muziek = 1;
_root.muziekintro = 0;
muziekvink.gotoAndStop(1);
}
}
}
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 2
stop();
Symbol 432 Button
on (press) {
if (_root._quality == "HIGH") {
speedvink.gotoAndStop(1);
_root._quality = "MEDIUM";
} else {
speedvink.gotoAndStop(2);
_root._quality = "HIGH";
}
}
Symbol 435 Button
on (press) {
_root.speeldoor = 1;
gotoAndPlay ("goo");
}
Symbol 436 MovieClip Frame 1
stop();
if (_root._quality == "HIGH") {
speedvink.gotoAndStop(2);
} else {
speedvink.gotoAndStop(1);
}
if (_root.muziek == 1) {
muziekvink.gotoAndStop(1);
} else {
muziekvink.gotoAndStop(2);
}
Symbol 436 MovieClip Frame 8
play();
Symbol 436 MovieClip Frame 66
stop();
_root.speeldoor = 0;
_root.eindelevel = 1;
Symbol 436 MovieClip Frame 74
stop();
Symbol 436 MovieClip Frame 81
play();
Symbol 436 MovieClip Frame 178
if (_root.level == "Level 6") {
_root.level = "Level 7";
_root.gotoAndPlay("fertig");
} else {
_root.gotoAndPlay("tussen");
}
Symbol 440 Button
on (press) {
if (_root.punten > _root.drempel) {
gotoAndStop ("highscore");
} else {
if (_root.level == "Level 7") {
_root.lvl = 7;
}
if (_root.level == "Level 6") {
_root.lvl = 6;
}
if (_root.level == "Level 5") {
_root.lvl = 5;
}
if (_root.level == "Level 4") {
_root.lvl = 4;
}
if (_root.level == "Level 3") {
_root.lvl = 3;
}
if (_root.level == "Level 2") {
_root.lvl = 2;
}
if (_root.level == "Level 1") {
_root.lvl = 1;
}
_root.rand = random(99999);
loadVariablesNum ((("level.php?rand=" + rand) + "&lvl=") + _root.lvl, 0);
_root.rand = random(99999);
loadVariablesNum ((("over.php?rand=" + rand) + "&spelerid=") + _root.spelerid, 0);
gotoAndPlay ("eind");
}
}
Symbol 441 Button
on (press) {
if (!_root.naam.length) {
_root.results = "Vul je naam in";
} else {
r = 0;
h = "";
v = "";
h = (((("fairplay|" + _root.punten) + "|") + _root.naam) + "|") + _root.spelerid;
x = 0;
while (x < _root.sc.length) {
r = r + Number(_root.sc.charCodeAt(x));
x++;
}
x = 0;
while (x < h.length) {
v = v + (Number(h.charCodeAt(x)) + r);
v = v + ((13 * (r - 123)) - 13);
x++;
}
rand = random(100000);
loadVariablesNum ((("datasend.php?rand=" + rand) + "&info=") + v, 0);
if (_root.level == "Level 7") {
_root.lvl = 7;
}
if (_root.level == "Level 6") {
_root.lvl = 6;
}
if (_root.level == "Level 5") {
_root.lvl = 5;
}
if (_root.level == "Level 4") {
_root.lvl = 4;
}
if (_root.level == "Level 3") {
_root.lvl = 3;
}
if (_root.level == "Level 2") {
_root.lvl = 2;
}
if (_root.level == "Level 1") {
_root.lvl = 1;
}
_root.rand = random(99999);
loadVariablesNum ((("level.php?rand=" + rand) + "&lvl=") + _root.lvl, 0);
_root.gotoAndStop("hoofdscherm");
}
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 2
stopAllSounds();
_root.moveLayer.hero.visible = false;
if (_root.moveLayer.hero._y < 530) {
_root.twiet.start(0, 0);
}
if (_root.levens > 0) {
_root.lifelost.gotoAndPlay(2);
this.gotoAndStop(1);
}
Symbol 448 MovieClip Frame 8
Symbol 448 MovieClip Frame 108
stop();
Symbol 448 MovieClip Frame 116
stop();
_root.results = "";
Symbol 448 MovieClip Frame 131
rand = random(99999);
loadVariablesNum (("myhighscore.php?rand=" + rand) + "", 0);
Symbol 448 MovieClip Frame 203
stopAllSounds();
_root.gotoAndStop("hoofdscherm");
Symbol 451 Button
on (press) {
if (_root.levens > 0) {
_root.lifelost.gotoAndStop("melden");
} else {
_root.gameovertekst.gotoAndStop("melden");
}
this.gotoAndStop(1);
}
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 2
stopAllSounds();
_root.moveLayer.hero.visible = false;
if (_root.moveLayer.hero._y < 530) {
_root.twiet.start(0, 0);
}
Symbol 452 MovieClip Frame 108
stop();
Symbol 452 MovieClip Frame 111
rand = random(99999);
loadVariablesNum (("myhighscore.php?rand=" + rand) + "", 0);
Symbol 452 MovieClip Frame 183
stopAllSounds();
_root.gotoAndStop("hoofdscherm");
Symbol 464 Button
on (press) {
gotoAndPlay ("eind");
}
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
play();
Symbol 465 MovieClip Frame 74
stop();
_root.kleur = 1 + random(3);
_root.levens = _root.levens - 1;
Symbol 465 MovieClip Frame 86
stopAllSounds();
if (_root.level == "Level 1") {
_root.gotoAndPlay("level01");
}
if (_root.level == "Level 2") {
_root.gotoAndPlay("level02");
}
if (_root.level == "Level 3") {
_root.gotoAndPlay("level03");
}
if (_root.level == "Level 4") {
_root.gotoAndPlay("level04");
}
if (_root.level == "Level 5") {
_root.gotoAndPlay("level05");
}
if (_root.level == "Level 6") {
_root.gotoAndPlay("level06");
}
Symbol 466 MovieClip Frame 32
stop();
Symbol 466 MovieClip Frame 41
play();
Symbol 466 MovieClip Frame 63
stop();
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 468 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 96 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.hero._visible = 0;
_root.moveLayer.platforms.obstakel.buis.gotoAndPlay("putin");
}
}
Instance of Symbol 193 MovieClip "buis" in Symbol 471 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 193 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 96 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Symbol 473 MovieClip Frame 1
if (_root.level == "Level 1") {
_root.teruglevel = "level01b";
}
if (_root.level == "Level 5") {
_root.teruglevel = "level05b";
}
Symbol 474 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 476 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 476 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.moveLayer.hero) && (_root.bukken == 1)) && (_root.bonusput2 == 0)) {
_root.bukken = 0;
_root.moveLayer.hero._visible = false;
_root.bonuslevel = "bonus02";
this.gotoAndPlay("putin");
}
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 477 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 206 MovieClip in Symbol 478 MovieClip Frame 1
onClipEvent (load) {
velocity = 2;
}
onClipEvent (enterFrame) {
y = _y + velocity;
if ((y > -90) || (y < -240)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.correctiemoveLayer = _root.correctiemoveLayer - velocity;
_root.moveLayer.platforms._y = _root.moveLayer.platforms._y + (velocity * -1);
_root.moveLayer.objecten._y = _root.moveLayer.objecten._y + (velocity * -1);
_root.moveLayer.objecten2._y = _root.moveLayer.objecten2._y + (velocity * -1);
_y = (_y + velocity);
} else {
_y = (_y + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 479 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 2650) || (x < 2300)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 21 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet2 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x2;
this._visible = 1;
this._alpha = 100;
if (_root.velocity2 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x2 - this._x) > 550) || ((_root.x2 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x2 - this._x) > 600) || ((_root.x2 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet3 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x3;
this._visible = 1;
this._alpha = 100;
if (_root.velocity3 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x3 - this._x) > 550) || ((_root.x3 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x3 - this._x) > 600) || ((_root.x3 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet5 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x5;
this._visible = 1;
this._alpha = 100;
if (_root.velocity5 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x5 - this._x) > 550) || ((_root.x5 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x5 - this._x) > 600) || ((_root.x5 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand3" in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 4;
numsplats = 0;
_root.schiet2 = 0;
_root.velocity2 = 0;
_root.x2 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(60) == 10) && (_root.schiet2 == 0)) && (sterf == 0)) {
_root.x2 = x;
_root.velocity2 = velocity;
_root.schiet2 = 1;
}
x = _x + velocity;
if ((x > 4800) || (x < 4000)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 6350) || (x < 5800)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand4" in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 4;
numsplats = 0;
_root.schiet3 = 0;
_root.velocity3 = 0;
_root.x3 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(70) == 10) && (_root.schiet3 == 0)) && (sterf == 0)) {
_root.x3 = x;
_root.velocity3 = velocity;
_root.schiet3 = 1;
}
x = _x + velocity;
if ((x > 2340) || (x < 1940)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 483 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 3;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(90) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 1500) || (x < 1100)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Symbol 485 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip "buis" in Symbol 488 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 193 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 96 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 96 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.hero._visible = 0;
_root.moveLayer.platforms.obstakel.buis.gotoAndPlay("putin");
}
}
Instance of Symbol 96 MovieClip in Symbol 490 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 206 MovieClip "movingPlatformsY" in Symbol 490 MovieClip Frame 1
onClipEvent (load) {
velocity = 2;
}
onClipEvent (enterFrame) {
y = _y + velocity;
if ((y > -100) || (y < -240)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.correctiemoveLayer = _root.correctiemoveLayer - velocity;
_root.moveLayer.platforms._y = _root.moveLayer.platforms._y + (velocity * -1);
_root.moveLayer.objecten._y = _root.moveLayer.objecten._y + (velocity * -1);
_root.moveLayer.objecten2._y = _root.moveLayer.objecten2._y + (velocity * -1);
_y = (_y + velocity);
} else {
_y = (_y + velocity);
}
}
Symbol 491 MovieClip Frame 1
if (_root.level == "Level 2") {
_root.teruglevel = "level02b";
}
if (_root.level == "Level 3") {
_root.teruglevel = "level03b";
}
Symbol 493 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Instance of Symbol 96 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.moveLayer.hero) && (_root.bukken == 1)) && (_root.bonusput2 == 0)) {
_root.bukken = 0;
_root.moveLayer.hero._visible = false;
_root.bonuslevel = "bonus02";
this.gotoAndPlay("putin");
}
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 500) || (x < 20)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 550) || (x < 230)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 1950) || (x < 1700)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 2200) || (x < 1900)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 4700) || (x < 4500)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 501 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 5000) || (x < 4800)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 21 MovieClip in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet2 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x2;
this._visible = 1;
this._alpha = 100;
if (_root.velocity2 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x2 - this._x) > 550) || ((_root.x2 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x2 - this._x) > 600) || ((_root.x2 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet3 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x3;
this._visible = 1;
this._alpha = 100;
if (_root.velocity3 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x3 - this._x) > 550) || ((_root.x3 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x3 - this._x) > 600) || ((_root.x3 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet5 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x5;
this._visible = 1;
this._alpha = 100;
if (_root.velocity5 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x5 - this._x) > 550) || ((_root.x5 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x5 - this._x) > 600) || ((_root.x5 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand3" in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet2 = 0;
_root.velocity2 = 0;
_root.x2 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(60) == 10) && (_root.schiet2 == 0)) && (sterf == 0)) {
_root.x2 = x;
_root.velocity2 = velocity;
_root.schiet2 = 1;
}
x = _x + velocity;
if ((x > 4000) || (x < 3400)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 7150) || (x < 6800)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand4" in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet3 = 0;
_root.velocity3 = 0;
_root.x3 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(70) == 10) && (_root.schiet3 == 0)) && (sterf == 0)) {
_root.x3 = x;
_root.velocity3 = velocity;
_root.schiet3 = 1;
}
x = _x + velocity;
if ((x > 2340) || (x < 1940)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 503 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(90) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 1500) || (x < 900)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 504 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 208 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 505 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 96 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 96 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 2;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 300) || (x < 60)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 300) || (x < 80)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 400) || (x < 200)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 2600) || (x < 2300)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 1700) || (x < 1350)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 5;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 4400) || (x < 4200)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 6200) || (x < 5900)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 512 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 21 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 350) || (x < -50)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 21 MovieClip in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet5 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x5;
this._visible = 1;
this._alpha = 100;
if (_root.velocity5 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x5 - this._x) > 550) || ((_root.x5 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x5 - this._x) > 600) || ((_root.x5 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 515 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(90) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 4200) || (x < 3800)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Symbol 516 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 518 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 193 MovieClip in Symbol 518 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Instance of Symbol 96 MovieClip in Symbol 518 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.bounding) && (this._currentframe == 1)) {
inhoud = 0;
this.gotoAndPlay("fietsterug");
_root.punten = _root.punten + 1000;
}
}
Instance of Symbol 206 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
velocity = 2;
}
onClipEvent (enterFrame) {
y = _y + velocity;
if ((y > -140) || (y < -370)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.correctiemoveLayer = _root.correctiemoveLayer - velocity;
_root.moveLayer.platforms._y = _root.moveLayer.platforms._y + (velocity * -1);
_root.moveLayer.objecten._y = _root.moveLayer.objecten._y + (velocity * -1);
_root.moveLayer.objecten2._y = _root.moveLayer.objecten2._y + (velocity * -1);
_root.moveLayer.enemy._y = _root.moveLayer.enemy._y + (velocity * -1);
_y = (_y + velocity);
} else {
_y = (_y + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
velocity = 2;
}
onClipEvent (enterFrame) {
y = _y + velocity;
if ((y > -100) || (y < -240)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.correctiemoveLayer = _root.correctiemoveLayer - velocity;
_root.moveLayer.platforms._y = _root.moveLayer.platforms._y + (velocity * -1);
_root.moveLayer.objecten._y = _root.moveLayer.objecten._y + (velocity * -1);
_root.moveLayer.objecten2._y = _root.moveLayer.objecten2._y + (velocity * -1);
_root.moveLayer.enemy._y = _root.moveLayer.enemy._y + (velocity * -1);
_y = (_y + velocity);
} else {
_y = (_y + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 500) || (x < 60)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 600) || (x < 120)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 2550) || (x < 2400)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
velocity = 3;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 3680) || (x < 3200)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 206 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (load) {
velocity = 4;
}
onClipEvent (enterFrame) {
x = _x + velocity;
if ((x > 6200) || (x < 5900)) {
velocity = velocity * -1;
}
if ((_root.moveLayer.hero.hitTest(this) && (_root.dx == 0)) && (_root.dy == 0)) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + (velocity * -1);
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + (velocity * -1);
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + (velocity * -1);
_root.moveLayer.enemy._x = _root.moveLayer.enemy._x + (velocity * -1);
_x = (_x + velocity);
} else {
_x = (_x + velocity);
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 202 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
inhoud = 1;
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx > 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx < 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (((_root.moveLayer.hero.hoofd.hitTest(this) && (inhoud == 1)) && (_root.pakBonus == 1)) && (_root.hitCeiling == 1)) {
inhoud = 0;
_root.hitCeiling = 0;
_root.pakBonus = 0;
this.gotoAndPlay("open");
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 523 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.moveLayer.hero) && (_root.bukken == 1)) && (_root.bonusput2 == 0)) {
_root.bukken = 0;
_root.moveLayer.hero._visible = false;
_root.bonuslevel = "bonus01";
this.gotoAndPlay("putin");
_root.zwart.gotoAndPlay("dicht");
}
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 208 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 21 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 350) || (x < -50)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 21 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet5 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x5;
this._visible = 1;
this._alpha = 100;
if (_root.velocity5 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x5 - this._x) > 550) || ((_root.x5 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x5 - this._x) > 600) || ((_root.x5 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(90) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 4200) || (x < 3800)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 193 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((_root.dx == 0) && (_root.dy == 0)) && (this.hitTest(_root.moveLayer.hero.bounding))) {
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.correctie;
_root.moveLayer.objecten._x = _root.moveLayer.objecten._x + _root.correctie;
_root.moveLayer.objecten2._x = _root.moveLayer.objecten2._x + _root.correctie;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx >= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
if (this.hitTest(_root.moveLayer.hero.bounding) && (_root.dx <= 0)) {
_root.dx = 0;
_root.moveLayer.hero.dx = 0;
_root.moveLayer.platforms._x = _root.moveLayer.platforms._x + _root.dx;
}
}
Instance of Symbol 193 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.moveLayer.hero.mc) && (_root.uitgespeeld == 0)) {
_root.uitgespeeld = 1;
_root.moveLayer.objecten.vlag.gotoAndPlay(2);
_root.moveLayer.hero.gotoAndPlay(8);
}
}
Instance of Symbol 21 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet1 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x1;
this._visible = 1;
this._alpha = 100;
if (_root.velocity1 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x1 - this._x) > 550) || ((_root.x1 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x1 - this._x) > 600) || ((_root.x1 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet1 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet2 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x2;
this._visible = 1;
this._alpha = 100;
if (_root.velocity2 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x2 - this._x) > 550) || ((_root.x2 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x2 - this._x) > 600) || ((_root.x2 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet2 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet3 == 1) && (gaan == 0)) {
gaan = 1;
this._x = _root.x3;
this._visible = 1;
this._alpha = 100;
if (_root.velocity3 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x3 - this._x) > 550) || ((_root.x3 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x3 - this._x) > 600) || ((_root.x3 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet3 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 21 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 14;
x = 0;
}
onClipEvent (enterFrame) {
if ((_root.schiet5 == 1) && (gaan == 0)) {
gaan = 1;
this.gotoAndStop("shuffle");
this._x = _root.x5;
this._visible = 1;
this._alpha = 100;
if (_root.velocity5 < 0) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
}
if (((_root.x5 - this._x) > 550) || ((_root.x5 - this._x) < -550)) {
this._alpha = this._alpha - 15;
}
if (((_root.x5 - this._x) > 600) || ((_root.x5 - this._x) < -600)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
}
this._x = this._x + velocity;
if (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (this._visible == 1)) && (_root.gameover == 0)) {
this._visible = 0;
gaan = 0;
this._xscale = 40;
velocity = 9;
_root.schiet5 = 0;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
Instance of Symbol 301 MovieClip "vijand3" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet2 = 0;
_root.velocity2 = 0;
_root.x2 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(60) == 10) && (_root.schiet2 == 0)) && (sterf == 0)) {
_root.x2 = x;
_root.velocity2 = velocity;
_root.schiet2 = 1;
}
x = _x + velocity;
if ((x > 4000) || (x < 3400)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand1" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 6;
numsplats = 0;
_root.schiet1 = 0;
_root.velocity1 = 0;
_root.x1 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(30) == 10) && (_root.schiet1 == 0)) && (sterf == 0)) {
_root.x1 = x;
_root.velocity1 = velocity;
_root.schiet1 = 1;
}
x = _x + velocity;
if ((x > 4200) || (x < 3200)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 301 MovieClip "vijand4" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet3 = 0;
_root.velocity3 = 0;
_root.x3 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(70) == 10) && (_root.schiet3 == 0)) && (sterf == 0)) {
_root.x3 = x;
_root.velocity3 = velocity;
_root.schiet3 = 1;
}
x = _x + velocity;
if ((x > 2340) || (x < 1940)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || ((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Instance of Symbol 307 MovieClip "vijand5" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
sterf = 0;
velocity = 5;
numsplats = 0;
_root.schiet5 = 0;
_root.velocity5 = 0;
_root.x5 = 0;
}
onClipEvent (enterFrame) {
if (this._visible == 0) {
sterf = 1;
this._y = 10000;
}
if (((random(90) == 10) && (_root.schiet5 == 0)) && (sterf == 0)) {
_root.x5 = x;
_root.velocity5 = velocity;
_root.schiet5 = 1;
}
x = _x + velocity;
if ((x > 1500) || (x < 900)) {
velocity = velocity * -1;
this._xscale = this._xscale * -1;
}
if (sterf == 0) {
_x = (_x + velocity);
}
if ((((this.hitTest(_root.moveLayer.hero) && (_root.pakBonus == 0)) && (sterf == 0)) && (_root.dy > 0)) && (_root.gameover == 0)) {
velocity = 0;
sterf = 1;
this.gotoAndStop(2);
}
if (((((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.pakBonus == 0)) && (sterf == 0)) || (((this.hitTest(_root.moveLayer.hero) && (_root.jumpsetup == true)) && (_root.hitEnemy == 0)) && (sterf == 0))) || (((this.hitTest(_root.moveLayer.hero) && (_root.hitEnemy == 0)) && (_root.dy < 0)) && (sterf == 0))) {
if (_root.gameover == 0) {
_root.sterren.gotoAndPlay(2);
velocity = velocity * -1;
this._xscale = this._xscale * -1;
_root.hitTijd = _root.tijd + 1000;
_root.hitEnemy = 1;
_root.kracht = _root.kracht - 1;
_root.hitsound2.start(0, 0);
}
}
}
Symbol 538 Button
on (press) {
if (_root.punten > _root.drempel) {
gameovertekst.gotoAndStop("highscore");
} else {
_root.rand = random(99999);
loadVariablesNum ((("over.php?rand=" + rand) + "&spelerid=") + _root.spelerid, 0);
if (_root.level == "Level 7") {
_root.lvl = 7;
}
if (_root.level == "Level 6") {
_root.lvl = 6;
}
if (_root.level == "Level 5") {
_root.lvl = 5;
}
if (_root.level == "Level 4") {
_root.lvl = 4;
}
if (_root.level == "Level 3") {
_root.lvl = 3;
}
if (_root.level == "Level 2") {
_root.lvl = 2;
}
if (_root.level == "Level 1") {
_root.lvl = 1;
}
_root.rand = random(99999);
loadVariablesNum ((("level.php?rand=" + rand) + "&lvl=") + _root.lvl, 0);
_root.gotoAndStop("hoofdscherm");
gotoAndStop ("hoofdscherm");
}
}