STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #39795 |
Combined Codeframe 1 { function scott() { getURL('http://www.buzzwerd.deviantart.com', '_blank'); } function scotta() { getURL('http://www.newgrounds.com', '_blank'); } function david() { getURL('http://www.truedarkness.phrozenflame.com/', '_blank'); } function muter() { _root.allba = 1; _root.allab.setVolume(0); } function mutera() { _root.allba = 0; _root.allab.setVolume(100); } onLoad = function () { _root.allab = new Sound(); }; var menu = new ContextMenu(); menu.hideBuiltInItems(); var buzzwerd = new ContextMenuItem('Buzzwerd', scott); var truedarkness = new ContextMenuItem('True Darkness', david); var armor = new ContextMenuItem('More Games at Newgrounds!', scotta); var mute = new ContextMenuItem('Sound Off', muter); var mutee = new ContextMenuItem('Sound On', mutera); menu.customItems.push(buzzwerd, truedarkness, mute, mutee, armor); menu.onSelect = menuHandler; menu.builtInItems.quality = true; _root.menu = menu; System.security.allowDomain('http://www.buzzwerd.deviantart.com'); System.security.allowInsecureDomain('http://www.buzzwerd.deviantart.com'); System.security.allowDomain('http://www.truedarkness.tk/'); System.security.allowInsecureDomain('http://www.truedarkness.tk/'); System.security.allowDomain('www.welcome-to-life.ca.tf'); System.security.allowInsecureDomain('http://www.buzzwerd.deviantart.com'); System.security.allowDomain('www.truedarkness.phrozenflame.com'); System.security.allowInsecureDomain('www.truedarkness.phrozenflame.com'); } frame 1 { _quality = 'high'; _x = 0; _y = 0; stop(); } // unknown tag 88 length 42 movieClip 3 { } // unknown tag 88 length 75 button 8 { on (press) { _root.preloader.play(); } } // unknown tag 88 length 75 // unknown tag 88 length 75 // unknown tag 88 length 75 // unknown tag 88 length 153 button 18 { on (press) { stopAllSounds(); _root.nextFrame(); } } // unknown tag 88 length 75 movieClip 21 { frame 1 { stop(); } instance percent of movieClip 3 { onClipEvent (load) { totalb = _root.getBytesTotal(); totalkb = int(totalb / 4064); } onClipEvent (enterFrame) { _root.num = Math.round(_root.percent.percent); var loadedb = _root.getBytesLoaded(); loadedkb = int(loadedb / 4064); percent = (loadedb / totalb) * 100; pl1 = '' + int(percent) + '%'; pl2 = '' + loadedkb + ' / ' + totalkb + ' kb'; if (percent == 100) { _root.preloader.nextFrame(); } } } frame 357 { _root.play(); } } frame 2 { stop(); _quality = 'LOW'; } movieClip 25 { } movieClip 28 { } movieClip 31 { } movieClip 32 { } movieClip 35 { } movieClip 36 { } movieClip 37 { } movieClip 43 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 52 { } movieClip 54 { } movieClip 56 { } movieClip 58 { } movieClip 60 { } movieClip 62 { } movieClip 63 { } movieClip 65 { } movieClip 67 { } movieClip 69 { } movieClip 71 { } movieClip 73 { } movieClip 75 { } movieClip 80 { } movieClip 83 { } movieClip 84 { } movieClip 89 { frame 10 { stop(); } } movieClip 90 { frame 245 { stop(); } } button 93 { on (release) { getURL('http://www.newgrounds.com', 'blank'); } } movieClip 94 { frame 251 { _root.cine.logos.play(); } } movieClip 95 { } movieClip 97 { } movieClip 98 { frame 3 { stop(); } frame 145 { _root.cine.play(); stop(); } } button 99 { on (press) { stopAllSounds(); _root.gotoAndStop('menu'); } } movieClip 110 { } movieClip 114 { } movieClip 118 { } movieClip 120 { } movieClip 121 { } movieClip 126 { } movieClip 127 { } movieClip 129 { } movieClip 133 { } movieClip 147 { } movieClip 148 { } movieClip 149 { } movieClip 153 { } movieClip 167 { } movieClip 169 { } movieClip 171 { } movieClip 173 { } movieClip 175 { } movieClip 176 { } movieClip 182 { } movieClip 183 { } movieClip 185 { frame 1 { stop(); } instance logos of movieClip 98 { onClipEvent (enterFrame) { this.onPress = function () { if (_currentframe < 10) { getURL('http://www.newgrounds.com', '_blank'); } if (_currentframe <= 180 && _currentframe >= 10) { getURL('http://www.armorgames.com', '_blank'); } if (_currentframe >= 209) { getURL('http://www.kongregate.com', '_blank'); } }; } } frame 657 { stop(); stopAllSounds(); _root.nextFrame(); } } frame 3 { _x = 0; _y = 0; for (i in _root) { _root[i].removeMovieClip(); } } frame 3 { stop(); } movieClip 190 { } movieClip 191 { instance of movieClip 190 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } } instance of movieClip 191 { onClipEvent (enterFrame) { if (Key.isDown(68)) { _root.gotoAndStop('ass'); } } } movieClip 196 { } movieClip 199 { } movieClip 200 { } instance stone of movieClip 200 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 12, true)) { grounded = true; yspeed = 0; while (_root.blocks.hitTest(_x, _y + h - 12, true)) { _y = _y - 0.1; } } if (this.aa.hitTest(_root.player.ball) && _root.player._x < _x && Key.isDown(39) && _root.player.grounded == true) { _x = _x + _root.player.xspeed; _rotation = _rotation + _root.player.xspeed; } if (this.aa.hitTest(_root.player.ball) && _root.player._x > _x && Key.isDown(37) && _root.player.grounded == true) { _x = _x + _root.player.xspeed; _rotation = _rotation + _root.player.xspeed; } } } movieClip 203 { frame 15 { stop(); } } movieClip 204 { frame 10 { stop(); } } button 206 { on (press) { stopAllSounds(); _root.gotoAndStop('cs'); } } movieClip 209 { frame 15 { stop(); } } movieClip 210 { frame 10 { stop(); } } button 212 { on (press) { stopAllSounds(); _root.gotoAndStop('tut'); } } movieClip 215 { frame 15 { stop(); } } movieClip 216 { frame 10 { stop(); } } button 218 { on (press) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 222 { } movieClip 223 { instance of movieClip 222 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } } frame 4 { _x = 0; _y = 0; _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 4 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 4 { _root.removethisFade = 1; } frame 4 { stop(); } frame 4 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.score.score = 0; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; var coin = 0; z = 0; i = 200; } frame 4 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 227 { } movieClip 229 { } movieClip 231 { } movieClip 235 { } movieClip 237 { } movieClip 239 { } movieClip 242 { } movieClip 243 { } movieClip 245 { instance of movieClip 235 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 235 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 243 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball)) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } } } } movieClip 247 { } instance of movieClip 247 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 249 { } instance of movieClip 249 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 251 { } movieClip 252 { } instance of movieClip 252 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 255 { } movieClip 257 { frame 11 { stop(); } } movieClip 258 { frame 1 { stop(); this.cacheAsBitmap = true; } } movieClip 262 { } movieClip 263 { } movieClip 264 { frame 19 { _parent.gotoAndStop(1); } } movieClip 266 { frame 1 { stop(); } } movieClip 268 { } movieClip 269 { frame 1 { stop(); } } movieClip 270 { frame 19 { _parent.gotoAndStop(1); } } movieClip 271 { frame 1 { stop(); } } movieClip 272 { instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } if (_currentframe == 1 && this.hitTest(_root.player.ball)) { _root.com.var1 = 1; _root.com.ph = 'Activate the switch!!'; } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched2 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } } movieClip 274 { } movieClip 275 { } movieClip 277 { } movieClip 283 { frame 1 { stop(); } } movieClip 285 { frame 1 { stop(); } } movieClip 286 { frame 1 { stop(); } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 283 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 285 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } movieClip 291 { instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } frame 15 { stop(); } } movieClip 292 { frame 1 { stop(); } } instance bomb of movieClip 292 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 2 && ee != true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); if (_root.shake._currentframe == 1) { _root.shake.play(); } } } if (this.block.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); if (_root.shake._currentframe == 1) { _root.shake.play(); } if (_root.player._xscale > 0) { _root.player.xspeed = -6; } if (_root.player._xscale < 0) { _root.player.xspeed = 6; } } if (this.hitTest(_root.player.ball) && ee != true && _currentframe == 2 && !this.boom.balls.hitTest(_root.player)) { ee = true; if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.health.nextFrame(); } } } movieClip 294 { } movieClip 296 { } movieClip 298 { } movieClip 300 { } movieClip 301 { } movieClip 302 { } movieClip 304 { frame 9 { _parent.gotoAndStop(1); } } movieClip 306 { } movieClip 307 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 36 { _parent.gotoAndStop(1); } } movieClip 309 { frame 25 { stop(); } } movieClip 311 { frame 31 { stop(); } } movieClip 312 { frame 1 { stop(); } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 309 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 311 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } movieClip 313 { } movieClip 314 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } instance of movieClip 313 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 150) { this._visible = false; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 316 { } movieClip 319 { } movieClip 322 { } movieClip 324 { } movieClip 325 { } movieClip 326 { frame 7 { _parent.gotoAndStop(1); } } movieClip 328 { } movieClip 330 { } movieClip 331 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 12 { _parent.gotoAndStop(1); } } movieClip 333 { frame 40 { stop(); } } movieClip 335 { frame 60 { stop(); } } movieClip 336 { } movieClip 337 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } } instance of movieClip 337 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.barrier.hitTest(_x - w, _y, true)) { while (_root.barrier.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.barrier2.hitTest(_x + w, _y, true)) { while (_root.barrier2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 450 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.6; _xscale = -scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.6; _xscale = scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (this.hitTest(_root.barrier)) { gotoAndStop(1); } if (this.hitTest(_root.barrier2)) { gotoAndStop(1); } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 340 { frame 30 { stop(); } } movieClip 341 { } movieClip 342 { } movieClip 344 { } movieClip 354 { instance of movieClip 344 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(25); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } frame 22 { stop(); } } movieClip 355 { frame 1 { stop(); } frame 2 { ++_root.coin; _root.coins._alpha = 100; _root.coins.var1 = 0; _root.calculateCoinScore(); } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 357 { } movieClip 359 { } movieClip 361 { } movieClip 362 { } movieClip 363 { } movieClip 364 { } movieClip 365 { } movieClip 366 { } movieClip 367 { } movieClip 368 { frame 5 { _root.MakeGears2(); } frame 12 { _parent.gotoAndStop(1); } } movieClip 369 { } movieClip 370 { frame 1 { stop(); } instance of movieClip 357 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 359 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 361 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 359 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 369 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } movieClip 373 { frame 8 { _parent.gotoAndStop(1); } } movieClip 374 { frame 1 { stop(); } frame 3 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } } instance of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1501); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } movieClip 376 { } movieClip 378 { } movieClip 379 { } movieClip 380 { frame 20 { stop(); } } movieClip 382 { frame 1 { stop(); } } instance of movieClip 382 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); _root.switched2 = true; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 337 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.barrier3.hitTest(_x, _y + h, true)) { while (_root.barrier3.hitTest(_x, _y + h, true)) { _x = _x + 0.1; } } if (_root.barrier4.hitTest(_x, _y + h, true)) { while (_root.barrier4.hitTest(_x, _y + h, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 450 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.6; _xscale = -scale; if (!this.hitTest(_root.barrier3) && !this.hitTest(_root.barrier4)) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.6; _xscale = scale; if (!this.hitTest(_root.barrier3) && !this.hitTest(_root.barrier4)) { gotoAndStop(2); } } if (this.hitTest(_root.barrier3)) { gotoAndStop(1); } if (this.hitTest(_root.barrier4)) { gotoAndStop(1); } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 384 { } instance of movieClip 384 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.player.ball)) { _root.fadeOut.play(); } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 387 { frame 1 { stop(); } frame 2 { _root.player._alpha = 50; _root.health.nextFrame(); } frame 4 { _root.player._alpha = 100; } frame 6 { _root.player._alpha = 50; } frame 8 { _root.player._alpha = 100; } frame 10 { _root.player._alpha = 50; } frame 12 { _root.player._alpha = 100; } frame 14 { _root.player._alpha = 50; } frame 16 { _root.player._alpha = 100; } frame 18 { _root.player._alpha = 50; } frame 19 { _root.player._alpha = 100; } frame 20 { _root.player._alpha = 50; } frame 21 { _root.player._alpha = 100; } frame 22 { _root.player._alpha = 50; } frame 23 { _root.player._alpha = 100; } frame 24 { _root.player._alpha = 50; } frame 25 { _root.player._alpha = 100; } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } movieClip 389 { } movieClip 390 { frame 1 { stop(); } } movieClip 391 { frame 1 { stop(); } instance of movieClip 390 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 390 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 390 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 390 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 390 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } movieClip 393 { frame 1 { stop(); } frame 2 { _root._x += 5; } frame 3 { _root._x -= 10; } frame 4 { _root._x += 5; _root._y -= 5; } frame 5 { _root._y += 10; } frame 6 { _root._y -= 5; } frame 7 { _root._x += 2; } frame 8 { _root._x -= 4; } frame 9 { _root._x += 2; _root._y -= 2; } frame 10 { _root._y += 4; } frame 11 { _root._y -= 2; } } movieClip 395 { } movieClip 396 { frame 1 { stop(); } } movieClip 397 { frame 1 { stop(); } instance of movieClip 396 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 396 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 396 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 396 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 396 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } movieClip 400 { } movieClip 404 { frame 5 { stop(); } } movieClip 405 { frame 1 { stop(); } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } movieClip 407 { } movieClip 408 { frame 1 { stop(); } } movieClip 409 { frame 1 { stop(); } instance of movieClip 408 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 408 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 408 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 408 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 408 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } movieClip 410 { } movieClip 411 { } movieClip 412 { } movieClip 413 { } movieClip 414 { frame 15 { stop(); } instance of movieClip 411 { onClipEvent (enterFrame) { if (_root.player.maxJump == true) { _parent.play(); _root.player.maxJump = false; } } } frame 24 { stop(); } instance of movieClip 411 { onClipEvent (enterFrame) { if (_root.player.grounded == true) { _parent.play(); } } } frame 30 { _parent.gotoAndStop(1); } } movieClip 418 { frame 13 { stop(); } } movieClip 420 { frame 22 { _parent.gotoAndStop(1); } } movieClip 421 { } movieClip 422 { frame 6 { stop(); } frame 17 { _parent.gotoAndStop(1); } } movieClip 428 { } movieClip 430 { } movieClip 432 { } movieClip 433 { } movieClip 435 { frame 22 { _parent.gotoAndStop(5); } } movieClip 436 { frame 1 { stop(); } instance of movieClip 433 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.jetpack != true) { _visible = false; _root.jetpack = true; } } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; dx = _x; dy = _y; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; } } instance of movieClip 251 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 438 { } instance of movieClip 438 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } // unknown tag 88 length 138 movieClip 442 { } instance com of movieClip 442 { onClipEvent (load) { scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } movieClip 444 { } movieClip 445 { } movieClip 446 { frame 3 { _root.shoot.start(0, 1); } frame 16 { stop(); _parent.removeMovieClip(); } } movieClip 448 { } movieClip 449 { frame 15 { stop(); _parent.removeMovieClip(); } } movieClip 451 { } movieClip 454 { } movieClip 455 { frame 37 { stop(); _parent.removeMovieClip(); } } movieClip 456 { frame 1 { stop(); } instance of movieClip 446 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.blocks)) { _root.blockDetection = true; _root.noBlockDetection = false; } if (!this.hitTest(_root.blocks) && _root.blockDetection == true) { _root.noBlockDetection = true; } if (_root.noBlockDetection == true) { ++i; } if (i >= 10) { _root.noBlockDetection = false; _root.blockDetection = false; i = 0; } } } frame 2 { _root.wavesecond = true; } instance of movieClip 449 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.blocks)) { _root.blockDetection = true; _root.noBlockDetection = false; } if (!this.hitTest(_root.blocks) && _root.blockDetection == true) { _root.noBlockDetection = true; } if (_root.noBlockDetection == true) { ++i; } if (i >= 10) { _root.noBlockDetection = false; _root.blockDetection = false; i = 0; } } } frame 3 { _root.wavethird = true; } instance of movieClip 455 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.blocks)) { _root.blockDetection = true; _root.noBlockDetection = false; } if (!this.hitTest(_root.blocks) && _root.blockDetection == true) { _root.noBlockDetection = true; } if (_root.noBlockDetection == true) { ++i; } if (i >= 10) { _root.noBlockDetection = false; _root.blockDetection = false; i = 0; } } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } movieClip 458 { } movieClip 460 { } instance score of movieClip 460 { onClipEvent (enterFrame) { if (_root.noScore == true) { this._visible = false; } else { _visible = true; } col = new Color(this); if (_root.black == true) { col.setRGB(0); } else { col.setRGB(16777215); } } } movieClip 461 { frame 1 { stop(); } frame 1 { _root.healthy = 11; } frame 2 { _root.healthy = 10; } frame 3 { _root.healthy = 9; } frame 4 { _root.healthy = 8; } frame 5 { _root.healthy = 7; } frame 6 { _root.healthy = 6; } frame 7 { _root.healthy = 5; } frame 8 { _root.healthy = 4; } frame 9 { _root.healthy = 3; } frame 10 { _root.healthy = 2; } frame 11 { _root.healthy = 1; } frame 12 { _root.gameOver.play(); } } instance health of movieClip 461 { onClipEvent (enterFrame) { this.swapDepths(24000); this.cacheAsBitmap = true; } } movieClip 465 { } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } movieClip 467 { } movieClip 470 { frame 1 { stop(); } frame 21 { _root.player.flashh = false; } } instance red of movieClip 470 { onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; } } movieClip 475 { frame 29 { stop(); } } movieClip 476 { frame 1 { stop(); } frame 4 { fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root.airguy.removeMovieClip(); _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); stopAllSounds(); } frame 22 { stop(); _root.nextFrame(); } } instance fadeOut of movieClip 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24500); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 479 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24603); } } movieClip 481 { } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); this.cacheAsBitmap = true; if (_currentframe >= 7) { this.removeMovieClip(); } } } movieClip 482 { } instance of movieClip 482 { onClipEvent (enterFrame) { this.swapDepths(257021); if (_alpha > 0) { _alpha = _alpha - 6; } if (_currentframe != 4) { this.removeMovieClip(); } } } movieClip 484 { frame 1 { stop(); } frame 30 { stop(); _root.gotoAndStop('gameOver'); } } instance gameOver of movieClip 484 { onClipEvent (enterFrame) { this.swapDepths(50000); } } frame 5 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 5 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 5 { stop(); } frame 5 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } _root.black = true; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root.com.var1 = 1; _root.com.ph = 'Be extra careful when going up the stairs!'; RAN = 4; a = 10; z = 0; i = 200; } frame 5 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 488 { } movieClip 490 { } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } movieClip 492 { } movieClip 495 { instance of movieClip 492 { onClipEvent (load) { var1 = 0; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && var2 != 1 && _root.player.grounded == true) { var1 = 1; } if (var1 == 1) { if (_y >= dy - 650) { this._y -= 3; } else { var1 = 2; } } if (var1 == 2 && !this.hitTest(_root.player.ball)) { var2 = 1; } if (var2 == 1) { if (_y <= dy) { this._y += 3; } else { var2 = 0; } } } } instance of movieClip 492 { onClipEvent (load) { var1 = 0; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && var2 != 1 && _root.player.grounded == true) { var1 = 1; } if (var1 == 1) { if (_y >= dy - 650) { this._y -= 3; } else { var1 = 2; } } if (var1 == 2 && !this.hitTest(_root.player.ball)) { var2 = 1; } if (var2 == 1) { if (_y <= dy) { this._y += 3; } else { var2 = 0; } } } } instance of movieClip 492 { onClipEvent (load) { var1 = 0; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && var2 != 1 && _root.player.grounded == true) { var1 = 1; } if (var1 == 1) { if (_y >= dy - 650) { this._y -= 3; } else { var1 = 2; } } if (var1 == 2 && !this.hitTest(_root.player.ball)) { var2 = 1; } if (var2 == 1) { if (_y <= dy) { this._y += 3; } else { var2 = 0; } } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } movieClip 497 { } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 1; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } instance of movieClip 490 { onClipEvent (load) { var1 = 0; yy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.varStair = 0; if (_y <= yy + 10) { _y = _y + 0.6; } } else { if (_y >= yy) { _y = _y - 0.6; } } } } movieClip 498 { } movieClip 499 { } instance of movieClip 499 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player._y -= 3; _root.player.grav = 0; if (var1 != 1 && this.thing.hitTest(_root.player.ball)) { _root.fadeOut.play(); var1 = 1; } } } } movieClip 501 { } movieClip 503 { } movieClip 505 { } movieClip 507 { } movieClip 509 { } movieClip 511 { } movieClip 513 { } movieClip 515 { } movieClip 516 { instance of movieClip 515 { onClipEvent (enterFrame) { _rotation = _rotation - 10; if (_root.bubble.var1 != 1 && _root.bubble2.var1 != 1) { if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } if (_root.bubble.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble.i; if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; } _root.pauser.play(); _root.bubble.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (_root.bubble2.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble2.i; if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; } _root.pauser.play(); _root.bubble2.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } } movieClip 517 { } movieClip 518 { } movieClip 519 { frame 8 { _parent.gotoAndPlay(1); } } movieClip 520 { } movieClip 521 { } movieClip 522 { frame 16 { stop(); } } movieClip 523 { frame 60 { stop(); } } movieClip 524 { } movieClip 525 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 522 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 110) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; _visible = false; i = 120; } } } } instance of movieClip 525 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = -scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 400 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(2); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 528 { } movieClip 530 { } movieClip 532 { } movieClip 535 { } movieClip 536 { instance of movieClip 515 { onClipEvent (enterFrame) { _rotation = _rotation - 5; if (_root.bubble.var1 != 1 && _root.bubble2.var1 != 1) { if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } if (_root.bubble.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble.i; if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; } _root.pauser.play(); _root.bubble.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (_root.bubble2.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble2.i; if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; } _root.pauser.play(); _root.bubble2.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } } movieClip 537 { } movieClip 538 { } movieClip 539 { frame 6 { _parent.gotoAndStop(1); } } movieClip 541 { frame 30 { stop(); } } movieClip 542 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 541 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 110) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; _visible = false; i = 120; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = -scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; _xscale = -scale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } movieClip 544 { } movieClip 545 { frame 1 { stop(); } } movieClip 546 { frame 1 { stop(); } instance of movieClip 545 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 545 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 545 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 545 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 545 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } instance gears4 of movieClip 546 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears4') { _visible = false; this.gotoAndStop(2); } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; _xscale = -scale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 525 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = -scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 400 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(2); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = -scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 525 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = -scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 400 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(2); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 548 { } movieClip 550 { } movieClip 551 { } movieClip 552 { instance of movieClip 515 { onClipEvent (enterFrame) { _rotation = _rotation - 5; if (_root.bubble.var1 != 1 && _root.bubble2.var1 != 1) { if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } if (_root.bubble.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble.i; _root.pauser.play(); _root.bubble.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (_root.bubble2.var1 == 1 && this.hitTest(_root.player.ball) && _root.pauser._currentframe == 1) { ++_root.bubble2.i; if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale > 0) { _root.player.xspeed = -7; } if (this.hitTest(_root.player.ball) && _parent._parent._parent._xscale < 0) { _root.player.xspeed = 7; } _root.pauser.play(); _root.bubble2.bub.play(); if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } } movieClip 553 { frame 6 { _parent.gotoAndStop(1); } } movieClip 554 { frame 1 { stop(); } frame 3 { _root.calculateEnemySmallScore(); } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; dx = _x; dy = _y; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.86; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w + 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.stairs.hitTest(_x, _y + h - 20, true)) { onBlock = true; } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.3; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.6; } else { if (_rotation < rot) { _rotation = _rotation + 0.6; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.3; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.6; } else { if (_rotation > rot) { _rotation = _rotation - 0.6; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.6; } if (_rotation > rot) { _rotation = _rotation - 0.6; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { if (varStair == 1) { if (_xscale > 0) { if (bb <= 105) { bb += 7; } } if (_xscale < 0) { if (bb >= -50) { bb -= 10; } } } if (varStair == 0) { if (_xscale < 0) { if (bb <= 105) { bb += 7; } } if (_xscale > 0) { if (bb >= -60) { bb -= 10; } } } } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded && _root.bubble.var1 != 1 && _root.bubble2.var1 != 1) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx / 1.005; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = (cy + 100) / 1.2; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.fadeIn._x = cx; _root.fadeIn._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; if (_root.bubble.var2 == 1) { _root.bubble._x = _x; _root.bubble._y = _y; } if (_root.bubble2.var2 == 1) { _root.bubble2._x = _x; _root.bubble2._y = _y; } } } movieClip 556 { } movieClip 557 { } movieClip 561 { } movieClip 562 { frame 1 { stop(); } } movieClip 563 { frame 16 { stop(); } } movieClip 564 { frame 1 { stop(); } } instance bubble of movieClip 564 { onClipEvent (load) { var1 = 0; scalex = _xscale; scaley = _yscale; _xscale = scalex - scalex / 1.4; _yscale = scaley - scaley / 1.4; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && var2 != 1 && _root.bubble2.var1 != 1) { var1 = 1; var2 = 1; } if (var1 == 1) { if (_xscale <= scalex) { _xscale = _xscale + 3; } if (_yscale <= scalex) { _yscale = _yscale + 3; } } if (i >= 3) { this.gotoAndStop(2); var1 = 0; } } } instance of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 350 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['gears4' + _root.i]._xscale += 150; _root['gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 566 { frame 1 { stop(); } } movieClip 568 { } instance com of movieClip 568 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance bubble2 of movieClip 564 { onClipEvent (load) { var1 = 0; scalex = _xscale; scaley = _yscale; _xscale = scalex - scalex / 1.4; _yscale = scaley - scaley / 1.4; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && var2 != 1 && _root.bubble.var1 != 1) { var1 = 1; var2 = 1; } if (var1 == 1) { if (_xscale <= scalex) { _xscale = _xscale + 3; } if (_yscale <= scalex) { _yscale = _yscale + 3; } } if (i >= 3) { this.gotoAndStop(2); var1 = 0; } } } movieClip 601 { } movieClip 602 { frame 61 { stop(); } } instance of movieClip 602 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50) { this.gotoAndPlay(1); this._x = _root.player._x; this._y = _root.player._y; } } } movieClip 604 { } movieClip 605 { frame 1 { stop(); } frame 3 { stop(); } } instance blocker of movieClip 605 { onClipEvent (load) { var1 = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.fadeOut._currentframe >= 2 && _root.fadeOut._currentframe <= 21) { _visible = true; } if (_root.fadeOut._currentframe == 1 or _root.fadeOut._currentframe >= 22) { _visible = false; } } } movieClip 618 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 618 { onClipEvent (enterFrame) { this.swapDepths(24001); } } movieClip 621 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root._x = 0; _root._y = 0; _root.health.removeMovieClip(); } frame 20 { _root.fadeIn.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; _root.nextFrame(); } } instance fadeOut of movieClip 621 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24501); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } frame 6 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 6 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 6 { _root.fadeOuted = false; } frame 6 { stop(); } frame 6 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = true; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; z = 0; i = 200; } frame 6 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 625 { } movieClip 627 { } movieClip 630 { } movieClip 632 { instance of movieClip 630 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 630 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 630 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } } instance of movieClip 382 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); _root.switched3 = true; } } } } instance of movieClip 382 { onClipEvent (enterFrame) { if (_currentframe == 1 && _root.s4 == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); _root.switched4 = true; } } } } instance of movieClip 337 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.barrier.hitTest(_x - w, _y, true)) { while (_root.barrier.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.barrier2.hitTest(_x + w, _y, true)) { while (_root.barrier2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 450 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.6; _xscale = -scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.6; _xscale = scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (this.hitTest(_root.barrier)) { gotoAndStop(1); } if (this.hitTest(_root.barrier2)) { gotoAndStop(1); } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 337 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.barrier.hitTest(_x - w, _y, true)) { while (_root.barrier.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.barrier2.hitTest(_x + w, _y, true)) { while (_root.barrier2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 450 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.6; _xscale = -scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.6; _xscale = scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (this.hitTest(_root.barrier)) { gotoAndStop(1); } if (this.hitTest(_root.barrier2)) { gotoAndStop(1); } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } movieClip 634 { } instance of movieClip 634 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 635 { frame 19 { stop(); } } movieClip 636 { frame 1 { stop(); } } movieClip 639 { } movieClip 640 { frame 19 { stop(); trace('uhh'); } } movieClip 641 { frame 1 { stop(); } frame 3 { _root.s4 = true; } } movieClip 643 { } movieClip 644 { instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance blue6 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance blue21 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue20 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue19 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue18 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue7 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue8 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue9 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue10 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue17 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue11 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt9 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt8 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt7 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue5 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue4 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue3 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue2 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue1 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt3 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt2 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt1 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt4 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt5 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance tnt6 of movieClip 641 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 3 && this.bloc._currentframe >= 4) { i = 0; while (i <= 10) { if (this.bloc.hitTest(_root.blocks['tnt' + i])) { _root.blocks['tnt' + i].gotoAndStop(3); } if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue24 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue25 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue16 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue15 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue14 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue22 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue13 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue23 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance blue12 of movieClip 636 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_currentframe == 4 && this.bloc._currentframe >= 4) { i = 7; while (i <= 25) { if (this.bloc.hitTest(_root.blocks['blue' + i])) { _root.blocks['blue' + i].gotoAndStop(4); } ++i; } } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } if (_currentframe == 1 && this.hitTest(_root.player.ball)) { _root.com.var1 = 1; _root.com.ph = 'Activate the switch!!'; } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched3 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } if (_currentframe == 1 && this.hitTest(_root.player.ball)) { _root.com.var1 = 1; _root.com.ph = 'Activate the switch!!'; } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 271 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } if (_root.switched4 == true) { this.gotoAndStop('blank'); } } } instance of movieClip 643 { onClipEvent (enterFrame) { if (_root.switched3 == true) { this._x = 1000; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 252 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } movieClip 646 { frame 1 { stop(); } } instance shota of movieClip 646 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance airguy of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1501); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 251 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; } } instance of movieClip 251 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 648 { } instance of movieClip 648 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.fadeOut.play(); } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 602 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var2 != 1) { this.gotoAndPlay(1); var1 = 1; var2 = 1; } if (var1 == 1) { this._x = _root.player._x; this._y = _root.player._y; } } } instance health of movieClip 618 { onClipEvent (enterFrame) { this.swapDepths(24002); } } movieClip 651 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; _root.gotoAndStop('boss'); } } instance fadeOut of movieClip 651 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } frame 7 { _x = 0; _y = 0; _root.end = false; _root.noScore = true; } frame 7 { stop(); } frame 7 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; var coin = 0; z = 0; i = 200; _root.all = 0; _root.coinCol = 0; } frame 7 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 655 { } movieClip 657 { } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1 && _root.coinCol != 5) { if (this.hitTest(_root.player.ball) && varr1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'These are coins. Collect these for score and other in-game features.'; varr1 = 1; } } if (i >= 355) { varr1 = 0; i = 0; } } } movieClip 658 { } movieClip 661 { } movieClip 662 { instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 30) { if (this.hitTest(_root.player.ball) && var1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'These are the blue blocks. You\'ll need to jump over them to pass them.'; var1 = 1; _root.b = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } } } } if (i >= 355) { var1 = 0; i = 0; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && varr1 != 1 && _root.b == 1) { _root.com.i = 71; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1) { if (this.hitTest(_root.player.ball) && varr1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'To get over these taller blocks, hold DOWN, and jump.'; varr1 = 1; _root.a = 1; } } if (i >= 355) { varr1 = 0; i = 0; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && varr1 != 1 && _root.a == 1) { _root.com.i = 71; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1 && _root.all != 4) { if (this.hitTest(_root.player.ball) && varr1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'Red blocks in the game are shootable. Press SPACE to shoot the red blocks.'; varr1 = 1; } } if (i >= 355) { varr1 = 0; i = 0; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && varr1 != 1 && _root.all != 4) { _root.com.i = 71; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1) { if (this.hitTest(_root.player.ball) && varr1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'You can also tap SPACE rapidly to continuously fire.'; varr1 = 1; } } if (i >= 355) { varr1 = 0; i = 0; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.coinCol; ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.coinCol; ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.coinCol; ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.coinCol; ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.coinCol; ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance bomb of movieClip 292 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 2 && ee != true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); _root.mineDestroy = true; if (_root.shake._currentframe == 1) { _root.shake.play(); } } } if (this.block.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); _root.mineDestroy = true; if (_root.shake._currentframe == 1) { _root.shake.play(); } if (_root.player._xscale > 0) { _root.player.xspeed = -6; } if (_root.player._xscale < 0) { _root.player.xspeed = 6; } } if (this.hitTest(_root.player.ball) && ee != true && _currentframe == 2 && !this.boom.balls.hitTest(_root.player)) { ee = true; if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.health.nextFrame(); } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1) { if (this.hitTest(_root.player.ball) && varr1 != 1 && _root.mineDestroy != true) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'These are mines. Avoid contact with these, or shoot them to destroy them.'; varr1 = 1; } } if (i >= 355) { varr1 = 0; i = 0; } } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; j = 0; } onClipEvent (enterFrame) { ++i; if (i >= 1) { if (this.hitTest(_root.player.ball) && varr1 != 1) { _root.com.var1 = 1; xx = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'And that\'s all there is to it. Now play and enjoy the game!!'; varr1 = 1; } } if (xx == 1) { ++j; } if (i >= 355 && varr1 == 1) { if (j >= 250) { _root.fadeOut.play(); } varr1 = 0; i = 0; } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; dx = _x; dy = _y; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w + 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; } } instance of movieClip 657 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 30) { if (this.hitTest(_root.player.ball) && var1 != 1) { _root.com.var1 = 1; if (_root.com._alpha != 0) { _root.com.i = 0; _root.com.var1 = 1; } _root.com.ph = 'Welcome to Edward! Use the arrow keys to move around, and spacebar to shoot.'; var1 = 1; } } if (i >= 455) { var1 = 0; i = 0; } } } movieClip 664 { } instance com of movieClip 664 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance health of movieClip 618 { onClipEvent (enterFrame) { this.swapDepths(24001); } } movieClip 667 { frame 1 { stop(); } frame 17 { _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); stopAllSounds(); } frame 22 { stop(); _root.gotoAndStop('menu'); } } instance fadeOut of movieClip 667 { onClipEvent (enterFrame) { this.swapDepths(24509); if (_root.removethisFade == 1) { this.removeMovieClip(); } } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } frame 8 { _x = 0; _y = 0; _root.lastLevel = _currentframe; _root.noScore = false; } frame 8 { _root.removethisFade = 1; } frame 8 { stop(); } frame 8 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _x = 0; _y = 0; _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); z = 0; i = 200; redot = 0; _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); } frame 8 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 670 { } movieClip 672 { } movieClip 675 { } movieClip 677 { frame 1 { stop(); } } movieClip 678 { } movieClip 680 { } movieClip 681 { frame 1 { stop(); } frame 8 { stop(); } } instance spike of movieClip 681 { onClipEvent (load) { var1 = 0; grav = 1; yspeed = 0; dx = _x; dy = _y; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.play(); _root.shadow._visible = false; var1 = 1; } if (var1 == 1) { _y = _y + yspeed; yspeed += grav; if (!this.hitTest(_root.boss.body) && var2 != 1) { ++i; } } if (i >= 600) { _root.spike.gotoAndStop(1); _root.spike.var1 = 0; _root.spike._x = _root.spike.dx; _root.spike._y = _root.spike.dy; _root.spike.yspeed = 0; _root.shadow._visible = true; _root.spike.i = 0; var2 = 0; } } } movieClip 683 { } movieClip 685 { } movieClip 687 { } movieClip 689 { } movieClip 690 { } movieClip 691 { } movieClip 692 { frame 6 { _parent.gotoAndStop(1); } } movieClip 694 { } movieClip 695 { frame 62 { stop(); } instance of movieClip 694 { onClipEvent (enterFrame) { _alpha = _alpha - 2; } } } movieClip 696 { frame 1 { stop(); } frame 4 { ++_root.redot; _root.shake.play(); _root.calculateEnemySmallScore(); } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.45; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.45; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.5; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.5; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.5; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.5; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.45; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.45; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance shota of movieClip 646 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } } instance gears4 of movieClip 546 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.5; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.5; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.45; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.45; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.5; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.5; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.45; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.45; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.revive == true) { varComeToLife = 0; _visible = false; } if (_root.boss.varJump == true && _root.boss.life >= 1) { _visible = true; if (varComeToLife != 1) { gotoAndStop(1); xxx = 0; j = 0; _x = dx; _y = dy; dead = false; varComeToLife = 1; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.4; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.4; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w - 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; _root.bossintro._x = cx; _root.bossintro._y = cy; } } movieClip 699 { } movieClip 701 { } movieClip 703 { } movieClip 705 { } movieClip 707 { } movieClip 709 { } movieClip 711 { } movieClip 712 { } movieClip 714 { } movieClip 715 { } movieClip 717 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 29 { _parent.gotoAndStop(1); } } movieClip 718 { frame 19 { _root.shake.play(); } instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 50 { _parent.gotoAndStop(1); } } movieClip 721 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -160; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 160; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -160; if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 160; if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 55 { _parent.gotoAndStop(1); } } movieClip 722 { frame 12 { _parent.gotoAndStop(1); } } movieClip 725 { frame 74 { _parent.gotoAndStop(1); } } movieClip 726 { frame 1 { _root.shake.play(); } frame 33 { stop(); } } movieClip 727 { } movieClip 728 { frame 13 { _root.fallen = true; _parent.gotoAndStop(7); } } movieClip 729 { frame 53 { _parent.gotoAndStop(10); } } movieClip 730 { frame 50 { stop(); } } movieClip 731 { frame 21 { _root.shake.play(); } frame 40 { _parent.gotoAndStop(1); } } movieClip 732 { frame 37 { stop(); } } movieClip 733 { frame 1 { stop(); _root.roar = false; } frame 4 { _root.roar = true; } frame 5 { _root.shake.play(); --_root.boss.life; } frame 7 { if (_root.fallen == true) { this.fallen.gotoAndStop(33); } } frame 12 { stopAllSounds(); _root.score.score += 1000; } instance of movieClip 726 { onClipEvent (enterFrame) { _alpha = _alpha - 1; } } } instance boss of movieClip 733 { onClipEvent (load) { var1 = 0; i = 0; r = 0; z = 0; a = 0; b = 0; life = 100; dx = _x; dy = _y; attack = random(2); _xscale = _xscale + 150; _yscale = _yscale + 150; j = 0; scale = _xscale; xspeed = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; xspeed *= 0.85; if (_currentframe == 1) { attack = false; } xx = _root.player._x - _x; d = Math.sqrt(xx * xx); if (d <= 450 && attack != true && d >= 301 && !_root.player.hitTest(_root.nonRoar) && !_root.player.hitTest(_root.nonRoar2)) { ++r; } if (r >= 80 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && _currentframe != 7 && _currentframe != 9 && _currentframe != 8) { r = 0; this.gotoAndStop(4); attack = true; _root.shake.play(); } if (d <= 300 && attack != true && !_root.player.hitTest(_root.nonRoar) && !_root.player.hitTest(_root.nonRoar2)) { ++z; } if (z >= 120 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && _currentframe != 7 && _currentframe != 9 && _currentframe != 8) { roar = random(2); if (roar == 0) { z = 0; this.gotoAndStop(4); attack = true; _root.shake.play(); } } if (d <= 300) { ++i; } if (i >= 50 && attack != true && _currentframe != 7 && _currentframe != 9 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && _currentframe != 8) { attacker = random(4); if (attacker == 0) { this.gotoAndStop(2); attack = true; i = 0; } if (attacker == 1) { this.gotoAndStop(3); attack = true; i = 0; } } if (_currentframe != 5 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && dead != true && !hit && _currentframe != 2 && _currentframe != 3 && _currentframe != 4 && _currentframe != 7 && _currentframe != 9) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(5); hit = true; } } if (_currentframe != 5 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && dead != true && !hit && _currentframe != 2 && this.kick._currentframe >= 29 && _currentframe != 4 && _currentframe != 7 && _currentframe != 9) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(5); hit = true; } } if (_currentframe != 5 && dead != true && !hit && _currentframe != 2 && _currentframe != 3 && _currentframe != 4 && _currentframe != 9 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && this.fallen._currentframe == 33) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(8); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } aa = _root.player._x + 60; bb = _root.player._x - 60; if (!this.front.hitTest(_root.player.ball)) { if (_x >= aa && _currentframe != 7 && _currentframe != 8 && _currentframe != 9) { if (_currentframe != 2 && _currentframe != 9 && _currentframe != 3 && _currentframe != 4 && _currentframe != 5 && _currentframe != 7 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12 && varHit != true) { xspeed -= 0.8; gotoAndStop(6); } _xscale = scale; } else { if (_x <= bb && _currentframe != 7 && _currentframe != 8 && _currentframe != 9 && _currentframe != 10 && _currentframe != 11 && _currentframe != 12) { if (_currentframe != 2 && _currentframe != 3 && _currentframe != 4 && _currentframe != 5 && _currentframe != 7 && varHit != true && _currentframe != 9) { xspeed += 0.8; gotoAndStop(6); } _xscale = -scale; } } } if (this.body.hitTest(_root.spike) && _currentframe != 7 && _currentframe != 9 && _currentframe != 10 && _currentframe != 11) { this.gotoAndStop(7); life -= 25; _root.revive = false; varSpike = true; _root.spike.var2 = 1; } if (varSpike == true && varJump != true) { ++a; } if (a >= 100) { varSpike = false; this.gotoAndStop(9); varJump = true; a = 0; } if (_root.redot >= 14) { ++b; } if (b >= 60) { varJump = false; _root.revive = true; gotoAndStop(11); _x = dx; _y = dy; _root.spike.gotoAndStop(1); _root.spike.var1 = 0; _root.spike._x = _root.spike.dx; _root.spike._y = _root.spike.dy; _root.spike.yspeed = 0; _root.shadow._visible = true; _root.spike.i = 0; _root.fallen = false; _root.redot = 0; _root.spike.var2 = 0; b = 0; } if (life <= 0 && _currentframe != 7 && _currentframe != 8) { this.gotoAndStop(12); _root.com.var1 = 1; _root.com.ph = 'Who rocks!? I rock!!!'; com = 5; } } } instance com of movieClip 568 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } movieClip 736 { } movieClip 737 { } movieClip 738 { } movieClip 739 { } movieClip 740 { } movieClip 742 { } movieClip 743 { } movieClip 744 { } movieClip 746 { } movieClip 747 { frame 93 { stop(); } } movieClip 749 { } instance nonRoar2 of movieClip 749 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.boss.life <= 0) { _root.fadeOut.play(); } } } movieClip 761 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 761 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance fadeOut of movieClip 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24504); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24605); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(250001); this.cacheAsBitmap = true; if (_currentframe >= 10) { this.removeMovieClip(); } } } frame 9 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 9 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 9 { _root.fadeOuted = false; } frame 9 { stop(); } frame 9 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function MakeGears5() { ++i; _root.gears5.duplicateMovieClip('gears5' + i, i); _root['gears5' + i]._x = _root.botX; _root['gears5' + i]._y = _root.botY; _root['gears5' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; z = 0; i = 200; } frame 9 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 765 { } movieClip 767 { } movieClip 769 { } movieClip 771 { } movieClip 773 { } movieClip 775 { } movieClip 779 { } movieClip 780 { } movieClip 782 { } movieClip 784 { } movieClip 787 { } movieClip 790 { } movieClip 791 { } movieClip 793 { } movieClip 794 { } movieClip 795 { } movieClip 796 { instance of movieClip 769 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 775 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (load) { var1 = 0; grav = 1; yspeed = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { var1 = 1; } if (var1 == 1) { _rotation = _rotation + 1; _y = _y + yspeed; yspeed += grav; } } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 769 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 769 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (load) { var1 = 0; grav = 1; yspeed = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { var1 = 1; } if (var1 == 1) { _rotation = _rotation + 1; _y = _y + yspeed; yspeed += grav; } } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 771 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 780 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 775 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 782 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 784 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 784 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 784 { onClipEvent (enterFrame) { if (_root.switched5 != true && this.hitTest(_root.player.ball)) { _root.com.var1 = 1; _root.com.ph = 'Activate the switch!!'; } } } instance of movieClip 769 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance block2 of movieClip 791 { onClipEvent (enterFrame) { if (_root.switched5 == true) { this._x = 100000; } } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 794 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 795 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 794 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 795 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 769 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 780 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 773 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } } instance of movieClip 634 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 382 { onClipEvent (enterFrame) { if (_currentframe == 1) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(2); _root.switched5 = true; } } } } movieClip 798 { } instance of movieClip 798 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 800 { } movieClip 802 { } movieClip 804 { } movieClip 805 { } movieClip 806 { } movieClip 807 { frame 6 { _parent.gotoAndStop(1); } } movieClip 809 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 40 { _parent.gotoAndStop(1); } } movieClip 811 { } movieClip 812 { frame 41 { stop(); } instance of movieClip 811 { onClipEvent (enterFrame) { _alpha = _alpha - 1; } } } movieClip 813 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } } instance of movieClip 813 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['Gears4' + _root.i]._xscale += 150; _root['Gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } instance shota of movieClip 646 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } } instance com of movieClip 568 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; dx = _x; dy = _y; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w - 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; _root.tree._x = cx / -5; _root.fog._x = cx; } } movieClip 816 { } movieClip 817 { } instance tree of movieClip 817 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance gears5 of movieClip 546 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears5') { _visible = false; this.gotoAndStop(2); } } } movieClip 819 { } movieClip 820 { frame 1 { stop(); } } movieClip 821 { frame 1 { stop(); } instance of movieClip 820 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 820 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 820 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 820 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 820 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } } instance gears4 of movieClip 821 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears4') { _visible = false; this.gotoAndStop(2); } } } instance airguy of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1501); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } movieClip 823 { } movieClip 825 { } movieClip 826 { } movieClip 827 { } movieClip 828 { frame 7 { _parent.gotoAndStop(1); } } movieClip 859 { } movieClip 860 { } movieClip 861 { frame 10 { _root.ball.shoot = true; } frame 47 { _root.ball.restart = true; _parent.gotoAndStop(1); } } movieClip 862 { frame 38 { stop(); } } movieClip 863 { frame 1 { _root.ball.restart = true; _root.ball.shoot = false; } frame 4 { _root.ball.restart = false; } frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } instance of movieClip 862 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { _alpha = _alpha - 1; } if (_alpha <= 2) { _visible = false; i = 0; } } } } instance bloople of movieClip 863 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears2(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead && _currentframe != 4) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (d <= 235 & this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears2(); _root['Gears2' + _root.i]._xscale += 150; _root['Gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (_currentframe == 4 && _xscale >= 0) { _root.ball.xx = 1; } if (_currentframe == 4 && _xscale <= 0) { _root.ball.xx = 0; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 602 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var2 != 1) { this.gotoAndPlay(1); var1 = 1; var2 = 1; } if (var1 == 1) { this._x = _root.player._x; this._y = _root.player._y; } } } instance of movieClip 384 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.fadeOut.play(); } } } movieClip 865 { } movieClip 866 { frame 21 { stop(); } } movieClip 867 { frame 1 { stop(); } } instance ball of movieClip 867 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; grav = 0.5; w = _width / 2; h = _height / 2; } onClipEvent (enterFrame) { if (_currentframe != 2) { _x = _x + xspeed; } xspeed *= 0.95; if (shoot == true && var2 != 1) { if (_root.bloople._xscale < 0) { _x = _root.bloople._x - 17; } else { _x = _root.bloople._x + 17; } _y = _root.bloople._y; var2 = 1; } if (shoot == true) { if (_currentframe != 2) { _y = _y + yspeed; yspeed += grav; if (var1 != 1 && _root.bloople._xscale > 0) { xspeed = -45; var1 = 1; } if (var1 != 1 && _root.bloople._xscale < 0) { xspeed = 45; var1 = 1; } } } if (_root.land.hitTest(_x, _y + h, true)) { this.gotoAndStop(2); } if (this.hitTest(_root.player.ball)) { this.gotoAndStop(2); _root.blink.play(); _root.shake.play(); } if (restart == true) { var2 = 0; var1 = 0; xspeed = 0; yspeed = 0; gotoAndStop(1); _x = 1000; restart = false; } } } movieClip 870 { } instance fog of movieClip 870 { onClipEvent (enterFrame) { if (_root.player._y >= _y) { _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root.blink.play(); _root.shake.play(); } } } instance blocker of movieClip 605 { onClipEvent (load) { var1 = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.fadeOut._currentframe >= 2 && _root.fadeOut._currentframe <= 21) { _visible = true; } if (_root.fadeOut._currentframe == 1 or _root.fadeOut._currentframe >= 22) { _visible = false; } } } movieClip 882 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 882 { onClipEvent (enterFrame) { this.swapDepths(24002); } } movieClip 884 { } instance fadeOut of movieClip 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } frame 10 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 10 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 10 { _root.fadeOuted = false; } frame 10 { stop(); } frame 10 { a = 0; bx = 30; _root.bbx = 30; timea = 0; _root.allStop = false; onEnterFrame = function () { _root.timer = a + ':' + bx; ++timea; if (_root.bx == '00') { if (timea >= 60) { _root.bx = 59; _root.bbx = 59; --_root.a; timea = 0; } } if (timea >= 60) { --_root.bx; --_root.bbx; timea = 0; } if (_root.bx == 0) { _root.bx = '00'; } if (_root.bx < 10 && _root.bx != '00') { _root.bx = '0' + bbx; } if (_root.a == -1) { _root.allStop = true; _root.bx = '00'; _root.a = 0; } }; } frame 10 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z + 2800); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function MakeGears5() { ++i; _root.gears5.duplicateMovieClip('gears5' + i, i); _root['gears5' + i]._x = _root.botX; _root['gears5' + i]._y = _root.botY; _root['gears5' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } function MakeEnemy() { if (k >= 350) { k = 301; } if (_root.allStop != true) { ++k; en = random(6); if (en == 0) { _root.r1.duplicateMovieClip('r' + k, k); _root['r' + k]._x = 867; _root['r' + k]._y = 422; } if (en == 1) { _root.r2.duplicateMovieClip('r2' + k, k); _root['r2' + k]._x = 867; _root['r2' + k]._y = 422; } if (en == 2) { _root.r3.duplicateMovieClip('r3' + k, k); _root['r3' + k]._x = 867; _root['r3' + k]._y = 422; } if (en == 3) { _root.r4.duplicateMovieClip('r4' + k, k); _root['r4' + k]._x = 867; _root['r4' + k]._y = 422; } if (en == 4) { _root.r5.duplicateMovieClip('r5' + k, k); _root['r5' + k]._x = 867; _root['r5' + k]._y = 422; } if (en == 5) { _root.r6.duplicateMovieClip('r6' + k, k); _root['r6' + k]._x = 600; _root['r6' + k]._y = -100; } } } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; z = 0; i = 200; k = 301; } frame 10 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 887 { } instance Bg of movieClip 887 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 889 { frame 23 { stop(); } } movieClip 891 { } movieClip 892 { } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } instance com of movieClip 568 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { this.swapDepths(8346); _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 17; var jumpa = 20; dx = _x; dy = _y; rot = _rotation; j = 0; } onClipEvent (enterFrame) { ++j; yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; dx = _x; dy = _y; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w - 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (j >= 35) { _root.MakeEnemy(); j = 0; } } } instance gears5 of movieClip 546 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears5') { _visible = false; this.gotoAndStop(2); } } } instance gears4 of movieClip 821 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears4') { _visible = false; this.gotoAndStop(2); } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } _root.wavesecond = true; _root.wavethird = false; if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(3); } if (_currentframe == 3) { this._x = _root.player._x; this._y = _root.player._y; } } } movieClip 894 { } instance of movieClip 894 { onClipEvent (enterFrame) { this.swapDepths(7062); if (this.hitTest(_root.player.ball) && _root.allStop == true) { _root.fadeOut.play(); } } } instance r1 of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; _xscale = scale; dead = false; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; hit = false; } onClipEvent (enterFrame) { if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 45, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 45, true)) { _y = _y - 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (d <= 875 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance r2 of movieClip 542 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; dead = false; _xscale = scale; hit = false; xxx = 0; rot = _rotation; _xscale = scale; } onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears5(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (_currentframe == 1) { this.cacheAsBitmap = true; } else { this.cacheAsBitmap = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 45, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 45, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (d <= 850 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { if (_rotation <= rot + 15) { _rotation = _rotation + 2; } xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { if (_rotation >= rot - 15) { _rotation = _rotation - 2; } xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(1); } if (_currentframe == 1) { if (_rotation <= rot) { _rotation = _rotation + 2; } if (_rotation >= rot) { _rotation = _rotation - 2; } } if (xxx >= 4 && dead != true) { this.gotoAndStop(5); _root.MakeGears5(); _root['Gears5' + _root.i]._xscale += 150; _root['Gears5' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance r3 of movieClip 696 { onClipEvent (load) { var1 = 0; xspeed = 0; dx = _x; dy = _y; scale = _xscale; dead = false; hit = false; _xscale = scale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (_currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.5; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.5; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } if (xxx >= 3 && dead != true) { this.gotoAndStop(4); _root.MakeGears3(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (this.hitTest(_root.player.ball) && _currentframe == 2) { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } } instance r4 of movieClip 813 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; dead = false; _xscale = scale; hit = false; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears4(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 875 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 3 && dead != true) { this.gotoAndStop(5); _root.MakeGears4(); _root['Gears4' + _root.i]._xscale += 150; _root['Gears4' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance r5 of movieClip 525 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; rot = _rotation; _xscale = scale; dead = false; hit = false; } onClipEvent (enterFrame) { if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears5(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 900 && !this.side.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.side.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(2); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears5(); _root['Gears5' + _root.i]._xscale += 150; _root['Gears5' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance r6 of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = _xscale; _xscale = scale; j = 0; i = 0; xxx = 0; a = 0; dead = false; hit = false; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 950 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance health of movieClip 618 { onClipEvent (enterFrame) { this.swapDepths(24001); } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } frame 11 { _root.lastLevel = _currentframe; _root.noScore = true; } frame 11 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 11 { stop(); for (i in _root) { _root[i].removeMovieClip(); } stopAllSounds(); } movieClip 898 { } movieClip 901 { } movieClip 903 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } movieClip 907 { } movieClip 911 { } movieClip 913 { frame 355 { stop(); _root.nextFrame(); } } movieClip 916 { frame 12 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 916 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } frame 12 { _root.noScore = false; } frame 12 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _x = 0; _y = 0; _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); z = 0; i = 200; redot = 0; } frame 12 { _root.playAll = 0; _quality = 'low'; } movieClip 918 { } instance treees of movieClip 918 { onClipEvent (load) { var1 = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (_root.playAll == 1) { this.play(); } else { this.stop(); } if (_root.playAll == 0) { _x = dx; _y = dy; gotoAndStop(1); } } } movieClip 926 { } movieClip 927 { } instance boss of movieClip 927 { onClipEvent (load) { var1 = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (_root.playAll == 1) { this.play(); } else { this.stop(); } } } movieClip 928 { } movieClip 929 { instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; rot = _rotation; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } instance of movieClip 928 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; dx = _x; dy = _y; rot = _rotation; } onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && _root.playAll == 1 && _root.blink._currentframe == 1) { varDestroy = 1; } if (varDestroy == 1) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } if (_root.blink._currentframe > 1) { xspeed = -20 + random(40); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; _visible = true; this._x = dx; this._y = dy; this._rotation = rot; varDestroy = 0; } } } } instance land of movieClip 929 { onClipEvent (load) { var1 = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (_root.playAll == 1) { _x = _x - 7; } if (_root.playAll == 0) { _x = dx; _y = dy; } } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance shota of movieClip 646 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } movieClip 931 { } instance of movieClip 931 { onClipEvent (load) { var1 = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.nextFrame(); } if (_root.playAll == 1) { _x = _x - 7; } if (_root.playAll == 0) { _x = dx; _y = dy; } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; dx = 467.5; dy = _y; trace(_root.player._x); aa = 250; bb = 100; rot = _rotation; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; dx = _x; dy = _y; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w - 1, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4 && _root.playAll == 1) { xspeed -= 1.5; } if (Key.isDown(39) && _currentframe != 4 && _root.playAll == 1) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold && _root.playAll == 1) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; _root.tree._x = cx / -5; _root.fog._x = cx; if (_root.playAll == 1) { _root.boss._x = _x - 450; _root.treees._x = cx - 500; } _root.goer._x = cx - 100; _root.goer._y = cy - 150; } } instance fog of movieClip 870 { onClipEvent (enterFrame) { if (_root.player._y >= _y) { _root.player._x = 467.5; _root.player._y = _root.player.dy - 50; _root.player.cx = _root.player.dx; _root.player.cy = _root.player.dy; _root.blink.play(); _root.shake.play(); _root.boss._x = _root.boss.dx; _root.trees._x = _root.trees.dx; _root.player.gotoAndStop(1); _root.goer.gotoAndPlay(1); } } } // unknown tag 88 length 217 movieClip 937 { frame 1 { _root.playAll = 0; } frame 71 { stop(); _root.playAll = 1; } } instance goer of movieClip 937 { onClipEvent (enterFrame) { this.swapDepths(26023); } } instance health of movieClip 882 { onClipEvent (enterFrame) { this.swapDepths(24002); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 484 { onClipEvent (enterFrame) { this.swapDepths(50000); } } frame 13 { stopAllSounds(); _x = 0; _y = 0; for (i in _root) { _root[i].removeMovieClip(); } _root.lastLevel = _currentframe; _root.noScore = true; } movieClip 944 { frame 84 { stop(); _root.nextFrame(); } } frame 14 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 14 { _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); _x = 0; _y = 0; } frame 14 { _root.fadeOuted = false; } frame 14 { stop(); } frame 14 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; this.score.score += 500; z = 0; i = 200; } frame 14 { _quality = 'LOW'; shoot = new Sound(); shoot.attachSound('shoot'); phrases = new Array(); phrases = ['You make this look easy', 'Lol, sucks to be you!', 'Oh.. Oh God...', 'You make me sick...', 'Watch out for my- oh.. too late..']; } movieClip 947 { } movieClip 950 { } movieClip 952 { } movieClip 953 { } movieClip 955 { instance of movieClip 950 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball)) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } } } instance of movieClip 950 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball) && _root.player._currentframe != 5) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } if (this.air.hitTest(_root.player.ball) && _root.player._currentframe == 5) { _root.player.yspeed = -27; } } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball) && _root.player._currentframe != 5) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } if (this.air.hitTest(_root.player.ball) && _root.player._currentframe == 5) { _root.player.yspeed = -27; } } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball) && _root.player._currentframe != 5) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } if (this.air.hitTest(_root.player.ball) && _root.player._currentframe == 5) { _root.player.yspeed = -27; } } } instance of movieClip 953 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball) && _root.player._currentframe != 5) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } if (this.air.hitTest(_root.player.ball) && _root.player._currentframe == 5) { _root.player.yspeed = -27; } } } } movieClip 957 { instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 266 { onClipEvent (enterFrame) { if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } instance of movieClip 258 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe == 1) { this.cacheAsBitmap = true; } if (this._currentframe == 3 && var1 != 1) { _root.blockX = _x; _root.blockY = _y; _root.MakeBalls(); var1 = 1; } if (_currentframe != 3 && _root.blockDetection == true) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { this.gotoAndStop(3); } } } } } movieClip 962 { } movieClip 964 { } instance of movieClip 964 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.fadeOut._currentframe == 1) { _root.fadeOut.play(); } } } movieClip 966 { } movieClip 968 { } movieClip 970 { } movieClip 972 { } movieClip 974 { } movieClip 975 { } movieClip 976 { } movieClip 977 { frame 8 { _parent.gotoAndStop(1); } } movieClip 978 { } movieClip 979 { } movieClip 980 { } movieClip 981 { } movieClip 982 { } movieClip 983 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 31 { _parent.gotoAndStop(1); } } movieClip 985 { frame 22 { stop(); } } movieClip 986 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 313 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 150) { this._visible = false; } } } } instance of movieClip 986 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 675 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 433 { onClipEvent (load) { var1 = 0; grav = 1; yspeed = 0; i = 0; var1 = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.jetpack != true && _root.went != true) { _visible = false; _root.jetpack = true; } if (_root.jetpack == false && _root.player._currentframe == 5) { var1 = 1; _root.went = true; _x = _root.player._x; _y = _root.player._y; _visible = true; } if (var1 == 1) { _y = _y + yspeed; yspeed += grav; if (xxxx != 1) { _rotation = random(360); xxxx = 1; } _rotation = _rotation + 5; ++i; } if (i >= 200) { _visible = false; } } } instance of movieClip 337 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears3(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.barrier.hitTest(_x - w, _y, true)) { while (_root.barrier.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.barrier2.hitTest(_x + w, _y, true)) { while (_root.barrier2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 450 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.6; _xscale = -scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.6; _xscale = scale; if (!this.hitTest(_root.barrier) && !this.hitTest(_root.barrier2)) { gotoAndStop(2); } } if (this.hitTest(_root.barrier)) { gotoAndStop(1); } if (this.hitTest(_root.barrier2)) { gotoAndStop(1); } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 8 && dead != true) { this.gotoAndStop(5); _root.MakeGears3(); _root['gears3' + _root.i]._xscale += 150; _root['gears3' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } instance shota of movieClip 646 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } } instance com of movieClip 568 { onClipEvent (load) { var1 = 0; scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance of movieClip 602 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var2 != 1) { this.gotoAndPlay(1); var1 = 1; var2 = 1; } if (var1 == 1) { this._x = _root.player._x; this._y = _root.player._y; } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } instance player of movieClip 436 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; } onClipEvent (enterFrame) { if (_root.jetpack != true) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; } if (_root.jetpack == true) { if (_currentframe != 6) { this.gotoAndStop('jet'); } yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; yspeed *= 0.87; xspeed *= 0.87; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37)) { xspeed -= 1.5; if (_currentframe != 6) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39)) { xspeed += 1.5; if (_currentframe != 6) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38)) { yspeed -= 2; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 6) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 8) { this.gotoAndStop(6); holda = true; _root.MakeWave(); } if (!Key.isDown(32) && holda == true) { holda = false; } if (Key.isDown(40)) { yspeed += 1; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance airguy of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1502); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance airguy2 of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1503); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance airguy3 of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1504); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } movieClip 988 { } instance of movieClip 988 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.jetpack = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 355 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance airguy4 of movieClip 374 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { this.swapDepths(1507); if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 450 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y + 200) { yspeed += 0.5; } if (_root.player._y < _y + 200) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 7 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 50) { _root.botX = _x; _root.botY = _y; if (_currentframe != 2 && !dead) { this.gotoAndStop(4); _root.makeShot(); if (_root.player._x < _x) { _root['shot' + _root.i]._rotation = 135; _root['shot' + _root.i]._x = _root.botX - 50; _root['shot' + _root.i]._y = _root.botY + 140; } if (_root.player._x > _x) { _root['shot' + _root.i]._rotation = 400; _root['shot' + _root.i]._x = _root.botX + 60; _root['shot' + _root.i]._y = _root.botY + 125; } } a = 0; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 554 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_currentframe == 3) { dead = true; } if (d <= 350 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } if (_root.player._y > _y) { yspeed += 0.5; } if (_root.player._y < _y + 60) { yspeed -= 0.5; } } if (var1 == 0) { rot = 0; } if (_currentframe != 2 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(2); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 2 && dead != true) { this.gotoAndStop(3); _root.MakeGears5(); dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance of movieClip 314 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (_currentframe != 3 && dead != true && !hit) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; ++xxx; _root.MakeGears(); this.gotoAndStop(3); hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w + 1, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x + w - 20, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 20, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 25, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 25, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } if (d <= 375 && !this.hitTest(_root.player.ball) && _currentframe != 3 && !dead) { if (_x <= _root.player._x) { xspeed += 0.7; _xscale = -scale; if (varBlocks != true) { gotoAndStop(2); } } if (_x >= _root.player._x) { xspeed -= 0.7; _xscale = scale; if (varBlocks != true) { gotoAndStop(2); } } if (_root.blocks.hitTest(_x + w, _y, true) || _root.blocks.hitTest(_x - w, _y, true)) { gotoAndStop(1); varBlocks = true; } else { varBlocks = false; } } else { if (_currentframe != 3 && !dead && _currentframe != 4) { gotoAndStop(1); } } if (this.hitTest(_root.player.ball) && this._currentframe != 3 && !dead) { this.gotoAndStop(4); } if (xxx >= 5 && dead != true) { this.gotoAndStop(5); _root.MakeGears(); _root['gears' + _root.i]._xscale += 150; _root['gears' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } } } instance blocker of movieClip 605 { onClipEvent (load) { var1 = 0; _visible = false; } onClipEvent (enterFrame) { if (_root.fadeOut._currentframe >= 2 && _root.fadeOut._currentframe <= 21) { _visible = true; } if (_root.fadeOut._currentframe == 1 or _root.fadeOut._currentframe >= 22) { _visible = false; } } } movieClip 1000 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 1000 { onClipEvent (enterFrame) { this.swapDepths(24002); } } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } instance red of movieClip 470 { onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; } } movieClip 1003 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; _root.nextFrame(); } } instance fadeOut of movieClip 1003 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 484 { onClipEvent (enterFrame) { this.swapDepths(50000); } } frame 15 { _root.noScore = true; } frame 15 { _x = 0; _y = 0; stopAllSounds(); for (i in _root) { _root[i].removeMovieClip(); } } frame 15 { _x = 0; _y = 0; stopAllSounds(); for (i in _root) { _root[i].removeMovieClip(); } } movieClip 1006 { } movieClip 1007 { } movieClip 1008 { } movieClip 1009 { } movieClip 1012 { } movieClip 1013 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } movieClip 1014 { frame 182 { stop(); _root.nextFrame(); } } frame 16 { _root.t = 1; if (_root.allba != 1) { _root.allab.setVolume(100); } else { _root.allab.setVolume(0); } _root.lastLevel = _currentframe; _root.noScore = false; } frame 16 { _root.fadeOuted = false; } frame 16 { _quality = 'low'; } frame 16 { function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } i = 0; z = 0; j = 0; c = 0; var1 = 0; aa = 0; _root.black = false; onEnterFrame = function () { ++i; ++j; ++c; ++aa; if (i >= 100 && var1 != 1) { ++z; _root.comet.duplicateMovieClip('comet' + z, z); _root['comet' + z]._x = 1000; _root['comet' + z]._y = 350 - random(350); i = 0; } if (j >= 85 && var1 != 1) { ++z; _root.lcomet.duplicateMovieClip('lcomet' + z, z); _root['lcomet' + z]._x = 1000; _root['lcomet' + z]._y = 350 - random(350); j = 0; } if (c >= 30 && var1 != 1) { ++z; _root.coina.duplicateMovieClip('coina' + z, z); _root['coina' + z]._x = 1000; _root['coina' + z]._y = 350 - random(350); _root['coina' + z].gotoAndStop(1); c = 0; } if (aa >= 1900) { _root.fadeOut.play(); var1 = 1; aa = 0; z = 0; } }; } movieClip 1015 { } movieClip 1016 { } movieClip 1018 { } movieClip 1019 { } movieClip 1025 { } movieClip 1026 { frame 12 { _parent.gotoAndStop(1); } } movieClip 1027 { frame 11 { _parent.gotoAndStop(1); } } movieClip 1028 { frame 1 { stop(); } frame 3 { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } instance player of movieClip 1028 { onClipEvent (load) { rot = _rotation; yspeed = 0; xspeed = 0; rota = 0; i = 0; cy = _y; cx = _x; } onClipEvent (enterFrame) { if (_currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } _x = _x + xspeed; _y = _y + yspeed; yspeed *= 0.9300000000000001; xspeed *= 0.9300000000000001; if (Key.isDown(38)) { yspeed -= 1; if (_rotation >= -15) { _rotation = _rotation - 1.4; } } else { if (Key.isDown(40)) { yspeed += 1; if (_rotation <= 15) { _rotation = _rotation + 1.4; } } else { if (_rotation <= rot) { _rotation = _rotation + 1; } if (_rotation >= rot) { _rotation = _rotation - 1; } } } if (Key.isDown(39)) { xspeed += 1; } if (Key.isDown(37)) { xspeed -= 1; } if (_y <= 0) { yspeed = -yspeed; if (yspeed < 0) { yspeed = 10; } } if (_y >= 450) { yspeed = -yspeed; if (yspeed > 0) { yspeed = -10; } } if (_x >= 850) { xspeed = -xspeed; if (xspeed > 0) { xspeed = -10; } } if (_x <= 50) { xspeed = -xspeed; if (xspeed < 0) { xspeed = 10; } } if (Key.isDown(32) && _currentframe != 2 && _currentframe != 3) { gotoAndStop(2); } cy += (_y - cy) / 20; if (cy > 160 && cy < 260) { _root._y = Stage.height / 2 - cy; _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; cx += (_x - cx) / 5; _root.score._x = cx - 330; } } } movieClip 1030 { frame 1 { stop(); } } movieClip 1031 { frame 1 { stop(); } } movieClip 1032 { frame 1 { stop(); } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1030 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } instance of movieClip 1031 { onClipEvent (load) { var1 = 0; h = _height / 2; w = _width / 2; xspeed = -10 + random(20); yspeed = -random(20); drag = 0.98; bounce = 1; gravity = 0.64; } onClipEvent (enterFrame) { _rotation = _rotation + xspeed; _root.speed = this.xspeed; if (_y >= 600) { this.gotoAndStop(2); _visible = false; } if (!dragging) { _x = _x + xspeed; _y = _y + yspeed - 0.29; yspeed = yspeed * drag + gravity; xspeed *= drag; } else { xspeed = _x - oldx; yspeed = _y - oldy; oldx = _x; oldy = _y; } } } frame 2 { stop(); } } movieClip 1033 { instance balls of movieClip 1032 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); this._visible = false; this.gotoAndStop(2); } } } frame 15 { stop(); } } movieClip 1034 { frame 1 { stop(); } frame 2 { _root.calculateEnemySmallScore(); } } instance comet of movieClip 1034 { onClipEvent (load) { ymov = Math.round(random(17) + 13); xmov = ymov; w = _width / 2; h = _height / 2; i = 0; z = 0; var9 = 0; _rotation = random(360); } onClipEvent (enterFrame) { if (_currentframe != 2) { _rotation = _rotation + 6; _x = _x - xmov; _y = _y + ymov; if (_y < 0) { xmov *= 1; ymov *= -1; } if (_y > 500) { xmov *= 1; ymov *= -1; } if (_x < -150) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } if (_currentframe == 3) { ++i; if (i >= 100) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } } if (this.hitTest(_root.player.shoot.hit)) { this.gotoAndStop(2); } if (this.hitTest(_root.player.ball) && _root.player._currentframe != 3) { _root.player.gotoAndStop(3); } } } } movieClip 1036 { frame 1 { stop(); } frame 2 { _root.calculateEnemySmallScore(); } } instance lcomet of movieClip 1036 { onClipEvent (load) { xmov = 20; w = _width / 2; h = _height / 2; i = 0; z = 0; var9 = 0; _rotation = random(360); } onClipEvent (enterFrame) { if (_currentframe != 2) { _x = _x - xmov; _y = _y + ymov; if (_y < 0) { xmov *= 1; ymov *= -1; } if (_y > 500) { xmov *= 1; ymov *= -1; } if (_x < -150) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } if (_currentframe == 3) { ++i; if (i >= 100) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } } if (this.hitTest(_root.player.shoot.hit)) { this.gotoAndStop(2); } if (this.hitTest(_root.player.ball) && _root.player._currentframe != 3) { _root.player.gotoAndStop(3); } } } } instance coina of movieClip 355 { onClipEvent (load) { ymov = Math.round(random(9) + 13); xmov = ymov; w = _width / 2; h = _height / 2; i = 0; z = 0; var9 = 0; } onClipEvent (enterFrame) { if (_currentframe != 2) { _x = _x - xmov; _y = _y + ymov; if (_y < -60) { xmov *= 1; ymov *= -1; } if (_y > 500) { xmov *= 1; ymov *= -1; } if (_x < -150) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } if (_currentframe == 2) { ++i; if (i >= 100) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } } if (this.hitTest(_root.player.ball) && _currentframe != 2) { this.gotoAndStop(2); ++_root.starr; } } } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance gears2 of movieClip 397 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears2') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance gears3 of movieClip 409 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears3') { _visible = false; this.gotoAndStop(2); } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } instance health of movieClip 618 { onClipEvent (enterFrame) { this.swapDepths(24001); } } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } movieClip 1039 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 11 { _root.wide.removeMovieClip(); } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; _root.nextFrame(); } } instance fadeOut of movieClip 1039 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 1042 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 1042 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 484 { onClipEvent (enterFrame) { this.swapDepths(50000); } } frame 17 { _root.noScore = true; } frame 17 { _quality = 'low'; } frame 17 { _x = 0; _y = 0; for (i in _root) { _root[i].removeMovieClip(); } stop(); } movieClip 1046 { } movieClip 1047 { } movieClip 1048 { } movieClip 1050 { } movieClip 1057 { } movieClip 1058 { } movieClip 1061 { } movieClip 1064 { } movieClip 1066 { } movieClip 1068 { } movieClip 1071 { } movieClip 1073 { frame 380 { _root.nextFrame(); } } frame 18 { _root.noScore = false; } frame 18 { _quality = 'low'; } frame 18 { _root.fadeOuted = false; } frame 18 { _quality = 'low'; } frame 18 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function MakeGears4() { ++i; _root.gears4.duplicateMovieClip('gears4' + i, i); _root['gears4' + i]._x = _root.botX; _root['gears4' + i]._y = _root.botY; _root['gears4' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } i = 0; z = 0; _root.black = false; onEnterFrame = function () { ++i; ++j; ++c; if (i >= 150) { ++z; _root.comet.duplicateMovieClip('comet' + z, z); _root['comet' + z]._x = 3000; _root['comet' + z]._y = 350 - random(350); i = 0; } }; _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _x = 0; _y = 0; _root.fadeOut.gotoAndStop(1); _root.fadeIn.gotoAndPlay(1); z = 0; i = 200; redot = 0; } movieClip 1076 { } movieClip 1077 { } movieClip 1079 { } movieClip 1081 { } movieClip 1083 { } movieClip 1084 { } movieClip 1085 { } movieClip 1087 { } movieClip 1101 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._parent._parent._xscale > 0) { _root.player.xspeed = -27; _root.player.gotoAndStop(3); if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._parent._parent._xscale < 0) { _root.player.xspeed = 27; _root.player.gotoAndStop(3); if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 25 { stop(); } } movieClip 1102 { frame 66 { _parent.gotoAndStop(1); } } movieClip 1103 { } movieClip 1104 { frame 6 { _parent.gotoAndStop(1); } } movieClip 1105 { frame 1 { stop(); } } instance ball of movieClip 1105 { onClipEvent (load) { i = 0; var1 = 0; scale = _xscale; j = 0; xxx = 0; dead = false; } onClipEvent (enterFrame) { if (_root.player._x <= _x && !dead) { _xscale = scale; } if (_root.player._x >= _x && !dead) { _xscale = -scale; } ++i; if (i >= 100 && !dead) { attack = random(2); i = 0; } if (attack == 0 && !dead) { this.gotoAndStop(2); attack = 10; } if (this.hitTest(_root.player.shoot.hit) && hit != true && _currentframe != 2 && !dead) { this.gotoAndStop(3); ++xxx; hit = true; } if (hit == true) { ++j; } if (j >= 20) { hit = false; j = 0; } if (xxx >= 40) { _root.fadeOut.play(); dead = true; } } } movieClip 1106 { frame 1 { stop(); } frame 2 { _root.player._alpha = 50; _root.health.nextFrame(); } frame 4 { _root.player._alpha = 100; } frame 6 { _root.player._alpha = 50; } frame 8 { _root.player._alpha = 100; } frame 10 { _root.player._alpha = 50; } frame 12 { _root.player._alpha = 100; } frame 14 { _root.player._alpha = 50; } frame 16 { _root.player._alpha = 100; } frame 18 { _root.player._alpha = 50; } frame 19 { _root.player._alpha = 100; } frame 20 { _root.player._alpha = 50; } frame 21 { _root.player._alpha = 100; } frame 22 { _root.player._alpha = 50; } frame 23 { _root.player._alpha = 100; } frame 24 { _root.player._alpha = 50; } frame 25 { _root.player._alpha = 100; } } instance blink of movieClip 1106 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance balls of movieClip 286 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } instance gears of movieClip 391 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'gears') { _visible = false; this.gotoAndStop(2); } } } instance shot of movieClip 405 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } ++i; if (i >= 3) { ok = true; } if (_currentframe != 2) { _x = _x + 40 * Math.cos(_rotation * 0.0174532925199433); _y = _y + 40 * Math.sin(_rotation * 0.0174532925199433); } if (_root.land.hitTest(this.endd._x + this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x - this.endd._width / 2, this.endd._y, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y + this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (_root.land.hitTest(this.endd._x, this.endd._y - this.endd._height / 2, true) && _currentframe != 2) { _rotation = 0; this.gotoAndStop(2); } if (this.hitTest(_root.player.balla) && ok == true && bleh != true) { _root.shake.play(); _root.health.nextFrame(); bleh = true; } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } instance comet of movieClip 1034 { onClipEvent (load) { ymov = Math.round(random(17) + 13); xmov = ymov; w = _width / 2; h = _height / 2; i = 0; z = 0; var9 = 0; _rotation = random(360); } onClipEvent (enterFrame) { if (_currentframe != 2) { _rotation = _rotation + 6; _x = _x - xmov; _y = _y + ymov; if (_y < -250) { xmov *= 1; ymov *= -1; } if (_y > 850) { xmov *= 1; ymov *= -1; } if (_x < -450) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } if (_currentframe == 3) { ++i; if (i >= 100) { this.removeMovieClip(); removeMovieClip(this); this.gotoAndStop('blank'); } } if (this.hitTest(_root.player.shoot.hit)) { this.gotoAndStop(2); } if (this.hitTest(_root.player.ball) && _root.player._currentframe != 3) { _root.player.gotoAndStop(3); } } } } instance player of movieClip 1028 { onClipEvent (load) { rot = _rotation; yspeed = 0; xspeed = 0; rota = 0; scale = _xscale; i = 0; cy = _y; cx = _x; } onClipEvent (enterFrame) { if (_x >= _root.ball._x) { _xscale = -scale; } else { _xscale = scale; } if (_currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } _x = _x + xspeed; _y = _y + yspeed; yspeed *= 0.9300000000000001; xspeed *= 0.9300000000000001; if (Key.isDown(38)) { yspeed -= 1; if (_xscale > 0) { if (_rotation >= -15) { _rotation = _rotation - 1.4; } } if (_xscale < 0) { if (_rotation <= 15) { _rotation = _rotation + 1.4; } } } else { if (Key.isDown(40)) { yspeed += 1; if (_xscale > 0) { if (_rotation <= 15) { _rotation = _rotation + 1.4; } } if (_xscale < 0) { if (_rotation >= -15) { _rotation = _rotation - 1.4; } } } else { if (_rotation <= rot) { _rotation = _rotation + 1; } if (_rotation >= rot) { _rotation = _rotation - 1; } } } if (Key.isDown(39)) { xspeed += 1; } if (Key.isDown(37)) { xspeed -= 1; } if (_y <= -250) { yspeed = -yspeed; if (yspeed < 0) { yspeed = 10; } } if (_y >= 850) { yspeed = -yspeed; if (yspeed > 0) { yspeed = -10; } } if (_x >= 1450) { xspeed = -xspeed; if (xspeed > 0) { xspeed = -10; } } if (_x <= 0) { xspeed = -xspeed; if (xspeed < 0) { xspeed = 10; } } if (Key.isDown(32) && _currentframe != 2 && _currentframe != 3) { gotoAndStop(2); } cy += (_y - cy) / 7; _root._y = Stage.height / 2 - cy; cx += (_x - cx) / 7; _root._x = Stage.width / 2 - cx; _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.Bg._y = cy; _root.Bg._x = cx / 1.2; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.gameOver._x = cx; _root.gameOver._y = cy; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.wide._x = cx; } } instance health of movieClip 761 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } instance fadeOut of movieClip 1039 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance fadeIn of movieClip 1042 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 484 { onClipEvent (enterFrame) { this.swapDepths(50000); } } frame 19 { _root.noScore = true; } frame 19 { _quality = 'medium'; } frame 19 { _quality = 'low'; } frame 19 { _x = 0; _y = 0; for (i in _root) { _root[i].removeMovieClip(); } } movieClip 1110 { } movieClip 1114 { } movieClip 1115 { } movieClip 1117 { } movieClip 1118 { frame 160 { stopAllSounds(); } frame 228 { stop(); _root.nextFrame(); } } frame 20 { _quality = 'low'; } movieClip 1124 { } movieClip 1125 { } movieClip 1126 { } movieClip 1128 { } movieClip 1130 { } movieClip 1135 { } movieClip 1136 { } movieClip 1143 { frame 1 { stopAllSounds(); } frame 1132 { _root.nextFrame(); stop(); stopAllSounds(); } frame 1335 { stopAllSounds(); _root.nextFrame(); } } frame 21 { _quality = 'high'; _root.noScore = true; } movieClip 1145 { } movieClip 1147 { frame 518 { _root.nextFrame(); } } frame 22 { _quality = 'low'; _root.black = false; } frame 22 { _quality = 'low'; _x = 0; _y = 0; } frame 22 { _root.fadeOuted = false; } frame 22 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = false; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; z = 0; i = 200; } movieClip 1148 { } movieClip 1149 { } movieClip 1150 { } movieClip 1151 { } movieClip 1152 { instance of movieClip 1135 { onClipEvent (enterFrame) { if (_root.player.maxJump == true) { _parent.play(); _root.player.maxJump = false; } } } frame 15 { stop(); } frame 24 { stop(); } instance of movieClip 1135 { onClipEvent (enterFrame) { if (_root.player.grounded == true) { _parent.play(); } } } frame 31 { _parent.gotoAndStop(1); } } movieClip 1154 { frame 20 { stop(); } } movieClip 1156 { } movieClip 1158 { } movieClip 1159 { frame 22 { _parent.gotoAndStop(1); } } movieClip 1160 { frame 6 { stop(); } frame 17 { _parent.gotoAndStop(1); } } movieClip 1161 { frame 1 { stop(); } } instance player of movieClip 1161 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; dx = _x; dy = _y; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; _root.dark._x = cx; _root.dark._y = cy; } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } movieClip 1166 { } movieClip 1167 { instance hit of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 7; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 34 { _root.gotHit = false; _parent.gotoAndStop(1); } } movieClip 1168 { frame 6 { _root.gotHit = true; _parent.gotoAndStop(2); } } movieClip 1169 { frame 1 { stop(); _root.gotHit = false; _root.blah = 0; } instance bit of movieClip 1167 { onClipEvent (enterFrame) { if (_root.gotHit == true && _root.blah != 1) { this.gotoAndPlay('kaa'); _root.blah = 1; } } } frame 3 { _root.gotHit = true; } } instance boss of movieClip 1169 { onClipEvent (load) { var1 = 0; xspeed = 0; yspeed = 0; rot = 0; rott = _rotation; scale = -_xscale; j = 0; i = 0; xxx = 0; a = 0; dead = false; } onClipEvent (enterFrame) { _x = _x + xspeed; _y = _y + yspeed; _rotation = _rotation + rot; xspeed *= 0.83; yspeed *= 0.83; rot *= 0.83; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (d <= 4650 && !dead) { var1 = 1; } else { var1 = 0; } if (!dead) { if (_root.player._x >= _x) { _xscale = scale; } if (_root.player._x <= _x) { _xscale = -scale; } } if (var1 == 1 && d >= 100) { if (_root.player._x >= _x + 200) { xspeed += 0.5; _xscale = scale; if (_rotation <= rott + 2) { rot += 0.2; } } if (_root.player._x <= _x - 200) { xspeed -= 0.5; _xscale = -scale; if (_rotation >= rott - 2) { rot -= 0.2; } } } if (var1 == 0) { rot = 0; } if (_currentframe == 2 && dead != true && !hit && this.bit._currentframe <= 20) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; this.gotoAndStop(3); ++xxx; hit = true; } } if (hit == true) { ++j; } if (j >= 15) { hit = false; j = 0; } if (xxx >= 40 && dead != true) { this.gotoAndStop(3); _root.MakeGears2(); _root['gears2' + _root.i]._xscale += 150; _root['gears2' + _root.i]._yscale += 150; dead = true; com = random(2); if (com == 1) { _root.com.var1 = 1; _root.com.ph = _root.phrases[random(_root.phrases.length)]; com = 5; } } if (d <= 350 && !dead) { ++a; if (a >= 60 && _currentframe == 1) { atta = random(2); } if (atta == 0) { if (_currentframe != 2 && !dead) { this.gotoAndStop(2); attack = true; } a = 0; atta = 100; } if (atta == 1) { a = 0; atta = 100; } } if (xxx >= 30) { _root.fadeOut.play(); dead = true; } } } instance wave of movieClip 456 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } movieClip 1171 { } instance health of movieClip 761 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } instance fadeOut of movieClip 1039 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 1174 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 1174 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } frame 23 { _root.fScore = _root.score.score; } frame 23 { _x = 0; _y = 0; _root.noScore = true; _quality = 'high'; stopAllSounds(); for (i in _root) { _root[i].removeMovieClip(); } } movieClip 1176 { } movieClip 1177 { } movieClip 1183 { frame 1184 { stop(); stopAllSounds(); _root.gotoAndStop('credits'); } } frame 30 { _x = 0; _y = 0; for (i in _root) { _root[i].removeMovieClip(); } } frame 30 { _root.noScore = true; } movieClip 1190 { frame 1 { stopAllSounds(); } frame 1061 { _root.deathplayed = true; } frame 1335 { stopAllSounds(); _root.gotoAndStop('deathFight'); } } instance of movieClip 1190 { onClipEvent (enterFrame) { if (_currentframe == 2) { if (_root.deathplayed == true) { this.gotoAndPlay('deathawaits'); } } } } frame 31 { _root.noScore = true; } frame 31 { _root.fadeOuted = false; } frame 31 { function MakeWave() { ++z; if (z >= 10) { z = 1; } _root.wave.duplicateMovieClip('wave' + z, z); _root['wave' + z].scale = _root['wave' + z]._xscale; if (_root.player._xscale < 0) { _root['wave' + z]._x = _root.player._x - 30; _root['wave' + z]._xscale = -_root['wave' + z].scale; } if (_root.player._xscale > 0) { _root['wave' + z]._x = _root.player._x + 30; _root['wave' + z]._xscale = _root['wave' + z].scale; } _root['wave' + z]._y = _root.player._y; } function MakeBalls() { ++i; _root.balls.duplicateMovieClip('balls' + i, i + 100); _root['balls' + i]._x = _root.blocks._x + _root.blockX; _root['balls' + i]._y = _root.blocks._y + _root.blockY; _root['balls' + i].i = 0; } function MakeGears() { ++i; _root.gears.duplicateMovieClip('gears' + i, i + 200); _root['gears' + i]._x = _root.botX; _root['gears' + i]._y = _root.botY; _root['gears' + i].i = 0; } function MakeGears2() { ++i; _root.gears2.duplicateMovieClip('gears2' + i, i); _root['gears2' + i]._x = _root.botX; _root['gears2' + i]._y = _root.botY; _root['gears2' + i].i = 0; } function MakeGears3() { ++i; _root.gears3.duplicateMovieClip('gears3' + i, i); _root['gears3' + i]._x = _root.botX; _root['gears3' + i]._y = _root.botY; _root['gears3' + i].i = 0; } function makeShot() { ++i; _root.shot.duplicateMovieClip('shot' + i, i); _root['shot' + i].i = 0; } function makeShota() { ++i; _root.shota.duplicateMovieClip('shota' + i, i); _root['shota' + i]._rotation = _root.player.can._rotation; _root['shota' + i]._x = _root.player.can._x + 575; _root['shota' + i]._y = _root.player.can._y + 233; } function calculateCoinScore() { if (_root.healthy == 11) { _root.score.score += 15; } if (_root.healthy == 10) { _root.score.score += 13; } if (_root.healthy == 9) { _root.score.score += 11; } if (_root.healthy == 8) { _root.score.score += 9; } if (_root.healthy == 7) { _root.score.score += 8; } if (_root.healthy == 6) { _root.score.score += 7; } if (_root.healthy == 5) { _root.score.score += 6; } if (_root.healthy == 4) { _root.score.score += 5; } if (_root.healthy == 3) { _root.score.score += 4; } if (_root.healthy == 2) { _root.score.score += 3; } if (_root.healthy == 1) { _root.score.score += 2; } } function calculateEnemySmallScore() { if (_root.healthy == 11) { _root.score.score += 20; } if (_root.healthy == 10) { _root.score.score += 17; } if (_root.healthy == 9) { _root.score.score += 14; } if (_root.healthy == 8) { _root.score.score += 12; } if (_root.healthy == 7) { _root.score.score += 10; } if (_root.healthy == 6) { _root.score.score += 8; } if (_root.healthy == 5) { _root.score.score += 7; } if (_root.healthy == 4) { _root.score.score += 6; } if (_root.healthy == 3) { _root.score.score += 5; } if (_root.healthy == 2) { _root.score.score += 4; } if (_root.healthy == 1) { _root.score.score += 3; } } function calculateEnemyBigScore() { if (_root.healthy == 11) { _root.score.score += 30; } if (_root.healthy == 10) { _root.score.score += 26; } if (_root.healthy == 9) { _root.score.score += 22; } if (_root.healthy == 8) { _root.score.score += 18; } if (_root.healthy == 7) { _root.score.score += 15; } if (_root.healthy == 6) { _root.score.score += 12; } if (_root.healthy == 5) { _root.score.score += 10; } if (_root.healthy == 4) { _root.score.score += 8; } if (_root.healthy == 3) { _root.score.score += 6; } if (_root.healthy == 2) { _root.score.score += 5; } if (_root.healthy == 1) { _root.score.score += 4; } } function calculateBlockScore() { _root.score.score += 2; } _root.black = true; _root.land.cacheAsBitmap = true; _root.Bg.cacheAsBitmap = true; _root.city.cacheAsBitmap = true; _root.BgAdd.cacheAsBitmap = true; _root.light.cacheAsBitmap = true; _root.blocker._alpha = 0; _root.blocker._visible = false; _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; z = 0; i = 200; _root.com.var1 = 1; _root.com.ph = 'I can strike him when his scythe is at seize!'; } movieClip 1193 { } movieClip 1195 { } movieClip 1200 { } movieClip 1205 { } movieClip 1206 { } movieClip 1208 { } movieClip 1217 { } movieClip 1219 { } movieClip 1222 { } movieClip 1223 { } movieClip 1224 { } movieClip 1225 { frame 21 { _parent.gotoAndStop(1); } } movieClip 1226 { } movieClip 1229 { } movieClip 1231 { instance hit of movieClip 1229 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -25; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 25; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 51 { _parent.gotoAndStop(1); } } movieClip 1232 { instance hit of movieClip 1229 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 36 { _parent.gotoAndStop(1); } } movieClip 1233 { frame 20 { _root.boss._xscale = -_root.boss._xscale; _parent.gotoAndStop(1); } } movieClip 1234 { } movieClip 1235 { } movieClip 1236 { } movieClip 1237 { frame 25 { stop(); _root.boss.stuckk = true; } frame 53 { _root.boss.stuckk = false; _root.boss.s = 0; _root.boss.stuck = 100; _root.boss.a2 = 0; _parent.gotoAndStop(1); } } movieClip 1239 { frame 12 { _parent.gotoAndStop(6); } } movieClip 1240 { instance hit of movieClip 1229 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _parent._parent._xscale > 0) { _root.player.xspeed = -10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } if (this.hitTest(_root.player.ball) && _parent._parent._xscale < 0) { _root.player.xspeed = 10; if (_root.blink._currentframe == 1) { _root.blink.play(); } if (_root.shake._currentframe == 1) { _root.shake.play(); } } } } frame 41 { _parent.gotoAndStop(1); } } movieClip 1241 { } movieClip 1242 { } movieClip 1243 { } movieClip 1244 { } movieClip 1245 { } movieClip 1247 { } movieClip 1249 { frame 47 { stop(); } } movieClip 1250 { frame 1 { stop(); _root.boss.turn = false; } instance stk of movieClip 1237 { onClipEvent (enterFrame) { if (_root.boss.stuckk == true && _root.boss.s <= 160) { this.gotoAndStop('stuck'); } } } instance of movieClip 1249 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { _root.fadeOut.play(); } } } } instance boss of movieClip 1250 { onClipEvent (load) { var1 = 0; scale = _xscale; _xscale = scale; xspeed = 8; a = 0; a2 = 0; s = 0; j = 0; a3 = 0; xxx = 0; } onClipEvent (enterFrame) { xx = _x - _root.player._x; d = Math.sqrt(xx * xx + xx * xx); if (d <= 1900 && !this.front.hitTest(_root.player.ball) && _currentframe != 6 && _currentframe != 9) { if (_x >= _root.player._x) { _x = _x - xspeed; if (_xscale < 0 && _currentframe != 5 && turn != true) { gotoAndStop(5); turn = true; } if (_currentframe != 5 && _currentframe != 3 && _currentframe != 9 && _currentframe != 4 && _currentframe != 8) { gotoAndStop(2); } } if (_x <= _root.player._x && _currentframe != 3 && _currentframe != 9 && _currentframe != 4 && _currentframe != 8) { _x = _x + xspeed; if (_xscale > 0 && _currentframe != 5 && turn != true) { gotoAndStop(5); turn = true; } if (_currentframe != 5 && _currentframe != 3 && _currentframe != 9 && _currentframe != 4 && _currentframe != 8) { gotoAndStop(2); } } } if (d <= 600 && _currentframe != 5 && _currentframe != 6 && _currentframe != 9 && _currentframe != 7) { ++a; } if (a >= 60 && _currentframe != 5 && _currentframe != 6 && _currentframe != 9 && _currentframe != 7) { attack = random(3); if (attack == 0) { gotoAndStop(3); } if (attack == 1) { gotoAndStop(4); } if (attack == 2) { gotoAndStop(8); } attack = 100; a = 0; } if (d <= 600 && _currentframe != 3 && _currentframe != 9 && _currentframe != 4 && _currentframe != 8 && _currentframe != 5) { ++a2; ++a3; } if (a2 >= 120) { stuck = random(2); } if (a3 >= 1000 && stuck != 0) { stuck = 0; } if (stuck == 0) { this.gotoAndStop(6); stuck = 100; a2 = 0; a = 0; a3 = 0; } if (stuck == 1) { stuck = 100; a2 = 0; a3 = 0; } if (stuckk == true) { if (_currentframe != 7 && s <= 160) { this.stk.gotoAndStop('stuck'); } ++s; } if (s >= 170) { this.stk.play(); } if (_currentframe == 6 && _currentframe != 7 && hit != true && s <= 160 && this.stk._currentframe == 25) { if (this.hitTest(_root.wave1) || this.hitTest(_root.wave2) || this.hitTest(_root.wave3) || this.hitTest(_root.wave4) || this.hitTest(_root.wave5) || this.hitTest(_root.wave6) || this.hitTest(_root.wave7) || this.hitTest(_root.wave8) || this.hitTest(_root.wave9) || this.hitTest(_root.wave10)) { _root.botX = _x; _root.botY = _y; _root.MakeGears2(); this.gotoAndStop(7); hit = true; ++xxx; } } if (hit == true) { ++j; } if (j >= 18) { hit = false; j = 0; } if (xxx >= 36 && _currentframe != 9) { gotoAndStop(9); } } } instance player of movieClip 1161 { onClipEvent (load) { var1 = 0; var yspeed = 0; var xspeed = 0; var grav = 1; var scale = _xscale; var w = _width / 2; var h = _height / 2; var grounded = false; var jump = 20; var jumpa = 23; cx = _x; cy = _y; aa = 250; bb = 100; rot = _rotation; dx = _x; dy = _y; } onClipEvent (enterFrame) { yspeed += grav; _y = _y + yspeed; _x = _x + xspeed; xspeed *= 0.87; grounded = false; if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.blocks.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.hitTest(_x, _y - h + 25, true) && !grounded) { yspeed = 3; this.gotoAndStop(1); while (_root.land.hitTest(_x, _y - h + 25, true)) { _y = _y + 0.1; } } if (_root.land.block.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.block.hitTest(_x - w, _y, true)) { _x = _x + 0.1; } } if (_root.land.block2.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.block2.hitTest(_x + w, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x + w - 50, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x + w - 50, _y, true)) { _x = _x - 0.1; } } if (_root.blocks.hitTest(_x - w + 65, _y, true)) { xspeed = 0; while (_root.blocks.hitTest(_x - w + 65, _y, true)) { _x = _x + 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 20, true)) { yspeed = 0; grounded = true; onBlock = true; while (_root.blocks.hitTest(_x, _y + h - 20, true)) { _y = _y - 0.1; } } else { onBlock = false; } if (Key.isDown(37) && _currentframe != 4) { xspeed -= 1.5; if (_currentframe != 3) { _xscale = -scale; aa = -250; } if (_rotation >= rot - 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation - 0.72; } else { if (_rotation < rot) { _rotation = _rotation + 0.72; } } } if (Key.isDown(39) && _currentframe != 4) { xspeed += 1.5; if (_currentframe != 3) { _xscale = scale; aa = 250; } if (_rotation <= rot + 15 && _currentframe != 2 && _currentframe != 4) { _rotation = _rotation + 0.72; } else { if (_rotation > rot) { _rotation = _rotation - 0.72; } } } if (!Key.isDown(39) && !Key.isDown(37)) { if (_rotation < rot) { _rotation = _rotation + 0.72; } if (_rotation > rot) { _rotation = _rotation - 0.72; } } if (Key.isDown(38) && grounded && !hold) { if (this.jump._currentframe >= 26) { this.gotoAndStop(1); } if (varJumpHigher != true) { yspeed = -jump; } if (varJumpHigher == true) { yspeed = -jumpa; varJumpHigher = false; } gotoAndStop(2); hold = true; grounded = false; } if (!Key.isDown(38)) { hold = false; } if (!Key.isDown(32)) { holda = false; } if (!Key.isDown(37) && !Key.isDown(39) && grounded && _currentframe != 2 && _currentframe != 3 && _currentframe != 4) { gotoAndStop(1); } if (yspeed < 0 && _currentframe == 2) { this.maxJump = true; } if (Key.isDown(32) && this.shooter._currentframe >= 17 && holda == false && _currentframe != 4) { this.shooter.gotoAndPlay(5); } if (Key.isDown(32) && holda == false && _currentframe != 4) { gotoAndStop(3); holda = true; _root.MakeWave(); } if (Key.isDown(40) && grounded && !Key.isDown(37) && !Key.isDown(39)) { gotoAndStop(4); if (!onBlock) { bb = -25; } _rotation = rot; } if (!Key.isDown(40) && _currentframe == 4) { this.crouch.play(); } if (_currentframe == 4 && !grounded) { gotoAndStop(2); } if (this.crouch._currentframe <= 13 && _currentframe == 4) { varJumpHigher = true; } else { varJumpHigher = false; } if (_currentframe == 3) { if (_rotation < rot) { _rotation = _rotation + 2; } if (_rotation > rot) { _rotation = _rotation - 2; } } if (grounded && onBlock == true) { bb = -50; } else { if (grounded && onBlock != true && !Key.isDown(40) && !this.hitTest(_root.block)) { if (bb <= 80) { bb += 20; } } if (!grounded && !this.hitTest(_root.block)) { if (bb >= -40) { bb -= 10; } } } if (this.ball.hitTest(_root.land) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } if (this.ball.hitTest(_root.blocks) && yspeed >= 35 && flashh != true && !grounded) { _root.red.play(); _root.shake.play(); _root.health.nextFrame(); flashh = true; } cx += (_x - cx + aa) / 10; _root._x = Stage.width / 2 - cx; _root.wide._x = cx; _root.Bg._x = cx; _root.city._x = cx / 1.15; _root.BgAdd._x = cx; _root.health._x = cx - 430; _root.score._x = cx - 330; _root.coins._x = cx + 400; _root.light._x = cx; if (yspeed >= 20) { if (bb >= -250) { bb -= yspeed + 5; } } if (!grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (!onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } if (onBlock && grounded) { cy += (_y - cy - bb) / 15; _root._y = Stage.height / 2 - cy; } _root.Bg._y = cy; _root.city._y = (cy + 100) / 1.15; _root.BgAdd._y = cy; _root.health._y = cy - 190; _root.score._y = cy + 20; _root.coins._y = cy - 190; _root.light._y = cy; _root.fpss._x = cx - 360; _root.fpss._y = cy + 205; _root.menuu._x = cx; _root.menuu._y = cy; _root.fadeOut._x = cx; _root.fadeOut._y = cy; _root.wide._y = cy; _root.screen._x = cx; _root.screen._y = cy; } } movieClip 1252 { frame 31 { stop(); } } movieClip 1253 { frame 1 { stop(); } frame 2 { _root.wavesecond = true; } frame 3 { _root.wavethird = true; } } instance wave of movieClip 1253 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50 && var1 != 1) { this.nextFrame(); var1 = 1; } if (_root.coins.coin >= 100 && var2 != 1) { this.nextFrame(); var2 = 1; } if (_root.wavesecond == true) { this.gotoAndStop(2); } if (_root.wavethird == true) { _root.wavesecond = false; this.gotoAndStop(2); } } } instance blink of movieClip 387 { onClipEvent (enterFrame) { if (Key.isDown(106) && !hold) { for (i in _root) { this.cacheAsBitmap = true; var matrix = new Array(); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([Math.random(), Math.random(), Math.random(), 0, 0]); matrix = matrix.concat([0, 0, 0, 1, 0]); var filter = new flash.filters.ColorMatrixFilter(matrix); _root[i].filters = new Array(filter); } hold = true; } if (!Key.isDown(106)) { hold = false; } if (Key.isDown(110) && !mouse && !holda) { mouse = true; holda = true; } if (Key.isDown(110) && mouse && !holda) { mouse = false; _root.player.grav = 1; holda = true; } if (!Key.isDown(110) && holda) { holda = false; } if (mouse == true) { _root.player.grav = 0; _root.player._x -= (_root.player._x - _root._xmouse) / 10; _root.player._y -= (_root.player._y - _root._ymouse) / 10; } } } instance com of movieClip 568 { onClipEvent (load) { scale = _xscale; i = 0; _alpha = 0; } onClipEvent (enterFrame) { _x = _x + (_root.player._x - _x) / 5; _y = _y + (_root.player._y - _y) / 5; if (_alpha >= 100) { ++i; var1 = 0; } if (i >= 30) { _alpha = _alpha - 2; } if (_alpha <= 0) { _alpha = 0; } if (_alpha >= 100) { _alpha = 100; } if (_alpha == 0) { i = 0; } if (var1 == 1) { _alpha = _alpha + 2; } } } instance health of movieClip 761 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance coins of movieClip 465 { onClipEvent (load) { var1 = 0; _alpha = 0; i = 0; this.coin = 0; } onClipEvent (enterFrame) { this.swapDepths(24003); this.coin = _root.coin; if (_alpha == 100 && var1 != 1) { ++i; } if (i >= 30) { var1 = 1; _alpha = _alpha - 2; } if (_alpha <= 2) { i = 0; _alpha = 0; } } } movieClip 1257 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 22 { stopAllSounds(); } frame 40 { stop(); stopAllSounds(); _root.blocker._visible = false; for (i in _root) { _root[i].removeMovieClip(); } _root.jetpack = false; _root.switched = false; _root.switched2 = false; _root.switched3 = false; _root.switched4 = false; _root.allStop = 0; _root.allStop = false; _root.allstop = 0; _root.allstop = false; _root.score.score = 0; _root.coin = 0; _root.gotoAndStop(_root.lastLevel); } } instance fadeOut of movieClip 1257 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 1260 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; for (i in _root) { _root[i].removeMovieClip(); } _root.gotoAndStop('credits'); } } instance gameOver of movieClip 1260 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance wide of movieClip 481 { onClipEvent (enterFrame) { this.swapDepths(25000); } } frame 32 { _x = 0; _y = 0; _quality = 'HIGH'; } frame 32 { _root.noScore = false; } frame 32 { _root.noScore = true; } movieClip 1262 { } movieClip 1263 { } movieClip 1264 { } movieClip 1266 { } instance credits of movieClip 1266 { onClipEvent (load) { blah = 0; } onClipEvent (enterFrame) { _y = _y - 0.7; if (_y <= -100 && blah != 1) { _root.fadeOut.play(); blah = 1; } } } movieClip 1269 { frame 1 { stop(); } frame 5 { _root.fadeIn.removeMovieClip(); fade = 100; this.onEnterFrame = function () { if (_root.t != 1) { if (fade >= 0) { fade -= 5; } if (_root.allb != 1) { _root.allab.setVolume(fade); } } else { fade = 100; } }; } frame 11 { _root.wide.removeMovieClip(); } frame 17 { _root._x = 0; _root._y = 0; } frame 20 { _root.health.removeMovieClip(); _root.fadeIn.removeMovieClip(); _root.airguy.removeMovieClip(); _root.airguy2.removeMovieClip(); _root.player._x = _root.player.dx; _root.player._y = _root.player.dy; _root._x = 0; _root._y = 0; } frame 23 { stop(); stopAllSounds(); _root.blocker._visible = false; _root.gotoAndStop('GO'); } } instance fadeOut of movieClip 1269 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } button 1272 { on (press) { stopAllSounds(); _root.gotoAndStop('GO'); } } movieClip 1274 { frame 23 { stop(); } } frame 33 { stopAllSounds(); } frame 33 { stop(); } frame 33 { _root.noScore = true; } movieClip 1278 { } movieClip 1280 { } movieClip 1284 { } movieClip 1286 { } movieClip 1290 { } movieClip 1291 { } movieClip 1293 { } movieClip 1295 { } movieClip 1299 { } movieClip 1300 { } movieClip 1303 { } movieClip 1308 { } movieClip 1309 { } movieClip 1310 { } movieClip 1311 { } movieClip 1312 { } movieClip 1318 { frame 2498 { _root.skipp._x = 10000; } frame 2533 { _root.gotoAndStop('game1'); } } button 1319 { on (press) { stopAllSounds(); _root.gotoAndStop('game1'); } } frame 34 { _root.blocker._visible = false; for (i in _root) { _root[i].removeMovieClip(); } _root.jetpack = false; _root.switched = false; _root.switched2 = false; _root.switched3 = false; _root.switched4 = false; _root.allStop = 0; _root.allStop = false; _root.allstop = 0; _root.allstop = false; _root.coin = 0; _root.gotoAndStop('menu'); namee = 'Enter name here'; } frame 34 { _root.noScore = true; _root.finalScore = _root.score.score + 1000; } // unknown tag 88 length 153 button 1323 { on (press) { _root.gotoAndStop('menu'); } } instance stone of movieClip 200 { onClipEvent (load) { var1 = 0; xspeed = 0; scale = _xscale; w = _width / 2; yspeed = 0; grav = 1; h = _height / 2; j = 0; xxx = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } _x = _x + xspeed; _y = _y + yspeed; yspeed += grav; xspeed *= 0.87; grounded = false; xx = _root.player._x - _x; yy = _root.player._y - _y; d = Math.sqrt(xx * xx + yy * yy); if (_root.land.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.blocks.hitTest(_x, _y + h, true)) { grounded = true; } if (_root.land.hitTest(_x, _y + h - 50, true)) { grounded = true; yspeed = 0; while (_root.land.hitTest(_x, _y + h - 50, true)) { _y = _y - 0.1; } } if (_root.blocks.hitTest(_x, _y + h - 12, true)) { grounded = true; yspeed = 0; while (_root.blocks.hitTest(_x, _y + h - 12, true)) { _y = _y - 0.1; } } if (this.aa.hitTest(_root.player.ball) && _root.player._x < _x && Key.isDown(39) && _root.player.grounded == true) { _x = _x + _root.player.xspeed; _rotation = _rotation + _root.player.xspeed; } if (this.aa.hitTest(_root.player.ball) && _root.player._x > _x && Key.isDown(37) && _root.player.grounded == true) { _x = _x + _root.player.xspeed; _rotation = _rotation + _root.player.xspeed; } } } // unknown tag 88 length 153 button 1330 { on (press) { ab20_09 = new LoadVars(); ab20_09.z = _root.namee; ab20_09.x = _root.finalScore; ab20_09.c = 1185; ab20_09.v = 'IOZSWJ'; ab20_09.sendAndLoad('http://armorbot.com/s_b', ab20_09, 'POST'); getURL('http://www.armorbot.com/mytable/?id=1185', '_blank'); _root.gotoAndStop('menu'); } } button 1333 { on (press) { _root.gotoAndStop('game1'); } } button 1336 { on (press) { getURL('http://www.newgrounds.com', '_blank'); } } instance fadeIn of movieClip 479 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } }
|