STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228130
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/80057620?noj=FRM80057620-15DC" width="1" height="1"></div>

Submarine.swf

This is the info page for
Flash #25784

(Click the ID number above for more basic data on this flash file.)


Text
xmax

xmin

ymax

ymin

SPACE

powered by

Sound off

Main Menu

0/100

Hallo, welkom bij de ONderzeeër gamesdflskjflks dslfkjsdlkfjsldkfjlskdfjlskdjf

MORE GAMES

GAMES FOR YOUR SITE

Loading...

PRESENTS

ActionScript [AS1/AS2]

Frame 1
if (_root.getBytesLoaded() != _root.getBytesTotal()) { stop(); } else { play(); } _root.attachMovie("ADBALK", "ADBALK", 9999999); _root.ADBALK._x = 0; _root.ADBALK._y = 400;
Instance of Symbol 341 MovieClip "loadbar" in Frame 1
onClipEvent (load) { beginloaded = _root.getBytesLoaded(); if (_root.getBytesLoaded() == _root.getBytesTotal()) { this._visible = false; } } onClipEvent (enterFrame) { total = _root.getBytesTotal() - beginloaded; loaded = _root.getBytesLoaded() - beginloaded; getal = (loaded * 100) / total; this.loadmask._x = -212 + (212 * (getal / 100)); _root.getal.text = getal; if (total == loaded) { _root.play(); } }
Instance of Symbol 120 MovieClip [sub] in Frame 1
onClipEvent (load) { if (_root.getBytesLoaded() == _root.getBytesTotal()) { this._visible = false; } }
Instance of Symbol 344 MovieClip in Frame 1
onClipEvent (load) { if (_root.getBytesLoaded() == _root.getBytesTotal()) { this._visible = false; } }
Frame 2
stop(); stop();
Instance of Symbol 347 MovieClip in Frame 2
onClipEvent (load) { this._alpha = 0; this.stat = 0; this.teller = 0; this.onRelease = function () { getURL ("http://www.happytree.nl/", "_blank"); }; } onClipEvent (enterFrame) { if (_root.logoplayed) { this.stat = 2; } switch (this.stat) { case 0 : this._alpha = this._alpha + 3; if (this._alpha >= 100) { this.stat++; this._alpha = 100; } break; case 1 : this.teller++; if (this.teller > 50) { this.stat++; } break; case 2 : this._alpha = this._alpha - 3; if (this._alpha > 0) { break; } this._alpha = 0; _root.logoplayed = true; _root.play(); } }
Frame 7
play();
Frame 8
function init_playerscript() { getdepth = _root.level.player.getDepth(); if (_root.allesterren) { _root.level.attachMovie("sub2", "player", getdepth); } _root.level.player._x = _root.level[_root.gamevars.beginpos]._x; _root.level.player._y = _root.level[_root.gamevars.beginpos]._y; _root.level.player.massa = 1; _root.level.player.thrust = 0.8; _root.level.player.decay = 0.97; _root.level.player.xSpeed = 0; _root.level.player.ySpeed = 0; _root.level.player.maxSpeed = 5; _root.level.player.rotthrust = 2; _root.level.player.rotdecay = 0.85; _root.level.player.rotspeed = 0; _root.level.player.rotmax = 13; _root.level.player.xd = 0; _root.level.player.yd = 0; _root.level.player.punt_draaix = _root.level.player._x; _root.level.player.punt_draaiy = _root.level.player._y; _root.level.player.middenstuk._rotation = -_root.gamevars.rotatie; _root.level.player.framegetal = 1; _root.level.player.luchtbelteller = 30; _root.level.player.luchtbelnummer = 50; _root.level.player.inlucht = 0; _root.level.player.binlucht = 0; _root.level.player.diameter = 20; _root.level.player.turboteller = 0; _root.level.player.turbo._alpha = 0; _root.level.player.spacevorig = 0; _root.level.player.spacetime = 0; _root.level.player.spacecase = 0; _root.level.player.keysoundteller = 0; _root.level.player.speelscript = function () { if (_root.acces) { if (_root.keys.bevest) { this.spacetime++; } else { this.spacevorig = this.spacetime; this.spacetime = 0; } switch (this.spacecase) { case 0 : if ((this.spacevorig <= 10) && (this.spacevorig > 0)) { this.spacecase = 1; } if (this.spacetime > 20) { this.spacecase = 2; } if (this.inlucht == 0) { this.xSpeed = this.xSpeed * (this.decay / 1.3); this.ySpeed = this.ySpeed * (this.decay / 1.3); } this.rotspeed = this.rotspeed * (this.rotdecay / 2); break; case 1 : if ((this.spacevorig <= 10) && (this.spacevorig > 0)) { this.spacecase = 0; } if (this.spacetime > 20) { this.spacecase = 2; } this.rotspeed = this.rotspeed + (this.rotthrust / 2); this.punt_draai._x = this.punt_draai._x + 2; if (rotspeed > rotmax) { this.rotspeed = this.rotmax; } this.rotspeed = this.rotspeed * this.rotdecay; if (this.inlucht == 0) { this.xSpeed = this.xSpeed * (this.decay / 2); this.ySpeed = this.ySpeed * (this.decay / 2); } break; case 2 : if (this.spacetime == 0) { this.spacecase = 0; } if (this.inlucht == 0) { this.xSpeed = this.xSpeed + ((this.thrust * Math.sin(this._rotation * (Math.PI/180))) * 1.5); this.ySpeed = this.ySpeed + ((this.thrust * Math.cos(this._rotation * (Math.PI/180))) * 1.5); } else if (_root.level.grond.hitTest(this._x + _root.level._x, ((this._y + this.diameter) + 5) + _root.level._y, true)) { this.xSpeed = this.xSpeed + ((this.thrust / 4) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust / 4) * Math.cos(this._rotation * (Math.PI/180))); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.95; this.ySpeed = this.ySpeed * 0.95; } } this.rotspeed = this.rotspeed * (this.rotdecay / 2); } this.keysoundteller++; if (_root.keys.ent && (this.keysoundteller > 10)) { this.keysoundteller = 0; if (_root.geluidon) { _root.geluidon = false; _root.minterface.geluid_button.gotoAndStop(2); } else { _root.geluidon = true; _root.startgeluid(); _root.minterface.geluid_button.gotoAndStop(1); } } if (_root.keys.back && (!_root.inmenu)) { _root.exit_level(); } } if (_root.keys.back && (_root.inmenu)) { _root.acces = true; _root.exit_level(); } if (!_root.acces) { if (_root.keys.rechts) { this.rotspeed = this.rotspeed + this.rotthrust; this.punt_draai._x = this.punt_draai._x + 2; } if (_root.keys.links) { this.rotspeed = this.rotspeed - this.rotthrust; this.punt_draai._x = this.punt_draai._x - 2; } if (rotspeed > rotmax) { this.rotspeed = this.rotmax; } this.rotspeed = this.rotspeed * this.rotdecay; } this._rotation = this._rotation + this.rotspeed; this.punt_draaix = this.punt_draaix + ((this.xd = this.xd + ((this._x - this.punt_draaix) / 200))); this.punt_draaiy = this.punt_draaiy + ((this.yd = this.yd + ((this._y - this.punt_draaiy) / 300))); this.yd = this.yd * 0.95; this.xd = this.xd * 0.95; this.middenstuk._rotation = (-this._rotation) + (0.3 * (-(this._x - this.punt_draaix))); this.wiel1._rotation = -8 * this.middenstuk._rotation; this.wiel2._rotation = (-8 * this.middenstuk._rotation) + 90; this.wiel3._rotation = (-8 * this.middenstuk._rotation) + 180; this.wiel4._rotation = (-8 * this.middenstuk._rotation) + 270; if (!_root.acces) { if (_root.keys.bevest) { if (_root.level.player.turboteller < -10) { _root.level.player.turboteller = 6; if (this.inlucht == 0) { this.xSpeed = this.xSpeed + ((this.thrust * 3) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust * 3) * Math.cos(this._rotation * (Math.PI/180))); } } this.framespeed = 16; } else if (this.maxSpeed > 5.1) { this.maxSpeed = this.maxSpeed - 0.1; } _root.level.player.turboteller--; if (_root.level.player.turboteller >= 0) { this.turbo._alpha = (this.speed * 100) / 18; if (this.inlucht == 0) { this.xSpeed = this.xSpeed + (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + (this.thrust * Math.cos(this._rotation * (Math.PI/180))); } } else { this.turbo._alpha = this.turbo._alpha - 5; if (this.turbo._alpha <= 0) { this.turbo._alpha = 0; } } } if (_root.keys.omhoog) { if (this.inlucht == 0) { this.xSpeed = this.xSpeed + (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + (this.thrust * Math.cos(this._rotation * (Math.PI/180))); } else if (_root.level.grond.hitTest(this._x + _root.level._x, ((this._y + this.diameter) + 5) + _root.level._y, true)) { this.xSpeed = this.xSpeed + ((this.thrust / 4) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust / 4) * Math.cos(this._rotation * (Math.PI/180))); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.95; this.ySpeed = this.ySpeed * 0.95; } } } else if (_root.keys.omlaag) { if (this.inlucht == 0) { this.xSpeed = this.xSpeed - (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed - (this.thrust * Math.cos(this._rotation * (Math.PI/180))); this.flames._visible = 1; } } else if ((this.inlucht == 0) && (!_root.acces)) { this.xSpeed = this.xSpeed * this.decay; this.ySpeed = this.ySpeed * this.decay; } this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.inlucht == 0) { if (this.speed > this.maxSpeed) { this.xSpeed = this.xSpeed * 0.92; this.ySpeed = this.ySpeed * 0.92; } } if (Math.round(this.speed) == 0) { this.framespeed = 1; } if (Math.round(this.speed) == 1) { this.framespeed = 2; } if (Math.round(this.speed) == 2) { this.framespeed = 3; } if (Math.round(this.speed) == 3) { this.framespeed = 4; } if (Math.round(this.speed) == 4) { this.framespeed = 6; } this.framegetal = this.framegetal + this.framespeed; if (this.framegetal > 20) { this.framegetal = this.framegetal - 20; } this.rotor.gotoAndStop(this.framegetal); this._y = this._y - this.ySpeed; this._x = this._x + this.xSpeed; this.luchtbelteller = this.luchtbelteller - this.framespeed; if (this.luchtbelteller < 0) { this.luchtbelteller = 20; if (this.inlucht == 0) { if (_root.level.lucht.hitTest((this._x + _root.level._x) - (Math.sin(this._rotation * (Math.PI/180)) * ((55 + random(20)) - 10)), (this._y + _root.level._y) + (Math.cos(this._rotation * (Math.PI/180)) * ((55 + random(20)) - 10)), true)) { } else { _root.bobble_geluid(); _root.attachMovie("luchtbel", "bel" + this.luchtbelnummer, this.luchtbelnummer + 100); _root["bel" + this.luchtbelnummer]._x = (this._x + _root.level._x) - (Math.sin(((this._rotation + random(10)) - 5) * (Math.PI/180)) * ((this.diameter + random(20)) + 10)); _root["bel" + this.luchtbelnummer]._y = (this._y + _root.level._y) + (Math.cos(((this._rotation + random(10)) - 5) * (Math.PI/180)) * ((this.diameter + random(20)) + 10)); _root["bel" + this.luchtbelnummer]._alpha = 50; _root["bel" + this.luchtbelnummer]._xscale = (_root["bel" + this.luchtbelnummer]._yscale = random(50) + 50); _root["bel" + this.luchtbelnummer].speed = _root["bel" + this.luchtbelnummer]._xscale / 20; _root["bel" + this.luchtbelnummer].onEnterFrame = function () { this._y = this._y - this.speed; this.speed = this.speed + 0.3; if (((this._y < 0) || (_root.level.voorrand.hitTest(this._x, this._y - 5, true))) || (!_root.luchtbeltoegestaan)) { this.removeMovieClip(); } }; this.luchtbelnummer = this.luchtbelnummer + 1; if (this.luchtbelnummer > 100) { this.luchtbelnummer = 50; } } } } this.collisionx = 0; this.collisiony = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this.xSpeed = this.xSpeed - 1; this._x = this._x - 1; } } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { trace("kom ik"); this.collisionx = 1; this.xSpeed = this.xSpeed + 1; this._x = this._x + 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this.ySpeed = this.ySpeed + 1; this._y = this._y - 1; if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.xSpeed = this.xSpeed + (0.1 * Math.sin(_rotation * (Math.PI/180))); } } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this.ySpeed = this.ySpeed - 1; this._y = this._y + 1; } } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.ySpeed >= 0) { this.ySpeed = this.ySpeed - 0.4; } else if (this.ySpeed < 0) { this.ySpeed = this.ySpeed - 0.4; } this.inlucht = 1; } else { this.inlucht = 0; } if (this.binlucht != this.inlucht) { if (this.inlucht == 1) { if ((this.ySpeed > 1) || (this.ySpeed < -1)) { if ((this.ySpeed > 3) || ((this.ySpeed < -3) && (_root.geluidon))) { _root.sound_plons.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splash", "watersplash" + nr, nr); _root.level["watersplash" + nr]._x = this._x; _root.level["watersplash" + nr]._y = this._y; while (!_root.level.voorrand.hitTest(_root.level["watersplash" + nr]._x + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._y = _root.level["watersplash" + nr]._y + 1; } _root.level["watersplash" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x + 1; } } } } if (this.inlucht == 0) { this.ySpeed = this.ySpeed / 1.3; if ((this.ySpeed > 1) || (this.ySpeed < -1)) { if ((this.ySpeed > 3) || ((this.ySpeed < -3) && (_root.geluidon))) { _root.sound_plons2.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons2.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splashs", "watersplashs" + nr, nr); _root.level["watersplashs" + nr]._x = this._x; _root.level["watersplashs" + nr]._y = this._y + this.diameter; _root.level["watersplashs" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); while (_root.level.voorrand.hitTest(_root.level["watersplashs" + nr]._x + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._y = _root.level["watersplashs" + nr]._y - 1; } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x + 1; } } } } } this.binlucht = this.inlucht; _root.musicvolchange_geluid(); j = 0; while (j < _root.gamevars.levelobjects.length) { if (this.hitTest(_root.level[_root.gamevars.levelobjects[j][0]])) { switch (_root.gamevars.levelobjects[j][1]) { case "mapchange" : _root.init_level(_root.gamevars.levelobjects[j][2], _root.gamevars.levelobjects[j][3], _root.gamevars.levelobjects[j][4], _root.gamevars.levelobjects[j][5]); break; case "item" : if (_root.gamevars.levelobjects[j][2] == "star") { _root.starArray[_root.gamevars.levelobjects[j][4]] = true; trace(_root.gamevars.levelobjects[j][4]); _root.level[_root.gamevars.levelobjects[j][0]]._alpha = 0; } else if (_root.iteminvname != _root.gamevars.levelobjects[j][2]) { _root.iteminv = _root.gamevars.levelobjects[j][3]; _root.iteminvname = _root.gamevars.levelobjects[j][2]; _root.level[_root.gamevars.levelobjects[j][0]]._alpha = 0; _root.level[_root.gamevars.levelobjects[j][0]]._visible = false; if (_root.geluidon) { _root.sound_item.start(0, 1); } } break; case "switch" : if ((_root.gamevars.levelobjects[j][2] == _root.iteminvname) || (_root.gamevars.levelobjects[j][2] == "")) { trace(_root.level.grond[_root.gamevars.levelobjects[j][3]].done); if ((_root.gamevars.levelobjects[j][2] != "") && (_root.level.grond[_root.gamevars.levelobjects[j][3]].done == false)) { _root.iteminv = ""; _root.iteminvname = ""; } _root.init_door(_root.gamevars.levelobjects[j][3], _root.gamevars.levelobjects[j][4]); } break; case "tekst" : if (_root.level[_root.gamevars.levelobjects[j][0]].done) { break; } _root.level[_root.gamevars.levelobjects[j][0]].tekstScript(); if (!_root.gamevars.levelobjects[j][2]) { break; } _root.level[_root.gamevars.levelobjects[j][0]].done = true; } } if (!(_root.gamevars.levelobjects[j][1] === "item")) { } else if ((_root.iteminvname != _root.gamevars.levelobjects[j][2]) && (_root.gamevars.levelobjects[j][2] != "star")) { if (_root.level[_root.gamevars.levelobjects[j][0]]._alpha < 100) { _root.level[_root.gamevars.levelobjects[j][0]]._alpha = _root.level[_root.gamevars.levelobjects[j][0]]._alpha + 2.5; _root.level[_root.gamevars.levelobjects[j][0]]._visible = true; } } j++; } _root.iteminterface(); }; } function checkkeys() { if (Key.isDown(37)) { _root.keys.links = true; _root.keys.anykey = true; } if (Key.isDown(39)) { _root.keys.rechts = true; _root.keys.anykey = true; } if (Key.isDown(38)) { _root.keys.omhoog = true; _root.keys.anykey = true; } if (Key.isDown(40)) { _root.keys.omlaag = true; _root.keys.anykey = true; } if (Key.isDown(32)) { _root.keys.bevest = true; _root.keys.anykey = true; } if (Key.isDown(17)) { _root.keys.cancl = true; _root.keys.anykey = true; } if (Key.isDown(13)) { _root.keys.ent = true; _root.keys.anykey = true; } if (Key.isDown(8)) { _root.keys.back = true; _root.keys.anykey = true; } } function setkeysfalse() { _root.keys.links = false; _root.keys.rechts = false; _root.keys.omhoog = false; _root.keys.omlaag = false; _root.keys.bevest = false; _root.keys.cancl = false; _root.keys.ent = false; _root.keys.back = false; _root.keys.anykey = false; } function init_level(levelnaam, beginpos, rotatie, muziekstuk) { _root.vorigmusic = _root.gamevars.muzieknummer; _root.gamevars = new Object(); _root.gamevars.levelnaam = levelnaam; _root.gamevars.beginpos = beginpos; _root.gamevars.rotatie = rotatie; _root.gamevars.levelchange = 1; _root.gamevars.vorigemuziek = _root.gamevars.muzieknummer; _root.gamevars.muzieknummer = muziekstuk; _root.gamestat = "change"; _root.attachMovie("levelswitchen", "levelswitch", 1000); _root.attachMovie("tekstvak", "tekstvak", 990); _root.tekstvak._visible = false; _root.tekstvak._x = 18; _root.tekstvak._y = 310; _root.tekstvak.actief = false; _root.tekstregels = []; _root.levelswitch._x = -775; _root.levelswitch._y = 200; _root.itemsarray = []; _root.doorsarray = []; freedepth = 801; freeitemdepth = 100; } function init_levelchange() { _root.gamevars.levelobjects = []; _root.attachMovie(_root.gamevars.levelnaam, "level", 1); _root.attachMovie("inventory", "inventory", 2); _root.attachMovie("star_inventory", "star_inventory", 3); _root.star_inventory._x = 46.4; _root.star_inventory._y = 45.5; _root.star_inventory._visible = false; _root.minterface._visible = false; _root.inventory._x = 504.5; _root.inventory._y = 45.5; _root.level.voorrand.swapDepths(200); _root.level.levelscript = function () { this._x = this._x + ((((_root.level.player._x * -1) + (stageh / 2)) - this._x) / 10); this._y = this._y + ((((_root.level.player._y * -1) + (stagev / 2)) - this._y) / 10); nux = _root.level.xmax - stageh; if ((-nux) > this._x) { this._x = -nux; } if (this._x > _root.level.xmin) { this._x = _root.level.xmin; } nuy = _root.level.ymax - stagev; if ((-nuy) > this._y) { this._y = -nuy; } if (this._y > _root.level.ymin) { this._y = _root.level.ymin; } }; _root.init_playerscript(); _root.level.player._rotation = _root.gamevars.rotatie; _root.level._x = (_root.level.player._x * -1) + (stageh / 2); _root.level._y = (_root.level.player._y * -1) + (stagev / 2); _root.gamevars.levelinit = 2; } function init_background(backgroundnaam) { _root.attachMovie(backgroundnaam, "background1", 0); } function getfreedepth() { freedepth++; if (freedepth >= 1000) { freedepth = 801; } return(freedepth); } function getfreeitemdepth() { freeitemdepth++; if (freeitemdepth >= 199) { freeitemdepth = 100; } return(freeitemdepth); } function trilllevel(uitslag) { if (uitslagpos) { uitslagpos = false; _root.level._x = _root.level._x + random(uitslag); _root.level._y = _root.level._y + random(uitslag); } else { uitslagpos = true; _root.level._x = _root.level._x + (-random(uitslag)); _root.level._y = _root.level._y + (-random(uitslag)); } } function exit_level() { luchtbeltoegestaan = false; _root.level.removeMovieClip(); _root.star_inventory.removeMovieClip(); _root.minterface.removeMovieClip(); _root.inventory.removeMovieClip(); _root.trefoundMC.removeMovieClip(); _root.tekstvak.removeMovieClip(); _root.background1.removeMovieClip(); _root.sound_bobble.stop(); _root.sound_music.stop(); _root.sound_rock.stop(); _root.sound_bobble.stop(); _root.sound_plons.stop(); _root.sound_plons2.stop(); _root.sound_item.stop(); _root.play(); } function init_item(type, naam, xpos, ypos, diameter, extrapow, pickup, massa, accgewicht, botsdemp) { if ((type == "star") && (_root.starArray[diameter])) { trace("heb ik al gehad"); } else { nummer = getfreeitemdepth(); _root.level.attachMovie(type, "item" + nummer, nummer); _root.itemsarray.push(_root.level["item" + nummer]._name); _root.level["item" + nummer]._x = xpos; _root.level["item" + nummer]._y = ypos; _root.level["item" + nummer].thrust = 1; _root.level["item" + nummer].decay = 0.98; _root.level["item" + nummer].maxSpeed = 10; _root.level["item" + nummer].xSpeed = 0; _root.level["item" + nummer].ySpeed = 0; _root.level["item" + nummer]._visible = 1; _root.level["item" + nummer].extrapower = 0.1; _root.level["item" + nummer].accgewicht = accgewicht; _root.level["item" + nummer].inlucht = 0; _root.level["item" + nummer].binlucht = 0; _root.level["item" + nummer].diameter = diameter; _root.level["item" + nummer].rotator = 0; _root.level["item" + nummer].balextra._visible = 1; _root.level["item" + nummer].pickup = pickup; _root.level["item" + nummer].naam = naam; _root.level["item" + nummer].massa = massa; _root.level["item" + nummer].botsdemp = botsdemp; if (_root.iteminvname == naam) { _root.level["item" + nummer]._alpha = 0; } if (pickup) { _root.gamevars.levelobjects.push([_root.level["item" + nummer]._name, "item", naam, type, diameter]); _root.level["item" + nummer].itemScript = function () { }; } else { _root.level["item" + nummer].itemScript = function () { this.balextra._rotation = -this._rotation; this.xSpeed = this.xSpeed * 0.99; this.ySpeed = this.ySpeed * this.decay; if (this.rotator > 20) { this.rotator = 20; } if (this.rotator < -20) { this.rotator = -20; } this._rotation = this._rotation + this.rotator; this.rotator = this.rotator * 0.99; this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > this.maxSpeed) { this.xSpeed = this.xSpeed * (this.maxSpeed / this.speed); this.ySpeed = this.ySpeed * (this.maxSpeed / this.speed); } this._y = this._y - this.ySpeed; this._x = this._x + this.xSpeed; if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + 12) + _root.level._y, true)) { this.ySpeed = this.ySpeed - 0.3; this.inlucht = 1; } else { this.ySpeed = this.ySpeed + 0.3; this.inlucht = 0; } if (this.hitTest(_root.level.player)) { if (_root.level.player.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.player.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x - 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.player.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x + 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { while (_root.level.player.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this._y = this._y - 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { while (_root.level.player.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this._y = this._y + 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } } if (_root.level.grond.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this.xSpeed = this.xSpeed * -0.9; while (_root.level.grond.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x - 1; } } if (_root.level.grond.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this.xSpeed = this.xSpeed * -0.9; while (_root.level.grond.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x + 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this.ySpeed = this.ySpeed * -0.9; while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this._y = this._y - 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this.ySpeed = this.ySpeed * -0.9; while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this._y = this._y + 1; } } if (this.binlucht != this.inlucht) { if (this.inlucht == 1) { if ((this.ySpeed > 2) || (this.ySpeed < -2)) { if ((this.ySpeed > 3) || (this.ySpeed < -3)) { _root.sound_plons.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splash", "watersplash" + nr, nr); _root.level["watersplash" + nr]._x = this._x; _root.level["watersplash" + nr]._y = this._y; _root.level["watersplash" + nr]._width = this.diameter * 2; while (!_root.level.voorrand.hitTest(_root.level["watersplash" + nr]._x + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._y = _root.level["watersplash" + nr]._y + 1; } _root.level["watersplash" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x + 1; } } } } if (this.inlucht == 0) { this.ySpeed = this.ySpeed / 1.3; if ((this.ySpeed > 2) || (this.ySpeed < -2)) { if ((this.ySpeed > 3) || (this.ySpeed < -3)) { _root.sound_plons2.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons2.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splashs", "watersplashs" + nr, nr); _root.level["watersplashs" + nr]._x = this._x; _root.level["watersplashs" + nr]._y = this._y; _root.level["watersplashs" + nr]._width = this.diameter * 2; _root.level["watersplashs" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); while (_root.level.voorrand.hitTest(_root.level["watersplashs" + nr]._x + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._y = _root.level["watersplashs" + nr]._y - 1; } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x + 1; } } } } } this.binlucht = this.inlucht; }; } } } function itemlooper() { j = 0; while (j < _root.itemsarray.length) { _root.level[_root.itemsarray[j]].itemScript(); j++; } } function iteminterface() { switch (_root.iteminv) { case "" : _root.inventory.item.removeMovieClip(); _root.inventory._visible = false; break; default : _root.inventory._visible = true; _root.inventory.attachMovie(_root.iteminv, "item", 1); } } function init_door(naam, functie) { gevonden = false; k = 0; while (k < _root.doorsarray.length) { if (_root.doorsarray[k][0] == naam) { gevonden = true; } k++; } if (!gevonden) { _root.doorsarray.push([naam, functie]); } } function loop_doors() { j = 0; while (j < _root.doorsarray.length) { if (!_root.level.grond[_root.doorsarray[j][0]].done) { waarde = _root.level.grond[_root.doorsarray[j][0]][_root.doorsarray[j][1]](); } else { _root.doorsarray.splice(j, 1); j--; } if (waarde) { _root.doorsarray.splice(j, 1); j--; } j++; } } function stopgeluid() { _root.sound_bobble.setVolume(0); _root.sound_music.setVolume(0); _root.sound_rock.setVolume(0); _root.sound_bobble.setVolume(0); _root.sound_plons.setVolume(0); _root.sound_plons2.setVolume(0); _root.sound_item.setVolume(0); } function startgeluid() { _root.sound_bobble.setVolume(60); _root.sound_music.setVolume(100); _root.sound_bobble.setVolume(100); _root.sound_plons.setVolume(100); _root.sound_plons2.setVolume(100); _root.sound_item.setVolume(100); } function bobble_geluid() { if (_root.geluidon) { _root.sound_bobble.attachSound(("bobble" + bobblenummer) + ".wav"); _root.sound_bobble.start(0, 1); bobblenummer = random(9); if (bobblenummer > 8) { bobblenummer = 1; } } } function musicchange_geluid(naam) { _root.sound_music.stop(); _root.sound_music.attachSound(naam); _root.sound_music.start(0, 999); _root.vorigmusic = naam; } function musicvolchange_geluid() { if (_root.geluidon) { if (_root.level.player.inlucht == 1) { _root.sound_music.setVolume(_root.sound_music.getVolume() - 20); if (_root.sound_music.getVolume() <= 20) { _root.sound_music.setVolume(20); } } else { _root.sound_music.setVolume(_root.sound_music.getVolume() + 10); if (_root.sound_music.getVolume() >= 100) { _root.sound_music.setVolume(100); } } } } _root.keys = new Object(); freedepth = 801; uitslagpos = false; _root.addTekst = function (tekst, tijd) { gevonden = false; k = 0; while (k < _root.tekstregels.length) { if (_root.tekstregels[k][0] == tekst) { gevonden = true; } k++; } trace(gevonden); if (!gevonden) { _root.tekstregels.push([tekst, tijd * 24]); } }; _root.tekstvakScript = function () { if ((!_root.tekstvak.actief) && (_root.tekstregels.length > 0)) { _root.tekstvak.tekstveld.text = _root.tekstregels[0][0]; _root.tekstvak.tijd = _root.tekstregels[0][1]; _root.tekstvak.teller = 0; _root.tekstvak.actief = true; _root.tekstvak._visible = true; } if (_root.tekstvak.actief) { _root.tekstvak.teller++; if (_root.tekstvak.tijd == _root.tekstvak.teller) { _root.tekstvak.actief = false; _root.tekstvak._visible = false; _root.tekstregels.shift(); } } }; _root.staraantal = 0; _root.staractief = false; _root.starInvScript = function () { nuaantal = 0; i = 0; while (i < 100) { if (_root.starArray[i] == true) { nuaantal++; } i++; } if (nuaantal != _root.staraantal) { trace(_root.star_inventory.aantal); _root.staraantal = nuaantal; _root.star_inventory.tekstveld.text = _root.staraantal + "/15"; _root.star_inventory.tijd = 120; _root.star_inventory.teller = 0; _root.staractief = true; _root.star_inventory._visible = true; } if (_root.staraantal == 15) { _root.allesterren = true; } if (_root.staractief) { _root.star_inventory.teller++; if (_root.star_inventory.tijd == _root.star_inventory.teller) { _root.staractief = false; _root.star_inventory._visible = false; _root.minterface._visible = false; Mouse.hide(); } } }; bobblenummer = 1; _root.createEmptyMovieClip("sound_bobbleMC", -101); _root.sound_bobble = new Sound(_root.sound_bobbleMC); _root.sound_bobble.setVolume(50); _root.createEmptyMovieClip("sound_musicMC", -100); _root.sound_music = new Sound(_root.sound_musicMC); _root.sound_music.setVolume(0); _root.gamevars.muzieknummer = ""; _root.vorigmusic = ""; _root.createEmptyMovieClip("sound_rockMC", -102); _root.sound_rock = new Sound(_root.sound_rockMC); _root.sound_rock.attachSound("rock.wav"); _root.sound_rock.start(0, 9999); _root.sound_rock.onSoundComplete = function () { if (_root.geluidon) { _root.sound_rock.start(0, 9999); } }; _root.sound_rock.setVolume(0); _root.createEmptyMovieClip("sound_plonsMC", -103); _root.sound_plons = new Sound(_root.sound_plonsMC); _root.sound_plons.attachSound("plons"); _root.createEmptyMovieClip("sound_plonsMC2", -104); _root.sound_plons2 = new Sound(_root.sound_plonsMC2); _root.sound_plons2.attachSound("plons2"); _root.createEmptyMovieClip("sound_item", -105); _root.sound_item = new Sound(_root.sound_item); _root.sound_item.attachSound("huub.wav"); stop(); _root.sound_bobble.stop(); _root.sound_music.stop(); _root.sound_rock.stop(); _root.sound_bobble.stop(); _root.sound_plons.stop(); _root.sound_plons2.stop(); _root.sound_item.stop(); luchtbeltoegestaan = true; stageh = 550; stagev = 400; stergetal = 0; gamestat = "change"; geluidon = true; _root.inmenu = true; _root.gamevars = new Object(); init_level("level_menu", "startpos1", 180, "menuaudio.wav"); _root.attachMovie("menu_interface", "minterface", 4); _root.attachMovie("inventory2", "trefoundMC", 5); _root.trefoundMC._y = 45.5; _root.trefoundMC._x = 430.4; _root.trefoundMC._visible = false; _root.minterface._y = 45.5; _root.minterface._x = 189.83; _root.minterface._visible = false; _root.minterface.menu_button.onPress = function () { _root.exit_level(); }; _root.minterface.geluid_button.onPress = function () { if (_root.geluidon) { _root.geluidon = false; _root.minterface.geluid_button.gotoAndStop(2); } else { _root.geluidon = true; _root.startgeluid(); _root.minterface.geluid_button.gotoAndStop(1); } trace(_root.geluidon); }; _root.iteminv = ""; _root.iteminvname = ""; _root.starArray = []; i = 0; while (i < 100) { _root.starArray[i] = false; i++; } _root.bxmouse = _root._xmouse; _root.bymouse = _root._ymouse; _root.onEnterFrame = function () { switch (gamestat) { case "change" : if (_root.gamevars.levelchange == 1) { _root.levelswitch._x = _root.levelswitch._x + 50; if (_root.levelswitch._x >= 275) { _root.gamevars.levelchange = 2; init_levelchange(); } if ((_root.gamevars.muzieknummer != _root.vorigmusic) && (_root.geluidon)) { getal = ((_root.levelswitch._x - -775) * 100) / 1050; _root.sound_music.setVolume(100 - getal); } } if (_root.gamevars.levelchange >= 2) { _root.levelswitch._x = _root.levelswitch._x + 50; if (_root.gamevars.levelchange == 3) { _root.level.nux = _root.level.xmax - stageh; if ((-_root.level.nux) > _root.level._x) { _root.level._x = -_root.level.nux; } if (_root.level._x > _root.level.xmin) { _root.level._x = _root.level.xmin; } _root.level.nuy = _root.level.ymax - stagev; if ((-_root.level.nuy) > _root.level._y) { _root.level._y = -_root.level.nuy; } if (_root.level._y > _root.level.ymin) { _root.level._y = _root.level.ymin; } _root.iteminterface(); _root.sound_rock.setVolume(0); _root.bxmouse = _root._xmouse; _root.bymouse = _root._ymouse; if (_root.gamevars.muzieknummer != _root.vorigmusic) { _root.musicchange_geluid(_root.gamevars.muzieknummer); } _root.level.startknop.onPress = function () { _root.acces = false; _root.exit_level(); }; } if (((_root.gamevars.muzieknummer != _root.vorigmusic) && (!_root.level.lucht.hitTest(_root.level[_root.gamevars.beginpos]._x + _root.level._x, _root.level[_root.gamevars.beginpos]._y + _root.level._y, true))) && (_root.geluidon)) { getal = ((1450 - _root.levelswitch._x) * 100) / 1050; if (getal >= 100) { getal = 100; } _root.sound_music.setVolume(100 - getal); } _root.gamevars.levelchange++; if (_root.levelswitch._x >= 1450) { _root.vorigmusic = _root.gamevars.muzieknummer; _root.levelswitch.removeMovieClip(); gamestat = "play"; } } break; case "play" : Mouse.show(); checkkeys(); _root.level.player.speelscript(); _root.level.levelscript(); _root.itemlooper(); _root.loop_doors(); setkeysfalse(); if (!_root.geluidon) { _root.stopgeluid(); } if (_root.trefound) { } break; case "victory" : _root.trefoundMC._visible = false; setkeysfalse(); _root.level.player.speelscript(); _root.tekstvakScript(); _root.starInvScript(); if (_root.geluidon) { break; } _root.stopgeluid(); } }; _root.subadon = false;
Frame 9
function init_playerscript() { getdepth = _root.level.player.getDepth(); if (_root.allesterren) { _root.level.attachMovie("sub2", "player", getdepth); } _root.level.player._x = _root.level[_root.gamevars.beginpos]._x; _root.level.player._y = _root.level[_root.gamevars.beginpos]._y; _root.level.player.massa = 1; _root.level.player.thrust = 0.8; _root.level.player.decay = 0.97; _root.level.player.xSpeed = 0; _root.level.player.ySpeed = 0; _root.level.player.maxSpeed = 5; _root.level.player.rotthrust = 2; _root.level.player.rotdecay = 0.85; _root.level.player.rotspeed = 0; _root.level.player.rotmax = 13; _root.level.player.xd = 0; _root.level.player.yd = 0; _root.level.player.punt_draaix = _root.level.player._x; _root.level.player.punt_draaiy = _root.level.player._y; _root.level.player.middenstuk._rotation = -_root.gamevars.rotatie; _root.level.player.framegetal = 1; _root.level.player.luchtbelteller = 30; _root.level.player.luchtbelnummer = 50; _root.level.player.inlucht = 0; _root.level.player.binlucht = 0; _root.level.player.diameter = 20; _root.level.player.turboteller = 0; _root.level.player.turbo._alpha = 0; _root.level.player.spacevorig = 0; _root.level.player.spacetime = 0; _root.level.player.spacecase = 0; _root.level.player.keysoundteller = 0; _root.level.player.speelscript = function () { if (_root.acces) { if (_root.keys.bevest) { this.spacetime++; } else { this.spacevorig = this.spacetime; this.spacetime = 0; } switch (this.spacecase) { case 0 : if ((this.spacevorig <= 10) && (this.spacevorig > 0)) { this.spacecase = 1; } if (this.spacetime > 20) { this.spacecase = 2; } if (this.inlucht == 0) { this.xSpeed = this.xSpeed * (this.decay / 1.3); this.ySpeed = this.ySpeed * (this.decay / 1.3); } this.rotspeed = this.rotspeed * (this.rotdecay / 2); break; case 1 : if ((this.spacevorig <= 10) && (this.spacevorig > 0)) { this.spacecase = 0; } if (this.spacetime > 20) { this.spacecase = 2; } this.rotspeed = this.rotspeed + (this.rotthrust / 2); this.punt_draai._x = this.punt_draai._x + 2; if (rotspeed > rotmax) { this.rotspeed = this.rotmax; } this.rotspeed = this.rotspeed * this.rotdecay; if (this.inlucht == 0) { this.xSpeed = this.xSpeed * (this.decay / 2); this.ySpeed = this.ySpeed * (this.decay / 2); } break; case 2 : if (this.spacetime == 0) { this.spacecase = 0; } if (this.inlucht == 0) { this.xSpeed = this.xSpeed + ((this.thrust * Math.sin(this._rotation * (Math.PI/180))) * 1.5); this.ySpeed = this.ySpeed + ((this.thrust * Math.cos(this._rotation * (Math.PI/180))) * 1.5); } else if (_root.level.grond.hitTest(this._x + _root.level._x, ((this._y + this.diameter) + 5) + _root.level._y, true)) { this.xSpeed = this.xSpeed + ((this.thrust / 4) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust / 4) * Math.cos(this._rotation * (Math.PI/180))); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.95; this.ySpeed = this.ySpeed * 0.95; } } this.rotspeed = this.rotspeed * (this.rotdecay / 2); } this.keysoundteller++; if (_root.keys.ent && (this.keysoundteller > 10)) { this.keysoundteller = 0; if (_root.geluidon) { _root.geluidon = false; _root.minterface.geluid_button.gotoAndStop(2); } else { _root.geluidon = true; _root.startgeluid(); _root.minterface.geluid_button.gotoAndStop(1); } } if (_root.keys.back && (!_root.inmenu)) { _root.exit_level(); } } if (_root.keys.back && (_root.inmenu)) { _root.acces = true; _root.exit_level(); } if (!_root.acces) { if (_root.keys.rechts) { this.rotspeed = this.rotspeed + this.rotthrust; this.punt_draai._x = this.punt_draai._x + 2; } if (_root.keys.links) { this.rotspeed = this.rotspeed - this.rotthrust; this.punt_draai._x = this.punt_draai._x - 2; } if (rotspeed > rotmax) { this.rotspeed = this.rotmax; } this.rotspeed = this.rotspeed * this.rotdecay; } this._rotation = this._rotation + this.rotspeed; this.punt_draaix = this.punt_draaix + ((this.xd = this.xd + ((this._x - this.punt_draaix) / 200))); this.punt_draaiy = this.punt_draaiy + ((this.yd = this.yd + ((this._y - this.punt_draaiy) / 300))); this.yd = this.yd * 0.95; this.xd = this.xd * 0.95; this.middenstuk._rotation = (-this._rotation) + (0.3 * (-(this._x - this.punt_draaix))); this.wiel1._rotation = -8 * this.middenstuk._rotation; this.wiel2._rotation = (-8 * this.middenstuk._rotation) + 90; this.wiel3._rotation = (-8 * this.middenstuk._rotation) + 180; this.wiel4._rotation = (-8 * this.middenstuk._rotation) + 270; if (!_root.acces) { if (_root.keys.bevest) { if (_root.level.player.turboteller < -10) { _root.level.player.turboteller = 6; if (this.inlucht == 0) { this.xSpeed = this.xSpeed + ((this.thrust * 3) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust * 3) * Math.cos(this._rotation * (Math.PI/180))); } } this.framespeed = 16; } else if (this.maxSpeed > 5.1) { this.maxSpeed = this.maxSpeed - 0.1; } _root.level.player.turboteller--; if (_root.level.player.turboteller >= 0) { this.turbo._alpha = (this.speed * 100) / 18; if (this.inlucht == 0) { this.xSpeed = this.xSpeed + (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + (this.thrust * Math.cos(this._rotation * (Math.PI/180))); } } else { this.turbo._alpha = this.turbo._alpha - 5; if (this.turbo._alpha <= 0) { this.turbo._alpha = 0; } } } if (_root.keys.omhoog) { if (this.inlucht == 0) { this.xSpeed = this.xSpeed + (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + (this.thrust * Math.cos(this._rotation * (Math.PI/180))); } else if (_root.level.grond.hitTest(this._x + _root.level._x, ((this._y + this.diameter) + 5) + _root.level._y, true)) { this.xSpeed = this.xSpeed + ((this.thrust / 4) * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed + ((this.thrust / 4) * Math.cos(this._rotation * (Math.PI/180))); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.95; this.ySpeed = this.ySpeed * 0.95; } } } else if (_root.keys.omlaag) { if (this.inlucht == 0) { this.xSpeed = this.xSpeed - (this.thrust * Math.sin(this._rotation * (Math.PI/180))); this.ySpeed = this.ySpeed - (this.thrust * Math.cos(this._rotation * (Math.PI/180))); this.flames._visible = 1; } } else if ((this.inlucht == 0) && (!_root.acces)) { this.xSpeed = this.xSpeed * this.decay; this.ySpeed = this.ySpeed * this.decay; } this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.inlucht == 0) { if (this.speed > this.maxSpeed) { this.xSpeed = this.xSpeed * 0.92; this.ySpeed = this.ySpeed * 0.92; } } if (Math.round(this.speed) == 0) { this.framespeed = 1; } if (Math.round(this.speed) == 1) { this.framespeed = 2; } if (Math.round(this.speed) == 2) { this.framespeed = 3; } if (Math.round(this.speed) == 3) { this.framespeed = 4; } if (Math.round(this.speed) == 4) { this.framespeed = 6; } this.framegetal = this.framegetal + this.framespeed; if (this.framegetal > 20) { this.framegetal = this.framegetal - 20; } this.rotor.gotoAndStop(this.framegetal); this._y = this._y - this.ySpeed; this._x = this._x + this.xSpeed; this.luchtbelteller = this.luchtbelteller - this.framespeed; if (this.luchtbelteller < 0) { this.luchtbelteller = 20; if (this.inlucht == 0) { if (_root.level.lucht.hitTest((this._x + _root.level._x) - (Math.sin(this._rotation * (Math.PI/180)) * ((55 + random(20)) - 10)), (this._y + _root.level._y) + (Math.cos(this._rotation * (Math.PI/180)) * ((55 + random(20)) - 10)), true)) { } else { _root.bobble_geluid(); _root.attachMovie("luchtbel", "bel" + this.luchtbelnummer, this.luchtbelnummer + 100); _root["bel" + this.luchtbelnummer]._x = (this._x + _root.level._x) - (Math.sin(((this._rotation + random(10)) - 5) * (Math.PI/180)) * ((this.diameter + random(20)) + 10)); _root["bel" + this.luchtbelnummer]._y = (this._y + _root.level._y) + (Math.cos(((this._rotation + random(10)) - 5) * (Math.PI/180)) * ((this.diameter + random(20)) + 10)); _root["bel" + this.luchtbelnummer]._alpha = 50; _root["bel" + this.luchtbelnummer]._xscale = (_root["bel" + this.luchtbelnummer]._yscale = random(50) + 50); _root["bel" + this.luchtbelnummer].speed = _root["bel" + this.luchtbelnummer]._xscale / 20; _root["bel" + this.luchtbelnummer].onEnterFrame = function () { this._y = this._y - this.speed; this.speed = this.speed + 0.3; if (((this._y < 0) || (_root.level.voorrand.hitTest(this._x, this._y - 5, true))) || (!_root.luchtbeltoegestaan)) { this.removeMovieClip(); } }; this.luchtbelnummer = this.luchtbelnummer + 1; if (this.luchtbelnummer > 100) { this.luchtbelnummer = 50; } } } } this.collisionx = 0; this.collisiony = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this.xSpeed = this.xSpeed - 1; this._x = this._x - 1; } } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { trace("kom ik"); this.collisionx = 1; this.xSpeed = this.xSpeed + 1; this._x = this._x + 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this.ySpeed = this.ySpeed + 1; this._y = this._y - 1; if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.xSpeed = this.xSpeed + (0.1 * Math.sin(_rotation * (Math.PI/180))); } } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this.ySpeed = this.ySpeed - 1; this._y = this._y + 1; } } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.ySpeed >= 0) { this.ySpeed = this.ySpeed - 0.4; } else if (this.ySpeed < 0) { this.ySpeed = this.ySpeed - 0.4; } this.inlucht = 1; } else { this.inlucht = 0; } if (this.binlucht != this.inlucht) { if (this.inlucht == 1) { if ((this.ySpeed > 1) || (this.ySpeed < -1)) { if ((this.ySpeed > 3) || ((this.ySpeed < -3) && (_root.geluidon))) { _root.sound_plons.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splash", "watersplash" + nr, nr); _root.level["watersplash" + nr]._x = this._x; _root.level["watersplash" + nr]._y = this._y; while (!_root.level.voorrand.hitTest(_root.level["watersplash" + nr]._x + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._y = _root.level["watersplash" + nr]._y + 1; } _root.level["watersplash" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x + 1; } } } } if (this.inlucht == 0) { this.ySpeed = this.ySpeed / 1.3; if ((this.ySpeed > 1) || (this.ySpeed < -1)) { if ((this.ySpeed > 3) || ((this.ySpeed < -3) && (_root.geluidon))) { _root.sound_plons2.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons2.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splashs", "watersplashs" + nr, nr); _root.level["watersplashs" + nr]._x = this._x; _root.level["watersplashs" + nr]._y = this._y + this.diameter; _root.level["watersplashs" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); while (_root.level.voorrand.hitTest(_root.level["watersplashs" + nr]._x + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._y = _root.level["watersplashs" + nr]._y - 1; } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x + 1; } } } } } this.binlucht = this.inlucht; _root.musicvolchange_geluid(); j = 0; while (j < _root.gamevars.levelobjects.length) { if (this.hitTest(_root.level[_root.gamevars.levelobjects[j][0]])) { switch (_root.gamevars.levelobjects[j][1]) { case "mapchange" : _root.init_level(_root.gamevars.levelobjects[j][2], _root.gamevars.levelobjects[j][3], _root.gamevars.levelobjects[j][4], _root.gamevars.levelobjects[j][5]); break; case "item" : if (_root.gamevars.levelobjects[j][2] == "star") { _root.starArray[_root.gamevars.levelobjects[j][4]] = true; trace(_root.gamevars.levelobjects[j][4]); _root.level[_root.gamevars.levelobjects[j][0]]._alpha = 0; } else if (_root.iteminvname != _root.gamevars.levelobjects[j][2]) { _root.iteminv = _root.gamevars.levelobjects[j][3]; _root.iteminvname = _root.gamevars.levelobjects[j][2]; _root.level[_root.gamevars.levelobjects[j][0]]._alpha = 0; _root.level[_root.gamevars.levelobjects[j][0]]._visible = false; if (_root.geluidon) { _root.sound_item.start(0, 1); } } break; case "switch" : if ((_root.gamevars.levelobjects[j][2] == _root.iteminvname) || (_root.gamevars.levelobjects[j][2] == "")) { trace(_root.level.grond[_root.gamevars.levelobjects[j][3]].done); if ((_root.gamevars.levelobjects[j][2] != "") && (_root.level.grond[_root.gamevars.levelobjects[j][3]].done == false)) { _root.iteminv = ""; _root.iteminvname = ""; } _root.init_door(_root.gamevars.levelobjects[j][3], _root.gamevars.levelobjects[j][4]); } break; case "tekst" : if (_root.level[_root.gamevars.levelobjects[j][0]].done) { break; } _root.level[_root.gamevars.levelobjects[j][0]].tekstScript(); if (!_root.gamevars.levelobjects[j][2]) { break; } _root.level[_root.gamevars.levelobjects[j][0]].done = true; } } if (!(_root.gamevars.levelobjects[j][1] === "item")) { } else if ((_root.iteminvname != _root.gamevars.levelobjects[j][2]) && (_root.gamevars.levelobjects[j][2] != "star")) { if (_root.level[_root.gamevars.levelobjects[j][0]]._alpha < 100) { _root.level[_root.gamevars.levelobjects[j][0]]._alpha = _root.level[_root.gamevars.levelobjects[j][0]]._alpha + 2.5; _root.level[_root.gamevars.levelobjects[j][0]]._visible = true; } } j++; } _root.iteminterface(); }; } function checkkeys() { if (Key.isDown(37)) { _root.keys.links = true; _root.keys.anykey = true; } if (Key.isDown(39)) { _root.keys.rechts = true; _root.keys.anykey = true; } if (Key.isDown(38)) { _root.keys.omhoog = true; _root.keys.anykey = true; } if (Key.isDown(40)) { _root.keys.omlaag = true; _root.keys.anykey = true; } if (Key.isDown(32)) { _root.keys.bevest = true; _root.keys.anykey = true; } if (Key.isDown(17)) { _root.keys.cancl = true; _root.keys.anykey = true; } if (Key.isDown(13)) { _root.keys.ent = true; _root.keys.anykey = true; } if (Key.isDown(8)) { _root.keys.back = true; _root.keys.anykey = true; } } function setkeysfalse() { _root.keys.links = false; _root.keys.rechts = false; _root.keys.omhoog = false; _root.keys.omlaag = false; _root.keys.bevest = false; _root.keys.cancl = false; _root.keys.ent = false; _root.keys.back = false; _root.keys.anykey = false; } function init_level(levelnaam, beginpos, rotatie, muziekstuk) { _root.vorigmusic = _root.gamevars.muzieknummer; _root.gamevars = new Object(); _root.gamevars.levelnaam = levelnaam; _root.gamevars.beginpos = beginpos; _root.gamevars.rotatie = rotatie; _root.gamevars.levelchange = 1; _root.gamevars.vorigemuziek = _root.gamevars.muzieknummer; _root.gamevars.muzieknummer = muziekstuk; _root.gamestat = "change"; _root.attachMovie("levelswitchen", "levelswitch", 1000); _root.attachMovie("tekstvak", "tekstvak", 990); _root.tekstvak._visible = false; _root.tekstvak._x = 18; _root.tekstvak._y = 310; _root.tekstvak.actief = false; _root.tekstregels = []; _root.levelswitch._x = -775; _root.levelswitch._y = 200; _root.itemsarray = []; _root.doorsarray = []; freedepth = 801; freeitemdepth = 100; } function init_levelchange() { _root.gamevars.levelobjects = []; _root.attachMovie(_root.gamevars.levelnaam, "level", 1); _root.attachMovie("inventory", "inventory", 2); _root.attachMovie("star_inventory", "star_inventory", 3); _root.star_inventory._x = 46.4; _root.star_inventory._y = 45.5; _root.star_inventory._visible = false; _root.minterface._visible = false; _root.inventory._x = 504.5; _root.inventory._y = 45.5; _root.level.voorrand.swapDepths(200); _root.level.levelscript = function () { this._x = this._x + ((((_root.level.player._x * -1) + (stageh / 2)) - this._x) / 10); this._y = this._y + ((((_root.level.player._y * -1) + (stagev / 2)) - this._y) / 10); nux = _root.level.xmax - stageh; if ((-nux) > this._x) { this._x = -nux; } if (this._x > _root.level.xmin) { this._x = _root.level.xmin; } nuy = _root.level.ymax - stagev; if ((-nuy) > this._y) { this._y = -nuy; } if (this._y > _root.level.ymin) { this._y = _root.level.ymin; } }; _root.init_playerscript(); _root.level.player._rotation = _root.gamevars.rotatie; _root.level._x = (_root.level.player._x * -1) + (stageh / 2); _root.level._y = (_root.level.player._y * -1) + (stagev / 2); _root.gamevars.levelinit = 2; } function init_background(backgroundnaam) { _root.attachMovie(backgroundnaam, "background1", 0); } function getfreedepth() { freedepth++; if (freedepth >= 1000) { freedepth = 801; } return(freedepth); } function getfreeitemdepth() { freeitemdepth++; if (freeitemdepth >= 199) { freeitemdepth = 100; } return(freeitemdepth); } function trilllevel(uitslag) { if (uitslagpos) { uitslagpos = false; _root.level._x = _root.level._x + random(uitslag); _root.level._y = _root.level._y + random(uitslag); } else { uitslagpos = true; _root.level._x = _root.level._x + (-random(uitslag)); _root.level._y = _root.level._y + (-random(uitslag)); } } function exit_level() { luchtbeltoegestaan = false; _root.level.removeMovieClip(); _root.star_inventory.removeMovieClip(); _root.minterface.removeMovieClip(); _root.inventory.removeMovieClip(); _root.trefoundMC.removeMovieClip(); _root.tekstvak.removeMovieClip(); _root.background1.removeMovieClip(); _root.sound_bobble.stop(); _root.sound_music.stop(); _root.sound_rock.stop(); _root.sound_bobble.stop(); _root.sound_plons.stop(); _root.sound_plons2.stop(); _root.sound_item.stop(); _root.play(); } function init_item(type, naam, xpos, ypos, diameter, extrapow, pickup, massa, accgewicht, botsdemp) { if ((type == "star") && (_root.starArray[diameter])) { trace("heb ik al gehad"); } else { nummer = getfreeitemdepth(); _root.level.attachMovie(type, "item" + nummer, nummer); _root.itemsarray.push(_root.level["item" + nummer]._name); _root.level["item" + nummer]._x = xpos; _root.level["item" + nummer]._y = ypos; _root.level["item" + nummer].thrust = 1; _root.level["item" + nummer].decay = 0.98; _root.level["item" + nummer].maxSpeed = 10; _root.level["item" + nummer].xSpeed = 0; _root.level["item" + nummer].ySpeed = 0; _root.level["item" + nummer]._visible = 1; _root.level["item" + nummer].extrapower = 0.1; _root.level["item" + nummer].accgewicht = accgewicht; _root.level["item" + nummer].inlucht = 0; _root.level["item" + nummer].binlucht = 0; _root.level["item" + nummer].diameter = diameter; _root.level["item" + nummer].rotator = 0; _root.level["item" + nummer].balextra._visible = 1; _root.level["item" + nummer].pickup = pickup; _root.level["item" + nummer].naam = naam; _root.level["item" + nummer].massa = massa; _root.level["item" + nummer].botsdemp = botsdemp; if (_root.iteminvname == naam) { _root.level["item" + nummer]._alpha = 0; } if (pickup) { _root.gamevars.levelobjects.push([_root.level["item" + nummer]._name, "item", naam, type, diameter]); _root.level["item" + nummer].itemScript = function () { }; } else { _root.level["item" + nummer].itemScript = function () { this.balextra._rotation = -this._rotation; this.xSpeed = this.xSpeed * 0.99; this.ySpeed = this.ySpeed * this.decay; if (this.rotator > 20) { this.rotator = 20; } if (this.rotator < -20) { this.rotator = -20; } this._rotation = this._rotation + this.rotator; this.rotator = this.rotator * 0.99; this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.speed > this.maxSpeed) { this.xSpeed = this.xSpeed * (this.maxSpeed / this.speed); this.ySpeed = this.ySpeed * (this.maxSpeed / this.speed); } this._y = this._y - this.ySpeed; this._x = this._x + this.xSpeed; if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y + 12) + _root.level._y, true)) { this.ySpeed = this.ySpeed - 0.3; this.inlucht = 1; } else { this.ySpeed = this.ySpeed + 0.3; this.inlucht = 0; } if (this.hitTest(_root.level.player)) { if (_root.level.player.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.player.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x - 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.player.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x + 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { while (_root.level.player.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this._y = this._y - 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } if (_root.level.player.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { while (_root.level.player.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this._y = this._y + 1; this.ySpeed = this.ySpeed + (_root.level.player.ySpeed * _root.level.player.massa); this.xSpeed = this.xSpeed + (_root.level.player.xSpeed * _root.level.player.massa); this.rotator = this.rotator + _root.level.player.xSpeed; } } } if (_root.level.grond.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this.xSpeed = this.xSpeed * -0.9; while (_root.level.grond.hitTest((this._x + 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x - 1; } } if (_root.level.grond.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this.xSpeed = this.xSpeed * -0.9; while (_root.level.grond.hitTest((this._x - 18) + _root.level._x, this._y + _root.level._y, true)) { this._x = this._x + 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this.ySpeed = this.ySpeed * -0.9; while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + 18) + _root.level._y, true)) { this._y = this._y - 1; } } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this.ySpeed = this.ySpeed * -0.9; while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - 18) + _root.level._y, true)) { this._y = this._y + 1; } } if (this.binlucht != this.inlucht) { if (this.inlucht == 1) { if ((this.ySpeed > 2) || (this.ySpeed < -2)) { if ((this.ySpeed > 3) || (this.ySpeed < -3)) { _root.sound_plons.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splash", "watersplash" + nr, nr); _root.level["watersplash" + nr]._x = this._x; _root.level["watersplash" + nr]._y = this._y; _root.level["watersplash" + nr]._width = this.diameter * 2; while (!_root.level.voorrand.hitTest(_root.level["watersplash" + nr]._x + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._y = _root.level["watersplash" + nr]._y + 1; } _root.level["watersplash" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x + 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplash" + nr]._x - 31.5) + _root.level._x, _root.level["watersplash" + nr]._y + _root.level._y, true)) { _root.level["watersplash" + nr]._x = _root.level["watersplash" + nr]._x + 1; } } } } if (this.inlucht == 0) { this.ySpeed = this.ySpeed / 1.3; if ((this.ySpeed > 2) || (this.ySpeed < -2)) { if ((this.ySpeed > 3) || (this.ySpeed < -3)) { _root.sound_plons2.start(0, 1); getalvolume = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); if (getalvolume > 100) { getalvolume = 100; } _root.sound_plons2.setVolume(getalvolume); } nr = getfreedepth(); _root.level.attachMovie("splashs", "watersplashs" + nr, nr); _root.level["watersplashs" + nr]._x = this._x; _root.level["watersplashs" + nr]._y = this._y; _root.level["watersplashs" + nr]._width = this.diameter * 2; _root.level["watersplashs" + nr]._yscale = Math.sqrt(((this.ySpeed * 100) / 15) * ((this.ySpeed * 100) / 15)); while (_root.level.voorrand.hitTest(_root.level["watersplashs" + nr]._x + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._y = _root.level["watersplashs" + nr]._y - 1; } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x + 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x - 1; } } if (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { while (_root.level.grond.hitTest((_root.level["watersplashs" + nr]._x - 31.5) + _root.level._x, _root.level["watersplashs" + nr]._y + _root.level._y, true)) { _root.level["watersplashs" + nr]._x = _root.level["watersplashs" + nr]._x + 1; } } } } } this.binlucht = this.inlucht; }; } } } function itemlooper() { j = 0; while (j < _root.itemsarray.length) { _root.level[_root.itemsarray[j]].itemScript(); j++; } } function iteminterface() { switch (_root.iteminv) { case "" : _root.inventory.item.removeMovieClip(); _root.inventory._visible = false; break; default : _root.inventory._visible = true; _root.inventory.attachMovie(_root.iteminv, "item", 1); } } function init_door(naam, functie) { gevonden = false; k = 0; while (k < _root.doorsarray.length) { if (_root.doorsarray[k][0] == naam) { gevonden = true; } k++; } if (!gevonden) { _root.doorsarray.push([naam, functie]); } } function loop_doors() { j = 0; while (j < _root.doorsarray.length) { if (!_root.level.grond[_root.doorsarray[j][0]].done) { waarde = _root.level.grond[_root.doorsarray[j][0]][_root.doorsarray[j][1]](); } else { _root.doorsarray.splice(j, 1); j--; } if (waarde) { _root.doorsarray.splice(j, 1); j--; } j++; } } function stopgeluid() { _root.sound_bobble.setVolume(0); _root.sound_music.setVolume(0); _root.sound_rock.setVolume(0); _root.sound_bobble.setVolume(0); _root.sound_plons.setVolume(0); _root.sound_plons2.setVolume(0); _root.sound_item.setVolume(0); } function startgeluid() { _root.sound_bobble.setVolume(60); _root.sound_music.setVolume(100); _root.sound_bobble.setVolume(100); _root.sound_plons.setVolume(100); _root.sound_plons2.setVolume(100); _root.sound_item.setVolume(100); } function bobble_geluid() { if (_root.geluidon) { _root.sound_bobble.attachSound(("bobble" + bobblenummer) + ".wav"); _root.sound_bobble.start(0, 1); bobblenummer = random(9); if (bobblenummer > 8) { bobblenummer = 1; } } } function musicchange_geluid(naam) { _root.sound_music.stop(); _root.sound_music.attachSound(naam); _root.sound_music.start(0, 999); _root.vorigmusic = naam; } function musicvolchange_geluid() { if (_root.geluidon) { if (_root.level.player.inlucht == 1) { _root.sound_music.setVolume(_root.sound_music.getVolume() - 20); if (_root.sound_music.getVolume() <= 20) { _root.sound_music.setVolume(20); } } else { _root.sound_music.setVolume(_root.sound_music.getVolume() + 10); if (_root.sound_music.getVolume() >= 100) { _root.sound_music.setVolume(100); } } } } _root.sound_bobble.stop(); _root.sound_music.stop(); _root.sound_rock.stop(); _root.sound_bobble.stop(); _root.sound_plons.stop(); _root.sound_plons2.stop(); _root.sound_item.stop(); _root.keys = new Object(); freedepth = 801; uitslagpos = false; _root.addTekst = function (tekst, tijd) { gevonden = false; k = 0; while (k < _root.tekstregels.length) { if (_root.tekstregels[k][0] == tekst) { gevonden = true; } k++; } trace(gevonden); if (!gevonden) { _root.tekstregels.push([tekst, tijd * 24]); } }; _root.tekstvakScript = function () { if ((!_root.tekstvak.actief) && (_root.tekstregels.length > 0)) { _root.tekstvak.tekstveld.text = _root.tekstregels[0][0]; _root.tekstvak.tijd = _root.tekstregels[0][1]; _root.tekstvak.teller = 0; _root.tekstvak.actief = true; _root.tekstvak._visible = true; } if (_root.tekstvak.actief) { _root.tekstvak.teller++; if (_root.tekstvak.tijd == _root.tekstvak.teller) { _root.tekstvak.actief = false; _root.tekstvak._visible = false; _root.tekstregels.shift(); } } }; _root.staraantal = 0; _root.staractief = false; _root.starInvScript = function () { nuaantal = 0; i = 0; while (i < 100) { if (_root.starArray[i] == true) { nuaantal++; } i++; } if (nuaantal != _root.staraantal) { trace(_root.star_inventory.aantal); _root.staraantal = nuaantal; _root.star_inventory.tekstveld.text = _root.staraantal + "/15"; _root.star_inventory.tijd = 120; _root.star_inventory.teller = 0; _root.staractief = true; _root.star_inventory._visible = true; } if (_root.staraantal == 15) { _root.allesterren = true; } if (_root.staractief) { _root.star_inventory.teller++; if (_root.star_inventory.tijd == _root.star_inventory.teller) { _root.staractief = false; _root.star_inventory._visible = false; _root.minterface._visible = false; Mouse.hide(); } } }; bobblenummer = 1; _root.createEmptyMovieClip("sound_bobbleMC", -101); _root.sound_bobble = new Sound(_root.sound_bobbleMC); _root.sound_bobble.setVolume(50); _root.createEmptyMovieClip("sound_musicMC", -100); _root.sound_music = new Sound(_root.sound_musicMC); _root.sound_music.setVolume(0); _root.gamevars.muzieknummer = ""; _root.vorigmusic = ""; _root.createEmptyMovieClip("sound_rockMC", -102); _root.sound_rock = new Sound(_root.sound_rockMC); _root.sound_rock.attachSound("rock.wav"); _root.sound_rock.start(0, 9999); _root.sound_rock.onSoundComplete = function () { if (_root.geluidon) { _root.sound_rock.start(0, 9999); } }; _root.sound_rock.setVolume(0); _root.createEmptyMovieClip("sound_plonsMC", -103); _root.sound_plons = new Sound(_root.sound_plonsMC); _root.sound_plons.attachSound("plons"); _root.createEmptyMovieClip("sound_plonsMC2", -104); _root.sound_plons2 = new Sound(_root.sound_plonsMC2); _root.sound_plons2.attachSound("plons2"); _root.createEmptyMovieClip("sound_item", -105); _root.sound_item = new Sound(_root.sound_item); _root.sound_item.attachSound("huub.wav"); stop(); luchtbeltoegestaan = true; stageh = 550; stagev = 400; stergetal = 0; gamestat = "change"; geluidon = true; trefound = false; inmenu = false; _root.gamevars = new Object(); init_level("level_tutorial", "startpos1", 180, "space_loop.wav"); _root.attachMovie("menu_interface", "minterface", 4); _root.attachMovie("inventory2", "trefoundMC", 5); _root.trefoundMC._y = 45.5; _root.trefoundMC._x = 430.4; _root.trefoundMC._visible = false; _root.minterface._y = 45.5; _root.minterface._x = 189.83; _root.minterface._visible = false; _root.minterface.menu_button.onPress = function () { _root.exit_level(); }; _root.minterface.geluid_button.onPress = function () { if (_root.geluidon) { _root.geluidon = false; _root.minterface.geluid_button.gotoAndStop(2); } else { _root.geluidon = true; _root.startgeluid(); _root.minterface.geluid_button.gotoAndStop(1); } trace(_root.geluidon); }; _root.iteminv = ""; _root.iteminvname = ""; _root.starArray = []; i = 0; while (i < 100) { _root.starArray[i] = false; i++; } _root.bxmouse = _root._xmouse; _root.bymouse = _root._ymouse; Mouse.hide(); _root.onEnterFrame = function () { switch (gamestat) { case "change" : if (_root.gamevars.levelchange == 1) { _root.levelswitch._x = _root.levelswitch._x + 50; if (_root.levelswitch._x >= 275) { _root.gamevars.levelchange = 2; init_levelchange(); } if ((_root.gamevars.muzieknummer != _root.vorigmusic) && (_root.geluidon)) { getal = ((_root.levelswitch._x - -775) * 100) / 1050; _root.sound_music.setVolume(100 - getal); } } if (_root.gamevars.levelchange >= 2) { _root.levelswitch._x = _root.levelswitch._x + 50; if (_root.gamevars.levelchange == 3) { _root.level.nux = _root.level.xmax - stageh; if ((-_root.level.nux) > _root.level._x) { _root.level._x = -_root.level.nux; } if (_root.level._x > _root.level.xmin) { _root.level._x = _root.level.xmin; } _root.level.nuy = _root.level.ymax - stagev; if ((-_root.level.nuy) > _root.level._y) { _root.level._y = -_root.level.nuy; } if (_root.level._y > _root.level.ymin) { _root.level._y = _root.level.ymin; } _root.iteminterface(); _root.sound_rock.setVolume(0); _root.bxmouse = _root._xmouse; _root.bymouse = _root._ymouse; if (_root.gamevars.muzieknummer != _root.vorigmusic) { _root.musicchange_geluid(_root.gamevars.muzieknummer); } } if (((_root.gamevars.muzieknummer != _root.vorigmusic) && (!_root.level.lucht.hitTest(_root.level[_root.gamevars.beginpos]._x + _root.level._x, _root.level[_root.gamevars.beginpos]._y + _root.level._y, true))) && (_root.geluidon)) { getal = ((1450 - _root.levelswitch._x) * 100) / 1050; if (getal >= 100) { getal = 100; } _root.sound_music.setVolume(100 - getal); } _root.gamevars.levelchange++; if (_root.levelswitch._x >= 1450) { _root.vorigmusic = _root.gamevars.muzieknummer; _root.levelswitch.removeMovieClip(); gamestat = "play"; } } break; case "play" : checkkeys(); _root.level.player.speelscript(); _root.level.levelscript(); _root.itemlooper(); _root.loop_doors(); _root.tekstvakScript(); _root.starInvScript(); setkeysfalse(); if (((((_root._xmouse - _root.bxmouse) > 5) || ((_root._xmouse - _root.bxmouse) < -5)) || ((_root._ymouse - _root.bymouse) > 5)) || ((_root._ymouse - _root.bymouse) < -5)) { _root.star_inventory.tekstveld.text = _root.staraantal + "/15"; _root.star_inventory.tijd = 120; _root.star_inventory.teller = 0; _root.staractief = true; _root.star_inventory._visible = true; _root.minterface._visible = true; Mouse.show(); } if (!_root.geluidon) { _root.stopgeluid(); } if (_root.trefound) { _root.trefoundMC._visible = true; } _root.bxmouse = _root._xmouse; _root.bymouse = _root._ymouse; break; case "victory" : _root.trefoundMC._visible = false; setkeysfalse(); _root.level.player.speelscript(); _root.tekstvakScript(); _root.starInvScript(); if (_root.geluidon) { break; } _root.stopgeluid(); } };
Symbol 45 MovieClip [sploshs] Frame 48
_parent.removeMovieClip();
Symbol 66 MovieClip Frame 48
_parent.removeMovieClip();
Symbol 70 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 1
gotoAndPlay(random(144) + 2);
Symbol 95 MovieClip Frame 146
gotoAndPlay (2);
Instance of Symbol 104 MovieClip "door1" in Symbol 106 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x - 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x < -81) { this._x = -81; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 124 MovieClip Frame 1
getal = random(4) + 1; gotoAndStop(getal);
Symbol 128 MovieClip [level_map3] Frame 1
_root.init_background("background2"); xmin = 618; xmax = 2000; ymin = 876; ymax = 580;
Instance of Symbol 89 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { if (!_root.subadon) { this._visible = false; } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this._visible = false; rotation = -135; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map4", "startpos1", -90, "background1.wav"]); this._visible = false; }
Instance of Symbol 112 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 5, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map2", "startpos2", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key3", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 112 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 8, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange3" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map5", "startpos1", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos3" in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 124 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 128 MovieClip [level_map3] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Symbol 145 MovieClip [level_map8] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 11, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange3" in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map6", "startpos3", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this._visible = false; rotation = 0; }
Instance of Symbol 110 MovieClip "mapchange5" in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map7", "startpos2", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip [level_map8] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 127 MovieClip "voorrand" in Symbol 145 MovieClip [level_map8] Frame 1
/* no clip actions */
Instance of Symbol 153 MovieClip "door1" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 25; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 1556.7) { this._y = 1556.7; } return(false); }; }
Instance of Symbol 153 MovieClip "door2" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 25; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 1485.6) { this._y = 1485.6; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 155 MovieClip "door3" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._rotation = this._rotation - 4; this._x = this._x - 7; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x < 426.6) { this._x = 426.6; this.done = true; _root.sound_rock.setVolume(0); } return(false); }; }
Instance of Symbol 153 MovieClip "door4" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 25; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 1392.3) { this._y = 1392.3; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 153 MovieClip "door5" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x - 50; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x < 3040.6) { this._x = 3040.6; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 159 MovieClip [level_map13] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 151 MovieClip in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key3", "key6", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 89 MovieClip in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { if (!_root.subadon) { this._visible = false; } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map1", "startpos3", 0, "menuaudio.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door3", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door4", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 159 MovieClip [level_map13] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door5", "doorScript"]); this._alpha = 0; }
Instance of Symbol 162 MovieClip "door1" in Symbol 164 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._rotation = this._rotation + 1; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._rotation > 28) { this._rotation = 28; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 165 MovieClip [level_map11] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 151 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key3", "key6", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 15, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map12", "startpos1", 45, "space_loop.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map10", "startpos2", 180, "background1 .wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key6", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key6", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 165 MovieClip [level_map11] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Symbol 169 MovieClip [level_map10] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 13, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map11", "startpos1", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map9", "startpos2", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 124 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 169 MovieClip [level_map10] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 171 MovieClip "door2" in Symbol 173 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 2; _root.trilllevel(2); _root.sound_rock.setVolume(100); if (this._y > 394) { this._y = 394; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 175 MovieClip [level_map9] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 89 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { if (!_root.subadon) { this._visible = false; } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 12, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map10", "startpos1", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map6", "startpos4", -90, "background1.wav"]); this._visible = false; }
Instance of Symbol 124 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 175 MovieClip [level_map9] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 171 MovieClip "door2" in Symbol 178 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 394) { this._y = 394; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 180 MovieClip [level_map7] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 10, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange3" in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map8", "startpos1", 135, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange5" in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map6", "startpos2", 90, "background1.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key5", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 180 MovieClip [level_map7] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 153 MovieClip "door1" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x > 791) { this._x = 791; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 182 MovieClip "door2" in Symbol 184 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y - 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y < -764) { this._y = -764; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 186 MovieClip [level_map6] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 9, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map5", "startpos3", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange3" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map8", "startpos2", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map5", "startpos2", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos3" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos4" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 110 MovieClip "mapchange4" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map7", "startpos1", -90, "background1.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange5" in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map9", "startpos1", 90, "background1.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 151 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key2", "key4", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key4", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 151 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key", "key5", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 124 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 186 MovieClip [level_map6] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Symbol 189 MovieClip [level_map5] Frame 1
xmin = 70; xmax = 714; ymin = 477; ymax = 406;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 7, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map6", "startpos1", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange3" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map6", "startpos1", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map3", "startpos3", 0, "background1.wav"]); this._visible = false; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos3" in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 124 MovieClip in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 189 MovieClip [level_map5] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 153 MovieClip "door1" in Symbol 195 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x - 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x < 449) { this._x = 449; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 196 MovieClip [level_map4] Frame 1
xmin = 102; xmax = 980; ymin = 1236; ymax = 374;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 112 MovieClip in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 6, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map3", "startpos2", 90, "background1.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 151 MovieClip in Symbol 196 MovieClip [level_map4] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key2", "key3", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 171 MovieClip "door2" in Symbol 201 MovieClip [level_map2_col] Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x > 176.3) { this._x = 176.3; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 203 MovieClip [level_map2] Frame 1
_root.init_background("background1"); xmin = 620; xmax = 897; ymin = 876; ymax = 280;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this._visible = false; rotation = -135; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map3", "startpos1", 180, "background1.wav"]); this._visible = false; }
Instance of Symbol 112 MovieClip in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 4, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map1", "startpos2", -62, "space_loop.wav"]); this._visible = false; }
Instance of Symbol 151 MovieClip in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key", "key2", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key2", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 203 MovieClip [level_map2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 162 MovieClip "door1" in Symbol 218 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._rotation = this._rotation - 1; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._rotation < -178) { this._rotation = -178; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; this.doorScript2 = function () { this._rotation = this._rotation + 1; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._rotation > -92) { this._rotation = -92; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 215 MovieClip "door2" in Symbol 218 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y - 1; _root.level.grond.door3._y = _root.level.grond.door3._y + 1; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y < 530) { this._y = 530; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 153 MovieClip "door4" in Symbol 218 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._x = this._x + 2; _root.trilllevel(3.5); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._x > 1643) { this._x = 1643; } return(false); }; }
Instance of Symbol 216 MovieClip "door5" in Symbol 218 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._rotation = this._rotation + 2; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._rotation > 0) { this._rotation = 0; this.done = true; _root.sound_rock.setVolume(0); } return(false); }; }
Instance of Symbol 153 MovieClip "door6" in Symbol 218 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 10; _root.trilllevel(3); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 1437.3) { this._y = 1437.3; } return(false); }; }
Symbol 223 MovieClip [level_map12] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false;
Instance of Symbol 108 MovieClip "startpos1" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this._visible = false; rotation = -135; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map11", "startpos2", -135, "background1.wav"]); this._visible = false; }
Instance of Symbol 112 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 14, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 151 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key4", "key8", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key7", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 151 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key3", "key7", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key8", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] "switchtre" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door4", "doorScript"]); this._alpha = 0; }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map13", "startpos1", 90, "runningbells.wav"]); this._visible = false; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door5", "doorScript"]); this._alpha = 0; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door6", "doorScript"]); this._alpha = 0; }
Instance of Symbol 211 MovieClip [treasure] "treasure" in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (enterFrame) { if (_root.level.switchtre.hitTest(_root.level.player) && (!_root.trefound)) { _root.trefound = true; this._visible = false; _root.vorigmusic = "runningbells.wav"; _root.musicchange_geluid("runningbells.wav"); } }
Instance of Symbol 124 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 223 MovieClip [level_map12] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Symbol 241 MovieClip [level_map1] Frame 1
_root.init_background("background1"); xmin = 545; xmax = 2208; ymin = 720; ymax = 1000;
Instance of Symbol 98 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (_root.trefound) { this._visible = false; } else { this._visible = true; } }
Instance of Symbol 89 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (!_root.subadon) { this._visible = false; } }
Instance of Symbol 147 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (_root.trefound) { this._visible = true; } else { this._visible = false; } }
Instance of Symbol 147 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (_root.trefound) { this._visible = true; } else { this._visible = false; } }
Instance of Symbol 147 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (_root.trefound) { this._visible = true; } else { this._visible = false; } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; rotation = -135; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map2", "startpos1", 122, "background1.wav"]); this._visible = false; }
Instance of Symbol 112 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 3, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 112 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 1, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 112 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("star", "star", this._x, this._y, 2, 1, true, 1, 0.7, 0.5); }
Instance of Symbol 233 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { _root.addTekst("As a second objective in the game you can also collect 15 stars", 4); _root.addTekst("They are all on hidden places, find them all and you get a special prize", 5); }; }
Instance of Symbol 108 MovieClip "startpos3" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 151 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 151 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 124 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 211 MovieClip [treasure] "treasure" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 238 MovieClip "treasuresch" in Symbol 241 MovieClip [level_map1] Frame 1
onClipEvent (load) { if (_root.trefound) { this._visible = true; } else { this._visible = false; } this.done = false; } onClipEvent (enterFrame) { if ((this.hitTest(_root.level.player) && (_root.trefound)) && (!this.done)) { _root.level.treasure._visible = true; _root.gamestat = "victory"; this._visible = false; this.done = true; _root.attachMovie("speluitgespeeld", "speluitgespeeld1", 6); _root.speluitgespeeld1._x = 275; _root.speluitgespeeld1._y = 200; _root.speluitgespeeld1.teller = 0; _root.speluitgespeeld1.onEnterFrame = function () { this.teller = this.teller + 1; if (this.teller > 150) { _root.exit_level(); this.removeMovieClip(); } }; } }
Instance of Symbol 171 MovieClip "door2" in Symbol 253 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y - 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y < 576) { this._y = 576; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Instance of Symbol 153 MovieClip "door1" in Symbol 253 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 1250) { this._y = 1250; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 254 MovieClip [level_tutorial2] Frame 1
xmin = 545; xmax = 2137; ymin = 720; ymax = 1000;
Instance of Symbol 249 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { if (!_root.acces) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; rotation = -135; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_map1", "startpos1", 90, "space_loop.wav"]); this._visible = false; }
Instance of Symbol 110 MovieClip "mapchange2" in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_tutorial", "startpos2", -90, "space_loop.wav"]); this._visible = false; }
Instance of Symbol 151 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "key1", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 233 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { _root.addTekst("While holding UP, press SPACE once to increase speed", 8); _root.addTekst("Try to get over the right island!", 8); }; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door1", "doorScript"]); this._alpha = 0; }
Instance of Symbol 233 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { _root.addTekst("Some doors open by themself, others need to be opened on a special way", 8); }; }
Instance of Symbol 233 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { _root.addTekst("This door only opens if you have a special key", 4); _root.addTekst("Most of the time there is a hint wich key you need", 6); }; }
Instance of Symbol 233 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { _root.addTekst("The item is now in your inventory!", 6); _root.addTekst("You can only hold one item at the time", 4); }; }
Instance of Symbol 151 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 151 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 124 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 151 MovieClip in Symbol 254 MovieClip [level_tutorial2] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("key", "key1", this._x, this._y, 15, 1, true, -0.5, 0.7, 0.5); }
Instance of Symbol 262 MovieClip "door2" in Symbol 264 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 712.9) { this._y = 712.9; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 284 MovieClip [level_menu] Frame 1
xmin = this.xminMC._x * -1; xmax = this.xmaxMC._x; ymin = this.yminMC._y * -1; ymax = this.ymaxMC._y; this.xminMC._visible = false; this.xmaxMC._visible = false; this.yminMC._visible = false; this.ymaxMC._visible = false; _root.init_background("background1"); this.logoSpele.swapDepths(2000003);
Instance of Symbol 259 MovieClip in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { if (!_root.acces) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { this._visible = false; rotation = -90; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_tutorial2", "startpos1", 90, "space_loop.wav"]); }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 151 MovieClip in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.3, 0.5); }
Instance of Symbol 124 MovieClip in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = (random(3) - 1) * 0.2; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 277 MovieClip "knop" in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (enterFrame) { this.onPress = function () { getURL ("http://www.michielkrol.nl", "_blank"); }; }
Instance of Symbol 283 MovieClip in Symbol 284 MovieClip [level_menu] Frame 1
onClipEvent (load) { this.onPress = function () { getURL ("http://www.happytree.com", "_blank"); }; }
Instance of Symbol 262 MovieClip "door2" in Symbol 290 MovieClip Frame 1
onClipEvent (load) { this.done = false; this.doorScript = function () { this._y = this._y + 2; _root.trilllevel(2); if (_root.geluidon) { _root.sound_rock.setVolume(100); } if (this._y > 712.9) { this._y = 712.9; this.done = true; _root.sound_rock.setVolume(0); return(true); } return(false); }; }
Symbol 291 MovieClip [level_tutorial] Frame 1
xmin = 330; xmax = 717; ymin = 870; ymax = 500; _root.init_background("background1");
Instance of Symbol 287 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { if (!_root.acces) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Instance of Symbol 89 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { if (!_root.subadon) { this._visible = false; } }
Instance of Symbol 108 MovieClip "startpos1" in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this._visible = false; rotation = 180; }
Instance of Symbol 108 MovieClip "startpos2" in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this._visible = false; rotation = -90; }
Instance of Symbol 110 MovieClip "mapchange1" in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "mapchange", "level_tutorial2", "startpos1", 90, "space_loop.wav"]); }
Instance of Symbol 151 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this._visible = false; _root.init_item("strandbal", "strandballetje", this._x, this._y, 18, 1, false, 1, 0.7, 0.5); }
Instance of Symbol 233 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this._visible = false; this.done = false; _root.gamevars.levelobjects.push([this._name, "tekst", true]); this.tekstScript = function () { if (!_root.acces) { _root.addTekst("Use the Arrow Keys to move the submarine", 3); _root.addTekst("Press UP to move to the direction you are pointing\nPress DOWN to move to the opposit direction", 8); _root.addTekst("Press LEFT to turn left \nPress RIGHT to turn right", 8); _root.addTekst("Move the mouse to make the\ninterface visible", 8); } else { _root.addTekst("Press once on SPACE to start the Submarine rotating", 8); _root.addTekst("Press once again SPACE to let it stop", 8); _root.addTekst("Hold SPACE to move to the direction you are pointing", 8); _root.addTekst("Press ENTER to turn of the sound", 8); _root.addTekst("Press BACKSPACE to go back to the menu", 8); } }; }
Instance of Symbol 114 MovieClip [submarine_star] in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { _root.gamevars.levelobjects.push([this._name, "switch", "", "door2", "doorScript"]); this._alpha = 0; }
Instance of Symbol 124 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Instance of Symbol 124 MovieClip in Symbol 291 MovieClip [level_tutorial] Frame 1
onClipEvent (load) { this.diameter = 40; this.maxspeed = 1; this.thrust = 0.1; this.xSpeed = 0; this.ySpeed = 0; this.rotation = this._rotation; } onClipEvent (enterFrame) { this._rotation = rotation; this.xSpeed = this.xSpeed + ((random(3) - 1) * 0.2); this.ySpeed = this.ySpeed + ((random(3) - 1) * 0.2); this.speed = Math.sqrt((this.xSpeed * this.xSpeed) + (this.ySpeed * this.ySpeed)); if (this.xSpeed > 5) { this.xSpeed = 5; } if (this.xSpeed < -5) { this.xSpeed = -5; } if (this.ySpeed < -2) { this.ySpeed = -2; } if (this.ySpeed > 2) { this.ySpeed = -2; } if (this.speed > (this.maxSpeed / 5)) { this.xSpeed = this.xSpeed * 0.5; this.ySpeed = this.ySpeed * 0.5; } this._x = this._x + this.xSpeed; this._y = this._y - this.ySpeed; if (this.xSpeed > 1) { this._xscale = -100; } else if (this.xSpeed < -1) { this._xscale = 100; } rotation = this.rotation; rotation = rotation + (random(4) - 2); this._rotation = 0; if (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x + this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x - 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { while (_root.level.grond.hitTest((this._x - this.diameter) + _root.level._x, this._y + _root.level._y, true)) { this.collisionx = 1; this._x = this._x + 1; } this.xSpeed = this.xSpeed * -1; rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y + this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y - 1; } rotation = rotation + 20; } if (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { if (this.inlucht == 1) { this.ySpeed = this.ySpeed * -0.05; } while (_root.level.grond.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this.collisionx = 1; this._y = this._y + 1; } rotation = rotation + 20; } if (_root.level.lucht.hitTest(this._x + _root.level._x, (this._y - this.diameter) + _root.level._y, true)) { this._y = this._y + 2; this.ySpeed = this.ySpeed * 0.1; this.inlucht = 1; } else { this.inlucht = 0; } }
Symbol 303 MovieClip Frame 1
stop();
Symbol 334 MovieClip [ADBALK] Frame 1
this.knop_games4site.onRelease = function () { getURL ("http://www.happytree.com/submarine/index1.html", "_blank"); }; this.knop_happytree.onRelease = function () { getURL ("http://www.happytree.com/submarine/index2.html", "_blank"); }; this.knop_moregames.onRelease = function () { getURL ("http://www.happytree.com/submarine/index3.html", "_blank"); };
Instance of Symbol 277 MovieClip "knop" in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) { this.onPress = function () { getURL ("http://www.michielkrol.nl", "_blank"); }; }
Symbol 356 MovieClip Frame 1
stop();

