Frame 1
stop();
_global.loopc = new Sound(this._parent);
_global.loopc.attachSound("loopc");
_global.loopm = new Sound(this._parent);
_global.loopm.attachSound("loopm");
_global.loop1 = new Sound(this._parent);
_global.loop1.attachSound("loop1");
_global.loop2 = new Sound(this._parent);
_global.loop2.attachSound("loop2");
_global.loop3 = new Sound(this._parent);
_global.loop3.attachSound("loop3");
_global.listening = "loop1";
if (_global.level == undefined) {
_global.level = 1;
}
if (_global.extra1 == undefined) {
_global.extra1 = false;
}
if (_global.extra2 == undefined) {
_global.extra2 = false;
}
if (_global.extra3 == undefined) {
_global.extra3 = false;
}
if (_global.extra4 == undefined) {
_global.extra4 = false;
}
if (_global.extra5 == undefined) {
_global.extra5 = false;
}
if (_global.extra6 == undefined) {
_global.extra6 = false;
}
if (_global.extra7 == undefined) {
_global.extra7 = false;
}
if (_global.extra8 == undefined) {
_global.extra8 = false;
}
if (_global.extra9 == undefined) {
_global.extra9 = false;
}
if (_global.extra10 == undefined) {
_global.extra10 = false;
}
Frame 2
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopm.stop();
_global.loopc.stop();
Frame 246
stop();
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopc.stop();
_global.loopm.start(0, 99);
Instance of Symbol 53 MovieClip in Frame 246
onClipEvent (load) {
_root.eschold = true;
_root.uphold = false;
_root.downhold = false;
_root.spacehold = true;
_root.enterhold = false;
_root.select = 1;
_root.passcode = "wait ... working it out";
_root.enterpasscode = "";
_root.passoutputtext = "";
_root.levelcode_array = new Array("sd", "ju", "hi", "vf", "ze", "lk", "ca", "qw", "on", "xm");
}
onClipEvent (enterFrame) {
_root.levelstring = String(_global.level);
_root.ex1string = String(_global.extra1);
_root.ex2string = String(_global.extra2);
_root.ex3string = String(_global.extra3);
_root.ex4string = String(_global.extra4);
_root.ex5string = String(_global.extra5);
_root.ex6string = String(_global.extra6);
_root.ex7string = String(_global.extra7);
_root.ex8string = String(_global.extra8);
_root.ex9string = String(_global.extra9);
_root.ex10string = String(_global.extra10);
if (_root.levelstring.length < 2) {
_root.levelstring = "0" + _root.levelstring;
}
_root.passcode = ((((((((((_root.levelcode_array[Number(_root.levelstring.charAt(0))] + _root.levelcode_array[Number(_root.levelstring.charAt(1))]) + _root.ex1string.charAt(3)) + _root.ex2string.charAt(0)) + _root.ex3string.charAt(2)) + _root.ex4string.charAt(1)) + _root.ex5string.charAt(0)) + _root.ex6string.charAt(3)) + _root.ex7string.charAt(1)) + _root.ex8string.charAt(2)) + _root.ex9string.charAt(3)) + _root.ex10string.charAt(2);
if (_root.passcode == "casdeturteruel") {
_global.extra10 = true;
_root.casdeturterueu._visible = true;
_root.casdeturterueu.play();
}
if (Key.isDown(13)) {
if (!_root.enterhold) {
if (((((((((((((((((((!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "sd")) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "ju"))) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "hi"))) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "vf"))) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "ze"))) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "lk"))) && (!((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) === "ca"))) | ((((((((((!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "sd")) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "ju"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "hi"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "vf"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "ze"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "lk"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "ca"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "qw"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "on"))) && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "xm")))) | ((!(_root.enterpasscode.charAt(4) === "e")) && (!(_root.enterpasscode.charAt(4) === "s")))) | ((!(_root.enterpasscode.charAt(5) === "t")) && (!(_root.enterpasscode.charAt(5) === "f")))) | ((!(_root.enterpasscode.charAt(6) === "u")) && (!(_root.enterpasscode.charAt(6) === "l")))) | ((!(_root.enterpasscode.charAt(7) === "r")) && (!(_root.enterpasscode.charAt(7) === "a")))) | ((!(_root.enterpasscode.charAt(8) === "t")) && (!(_root.enterpasscode.charAt(8) === "f")))) | ((!(_root.enterpasscode.charAt(9) === "e")) && (!(_root.enterpasscode.charAt(9) === "s")))) | ((!(_root.enterpasscode.charAt(10) === "r")) && (!(_root.enterpasscode.charAt(10) === "a")))) | ((!(_root.enterpasscode.charAt(11) === "u")) && (!(_root.enterpasscode.charAt(11) === "l")))) | ((!(_root.enterpasscode.charAt(12) === "e")) && (!(_root.enterpasscode.charAt(12) === "s")))) | ((!(_root.enterpasscode.charAt(13) === "u")) && (!(_root.enterpasscode.charAt(13) === "l")))) | (((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "ca") && (!((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) === "sd")))) {
_root.passoutputtext = "Incorrect Password";
} else {
_root.passoutputtext = "Correct Password";
}
if (_root.passoutputtext == "Correct Password") {
if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "sd") {
_global.level = 0;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "ju") {
_global.level = 10;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "hi") {
_global.level = 20;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "vf") {
_global.level = 30;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "ze") {
_global.level = 40;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "lk") {
_global.level = 50;
} else if ((_root.enterpasscode.charAt(0) + _root.enterpasscode.charAt(1)) == "ca") {
_global.level = 60;
}
if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "sd") {
_global.level = _global.level + 0;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "ju") {
_global.level = _global.level + 1;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "hi") {
_global.level = _global.level + 2;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "vf") {
_global.level = _global.level + 3;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "ze") {
_global.level = _global.level + 4;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "lk") {
_global.level = _global.level + 5;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "ca") {
_global.level = _global.level + 6;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "qw") {
_global.level = _global.level + 7;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "on") {
_global.level = _global.level + 8;
} else if ((_root.enterpasscode.charAt(2) + _root.enterpasscode.charAt(3)) == "xm") {
_global.level = _global.level + 9;
}
if (_root.enterpasscode.charAt(4) == "e") {
_global.extra1 = true;
} else {
_global.extra1 = false;
}
if (_root.enterpasscode.charAt(5) == "t") {
_global.extra2 = true;
} else {
_global.extra2 = false;
}
if (_root.enterpasscode.charAt(6) == "u") {
_global.extra3 = true;
} else {
_global.extra3 = false;
}
if (_root.enterpasscode.charAt(7) == "r") {
_global.extra4 = true;
} else {
_global.extra4 = false;
}
if (_root.enterpasscode.charAt(8) == "t") {
_global.extra5 = true;
} else {
_global.extra5 = false;
}
if (_root.enterpasscode.charAt(9) == "e") {
_global.extra6 = true;
} else {
_global.extra6 = false;
}
if (_root.enterpasscode.charAt(10) == "r") {
_global.extra7 = true;
} else {
_global.extra7 = false;
}
if (_root.enterpasscode.charAt(11) == "u") {
_global.extra8 = true;
} else {
_global.extra8 = false;
}
if (_root.enterpasscode.charAt(12) == "e") {
_global.extra9 = true;
} else {
_global.extra9 = false;
}
if (_root.enterpasscode.charAt(13) == "u") {
_global.extra10 = true;
} else {
_global.extra10 = false;
}
}
}
_root.enterhold = true;
} else {
_root.enterhold = false;
}
if (Key.isDown(27)) {
if (!_root.eschold) {
_root.gotoAndPlay(2);
}
_root.eschold = true;
} else {
_root.eschold = false;
}
if (Key.isDown(38)) {
if (!_root.uphold) {
if (!(_root.select === 1)) {
_root.select--;
} else {
_root.select = 4;
}
}
_root.uphold = true;
} else {
_root.uphold = false;
}
if (Key.isDown(40)) {
if (!_root.downhold) {
if (!(_root.select === 4)) {
_root.select++;
} else {
_root.select = 1;
}
}
_root.downhold = true;
} else {
_root.downhold = false;
}
if (_root.select == 1) {
_root.playbutton.gotoAndStop(2);
_root.instructionsbutton.gotoAndStop(1);
_root.extrasbutton.gotoAndStop(1);
_root.creditsbutton.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_root.gotoAndStop(247);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 2) {
_root.instructionsbutton.gotoAndStop(2);
_root.playbutton.gotoAndStop(1);
_root.extrasbutton.gotoAndStop(1);
_root.creditsbutton.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_root.gotoAndStop(248);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 3) {
_root.extrasbutton.gotoAndStop(2);
_root.instructionsbutton.gotoAndStop(1);
_root.playbutton.gotoAndStop(1);
_root.creditsbutton.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_root.gotoAndStop(249);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 4) {
_root.creditsbutton.gotoAndStop(2);
_root.instructionsbutton.gotoAndStop(1);
_root.extrasbutton.gotoAndStop(1);
_root.playbutton.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_root.gotoAndStop(310);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
}
Instance of Symbol 131 MovieClip "casdeturterueu" in Frame 246
onClipEvent (load) {
this._visible = false;
}
Frame 247
stop();
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopc.stop();
_global.loopm.start(0, 99);
Instance of Symbol 258 MovieClip in Frame 247
onClipEvent (load) {
_root.uphold = true;
_root.downhold = true;
_root.lefthold = true;
_root.righthold = true;
_root.spacehold = true;
_root.eschold = true;
this.gotoAndStop(_global.level);
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
if (!_root.eschold) {
_root.gotoAndStop(246);
}
_root.eschold = true;
} else {
_root.eschold = false;
}
if (Key.isDown(38)) {
if (!_root.uphold) {
this.gotoAndStop((Math.floor(this._currentframe / 10) * 10) + 10);
}
_root.uphold = true;
} else {
_root.uphold = false;
}
if (Key.isDown(40)) {
if (!_root.downhold) {
if (this._currentframe > 10) {
if (!(this._currentframe === (Math.floor(this._currentframe / 10) * 10))) {
this.gotoAndStop(Math.floor(this._currentframe / 10) * 10);
} else {
this.gotoAndStop(this._currentframe - 10);
}
} else {
this.gotoAndStop(1);
}
}
_root.downhold = true;
} else {
_root.downhold = false;
}
if (Key.isDown(37)) {
if (!_root.lefthold) {
this.gotoAndStop(this._currentframe - 1);
}
_root.lefthold = true;
} else {
_root.lefthold = false;
}
if (Key.isDown(39)) {
if (!_root.righthold) {
this.gotoAndStop(this._currentframe + 1);
}
_root.righthold = true;
} else {
_root.righthold = false;
}
if (Key.isDown(32)) {
if ((!_root.spacehold) && (_global.level >= this._currentframe)) {
_root.gotoAndStop(249 + this._currentframe);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
this.description1 = "Stage 1 : Here is where you test if you've learned properly in the tutorial level (if you haven't done it yet, I suggest you go back to the menu (Esc) and select INSTRUCTIONS).";
if (_global.level >= 2) {
this.description2 = "Stage 2 : Learn that two switches can do the same thing.";
} else {
this.description2 = "locked";
}
if (_global.level >= 3) {
this.description3 = "Stage 3 : Beware, switches don't always do what we predict them to do. Also, you might want to come back here later, *wink*.";
} else {
this.description3 = "locked";
}
if (_global.level >= 4) {
this.description4 = "Stage 4 : In which we discover how useful gray switches can be.";
} else {
this.description4 = "locked";
}
if (_global.level >= 5) {
this.description5 = "Stage 5 : Remember, you can stay on anything solid.";
} else {
this.description5 = "locked";
}
if (_global.level >= 6) {
this.description6 = "Stage 6 : Note, underground caves might give nice rewards.";
} else {
this.description6 = "locked";
}
if (_global.level >= 7) {
this.description7 = "Stage 7 : Sometimes, as deadly as it is, gaps can be crossed by jumping over. Sometimes, they can't be. Unless... *wink*";
} else {
this.description7 = "locked";
}
if (_global.level >= 8) {
this.description8 = "Stage 8 : Don't be afraid to loose your time. It might take HOURS to finish this one.";
} else {
this.description8 = "locked";
}
if (_global.level >= 9) {
this.description9 = "Stage 9 : Remember, the pause menu contains a restart button. Thrust me, you're going to need it on this one.";
} else {
this.description9 = "locked";
}
if (_global.level >= 10) {
this.description10 = "Stage 10 : Inside these caves and caverns, you may find many pits. They will be filled with different substances. In this one, it's water. Guess which monster won't die in it.";
} else {
this.description10 = "locked";
}
if (_global.level >= 11) {
this.description11 = "Stage 11 : Don't be afraid to dive into the hot RED burning lava. Also, a few boxes are blocking you from something. Later, those won't even be a challenge... *wink*";
} else {
this.description11 = "locked";
}
if (_global.level >= 12) {
this.description12 = "Stage 12 : The only resistance left to unveil is the electricity. Now, if you're even slightly brilliant, you will understand that it is the only monster with no resistance so far that can survive passed it.";
} else {
this.description12 = "locked";
}
if (_global.level >= 13) {
this.description13 = "Stage 13 : Here, we mix things up a bit.";
} else {
this.description13 = "locked";
}
if (_global.level >= 14) {
this.description14 = "Stage 14 : You might want to know that, even dead, monsters can be useful. Don't worry they're will be no hard feelings whatsoever.";
} else {
this.description14 = "locked";
}
if (_global.level >= 15) {
this.description15 = "Stage 15 : Hint - You might want to take the time to find the way to finish a level using the A Key before starting. That way, you won't waste too much time waiting.";
} else {
this.description15 = "locked";
}
if (_global.level >= 16) {
this.description16 = "Stage 16 : The A Key is also useful for gameplay. It can be quicker than moving all monsters seperatly or it may simply be a must to finish levels.";
} else {
this.description16 = "locked";
}
if (_global.level >= 17) {
this.description17 = "Stage 17 : Remember a single switch, can activate/desactivate multiple things at once.";
} else {
this.description17 = "locked";
}
if (_global.level >= 18) {
this.description18 = "Stage 18 : Think FAST !!!";
} else {
this.description18 = "locked";
}
if (_global.level >= 19) {
this.description19 = "Stage 19 : Drowning is often useful.";
} else {
this.description19 = "locked";
}
if (_global.level >= 20) {
this.description20 = "Stage 20 : Here, you will get your first special. To use a special, press the S Key.";
} else {
this.description20 = "locked";
}
if (_global.level >= 21) {
this.description21 = "Stage 21 : Once again, a pretty easy stage to ease you with your new special.";
} else {
this.description21 = "locked";
}
if (_global.level >= 22) {
this.description22 = "Stage 22 : Getting more and more complicated...";
} else {
this.description22 = "locked";
}
if (_global.level >= 23) {
this.description23 = "Stage 23 : Not only the yellow monster's special can make you jump higher, some substances can too.";
} else {
this.description23 = "locked";
}
if (_global.level >= 24) {
this.description24 = "Stage 24 : Two seperate paths, one goal.";
} else {
this.description24 = "locked";
}
if (_global.level >= 25) {
this.description25 = "Stage 25 : An answer so far for a question so near (how poetical).";
} else {
this.description25 = "locked";
}
if (_global.level >= 26) {
this.description26 = "Stage 26 : Goin' up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up, and up...";
} else {
this.description26 = "locked";
}
if (_global.level >= 27) {
this.description27 = "Stage 27 : A looooooooooooooong level solely made for the yellow monster.";
} else {
this.description27 = "locked";
}
if (_global.level >= 28) {
this.description28 = "Stage 28 : HURRY !!! We're getting BOMBED. Also, after many hours in the gym, one of the monster might be able to move that huge rock... *wink*";
} else {
this.description28 = "locked";
}
if (_global.level >= 29) {
this.description29 = "Stage 29 : WOW, a platformer game with actual platforms, how ingenious...";
} else {
this.description29 = "locked";
}
if (_global.level >= 30) {
this.description30 = "Stage 30 : YEAH !!! a second special.";
} else {
this.description30 = "locked";
}
if (_global.level >= 31) {
this.description31 = "Stage 31 : Be wise and use the A key. It will prevent foolish errors.";
} else {
this.description31 = "locked";
}
if (_global.level >= 32) {
this.description32 = "Stage 32 : CAUTION - Explosives are dangerous and can be deadly.";
} else {
this.description32 = "locked";
}
if (_global.level >= 33) {
this.description33 = "Stage 33 : Why use the monsters so near when you can use the monster so far ?";
} else {
this.description33 = "locked";
}
if (_global.level >= 34) {
this.description34 = "Stage 34 : Remember, any object can activate a switch.";
} else {
this.description34 = "locked";
}
if (_global.level >= 35) {
this.description35 = "Stage 35 : Some levels might use more than one special.";
} else {
this.description35 = "locked";
}
if (_global.level >= 36) {
this.description36 = "Stage 36 : Bomb your way to your blocked monsters so they can lend you a hand.";
} else {
this.description36 = "locked";
}
if (_global.level >= 37) {
this.description37 = "Stage 37 : Timing. It's all about timing (and not getting pissed off).";
} else {
this.description37 = "locked";
}
if (_global.level >= 38) {
this.description38 = "Stage 38 : FREEFALL !";
} else {
this.description38 = "locked";
}
if (_global.level >= 39) {
this.description39 = "Stage 39 : Fun but useless fact - You're going to need at least 6 bombs to get that diamond. Interesting isn't it ?";
} else {
this.description39 = "locked";
}
if (_global.level >= 40) {
this.description40 = "Stage 40 : The last special to unveil awaits within this level.";
} else {
this.description40 = "locked";
}
if (_global.level >= 41) {
this.description41 = "Stage 41 : Those rocks can activate switches as well as everything else.";
} else {
this.description41 = "locked";
}
if (_global.level >= 42) {
this.description42 = "Stage 42 : Use it as a platform to reach other platforms.";
} else {
this.description42 = "locked";
}
if (_global.level >= 43) {
this.description43 = "Stage 43 : There can be as much as two moveable rocks per level.";
} else {
this.description43 = "locked";
}
if (_global.level >= 44) {
this.description44 = "Stage 44 : Remember, water won't block rocks from being moved.";
} else {
this.description44 = "locked";
}
if (_global.level >= 45) {
this.description45 = "Stage 45 : You can thank this game's clumsy engine for it's unrealists physics. Only a pixel is needed to be on a platform to STAY on that platform.";
} else {
this.description45 = "locked";
}
if (_global.level >= 46) {
this.description46 = "Stage 46 : Always keep in mind that those rocks can pratically go EVERYWHERE... ... MOUAHAHAHAHA !!!";
} else {
this.description46 = "locked";
}
if (_global.level >= 47) {
this.description47 = "Stage 47 : Move that rock and you will access underground caves filled with magnificient wonders (and switches).";
} else {
this.description47 = "locked";
}
if (_global.level >= 48) {
this.description48 = "Stage 48 : A lot of switches await in this tight tunnel.";
} else {
this.description48 = "locked";
}
if (_global.level >= 49) {
this.description49 = "Stage 49 : Even in mid-air, moving rocks is easy AND A MUST.";
} else {
this.description49 = "locked";
}
if (_global.level >= 50) {
this.description50 = "Stage 50 : WOW! You made it to level 50! Only 10 more and you can forget everything about this game !!! :D";
} else {
this.description50 = "locked";
}
if (_global.level >= 51) {
this.description51 = "Stage 51 : Don't forget not to blow up your monsters even though I must admit it's quite funny. Think wisely before you use a bomb in tight spaces.";
} else {
this.description51 = "locked";
}
if (_global.level >= 52) {
this.description52 = "Stage 52 : Can't think of anything to say about this one.";
} else {
this.description52 = "locked";
}
if (_global.level >= 53) {
this.description53 = "Stage 53 : In fact, I can't even think of good level designs!";
} else {
this.description53 = "locked";
}
if (_global.level >= 54) {
this.description54 = "Stage 54 : Look! I made a toilet!";
} else {
this.description54 = "locked";
}
if (_global.level >= 55) {
this.description55 = "Stage 55 : This one's a castle!";
} else {
this.description55 = "locked";
}
if (_global.level >= 56) {
this.description56 = "Stage 56 : Five more to go!";
} else {
this.description56 = "locked";
}
if (_global.level >= 57) {
this.description57 = "Stage 57 : You'll need a wild guess for this one.";
} else {
this.description57 = "locked";
}
if (_global.level >= 58) {
this.description58 = "Stage 58 : Think before you act. Prepare your route. Quick Reminder : using the A key will allow you to see the whole stage.";
} else {
this.description58 = "locked";
}
if (_global.level >= 59) {
this.description59 = "Stage 59 : Before-last level. You know, it's kind of sad you sat in front of your computer and played your way throughout this awfully long game for absolutely no reasons excepted the fact you will be able to tell your friends (if you have any) that you completed a game they're not even aware of. Even more pathetic than you is I who made it.";
} else {
this.description59 = "locked";
}
if (_global.level >= 60) {
this.description60 = "Stage 60 : YOU CANNOT END THIS GAME !!! MOUAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA !!!!!";
} else {
this.description60 = "locked";
}
}
Frame 248
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopc.stop();
_global.loopm.start(0, 99);
Instance of Symbol 388 MovieClip in Frame 248
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 72 MovieClip in Frame 248
onClipEvent (load) {
_root.done = false;
_global.pausedd = false;
_root.special = 1000;
_root.sHold = false;
_root.totalalive = 3;
_root.spacehold = false;
_root.looking = "blue";
}
onClipEvent (enterFrame) {
if ((!_root.done) && (((((((_root.blue._x + (_root.blue.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.blue._x - (_root.blue.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.blue._y + (_root.blue.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.blue._y - (_root.blue.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2)))) | (((((_root.red._x + (_root.red.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.red._x - (_root.red.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.red._y + (_root.red.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.red._y - (_root.red.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2))))) | (((((_root.yellow._x + (_root.yellow.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.yellow._x - (_root.yellow.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.yellow._y + (_root.yellow.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.yellow._y - (_root.yellow.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2)))))) {
if (((_root._currentframe - 249) == _global.level) && ((_root._currentframe - 249) > 0)) {
_global.level++;
}
_root.diamond.gotoAndPlay(15);
_root.done = true;
}
if (_root.done && (_root.diamond._currentframe == 45)) {
_root.gotoAndStop(247);
}
if (!_global.pausedd) {
if (_root.totalalive == 0) {
_root.gotoAndStop(247);
}
if (Key.isDown(68)) {
if ((!_root.spacehold) && (_root.looking == "blue")) {
this._parent.blue.inSpecial = false;
if (_root.red.dead) {
if (_root.yellow.dead) {
} else {
_root.looking = "yellow";
}
} else {
_root.looking = "red";
}
_root.spacehold = true;
}
if ((!_root.spacehold) && (_root.looking == "red")) {
if (_root.yellow.dead) {
if (_root.blue.dead) {
} else {
_root.looking = "blue";
}
} else {
_root.looking = "yellow";
}
_root.spacehold = true;
}
if ((!_root.spacehold) && (_root.looking == "yellow")) {
this._parent.yellow.inSpecial = false;
if (_root.blue.dead) {
if (_root.red.dead) {
} else {
_root.looking = "red";
}
} else {
_root.looking = "blue";
}
_root.spacehold = true;
}
} else {
_root.spacehold = false;
}
if (Key.isDown(65)) {
if ((_root.cadremin._width / 16) <= (_root.cadremin._height / 9)) {
this._height = _root.cadremin._height;
this._width = (16 * _root.cadremin._height) / 9;
this._x = _root.cadremin._x;
this._y = _root.cadremin._y;
} else {
this._width = _root.cadremin._width;
this._height = (9 * _root.cadremin._width) / 16;
this._x = _root.cadremin._x;
this._y = _root.cadremin._y;
}
} else {
this._xscale = 100;
this._yscale = 100;
this._x = _root[_root.looking]._x;
this._y = _root[_root.looking]._y;
}
_root.scoreboard._xscale = this._xscale;
_root.scoreboard._yscale = this._yscale;
_root.scoreboard._x = this._x - (this._width / 2);
_root.scoreboard._y = this._y - (this._height / 2);
_root.pausemenu._x = this._x;
_root.pausemenu._y = this._y;
}
}
Instance of Symbol 396 MovieClip "scoreboard" in Frame 248
onClipEvent (enterFrame) {
this.level = _root._currentframe - 249;
}
Instance of Symbol 411 MovieClip "pausemenu" in Frame 248
onClipEvent (load) {
_root.uphold = false;
_root.downhold = false;
_root.spacehold = false;
_root.eschold = false;
_root.select = 1;
}
onClipEvent (enterFrame) {
if (_global.pausedd) {
this._visible = true;
if (Key.isDown(27)) {
if (!_root.eschold) {
_global.pausedd = false;
}
_root.eschold = true;
} else {
_root.eschold = false;
}
if (Key.isDown(38)) {
if (!_root.uphold) {
if (!(_root.select === 1)) {
_root.select--;
} else {
_root.select = 4;
}
}
_root.uphold = true;
} else {
_root.uphold = false;
}
if (Key.isDown(40)) {
if (!_root.downhold) {
if (!(_root.select === 4)) {
_root.select++;
} else {
_root.select = 1;
}
}
_root.downhold = true;
} else {
_root.downhold = false;
}
if (_root.select == 1) {
this.resume.gotoAndStop(2);
this.restart.gotoAndStop(1);
this.levelselection.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_global.pausedd = false;
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 2) {
this.restart.gotoAndStop(2);
this.resume.gotoAndStop(1);
this.levelselection.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_global.pausedd = false;
_root.Switch1.switched = false;
_root.Switch11.switched = false;
_root.Switch12.switched = false;
_root.Switch13.switched = false;
_root.Switch14.switched = false;
_root.Switch15.switched = false;
_root.Switch2.switched = false;
_root.Switch21.switched = false;
_root.Switch22.switched = false;
_root.Switch23.switched = false;
_root.Switch24.switched = false;
_root.Switch25.switched = false;
_root.Switch3.switched = false;
_root.Switch31.switched = false;
_root.Switch32.switched = false;
_root.Switch33.switched = false;
_root.Switch34.switched = false;
_root.Switch35.switched = false;
_root.Switch4.switched = false;
_root.Switch41.switched = false;
_root.Switch42.switched = false;
_root.Switch43.switched = false;
_root.Switch44.switched = false;
_root.Switch45.switched = false;
_root.Switch5.switched = false;
_root.Switch51.switched = false;
_root.Switch52.switched = false;
_root.Switch53.switched = false;
_root.Switch54.switched = false;
_root.Switch55.switched = false;
_root.yellow._x = _root.yellow.originalx;
_root.yellow._y = _root.yellow.originaly;
_root.yellow.boomingrange = 100;
_root.yellow.inSpecial = false;
_root.yellow.lava = false;
_root.yellow.water = false;
_root.yellow.dead = false;
_root.yellow.Dhit = false;
_root.yellow.Lhit = false;
_root.yellow.Rhit = false;
_root.yellow.Lspeed = 0;
_root.yellow.Rspeed = 0;
_root.yellow.yspeed = 0;
_root.yellow.xmaxspeed = 3;
_root.yellow.yminspeed = 10;
_root.red._x = _root.red.originalx;
_root.red._y = _root.red.originaly;
_root.red.inSpecial = false;
_root.red.electricity = false;
_root.red.water = false;
_root.red.lava = false;
_root.red.dead = false;
_root.red.Dhit = false;
_root.red.Lhit = false;
_root.red.Rhit = false;
_root.red.Lspeed = 0;
_root.red.Rspeed = 0;
_root.red.yspeed = 0;
_root.red.xmaxspeed = 3;
_root.red.yminspeed = 10;
_root.blue._x = _root.blue.originalx;
_root.blue._y = _root.blue.originaly;
_root.blue.boomingrange = 100;
_root.blue.inSpecial = false;
_root.blue.electricity = false;
_root.blue.lava = false;
_root.blue.water = false;
_root.blue.dead = false;
_root.blue.Dhit = false;
_root.blue.Lhit = false;
_root.blue.Rhit = false;
_root.blue.Lspeed = 0;
_root.blue.Rspeed = 0;
_root.blue.yspeed = 0;
_root.blue.xmaxspeed = 3;
_root.blue.yminspeed = 10;
_root.object1._x = _root.object1.originalx;
_root.object1._y = _root.object1.originaly;
_root.object2._x = _root.object2.originalx;
_root.object2._y = _root.object2.originaly;
_root.pow1.gotoAndStop(1);
_root.pow2.gotoAndStop(1);
_root.pow3.gotoAndStop(1);
_root.pow4.gotoAndStop(1);
_root.pow5.gotoAndStop(1);
_root.pow6.gotoAndStop(1);
_root.pow7.gotoAndStop(1);
_root.pow8.gotoAndStop(1);
_root.pow9.gotoAndStop(1);
_root.pow10.gotoAndStop(1);
_root.special = 1000;
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 3) {
this.levelselection.gotoAndStop(2);
this.restart.gotoAndStop(1);
this.resume.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_root.gotoAndStop(247);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
} else {
this._visible = false;
if (Key.isDown(27)) {
if (!_root.eschold) {
_global.pausedd = true;
_root.select = 1;
}
_root.eschold = true;
} else {
_root.eschold = false;
}
}
}
Frame 249
stop();
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopc.stop();
_global.loopm.start(0, 99);
Instance of Symbol 478 MovieClip in Frame 249
onClipEvent (load) {
_root.lefthold = true;
_root.righthold = true;
_root.eschold = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
if (!_root.eschold) {
_root.gotoAndPlay(245);
}
_root.eschold = true;
} else {
_root.eschold = false;
}
if (Key.isDown(37)) {
if (!_root.lefthold) {
if (!(this._currentframe === 1)) {
this.gotoAndStop(this._currentframe - 1);
} else {
this.gotoAndStop(10);
}
}
_root.lefthold = true;
} else {
_root.lefthold = false;
}
if (Key.isDown(39)) {
if (!_root.righthold) {
if (!(this._currentframe === 10)) {
this.gotoAndStop(this._currentframe + 1);
} else {
this.gotoAndStop(1);
}
}
_root.righthold = true;
} else {
_root.righthold = false;
}
if (_global.extra1) {
this.locked1._visible = false;
this.description1 = "ORIGINAL ENGINE : The engine the game is based on was made a few days before I created the project. I had already made an engine for a future puzzle/platformer I had planned to make alone. It was a game where you controled this character armed with a bow and arrows, a whip and a long sword who traveled through the jungle to find crystals (the same that are in this game).";
} else {
this.locked1._visible = true;
this.description1 = "locked";
}
if (_global.extra2) {
this.locked2._visible = false;
this.description2 = "NEWGROUNDS.COM : If you're playing this game other than on newgrounds.com, than the game you're playing is stolen. It is the largest flash artists community on the web and it is awesome. Check it out.";
} else {
this.locked2._visible = true;
this.description2 = "locked";
}
if (_global.extra3) {
this.locked3._visible = false;
this.description3 = "QUEBEC : This game was proudly made in Quebec (Canada). Hell yeah, you got it, I'm french bastards. Mouahahaha, vous pouvez tous allez mourir en enfer. No seriously, we're proud to say that this game was made in Joliette (shown on the map as a red star on this trophy), a relatively small town in Quebec (Canada).";
} else {
this.locked3._visible = true;
this.description3 = "locked";
}
if (_global.extra4) {
this.locked4._visible = false;
this.description4 = "PO3 (POWER OF THREE) : This game was originally intended for Newgrounds.com's Power of Three. In the end, we never really entered the contests since we were doubting really strongly we had any chance. Anyways, I thought it was about time I finished something good and I strongly believed it was good so I kept on working on it. Hopefully it is good.";
} else {
this.locked4._visible = true;
this.description4 = "locked";
}
if (_global.extra5) {
this.locked5._visible = false;
this.description5 = "STUDIES : 'Studies' is a game I made while I took a break from this game. It's an overhead survival horror game where you fight books, pencils and failed exams in order to regain a social life. It actually was for a school project where you had to create something, whatever you wanted. I made a game, that game ('Studies') which basically impressed everyone and I ended up having one of the best grades in my class. Being a bilangual game (french and english) it may end up here on NG and sooner than you might think!";
} else {
this.locked5._visible = true;
this.description5 = "locked";
}
if (_global.extra6) {
this.locked6._visible = false;
this.description6 = "REJECTED ICON : The current game's icon is the title/logo of the game, the one you see on the pre-loader, the intro, the menu, etc., while this icon was the original one. I had made this icon before I had made the title/logo and once it was made, I decided to scrap the original icon for the logo as it came out more professional (even though the game itself is far from being or even looking professional xD).";
} else {
this.locked6._visible = true;
this.description6 = "locked";
}
if (_global.extra7) {
this.locked7._visible = false;
this.description7 = "YELLOW MONSTER'S SPECIAL : This is the yellow monster's special. When in special (S Key), he can move WAY quicker and jump WAY higher.";
} else {
this.locked7._visible = true;
this.description7 = "locked";
}
if (_global.extra8) {
this.locked8._visible = false;
this.description8 = "RED MONSTER'S SPECIAL : This is the red monster's special. When the special key (S Key) is pressed, he drops a bomb that can destroy blocks and be used on switches. BEWARE, it can also kill your two other monsters.";
} else {
this.locked8._visible = true;
this.description8 = "locked";
}
if (_global.extra9) {
this.locked9._visible = false;
this.description9 = "BLUE MONSTER'S SPECIAL : This is the blue monster's special. When in special (S Key), he can move certain rocks that the monsters can stand on and that can be used on switches.";
} else {
this.locked9._visible = true;
this.description9 = "locked";
}
if (_global.extra10) {
this.locked10._visible = false;
this.description10 = "CASDETURTERUEU : When the final engine was completed, I tried to implement a save/load feature. For some reason I can't quite figure out, it never worked. I tried every possible way, but in the end, it really would not want to work. So I created for the purpose an intelligent password system which creates a password based on how far you are and on what you discovered at the moment. Casdeturterueu is the final password which unlocks everything. If you ever have an enormus amount of time to waste, you can try to figure out how the passwords are created by checking it regularly on the main menu, but really, it's WAY not worth the waste.";
} else {
this.locked10._visible = true;
this.description10 = "locked";
}
}
Instance of Symbol 480 MovieClip "bkg" in Frame 250
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 480 MovieClip "bkg" in Frame 250
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Instance of Symbol 388 MovieClip in Frame 250
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 72 MovieClip in Frame 250
onClipEvent (load) {
_root.done = false;
_global.pausedd = false;
_root.special = 1000;
_root.sHold = false;
_root.totalalive = 3;
_root.spacehold = false;
_root.mhold = false;
_root.looking = "blue";
if (_global.listening == "loop1") {
_global.loopc.stop();
_global.loopm.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loop1.start(0, 99);
}
if (_global.listening == "loop2") {
_global.loopc.stop();
_global.loopm.stop();
_global.loop1.stop();
_global.loop3.stop();
_global.loop2.start(0, 99);
}
if (_global.listening == "loop3") {
_global.loopc.stop();
_global.loopm.stop();
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.start(0, 99);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(77)) {
if (!_root.mhold) {
if (_global.listening == "loop1") {
_global.listening = "loop2";
_global.loopm.stop();
_global.loop1.stop();
_global.loop3.stop();
_global.loop2.start(0, 99);
} else if (_global.listening == "loop2") {
_global.listening = "loop3";
_global.loopm.stop();
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.start(0, 99);
} else if (_global.listening == "loop3") {
_global.listening = "loop1";
_global.loopm.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loop1.start(0, 99);
}
}
_root.mhold = true;
} else {
_root.mhold = false;
}
if ((!_root.done) && (((((((_root.blue._x + (_root.blue.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.blue._x - (_root.blue.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.blue._y + (_root.blue.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.blue._y - (_root.blue.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2)))) | (((((_root.red._x + (_root.red.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.red._x - (_root.red.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.red._y + (_root.red.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.red._y - (_root.red.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2))))) | (((((_root.yellow._x + (_root.yellow.tile._width / 2)) > (_root.diamond._x - (_root.diamond.tile._width / 2))) && ((_root.yellow._x - (_root.yellow.tile._width / 2)) < (_root.diamond._x + (_root.diamond.tile._width / 2)))) && ((_root.yellow._y + (_root.yellow.tile._height / 2)) > (_root.diamond._y - (_root.diamond.tile._height / 2)))) && ((_root.yellow._y - (_root.yellow.tile._height / 2)) < (_root.diamond._y + (_root.diamond.tile._height / 2)))))) {
if (((_root._currentframe - 249) == _global.level) && ((_root._currentframe - 249) > 0)) {
_global.level++;
}
_root.diamond.gotoAndPlay(15);
_root.done = true;
}
if (_root.done && (_root.diamond._currentframe == 45)) {
_root.gotoAndStop(247);
}
if (!_global.pausedd) {
if (_root.totalalive == 0) {
_root.gotoAndStop(247);
}
if (Key.isDown(68)) {
if ((!_root.spacehold) && (_root.looking == "blue")) {
this._parent.blue.inSpecial = false;
if (_root.red.dead) {
if (_root.yellow.dead) {
} else {
_root.looking = "yellow";
}
} else {
_root.looking = "red";
}
_root.spacehold = true;
}
if ((!_root.spacehold) && (_root.looking == "red")) {
if (_root.yellow.dead) {
if (_root.blue.dead) {
} else {
_root.looking = "blue";
}
} else {
_root.looking = "yellow";
}
_root.spacehold = true;
}
if ((!_root.spacehold) && (_root.looking == "yellow")) {
this._parent.yellow.inSpecial = false;
if (_root.blue.dead) {
if (_root.red.dead) {
} else {
_root.looking = "red";
}
} else {
_root.looking = "blue";
}
_root.spacehold = true;
}
} else {
_root.spacehold = false;
}
if (Key.isDown(65)) {
if ((_root.cadremin._width / 16) <= (_root.cadremin._height / 9)) {
this._height = _root.cadremin._height;
this._width = (16 * _root.cadremin._height) / 9;
this._x = _root.cadremin._x;
this._y = _root.cadremin._y;
} else {
this._width = _root.cadremin._width;
this._height = (9 * _root.cadremin._width) / 16;
this._x = _root.cadremin._x;
this._y = _root.cadremin._y;
}
} else {
this._xscale = 100;
this._yscale = 100;
this._x = _root[_root.looking]._x;
this._y = _root[_root.looking]._y;
}
_root.scoreboard._xscale = this._xscale;
_root.scoreboard._yscale = this._yscale;
_root.scoreboard._x = this._x - (this._width / 2);
_root.scoreboard._y = this._y - (this._height / 2);
_root.pausemenu._x = this._x;
_root.pausemenu._y = this._y;
}
}
Instance of Symbol 396 MovieClip "scoreboard" in Frame 250
onClipEvent (enterFrame) {
this.level = _root._currentframe - 249;
}
Instance of Symbol 411 MovieClip "pausemenu" in Frame 250
onClipEvent (load) {
_root.uphold = false;
_root.downhold = false;
_root.spacehold = false;
_root.eschold = false;
_root.select = 1;
}
onClipEvent (enterFrame) {
if (_global.pausedd) {
this._visible = true;
if (Key.isDown(27)) {
if (!_root.eschold) {
_global.pausedd = false;
}
_root.eschold = true;
} else {
_root.eschold = false;
}
if (Key.isDown(38)) {
if (!_root.uphold) {
if (!(_root.select === 1)) {
_root.select--;
} else {
_root.select = 4;
}
}
_root.uphold = true;
} else {
_root.uphold = false;
}
if (Key.isDown(40)) {
if (!_root.downhold) {
if (!(_root.select === 4)) {
_root.select++;
} else {
_root.select = 1;
}
}
_root.downhold = true;
} else {
_root.downhold = false;
}
if (_root.select == 1) {
this.resume.gotoAndStop(2);
this.restart.gotoAndStop(1);
this.levelselection.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_global.pausedd = false;
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 2) {
this.restart.gotoAndStop(2);
this.resume.gotoAndStop(1);
this.levelselection.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_global.pausedd = false;
_root.Switch1.switched = false;
_root.Switch11.switched = false;
_root.Switch12.switched = false;
_root.Switch13.switched = false;
_root.Switch14.switched = false;
_root.Switch15.switched = false;
_root.Switch2.switched = false;
_root.Switch21.switched = false;
_root.Switch22.switched = false;
_root.Switch23.switched = false;
_root.Switch24.switched = false;
_root.Switch25.switched = false;
_root.Switch3.switched = false;
_root.Switch31.switched = false;
_root.Switch32.switched = false;
_root.Switch33.switched = false;
_root.Switch34.switched = false;
_root.Switch35.switched = false;
_root.Switch4.switched = false;
_root.Switch41.switched = false;
_root.Switch42.switched = false;
_root.Switch43.switched = false;
_root.Switch44.switched = false;
_root.Switch45.switched = false;
_root.Switch5.switched = false;
_root.Switch51.switched = false;
_root.Switch52.switched = false;
_root.Switch53.switched = false;
_root.Switch54.switched = false;
_root.Switch55.switched = false;
_root.Switch6.switched = false;
_root.Switch61.switched = false;
_root.Switch62.switched = false;
_root.Switch63.switched = false;
_root.Switch64.switched = false;
_root.Switch65.switched = false;
_root.Switch7.switched = false;
_root.Switch71.switched = false;
_root.Switch72.switched = false;
_root.Switch73.switched = false;
_root.Switch74.switched = false;
_root.Switch75.switched = false;
_root.Switch8.switched = false;
_root.Switch81.switched = false;
_root.Switch82.switched = false;
_root.Switch83.switched = false;
_root.Switch84.switched = false;
_root.Switch85.switched = false;
_root.Switch9.switched = false;
_root.Switch91.switched = false;
_root.Switch92.switched = false;
_root.Switch93.switched = false;
_root.Switch94.switched = false;
_root.Switch95.switched = false;
_root.yellow._x = _root.yellow.originalx;
_root.yellow._y = _root.yellow.originaly;
_root.yellow.boomingrange = 100;
_root.yellow.inSpecial = false;
_root.yellow.lava = false;
_root.yellow.water = false;
_root.yellow.dead = false;
_root.yellow.Dhit = false;
_root.yellow.Lhit = false;
_root.yellow.Rhit = false;
_root.yellow.Lspeed = 0;
_root.yellow.Rspeed = 0;
_root.yellow.yspeed = 0;
_root.yellow.xmaxspeed = 3;
_root.yellow.yminspeed = 10;
_root.yellow._visible = true;
_root.red._x = _root.red.originalx;
_root.red._y = _root.red.originaly;
_root.red.inSpecial = false;
_root.red.electricity = false;
_root.red.water = false;
_root.red.lava = false;
_root.red.dead = false;
_root.red.Dhit = false;
_root.red.Lhit = false;
_root.red.Rhit = false;
_root.red.Lspeed = 0;
_root.red.Rspeed = 0;
_root.red.yspeed = 0;
_root.red.xmaxspeed = 3;
_root.red.yminspeed = 10;
_root.red._visible = true;
_root.blue._x = _root.blue.originalx;
_root.blue._y = _root.blue.originaly;
_root.blue.boomingrange = 100;
_root.blue.inSpecial = false;
_root.blue.electricity = false;
_root.blue.lava = false;
_root.blue.water = false;
_root.blue.dead = false;
_root.blue.Dhit = false;
_root.blue.Lhit = false;
_root.blue.Rhit = false;
_root.blue.Lspeed = 0;
_root.blue.Rspeed = 0;
_root.blue.yspeed = 0;
_root.blue.xmaxspeed = 3;
_root.blue.yminspeed = 10;
_root.blue._visible = true;
_root.object1._x = _root.object1.originalx;
_root.object1._y = _root.object1.originaly;
_root.object2._x = _root.object2.originalx;
_root.object2._y = _root.object2.originaly;
_root.pow1.gotoAndStop(1);
_root.pow2.gotoAndStop(1);
_root.pow3.gotoAndStop(1);
_root.pow4.gotoAndStop(1);
_root.pow5.gotoAndStop(1);
_root.pow6.gotoAndStop(1);
_root.pow7.gotoAndStop(1);
_root.pow8.gotoAndStop(1);
_root.pow9.gotoAndStop(1);
_root.pow10.gotoAndStop(1);
_root.special = 1000;
_root.looking = "blue";
_root.totalalive = 3;
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
if (_root.select == 3) {
this.levelselection.gotoAndStop(2);
this.restart.gotoAndStop(1);
this.resume.gotoAndStop(1);
if (Key.isDown(32)) {
if (!_root.spacehold) {
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopm.start(0, 99);
_root.gotoAndStop(247);
}
_root.spacehold = true;
} else {
_root.spacehold = false;
}
}
} else {
this._visible = false;
if (Key.isDown(27)) {
if (!_root.eschold) {
_global.pausedd = true;
_root.select = 1;
}
_root.eschold = true;
} else {
_root.eschold = false;
}
}
}
Instance of Symbol 425 MovieClip in Frame 252
onClipEvent (load) {
if (_global.extra1) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra1 = true;
}
}
Instance of Symbol 433 MovieClip in Frame 256
onClipEvent (load) {
if (_global.extra2) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra2 = true;
}
}
Instance of Symbol 371 MovieClip "Switch1" in Frame 260
onClipEvent (enterFrame) {
if (this.switched) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 371 MovieClip "Switch2" in Frame 260
onClipEvent (enterFrame) {
if (this.switched) {
this._visible = false;
} else {
this._visible = true;
}
}
Instance of Symbol 438 MovieClip in Frame 260
onClipEvent (load) {
if (_global.extra3) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra3 = true;
}
}
Instance of Symbol 457 MovieClip in Frame 269
onClipEvent (load) {
if (_global.extra7) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra7 = true;
}
}
Instance of Symbol 441 MovieClip in Frame 272
onClipEvent (load) {
if (_global.extra4) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra4 = true;
}
}
Instance of Symbol 448 MovieClip in Frame 277
onClipEvent (load) {
if (_global.extra5) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra5 = true;
}
}
Instance of Symbol 465 MovieClip in Frame 279
onClipEvent (load) {
if (_global.extra8) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra8 = true;
}
}
Instance of Symbol 453 MovieClip in Frame 287
onClipEvent (load) {
if (_global.extra6) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra6 = true;
}
}
Instance of Symbol 473 MovieClip in Frame 289
onClipEvent (load) {
if (_global.extra9) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if ((_root.blue.hitTest(this) | _root.red.hitTest(this)) | _root.yellow.hitTest(this)) {
this.play();
_global.extra9 = true;
}
}
Instance of Symbol 519 MovieClip in Frame 310
onClipEvent (load) {
_global.loop1.stop();
_global.loop2.stop();
_global.loop3.stop();
_global.loopm.stop();
_global.loopc.start(0, 0);
}
onClipEvent (enterFrame) {
if (this._currentframe == 690) {
_global.loopc.stop();
_root.gotoAndPlay(245);
}
}
Instance of Symbol 7 MovieClip "tile" in Symbol 51 MovieClip [bomb] Frame 1
onClipEvent (load) {
this._parent.boom = false;
this._parent.Dhit = true;
this._parent.yspeed = 0;
this._parent.xmaxspeed = 3;
this._parent.yminspeed = 10;
}
onClipEvent (enterFrame) {
this._parent._y = this._parent._y + this._parent.yspeed;
if (!this._parent.Dhit) {
if (this._parent.yspeed < this._parent.yminspeed) {
this._parent.yspeed++;
}
} else {
this._parent.yspeed = 0;
}
this._parent.Dhit = false;
}
Symbol 51 MovieClip [bomb] Frame 31
_root.bomb.boom = true;
Symbol 51 MovieClip [bomb] Frame 35
_root.red.inSpecial = false;
removeMovieClip(_root.bomb);
Symbol 63 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 69 Button
on (release) {
_root.play();
}
Symbol 70 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 70 MovieClip Frame 2
gotoAndPlay (1);
Symbol 72 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net";
var reanimator = (new flash.geom.Transform(this));
var camera = (new flash.geom.Transform(this._parent));
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var _local2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
_local2.invert();
_local2.translate(w * 0.5, h * 0.5);
camera.matrix = _local2;
};
Symbol 79 Button
on (release) {
gotoAndPlay (245);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 30
stop();
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 7 MovieClip "tile" in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this._parent.originalx = this._parent._x;
this._parent.originaly = this._parent._y;
this._parent.boomingrange = 100;
this._parent.inSpecial = false;
this._parent.lava = false;
this._parent.water = false;
this._parent.dead = false;
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
this._parent.yspeed = 0;
this._parent.xmaxspeed = 3;
this._parent.yminspeed = 10;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (((Math.sqrt(((this._parent._parent.bomb._x - this._parent._x) * (this._parent._parent.bomb._x - this._parent._x)) + ((this._parent._parent.bomb._y - this._parent._y) * (this._parent._parent.bomb._y - this._parent._y))) < this._parent.boomingrange) && (this._parent._parent.bomb.boom)) && (!this._parent.dead)) {
this._parent.gotoAndStop(6);
if (this._parent._parent.blue.dead) {
if (this._parent._parent.red.dead) {
} else {
this._parent._parent.looking = "red";
}
} else {
this._parent._parent.looking = "blue";
}
this._parent._parent.totalalive--;
this._parent.dead = true;
this._parent.inSpecial = false;
}
if (this._parent.inSpecial) {
this._parent._parent.special--;
this._parent.xmaxspeed = 5;
} else {
this._parent.xmaxspeed = 3;
}
if (this._parent._parent.special <= 0) {
this._parent.inSpecial = false;
}
if (this._parent.water) {
this._parent.gotoAndStop(4);
if (!this._parent.dead) {
this._parent._parent.totalalive--;
if (this._parent._parent.blue.dead) {
if (this._parent._parent.red.dead) {
} else {
this._parent._parent.looking = "red";
}
} else {
this._parent._parent.looking = "blue";
}
}
this._parent.dead = true;
this._parent.inSpecial = false;
}
if (this._parent.lava) {
this._parent.gotoAndStop(5);
if (!this._parent.dead) {
this._parent._parent.totalalive--;
if (this._parent._parent.blue.dead) {
if (this._parent._parent.red.dead) {
} else {
this._parent._parent.looking = "red";
}
} else {
this._parent._parent.looking = "blue";
}
}
this._parent.dead = true;
this._parent.inSpecial = false;
}
this._parent._x = (this._parent._x + this._parent.Rspeed) - this._parent.Lspeed;
this._parent._y = this._parent._y + this._parent.yspeed;
if ((this._parent._x - (this._parent.tile._width / 2)) <= (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2))) {
this._parent.Lhit = true;
this._parent._x = (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2)) + (this._parent.tile._width / 2);
}
if ((this._parent._x + (this._parent.tile._width / 2)) >= (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2))) {
this._parent.Rhit = true;
this._parent._x = (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2)) - (this._parent.tile._width / 2);
}
if (!this._parent.Dhit) {
if ((!this._parent.dead) | this._parent.water) {
this._parent.gotoAndStop(3);
if (this._parent.yspeed < this._parent.yminspeed) {
this._parent.yspeed++;
}
}
} else {
this._parent.yspeed = 0;
}
if ((!this._parent.dead) & ((this._parent._parent.looking == this._parent._name) | Key.isDown(65))) {
if (Key.isDown(83) && (this._parent._parent.special > 0)) {
if (!this._parent._parent.sHold) {
if ((!this._parent.inSpecial) && (_global.extra7)) {
this._parent.inSpecial = true;
} else {
this._parent.inSpecial = false;
}
}
this._parent._parent.sHold = true;
} else {
this._parent._parent.sHold = false;
}
if (this._parent.Dhit && (Key.isDown(32))) {
if (this._parent.inSpecial) {
this._parent.yspeed = this._parent.yspeed - ((6 * this._parent.yminspeed) / 5);
} else {
this._parent.yspeed = this._parent.yspeed - ((4 * this._parent.yminspeed) / 5);
}
}
if (Key.isDown(37) && (!this._parent.Lhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = -100;
if (this._parent.Lspeed < this._parent.xmaxspeed) {
this._parent.Lspeed++;
}
} else {
this._parent.Lspeed = 0;
}
if (Key.isDown(39) && (!this._parent.Rhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = 100;
if (this._parent.Rspeed < this._parent.xmaxspeed) {
this._parent.Rspeed++;
}
} else {
this._parent.Rspeed = 0;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) | this._parent.Rhit) | this._parent.Lhit) && (this._parent.Dhit)) {
this._parent.gotoAndStop(1);
}
if ((this._parent._y - (this._parent._height / 2)) > (this._parent._parent.cadremin._y + (this._parent._parent.cadremin._height / 2))) {
if (!this._parent.dead) {
if (this._parent._parent.blue.dead) {
if (this._parent._parent.red.dead) {
} else {
this._parent._parent.looking = "red";
}
} else {
this._parent._parent.looking = "blue";
}
this._parent._parent.totalalive--;
}
this._parent.dead = true;
this._parent.inSpecial = false;
this._parent._visible = false;
}
} else {
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
if (!this._parent.dead) {
this._parent.gotoAndStop(1);
}
}
if ((this._parent._y - (this._parent._height / 2)) > (this._parent._parent.cadremin._y + (this._parent._parent.cadremin._height / 2))) {
this._parent.dead = true;
this._parent.inSpecial = false;
}
if ((!this._parent.dead) & (!this._parent.Dhit)) {
this._parent.gotoAndStop(3);
}
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
}
}
Instance of Symbol 13 MovieClip "high" in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((this._parent._parent.looking == this._parent._name) | Key.isDown(65)) && (this._parent.inSpecial)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 99 MovieClip "high" in Symbol 291 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((this._parent._parent.looking == this._parent._name) | Key.isDown(65)) && (!this._parent.inSpecial)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 7 MovieClip "tile" in Symbol 322 MovieClip Frame 1
onClipEvent (load) {
this._parent.originalx = this._parent._x;
this._parent.originaly = this._parent._y;
this._parent.inSpecial = false;
this._parent.electricity = false;
this._parent.water = false;
this._parent.lava = false;
this._parent.dead = false;
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
this._parent.yspeed = 0;
this._parent.xmaxspeed = 3;
this._parent.yminspeed = 10;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (this._parent.electricity) {
this._parent.yspeed = 0;
this._parent.gotoAndStop(5);
if (!this._parent.dead) {
if (this._parent._parent.yellow.dead) {
if (this._parent._parent.blue.dead) {
} else {
this._parent._parent.looking = "blue";
}
} else {
this._parent._parent.looking = "yellow";
}
this._parent._parent.totalalive--;
}
this._parent.dead = true;
}
if (this._parent.water) {
this._parent.gotoAndStop(4);
if (!this._parent.dead) {
if (this._parent._parent.yellow.dead) {
if (this._parent._parent.blue.dead) {
} else {
this._parent._parent.looking = "blue";
}
} else {
this._parent._parent.looking = "yellow";
}
this._parent._parent.totalalive--;
}
this._parent.dead = true;
}
this._parent._x = (this._parent._x + this._parent.Rspeed) - this._parent.Lspeed;
this._parent._y = this._parent._y + this._parent.yspeed;
if ((this._parent._x - (this._parent.tile._width / 2)) <= (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2))) {
this._parent.Lhit = true;
this._parent._x = (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2)) + (this._parent.tile._width / 2);
}
if ((this._parent._x + (this._parent.tile._width / 2)) >= (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2))) {
this._parent.Rhit = true;
this._parent._x = (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2)) - (this._parent.tile._width / 2);
}
if (!this._parent.Dhit) {
if ((!this._parent.dead) | this._parent.water) {
this._parent.gotoAndStop(3);
if (this._parent.yspeed < this._parent.yminspeed) {
this._parent.yspeed++;
}
}
} else {
this._parent.yspeed = 0;
}
if (this._parent.lava) {
this._parent.yspeed = this._parent.yspeed - 0.25;
}
if ((!this._parent.dead) & ((this._parent._parent.looking == this._parent._name) | Key.isDown(65))) {
if ((Key.isDown(83) && (this._parent._parent.special >= 20)) && (!this._parent.inSpecial)) {
if ((!this._parent._parent.sHold) && (_global.extra8)) {
this._parent._parent.special = this._parent._parent.special - 20;
this._parent._parent.attachMovie("bomb", "bomb", this._parent._parent.getNextHighestDepth(), {_x:this._parent._x, _y:this._parent._y});
this._parent.inSpecial = true;
}
this._parent._parent.sHold = true;
} else {
this._parent._parent.sHold = false;
}
if (this._parent.Dhit && (Key.isDown(32))) {
this._parent.yspeed = this._parent.yspeed - ((4 * this._parent.yminspeed) / 5);
}
if (Key.isDown(37) && (!this._parent.Lhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = -100;
if (this._parent.Lspeed < this._parent.xmaxspeed) {
this._parent.Lspeed++;
}
} else {
this._parent.Lspeed = 0;
}
if (Key.isDown(39) && (!this._parent.Rhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = 100;
if (this._parent.Rspeed < this._parent.xmaxspeed) {
this._parent.Rspeed++;
}
} else {
this._parent.Rspeed = 0;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) | this._parent.Rhit) | this._parent.Lhit) && (this._parent.Dhit)) {
this._parent.gotoAndStop(1);
}
if ((this._parent._y - (this._parent._height / 2)) > (this._parent._parent.cadremin._y + (this._parent._parent.cadremin._height / 2))) {
if (!this._parent.dead) {
this._parent._parent.totalalive--;
if (this._parent._parent.yellow.dead) {
if (this._parent._parent.blue.dead) {
} else {
this._parent._parent.looking = "blue";
}
} else {
this._parent._parent.looking = "yellow";
}
}
this._parent.dead = true;
this._parent._visible = false;
}
} else {
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
if (!this._parent.dead) {
this._parent.gotoAndStop(1);
}
}
if ((this._parent._y - (this._parent._height / 2)) > (this._parent._parent.cadremin._y + (this._parent._parent.cadremin._height / 2))) {
this._parent.dead = true;
}
if ((!this._parent.dead) & (!this._parent.Dhit)) {
this._parent.gotoAndStop(3);
}
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.lava = false;
}
}
Instance of Symbol 99 MovieClip "high" in Symbol 322 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((this._parent._parent.looking == this._parent._name) | Key.isDown(65)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 324 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 328 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent["Switch" + this._parent._name].switched | this._parent._parent[("Switch" + this._parent._name) + "1"].switched) | this._parent._parent[("Switch" + this._parent._name) + "2"].switched) | this._parent._parent[("Switch" + this._parent._name) + "3"].switched) | this._parent._parent[("Switch" + this._parent._name) + "4"].switched) | this._parent._parent[("Switch" + this._parent._name) + "5"].switched) {
this._parent.gotoAndStop(2);
} else {
this._parent.gotoAndStop(1);
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
}
Instance of Symbol 328 MovieClip in Symbol 330 MovieClip Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (((((this._parent._parent["Switch" + this._parent._name].switched | this._parent._parent[("Switch" + this._parent._name) + "1"].switched) | this._parent._parent[("Switch" + this._parent._name) + "2"].switched) | this._parent._parent[("Switch" + this._parent._name) + "3"].switched) | this._parent._parent[("Switch" + this._parent._name) + "4"].switched) | this._parent._parent[("Switch" + this._parent._name) + "5"].switched) {
this._parent.gotoAndStop(2);
} else {
this._parent.gotoAndStop(1);
}
}
Instance of Symbol 7 MovieClip "tile" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
this._parent.originalx = this._parent._x;
this._parent.originaly = this._parent._y;
this._parent.boomingrange = 100;
this._parent.inSpecial = false;
this._parent.electricity = false;
this._parent.lava = false;
this._parent.water = false;
this._parent.dead = false;
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
this._parent.yspeed = 0;
this._parent.xmaxspeed = 3;
this._parent.yminspeed = 10;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (((Math.sqrt(((this._parent._parent.bomb._x - this._parent._x) * (this._parent._parent.bomb._x - this._parent._x)) + ((this._parent._parent.bomb._y - this._parent._y) * (this._parent._parent.bomb._y - this._parent._y))) < this._parent.boomingrange) && (this._parent._parent.bomb.boom)) && (!this._parent.dead)) {
this._parent.gotoAndStop(6);
this._parent._parent.totalalive--;
if (this._parent._parent.red.dead) {
if (this._parent._parent.yellow.dead) {
} else {
this._parent._parent.looking = "yellow";
}
} else {
this._parent._parent.looking = "red";
}
this._parent.dead = true;
this._parent.inSpecial = false;
}
if (this._parent.inSpecial) {
this._parent._parent.special--;
}
if (this._parent._parent.special <= 0) {
this._parent.inSpecial = false;
}
if (this._parent.electricity) {
this._parent.gotoAndStop(4);
if (!this._parent.dead) {
this._parent._parent.totalalive--;
if (this._parent._parent.red.dead) {
if (this._parent._parent.yellow.dead) {
} else {
this._parent._parent.looking = "yellow";
}
} else {
this._parent._parent.looking = "red";
}
}
this._parent.dead = true;
this._parent.inSpecial = false;
}
if (this._parent.lava) {
this._parent.gotoAndStop(4);
if (!this._parent.dead) {
this._parent._parent.totalalive--;
if (this._parent._parent.red.dead) {
if (this._parent._parent.yellow.dead) {
} else {
this._parent._parent.looking = "yellow";
}
} else {
this._parent._parent.looking = "red";
}
}
this._parent.dead = true;
this._parent.inSpecial = false;
}
this._parent._x = (this._parent._x + this._parent.Rspeed) - this._parent.Lspeed;
this._parent._y = this._parent._y + this._parent.yspeed;
if ((this._parent._x - (this._parent.tile._width / 2)) <= (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2))) {
this._parent.Lhit = true;
this._parent._x = (this._parent._parent.cadremin._x - (this._parent._parent.cadremin._width / 2)) + (this._parent.tile._width / 2);
}
if ((this._parent._x + (this._parent.tile._width / 2)) >= (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2))) {
this._parent.Rhit = true;
this._parent._x = (this._parent._parent.cadremin._x + (this._parent._parent.cadremin._width / 2)) - (this._parent.tile._width / 2);
}
if ((!this._parent.dead) & (!this._parent.Dhit)) {
this._parent.gotoAndStop(3);
if (this._parent.yspeed < this._parent.yminspeed) {
this._parent.yspeed++;
}
} else {
this._parent.yspeed = 0;
}
if (this._parent.water) {
this._parent.yspeed = this._parent.yspeed - 0.5;
}
if ((!this._parent.dead) & ((this._parent._parent.looking == this._parent._name) | Key.isDown(65))) {
if (Key.isDown(83) && (this._parent._parent.special > 0)) {
if (!this._parent._parent.sHold) {
if ((!this._parent.inSpecial) && (_global.extra9)) {
this._parent.inSpecial = true;
} else {
this._parent.inSpecial = false;
}
}
this._parent._parent.sHold = true;
} else {
this._parent._parent.sHold = false;
}
if (this._parent.Dhit && (Key.isDown(32))) {
this._parent.yspeed = this._parent.yspeed - ((4 * this._parent.yminspeed) / 5);
}
if (Key.isDown(37) && (!this._parent.Lhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = -100;
if (this._parent.Lspeed < this._parent.xmaxspeed) {
this._parent.Lspeed++;
}
} else {
this._parent.Lspeed = 0;
}
if (Key.isDown(39) && (!this._parent.Rhit)) {
this._parent.gotoAndStop(2);
this._parent._xscale = 100;
if (this._parent.Rspeed < this._parent.xmaxspeed) {
this._parent.Rspeed++;
}
} else {
this._parent.Rspeed = 0;
}
if (((((!Key.isDown(37)) && (!Key.isDown(39))) | this._parent.Rhit) | this._parent.Lhit) && (this._parent.Dhit)) {
this._parent.gotoAndStop(1);
}
if ((this._parent._y - (this._parent._height / 2)) > (this._parent._parent.cadremin._y + (this._parent._parent.cadremin._height / 2))) {
if (!this._parent.dead) {
this._parent._parent.totalalive--;
}
this._parent.dead = true;
this._parent.inSpecial = false;
this._parent._visible = false;
if (this._parent._parent.red.dead) {
if (this._parent._parent.yellow.dead) {
} else {
this._parent._parent.looking = "yellow";
}
} else {
this._parent._parent.looking = "red";
}
}
} else {
this._parent.Lspeed = 0;
this._parent.Rspeed = 0;
if (!this._parent.dead) {
this._parent.gotoAndStop(1);
}
}
if ((!this._parent.dead) & (!this._parent.Dhit)) {
this._parent.gotoAndStop(3);
}
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.water = false;
}
}
Instance of Symbol 13 MovieClip "high" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((this._parent._parent.looking == this._parent._name) | Key.isDown(65)) && (this._parent.inSpecial)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 99 MovieClip "high" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((this._parent._parent.looking == this._parent._name) | Key.isDown(65)) && (!this._parent.inSpecial)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 362 MovieClip in Symbol 364 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Instance of Symbol 366 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Symbol 371 MovieClip Frame 1
stop();
Instance of Symbol 7 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.switched = false;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (this._parent.switched) {
this._parent.gotoAndStop(2);
} else {
this._parent.gotoAndStop(1);
}
if ((!this._parent.switched) && ((((((((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) < (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) | (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) < (this._parent._y + (this._parent._parent.red.yminspeed / 3))))) | (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) < (this._parent._y + (this._parent._parent.yellow.yminspeed / 3))))) | (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) < (this._parent._y + (this._parent._parent.bomb.yminspeed / 3))))) | (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) < (this._parent._y + (this._parent._parent.object1.yminspeed / 3))))) | (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) < (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))))) {
this._parent.switched = true;
}
}
}
Symbol 371 MovieClip Frame 2
stop();
Symbol 374 MovieClip Frame 1
stop();
Instance of Symbol 7 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.switched = false;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (this._parent.switched) {
this._parent.gotoAndStop(2);
} else {
this._parent.gotoAndStop(1);
}
if ((((((((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) < (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) | (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) < (this._parent._y + (this._parent._parent.red.yminspeed / 3))))) | (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) < (this._parent._y + (this._parent._parent.yellow.yminspeed / 3))))) | (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) < (this._parent._y + (this._parent._parent.bomb.yminspeed / 3))))) | (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) < (this._parent._y + (this._parent._parent.object1.yminspeed / 3))))) | (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) > (this._parent._y - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) < (this._parent._y + (this._parent._parent.object2.yminspeed / 3))))) {
this._parent.switched = true;
} else {
this._parent.switched = false;
}
}
}
Symbol 374 MovieClip Frame 2
stop();
Instance of Symbol 7 MovieClip "tile" in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Symbol 385 MovieClip Frame 9
gotoAndPlay (1);
Instance of Symbol 7 MovieClip "tile" in Symbol 385 MovieClip Frame 15
onClipEvent (enterFrame) {
}
Instance of Symbol 7 MovieClip "tile" in Symbol 385 MovieClip Frame 45
onClipEvent (enterFrame) {
this._parent._parent.gotoAndStop(247);
}
Instance of Symbol 395 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(this._parent._parent.special);
}
Instance of Symbol 410 MovieClip in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent._parent._currentframe > 249) {
if (_global.listening == "loop1") {
this.gotoAndStop(2);
}
if (_global.listening == "loop2") {
this.gotoAndStop(3);
}
if (_global.listening == "loop3") {
this.gotoAndStop(4);
}
} else {
this.gotoAndStop(1);
}
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 30
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 30
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 11
stop();
Symbol 438 MovieClip Frame 19
stop();
Symbol 438 MovieClip Frame 27
stop();
Symbol 438 MovieClip Frame 33
stop();
Symbol 438 MovieClip Frame 37
stop();
Symbol 438 MovieClip Frame 38
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 30
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 30
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 30
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 137
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 169
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 154
stop();
Symbol 478 MovieClip Frame 1
stop();
Instance of Symbol 425 MovieClip "char" in Symbol 478 MovieClip Frame 1
/* no clip actions */
Symbol 478 MovieClip Frame 2
stop();
Instance of Symbol 433 MovieClip "char" in Symbol 478 MovieClip Frame 2
/* no clip actions */
Symbol 478 MovieClip Frame 3
stop();
Instance of Symbol 438 MovieClip "char" in Symbol 478 MovieClip Frame 3
/* no clip actions */
Symbol 478 MovieClip Frame 4
stop();
Instance of Symbol 441 MovieClip "char" in Symbol 478 MovieClip Frame 4
/* no clip actions */
Symbol 478 MovieClip Frame 5
stop();
Instance of Symbol 448 MovieClip "char" in Symbol 478 MovieClip Frame 5
/* no clip actions */
Symbol 478 MovieClip Frame 6
stop();
Instance of Symbol 453 MovieClip "char" in Symbol 478 MovieClip Frame 6
/* no clip actions */
Symbol 478 MovieClip Frame 7
stop();
Instance of Symbol 457 MovieClip "char" in Symbol 478 MovieClip Frame 7
/* no clip actions */
Symbol 478 MovieClip Frame 8
stop();
Instance of Symbol 465 MovieClip "char" in Symbol 478 MovieClip Frame 8
/* no clip actions */
Symbol 478 MovieClip Frame 9
stop();
Instance of Symbol 473 MovieClip "char" in Symbol 478 MovieClip Frame 9
/* no clip actions */
Symbol 478 MovieClip Frame 10
stop();
Instance of Symbol 131 MovieClip "char" in Symbol 478 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 366 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Instance of Symbol 366 MovieClip in Symbol 484 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((this._parent._parent["Switch" + this._parent._name].switched | this._parent._parent[("Switch" + this._parent._name) + "1"].switched) | this._parent._parent[("Switch" + this._parent._name) + "2"].switched) | this._parent._parent[("Switch" + this._parent._name) + "3"].switched) | this._parent._parent[("Switch" + this._parent._name) + "4"].switched) | this._parent._parent[("Switch" + this._parent._name) + "5"].switched) {
this._parent._visible = false;
} else {
this._parent._visible = true;
}
if (this._parent._visible) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue.water = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red.water = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow.water = true;
}
}
}
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 366 MovieClip in Symbol 486 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.boomingrange = 100;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if ((Math.sqrt(((this._parent._parent.bomb._x - this._parent._x) * (this._parent._parent.bomb._x - this._parent._x)) + ((this._parent._parent.bomb._y - this._parent._y) * (this._parent._parent.bomb._y - this._parent._y))) < this._parent.boomingrange) && (this._parent._parent.bomb.boom)) {
this._parent.gotoAndStop(2);
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Symbol 486 MovieClip Frame 2
stop();
Instance of Symbol 366 MovieClip in Symbol 488 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((this._parent._parent["Switch" + this._parent._name].switched | this._parent._parent[("Switch" + this._parent._name) + "1"].switched) | this._parent._parent[("Switch" + this._parent._name) + "2"].switched) | this._parent._parent[("Switch" + this._parent._name) + "3"].switched) | this._parent._parent[("Switch" + this._parent._name) + "4"].switched) | this._parent._parent[("Switch" + this._parent._name) + "5"].switched) {
this._parent._visible = false;
} else {
this._parent._visible = true;
}
if (this._parent._visible) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue.lava = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red.lava = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow.lava = true;
}
}
}
Instance of Symbol 490 MovieClip in Symbol 492 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Instance of Symbol 366 MovieClip in Symbol 496 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((this._parent._parent["Switch" + this._parent._name].switched | this._parent._parent[("Switch" + this._parent._name) + "1"].switched) | this._parent._parent[("Switch" + this._parent._name) + "2"].switched) | this._parent._parent[("Switch" + this._parent._name) + "3"].switched) | this._parent._parent[("Switch" + this._parent._name) + "4"].switched) | this._parent._parent[("Switch" + this._parent._name) + "5"].switched) {
this._parent._visible = false;
} else {
this._parent._visible = true;
}
if (this._parent._visible) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue.electricity = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._parent._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._parent._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) > (this._parent._y - (this._height / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red.electricity = true;
}
}
}
Instance of Symbol 366 MovieClip in Symbol 498 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.bluetouching = false;
this._parent.redtouching = false;
this._parent.yellowtouching = false;
this._parent.bombtouching = false;
this._parent.object1touching = false;
this._parent.object2touching = false;
this._parent.object3touching = false;
}
onClipEvent (enterFrame) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) >= (this._parent._y - (this._parent._parent.blue.yminspeed / 3)))) {
if (!this._parent.bluetouching) {
this._parent._parent.blue._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.yspeed = 0;
}
this._parent.bluetouching = true;
} else {
this._parent.bluetouching = false;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) >= (this._parent._y - (this._parent._parent.red.yminspeed / 3)))) {
if (!this._parent.redtouching) {
this._parent._parent.red._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.yspeed = 0;
}
this._parent.redtouching = true;
} else {
this._parent.redtouching = false;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) >= (this._parent._y - (this._parent._parent.yellow.yminspeed / 3)))) {
if (!this._parent.yellowtouching) {
this._parent._parent.yellow._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.yspeed = 0;
}
this._parent.yellowtouching = true;
} else {
this._parent.yellowtouching = false;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) >= (this._parent._y - (this._parent._parent.bomb.yminspeed / 3)))) {
if (!this._parent.bombtouching) {
this._parent._parent.bomb._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.yspeed = 0;
}
this._parent.bombtouching = true;
} else {
this._parent.bombtouching = false;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object1.yminspeed / 3)))) {
if (!this._parent.object1touching) {
this._parent._parent.object1._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.yspeed = 0;
}
this._parent.object1touching = true;
} else {
this._parent.object1touching = false;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= ((this._parent._y + (this._height / 2)) + ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) >= (this._parent._y - (this._parent._parent.object2.yminspeed / 3)))) {
if (!this._parent.object2touching) {
this._parent._parent.object2._y = (this._parent._y + (this._height / 2)) + (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.yspeed = 0;
}
this._parent.object2touching = true;
} else {
this._parent.object2touching = false;
}
}
Symbol 500 MovieClip Frame 1
stop();
Instance of Symbol 366 MovieClip "tile" in Symbol 500 MovieClip Frame 1
onClipEvent (load) {
this._parent.cacheAsBitmap = true;
this._parent.originalx = this._parent._x;
this._parent.originaly = this._parent._y;
this._parent.Dhit = true;
this._parent.Lhit = false;
this._parent.Rhit = false;
this._parent.yspeed = 0;
this._parent.xmaxspeed = 3;
this._parent.yminspeed = 10;
}
onClipEvent (enterFrame) {
if (!_global.pausedd) {
if (this._parent._parent.blue.inSpecial) {
this._parent.gotoAndStop(2);
} else {
this._parent.gotoAndStop(1);
}
this._parent._y = this._parent._y + this._parent.yspeed;
if (!this._parent.Dhit) {
if (this._parent.yspeed < this._parent.yminspeed) {
this._parent.yspeed++;
}
} else {
this._parent.yspeed = 0;
}
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.blue.yminspeed) / 3)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._parent._parent.blue.yminspeed / 3)))) {
this._parent._parent.blue._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.blue.tile._height / 2);
this._parent._parent.blue.Dhit = true;
}
if ((!this._parent._parent.blue.inSpecial) | this._parent.Rhit) {
if (((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Rhit = true;
this._parent._parent.blue.Rspeed = 0;
}
} else if ((((((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x + (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) && (this._parent._parent.blue.Rspeed > this._parent._parent.blue.Lspeed)) {
this._parent._x = (this._parent._x + this._parent._parent.blue.Rspeed) - this._parent._parent.blue.Lspeed;
}
if ((!this._parent._parent.blue.inSpecial) | this._parent.Lhit) {
if (((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.blue._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.blue.tile._width / 2);
this._parent._parent.blue.Lhit = true;
this._parent._parent.blue.Lspeed = 0;
}
} else if ((((((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.blue.xmaxspeed / 2))) && ((this._parent._parent.blue._x - (this._parent._parent.blue.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.blue.xmaxspeed / 2)))) && ((this._parent._parent.blue._y + (this._parent._parent.blue.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.blue._y - (this._parent._parent.blue.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) && (this._parent._parent.blue.Rspeed < this._parent._parent.blue.Lspeed)) {
this._parent._x = (this._parent._x + this._parent._parent.blue.Rspeed) - this._parent._parent.blue.Lspeed;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.red.yminspeed) / 3)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._parent._parent.red.yminspeed / 3)))) {
this._parent._parent.red._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.red.tile._height / 2);
this._parent._parent.red.Dhit = true;
}
if (((((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x + (this._parent._parent.red.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Rhit = true;
this._parent._parent.red.Rspeed = 0;
}
if (((((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.red.xmaxspeed / 2))) && ((this._parent._parent.red._x - (this._parent._parent.red.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.red.xmaxspeed / 2)))) && ((this._parent._parent.red._y + (this._parent._parent.red.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.red._y - (this._parent._parent.red.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.red._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.red.tile._width / 2);
this._parent._parent.red.Lhit = true;
this._parent._parent.red.Lspeed = 0;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.yellow.yminspeed) / 3)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._parent._parent.yellow.yminspeed / 3)))) {
this._parent._parent.yellow._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.yellow.tile._height / 2);
this._parent._parent.yellow.Dhit = true;
}
if (((((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x + (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Rhit = true;
this._parent._parent.yellow.Rspeed = 0;
}
if (((((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.yellow.xmaxspeed / 2))) && ((this._parent._parent.yellow._x - (this._parent._parent.yellow.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.xmaxspeed / 2)))) && ((this._parent._parent.yellow._y + (this._parent._parent.yellow.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.yellow._y - (this._parent._parent.yellow.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.yellow._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.yellow.tile._width / 2);
this._parent._parent.yellow.Lhit = true;
this._parent._parent.yellow.Lspeed = 0;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.bomb.yminspeed) / 3)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._parent._parent.bomb.yminspeed / 3)))) {
this._parent._parent.bomb._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.bomb.tile._height / 2);
this._parent._parent.bomb.Dhit = true;
}
if (((((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x + (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Rhit = true;
this._parent._parent.bomb.Rspeed = 0;
}
if (((((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.bomb.xmaxspeed / 2))) && ((this._parent._parent.bomb._x - (this._parent._parent.bomb.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.xmaxspeed / 2)))) && ((this._parent._parent.bomb._y + (this._parent._parent.bomb.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.bomb._y - (this._parent._parent.bomb.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.bomb._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.bomb.tile._width / 2);
this._parent._parent.bomb.Lhit = true;
this._parent._parent.bomb.Lspeed = 0;
}
if (this._parent._name == "object2") {
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object1.yminspeed) / 3)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object1.yminspeed / 3)))) {
this._parent._parent.object1._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object1.tile._height / 2);
this._parent._parent.object1.Dhit = true;
}
if (((((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x + (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Rhit = true;
this._parent._parent.object1.Rspeed = 0;
}
if (((((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object1.xmaxspeed / 2))) && ((this._parent._parent.object1._x - (this._parent._parent.object1.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object1.xmaxspeed / 2)))) && ((this._parent._parent.object1._y + (this._parent._parent.object1.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object1._y - (this._parent._parent.object1.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object1._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object1.tile._width / 2);
this._parent._parent.object1.Lhit = true;
this._parent._parent.object1.Lspeed = 0;
}
}
if (this._parent._name == "object2") {
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > (this._parent._x - (this._width / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < (this._parent._x + (this._width / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) - ((2 * this._parent._parent.object2.yminspeed) / 3)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._parent._parent.object2.yminspeed / 3)))) {
this._parent._parent.object2._y = (this._parent._y - (this._height / 2)) - (this._parent._parent.object2.tile._height / 2);
this._parent._parent.object2.Dhit = true;
}
if (((((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x - (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x + (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x - (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x - (this._width / 2)) - (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Rhit = true;
this._parent._parent.object2.Rspeed = 0;
}
if (((((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) > ((this._parent._x + (this._width / 2)) - (this._parent._parent.object2.xmaxspeed / 2))) && ((this._parent._parent.object2._x - (this._parent._parent.object2.tile._width / 2)) < ((this._parent._x + (this._width / 2)) + (this._parent._parent.object2.xmaxspeed / 2)))) && ((this._parent._parent.object2._y + (this._parent._parent.object2.tile._height / 2)) >= ((this._parent._y - (this._height / 2)) + 1))) && ((this._parent._parent.object2._y - (this._parent._parent.object2.tile._height / 2)) <= (this._parent._y + (this._height / 2)))) {
this._parent._parent.object2._x = (this._parent._x + (this._width / 2)) + (this._parent._parent.object2.tile._width / 2);
this._parent._parent.object2.Lhit = true;
this._parent._parent.object2.Lspeed = 0;
}
}
this._parent.Dhit = false;
this._parent.Lhit = false;
this._parent.Rhit = false;
}
}
Symbol 500 MovieClip Frame 2
stop();
Symbol 524 Button
on (release) {
_root.gotoAndPlay(245);
}