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

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

Edward.swf

This is the info page for
Flash #42510

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


ActionScript [AS1/AS2]
Combined Code
frame 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 86 { frame 10 { stop(); } } movieClip 87 { frame 246 { stop(); } } button 90 { on (release) { getURL('http://www.newgrounds.com', 'blank'); } } movieClip 91 { frame 246 { _root.cine.logos.play(); } } movieClip 92 { } movieClip 94 { } movieClip 95 { frame 3 { stop(); } frame 145 { _root.cine.play(); stop(); } } button 96 { on (press) { stopAllSounds(); _root.gotoAndStop('menu'); } } movieClip 107 { } movieClip 111 { } movieClip 115 { } movieClip 117 { } movieClip 118 { } movieClip 123 { } movieClip 124 { } movieClip 126 { } movieClip 130 { } movieClip 144 { } movieClip 145 { } movieClip 146 { } movieClip 150 { } movieClip 164 { } movieClip 166 { } movieClip 168 { } movieClip 170 { } movieClip 172 { } movieClip 173 { } movieClip 179 { } movieClip 180 { } movieClip 182 { frame 1 { stop(); } instance logos of movieClip 95 { 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 187 { } movieClip 188 { instance of movieClip 187 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } } instance of movieClip 188 { onClipEvent (enterFrame) { if (Key.isDown(68)) { _root.gotoAndStop('ass'); } } } movieClip 193 { } movieClip 196 { } movieClip 197 { } instance stone of movieClip 197 { 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 200 { frame 15 { stop(); } } movieClip 201 { frame 10 { stop(); } } button 203 { on (press) { stopAllSounds(); _root.gotoAndStop('cs'); } } movieClip 206 { frame 15 { stop(); } } movieClip 207 { frame 10 { stop(); } } button 209 { on (press) { stopAllSounds(); _root.gotoAndStop('tut'); } } movieClip 212 { frame 15 { stop(); } } movieClip 213 { frame 10 { stop(); } } button 215 { on (press) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 219 { } movieClip 220 { instance of movieClip 219 { 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 224 { } movieClip 226 { } movieClip 228 { } movieClip 232 { } movieClip 234 { } movieClip 236 { } movieClip 239 { } movieClip 240 { } movieClip 242 { instance of movieClip 232 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 232 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball)) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } } } } movieClip 244 { } instance of movieClip 244 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 246 { } instance of movieClip 246 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 248 { } movieClip 249 { } instance of movieClip 249 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 252 { } movieClip 254 { frame 11 { stop(); } } movieClip 255 { frame 1 { stop(); this.cacheAsBitmap = true; } } movieClip 259 { } movieClip 260 { } movieClip 261 { frame 19 { _parent.gotoAndStop(1); } } movieClip 263 { frame 1 { stop(); } } movieClip 265 { } movieClip 266 { frame 1 { stop(); } } movieClip 267 { frame 19 { _parent.gotoAndStop(1); } } movieClip 268 { frame 1 { stop(); } } movieClip 269 { instance of movieClip 255 { 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 255 { 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 255 { 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 263 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 255 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 255 { 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 263 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 268 { 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 268 { 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 268 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 271 { } movieClip 272 { } movieClip 274 { } movieClip 280 { frame 1 { stop(); } } movieClip 282 { frame 1 { stop(); } } movieClip 283 { frame 1 { stop(); } instance of movieClip 280 { 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 280 { 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 282 { 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 280 { 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 282 { 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 280 { 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 280 { 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 280 { 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 280 { 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 282 { 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 280 { 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 280 { 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 280 { 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 282 { 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 282 { 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 282 { 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 288 { instance balls of movieClip 283 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } frame 15 { stop(); } } movieClip 289 { frame 1 { stop(); } } instance bomb of movieClip 289 { 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 291 { } movieClip 293 { } movieClip 295 { } movieClip 297 { } movieClip 298 { } movieClip 299 { } movieClip 301 { frame 9 { _parent.gotoAndStop(1); } } movieClip 303 { } movieClip 304 { instance hit of movieClip 303 { 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 303 { 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 303 { 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 306 { frame 25 { stop(); } } movieClip 308 { frame 31 { stop(); } } movieClip 309 { frame 1 { stop(); } instance of movieClip 306 { 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 306 { 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 306 { 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 306 { 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 306 { 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 306 { 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 306 { 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 306 { 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 308 { 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 308 { 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 308 { 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 308 { 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 308 { 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 308 { 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 308 { 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 310 { } movieClip 311 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } instance of movieClip 310 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 150) { this._visible = false; } } } } instance of movieClip 311 { 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 311 { 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 311 { 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 313 { } movieClip 316 { } movieClip 319 { } movieClip 321 { } movieClip 322 { } movieClip 323 { frame 7 { _parent.gotoAndStop(1); } } movieClip 325 { } movieClip 327 { } movieClip 328 { instance hit of movieClip 303 { 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 330 { frame 40 { stop(); } } movieClip 332 { frame 60 { stop(); } } movieClip 333 { } movieClip 334 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } } instance of movieClip 334 { 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 337 { frame 30 { stop(); } } movieClip 338 { } movieClip 339 { } movieClip 341 { } movieClip 351 { instance of movieClip 341 { 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 352 { frame 1 { stop(); } frame 2 { ++_root.coin; _root.coins._alpha = 100; _root.coins.var1 = 0; _root.calculateCoinScore(); } } instance of movieClip 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 354 { } movieClip 356 { } movieClip 358 { } movieClip 359 { } movieClip 360 { } movieClip 361 { } movieClip 362 { } movieClip 363 { } movieClip 364 { } movieClip 365 { frame 5 { _root.MakeGears2(); } frame 12 { _parent.gotoAndStop(1); } } movieClip 366 { } movieClip 367 { frame 1 { stop(); } instance of movieClip 354 { 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 356 { 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 358 { 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 356 { 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 366 { 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 370 { frame 8 { _parent.gotoAndStop(1); } } movieClip 371 { frame 1 { stop(); } frame 3 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } } instance of movieClip 371 { 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 373 { } movieClip 375 { } movieClip 376 { } movieClip 377 { frame 20 { stop(); } } movieClip 379 { frame 1 { stop(); } } instance of movieClip 379 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 334 { 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 311 { 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 311 { 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 311 { 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 311 { 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 381 { } instance of movieClip 381 { 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 384 { 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 384 { 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 283 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } if (_name == 'balls') { _visible = false; this.gotoAndStop(2); } } } movieClip 386 { } movieClip 387 { frame 1 { stop(); } } movieClip 388 { frame 1 { stop(); } instance of movieClip 387 { 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 387 { 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 387 { 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 387 { 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 387 { 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 388 { 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 390 { 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 392 { } movieClip 393 { frame 1 { stop(); } } movieClip 394 { frame 1 { stop(); } instance of movieClip 393 { 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 393 { 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 393 { 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 393 { 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 393 { 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 394 { 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 397 { } movieClip 401 { frame 5 { stop(); } } movieClip 402 { frame 1 { stop(); } } instance shot of movieClip 402 { 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 404 { } movieClip 405 { frame 1 { stop(); } } movieClip 406 { frame 1 { stop(); } instance of movieClip 405 { 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 405 { 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 405 { 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 405 { 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 405 { 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 406 { 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 407 { } movieClip 408 { } movieClip 409 { } movieClip 410 { } movieClip 411 { frame 15 { stop(); } instance of movieClip 408 { onClipEvent (enterFrame) { if (_root.player.maxJump == true) { _parent.play(); _root.player.maxJump = false; } } } frame 24 { stop(); } instance of movieClip 408 { onClipEvent (enterFrame) { if (_root.player.grounded == true) { _parent.play(); } } } frame 30 { _parent.gotoAndStop(1); } } movieClip 415 { frame 13 { stop(); } } movieClip 417 { frame 22 { _parent.gotoAndStop(1); } } movieClip 418 { } movieClip 419 { frame 6 { stop(); } frame 17 { _parent.gotoAndStop(1); } } movieClip 425 { } movieClip 427 { } movieClip 429 { } movieClip 430 { } movieClip 432 { frame 22 { _parent.gotoAndStop(5); } } movieClip 433 { frame 1 { stop(); } instance of movieClip 430 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.jetpack != true) { _visible = false; _root.jetpack = true; } } } } instance player of movieClip 433 { 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 248 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 435 { } instance of movieClip 435 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } // unknown tag 88 length 138 movieClip 439 { } instance com of movieClip 439 { 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 441 { } movieClip 442 { } movieClip 443 { frame 3 { _root.shoot.start(0, 1); } frame 16 { stop(); _parent.removeMovieClip(); } } movieClip 445 { } movieClip 446 { frame 15 { stop(); _parent.removeMovieClip(); } } movieClip 448 { } movieClip 451 { } movieClip 452 { frame 37 { stop(); _parent.removeMovieClip(); } } movieClip 453 { frame 1 { stop(); } instance of movieClip 443 { 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 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 3 { _root.wavethird = true; } instance of movieClip 452 { 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 453 { 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 455 { } movieClip 457 { } instance score of movieClip 457 { 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 458 { 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 458 { onClipEvent (enterFrame) { this.swapDepths(24000); this.cacheAsBitmap = true; } } movieClip 462 { } instance coins of movieClip 462 { 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 464 { } movieClip 467 { frame 1 { stop(); } frame 21 { _root.player.flashh = false; } } instance red of movieClip 467 { onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; } } movieClip 472 { frame 29 { stop(); } } movieClip 473 { 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 473 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24500); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 476 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24603); } } movieClip 478 { } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); this.cacheAsBitmap = true; if (_currentframe >= 7) { this.removeMovieClip(); } } } movieClip 479 { } instance of movieClip 479 { onClipEvent (enterFrame) { this.swapDepths(257021); if (_alpha > 0) { _alpha = _alpha - 6; } if (_currentframe != 4) { this.removeMovieClip(); } } } movieClip 481 { frame 1 { stop(); } frame 30 { stop(); _root.gotoAndStop('gameOver'); } } instance gameOver of movieClip 481 { 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 485 { } movieClip 487 { } instance of movieClip 487 { 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 487 { 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 487 { 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 489 { } movieClip 492 { instance of movieClip 489 { 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 489 { 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 489 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 494 { } instance of movieClip 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 487 { 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 495 { } movieClip 496 { } instance of movieClip 496 { 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 498 { } movieClip 500 { } movieClip 502 { } movieClip 504 { } movieClip 506 { } movieClip 508 { } movieClip 510 { } movieClip 512 { } movieClip 513 { instance of movieClip 512 { 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 514 { } movieClip 515 { } movieClip 516 { frame 8 { _parent.gotoAndPlay(1); } } movieClip 517 { } movieClip 518 { } movieClip 519 { frame 16 { stop(); } } movieClip 520 { frame 60 { stop(); } } movieClip 521 { } movieClip 522 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 519 { 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 522 { 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 525 { } movieClip 527 { } movieClip 529 { } movieClip 532 { } movieClip 533 { instance of movieClip 512 { 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 534 { } movieClip 535 { } movieClip 536 { frame 6 { _parent.gotoAndStop(1); } } movieClip 538 { frame 30 { stop(); } } movieClip 539 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 538 { 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 539 { 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 539 { 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 539 { 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 539 { 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 539 { 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 539 { 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 283 { 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 402 { 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 541 { } movieClip 542 { frame 1 { stop(); } } movieClip 543 { frame 1 { stop(); } instance of movieClip 542 { 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 542 { 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 542 { 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 542 { 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 542 { 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 543 { 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 539 { 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 522 { 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 539 { 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 522 { 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 545 { } movieClip 547 { } movieClip 548 { } movieClip 549 { instance of movieClip 512 { 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 550 { frame 6 { _parent.gotoAndStop(1); } } movieClip 551 { frame 1 { stop(); } frame 3 { _root.calculateEnemySmallScore(); } } instance of movieClip 551 { 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 551 { 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 551 { 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 551 { 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 433 { 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 553 { } movieClip 554 { } movieClip 558 { } movieClip 559 { frame 1 { stop(); } } movieClip 560 { frame 16 { stop(); } } movieClip 561 { frame 1 { stop(); } } instance bubble of movieClip 561 { 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 539 { 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 563 { frame 1 { stop(); } } movieClip 565 { } instance com of movieClip 565 { 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 561 { 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 598 { } movieClip 599 { frame 61 { stop(); } } instance of movieClip 599 { onClipEvent (enterFrame) { if (_root.coins.coin >= 50) { this.gotoAndPlay(1); this._x = _root.player._x; this._y = _root.player._y; } } } movieClip 601 { } movieClip 602 { frame 1 { stop(); } frame 3 { stop(); } } instance blocker of movieClip 602 { 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 615 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 615 { onClipEvent (enterFrame) { this.swapDepths(24001); } } movieClip 618 { 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 618 { 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 622 { } movieClip 624 { } movieClip 627 { } movieClip 629 { instance of movieClip 627 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 627 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 627 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } } instance of movieClip 379 { 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 379 { 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 334 { 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 334 { 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 631 { } instance of movieClip 631 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 632 { frame 19 { stop(); } } movieClip 633 { frame 1 { stop(); } } movieClip 636 { } movieClip 637 { frame 19 { stop(); trace('uhh'); } } movieClip 638 { frame 1 { stop(); } frame 3 { _root.s4 = true; } } movieClip 640 { } movieClip 641 { instance of movieClip 255 { 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 255 { 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 255 { 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 633 { 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 263 { 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 263 { 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 263 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 638 { 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 638 { 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 638 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 638 { 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 638 { 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 638 { 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 638 { 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 638 { 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 638 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 633 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 268 { 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 640 { onClipEvent (enterFrame) { if (_root.switched3 == true) { this._x = 1000; } } } } instance of movieClip 311 { 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 311 { 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 352 { 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 249 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance of movieClip 352 { 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 283 { 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 388 { 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 394 { 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 406 { 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 643 { frame 1 { stop(); } } instance shota of movieClip 643 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 371 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 248 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 311 { 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 433 { 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 248 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } movieClip 645 { } instance of movieClip 645 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.fadeOut.play(); } } } instance of movieClip 311 { 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 311 { 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 311 { 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 311 { 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 599 { 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 615 { onClipEvent (enterFrame) { this.swapDepths(24002); } } movieClip 648 { 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 648 { 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 476 { 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 652 { } movieClip 654 { } instance of movieClip 654 { 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 655 { } movieClip 658 { } movieClip 659 { instance of movieClip 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 654 { 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 654 { 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 654 { 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 654 { 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 654 { 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 654 { 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 654 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 289 { 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 654 { 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 654 { 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 433 { 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 654 { 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 661 { } instance com of movieClip 661 { 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 615 { onClipEvent (enterFrame) { this.swapDepths(24001); } } movieClip 664 { 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 664 { onClipEvent (enterFrame) { this.swapDepths(24509); if (_root.removethisFade == 1) { this.removeMovieClip(); } } } instance wide of movieClip 478 { 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 667 { } movieClip 669 { } movieClip 672 { } movieClip 674 { frame 1 { stop(); } } movieClip 675 { } movieClip 677 { } movieClip 678 { frame 1 { stop(); } frame 8 { stop(); } } instance spike of movieClip 678 { 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 680 { } movieClip 682 { } movieClip 684 { } movieClip 686 { } movieClip 687 { } movieClip 688 { } movieClip 689 { frame 6 { _parent.gotoAndStop(1); } } movieClip 691 { } movieClip 692 { frame 62 { stop(); } instance of movieClip 691 { onClipEvent (enterFrame) { _alpha = _alpha - 2; } } } movieClip 693 { frame 1 { stop(); } frame 4 { ++_root.redot; _root.shake.play(); _root.calculateEnemySmallScore(); } } instance of movieClip 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 384 { 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 283 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } instance gears of movieClip 388 { 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 394 { 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 402 { 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 406 { 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 643 { 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 543 { 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 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 693 { 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 433 { 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 696 { } movieClip 698 { } movieClip 700 { } movieClip 702 { } movieClip 704 { } movieClip 706 { } movieClip 708 { } movieClip 709 { } movieClip 711 { } movieClip 712 { } movieClip 714 { instance hit of movieClip 303 { 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 715 { frame 19 { _root.shake.play(); } instance hit of movieClip 303 { 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 718 { instance hit of movieClip 303 { 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 303 { 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 719 { frame 12 { _parent.gotoAndStop(1); } } movieClip 722 { frame 74 { _parent.gotoAndStop(1); } } movieClip 723 { frame 1 { _root.shake.play(); } frame 33 { stop(); } } movieClip 724 { } movieClip 725 { frame 13 { _root.fallen = true; _parent.gotoAndStop(7); } } movieClip 726 { frame 53 { _parent.gotoAndStop(10); } } movieClip 727 { frame 50 { stop(); } } movieClip 728 { frame 21 { _root.shake.play(); } frame 40 { _parent.gotoAndStop(1); } } movieClip 729 { frame 37 { stop(); } } movieClip 730 { 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 723 { onClipEvent (enterFrame) { _alpha = _alpha - 1; } } } instance boss of movieClip 730 { 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 565 { 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 733 { } movieClip 734 { } movieClip 735 { } movieClip 736 { } movieClip 737 { } movieClip 739 { } movieClip 740 { } movieClip 741 { } movieClip 743 { } movieClip 744 { frame 93 { stop(); } } movieClip 746 { } instance nonRoar2 of movieClip 746 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.boss.life <= 0) { _root.fadeOut.play(); } } } movieClip 758 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 758 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance fadeOut of movieClip 473 { 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 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24605); } } instance wide of movieClip 478 { 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 762 { } movieClip 764 { } movieClip 766 { } movieClip 768 { } movieClip 770 { } movieClip 772 { } movieClip 776 { } movieClip 777 { } movieClip 779 { } movieClip 781 { } movieClip 784 { } movieClip 787 { } movieClip 788 { } movieClip 790 { } movieClip 791 { } movieClip 792 { } movieClip 793 { instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 772 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { 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 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { 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 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 768 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 777 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 772 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 779 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 781 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 781 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 781 { onClipEvent (enterFrame) { if (_root.switched5 != true && this.hitTest(_root.player.ball)) { _root.com.var1 = 1; _root.com.ph = 'Activate the switch!!'; } } } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance block2 of movieClip 788 { 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 791 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 792 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 791 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 792 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.player.dx = _root.marker._x; _root.player.dy = _root.marker._y; } } } instance of movieClip 766 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 777 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 770 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } } instance of movieClip 631 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 379 { 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 795 { } instance of movieClip 795 { onClipEvent (enterFrame) { if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } this.cacheAsBitmap = true; } } instance of movieClip 311 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 797 { } movieClip 799 { } movieClip 801 { } movieClip 802 { } movieClip 803 { } movieClip 804 { frame 6 { _parent.gotoAndStop(1); } } movieClip 806 { instance hit of movieClip 303 { 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 808 { } movieClip 809 { frame 41 { stop(); } instance of movieClip 808 { onClipEvent (enterFrame) { _alpha = _alpha - 1; } } } movieClip 810 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemySmallScore(); } } instance of movieClip 810 { 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 394 { 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 402 { 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 406 { 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 643 { 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 565 { 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 311 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 311 { 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 352 { 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 352 { 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 352 { 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 352 { 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 551 { 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 551 { 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 551 { 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 433 { 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 813 { } movieClip 814 { } instance tree of movieClip 814 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance of movieClip 352 { 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 543 { 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 816 { } movieClip 817 { frame 1 { stop(); } } movieClip 818 { frame 1 { stop(); } instance of movieClip 817 { 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 817 { 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 817 { 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 817 { 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 817 { 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 818 { 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 371 { 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 820 { } movieClip 822 { } movieClip 823 { } movieClip 824 { } movieClip 825 { frame 7 { _parent.gotoAndStop(1); } } movieClip 856 { } movieClip 857 { } movieClip 858 { frame 10 { _root.ball.shoot = true; } frame 47 { _root.ball.restart = true; _parent.gotoAndStop(1); } } movieClip 859 { frame 38 { stop(); } } movieClip 860 { 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 859 { 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 860 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 599 { 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 381 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.fadeOut.play(); } } } movieClip 862 { } movieClip 863 { frame 21 { stop(); } } movieClip 864 { frame 1 { stop(); } } instance ball of movieClip 864 { 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 867 { } instance fog of movieClip 867 { 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 602 { 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 879 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 879 { onClipEvent (enterFrame) { this.swapDepths(24002); } } movieClip 881 { } instance fadeOut of movieClip 473 { 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 476 { 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 884 { } instance Bg of movieClip 884 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } movieClip 886 { frame 23 { stop(); } } movieClip 888 { } movieClip 889 { } instance blink of movieClip 384 { 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 388 { 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 394 { 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 406 { 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 565 { 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 433 { 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 543 { 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 818 { 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 453 { 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 891 { } instance of movieClip 891 { onClipEvent (enterFrame) { this.swapDepths(7062); if (this.hitTest(_root.player.ball) && _root.allStop == true) { _root.fadeOut.play(); } } } instance r1 of movieClip 311 { 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 539 { 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 693 { 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 810 { 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 522 { 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 551 { 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 615 { onClipEvent (enterFrame) { this.swapDepths(24001); } } instance fadeIn of movieClip 476 { 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 895 { } movieClip 898 { } movieClip 900 { 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 904 { } movieClip 908 { } movieClip 910 { frame 355 { stop(); _root.nextFrame(); } } movieClip 913 { frame 12 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 913 { 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 915 { } instance treees of movieClip 915 { 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 923 { } movieClip 924 { } instance boss of movieClip 924 { onClipEvent (load) { var1 = 0; dx = _x; dy = _y; } onClipEvent (enterFrame) { if (_root.playAll == 1) { this.play(); } else { this.stop(); } } } movieClip 925 { } movieClip 926 { instance of movieClip 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 925 { 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 926 { 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 384 { 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 283 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); } } } instance shot of movieClip 402 { 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 643 { 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 453 { 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 928 { } instance of movieClip 928 { 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 433 { 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 867 { 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 934 { frame 1 { _root.playAll = 0; } frame 71 { stop(); _root.playAll = 1; } } instance goer of movieClip 934 { onClipEvent (enterFrame) { this.swapDepths(26023); } } instance health of movieClip 879 { onClipEvent (enterFrame) { this.swapDepths(24002); } } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 481 { 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 941 { 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 944 { } movieClip 947 { } movieClip 949 { } movieClip 950 { } movieClip 952 { instance of movieClip 947 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 950 { onClipEvent (enterFrame) { if (this.air.hitTest(_root.player.ball)) { _root.player.yspeed = -27; _root.player.gotoAndStop(2); } } } instance of movieClip 947 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; if (this.hitTest(_root.screen)) { _visible = true; } else { _visible = false; } } } instance of movieClip 950 { 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 950 { 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 950 { 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 950 { 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 954 { instance of movieClip 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 263 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 255 { 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 959 { } movieClip 961 { } instance of movieClip 961 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball) && _root.fadeOut._currentframe == 1) { _root.fadeOut.play(); } } } movieClip 963 { } movieClip 965 { } movieClip 967 { } movieClip 969 { } movieClip 971 { } movieClip 972 { } movieClip 973 { } movieClip 974 { frame 8 { _parent.gotoAndStop(1); } } movieClip 975 { } movieClip 976 { } movieClip 977 { } movieClip 978 { } movieClip 979 { } movieClip 980 { instance hit of movieClip 303 { 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 982 { frame 22 { stop(); } } movieClip 983 { frame 5 { if (_root.shake._currentframe == 1) { _root.shake.play(); } _root.calculateEnemyBigScore(); } instance of movieClip 310 { onClipEvent (load) { var1 = 0; i = 0; scale = _xscale; } onClipEvent (enterFrame) { ++i; if (i >= 150) { this._visible = false; } } } } instance of movieClip 983 { 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 430 { 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 334 { 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 384 { 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 283 { 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 388 { 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 394 { 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 402 { 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 406 { 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 643 { 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 565 { 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 599 { 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 453 { 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 433 { 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 311 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 371 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 371 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 371 { 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 985 { } instance of movieClip 985 { onClipEvent (enterFrame) { if (this.hitTest(_root.player.ball)) { _root.jetpack = false; } } } instance of movieClip 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 352 { 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 371 { 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 551 { 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 551 { 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 551 { 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 551 { 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 551 { 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 551 { 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 311 { 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 311 { 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 311 { 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 311 { 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 602 { 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 997 { frame 1 { stop(); } frame 12 { _root.gameOver.play(); } } instance health of movieClip 997 { onClipEvent (enterFrame) { this.swapDepths(24002); } } instance coins of movieClip 462 { 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 467 { onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; } } movieClip 1000 { 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 1000 { 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 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 481 { 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 1003 { } movieClip 1004 { } movieClip 1005 { } movieClip 1006 { } movieClip 1009 { } movieClip 1010 { 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 1011 { 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 1012 { } movieClip 1013 { } movieClip 1015 { } movieClip 1016 { } movieClip 1022 { } movieClip 1023 { frame 12 { _parent.gotoAndStop(1); } } movieClip 1024 { frame 11 { _parent.gotoAndStop(1); } } movieClip 1025 { frame 1 { stop(); } frame 3 { if (_root.blink._currentframe == 1) { _root.blink.play(); } } } instance player of movieClip 1025 { 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 1027 { frame 1 { stop(); } } movieClip 1028 { frame 1 { stop(); } } movieClip 1029 { frame 1 { stop(); } instance of movieClip 1027 { 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 1027 { 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 1028 { 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 1027 { 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 1028 { 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 1027 { 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 1027 { 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 1027 { 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 1027 { 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 1028 { 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 1027 { 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 1027 { 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 1027 { 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 1028 { 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 1028 { 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 1028 { 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 1030 { instance balls of movieClip 1029 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { this.removeMovieClip(); this._visible = false; this.gotoAndStop(2); } } } frame 15 { stop(); } } movieClip 1031 { frame 1 { stop(); } frame 2 { _root.calculateEnemySmallScore(); } } instance comet of movieClip 1031 { 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 1033 { frame 1 { stop(); } frame 2 { _root.calculateEnemySmallScore(); } } instance lcomet of movieClip 1033 { 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 352 { 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 384 { 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 283 { 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 388 { 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 394 { 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 402 { 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 406 { 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 453 { 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 615 { onClipEvent (enterFrame) { this.swapDepths(24001); } } instance coins of movieClip 462 { 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 1036 { 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 1036 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 1039 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 1039 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 481 { 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 1043 { } movieClip 1044 { } movieClip 1045 { } movieClip 1047 { } movieClip 1054 { } movieClip 1055 { } movieClip 1058 { } movieClip 1061 { } movieClip 1063 { } movieClip 1065 { } movieClip 1068 { } movieClip 1070 { 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 1073 { } movieClip 1074 { } movieClip 1076 { } movieClip 1078 { } movieClip 1080 { } movieClip 1081 { } movieClip 1082 { } movieClip 1084 { } movieClip 1098 { instance hit of movieClip 303 { 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 1099 { frame 66 { _parent.gotoAndStop(1); } } movieClip 1100 { } movieClip 1101 { frame 6 { _parent.gotoAndStop(1); } } movieClip 1102 { frame 1 { stop(); } } instance ball of movieClip 1102 { 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 1103 { 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 1103 { 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 283 { 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 388 { 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 402 { 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 453 { 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 1031 { 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 1025 { 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 758 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance coins of movieClip 462 { 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 1036 { 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 1039 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); } } instance gameOver of movieClip 481 { 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 1107 { } movieClip 1111 { } movieClip 1112 { } movieClip 1114 { } movieClip 1115 { frame 160 { stopAllSounds(); } frame 228 { stop(); _root.nextFrame(); } } frame 20 { _quality = 'low'; } movieClip 1121 { } movieClip 1122 { } movieClip 1123 { } movieClip 1125 { } movieClip 1127 { } movieClip 1132 { } movieClip 1133 { } movieClip 1140 { frame 1 { stopAllSounds(); } frame 1132 { _root.nextFrame(); stop(); stopAllSounds(); } frame 1335 { stopAllSounds(); _root.nextFrame(); } } frame 21 { _quality = 'high'; _root.noScore = true; } movieClip 1142 { } movieClip 1144 { 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 1145 { } movieClip 1146 { } movieClip 1147 { } movieClip 1148 { } movieClip 1149 { instance of movieClip 1132 { onClipEvent (enterFrame) { if (_root.player.maxJump == true) { _parent.play(); _root.player.maxJump = false; } } } frame 15 { stop(); } frame 24 { stop(); } instance of movieClip 1132 { onClipEvent (enterFrame) { if (_root.player.grounded == true) { _parent.play(); } } } frame 31 { _parent.gotoAndStop(1); } } movieClip 1151 { frame 20 { stop(); } } movieClip 1153 { } movieClip 1155 { } movieClip 1156 { frame 22 { _parent.gotoAndStop(1); } } movieClip 1157 { frame 6 { stop(); } frame 17 { _parent.gotoAndStop(1); } } movieClip 1158 { frame 1 { stop(); } } instance player of movieClip 1158 { 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 384 { 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 1163 { } movieClip 1164 { instance hit of movieClip 303 { 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 1165 { frame 6 { _root.gotHit = true; _parent.gotoAndStop(2); } } movieClip 1166 { frame 1 { stop(); _root.gotHit = false; _root.blah = 0; } instance bit of movieClip 1164 { onClipEvent (enterFrame) { if (_root.gotHit == true && _root.blah != 1) { this.gotoAndPlay('kaa'); _root.blah = 1; } } } frame 3 { _root.gotHit = true; } } instance boss of movieClip 1166 { 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 453 { 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 1168 { } instance health of movieClip 758 { onClipEvent (enterFrame) { this.swapDepths(24009); this.cacheAsBitmap = true; } } instance coins of movieClip 462 { 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 1036 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } movieClip 1171 { frame 20 { stop(); _root.fadeIn.removeMovieClip(); } } instance fadeIn of movieClip 1171 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } } instance wide of movieClip 478 { 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 1173 { } movieClip 1174 { } movieClip 1180 { 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 1187 { frame 1 { stopAllSounds(); } frame 1061 { _root.deathplayed = true; } frame 1335 { stopAllSounds(); _root.gotoAndStop('deathFight'); } } instance of movieClip 1187 { 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 1190 { } movieClip 1192 { } movieClip 1197 { } movieClip 1202 { } movieClip 1203 { } movieClip 1205 { } movieClip 1214 { } movieClip 1216 { } movieClip 1219 { } movieClip 1220 { } movieClip 1221 { } movieClip 1222 { frame 21 { _parent.gotoAndStop(1); } } movieClip 1223 { } movieClip 1226 { } movieClip 1228 { instance hit of movieClip 1226 { 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 1229 { instance hit of movieClip 1226 { 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 1230 { frame 20 { _root.boss._xscale = -_root.boss._xscale; _parent.gotoAndStop(1); } } movieClip 1231 { } movieClip 1232 { } movieClip 1233 { } movieClip 1234 { 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 1236 { frame 12 { _parent.gotoAndStop(6); } } movieClip 1237 { instance hit of movieClip 1226 { 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 1238 { } movieClip 1239 { } movieClip 1240 { } movieClip 1241 { } movieClip 1242 { } movieClip 1244 { } movieClip 1246 { frame 47 { stop(); } } movieClip 1247 { frame 1 { stop(); _root.boss.turn = false; } instance stk of movieClip 1234 { onClipEvent (enterFrame) { if (_root.boss.stuckk == true && _root.boss.s <= 160) { this.gotoAndStop('stuck'); } } } instance of movieClip 1246 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { ++i; if (i >= 100) { _root.fadeOut.play(); } } } } instance boss of movieClip 1247 { 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 1158 { 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 1249 { frame 31 { stop(); } } movieClip 1250 { frame 1 { stop(); } frame 2 { _root.wavesecond = true; } frame 3 { _root.wavethird = true; } } instance wave of movieClip 1250 { 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 384 { 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 565 { 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 758 { onClipEvent (enterFrame) { this.cacheAsBitmap = true; } } instance coins of movieClip 462 { 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 1254 { 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 1254 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } 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 23 { stop(); stopAllSounds(); _root.blocker._visible = false; for (i in _root) { _root[i].removeMovieClip(); } _root.gotoAndStop('credits'); } } instance gameOver of movieClip 1257 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } instance wide of movieClip 478 { onClipEvent (enterFrame) { this.swapDepths(25000); } } frame 32 { _x = 0; _y = 0; _quality = 'HIGH'; } frame 32 { _root.noScore = false; } frame 32 { _root.noScore = true; } movieClip 1259 { } movieClip 1260 { } movieClip 1261 { } movieClip 1263 { } instance credits of movieClip 1263 { onClipEvent (load) { blah = 0; } onClipEvent (enterFrame) { _y = _y - 0.7; if (_y <= -100 && blah != 1) { _root.fadeOut.play(); blah = 1; } } } movieClip 1266 { 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 1266 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { this.swapDepths(24502); if (this._currentframe >= 22) { ++i; } if (i >= 6) { this.removeMovieClip(); } } } button 1269 { on (press) { stopAllSounds(); _root.gotoAndStop('GO'); } } movieClip 1271 { frame 23 { stop(); } } frame 33 { stopAllSounds(); } frame 33 { stop(); } frame 33 { _root.noScore = true; } movieClip 1275 { } movieClip 1277 { } movieClip 1281 { } movieClip 1283 { } movieClip 1287 { } movieClip 1288 { } movieClip 1290 { } movieClip 1292 { } movieClip 1296 { } movieClip 1297 { } movieClip 1300 { } movieClip 1305 { } movieClip 1306 { } movieClip 1307 { } movieClip 1308 { } movieClip 1309 { } movieClip 1315 { frame 2498 { _root.skipp._x = 10000; } frame 2533 { _root.gotoAndStop('game1'); } } button 1316 { 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 1320 { on (press) { _root.gotoAndStop('menu'); } } instance stone of movieClip 197 { 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 1327 { 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 1330 { on (press) { _root.gotoAndStop('game1'); } } button 1333 { on (press) { getURL('http://www.newgrounds.com', '_blank'); } } instance fadeIn of movieClip 476 { onClipEvent (load) { var1 = 0; i = 0; } onClipEvent (enterFrame) { _x = _root.player.cx; _y = _root.player.cy; this.swapDepths(24604); } }




http://swfchan.com/9/42510/info.shtml
Created: 9/5 -2019 22:29:56 Last modified: 9/5 -2019 22:29:56 Server time: 22/12 -2024 15:58:36