Library Items

Symbol 1 Sound [bobble8.wav]
Symbol 2 Sound [bobble7.wav]
Symbol 3 Sound [bobble6.wav]
Symbol 4 Sound [bobble5.wav]
Symbol 5 Sound [bobble4.wav]
Symbol 6 Sound [bobble3.wav]
Symbol 7 Sound [bobble2.wav]
Symbol 8 Sound [bobble1.wav]
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [gewicht]Uses:9
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClip [key3]Uses:12
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClip [key2]Uses:14
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip [key]Uses:16
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:21
Symbol 21 MovieClip [strandbal]Uses:18 20
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClip [luchtbel]Uses:22
Symbol 24 GraphicUsed by:45
Symbol 25 GraphicUsed by:45
Symbol 26 GraphicUsed by:45
Symbol 27 GraphicUsed by:45
Symbol 28 GraphicUsed by:45 66
Symbol 29 GraphicUsed by:45
Symbol 30 GraphicUsed by:45
Symbol 31 GraphicUsed by:45
Symbol 32 GraphicUsed by:45
Symbol 33 GraphicUsed by:45
Symbol 34 GraphicUsed by:45
Symbol 35 GraphicUsed by:45
Symbol 36 GraphicUsed by:45
Symbol 37 GraphicUsed by:45
Symbol 38 GraphicUsed by:45
Symbol 39 GraphicUsed by:45
Symbol 40 GraphicUsed by:45
Symbol 41 GraphicUsed by:45
Symbol 42 GraphicUsed by:45
Symbol 43 GraphicUsed by:45 66
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip [sploshs]Uses:24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44Used by:46
Symbol 46 MovieClip [splashs]Uses:45
Symbol 47 GraphicUsed by:66
Symbol 48 GraphicUsed by:66
Symbol 49 GraphicUsed by:66
Symbol 50 GraphicUsed by:66
Symbol 51 GraphicUsed by:66
Symbol 52 GraphicUsed by:66
Symbol 53 GraphicUsed by:66
Symbol 54 GraphicUsed by:66
Symbol 55 GraphicUsed by:66
Symbol 56 GraphicUsed by:66
Symbol 57 GraphicUsed by:66
Symbol 58 GraphicUsed by:66
Symbol 59 GraphicUsed by:66
Symbol 60 GraphicUsed by:66
Symbol 61 GraphicUsed by:66
Symbol 62 GraphicUsed by:66
Symbol 63 GraphicUsed by:66
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:47 48 49 50 28 51 52 53 54 55 56 57 58 59 60 61 62 63 64 43 65Used by:67
Symbol 67 MovieClip [splash]Uses:66
Symbol 68 GraphicUsed by:70
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:68 69Used by:80 120
Symbol 71 GraphicUsed by:80
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:72Used by:80 120
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:80
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:80 120
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:80
Symbol 80 MovieClip [sub2]Uses:70 71 73 75 77 79
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 254 284 291
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:128 145 159 165 186 196 203 223 241
Symbol 85 GraphicUsed by:89
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:89
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:85 87 88Used by:128 159 175 241 291
Symbol 90 GraphicUsed by:95
Symbol 91 GraphicUsed by:95
Symbol 92 GraphicUsed by:95
Symbol 93 GraphicUsed by:95
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:90 91 92 93 94Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 254 284 291
Symbol 96 GraphicUsed by:128
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:128 189 241
Symbol 99 GraphicUsed by:128
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:128 203 254 284 291
Symbol 102 GraphicUsed by:106
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:106
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:102 104 105Used by:128
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 254 284 291
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 254 284 291
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:128 145 165 169 175 180 186 189 196 203 223 241
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip [submarine_star]Uses:113Used by:128 159 165 180 186 196 203 223 254 284 291
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:120
Symbol 117 GraphicUsed by:120
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:120
Symbol 120 MovieClip [sub]Uses:116 70 117 73 119 77Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 249 254 259 284 287 291  Timeline
Symbol 121 GraphicUsed by:124
Symbol 122 GraphicUsed by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:121 122 123Used by:128 145 159 165 169 175 180 186 189 196 203 223 241 254 284 291
Symbol 125 GraphicUsed by:128
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:128 145 159 165 169 175 180 186 189 196 203 254 284 291
Symbol 128 MovieClip [level_map3]Uses:82 84 89 95 96 98 99 101 106 108 110 112 114 120 124 125 127
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:145 165 203 223 241
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:145 159 165 169 175 180 186 189 196
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:133Used by:145
Symbol 135 GraphicUsed by:145
Symbol 136 FontUsed by:137 139 141 143
Symbol 137 TextUses:136Used by:138
Symbol 138 MovieClipUses:137Used by:145 159 165 169 175 180 186 223 284
Symbol 139 TextUses:136Used by:140
Symbol 140 MovieClipUses:139Used by:145 159 165 169 175 180 186 223 284
Symbol 141 TextUses:136Used by:142
Symbol 142 MovieClipUses:141Used by:145 159 165 169 175 180 186 223 284
Symbol 143 TextUses:136Used by:144
Symbol 144 MovieClipUses:143Used by:145 159 165 169 175 180 186 223 284
Symbol 145 MovieClip [level_map8]Uses:82 95 84 130 132 134 108 112 110 120 124 135 127 138 140 142 144
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:159 165 169 175 241 254
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:159 165 169 175 196 223
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClipUses:150Used by:159 165 186 196 203 223 241 254 284 291
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:157 184 195 218 231 253
Symbol 154 GraphicUsed by:155 216
Symbol 155 MovieClipUses:154Used by:157
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:153 155 156Used by:159
Symbol 158 GraphicUsed by:159 165 169 175 189 196 203 223 241 254
Symbol 159 MovieClip [level_map13]Uses:82 95 84 147 149 151 89 132 157 108 110 114 120 124 158 127 138 140 142 144
Symbol 160 GraphicUsed by:165
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:164 218
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:162 163Used by:165
Symbol 165 MovieClip [level_map11]Uses:82 95 84 147 149 160 151 132 164 108 112 110 114 120 124 158 130 127 138 140 142 144
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:166Used by:169
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClip [level_map10]Uses:82 95 147 149 132 167 108 112 110 120 124 158 168 127 138 140 142 144
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:173 178 201 253
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:171 172Used by:175
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip [level_map9]Uses:82 95 147 149 89 132 173 108 112 110 120 124 158 174 127 138 140 142 144
Symbol 176 GraphicUsed by:178
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:176 171 177Used by:180
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClip [level_map7]Uses:82 95 132 178 108 112 110 114 120 124 179 127 138 140 142 144
Symbol 181 GraphicUsed by:182
Symbol 182 MovieClipUses:181Used by:184
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:153 182 183Used by:186
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClip [level_map6]Uses:82 95 84 132 184 108 112 110 114 151 120 124 185 127 138 140 142 144
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:189
Symbol 189 MovieClip [level_map5]Uses:82 95 98 132 188 108 112 110 120 124 158 127
Symbol 190 GraphicUsed by:196
Symbol 191 GraphicUsed by:196 203
Symbol 192 GraphicUsed by:196
Symbol 193 GraphicUsed by:195
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:193 153 194Used by:196
Symbol 196 MovieClip [level_map4]Uses:82 95 149 190 191 132 84 192 195 108 112 110 114 120 124 151 158 127
Symbol 197 GraphicUsed by:203
Symbol 198 GraphicUsed by:203
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClip [level_map2_col]Uses:199 171 200Used by:203
Symbol 202 GraphicUsed by:203
Symbol 203 MovieClip [level_map2]Uses:82 84 95 197 191 101 198 201 108 110 112 151 114 120 124 158 130 202 127
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClip [key4]Uses:204Used by:215
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClip [level_map12_lucht]Uses:206Used by:223
Symbol 208 GraphicUsed by:223 241 254
Symbol 209 GraphicUsed by:223
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClip [treasure]Uses:210Used by:223 241 315
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClipUses:212Used by:218
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214 205Used by:218
Symbol 216 MovieClipUses:154Used by:218
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:162 213 215 153 216 217Used by:223
Symbol 219 GraphicUsed by:220
Symbol 220 MovieClipUses:219Used by:223 241 284
Symbol 221 GraphicUsed by:222
Symbol 222 MovieClipUses:221Used by:223
Symbol 223 MovieClip [level_map12]Uses:208 82 95 209 84 149 207 108 110 112 151 114 211 218 120 124 158 220 130 222 138 140 142 144
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClip [level_map2_lucht]Uses:224Used by:241
Symbol 226 GraphicUsed by:241
Symbol 227 GraphicUsed by:241
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:241 284
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230 153Used by:241
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:241 254 291
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:234Used by:241 254 291
Symbol 236 GraphicUsed by:241
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:237Used by:241
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:241
Symbol 241 MovieClip [level_map1]Uses:208 82 95 98 84 226 89 225 220 147 227 229 231 108 110 112 233 235 151 120 124 158 130 236 211 238 240
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:249 284 287
Symbol 244 GraphicUsed by:247
Symbol 245 FontUsed by:246
Symbol 246 TextUses:245Used by:247
Symbol 247 MovieClipUses:244 246Used by:249
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:243 120 247 248Used by:254
Symbol 250 GraphicUsed by:253
Symbol 251 GraphicUsed by:253
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:250 171 251 153 252Used by:254
Symbol 254 MovieClip [level_tutorial2]Uses:208 101 235 82 95 147 249 253 108 110 151 114 233 120 124 158 127
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClipUses:255Used by:259 284 287
Symbol 257 GraphicUsed by:259
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:257 120 256 258Used by:284
Symbol 260 GraphicUsed by:264
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClipUses:261Used by:264 290
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClipUses:260 262 263Used by:284
Symbol 265 GraphicUsed by:268
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:268
Symbol 268 MovieClipUses:265 267Used by:284
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClipUses:269Used by:271
Symbol 271 MovieClipUses:270Used by:284
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:284
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:284 291
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:284 344
Symbol 278 GraphicUsed by:283
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:283
Symbol 281 FontUsed by:282 343 346
Symbol 282 TextUses:281Used by:283
Symbol 283 MovieClipUses:278 280 282Used by:284
Symbol 284 MovieClip [level_menu]Uses:95 82 243 120 256 101 259 264 220 268 271 273 108 110 114 151 229 127 124 275 138 140 142 144 277 283
Symbol 285 GraphicUsed by:287
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:243 120 256 285 286Used by:291
Symbol 288 GraphicUsed by:290
Symbol 289 GraphicUsed by:290
Symbol 290 MovieClipUses:288 262 289Used by:291
Symbol 291 MovieClip [level_tutorial]Uses:95 82 287 89 101 290 108 110 151 233 114 120 235 127 124 275
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClip [background1]Uses:292
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClip [level_map2_voorrand]Uses:294
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClip [levelswitchen]Uses:296
Symbol 298 GraphicUsed by:307
Symbol 299 GraphicUsed by:303
Symbol 300 FontUsed by:301 305
Symbol 301 TextUses:300Used by:303
Symbol 302 GraphicUsed by:303
Symbol 303 MovieClipUses:299 301 302Used by:307
Symbol 304 GraphicUsed by:306
Symbol 305 TextUses:300Used by:306
Symbol 306 MovieClipUses:304 305Used by:307
Symbol 307 MovieClip [menu_interface]Uses:298 303 306
Symbol 308 GraphicUsed by:313
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClip [star]Uses:309Used by:313
Symbol 311 FontUsed by:312 318
Symbol 312 EditableTextUses:311Used by:313
Symbol 313 MovieClip [star_inventory]Uses:308 310 312
Symbol 314 GraphicUsed by:315 316
Symbol 315 MovieClip [inventory2]Uses:314 211
Symbol 316 MovieClip [inventory]Uses:314
Symbol 317 GraphicUsed by:319
Symbol 318 EditableTextUses:311Used by:319
Symbol 319 MovieClip [tekstvak]Uses:317 318
Symbol 320 GraphicUsed by:321
Symbol 321 MovieClipUses:320Used by:322
Symbol 322 MovieClip [speluitgespeeld]Uses:321
Symbol 323 GraphicUsed by:334
Symbol 324 GraphicUsed by:327
Symbol 325 FontUsed by:326 332
Symbol 326 TextUses:325Used by:327
Symbol 327 MovieClipUses:324 326Used by:334
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:330
Symbol 330 MovieClipUses:329Used by:334
Symbol 331 GraphicUsed by:333
Symbol 332 TextUses:325Used by:333
Symbol 333 MovieClipUses:331 332Used by:334
Symbol 334 MovieClip [ADBALK]Uses:323 327 330 333
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClip [background2]Uses:335Used by:Timeline
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:337Used by:341
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 MovieClipUses:338 339 340Used by:Timeline
Symbol 342 GraphicUsed by:344
Symbol 343 TextUses:281Used by:344
Symbol 344 MovieClipUses:342 277 343Used by:Timeline
Symbol 345 GraphicUsed by:347
Symbol 346 TextUses:281Used by:347
Symbol 347 MovieClipUses:345 346Used by:Timeline
Symbol 348 Sound [menuaudio.wav]Used by:356
Symbol 349 Sound [huub.wav]Used by:356
Symbol 350 Sound [plons]Used by:356
Symbol 351 Sound [rock.wav]Used by:356
Symbol 352 Sound [runningbells.wav]Used by:356
Symbol 353 Sound [space_loop.wav]Used by:356
Symbol 354 Sound [plons2]Used by:356
Symbol 355 Sound [background1.wav]Used by:356
Symbol 356 MovieClipUses:348 349 350 351 352 353 354 355Used by:Timeline

Instance Names

"loadbar"Frame 1Symbol 341 MovieClip
"balextra"Symbol 21 MovieClip [strandbal] Frame 1Symbol 20 MovieClip
"rotor"Symbol 80 MovieClip [sub2] Frame 1Symbol 70 MovieClip
"wiel2"Symbol 80 MovieClip [sub2] Frame 1Symbol 73 MovieClip
"wiel4"Symbol 80 MovieClip [sub2] Frame 1Symbol 73 MovieClip
"wiel1"Symbol 80 MovieClip [sub2] Frame 1Symbol 73 MovieClip
"wiel3"Symbol 80 MovieClip [sub2] Frame 1Symbol 73 MovieClip
"cirkel"Symbol 80 MovieClip [sub2] Frame 1Symbol 75 MovieClip
"turbo"Symbol 80 MovieClip [sub2] Frame 1Symbol 77 MovieClip
"middenstuk"Symbol 80 MovieClip [sub2] Frame 1Symbol 79 MovieClip
"door1"Symbol 106 MovieClip Frame 1Symbol 104 MovieClip
"middenstuk"Symbol 120 MovieClip [sub] Frame 1Symbol 116 MovieClip
"rotor"Symbol 120 MovieClip [sub] Frame 1Symbol 70 MovieClip
"wiel2"Symbol 120 MovieClip [sub] Frame 1Symbol 73 MovieClip
"wiel4"Symbol 120 MovieClip [sub] Frame 1Symbol 73 MovieClip
"wiel1"Symbol 120 MovieClip [sub] Frame 1Symbol 73 MovieClip
"wiel3"Symbol 120 MovieClip [sub] Frame 1Symbol 73 MovieClip
"cirkel"Symbol 120 MovieClip [sub] Frame 1Symbol 119 MovieClip
"turbo"Symbol 120 MovieClip [sub] Frame 1Symbol 77 MovieClip
"lucht"Symbol 128 MovieClip [level_map3] Frame 1Symbol 101 MovieClip
"grond"Symbol 128 MovieClip [level_map3] Frame 1Symbol 106 MovieClip
"startpos1"Symbol 128 MovieClip [level_map3] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 128 MovieClip [level_map3] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 128 MovieClip [level_map3] Frame 1Symbol 110 MovieClip
"mapchange2"Symbol 128 MovieClip [level_map3] Frame 1Symbol 110 MovieClip
"mapchange3"Symbol 128 MovieClip [level_map3] Frame 1Symbol 110 MovieClip
"startpos3"Symbol 128 MovieClip [level_map3] Frame 1Symbol 108 MovieClip
"player"Symbol 128 MovieClip [level_map3] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 128 MovieClip [level_map3] Frame 1Symbol 127 MovieClip
"lucht"Symbol 145 MovieClip [level_map8] Frame 1Symbol 132 MovieClip
"grond"Symbol 145 MovieClip [level_map8] Frame 1Symbol 134 MovieClip
"startpos1"Symbol 145 MovieClip [level_map8] Frame 1Symbol 108 MovieClip
"mapchange3"Symbol 145 MovieClip [level_map8] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 145 MovieClip [level_map8] Frame 1Symbol 108 MovieClip
"mapchange5"Symbol 145 MovieClip [level_map8] Frame 1Symbol 110 MovieClip
"player"Symbol 145 MovieClip [level_map8] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 145 MovieClip [level_map8] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 145 MovieClip [level_map8] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 145 MovieClip [level_map8] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 145 MovieClip [level_map8] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 145 MovieClip [level_map8] Frame 1Symbol 144 MovieClip
"door1"Symbol 157 MovieClip Frame 1Symbol 153 MovieClip
"door2"Symbol 157 MovieClip Frame 1Symbol 153 MovieClip
"door3"Symbol 157 MovieClip Frame 1Symbol 155 MovieClip
"door4"Symbol 157 MovieClip Frame 1Symbol 153 MovieClip
"door5"Symbol 157 MovieClip Frame 1Symbol 153 MovieClip
"lucht"Symbol 159 MovieClip [level_map13] Frame 1Symbol 132 MovieClip
"grond"Symbol 159 MovieClip [level_map13] Frame 1Symbol 157 MovieClip
"startpos1"Symbol 159 MovieClip [level_map13] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 159 MovieClip [level_map13] Frame 1Symbol 110 MovieClip
"player"Symbol 159 MovieClip [level_map13] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 159 MovieClip [level_map13] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 159 MovieClip [level_map13] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 159 MovieClip [level_map13] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 159 MovieClip [level_map13] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 159 MovieClip [level_map13] Frame 1Symbol 144 MovieClip
"door1"Symbol 164 MovieClip Frame 1Symbol 162 MovieClip
"lucht"Symbol 165 MovieClip [level_map11] Frame 1Symbol 132 MovieClip
"grond"Symbol 165 MovieClip [level_map11] Frame 1Symbol 164 MovieClip
"startpos1"Symbol 165 MovieClip [level_map11] Frame 1Symbol 108 MovieClip
"mapchange2"Symbol 165 MovieClip [level_map11] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 165 MovieClip [level_map11] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 165 MovieClip [level_map11] Frame 1Symbol 110 MovieClip
"player"Symbol 165 MovieClip [level_map11] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 165 MovieClip [level_map11] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 165 MovieClip [level_map11] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 165 MovieClip [level_map11] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 165 MovieClip [level_map11] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 165 MovieClip [level_map11] Frame 1Symbol 144 MovieClip
"lucht"Symbol 169 MovieClip [level_map10] Frame 1Symbol 132 MovieClip
"grond"Symbol 169 MovieClip [level_map10] Frame 1Symbol 167 MovieClip
"startpos1"Symbol 169 MovieClip [level_map10] Frame 1Symbol 108 MovieClip
"mapchange2"Symbol 169 MovieClip [level_map10] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 169 MovieClip [level_map10] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 169 MovieClip [level_map10] Frame 1Symbol 110 MovieClip
"player"Symbol 169 MovieClip [level_map10] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 169 MovieClip [level_map10] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 169 MovieClip [level_map10] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 169 MovieClip [level_map10] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 169 MovieClip [level_map10] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 169 MovieClip [level_map10] Frame 1Symbol 144 MovieClip
"door2"Symbol 173 MovieClip Frame 1Symbol 171 MovieClip
"lucht"Symbol 175 MovieClip [level_map9] Frame 1Symbol 132 MovieClip
"grond"Symbol 175 MovieClip [level_map9] Frame 1Symbol 173 MovieClip
"startpos1"Symbol 175 MovieClip [level_map9] Frame 1Symbol 108 MovieClip
"mapchange2"Symbol 175 MovieClip [level_map9] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 175 MovieClip [level_map9] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 175 MovieClip [level_map9] Frame 1Symbol 110 MovieClip
"player"Symbol 175 MovieClip [level_map9] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 175 MovieClip [level_map9] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 175 MovieClip [level_map9] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 175 MovieClip [level_map9] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 175 MovieClip [level_map9] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 175 MovieClip [level_map9] Frame 1Symbol 144 MovieClip
"door2"Symbol 178 MovieClip Frame 1Symbol 171 MovieClip
"lucht"Symbol 180 MovieClip [level_map7] Frame 1Symbol 132 MovieClip
"grond"Symbol 180 MovieClip [level_map7] Frame 1Symbol 178 MovieClip
"startpos1"Symbol 180 MovieClip [level_map7] Frame 1Symbol 108 MovieClip
"mapchange3"Symbol 180 MovieClip [level_map7] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 180 MovieClip [level_map7] Frame 1Symbol 108 MovieClip
"mapchange5"Symbol 180 MovieClip [level_map7] Frame 1Symbol 110 MovieClip
"player"Symbol 180 MovieClip [level_map7] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 180 MovieClip [level_map7] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 180 MovieClip [level_map7] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 180 MovieClip [level_map7] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 180 MovieClip [level_map7] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 180 MovieClip [level_map7] Frame 1Symbol 144 MovieClip
"door1"Symbol 184 MovieClip Frame 1Symbol 153 MovieClip
"door2"Symbol 184 MovieClip Frame 1Symbol 182 MovieClip
"lucht"Symbol 186 MovieClip [level_map6] Frame 1Symbol 132 MovieClip
"grond"Symbol 186 MovieClip [level_map6] Frame 1Symbol 184 MovieClip
"startpos1"Symbol 186 MovieClip [level_map6] Frame 1Symbol 108 MovieClip
"mapchange2"Symbol 186 MovieClip [level_map6] Frame 1Symbol 110 MovieClip
"mapchange3"Symbol 186 MovieClip [level_map6] Frame 1Symbol 110 MovieClip
"mapchange1"Symbol 186 MovieClip [level_map6] Frame 1Symbol 110 MovieClip
"startpos3"Symbol 186 MovieClip [level_map6] Frame 1Symbol 108 MovieClip
"startpos4"Symbol 186 MovieClip [level_map6] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 186 MovieClip [level_map6] Frame 1Symbol 108 MovieClip
"mapchange4"Symbol 186 MovieClip [level_map6] Frame 1Symbol 110 MovieClip
"mapchange5"Symbol 186 MovieClip [level_map6] Frame 1Symbol 110 MovieClip
"player"Symbol 186 MovieClip [level_map6] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 186 MovieClip [level_map6] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 186 MovieClip [level_map6] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 186 MovieClip [level_map6] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 186 MovieClip [level_map6] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 186 MovieClip [level_map6] Frame 1Symbol 144 MovieClip
"lucht"Symbol 189 MovieClip [level_map5] Frame 1Symbol 132 MovieClip
"grond"Symbol 189 MovieClip [level_map5] Frame 1Symbol 188 MovieClip
"startpos1"Symbol 189 MovieClip [level_map5] Frame 1Symbol 108 MovieClip
"mapchange2"Symbol 189 MovieClip [level_map5] Frame 1Symbol 110 MovieClip
"mapchange3"Symbol 189 MovieClip [level_map5] Frame 1Symbol 110 MovieClip
"mapchange1"Symbol 189 MovieClip [level_map5] Frame 1Symbol 110 MovieClip
"startpos2"Symbol 189 MovieClip [level_map5] Frame 1Symbol 108 MovieClip
"startpos3"Symbol 189 MovieClip [level_map5] Frame 1Symbol 108 MovieClip
"player"Symbol 189 MovieClip [level_map5] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 189 MovieClip [level_map5] Frame 1Symbol 127 MovieClip
"door1"Symbol 195 MovieClip Frame 1Symbol 153 MovieClip
"lucht"Symbol 196 MovieClip [level_map4] Frame 1Symbol 132 MovieClip
"grond"Symbol 196 MovieClip [level_map4] Frame 1Symbol 195 MovieClip
"startpos1"Symbol 196 MovieClip [level_map4] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 196 MovieClip [level_map4] Frame 1Symbol 110 MovieClip
"player"Symbol 196 MovieClip [level_map4] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 196 MovieClip [level_map4] Frame 1Symbol 127 MovieClip
"door2"Symbol 201 MovieClip [level_map2_col] Frame 1Symbol 171 MovieClip
"lucht"Symbol 203 MovieClip [level_map2] Frame 1Symbol 101 MovieClip
"grond"Symbol 203 MovieClip [level_map2] Frame 1Symbol 201 MovieClip [level_map2_col]
"startpos1"Symbol 203 MovieClip [level_map2] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 203 MovieClip [level_map2] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 203 MovieClip [level_map2] Frame 1Symbol 110 MovieClip
"mapchange2"Symbol 203 MovieClip [level_map2] Frame 1Symbol 110 MovieClip
"player"Symbol 203 MovieClip [level_map2] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 203 MovieClip [level_map2] Frame 1Symbol 127 MovieClip
"door1"Symbol 218 MovieClip Frame 1Symbol 162 MovieClip
"door2"Symbol 218 MovieClip Frame 1Symbol 215 MovieClip
"door4"Symbol 218 MovieClip Frame 1Symbol 153 MovieClip
"door3"Symbol 218 MovieClip Frame 1Symbol 215 MovieClip
"door5"Symbol 218 MovieClip Frame 1Symbol 216 MovieClip
"door6"Symbol 218 MovieClip Frame 1Symbol 153 MovieClip
"lucht"Symbol 223 MovieClip [level_map12] Frame 1Symbol 207 MovieClip [level_map12_lucht]
"startpos1"Symbol 223 MovieClip [level_map12] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 223 MovieClip [level_map12] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 223 MovieClip [level_map12] Frame 1Symbol 110 MovieClip
"switchtre"Symbol 223 MovieClip [level_map12] Frame 1Symbol 114 MovieClip [submarine_star]
"mapchange2"Symbol 223 MovieClip [level_map12] Frame 1Symbol 110 MovieClip
"treasure"Symbol 223 MovieClip [level_map12] Frame 1Symbol 211 MovieClip [treasure]
"grond"Symbol 223 MovieClip [level_map12] Frame 1Symbol 218 MovieClip
"player"Symbol 223 MovieClip [level_map12] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 223 MovieClip [level_map12] Frame 1Symbol 222 MovieClip
"xmaxMC"Symbol 223 MovieClip [level_map12] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 223 MovieClip [level_map12] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 223 MovieClip [level_map12] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 223 MovieClip [level_map12] Frame 1Symbol 144 MovieClip
"lucht"Symbol 241 MovieClip [level_map1] Frame 1Symbol 225 MovieClip [level_map2_lucht]
"grond"Symbol 241 MovieClip [level_map1] Frame 1Symbol 231 MovieClip
"startpos1"Symbol 241 MovieClip [level_map1] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 241 MovieClip [level_map1] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 241 MovieClip [level_map1] Frame 1Symbol 110 MovieClip
"startpos3"Symbol 241 MovieClip [level_map1] Frame 1Symbol 108 MovieClip
"player"Symbol 241 MovieClip [level_map1] Frame 1Symbol 120 MovieClip [sub]
"treasure"Symbol 241 MovieClip [level_map1] Frame 1Symbol 211 MovieClip [treasure]
"treasuresch"Symbol 241 MovieClip [level_map1] Frame 1Symbol 238 MovieClip
"voorrand"Symbol 241 MovieClip [level_map1] Frame 1Symbol 240 MovieClip
"door2"Symbol 253 MovieClip Frame 1Symbol 171 MovieClip
"door1"Symbol 253 MovieClip Frame 1Symbol 153 MovieClip
"lucht"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 101 MovieClip
"grond"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 253 MovieClip
"startpos1"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 110 MovieClip
"mapchange2"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 110 MovieClip
"player"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 254 MovieClip [level_tutorial2] Frame 1Symbol 127 MovieClip
"door2"Symbol 264 MovieClip Frame 1Symbol 262 MovieClip
"logoSpele"Symbol 283 MovieClip Frame 1Symbol 280 MovieClip
"lucht"Symbol 284 MovieClip [level_menu] Frame 1Symbol 101 MovieClip
"grond"Symbol 284 MovieClip [level_menu] Frame 1Symbol 264 MovieClip
"startknop"Symbol 284 MovieClip [level_menu] Frame 1Symbol 268 MovieClip
"startknop2"Symbol 284 MovieClip [level_menu] Frame 1Symbol 271 MovieClip
"startpos1"Symbol 284 MovieClip [level_menu] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 284 MovieClip [level_menu] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 284 MovieClip [level_menu] Frame 1Symbol 110 MovieClip
"player"Symbol 284 MovieClip [level_menu] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 284 MovieClip [level_menu] Frame 1Symbol 127 MovieClip
"xmaxMC"Symbol 284 MovieClip [level_menu] Frame 1Symbol 138 MovieClip
"xminMC"Symbol 284 MovieClip [level_menu] Frame 1Symbol 140 MovieClip
"ymaxMC"Symbol 284 MovieClip [level_menu] Frame 1Symbol 142 MovieClip
"yminMC"Symbol 284 MovieClip [level_menu] Frame 1Symbol 144 MovieClip
"knop"Symbol 284 MovieClip [level_menu] Frame 1Symbol 277 MovieClip
"door2"Symbol 290 MovieClip Frame 1Symbol 262 MovieClip
"lucht"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 101 MovieClip
"grond"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 290 MovieClip
"startpos1"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 108 MovieClip
"startpos2"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 108 MovieClip
"mapchange1"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 110 MovieClip
"player"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 120 MovieClip [sub]
"voorrand"Symbol 291 MovieClip [level_tutorial] Frame 1Symbol 127 MovieClip
"geluid_button"Symbol 307 MovieClip [menu_interface] Frame 1Symbol 303 MovieClip
"menu_button"Symbol 307 MovieClip [menu_interface] Frame 1Symbol 306 MovieClip
"tekstveld"Symbol 313 MovieClip [star_inventory] Frame 1Symbol 312 EditableText
"tekstveld"Symbol 319 MovieClip [tekstvak] Frame 1Symbol 318 EditableText
"knop_moregames"Symbol 334 MovieClip [ADBALK] Frame 1Symbol 327 MovieClip
"knop_happytree"Symbol 334 MovieClip [ADBALK] Frame 1Symbol 330 MovieClip
"knop_games4site"Symbol 334 MovieClip [ADBALK] Frame 1Symbol 333 MovieClip
"loadmask"Symbol 341 MovieClip Frame 1Symbol 338 MovieClip
"knop"Symbol 344 MovieClip Frame 1Symbol 277 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "bobble8.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "bobble7.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "bobble6.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "bobble5.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "bobble4.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "bobble3.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "bobble2.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "bobble1.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "gewicht"
ExportAssets (56)Timeline Frame 1Symbol 13 as "key3"
ExportAssets (56)Timeline Frame 1Symbol 15 as "key2"
ExportAssets (56)Timeline Frame 1Symbol 17 as "key"
ExportAssets (56)Timeline Frame 1Symbol 21 as "strandbal"
ExportAssets (56)Timeline Frame 1Symbol 23 as "luchtbel"
ExportAssets (56)Timeline Frame 1Symbol 45 as "sploshs"
ExportAssets (56)Timeline Frame 1Symbol 46 as "splashs"
ExportAssets (56)Timeline Frame 1Symbol 67 as "splash"
ExportAssets (56)Timeline Frame 1Symbol 80 as "sub2"
ExportAssets (56)Timeline Frame 1Symbol 114 as "submarine_star"
ExportAssets (56)Timeline Frame 1Symbol 120 as "sub"
ExportAssets (56)Timeline Frame 1Symbol 128 as "level_map3"
ExportAssets (56)Timeline Frame 1Symbol 145 as "level_map8"
ExportAssets (56)Timeline Frame 1Symbol 159 as "level_map13"
ExportAssets (56)Timeline Frame 1Symbol 165 as "level_map11"
ExportAssets (56)Timeline Frame 1Symbol 169 as "level_map10"
ExportAssets (56)Timeline Frame 1Symbol 175 as "level_map9"
ExportAssets (56)Timeline Frame 1Symbol 180 as "level_map7"
ExportAssets (56)Timeline Frame 1Symbol 186 as "level_map6"
ExportAssets (56)Timeline Frame 1Symbol 189 as "level_map5"
ExportAssets (56)Timeline Frame 1Symbol 196 as "level_map4"
ExportAssets (56)Timeline Frame 1Symbol 201 as "level_map2_col"
ExportAssets (56)Timeline Frame 1Symbol 203 as "level_map2"
ExportAssets (56)Timeline Frame 1Symbol 205 as "key4"
ExportAssets (56)Timeline Frame 1Symbol 207 as "level_map12_lucht"
ExportAssets (56)Timeline Frame 1Symbol 211 as "treasure"
ExportAssets (56)Timeline Frame 1Symbol 223 as "level_map12"
ExportAssets (56)Timeline Frame 1Symbol 225 as "level_map2_lucht"
ExportAssets (56)Timeline Frame 1Symbol 241 as "level_map1"
ExportAssets (56)Timeline Frame 1Symbol 254 as "level_tutorial2"
ExportAssets (56)Timeline Frame 1Symbol 284 as "level_menu"
ExportAssets (56)Timeline Frame 1Symbol 291 as "level_tutorial"
ExportAssets (56)Timeline Frame 1Symbol 293 as "background1"
ExportAssets (56)Timeline Frame 1Symbol 295 as "level_map2_voorrand"
ExportAssets (56)Timeline Frame 1Symbol 297 as "levelswitchen"
ExportAssets (56)Timeline Frame 1Symbol 307 as "menu_interface"
ExportAssets (56)Timeline Frame 1Symbol 310 as "star"
ExportAssets (56)Timeline Frame 1Symbol 313 as "star_inventory"
ExportAssets (56)Timeline Frame 1Symbol 315 as "inventory2"
ExportAssets (56)Timeline Frame 1Symbol 316 as "inventory"
ExportAssets (56)Timeline Frame 1Symbol 319 as "tekstvak"
ExportAssets (56)Timeline Frame 1Symbol 322 as "speluitgespeeld"
ExportAssets (56)Timeline Frame 1Symbol 334 as "ADBALK"
ExportAssets (56)Timeline Frame 1Symbol 336 as "background2"
ExportAssets (56)Timeline Frame 7Symbol 348 as "menuaudio.wav"
ExportAssets (56)Timeline Frame 7Symbol 349 as "huub.wav"
ExportAssets (56)Timeline Frame 7Symbol 350 as "plons"
ExportAssets (56)Timeline Frame 7Symbol 351 as "rock.wav"
ExportAssets (56)Timeline Frame 7Symbol 352 as "runningbells.wav"
ExportAssets (56)Timeline Frame 7Symbol 353 as "space_loop.wav"
ExportAssets (56)Timeline Frame 7Symbol 354 as "plons2"
ExportAssets (56)Timeline Frame 7Symbol 355 as "background1.wav"




http://swfchan.com/6/25784/info.shtml
Created: 23/5 -2019 08:36:05 Last modified: 23/5 -2019 08:36:05 Server time: 15/05 -2024 07:27:40