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

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

no time to explain.swf

This is the info page for
Flash #207359

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


ActionScript [AS1/AS2]
Combined Code
movieClip 68 { } movieClip 71 { } movieClip 73 hitBox { frame 1 { _visible = false; } } movieClip 75 HAT pickup { frame 1 { sine = 0; FRAME = _root._currentframe; onEnterFrame = function () { if (FRAME != _root._currentframe) { this.removeMovieClip(); } _y = _y + Math.sin(sine / 7) / 3; ++sine; if (_root.guy.body.hitTest(body)) { HATcheck = 'h' + HATnumber; var v4 = mdm.FileSystem.loadFile('SaveData.htm'); var v3 = SharedObject.getLocal('NoTime'); if (v4.indexOf(HATcheck) == -1) { mdm.FileSystem.appendFile('SaveData.htm', HATcheck); } v3.data[HATcheck] = 1; this.swapDepths(999); this.removeMovieClip(); } }; } instance of movieClip 71 { onClipEvent (enterFrame) { _rotation = _rotation + 2; } } } movieClip 95 Minecraft cube { frame 1 { speed = 1 + Math.random() * 3; fallspeed = -3 - Math.random() * 3; onEnterFrame = function () { _x = _x + speed; _y = _y + fallspeed; ++fallspeed; if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { fallspeed = 0; speed *= 0.95; } while ((_root.groundBitmap.getPixel(_x, _y - 1)).toString(16) == 'ff0000') { _y = _y - 1; } if (_root.guy.hitTest(this)) { this.swapDepths(999); this.removeMovieClip(); } }; } frame 45 { gotoAndPlay(2); } } movieClip 98 han free popup { } movieClip 101 Time Master ad { } movieClip 106 flame ad { } movieClip 111 Gamebuilder ad { } movieClip 114 Beamdog ad { } movieClip 116 { } movieClip 119 radial games blimp { frame 1 { onEnterFrame = function () { _x = _x + 0.3; }; } } movieClip 133 billboard { frame 1 { stop(); } frame 3 { var THIS = new flash.display.BitmapData(400, 800, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(200, 400); THIS.draw(this, matrix); this.gotoAndStop(6); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -200; MOVIECLIP._y = -400; } frame 4 { var THIS = new flash.display.BitmapData(500, 800, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(250, 400); THIS.draw(this, matrix); this.gotoAndStop(6); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -250; MOVIECLIP._y = -400; } frame 5 { var THIS = new flash.display.BitmapData(500, 800, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(250, 400); THIS.draw(this, matrix); this.gotoAndStop(6); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -250; MOVIECLIP._y = -400; } } movieClip 139 { } movieClip 142 { } movieClip 144 { frame 1 { stop(); } } movieClip 149 cave tile side { frame 1 { stop(); } } movieClip 154 { frame 1 { var THIS = new flash.display.BitmapData(550, 280, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.attachBitmap(THIS, 1); } } movieClip 181 { frame 17 { gotoAndPlay(1); } } movieClip 202 { frame 1 { SINE = 0; SPEED = 10; onEnterFrame = function () { _x = _x + SPEED; _parent.SMOKE._x += SPEED; SPEED *= 0.85; ++SINE; _y = _y + Math.sin(SINE / 3) * 3; _parent.SMOKE._y += Math.sin(SINE / 2); if (_currentframe > 8 && _currentframe < 65) { R = Math.random(); _root.Rocketfuel.attachMovie('cave rock', 'pop' + R, _root.Rocketfuel.getNextHighestDepth()); _root.Rocketfuel['pop' + R]._x = _parent._x + _parent.ROCKspawn._x + 20 - Math.random() * 40; _root.Rocketfuel['pop' + R]._y = _parent._y + _parent.ROCKspawn._y; } if (_currentframe > 8 && _currentframe < 35) { _root.cam.SHAKE = 20; } }; } frame 76 { stop(); } } movieClip 204 meet up with future-you { frame 1 { speed = -5; _root._quality = 'MEDIUM'; stop(); onEnterFrame = function () { _x = _x + speed; if (_x < _root.cam._x + _root.cam._width * 0.6) { speed *= 0.95; } }; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo6') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo6'); } } instance of movieClip 142 { onClipEvent (enterFrame) { if (_currentframe == 1) { gotoAndPlay(2); } } } frame 43 { _root.guy.mc.play(); } frame 63 { stop(); } frame 128 { onEnterFrame = function () { R = Math.random(); _root.Rocketfuel.attachMovie('smoke pop', 'pop' + R, _root.Rocketfuel.getNextHighestDepth()); _root.Rocketfuel['pop' + R]._x = _x + SMOKE._x; _root.Rocketfuel['pop' + R]._y = _y + SMOKE._y; _root.Rocketfuel['pop' + R].Xspeed = -Math.cos(SMOKE._rotation * 0.0174532925199433) * 5; _root.Rocketfuel['pop' + R].Yspeed = -Math.sin(SMOKE._rotation * 0.0174532925199433) * 5; }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.hitTest(this)) { _root.fallguy.FALLING = true; _root.fallguy._x = _root.guy._x; _root.fallguy._y = _root.guy._y; _parent.play(); } } } frame 139 { _root.guy.mc.play(); } frame 164 { _root.guy.mc.play(); } frame 225 { _root.stopAllSounds(); _root.LEVEL = 40; _root.gotoAndPlay('reset'); } } movieClip 206 { frame 1 { stop(); _rotation = Math.round(Math.random() * 4) * 90; if (Math.random() > 0.99) { gotoAndStop(5); _rotation = 0; } if (Math.random() > 0.5) { gotoAndStop(2); } if (Math.random() > 0.5) { gotoAndStop(3); } if (Math.random() > 0.5) { gotoAndStop(4); } } } movieClip 215 breakable tile { frame 1 { if (_rotation == 0) { stop(); } _rotation = Math.round(Math.random() * 4) * 90; this.cacheAsBitmap = true; } frame 2 { this.cacheAsBitmap = false; } frame 4 { if (_name == 'mc') { _root.stonebreak.start(0, 1); } } frame 15 { this.swapDepths(999); this.removeMovieClip(); stop(); } } movieClip 225 { } movieClip 237 { frame 1 { _visible = false; if (_root.LEVEL >= 9 && _root.LEVEL <= 11 && _root.TESTING == false && typeof _root.LEVEL == 'number') { _visible = true; } } } movieClip 253 { } movieClip 260 { frame 1 { stop(); if (_root.DEATHcount > 5) { gotoAndStop(2); } if (_root.DEATHcount > 10) { gotoAndStop(3); } if (_root.DEATHcount > 15) { gotoAndStop(4); } if (_root.DEATHcount > 20) { gotoAndStop(5); } seconds = 0; onEnterFrame = function () { if (_currentframe == 5) { ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { _y = _y + 3; } else { _y = _y - 3; } } }; } } movieClip 302 { } movieClip 321 { } movieClip 328 { } movieClip 333 { frame 1 { stop(); _name = 'HEAD'; if (_root.GUYtype == 6) { gotoAndStop('moustache'); } if (!_root.EDITING) { if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 7 || _root.LEVEL == 8) { gotoAndStop('builder'); } if (_root.LEVEL == 3 && _parent._parent._name == 'guy') { gotoAndStop('rich'); } if (_root.LEVEL == 4) { gotoAndStop('snowy'); } if (_root.guy.BURNING) { gotoAndStop('burning'); } if (_root.HATtype != undefined && _root.HATtype != 0 && _root.HATtype != 1) { gotoAndStop(_root.HATtype); } } if (_root.HATtype == 'pirate') { gotoAndStop('pirate'); } onEnterFrame = function () { if (!_root.EDITING) { if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 7 || _root.LEVEL == 8) { gotoAndStop('builder'); } if (_root.LEVEL == 3 && _parent._parent._name == 'guy') { gotoAndStop('rich'); } if (_root.LEVEL == 4) { gotoAndStop('snowy'); } if (_root.guy.BURNING) { gotoAndStop('burning'); } if (_root.HATtype != undefined && _root.HATtype != 0 && _root.HATtype != 1) { gotoAndStop(_root.HATtype); } } }; if (_root.HATtype == 'pirate') { gotoAndStop('pirate'); } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 335 { frame 1 { stop(); onEnterFrame = function () { FRAME = _root.GUYtype; gotoAndStop(FRAME); if (_root.EDITING && _name != 'ICON' && _parent._name != 'ICON') { if (_root.SPAWNPOINT == 1) { _root.map[i][j] = 5; _parent.gotoAndStop(5); } ++_root.SPAWNPOINT; } }; } } movieClip 338 { } movieClip 344 { frame 1 { var THIS = new flash.display.BitmapData(310, 310, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(155, 155); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -155; MOVIECLIP._y = -155; } } movieClip 348 { } movieClip 357 timewarp { frame 1 { stop(); seconds = 0; starcount = 0; _root.goalX = _parent._x; _root.goalY = _parent._y; if (_parent._name == 'ICON') { gotoAndStop('ICON'); } onEnterFrame = function () { if (!_root.PAUSE) { if (PLAY) { play(); } if (_currentframe > 15) { _root.guy.speed = 0; _root.guy._x -= (_root.guy._x - (_parent._x + _x)) / 3; _root.guy._y -= (_root.guy._y - (_parent._y + _y - 10)) / 5; } posDISTANCE = Math.sqrt(_parent._x * _parent._x + _parent._y * _parent._y); posANGLE = (Math.atan2(_parent._y, _parent._x) / Math.PI) * 180; posX = Math.cos((posANGLE + _root.ground._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _root.ground._rotation) * 0.0174532925199433) * posDISTANCE; X = posX + _parent._parent._x + _x - _root.guy._x; Y = posY + _parent._parent._y + _y - _root.guy._y; DISTANCE = Math.sqrt(X * X + Y * Y); if (DISTANCE < 200 && _currentframe == 1) { play(); } if (_root.LEVEL == 5 || _root.LEVEL == 25) { play(); } if (_currentframe == 1) { ++seconds; if (seconds / 10 == Math.round(seconds / 10)) { ++starcount; this.attachMovie('star', 'star' + starcount, this.getNextHighestDepth()); ANGLE = Math.random() * 360; this['star' + starcount]._x = Math.cos(ANGLE * 0.0174532925199433) * 200; this['star' + starcount]._y = Math.sin(ANGLE * 0.0174532925199433) * 200; this['star' + starcount]._rotation = (Math.atan2(this['star' + starcount]._y, this['star' + starcount]._x) / Math.PI) * 180; } i = -1; while (i <= 31) { DISTANCE = Math.sqrt(this['star' + i]._x * this['star' + i]._x + this['star' + i]._y * this['star' + i]._y); this['star' + i]._rotation = (Math.atan2(this['star' + i]._y, this['star' + i]._x) / Math.PI) * 180 - (210 - DISTANCE) / 3; this['star' + i]._x += Math.cos((this['star' + i]._rotation - 90) * 0.0174532925199433) * 10; this['star' + i]._y += Math.sin((this['star' + i]._rotation - 90) * 0.0174532925199433) * 10; if (DISTANCE < 30) { this['star' + i].removeMovieClip(); } ++i; } if (starcount > 30) { starcount = 0; } } } }; } instance of movieClip 338 { onClipEvent (enterFrame) { if (!_root.PAUSE) { if (!_root.EDITING) { _rotation = _rotation - 5; _rotation = _rotation + _parent._currentframe; } } } } frame 2 { i = 0; while (i <= 30) { this['star' + i].removeMovieClip(); ++i; } } instance of movieClip 344 { onClipEvent (enterFrame) { if (!_root.PAUSE) { _rotation = _rotation + 20; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.body.hitTest(this)) { _parent.PLAY = true; if (_parent._currentframe < 15) { _parent.gotoAndPlay(15); _root.guy.speed = 0; _root.guy.fallspeed = 0; } } } } frame 13 { stop(); } frame 23 { if (_root.TESTING && _root.username != undefined) { _root.gotoAndStop('Submit'); } else { var savefile = SharedObject.getLocal('NoTime'); ++_root.LEVEL; _root.DEATHcount = 0; if (_root.LEVEL == 2 || _root.LEVEL == 3) { _root.gotoAndStop('time warp'); } else { if (_root.LEVEL == 6) { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo1') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo1'); } savefile.data.wo1 = 1; } if (_root.LEVEL == 12) { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo2') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo2'); } savefile.data.wo2 = 1; } if (_root.LEVEL == 19) { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo3') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo3<br/>'); } savefile.data.wo3 = 1; } if (_root.LEVEL == 26) { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo4') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo4<br/>'); } savefile.data.wo4 = 1; } if (_root.LEVEL == 39) { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo5') == -1) { mdm.FileSystem.appendFile('SaveData.htm', 'wo5<br/>'); } savefile.data.wo5 = 1; } if (_root.LEVEL == 6 || _root.LEVEL == 19 || _root.LEVEL == 26 || _root.LEVEL == 59) { _root.LEVEL = 'level select'; _root.gotoAndPlay('reset'); _root.GUYtype = 1; } else { FRAME = _root._currentframe - 1; _root.gotoAndPlay(FRAME); } } } _root.ground.removeMovieClip(); _root.Foreground.removeMovieClip(); _root.Background.removeMovieClip(); _root.water.removeMovieClip(); _root.animated.removeMovieClip(); } } movieClip 367 concrete tile side { frame 1 { stop(); if (Math.random() > 0.5) { gotoAndStop(2); } } } movieClip 368 concrete tile { frame 1 { stop(); if (Math.random() > 0.5) { gotoAndStop(2); } if (Math.random() > 0.5) { gotoAndStop(3); } if (Math.random() > 0.5) { gotoAndStop(4); } if (_parent._currentframe == 16 || _parent._currentframe == 17) { gotoAndStop(5); } } } movieClip 370 concrete tile top { } movieClip 371 { frame 1 { SINE = 180; guyposition = 'ABOVE'; SPLASH = 0; elasticness = 0.9; quickness = 0.1; OLDSPEED = 0; this.createEmptyMovieClip('WATER', 1); this.WATER.moveTo(15, -30); this.WATER.beginFill(2668711, 50); this.WATER.lineTo(15, 0); this.WATER.lineTo(-15, 0); this.WATER.lineTo(-15, -30); this.WATER.endFill(); onEnterFrame = function () { oldposition = guyposition; if (_root.guy._y < _parent._y) { guyposition = 'ABOVE'; } else { guyposition = 'BELOW'; } if (_root.guy._x > _parent._x && _root.guy._x < _parent._x + 30) { if (guyposition != oldposition) { SPLASH = _root.guy.fallspeed; _root.Water['tile' + _parent.i + ' ' + (_parent.j + 1)].WATER.SPLASH = SPLASH * -0.6; _root.Water['tile' + _parent.i + ' ' + (_parent.j + 2)].WATER.SPLASH = SPLASH * -0.3; _root.Water['tile' + _parent.i + ' ' + (_parent.j - 1)].WATER.SPLASH = SPLASH * -0.6; _root.Water['tile' + _parent.i + ' ' + (_parent.j - 2)].WATER.SPLASH = SPLASH * -0.3; } } if (SPLASH != 0) { this.createEmptyMovieClip('WATER', 1); this.WATER.moveTo(15, -30); this.WATER.beginFill(2668711, 50); this.WATER.lineTo(15, 0); this.WATER.lineTo(-15, 0); this.WATER.lineTo(-15, -30); i = 0; while (i < 6) { this.WATER.lineTo(-15 + i * 3, -30 + Math.sin(i * 6) * SPLASH); ++i; } this.WATER.endFill(); DISTANCE = -SPLASH; SPEED = OLDSPEED * elasticness + DISTANCE * quickness; SPLASH += SPEED; OLDSPEED = SPEED; } if (Math.sqrt(SPEED * SPEED) < 0.05) { if (Math.sqrt(DISTANCE * DISTANCE) < 0.1) { SPLASH = 0; } } }; } } movieClip 376 { frame 1 { var blur = new flash.filters.BlurFilter(3, 3, 3); this.filters = [blur]; var THIS = new flash.display.BitmapData(110, 70, true, 13421772); THIS.draw(this); this.attachBitmap(THIS, 1); SINE = 0; onEnterFrame = function () { if (_currentframe == 1) { this.filters = []; gotoAndStop(2); } ++SINE; _alpha = 70 + Math.sin(SINE / 3) * 30; }; } } movieClip 391 { frame 1 { stop(); } frame 20 { stop(); } } movieClip 397 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { _root.spikenoise.play(); play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y - 5; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y + 60; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 405 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { _root.spikenoise.play(); play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 419 flame { } movieClip 441 { frame 1 { stop(); if (Math.random() > 0.5) { _xscale = _xscale * -1; } } frame 5 { if (_root.map[_parent.i + 1][_parent.j] == 30) { _root.animated['tile' + (_parent.i + 1) + ' ' + _parent.j].mc.play(); _root.animated['tile' + (_parent.i + 1) + ' ' + _parent.j].FRAME = 5; } if (_root.map[_parent.i - 1][_parent.j] == 30) { _root.animated['tile' + (_parent.i - 1) + ' ' + _parent.j].mc.play(); _root.animated['tile' + (_parent.i - 1) + ' ' + _parent.j].FRAME = 5; } if (_root.map[_parent.i][_parent.j + 1] == 30) { _root.animated['tile' + _parent.i + ' ' + (_parent.j + 1)].mc.play(); _root.animated['tile' + _parent.i + ' ' + (_parent.j + 1)].FRAME = 5; } if (_root.map[_parent.i][_parent.j - 1] == 30) { _root.animated['tile' + _parent.i + ' ' + (_parent.j - 1)].mc.play(); _root.animated['tile' + _parent.i + ' ' + (_parent.j - 1)].FRAME = 5; } } frame 6 { _root.ignite.start(0, 1); } frame 15 { var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } frame 35 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 461 smoke pop { frame 1 { Rspeed = 5; if (Math.random() > 0.5) { Rspeed *= -1; } onEnterFrame = function () { _y = _y + Yspeed; _x = _x + Xspeed; _rotation = _rotation + Rspeed; }; } frame 25 { stop(); this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 464 { frame 1 { this.cacheAsBitmap = true; stop(); } frame 2 { this.cacheAsBitmap = false; } frame 4 { _root.cam.SHAKE = 10; } frame 5 { _rotation = _rotation + (8 - Math.random() * 16); R = Math.random(); _root.attachMovie('screw', 'smoke' + R, _root.getNextHighestDepth()); _root['smoke' + R]._x = _parent._x + 15; _root['smoke' + R]._y = _parent._y + 15; _root['smoke' + R]._xscale = 50; _root['smoke' + R]._yscale = 50; _root['smoke' + R].secondsMAX = 30; _root['smoke' + R].speed = 5 - Math.random() * 10; _root['smoke' + R].fallspeed = -5 - Math.random() * 3; } frame 6 { POP.Rspeed = 0; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 35 { stop(); this.cacheAsBitmap = true; } } movieClip 465 cave tile { frame 1 { if (!_root.EDITING) { if (_root.map[i][j] == 1) { if (_root.map[i - 1][j] != 1 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('underground tile edge', 'TOP', 1); TOP._x = 15; TOP._y = -5; TOP._rotation = 90; } if (_root.map[i][j - 1] != 1 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('underground tile edge', 'LEFT', 2); LEFT._x = 0; LEFT._y = 15; } if (_root.map[i][j + 1] != 1 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('underground tile edge', 'RIGHT', 3); RIGHT._x = 30; RIGHT._y = 15; RIGHT._rotation = 180; } if (_root.map[i + 1][j] != 1 && _root.map[i + 1][j] != 16 && _root.map[i + 1][j] != 17) { this.attachMovie('underground tile edge', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM._rotation = -90; } if (Math.random() > 0.8) { this.attachMovie('underground tile rock', 'rock', 5); rock._x = 15; rock._y = 15; rock.stop(); if (Math.random() > 0.5) { rock._xscale *= -1; } if (_root.map[i - 1][j] == 1 && _root.map[i - 1][j + 1] == 1 && _root.map[i - 1][j - 1] == 1 && Math.random() > 0.9) { rock.gotoAndStop(2); } } } } } frame 2 { if (!_root.EDITING) { if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('cave tile side', 'TOP', 3); TOP._x = 15; TOP._y = 0; TOP._rotation = 90; if (Math.random() > 0.5) { TOP._yscale *= -1; } } else { if (_root.map[i][j + 1] != 2) { if (_root.map[i][j + 1] != 3) { if (_root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('cave tile side', 'RIGHT', 1); RIGHT._x = 32; RIGHT._y = 15; RIGHT._rotation = 180; if (Math.random() > 0.5) { RIGHT._yscale *= -1; } } } } if (_root.map[i][j - 1] != 2) { if (_root.map[i][j - 1] != 3) { if (_root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('cave tile side', 'LEFT', 2); LEFT._x = -2; LEFT._y = 15; if (Math.random() > 0.5) { LEFT._yscale *= -1; } } } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('cave tile side', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM.gotoAndStop(2); if (Math.random() > 0.5) { BOTTOM._xscale *= -1; } if (Math.random() > 0.5) { BOTTOM.gotoAndStop(3); } if (Math.random() > 0.5) { BOTTOM.gotoAndStop(4); } } } } instance mc of movieClip 215 breakable tile { onClipEvent (load) { } onClipEvent (enterFrame) { if (_parent._x > _root.cam._x - _root.cam._width * 0.6 && _parent._x < _root.cam._x + _root.cam._width * 0.6) { if (_root.GUYtype == 1 || _root.GUYtype == 6) { if (_parent.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } if (_root.GUYtype == 2) { if (_root.guy.CLICKING && _root.beampower == 0) { X = _root.guy._x - _parent._x; Y = _root.guy._y - 15 - _parent._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (Math.sqrt(X * X + Y * Y) < 150 && ANGLE > _root.guy.ANGLE - 45 && ANGLE < _root.guy.ANGLE + 45) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.lasershot2.start(0, 1); _root.cam.SHAKE = 2; _root.guy._y -= 10; _root.guy.speed = 20; _root.guy.fallspeed = -20; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.lasershot2.start(0, 1); _root.cam.SHAKE = 2; _root.guy._y -= 10; _root.guy.speed = -20; _root.guy.fallspeed = -20; } } } frame 18 { onEnterFrame = function () { if (_root.EDITING) { if (_currentframe == 18) { if (_root.WINPOINT == 1) { _root.map[i][j] = 5; gotoAndStop(5); } ++_root.WINPOINT; } TIMEWARP.stop(); } }; } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j + 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i + 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j - 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 370 concrete tile top { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } frame 21 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x - 10; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 22 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x + 40; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 30; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } frame 23 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y + 40; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y < _root.ground._height)) break; Y += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 24 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y - 10; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y > 0)) break; Y -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 25 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation += 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 26 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation -= 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 29 { onEnterFrame = function () { if (!_root.EDITING) { X = _root.guy._x - (_x + 15); Y = _root.guy._y - 20 - (_y + 15); if (Math.sqrt(X * X + Y * Y) < 20) { if (!_root.guy.BURNING) { _root.ignite.start(0, 1); _root.chop2.start(0, 1); _root.attachMovie('explosion small', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x; _root.explosion._y = _root.guy._y - 20; _root.explosion._xscale = 70; _root.explosion._yscale = 70; } _root.guy.BURNING = true; } } else { FLAME.stop(); } }; } frame 30 { onEnterFrame = function () { if (_root.guy.BURNING) { if (_root.guy.i < i + 4 && _root.guy.i > i - 4 && _root.guy.j < j + 4 && _root.guy.j > j - 4) { if (this.hitTest(_root.guy)) { mc.play(); FRAME = 5; } } } }; } frame 31 { onEnterFrame = function () { if (mc._currentframe == 1) { if (_root.guy.CLICKING == true && this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { mc.play(); } } }; } } movieClip 466 fire pop { frame 23 { this.removeMovieClip(); } } movieClip 472 spaceship tile gradient { frame 1 { stop(); } } movieClip 474 Background docks { frame 1 { _alpha = 50; var THIS = new flash.display.BitmapData(620, 350, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.attachBitmap(THIS, 1); } } movieClip 479 shark boss gradient { } movieClip 480 shark boss building { frame 1 { var THIS = new flash.display.BitmapData(1350, 800, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.attachBitmap(THIS, 1); } instance of movieClip 479 shark boss gradient { onClipEvent (load) { _root.attachMovie('shark boss gradient', 'shark boss gradient', _root.getNextHighestDepth()); _root.shark boss gradient._x = _parent._x + _x; _root.shark boss gradient._y = _parent._y + _y; this.swapDepths(999); this.removeMovieClip(); } } } movieClip 482 lava wave { frame 1 { var blur = new flash.filters.BlurFilter(20, 20, 3); this.filters = [blur]; seconds = 0; stop(); X = _x; FRAME = _root._currentframe; onEnterFrame = function () { if (_root._currentframe != FRAME) { this.removeMovieClip(); } if (_root.guy._y > _y - 50) { if (_root.guy.BURNING && _root.guy.burncount > 10) { _root.guy.burncount = 300; } else { _root.guy.fallspeed = -15; _root.guy.BURNING = true; } } if (seconds < 5) { ++seconds; } if (seconds == 1) { var v4 = new flash.display.BitmapData(700, 500, true, 13421772); var v3 = new flash.geom.Matrix(); v3.translate(350, 110); v4.draw(this, v3); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(v4, 1); MOVIECLIP._x = -350; MOVIECLIP._y = -110; } _x = _x + 5; if (_x > X + 170) { _x = X; } }; } } movieClip 490 cave rock { frame 1 { stop(); FRAME = Math.round(Math.random() * 6) + 1; gotoAndStop(FRAME); _rotation = Math.random() * 360; fallspeed = -2 - Math.random() * 5; speed = 5 - Math.random() * 10; Y = _y; seconds = 0; if (_root.weasel.MOVE == 'rock drop') { seconds = 20 + Math.random() * 13; } onEnterFrame = function () { _x = _x + speed; _y = _y + fallspeed; fallspeed += 2; _rotation = _rotation + speed; ++seconds; if (seconds > 10) { if ((_root.groundBitmap.getPixel(_x, _y + 10)).toString(16) == 'ff0000') { if ((_root.groundBitmap.getPixel(_x, _y - 30)).toString(16) != 'ff0000') { fallspeed *= -0.5; speed *= 0.9; _rotation = _rotation + speed; } else { speed *= -1; } } } if (seconds > 50) { this.removeMovieClip(); } }; } } movieClip 494 { frame 1 { stop(); } frame 2 { _root.door.start(0, 1); } frame 20 { stop(); this.swapDepths(999); this.removeMovieClip(); } } movieClip 511 { frame 1 { stop(); } frame 2 { _root.Explosion6.start(0, 1); } frame 15 { stop(); } } movieClip 515 { instance of movieClip 73 hitBox { onClipEvent (enterFrame) { _parent.gotoAndStop(1); if (this.hitTest(_root.guy.body)) { _parent.gotoAndStop(2); } if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { _parent.gotoAndStop(2); } } } } movieClip 527 { frame 1 { stop(); } frame 4 { _root.stonebreak.start(0, 1); _root.stonebreak.start(0, 1); } frame 10 { stop(); } } movieClip 531 { frame 1 { stop(); } } movieClip 539 { frame 1 { stop(); } frame 30 { gotoAndPlay(2); } } movieClip 555 { frame 1 { stop(); onEnterFrame = function () { if (ON) { play(); } }; } frame 107 { stop(); _parent.DOORS.play(); this.swapDepths(999); this.removeMovieClip(); } } movieClip 561 { frame 1 { stop(); } frame 5 { _root.attachMovie('evil-you entrance', 'evil-you', _root.getNextHighestDepth()); _root.evil-you._x = _parent._parent._x + 15; _root.evil-you._y = _parent._parent._y + 799; if (_root.guy._x > _parent._parent._x) { _root.evil-you._xscale = -100; } } frame 9 { stop(); } } movieClip 563 { frame 1 { stop(); } frame 2 { var THIS = new flash.display.BitmapData(320, 320, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(160, 160); THIS.draw(this, matrix); this.gotoAndStop(3); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -160; MOVIECLIP._y = -160; } } movieClip 571 { frame 1 { stop(); } frame 20 { gotoAndPlay(2); } } movieClip 576 { frame 1 { stop(); R = Math.random() * 180; onEnterFrame = function () { if (Math.round(_parent._rotation / 3) == Math.round(R / 3)) { play(); } }; } } movieClip 578 { } movieClip 579 { frame 1 { ON = false; Rspeed = 0; onEnterFrame = function () { if (ON) { if (Rspeed > -10) { Rspeed -= 0.01; } _rotation = _rotation + Rspeed; this.outer ring.play(); } if (_rotation < -50) { if (_parent.boat.ON == false) { _root.buzzing.start(0, 1); } _parent.boat.ON = true; } if (_rotation < -120) { this.swapDepths(999); this.removeMovieClip(); } }; } instance mc of movieClip 578 { onClipEvent (load) { ON = false; Rspeed = 0; } onClipEvent (enterFrame) { if (notON) { if (ON) { _root.machinerynoises.start(0, 1); } } if (ON) { if (Rspeed < 3) { Rspeed += 0.02; } else { _parent.ON = true; } _rotation = _rotation + Rspeed; } if (!ON) { notON = true; } else { notON = false; } } } } movieClip 582 { } movieClip 589 { } movieClip 593 { frame 1 { stop(); myColor = new Color(this); myColorTransform = new Object(); } instance of movieClip 589 { onClipEvent (load) { Rspeed = 0; R = -35; _rotation = R; seconds = 0; _root.spinningvaultdoor.start(0, 1); } onClipEvent (enterFrame) { R += Rspeed; if (R < 5000) { Rspeed += 0.5; } else { if (Rspeed > 0) { Rspeed -= 3; } else { Rspeed = 0; } } _parent._xscale += Rspeed / 200; _parent._yscale = _parent._xscale; _parent._x += Rspeed / 100; _parent.myColorTransform = {'rb': -R / 200, 'gb': -R / 200, 'bb': -R / 200}; _parent.myColor.setTransform(_parent.myColorTransform); _rotation = _rotation + Rspeed; R += Rspeed; if (Rspeed == 0) { ++seconds; } if (seconds > 10) { _parent.play(); } } } frame 2 { _root.gunlaser.start(0, 1); } frame 65 { _parent.door1.play(); } frame 70 { _parent.door2.play(); } frame 75 { _parent.door3.play(); } frame 80 { _parent.door4.play(); } frame 85 { _parent.door5.play(); } frame 90 { _parent.door6.play(); } frame 95 { _parent.chainL.ON = true; _parent.chainR.ON = true; _parent.door7.play(); } frame 110 { stop(); this.swapDepths(999); this.removeMovieClip(); } } movieClip 596 { } movieClip 599 { } movieClip 601 { } movieClip 602 { instance of movieClip 599 { onClipEvent (load) { Rspeed = 0; } onClipEvent (enterFrame) { _rotation = _rotation + Rspeed; if (_parent._x != oldX) { if (Rspeed > -40) { Rspeed -= 0.2; } } else { if (Rspeed < 0) { ++Rspeed; } else { Rspeed = 0; } } oldX = _parent._x; } } instance of movieClip 599 { onClipEvent (load) { Rspeed = 0; } onClipEvent (enterFrame) { _rotation = _rotation + Rspeed; if (_parent._x != oldX) { if (Rspeed > -20) { Rspeed -= 0.1; } } else { if (Rspeed < 0) { ++Rspeed; } else { Rspeed = 0; } } oldX = _parent._x; } } instance of movieClip 601 { onClipEvent (load) { Rspeed = 0; } onClipEvent (enterFrame) { _rotation = _rotation + Rspeed; if (_parent._x != oldX) { if (Rspeed < 5) { Rspeed += 0.05; } } else { if (Rspeed > 0) { --Rspeed; } else { Rspeed = 0; } } oldX = _parent._x; } } } movieClip 603 { frame 1 { ON = false; seconds = 0; speed = 0; X = _x; onEnterFrame = function () { if (ON) { seconds += 2; this['lock' + Math.round(seconds / 10)].play(); if (seconds >= 100) { if (seconds >= 250) { _parent.cloud1.ON = true; _parent.cloud2.ON = true; _parent.cloud3.ON = true; } if (_x < X + 150) { _x = _x + speed; _parent.BUTTONr._x += speed; if (speed < 2) { speed += 0.01; } } } } }; } } movieClip 604 { frame 1 { ON = false; seconds = 0; speed = 0; X = _x; onEnterFrame = function () { if (ON) { if (notON) { _root.earthquakeshort.start(0, 1); notON = false; } seconds += 2; this['lock' + Math.round(seconds / 10)].play(); if (seconds >= 100) { if (_x > X - 150) { _x = _x + speed; _parent.BUTTONl._x += speed; if (speed > -2) { speed -= 0.01; } } if (_x < X - 50) { _parent.RING.mc.ON = true; } } } else { notON = true; } }; } } movieClip 606 GATE { frame 1 { ON = false; speed = 0; seconds = 0; Y = _y; stop(); onEnterFrame = function () { if (_currentframe == 2) { _root.guy.gotoAndPlay(1); _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.beampower = 0; _root.guy.CLICKING = false; } if (_root._currentframe == 3) { _root.guy.DANCING = true; } if (BUTTONl._currentframe == 2 && BUTTONr._currentframe == 2) { gotoAndStop(2); } if (ON) { ++seconds; if (seconds == 10) { FlockL1.play(); FlockR1.play(); } if (seconds == 20) { FlockL2.play(); FlockR2.play(); } if (seconds == 30) { FlockL3.play(); FlockR3.play(); } if (_root.cam.SHAKE < 10) { _root.cam.SHAKE += 0.1; } if (seconds > 50) { if (seconds > 150) { _root.DARKNESS._alpha -= 0.1; if (_root.DARKNESS._alpha < 0) { _root.DARKNESS.swapDepths(999); _root.DARKNESS.removeMovieClip(); } } _y = _y - speed; _root.SKY._y -= speed; if (_y > Y - 800) { if (speed < 3) { speed += 0.01; } if (seconds > 60) { _root.cam.SHAKE = 10; } } else { _root.cam.SHAKE = 0; speed = 0; gotoAndStop(3); VAT.WATER.play(); } } } }; } instance frontDoor of movieClip 494 { onClipEvent (load) { ON = false; } onClipEvent (enterFrame) { if (_currentframe < 2 && ON) { play(); } } } instance boat of movieClip 539 { onClipEvent (load) { ON = false; speed = 0; } onClipEvent (enterFrame) { _x = _x + speed; if (ON) { play(); if (speed < 2) { speed += 0.01; } if (this.hitTest(_parent.BUTTON)) { _root.dink.start(0, 1); _root.Earthquake.start(0, 1); speed = -1; ON = false; _root.BUTTON.play(); gotoAndStop(1); _parent.ON = true; } } else { if (speed < -0.1) { speed *= 0.9; } } } } instance of movieClip 563 { onClipEvent (load) { gotoAndStop(2); } } instance of movieClip 563 { onClipEvent (load) { gotoAndStop(2); } } instance of movieClip 563 { onClipEvent (load) { gotoAndStop(2); } } instance of movieClip 563 { onClipEvent (load) { gotoAndStop(2); } } instance chainL of movieClip 582 { onClipEvent (load) { X = _x; Y = _y; speed = 0; ON = false; TOTAL = 0; } onClipEvent (enterFrame) { if (notON) { if (ON) { _root.chainreel.start(0, 1); } } if (ON) { speed -= (speed - 25) / 50; } _x = _x + speed; _y = _y - speed; if (_x >= X + 62) { _x = X; _y = Y; ++TOTAL; } if (TOTAL == 12) { _parent.doorR.ON = true; } if (TOTAL > 20) { this.swapDepths(999); this.removeMovieClip(); } if (!ON) { notON = true; } else { notON = false; } } } instance chainR of movieClip 582 { onClipEvent (load) { X = _x; Y = _y; speed = 0; ON = false; TOTAL = 0; } onClipEvent (enterFrame) { if (notON) { if (ON) { _root.chainreel.start(0, 1); } } if (ON) { speed -= (speed - 25) / 50; } _x = _x - speed; _y = _y - speed; if (_x <= X - 62) { _x = X; _y = Y; ++TOTAL; } if (TOTAL == 10) { _parent.doorL.ON = true; } if (TOTAL > 25) { this.swapDepths(999); this.removeMovieClip(); } if (!ON) { notON = true; } else { notON = false; } } } instance of movieClip 494 { onClipEvent (enterFrame) { ON = true; if (_currentframe < 2) { play(); } } } instance cloud2 of movieClip 596 { onClipEvent (load) { ON = false; speed = 3; } onClipEvent (enterFrame) { if (ON) { _y = _y + speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + 1; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } } instance cloud1 of movieClip 596 { onClipEvent (load) { ON = false; speed = 3; } onClipEvent (enterFrame) { if (ON) { _y = _y + speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation - 1; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } } instance of movieClip 602 { onClipEvent (enterFrame) { _x = _parent.doorR._x; } } instance of movieClip 602 { onClipEvent (enterFrame) { _x = _parent.doorL._x; } } instance cloud3 of movieClip 596 { onClipEvent (load) { ON = false; speed = 3; } onClipEvent (enterFrame) { if (ON) { if (notON) { _root.steam.start(0, 1); } _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation - 1; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } notON = false; } else { notON = true; } } } frame 3 { _root.gunlaser.start(0, 1); _root.steam.start(0, 1); } instance of movieClip 563 { onClipEvent (load) { WATER.ON = true; } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 596 { onClipEvent (load) { speed = 3 + Math.random() * 2; Rspeed = 1 - Math.random() * 2; if (Math.random() > 0.5) { _xscale = -100; } } onClipEvent (enterFrame) { _y = _y - speed; speed *= 0.95; _alpha = _alpha - 1; _rotation = _rotation + Rspeed; if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } } } } movieClip 609 bullet hell bullet { frame 1 { speed = 10; onEnterFrame = function () { _x = _x + Math.cos(_rotation * 0.0174532925199433) * speed; _y = _y + Math.sin(_rotation * 0.0174532925199433) * speed; _rotation = _rotation + 1; if (_x < _root.cam._x - _root.cam._width / 2 || _x > _root.cam._x + _root.cam._width / 2) { this.removeMovieClip(); } if (_y < _root.cam._y - _root.cam._height / 2 || _y > _root.cam._y + _root.cam._height / 2) { this.removeMovieClip(); } }; } } movieClip 614 sparkle { frame 1 { _rotation = Math.random() * 360; if (_xscale == 100) { _xscale = 30 + Math.random() * 40; _yscale = _xscale; } } frame 10 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 617 { } movieClip 628 explosion spark { frame 1 { _rotation = Math.random() * 360; if (Math.random() > 0.5) { _xscale = _xscale * -1; } } frame 19 { this.removeMovieClip(); } } movieClip 629 mortar { frame 1 { seconds = 0; speed = 4 - Math.random() * 8; fallspeed = -13 - Math.random() * 2; stop(); onEnterFrame = function () { if (_currentframe == 1) { _rotation = fallspeed * speed / 3; _x = _x + speed; _y = _y + fallspeed; fallspeed += 0.3; if (fallspeed > 2 && Math.random() > 0.8) { _root.Explosion6.start(0, 1); _root.SwishHard.start(0, 1); i = 0; while (i < 50) { _root.attachMovie('mortar shrapnel', 'mortar shrapnel' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['mortar shrapnel' + _root.getNextHighestDepth()]._x = _x; _root['mortar shrapnel' + _root.getNextHighestDepth()]._y = _y; ++i; } gotoAndStop(2); } } else { ++seconds; if (seconds > 25) { this.removeMovieClip(); } _rotation = 0; } }; } instance of movieClip 628 explosion spark { onClipEvent (load) { this.swapDepths(1); } } } movieClip 632 circlesmoke { frame 1 { onEnterFrame = function () { _rotation = _rotation + 20; _xscale = _xscale - 5; _yscale = _xscale; _alpha = _alpha + 7; if (_xscale < 30) { this.swapDepths(999); this.removeMovieClip(); } }; } } movieClip 634 ball_itself { } movieClip 641 { frame 1 { stop(); if (_parent._parent._parent._name == 'level1a' || _parent._parent._parent._name == 'level2a') { gotoAndStop(2); } if (_parent._parent._parent._name == 'editor') { gotoAndStop(3); } if (_parent._parent._parent._name == 'ad levels') { gotoAndStop(4); } if (_parent._parent._parent._name == 'user levels') { gotoAndStop(5); } } } movieClip 646 { frame 1 { stop(); if (_parent._parent._parent._name == 'level1') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo1') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'level2') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo2') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'level3') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo3') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'level4') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo4') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'level5') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo5') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'level6') { var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo6') != -1) { gotoAndStop(4); } } if (_parent._parent._parent._name == 'editor') { gotoAndStop(3); } if (_parent._parent._parent._name == 'ad levels') { gotoAndStop(3); } } } movieClip 647 texture { } movieClip 648 ball { instance of movieClip 634 ball_itself { onClipEvent (enterFrame) { if (_parent.xspeed > 1) { _xscale = _xscale - (_xscale - 100) / 5; _yscale = _xscale; } } } } movieClip 658 { } movieClip 661 { } movieClip 680 explosion small { frame 1 { if (Math.random() > 0.5) { _xscale = _xscale * -1; } } frame 35 { this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } movieClip 681 { frame 1 { stop(); if (_root.Background.boss.body._currentframe == 7) { gotoAndStop(2); } onEnterFrame = function () { if (_root.Background.boss.body._currentframe == 7) { gotoAndStop(2); } }; } instance of movieClip 661 { onClipEvent (enterFrame) { _rotation = _rotation + 10; } } } movieClip 685 { frame 1 { _visible = false; if (_root.GLASSES) { _visible = true; } if (_root.HATtype == 'pirate') { gotoAndStop(2); _visible = true; } onEnterFrame = function () { if (_root.GLASSES) { _visible = true; } if (_root.HATtype == 'pirate') { gotoAndStop(2); _visible = true; } }; } } movieClip 688 { frame 1 { stop(); if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 3) { gotoAndStop(3); } onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 3) { gotoAndStop(3); } }; } } movieClip 692 { frame 1 { stop(); if (_root.Background.boss.body._currentframe == 7) { gotoAndStop(2); } onEnterFrame = function () { if (_root.Background.boss.body._currentframe == 7) { gotoAndStop(2); } }; } } movieClip 700 { frame 1 { stop(); if (Math.random() > 0.7) { _xscale = _xscale * -1; } if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe == 2) { gotoAndStop(2); } if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe == 3) { gotoAndStop(2); } if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe == 4) { gotoAndStop(2); } } frame 2 { _rotation = Math.round(Math.random() * 4) * 90; if (Math.random() > 0.9) { gotoAndStop(3); } if (Math.random() > 0.9) { gotoAndStop(4); } if (Math.random() > 0.9) { gotoAndStop(5); } } } movieClip 702 { frame 1 { SINE = 0; R = _rotation; onEnterFrame = function () { SINE += 0.5; if (SINE > 10) { SINE = 0; } _rotation = R + Math.sin(SINE) * 20; }; } } movieClip 704 { } movieClip 707 { } movieClip 715 spaceship vent { frame 1 { stop(); this.cacheAsBitmap = true; } } movieClip 731 { } movieClip 740 tractor beam piece { frame 1 { onEnterFrame = function () { posDISTANCE = Math.sqrt(_x * _x + _y * _y); posANGLE = (Math.atan2(_y, _x) / Math.PI) * 180; posX = Math.cos((posANGLE + _root.ground._rotation) * 0.0174532925199433) * posDISTANCE + _parent._x; posY = Math.sin((posANGLE + _root.ground._rotation) * 0.0174532925199433) * posDISTANCE + _parent._y; if (X != undefined) { R = _rotation; SPEED = Math.cos(R * 0.0174532925199433) * speed; FALLSPEED = Math.sin(R * 0.0174532925199433) * speed; _x = _x + SPEED; _y = _y + FALLSPEED; if (_x < X - 15 && SPEED < 0) { this.removeMovieClip(); } if (_x > X + 15 && SPEED > 0) { this.removeMovieClip(); } if (_root.guy.body.hitTest(this)) { if (_root.ground._rotation == 0) { _root.guy.speed -= (_root.guy.speed - speed * -0.3) / 10; _root.guy.fallspeed -= _root.guy.fallspeed / 10; _root.guy.fallspeed -= 0.5; _root.guy._y -= (_root.guy._y - posY) / 25; _root.beampower = 100; } if (_root.ground._rotation == 90) { _root.guy.speed -= _root.guy.speed / 10; _root.guy.fallspeed -= (_root.guy.fallspeed - speed * -0.3) / 10; _root.guy.fallspeed -= 0.5; _root.guy._x -= (_root.guy._x - posX) / 25; _root.beampower = 100; } } } else { R = _rotation; SPEED = Math.cos(R * 0.0174532925199433) * speed; FALLSPEED = Math.sin(R * 0.0174532925199433) * speed; _x = _x + SPEED; _y = _y + FALLSPEED; if (_y < Y - 15 && FALLSPEED < 0) { this.removeMovieClip(); } if (_y > Y + 15 && FALLSPEED > 0) { this.removeMovieClip(); } if (_root.guy.body.hitTest(this)) { if (_root.ground._rotation == 0) { _root.guy.speed -= _root.guy.speed / 10; _root.guy.fallspeed -= (_root.guy.fallspeed - speed * -0.3) / 10; _root.guy.fallspeed -= 0.5; _root.guy._x -= (_root.guy._x - posX) / 25; _root.beampower = 100; } if (_root.ground._rotation == 90) { _root.guy.speed -= (_root.guy.speed - speed * 0.3) / 10; _root.guy.fallspeed -= _root.guy.fallspeed / 10; _root.guy.fallspeed -= 0.5; _root.guy._y -= (_root.guy._y - posY) / 25; _root.beampower = 100; } } } if (Math.random() > 0.99) { R = Math.random(); this.attachMovie('sparkle', 'sparkle' + R, this.getNextHighestDepth()); this['sparkle' + R]._x = 10 - Math.random() * 20; this['sparkle' + R]._y = 15 - Math.random() * 30; this['sparkle' + R].gotoAndPlay(3); } this['sparkle' + R]._x -= SPEED * 2; this['sparkle' + R]._y -= FALLSPEED * 2; }; } } movieClip 743 { frame 1 { stop(); if (_root.DINOSAUR) { gotoAndStop(2); } onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } } movieClip 744 { frame 1 { stop(); if (_parent._name == 'level1') { gotoAndStop(1); } if (_parent._name == 'level1a') { gotoAndStop(8); } if (_parent._name == 'level2') { gotoAndStop(2); } if (_parent._name == 'level2a') { gotoAndStop(9); } if (_parent._name == 'level3') { gotoAndStop(3); } if (_parent._name == 'level4') { gotoAndStop(4); } if (_parent._name == 'level5') { gotoAndStop(6); } if (_parent._name == 'shooterlevel') { gotoAndStop(5); } if (_parent._name == 'editor') { gotoAndStop(7); } if (_parent._name == 'level6') { gotoAndStop(10); } if (_parent._name == 'ad levels') { gotoAndStop(11); } if (_parent._name == 'user levels') { gotoAndStop(12); } if (_parent._name == 'whipguy level') { gotoAndStop(13); } } instance arm of movieClip 658 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 681 { onClipEvent (enterFrame) { _rotation = 6 - Math.random() * 10; } } instance of movieClip 692 { onClipEvent (enterFrame) { _rotation = 10 - Math.random() * 6; } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 1; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 6; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 12; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 702 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 707 { onClipEvent (enterFrame) { _rotation = -5 - Math.random() * 6; } } instance of movieClip 702 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 19; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 'shooter'; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 26; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 'editor'; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 1; _root.GUYtype = 6; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 6; _root.GUYtype = 6; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 40; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 51; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 62; _parent._parent.gotoAndPlay('blast'); } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.attachMovie('closed portal', 'THIS', _root.getNextHighestDepth()); _root.THIS.gotoAndPlay('blast'); _root.THIS._x = _parent._parent._x; _root.THIS._y = _parent._parent._y; _root.guy.speed = 0; _root.guy.fallspeed = 0; _root.guy.CLICKING = false; _parent._parent.LEVEL = 'whipguy level'; _parent._parent.gotoAndPlay('blast'); } } } } movieClip 747 closed portal { frame 1 { stop(); HEALTH = 10; X = _x; Y = _y; SHAKE = 0; if (_name == 'editor') { this.createEmptyMovieClip('sparkles', this.getNextHighestDepth()); } if (_name != 'THIS') { var matrix = new flash.geom.Matrix(); matrix.translate(_x - 15, _y - 15); } i = 60; while (i <= 100) { this['star' + i].removeMovieClip(); ++i; } seconds = 0; onEnterFrame = function () { if (_name == 'editor') { ++seconds; if (seconds / 5 == Math.round(seconds / 5)) { if (Math.random() > 0.5) { sparkles.attachMovie('sparkle', 'sparkle' + seconds, seconds); sparkles['sparkle' + seconds]._x = 20 - Math.random() * 40; sparkles['sparkle' + seconds]._y = 20 - Math.random() * 40; } } } R += 10; if (SHAKE / 2 == Math.round(SHAKE / 2)) { _x = X + Math.cos(R * 0.0174532925199433) * SHAKE; _y = Y + Math.sin(R * 0.0174532925199433) * SHAKE; } else { _x = X + Math.cos(R * 0.0174532925199433) * -SHAKE; _y = Y + Math.sin(R * 0.0174532925199433) * -SHAKE; } if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { --HEALTH; } if (SHAKE > 0) { --SHAKE; } if (_currentframe <= 2) { _root.groundBitmap.draw(_root.rootpoint, matrix, null); } if (HEALTH < 8 && _currentframe == 1) { gotoAndStop(2); ball.xspeed = 7; ball.yspeed = 7; SHAKE = 20; } if (HEALTH < 0 && _currentframe == 2) { gotoAndPlay(3); var matrix = new flash.geom.Matrix(); matrix.translate(_x - 17, _y - 17); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); var matrix = new flash.geom.Matrix(); matrix.translate(_x - 13, _y - 13); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); var matrix = new flash.geom.Matrix(); matrix.translate(_x - 17, _y - 13); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); var matrix = new flash.geom.Matrix(); matrix.translate(_x - 13, _y - 17); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } }; } instance ball of movieClip 648 ball { onClipEvent (load) { xspeed = 1; yspeed = 1; R = Math.round(Math.random() * 50); texture._x = R; texture._y = R; _rotation = Math.random() * 360; } onClipEvent (enterFrame) { if (!_root.PAUSE) { if (xspeed > 1) { _xscale = _xscale - (_xscale - 80) / 3; _yscale = _xscale; } _rotation = _rotation + xspeed; texture._y += yspeed; texture._x += xspeed; if (texture._x > 158) { texture._x -= 188; } if (texture._x < -158) { texture._x += 188; } if (texture._y > 158) { texture._y -= 188; } if (texture._y < -158) { texture._y += 188; } } } } frame 5 { stop(); _root.cam.SHAKE = 20; C = 0; seconds = 0; starcount = 0; FRAME = _root._currentframe; _root.Explosion4.start(0, 1); _root.sucking.start(0, 99); onEnterFrame = function () { if (_currentframe > 10) { _root.guy.speed = 0; _root.guy._x -= (_root.guy._x - _x) / 5; _root.guy._y -= (_root.guy._y - (_y - 10)) / 5; _visible = false; } if (_root._currentframe != FRAME) { this.removeMovieClip(); } if (_currentframe == 5) { _root.cam.SHAKE = 5; } if (starcount > 80) { play(); mc._xscale *= 0.8; mc._yscale = mc._xscale; } else { ++C; if (C / 7 == Math.round(C / 7)) { this.attachMovie('circlesmoke', 'circlesmoke' + C, C); this['circlesmoke' + C]._rotation = Math.random() * 360; this['circlesmoke' + C]._alpha = 0; } mc._x = 2 - Math.random() * 4; mc._y = 2 - Math.random() * 4; ++seconds; ++starcount; this.attachMovie('star', 'star' + starcount, this.getNextHighestDepth()); ANGLE = Math.random() * 360; this['star' + starcount]._x = Math.cos(ANGLE * 0.0174532925199433) * 200; this['star' + starcount]._y = Math.sin(ANGLE * 0.0174532925199433) * 200; this['star' + starcount]._rotation = (Math.atan2(this['star' + starcount]._y, this['star' + starcount]._x) / Math.PI) * 180; this['star' + starcount].stop(); } i = 0; while (i <= 100) { DISTANCE = Math.sqrt(this['star' + i]._x * this['star' + i]._x + this['star' + i]._y * this['star' + i]._y); this['star' + i]._rotation = (Math.atan2(this['star' + i]._y, this['star' + i]._x) / Math.PI) * 180 + DISTANCE / 3; this['star' + i]._x -= Math.cos((this['star' + i]._rotation - 90) * 0.0174532925199433) * 20; this['star' + i]._y -= Math.sin((this['star' + i]._rotation - 90) * 0.0174532925199433) * 20; if (DISTANCE < 50) { this['star' + i].removeMovieClip(); } ++i; } }; } instance of movieClip 338 { onClipEvent (load) { FRAME = _parent._currentframe; } onClipEvent (enterFrame) { _rotation = _rotation + 8; this.cacheAsBitmap = true; if (_parent._currentframe != FRAME) { _alpha = _alpha - 10; } } } frame 9 { gotoAndStop(1); } frame 10 { play(); _root.sucking.stop(); } frame 20 { _root.Mainthemeslow.stop(); _root.Foreground.removeMovieClip(); _root.ground.removeMovieClip(); _root.Background.removeMovieClip(); _root.LEVEL = LEVEL; if (typeof LEVEL == 'number' || LEVEL == 'meet evil you') { _root.gotoAndPlay('reset'); } else { if (LEVEL == 'shooter') { _root.gotoAndStop('shooter'); } if (LEVEL == 'editor') { _root.gotoAndPlay('EDITOR decision'); } } this.removeMovieClip(); } } movieClip 751 future building 2 { frame 1 { FRAME = 1 + Math.round(Math.random() * 4); gotoAndStop(FRAME); this.cacheAsBitmap = true; onEnterFrame = function () { _x = _x - 40; if (_x < -250) { this.removeMovieClip(); } }; } } movieClip 753 wave { frame 1 { var THIS = new flash.display.BitmapData(160, 40, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(80, 20); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -80; MOVIECLIP._y = -20; seconds = 0; _alpha = 100 * Math.sin(seconds / 5); onEnterFrame = function () { if (_root.ending == undefined) { _x = _x - _xscale / 5; if (_x < -10) { this.removeMovieClip(); } } ++seconds; _alpha = 100 * Math.sin(seconds / 5); }; } } movieClip 764 bomb { frame 1 { _rotation = Math.random() * 360; speed = 1 - Math.random() * 2; onEnterFrame = function () { _x = _x + speed; _y = _y + fallspeed; fallspeed += 0.3; _rotation = _rotation + speed * 3; fallspeed *= 0.95; }; } frame 43 { _root.cam.SHAKE = 15; _root.attachMovie('explosion big', 'EXP' + _name, _root.getNextHighestDepth()); _root['EXP' + _name]._x = _x; _root['EXP' + _name]._y = _y; i = 0; while (i <= 4) { _root.attachMovie('smoke pop', 'POP' + _name + i, _root.getNextHighestDepth()); _root['POP' + _name + i]._x = _x + Math.cos(i * 90 * 0.0174532925199433) * 100; _root['POP' + _name + i]._y = _y + Math.sin(i * 90 * 0.0174532925199433) * 100; _root.attachMovie('explosion small', 'EXP' + _name + i, _root.getNextHighestDepth()); _root['EXP' + _name + i]._x = _x + Math.cos((i + 0.5) * 90 * 0.0174532925199433) * 50; _root['EXP' + _name + i]._y = _y + Math.sin((i + 0.5) * 90 * 0.0174532925199433) * 50; ++i; } this.removeMovieClip(); } instance of movieClip 73 hitBox { onClipEvent (load) { if (_root.guy.hitTest(_root.guy._x, _root.guy._y, true)) { _root.guy.IMPACT += 130; } } } } movieClip 766 gnome missile { frame 1 { elasticness = 0.9; quickness = 0.005; seconds = 0; _root.ground.attachMovie('hitBox', _name, _root.ground.getNextHighestDepth()); _root.ground[_name]._xscale = 160; _root.ground[_name]._yscale = 160; onEnterFrame = function () { ++seconds; quickness += 0.001; elasticness -= 0.001; XDISTANCE = _root.guy._x - _x; YDISTANCE = _root.guy._y - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; _rotation = (Math.atan2(_y - oldY, _x - oldX) / Math.PI) * 180 + 90; oldX = _x; oldY = _y; _root.ground[_name]._x = _x; _root.ground[_name]._y = _y; if (_root.guy.body.hitTest(_x, _y, true)) { _root.guy.IMPACT += 90; _root.Explosion6.start(0, 1); _root.attachMovie('explosion small', 'squib2' + _name, _root.getNextHighestDepth()); _root['squib2' + _name]._x = _x; _root['squib2' + _name]._y = _y; _root.cam.SHAKE = 20; _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } if (this.body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY) && _root.guy.CLICKING == true || seconds > secondsMAX) { _root.stonebreak.start(0, 1); _root.attachMovie('WhiteSmoke', 'screw' + _name, _root.getNextHighestDepth()); _root['screw' + _name]._x = _x; _root['screw' + _name]._y = _y; i = 0; while (i <= 3) { _root.attachMovie('screw', 'screw' + i + _name, _root.getNextHighestDepth()); _root['screw' + i + _name]._x = _x; _root['screw' + i + _name]._y = _y; _root['screw' + i + _name].speed = 5 - Math.random() * 10; _root['screw' + i + _name].fallspeed = 2 - Math.random() * 10; _root['screw' + i + _name].secondsMAX = 50; _root.cam.SHAKE = 10; ++i; } _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } }; } } movieClip 771 { frame 1 { if (_root.HATtype != 'pirate') { _visible = false; this.swapDepths(999); this.removeMovieClip(); } } } movieClip 791 background T-rex { frame 1 { myColor = new Color(this); myColorTransform = new Object(); myColorTransform = {'rb': -70, 'gb': -70, 'bb': -70}; myColor.setTransform(myColorTransform); } frame 89 { onEnterFrame = function () { if (_currentframe < 116) { _root.cam.SHAKE = 30; } }; } frame 118 { stop(); } } movieClip 792 WhiteSmoke { frame 1 { onEnterFrame = function () { X = _x - _parent['smoke' + (NUMBER - 1)]._x; Y = _y - _parent['smoke' + (NUMBER - 1)]._y; _rotation = (Math.atan2(Y, X) / Math.PI) * 180; }; } instance of movieClip 461 smoke pop { onClipEvent (load) { _rotation = Math.random() * 360; } } frame 25 { this.unloadMovie(); this.removeMovieClip(); } frame 26 { onEnterFrame = function () { X = _x - _parent['smoke' + (NUMBER - 1)]._x; Y = _y - _parent['smoke' + (NUMBER - 1)]._y; _rotation = (Math.atan2(Y, X) / Math.PI) * 180; }; } instance of movieClip 461 smoke pop { onClipEvent (load) { _rotation = Math.random() * 360; } } frame 51 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 797 { } movieClip 798 tiny bitey { frame 1 { elasticness = 0.8; quickness = 0.03; OLDXSPEED = 0; OLDYSPEED = 0; HEALTH = 1; HIT = false; onEnterFrame = function () { if (!HIT) { xDist = _x - _root.guy._x; yDist = _y - _root.guy._y; angle = Math.atan2(yDist, xDist); head._rotation = angle / 0.0174532925199433; XDISTANCE = _root.guy._x - _x; YDISTANCE = _root.guy._y - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; if (_root.guy.body.hitTest(_x, _y, true)) { HIT = true; X = _x - _root.guy._x; Y = _y - _root.guy._y; head.gotoAndStop(1); } } if (HIT) { oldX = _x; oldY = _y; _x = _root.guy._x + X; _y = _root.guy._y + Y; XSPEED = _x - oldX; YSPEED = _y - oldY; } _root.ground[_name]._x = _x + body._x; _root.ground[_name]._y = _y + body._y; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.guy.CLICKING == true && this.body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { myColorTransform = {'rb': 200, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } --HEALTH; } if (HEALTH <= 0) { _root.rip.start(0, 1); _root.attachMovie('blood squib', 'squib2' + _name, _root.getNextHighestDepth()); _root['squib2' + _name]._x = _x; _root['squib2' + _name]._y = _y; _root['squib2' + _name]._rotation = -head._rotation; _root.cam.SHAKE = 20; _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } if (_root.guy.body.hitTest(_x, _y, true)) { _root.guy.IMPACT += 3; } }; } instance tail of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 10) { this['Xpoint' + i] -= _parent.XSPEED; this['Ypoint' + i] -= _parent.YSPEED; this['Ypoint' + i] += Math.sin(i) * 1.5; LINE.lineStyle(15 - (pointcount - i) * 1.3, 0); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); COLOUR = '0x' + (56 + pointcount - i) + '6F85'; whiteLINE.lineStyle(12 - (pointcount - i) * 1.3, COLOUR); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } } movieClip 813 brachioblast { frame 1 { if (Math.random() > 0.5) { _yscale = _yscale * -1; } if (_root.guy._y < _y + 15 && _root.guy._y > _y - 15) { _root.guy.IMPACT += 130; _root.cam.SHAKE = 20; _root.attachMovie('blood squib', 'squib', _root.getNextHighestDepth()); _root.squib._x = _root.guy._x; _root.squib._y = _root.guy._y; } } frame 23 { this.removeMovieClip(); } } movieClip 817 { } movieClip 849 { frame 75 { _parent.OLDXSPEED = 40; _root.cam.SHAKE = 30; _root.attachMovie('brachioblast', 'brachioblast' + _parent._name, _root.getNextHighestDepth()); _root['brachioblast' + _parent._name]._x = _x + _parent._x; _root['brachioblast' + _parent._name]._y = _y + _parent._y; _root.GunShotBig.start(0, 1); } } movieClip 850 brachioblaster { frame 1 { elasticness = 0.8; quickness = 0.05; OLDXSPEED = -30; OLDYSPEED = 10; OLDRSPEED = -30; HEALTH = 20; myColor = new Color(this); myColorTransform = new Object(); seconds = 0; FRAME = _root._currentframe; onEnterFrame = function () { XDISTANCE = targetX - _x; YDISTANCE = targetY - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; RDISTANCE = targetX - _x; RSPEED = OLDRSPEED * 0.9 + RDISTANCE * 0.05; OLDRSPEED = RSPEED; _rotation = RSPEED; _root.ground[_name]._x = _x + body._x; _root.ground[_name]._y = _y + body._y; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.guy.CLICKING == true && this.body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { myColorTransform = {'rb': 200, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } --HEALTH; _root.dink.start(0, 1); } if (HEALTH <= 0) { _root.Explosion4.start(0, 1); _root.attachMovie('explosion small', 'exp' + _name, _root.getNextHighestDepth()); _root['exp' + _name]._x = _x; _root['exp' + _name]._y = _y; _root.attachMovie('blood squib', 'squib' + _name, _root.getNextHighestDepth()); _root['squib' + _name]._x = _x; _root['squib' + _name]._y = _y; _root.attachMovie('blood squib', 'squib2' + _name, _root.getNextHighestDepth()); _root['squib2' + _name]._x = _x; _root['squib2' + _name]._y = _y; _root.cam.SHAKE = 30; _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } if (this.body.hitTest(_root.cam)) { _root.cam.STOP = true; } if (_root.guy.body.hitTest(body)) { _root.guy.IMPACT += 50; _root.cam.SHAKE = 10; } if (FRAME != _root._currentframe) { this.swapDepths(999); this.removeMovieClip(); } }; } instance of movieClip 817 { onClipEvent (enterFrame) { _rotation = _parent.RSPEED * 1.5; } } instance of movieClip 817 { onClipEvent (enterFrame) { _rotation = _parent.RSPEED * 1.5; } } } movieClip 859 { frame 2 { if (_parent._x - _root.guy._x > 200) { gotoAndPlay(1); } } frame 11 { stop(); } } movieClip 861 kamikaze crockosaurus { frame 1 { XSPEED = -10; stop(); FRAME = _root._currentframe; onEnterFrame = function () { if (_currentframe == 1) { if (this.hitTest(_root.cam)) { SINE += 0.1; } --XSPEED; YSPEED = Math.sin(SINE) * 10; _x = _x + XSPEED; _y = _y + YSPEED; _root.ground[_name]._x = _x; _root.ground[_name]._y = _y; if (body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING == true) { gotoAndPlay(2); _root.cam.SHAKE = 10; _root.ground[_name].removeMovieClip(); this.attachMovie('blood squib', 'squib', 1); this.attachMovie('blood squib', 'squib2', 2); } if (body.hitTest(_root.guy.body)) { gotoAndPlay(2); _root.cam.SHAKE = 10; _root.ground[_name].removeMovieClip(); this.attachMovie('blood squib', 'squib', 1); this.attachMovie('blood squib', 'squib2', 2); _root.guy.IMPACT += 90; } } if (_x < _root.cam._x - 600) { this.removeMovieClip(); } if (FRAME != _root._currentframe) { this.swapDepths(999); this.removeMovieClip(); } }; } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; i = 0; while (i < 20) { this['Xpoint' + i] += 20 * i; this['Ypoint' + i] += Math.sin(i * 0.5) * 0.5 * i; this['Ypoint' + i] += -_parent.YSPEED * i; ++i; } } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 10) { if (_parent._currentframe == 1) { this['Xpoint' + i] += 20; this['Ypoint' + i] += Math.sin(i * 0.5) * 0.5; this['Ypoint' + i] += -_parent.YSPEED; } LINE.lineStyle(10 - (pointcount - i), 13421772); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(5 - (pointcount - i), 16777215); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance of movieClip 73 hitBox { onClipEvent (load) { pointcount = 0; } onClipEvent (enterFrame) { if (_parent.hitTest(_root.cam)) { _visible = true; ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 10) { this['Xpoint' + i] += 25; this['Ypoint' + i] += -_parent.YSPEED * 2; LINE.lineStyle(37 - (pointcount - i) * 3, 0); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(27 - (pointcount - i) * 3, 6851648); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; i = 0; while (i < 20) { this['Xpoint' + i] += 20 * i; this['Ypoint' + i] += Math.sin(i * 0.5) * 0.5 * i; this['Ypoint' + i] += -_parent.YSPEED * i; ++i; } } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 10) { if (_parent._currentframe == 1) { this['Xpoint' + i] += 20; this['Ypoint' + i] += Math.sin(i * 0.5) * 0.5; this['Ypoint' + i] += -_parent.YSPEED; } LINE.lineStyle(10 - (pointcount - i), 13421772); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(5 - (pointcount - i), 16777215); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 2 { _root.gunlaser.start(0, 1); } frame 40 { this.removeMovieClip(); } } movieClip 863 gunslot { frame 1 { NUMBER = _parent.NUMBER; _width = _width - NUMBER / 2; _height = _height - NUMBER / 2; ++_parent.NUMBER; WIDTH = _width; HEIGHT = _height; seconds = 80; SIZE = 0; bulletcount = 0; onEnterFrame = function () { pointX = _parent.GUN._x; pointY = _parent.GUN._y; _x = pointX + Math.cos(ANGLE * 0.0174532925199433) * NUMBER; _y = pointY + Math.sin(ANGLE * 0.0174532925199433) * NUMBER; ++seconds; if (seconds > 100) { SIZE -= (SIZE - 20) / 5; _width = WIDTH + Math.sin((NUMBER + SINE) / 10) * SIZE; _height = HEIGHT + Math.sin((NUMBER + SINE) / 10) * SIZE; if (seconds < 110) { SINE = 25; } else { SINE -= (SINE - 5) / 2; } if (bulletcount >= 3 || bulletcount <= -3) { _parent.seconds = -50; seconds = -50; } if (seconds > 115) { bulletcount += _parent._xscale / 100; if (NUMBER == 9) { if (_root.animated.core._currentframe <= 3) { _root.attachMovie('missile drop', 'missile' + bulletcount, _root.getNextHighestDepth()); _root['missile' + bulletcount]._x = _x + _parent._x + _parent._parent._x; _root['missile' + bulletcount]._y = _y + _parent._y + _parent._parent._y; _root['missile' + bulletcount].speed = Math.cos(ANGLE * 0.0174532925199433) * 20 * _parent._xscale / 100; _root['missile' + bulletcount].fallspeed = Math.sin(ANGLE * 0.0174532925199433) * 20; } } seconds = 99; } } else { X = _root.guy._x - (_parent._parent._x + _parent._x + _x); Y = _root.guy._y - (_parent._parent._y + _parent._y + _y); ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 - X / 10; if (_parent._xscale < 0) { ANGLE *= -1; ANGLE += 180; } if (seconds < 99) { bulletcount = 0; } if (SINE > 0) { SINE -= 1; } if (SIZE > 0) { SIZE -= 3; } _width = WIDTH + Math.sin((NUMBER + SINE) / 10) * SIZE; _height = HEIGHT + Math.sin((NUMBER + SINE) / 10) * SIZE; } }; } } movieClip 865 { frame 1 { var THIS = new flash.display.BitmapData(1500, 1000, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.attachBitmap(THIS, 1); } } movieClip 866 inner ship boss background { instance H1 of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.animated.core.HEALTH < 60) { if (Math.random() > 0.5) { _root.Background.attachMovie('inner ship security bot', 'bot', _root.Background.getNextHighestDepth()); _root.Background.bot._x = _x + _parent._x; _root.Background.bot._y = _y + _parent._y; _parent.H2.swapDepths(999); _parent.H2.removeMovieClip(); this.swapDepths(999); this.removeMovieClip(); } else { _root.Background.attachMovie('inner ship security bot', 'bot2', _root.Background.getNextHighestDepth()); _root.Background.bot2._x = _parent.H2._x + _parent._x; _root.Background.bot2._xscale = -100; _root.Background.bot2._y = _parent.H2._y + _parent._y; _parent.H2.swapDepths(999); _parent.H2.removeMovieClip(); this.swapDepths(999); this.removeMovieClip(); } } } } } movieClip 867 fat cable { frame 1 { stop(); COLOUR = '0x8251' + Math.round(10 + Math.random() * 50); THICKNESS = 10 + Math.random() * 12; onEnterFrame = function () { if (node3.SINE < 150) { this.createEmptyMovieClip('outlineCURVE', 1); this.outlineCURVE.lineStyle(THICKNESS + 5, 0); this.outlineCURVE.moveTo(node1._x, node1._y); this.outlineCURVE.curveTo(node2._x, node2._y, node3._x, node3._y); this.createEmptyMovieClip('CURVE', 2); this.CURVE.lineStyle(THICKNESS, COLOUR); this.CURVE.moveTo(node1._x, node1._y); this.CURVE.curveTo(node2._x, node2._y, node3._x, node3._y); } if (Math.round(node3.SINE) == 149 && _currentframe == 1) { var v3 = new flash.display.BitmapData(30, 500, true, 13421772); var v2 = new flash.geom.Matrix(); v2.translate(15, 10); v3.draw(this, v2); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(v3, 1); MOVIECLIP._x = -15; MOVIECLIP._y = -10; CURVE.removeMovieClip(); outlineCURVE.removeMovieClip(); } }; } instance node3 of movieClip 73 hitBox { onClipEvent (load) { _y = _parent._parent.core._x - _parent._x; X = _parent._parent.core._x - _parent._x - _parent.node1._x; Y = _parent._parent.core._y + Math.random() * 60 - _parent._y - _parent.node1._y; DISTANCE = Math.sqrt(X * X + Y * Y) - 100; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 + 90; startANGLE = ANGLE; maxANGLE = 90 + (90 - ANGLE); SINE = 135; seconds = 0; ANGLE = 90 + Math.cos(SINE) * maxANGLE; _x = _parent.node1._x + Math.cos(ANGLE * 0.0174532925199433) * DISTANCE; _y = _parent.node1._y + Math.sin(ANGLE * 0.0174532925199433) * DISTANCE; } onClipEvent (enterFrame) { if (SINE < 150) { if (_parent._parent.core._currentframe == 3) { SINE += 0.1; if (maxANGLE > 0) { maxANGLE -= 0.8; } if (maxANGLE < 0) { maxANGLE += 0.8; } } ANGLE = 90 + Math.cos(SINE) * maxANGLE; _x = _parent.node1._x + Math.cos(ANGLE * 0.0174532925199433) * DISTANCE; _y = _parent.node1._y + Math.sin(ANGLE * 0.0174532925199433) * DISTANCE; X = _x - _parent.node1._x; Y = _y - _parent.node1._y; } } } instance node2 of movieClip 73 hitBox { onClipEvent (load) { Y = _parent.node3._y / 2; } onClipEvent (enterFrame) { if (_parent.node3.SINE < 150) { _x = _parent.node1._x + _parent.node3.X / 4; _y = Y + Math.sqrt(_parent.node3._x * _parent.node3._x) / 5; } } } } movieClip 868 snow { frame 1 { seconds = 0; snowcount = 0; FRAME = _root.LEVEL; onEnterFrame = function () { if (_root.LEVEL != FRAME) { this.removeMovieClip(); } if (!_root.inside_house) { ++seconds; if (seconds / 5 == Math.round(seconds / 5)) { ++snowcount; this.attachMovie('star', 'star' + snowcount, snowcount); this['star' + snowcount]._x = _root.cam._x + _root.cam._width / 2 - Math.random() * _root.cam._width; this['star' + snowcount]._y = _root.cam._y - _root.cam._height / 2; this['star' + snowcount]._xscale = 200; this['star' + snowcount]._yscale = 200; this['star' + snowcount].speed = 0; } i = snowcount - 20; while (i <= snowcount) { this['star' + i].speed += 0.5 - Math.random(); this['star' + i]._x += this['star' + i].speed; this['star' + i]._y += 3; ++i; } this['star' + (snowcount - 21)].removeMovieClip(); } }; } } movieClip 870 money vault { } movieClip 881 { } movieClip 882 screw { frame 1 { _xscale = 80 + Math.random() * 40; _yscale = _xscale; _rotation = Math.random() * 360; if (Math.random() > 0.5) { _xscale = _xscale * -1; } seconds = 0; onEnterFrame = function () { _y = _y + fallspeed; _x = _x + speed; ++fallspeed; ++seconds; if (seconds > secondsMAX) { this.removeMovieClip(); } if (_x == 0 && _y == 0) { this.swapDepths(999); this.removeMovieClip(); } }; } } movieClip 886 { } movieClip 887 coin { frame 1 { fallspeed = -8 + Math.random() * 3; speed = -1 - Math.random() * 3; _rotation = Math.random() * 360; seconds = 0; onEnterFrame = function () { ++seconds; _x = _x + speed; _y = _y + fallspeed; ++fallspeed; _rotation = _rotation + speed; if (seconds > secondsMAX) { this.removeMovieClip(); } }; } } movieClip 892 { } movieClip 896 missile napalm drop { frame 1 { speed = 0; fallspeed = 5; seconds = 0; Scount = 0; HIT = false; stop(); onEnterFrame = function () { if (_currentframe == 1) { _x = _x + speed; _y = _y + fallspeed; ++fallspeed; ++seconds; if (_root.guy.body.hitTest(this)) { _root.guy.impact = 10; if (!HIT) { _root.attachMovie('explosion big', 'explosion big', _root.getNextHighestDepth()); _root.explosion big._x = _x; _root.explosion big._y = _y - 150; _root.explosion big._xscale = 200; _root.explosion big._yscale = 200; } _root.cam.SHAKE = 20; play(); _rotation = 0; speed = 0; fallspeed = 0; HIT = true; } } if (!this.hitTest(_root.cam) && seconds > 50) { this.swapDepths(999); this.removeMovieClip(); } j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); if (seconds > 10) { if (_root.ground.hitTest(_x, _y, true) || seconds > 90 || _root.map[i][j] == 20) { if (!HIT) { _root.attachMovie('explosion big', 'explosion big', _root.getNextHighestDepth()); _root.explosion big._x = _x; _root.explosion big._y = _y - 150; _root.explosion big._xscale = 200; _root.explosion big._yscale = 200; } _root.cam.SHAKE = 20; play(); _rotation = 0; speed = 0; fallspeed = 0; HIT = true; } } if (HIT) { if (_currentframe == 5 && _root.guy.body.hitTest(body)) { _root.guy.impact = 60; } ++Scount; if (Scount / 3 == Math.round(Scount / 3)) { _root.attachMovie('explosion small', 'spark' + Scount, _root.getNextHighestDepth()); _root['spark' + Scount]._x = _x + 30 * Scount; _root['spark' + Scount]._y = _y - 60; _root.attachMovie('explosion small', 'spark' + (Scount + 100), _root.getNextHighestDepth()); _root['spark' + (Scount + 100)]._x = _x - 30 * Scount; _root['spark' + (Scount + 100)]._y = _y - 60; _root.attachMovie('explosion small', 'spark' + (Scount + 200), _root.getNextHighestDepth()); _root['spark' + (Scount + 200)]._x = _x + 30 * Scount; _root['spark' + (Scount + 200)]._y = _y - 60; _root.attachMovie('explosion small', 'spark' + (Scount + 300), _root.getNextHighestDepth()); _root['spark' + (Scount + 300)]._x = _x - 30 * Scount; _root['spark' + (Scount + 300)]._y = _y - 60; _root.attachMovie('explosion small', 'spark' + (Scount + 400), _root.getNextHighestDepth()); _root['spark' + (Scount + 400)]._x = _x - 30 * Scount; _root['spark' + (Scount + 400)]._y = _y - 60; _root.attachMovie('explosion small', 'spark' + (Scount + 500), _root.getNextHighestDepth()); _root['spark' + (Scount + 500)]._x = _x + 30 * Scount; _root['spark' + (Scount + 500)]._y = _y - 60; } } if (mc._currentframe > 22 && _currentframe == 2) { this.swapDepths(999); this.removeMovieClip(); } }; } frame 2 { _root.Explosion3.start(0, 1); _root.gunlaser.start(0, 1); } frame 21 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 902 { } movieClip 903 missile drop { frame 1 { seconds = 0; stop(); onEnterFrame = function () { if (_currentframe == 1) { _x = _x + speed; _y = _y + fallspeed; ++fallspeed; ++seconds; j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); if (_root.map[i][j] == 20) { if (fallspeed > 0) { fallspeed *= 0.9; } fallspeed -= 1.2; _rotation = _rotation - 0.2; } else { _rotation = (Math.atan2(fallspeed, speed) / Math.PI) * 180 - 90; } if (_root.guy.body.hitTest(this)) { _root.guy.impact = 10; _root.guy.IMPACT += 90; gotoAndStop(2); _rotation = 0; speed = 0; fallspeed = 0; } } if (!this.hitTest(_root.cam)) { this.swapDepths(999); this.removeMovieClip(); } if (seconds > 10) { if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000' || seconds > 70) { gotoAndStop(2); _rotation = 0; speed = 0; fallspeed = 0; } } if (mc._currentframe > 22 && _currentframe == 2) { this.swapDepths(999); this.removeMovieClip(); } }; } frame 2 { _root.Explosion4.start(0, 1); } } movieClip 1332 { frame 1 { stop(); } frame 100 { gotoAndStop(1); } frame 210 { gotoAndStop(1); } frame 319 { gotoAndStop(1); } frame 515 { gotoAndStop(1); } frame 680 { gotoAndStop(1); } frame 932 { gotoAndStop(1); } frame 1233 { gotoAndStop(1); } frame 1331 { gotoAndStop(1); } frame 1464 { gotoAndStop(1); } frame 1579 { gotoAndStop(1); } frame 1721 { gotoAndStop(1); } frame 1937 { gotoAndStop(1); } frame 1997 { gotoAndStop(1); } frame 2053 { gotoAndStop(1); } frame 2155 { gotoAndStop(1); } frame 2326 { gotoAndStop(1); } frame 2404 { gotoAndStop(1); } frame 2541 { gotoAndStop(1); } frame 2646 { gotoAndStop(1); } frame 2702 { gotoAndStop(1); } frame 2793 { gotoAndStop(1); } frame 2893 { gotoAndStop(1); } frame 2977 { gotoAndStop(1); } frame 3049 { gotoAndStop(1); } frame 3151 { gotoAndStop(1); } frame 3230 { gotoAndStop(1); } frame 3296 { gotoAndStop(1); } frame 3374 { gotoAndStop(1); } frame 3487 { gotoAndStop(1); } frame 3570 { gotoAndStop(1); } frame 3770 { gotoAndStop(1); } frame 3876 { gotoAndStop(1); } frame 3978 { gotoAndStop(1); } frame 4123 { gotoAndStop(1); } frame 4213 { gotoAndStop(1); } frame 4269 { gotoAndStop(1); } } movieClip 1335 { } movieClip 1368 { frame 1 { SINE = 0; HEIGHT = _height; onEnterFrame = function () { if (_currentframe > 10 && _currentframe < 56) { _root.cam.SHAKE = 20; SINE += 90; _height = HEIGHT + Math.sin(SINE) * 10; _parent.OLDXSPEED = (30 - _currentframe) / 2; _parent.OLDYSPEED += 3; } }; } frame 7 { _root.roar.start(0, 1); _root.roar.start(0, 1); } frame 66 { _parent.READY = true; _parent.seconds = 30; } } movieClip 1379 { frame 1 { onEnterFrame = function () { if (_currentframe > 8 && _currentframe < 18) { _parent.OLDYSPEED = -5; } if (_currentframe == 18) { _parent.OLDYSPEED = 60; } }; } frame 21 { _root.cam.SHAKE = 20; } frame 32 { _parent.seconds = 0; } } movieClip 1384 { frame 3 { _parent.OLDYSPEED = 50; } frame 15 { _parent.GROUNDED = false; _parent.seconds = 50; _parent.MOVE = 'straightUP'; _parent.fallspeed = -55; } } movieClip 1397 { frame 1 { SPEED = 0; onEnterFrame = function () { if (SPEED < 5) { SPEED += 0.5; } if (_currentframe < 50) { _parent.OLDYSPEED -= SPEED; _parent.OLDXSPEED += SPEED; } }; } frame 75 { _parent.seconds = 0; } } movieClip 1411 { frame 1 { SPEED = 0; onEnterFrame = function () { if (SPEED < 5) { SPEED += 0.5; } if (_currentframe < 50) { _parent.OLDYSPEED -= SPEED; _parent.OLDXSPEED -= SPEED; } }; } frame 75 { _parent.seconds = 0; } } movieClip 1413 { frame 1 { Ecount = 0; onEnterFrame = function () { if (_currentframe > 8) { if (_currentframe / 5 == Math.round(_currentframe / 5)) { ++Ecount; _root.attachMovie('explosion small', 'explosion' + Ecount, _root.getNextHighestDepth()); _root['explosion' + Ecount]._x = _parent._x - 30 + Math.random() * 60; _root['explosion' + Ecount]._y = _parent._y - 20 + Math.random() * 40; } _root.cam.SHAKE = _currentframe / 3; if (_currentframe > 25) { _parent.GROUNDED = false; _parent.fallspeed = 0; } } }; } frame 60 { _root.cam.SHAKE = 40; _root.animated.attachMovie('timewarp', 'timewarp', _root.getNextHighestDepth()); _root.animated.timewarp._x = _parent._x; _root.animated.timewarp._y = _parent._y; _root.animated.timewarp.gotoAndPlay(2); ++Ecount; _root.attachMovie('explosion big', 'explosion' + Ecount, _root.getNextHighestDepth()); _root['explosion' + Ecount]._x = _parent._x; _root['explosion' + Ecount]._y = _parent._y; _root.BOSSfight = false; _root.ground.shark.removeMovieClip(); _root.Background.shark.removeMovieClip(); } } movieClip 1414 { frame 1 { stop(); onEnterFrame = function () { if (!GROUNDED) { if (_parent.HEALTH < 0) { gotoAndStop('DEATH'); _rotation = 0; } else { gotoAndStop(1); if (_rotation > -80) { gotoAndStop(2); } if (_rotation > -70) { gotoAndStop(3); } if (_rotation > -50) { gotoAndStop(4); } if (_rotation > -30) { gotoAndStop(5); } if (_rotation > 0) { gotoAndStop(6); } if (_rotation > 30) { gotoAndStop(7); } if (_rotation > 50) { gotoAndStop(8); } if (_rotation > 70) { gotoAndStop(9); } if (_rotation > 90) { gotoAndStop(8); _yscale = -100; } else { _yscale = 100; } if (_rotation > 110) { gotoAndStop(7); } if (_rotation > 130) { gotoAndStop(6); } if (_rotation > 150) { gotoAndStop(5); } if (_rotation > 170) { gotoAndStop(4); } if (_rotation < -110) { gotoAndStop(3); _yscale = -100; } } } else { if (seconds > 100) { if (!READY) { gotoAndStop(15); } } else { if (seconds == 50 && READY) { MOVE = 'NAPALM'; if (Math.random() > 0.5 && _root.guy._x < _root.boatM._x - 100) { MOVE = 'WHIP LEFT'; } else { if (Math.random() > 0.5 && _root.guy._x > _root.boatM._x + 100) { MOVE = 'WHIP RIGHT'; } else { if (Math.random() > 0.5) { MOVE = 'BITE'; } } } if (_parent.HEALTH < 0) { MOVE = 'DEATH'; } } if (seconds > 50 && READY) { gotoAndStop(MOVE); } else { _root.ground.shark._width = _width * 0.7; _root.ground.shark._height = _width * 0.5; gotoAndStop(12); if (YSPEED > 2) { gotoAndStop(13); } if (YSPEED > 3) { gotoAndStop(14); } if (YSPEED < -2) { gotoAndStop(11); } if (YSPEED < -3) { gotoAndStop(10); } } } } }; } instance of movieClip 73 hitBox { onClipEvent (load) { Bcount = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { _parent._parent.impact = 3; _parent._parent.HEALTH -= 0.1; --_parent.OLDYSPEED; ++Bcount; _parent._parent.attachMovie('blood squib', 'blood squib' + Bcount, _parent._parent.getNextHighestDepth()); _parent._parent['blood squib' + Bcount]._x = _root.BEAM.nodeENDX; _parent._parent['blood squib' + Bcount]._y = _root.BEAM.nodeENDY; } if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } } movieClip 1416 { instance body of movieClip 73 hitBox { onClipEvent (load) { _root.ground.attachMovie('hitBox', 'sharktail', _root.ground.getNextHighestDepth()); _root.ground.sharktail._width = _width; _root.ground.sharktail._height = _height; Bcount = 0; } onClipEvent (enterFrame) { if (!_root.PAUSE) { _root.ground.sharktail._visible = true; _root.ground.sharktail._x = _parent._x; _root.ground.sharktail._y = _parent._y; _root.ground.sharktail._rotation = _parent._rotation; if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { _root.kick2.start(0, 1); _parent._parent.impact = 3; _parent._parent.HEALTH -= 0.5; ++Bcount; _parent._parent.attachMovie('blood squib', 'blood squib' + Bcount, _parent._parent.getNextHighestDepth()); _parent._parent['blood squib' + Bcount]._x = _root.BEAM.nodeENDX; _parent._parent['blood squib' + Bcount]._y = _root.BEAM.nodeENDY; } } } } } movieClip 1425 { frame 1 { stop(); onEnterFrame = function () { gotoAndStop(1); if (_rotation > -80) { gotoAndStop(2); } if (_rotation > -70) { gotoAndStop(3); } if (_rotation > -50) { gotoAndStop(4); } if (_rotation > -30) { gotoAndStop(5); } if (_rotation > 0) { gotoAndStop(6); } if (_rotation > 30) { gotoAndStop(7); } if (_rotation > 50) { gotoAndStop(8); } if (_rotation > 70) { gotoAndStop(9); } if (_rotation > 90) { gotoAndStop(8); _yscale = -100; } else { _yscale = 100; } if (_rotation > 110) { gotoAndStop(7); } if (_rotation > 130) { gotoAndStop(6); } if (_rotation > 150) { gotoAndStop(5); } if (_rotation > 170) { gotoAndStop(4); } if (_rotation < -110) { gotoAndStop(3); _yscale = -100; } this.swapDepths(54); }; } } movieClip 1431 { frame 1 { stop(); onEnterFrame = function () { gotoAndStop(1); if (_rotation > -80) { gotoAndStop(2); } if (_rotation > -70) { gotoAndStop(3); } if (_rotation > -50) { gotoAndStop(4); } if (_rotation > -30) { gotoAndStop(5); } if (_rotation > 0) { gotoAndStop(6); } if (_rotation > 30) { gotoAndStop(7); } if (_rotation > 50) { gotoAndStop(8); } if (_rotation > 70) { gotoAndStop(9); } if (_rotation > 90) { gotoAndStop(8); _yscale = -100; } else { _yscale = 100; } if (_rotation > 110) { gotoAndStop(7); } if (_rotation > 130) { gotoAndStop(6); } if (_rotation > 150) { gotoAndStop(5); } if (_rotation > 170) { gotoAndStop(4); } if (_rotation < -110) { gotoAndStop(3); _yscale = -100; } if (_currentframe >= 5) { this.swapDepths(51); } else { this.swapDepths(55); } }; } } movieClip 1432 shark { frame 1 { nodecount = 0; impact = 0; FORM = 1; i = 0; while (i < 60) { ++nodecount; attachMovie('hitBox', 'node' + nodecount, nodecount); this['node' + nodecount].NUMBER = nodecount; ++i; } seconds = 0; Tseconds = 0; SINE = 0; HEALTH = 100; SPACING = 15; WIGGLE = 3; MINEdeployedL = false; MINEdeployedR = false; MINEdeployedM = false; TOP = 0; LEFT = 0; RIGHT = 960; onEnterFrame = function () { if (!_root.PAUSE) { BOTTOM = _root.cam.BOTTOM; if (impact > 0) { --impact; ++seconds; } else { seconds = 0; } if (HEALTH < 50 && FORM == 1) { sharktail.body.swapDepths(999); sharktail.body.removeMovieClip(); impact = 0; sharkface.STOP = true; ++Tseconds; if (Tseconds > 45 && Tseconds < 90 && Tseconds / 3 == Math.round(Tseconds / 3)) { _root.Explosion6.start(0, 1); _root.attachMovie('explosion spark', 'spark' + Tseconds, _root.getNextHighestDepth()); _root['spark' + Tseconds]._x = this['node' + Tseconds / 3]._x; _root['spark' + Tseconds]._y = this['node' + Tseconds / 3]._y; _root.cam.SHAKE = 5; } if (Tseconds > 95) { _root.cam.SHAKE = 30; _root.rip.start(0, 1); i = 15; while (i < 30) { _root.attachMovie('blood squib', 'blood' + i, _root.getNextHighestDepth()); _root['blood' + i]._x = this['node' + i]._x; _root['blood' + i]._y = this['node' + i]._y; ++i; } FORM = 2; sharktail.removeMovieClip(); _root.ground.sharktail.removeMovieClip(); sharktopfin.removeMovieClip(); sharkfin.removeMovieClip(); sharkface.STOP = false; } } if (FORM == 1) { createEmptyMovieClip('outLINE', 61); outLINE.moveTo(node1._x, node1._y); createEmptyMovieClip('LINE', 62); LINE.moveTo(node1._x, node1._y); i = 1; while (i <= 30) { X = this['node' + i]._x - this['node' + (i - 1)]._x; Y = this['node' + i]._y - this['node' + (i - 1)]._y; this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; if (i != 1) { this['node' + i]._x = this['node' + (i - 1)]._x + Math.cos(this['node' + i].ANGLE * 0.0174532925199433) * 7; this['node' + i]._y = this['node' + (i - 1)]._y + Math.sin(this['node' + i].ANGLE * 0.0174532925199433) * 7; } else { this['node' + i]._x = sharkface._x; this['node' + i]._y = sharkface._y; } outLINE.lineStyle(100 - i * 2, 0); outLINE.lineTo(this['node' + i]._x, this['node' + i]._y); LINE.lineStyle(93 - i * 2, 11121085); if (i > 15 && impact > 0) { if (seconds / 2 == Math.round(seconds / 2)) { LINE.lineStyle(93 - i * 2, 15068927); } else { LINE.lineStyle(93 - i * 2, 3750720); } } LINE.lineTo(this['node' + i]._x, this['node' + i]._y); sharkface._rotation = (Math.atan2(sharkface.fallspeed, sharkface.speed) / Math.PI) * 180 + 180; ++i; } } else { SINE += 0.5; this.createEmptyMovieClip('outLINE', 61); this.createEmptyMovieClip('LINE', 62); i = 1; while (i <= 60) { if (!sharkface.GROUNDED) { X = this['node' + i]._x - this['node' + (i - 1)]._x; Y = this['node' + i]._y - this['node' + (i - 1)]._y; this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 + 3; if (i > 15) { this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 + 10; } if (i > 30) { this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 - 10; } if (i > 45) { this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180 - 3; } if (i != 1 && i != 15 && i != 30 && i != 45) { this['node' + i].X = this['node' + (i - 1)]._x + Math.cos(this['node' + i].ANGLE * 0.0174532925199433) * SPACING; this['node' + i]._x = this['node' + i].X + Math.sin(this['node' + i].ANGLE * 0.0174532925199433) * (Math.sin(SINE - i / 2) * WIGGLE); this['node' + i].Y = this['node' + (i - 1)]._y + Math.sin(this['node' + i].ANGLE * 0.0174532925199433) * SPACING; this['node' + i]._y = this['node' + i].Y + Math.cos(this['node' + i].ANGLE * 0.0174532925199433) * (Math.sin(SINE - i / 2) * WIGGLE); } else { THICKNESS = i; if (i == 1) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation - 90) * 0.0174532925199433) * 16; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation - 90) * 0.0174532925199433) * 16; } if (i == 15) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation + 90) * 0.0174532925199433) * 32; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation + 90) * 0.0174532925199433) * 32; } if (i == 30) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation - 90) * 0.0174532925199433) * 32; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation - 90) * 0.0174532925199433) * 32; } if (i == 45) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation + 90) * 0.0174532925199433) * 16; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation + 90) * 0.0174532925199433) * 16; } outLINE.moveTo(this['node' + i]._x, this['node' + i]._y); LINE.moveTo(this['node' + i]._x, this['node' + i]._y); } } else { if (SPACING == 15) { WIGGLE = 15; SPACING = 40; } X = LEFT - node1._x; Y = TOP - node1._y; this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; if (i > 15) { X = RIGHT - node15._x; Y = TOP - node15._y; this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; } if (i > 30) { X = RIGHT - node30._x; Y = BOTTOM - node30._y; if (sharkface.MC._currentframe >= 50 && sharkface.MOVE == 'WHIP RIGHT') { X = RIGHT - 150 - node30._x; Y = BOTTOM - node30._y; } this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; } if (i > 45) { X = LEFT - node45._x; Y = BOTTOM - node45._y; if (sharkface.MC._currentframe >= 50 && sharkface.MOVE == 'WHIP LEFT') { X = LEFT + 150 - node45._x; Y = BOTTOM - node45._y; } this['node' + i].ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; } if (i != 1 && i != 15 && i != 30 && i != 45) { if (sharkface.READY) { WIGGLE = 1; SPACING = 40; } if (sharkface.MOVE == 'WHIP LEFT' && i > 45) { if (sharkface.MC._currentframe < 50) { WIGGLE = i - 30; SPACING = 10; } if (sharkface.MC._currentframe > 50 && sharkface.MC._currentframe < 70 && this['node' + i].hitTest(_root.guy.body)) { _root.guy.impact = 10; } } if (sharkface.MOVE == 'WHIP RIGHT' && i > 30 && i < 45) { if (sharkface.MC._currentframe < 50) { WIGGLE = i - 30; SPACING = 10; } if (sharkface.MC._currentframe > 50 && sharkface.MC._currentframe < 70 && this['node' + i].hitTest(_root.guy.body)) { _root.guy.impact = 10; } } this['node' + i].X = this['node' + (i - 1)]._x + Math.cos(this['node' + i].ANGLE * 0.0174532925199433) * SPACING; this['node' + i]._x = this['node' + i].X + Math.sin(this['node' + i].ANGLE * 0.0174532925199433) * (Math.sin(SINE - i / 2) * WIGGLE); this['node' + i].Y = this['node' + (i - 1)]._y + Math.sin(this['node' + i].ANGLE * 0.0174532925199433) * SPACING; this['node' + i]._y = this['node' + i].Y + Math.cos(this['node' + i].ANGLE * 0.0174532925199433) * (Math.sin(SINE - i / 2) * WIGGLE); } else { THICKNESS = i; if (i == 1) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation - 135) * 0.0174532925199433) * 30; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation - 135) * 0.0174532925199433) * 30; } if (i == 15) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation - 45) * 0.0174532925199433) * 30; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation - 45) * 0.0174532925199433) * 30; } if (i == 30) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation + 45) * 0.0174532925199433) * 30; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation + 45) * 0.0174532925199433) * 30; } if (i == 45) { this['node' + i]._x = sharkface._x + Math.cos((sharkface._rotation + 135) * 0.0174532925199433) * 30; this['node' + i]._y = sharkface._y + Math.sin((sharkface._rotation + 135) * 0.0174532925199433) * 30; } outLINE.moveTo(this['node' + i]._x, this['node' + i]._y); LINE.moveTo(this['node' + i]._x, this['node' + i]._y); } } HUE = 80 + Math.round(i - THICKNESS) * 3 * 3; if (HUE > 100 && HUE < 130) { HUE = 'AA'; } if (HUE > 130 && HUE < 150) { HUE = 'CC'; } if (HUE > 150) { HUE = 'FF'; } outLINE.lineStyle(35 - (i - THICKNESS) * 2, 0); outLINE.lineTo(this['node' + i]._x, this['node' + i]._y); LINE.lineStyle(30 - (i - THICKNESS) * 2, '0x' + HUE + 'B1BD'); LINE.lineTo(this['node' + i]._x, this['node' + i]._y); if (!sharkface.GROUNDED && HEALTH > 0) { sharkface._rotation = (Math.atan2(sharkface.fallspeed, sharkface.speed) / Math.PI) * 180 + 180; } ++i; } } if (sharkface.GROUNDED) { if (WIGGLE > 1) { WIGGLE *= 0.9; } } else { sharktail._x = node30._x; sharktail._y = node30._y; sharktail._rotation = node30.ANGLE; sharkfin._x = node15._x; sharkfin._y = node15._y; sharkfin._rotation = node15.ANGLE; sharktopfin._x = node10._x; sharktopfin._y = node10._y; sharktopfin._rotation = node10.ANGLE; } if (HEALTH <= 50) { if (MINEdeployedL == false) { this.attachMovie('sea mine', 'seamine1', this.getNextHighestDepth()); seamine1._x = _root.boatL._x; seamine1._y = 660; seamine1.fallspeed = -15 - Math.random() * 7; MINEdeployedL = true; } if (seamine1.fallspeed > -5) { if (MINEdeployedR == false) { this.attachMovie('sea mine', 'seamine2', this.getNextHighestDepth()); seamine2._x = _root.boatR._x; seamine2._y = 660; seamine2.fallspeed = -15 - Math.random() * 7; MINEdeployedR = true; } } if (seamine2.fallspeed > -5) { if (MINEdeployedM == false) { this.attachMovie('sea mine', 'seamine3', this.getNextHighestDepth()); seamine3._x = _root.boatM._x; seamine3._y = 660; seamine3.fallspeed = -15 - Math.random() * 7; MINEdeployedM = true; } } } } }; } instance of movieClip 73 hitBox { onClipEvent (load) { Bcount = 0; } onClipEvent (enterFrame) { if (!_parent.sharkface.GROUNDED && _parent.sharkface.MOVE != 'TRANSFORM') { _visible = true; ++Bcount; if (Bcount > 20) { Bcount = 0; } this.attachMovie('blood squib', 'blood squib' + Bcount, Bcount); this['blood squib' + Bcount]._x = _parent.sharkface._x + _parent.sharkface.speed; this['blood squib' + Bcount]._y = _parent.sharkface._y + _parent.sharkface.fallspeed; this['blood squib' + Bcount]._xscale = 150; this['blood squib' + Bcount]._yscale = 150; } else { _visible = false; } } } instance sharkface of movieClip 1414 { onClipEvent (load) { this.swapDepths(71); fallspeed = 0; speed = 0; seconds = 0; MOVE = 'acrossL'; STOP = false; GROUNDED = false; elasticness = 0.9; quickness = 0.1; OLDXSPEED = 0; OLDYSPEED = 10; myColor = new Color(this); myColorTransform = new Object(); } onClipEvent (enterFrame) { if (!_root.PAUSE) { if (!GROUNDED) { if (!STOP) { if (seconds == 20) { _parent.attachMovie('underwater blood', 'blood', 100); _parent.blood._x = targetX; _parent.blood._y = _root.cam._y + _root.cam._height / 2; } if (MOVE == 'acrossL') { targetX = _root.boatR._x + 150; targetY = 900; } if (MOVE == 'shortL') { targetX = _root.boatM._x + 120; targetY = 900; } if (MOVE == 'shortR') { targetX = _root.boatM._x - 100; targetY = 900; } if (MOVE == 'acrossR') { targetX = _root.boatL._x - 150; targetY = 900; } if (MOVE == 'straightUP') { targetX = _root.boatM._x; targetY = 900; } if (MOVE == 'TRANSFORM') { targetX = _root.boatM._x; targetY = 900; } ++seconds; _root.ground.shark._visible = true; _root.ground.shark._x = _x; _root.ground.shark._y = _y; _root.ground.shark._rotation = _rotation; if (_y > 1200) { _y = 1200; speed = 0; fallspeed = 0; } _x = _x + speed; _y = _y + fallspeed; if (fallspeed > 0) { fallspeed += 2; } else { ++fallspeed; } if (seconds < 50) { _x = _x - (_x - targetX) / 10; _y = _y - (_y - targetY) / 3; fallspeed = 0; speed = -0.1; } else { if (seconds == 50) { fallspeed = -40; if (MOVE == 'straightUP') { fallspeed = -80; } if (MOVE == 'TRANSFORM') { fallspeed = -35; } _y = 750; } if (MOVE == 'TRANSFORM' && fallspeed > 3) { stickX = _x; stickY = _y; if (READY) { seconds = 0; } GROUNDED = true; } j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); if (_root.map[i][j] == 20 || _y > 600) { speed *= 0.5; } else { if (MOVE == 'acrossL') { speed -= (speed + 17) / 5; } if (MOVE == 'shortL') { speed -= (speed + 5) / 5; } if (MOVE == 'shortR') { speed -= (speed - 5) / 5; } if (MOVE == 'acrossR') { speed -= (speed - 17) / 5; } } if (_parent.HEALTH <= 60) { if (MOVE == 'acrossL' || MOVE == 'acrossR') { if (seconds == 84) { _parent.attachMovie('missile drop', 'missile', 0); _parent.missile._x = _x; _parent.missile._y = _y; _parent.missile.fallspeed = 5; _root.SwishHard.start(0, 1); } if (seconds == 90) { _parent.attachMovie('missile drop', 'missile2', -1); _parent.missile2._x = _x; _parent.missile2._y = _y; _parent.missile2.fallspeed = 5; _root.SwishHard.start(0, 1); } if (seconds == 96) { _parent.attachMovie('missile drop', 'missile3', -2); _parent.missile3._x = _x; _parent.missile3._y = _y; _parent.missile3.fallspeed = 5; _root.SwishHard.start(0, 1); } } } if (seconds == 80 && MOVE == 'straightUP') { _parent.attachMovie('missile napalm drop', 'missile', 100); _parent.missile._x = _x; _parent.missile._y = _y; _root.EnergyWooshLow.start(0, 1); } if (seconds > 150 && MOVE != 'straightUP') { seconds = 0; MOVE = 'shortR'; if (Math.random() < 0.4) { MOVE = 'shortL'; } if (Math.random() < 0.4) { MOVE = 'acrossR'; } if (Math.random() < 0.4) { MOVE = 'acrossL'; } if (Math.random() < 0.3 && _parent.HEALTH < 90) { MOVE = 'straightUP'; } if (_parent.FORM == 2) { MOVE = 'TRANSFORM'; } } if (MOVE == 'straightUP' && seconds > 200) { seconds = 0; MOVE = 'shortR'; if (Math.random() < 0.4) { MOVE = 'shortL'; } if (Math.random() < 0.4) { MOVE = 'acrossR'; } if (Math.random() < 0.4) { MOVE = 'acrossL'; } if (Math.random() < 0.3 && _parent.HEALTH < 90) { MOVE = 'straightUP'; } if (_parent.FORM == 2) { MOVE = 'TRANSFORM'; } } } if (this.hitTest(_root.guy.body)) { _root.guy.impact = 20; _root.guy.speed = speed / 3; _root.guy.fallspeed = fallspeed / 3; } } } else { ++seconds; _rotation = 0; _root.ground.shark._x = _x; _root.ground.shark._y = _y; _root.ground.shark._rotation = _rotation; XDISTANCE = stickX - _x; YDISTANCE = stickY - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_parent.impact > 0) { if (_parent.seconds / 2 == Math.round(_parent.seconds / 2)) { myColorTransform = {'rb': -100, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 100, 'gb': 100, 'bb': 100}; myColor.setTransform(myColorTransform); } } } } } } instance sharktail of movieClip 1416 { onClipEvent (load) { this.swapDepths(74); myColor = new Color(this); myColorTransform = new Object(); } onClipEvent (enterFrame) { if (!_root.PAUSE) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_parent.impact > 0) { if (_parent.seconds / 2 == Math.round(_parent.seconds / 2)) { myColorTransform = {'rb': -100, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 100, 'gb': 100, 'bb': 100}; myColor.setTransform(myColorTransform); } } } } } instance sharkfin of movieClip 1425 { onClipEvent (load) { this.swapDepths(72); } } instance sharktopfin of movieClip 1431 { onClipEvent (load) { this.swapDepths(73); } } } movieClip 1437 industrail building darker { frame 1 { stop(); myColor = new Color(this); myColorTransform = new Object(); if (Math.random() > 0.5) { gotoAndStop(2); } if (Math.random() > 0.5) { gotoAndStop(3); } if (Math.random() > 0.5) { gotoAndStop(4); } if (Math.random() > 0.5) { _xscale = _xscale * -1; } onEnterFrame = function () { if (_parent._name == 'BACKGROUND') { _x = _x - 20; if (_x < -200) { this.removeMovieClip(); } myColorTransform = {'rb': -50, 'gb': -80, 'bb': -110}; myColor.setTransform(myColorTransform); } }; } } movieClip 1442 industrail building { frame 1 { stop(); myColor = new Color(); myColorTransform = new Object(this); myColorTransform = {'rb': -200, 'gb': -200, 'bb': -200}; myColor.setTransform(myColorTransform); if (Math.random() > 0.5) { gotoAndStop(2); } if (Math.random() > 0.5) { gotoAndStop(3); } if (Math.random() > 0.5) { gotoAndStop(4); } if (Math.random() > 0.5) { _xscale = _xscale * -1; } } } movieClip 1447 Paper Corp { frame 1 { this.cacheAsBitmap = true; } } movieClip 1454 { } movieClip 1462 { frame 1 { gotoAndStop(2); } } movieClip 1476 { frame 1 { gotoAndStop(2); } frame 3 { _root.cam.SHAKE = 5; _parent.claws.claw.seconds = 0; _root.rip.start(0, 1); _root.GunShotBig.start(0, 1); } instance of movieClip 73 hitBox { onClipEvent (load) { if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } frame 29 { _parent.FOLLOWING = true; _parent.aboveseconds = 0; } } movieClip 1488 circle { frame 16 { stop(); this.removeMovieClip(); } } movieClip 1489 { instance smoke of movieClip 1488 circle { onClipEvent (load) { if (_name == 'smoke') { _visible = false; } else { _visible = true; _alpha = 100; } _xscale = 100 + Math.random() * 30; _yscale = _xscale; speed = 2 - Math.random() * 4; fallspeed = -5; _rotation = Math.random() * 360; } onClipEvent (enterFrame) { if (_name != 'smoke') { _x = _x + speed; _y = _y + fallspeed; ++seconds; _xscale = _xscale + SCALEspeed; _yscale = _xscale; } } } } movieClip 1491 { frame 1 { stop(); onEnterFrame = function () { if (_parent._parent.body._currentframe == 7) { gotoAndStop(3); } }; } } movieClip 1493 { frame 1 { if (_root.HATtype == 'pirate' && _name == 'frontL') { gotoAndStop(3); } else { var THIS = new flash.display.BitmapData(80, 220, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(25, 20); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -25; MOVIECLIP._y = -20; } } frame 3 { var THIS = new flash.display.BitmapData(80, 220, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(25, 20); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -25; MOVIECLIP._y = -20; } } movieClip 1494 { frame 1 { var THIS = new flash.display.BitmapData(80, 220, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(25, 20); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -25; MOVIECLIP._y = -20; } } movieClip 1495 { frame 1 { stop(); onEnterFrame = function () { _x = _parent.body._x; if (_root.DINOSAUR) { gotoAndStop(2); } }; } instance middleR of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.frontR._x - _x; Y = _parent.frontR._y - _y; mc._y = Math.sqrt(X * X + Y * Y) * 1.4; mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance frontR of movieClip 1493 { onClipEvent (load) { X = _x - _parent.X; Y = _y; oSIN = 270 + _parent.SINE; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _parent._parent.body._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; i = 0; while (i < 20) { if ((_root.groundBitmap.getPixel(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y + 130)).toString(16) == 'ff0000') { _y = _y - 5; } ++i; } backX = _x - _parent.backR._x; backY = _y - _parent.backR._y; _parent.backR._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 - 45; _parent.middleR._x = _parent.backR._x - Math.sin(_parent.backR._rotation * 0.0174532925199433) * 45; _parent.middleR._y = _parent.backR._y + Math.cos(_parent.backR._rotation * 0.0174532925199433) * 45; } } } instance backR of movieClip 1494 { onClipEvent (enterFrame) { _y = _parent._parent.body._y - _parent._y; } } instance middleL of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.frontL._x - _x; Y = _parent.frontL._y - _y; mc._y = Math.sqrt(X * X + Y * Y) * 1.4; mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance frontL of movieClip 1493 { onClipEvent (load) { X = _x + _parent.X; Y = _y; oSIN = 90 + _parent.SINE; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _parent._parent.body._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; i = 0; while (i < 20) { if ((_root.groundBitmap.getPixel(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y + 130)).toString(16) == 'ff0000') { _y = _y - 5; } ++i; } backX = _x - _parent.backL._x; backY = _y - _parent.backL._y; _parent.backL._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 + 45; _parent.middleL._x = _parent.backL._x - Math.sin(_parent.backL._rotation * 0.0174532925199433) * 45; _parent.middleL._y = _parent.backL._y + Math.cos(_parent.backL._rotation * 0.0174532925199433) * 45; } } } instance backL of movieClip 1494 { onClipEvent (enterFrame) { _y = _parent._parent.body._y - _parent._y; } } instance middle of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.front._x - _x; Y = _parent.front._y - _y; mc._y = Math.sqrt(X * X + Y * Y); mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance front of movieClip 1493 { onClipEvent (load) { X = _x; Y = _y; oSIN = 90; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _root.enemy20._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; if (_y > Y) { _y = Y; if (!HIT && _root.cam.hitTest(this)) { _root.BREAK.start(0, 1); } HIT = true; } else { HIT = false; } backX = _x - _parent.back._x; backY = _y - _parent.back._y; _parent.back._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 + 45; _parent.middle._x = _parent.back._x - Math.sin(_parent.back._rotation * 0.0174532925199433) * 45; _parent.middle._y = _parent.back._y + Math.cos(_parent.back._rotation * 0.0174532925199433) * 45; } } } instance middle1 of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.front1._x - _x; Y = _parent.front1._y - _y; mc._y = Math.sqrt(X * X + Y * Y); mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance front1 of movieClip 1493 { onClipEvent (load) { X = _x; Y = _y; oSIN = 270; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _root.enemy20._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; if (_y > Y) { _y = Y; if (!HIT && _root.cam.hitTest(this)) { _root.BREAK.start(0, 1); } HIT = true; } else { HIT = false; } backX = _x - _parent.back1._x; backY = _y - _parent.back1._y; _parent.back1._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 - 45 + 180; _parent.middle1._x = _parent.back1._x - Math.sin((_parent.back1._rotation + 180) * 0.0174532925199433) * 45; _parent.middle1._y = _parent.back1._y + Math.cos((_parent.back1._rotation + 180) * 0.0174532925199433) * 45; } } } instance back of movieClip 1494 { onClipEvent (enterFrame) { _x = _parent.front2._x - 50; _y = (_root.enemy20._y - _parent._y) / (_parent._yscale / 100); } } instance back1 of movieClip 1494 { onClipEvent (enterFrame) { _x = _parent.front2._x + 10; _y = (_root.enemy20._y - _parent._y) / (_parent._yscale / 100); } } } movieClip 1496 { frame 1 { stop(); } frame 7 { _root.chop2.start(0, 1); } frame 15 { _root.chop2.start(0, 1); } } movieClip 1564 { } movieClip 1565 { frame 120 { stop(); onEnterFrame = function () { if (_parent._parent.body.HEALTH <= 0) { play(); } }; } frame 136 { _root.smash.start(0, 1); } frame 252 { _root.animated.attachMovie('timewarp', 'timewarp', _root.animated.getNextHighestDepth()); _root.animated.timewarp._x = _root.Background.boss._x; _root.animated.timewarp._y = _root.Background.boss._y - 200; _root.animated.timewarp.gotoAndPlay(2); } frame 293 { gotoAndPlay(292); } } movieClip 1566 { frame 1 { stop(); onEnterFrame = function () { if (_parent._parent.body._currentframe == 5) { gotoAndStop(2); } if (_parent._parent.body._currentframe == 9) { gotoAndStop(3); } }; } } movieClip 1567 { instance armR of movieClip 1491 { onClipEvent (enterFrame) { OPP = _parent.armL.mc._y; ANGLE = _parent.armL._rotation + 90; _x = _parent.armL._x + Math.cos(ANGLE * 0.0174532925199433) * OPP; _y = _parent.armL._y + Math.sin(ANGLE * 0.0174532925199433) * OPP; Xdist = _parent.claw._x - _x; Ydist = _parent.claw._y - _y; _rotation = (-Math.atan2(Xdist, Ydist) / Math.PI) * 180; mc._y = Math.sqrt(Xdist * Xdist + Ydist * Ydist) * 1.1 - 30; if (mc._y <= 80) { mc._y = 80; } } } instance armL of movieClip 1491 { onClipEvent (load) { OPP = _height; X = _x; } onClipEvent (enterFrame) { _x = _parent._parent.body._x + _parent._x + X; _y = _parent._parent.body._y - _parent._y; _y = _y - Math.sin(_parent._parent.body._rotation * 0.0174532925199433) * 100; Xdist = _parent.claw._x - _x; Ydist = _parent.claw._y - _y; HYP = Math.sqrt(Xdist * Xdist + Ydist * Ydist) * 2; if (HYP / 2 > 150) { mc._y = 70 + (HYP / 2 - 150) / 2; } ANGLE = (Math.atan2(Xdist, Ydist) / Math.PI) * 180; _rotation = Math.asin(OPP / HYP) * 90 - ANGLE; if (mc._y <= 80) { mc._y = 80; } } } instance claw of movieClip 1496 { onClipEvent (load) { elasticness = 0.7; quickness = 0.1; OLDXSPEED = 0; OLDYSPEED = 0; seconds = 0; HIT = false; } onClipEvent (enterFrame) { if (_parent._parent.body.HEALTH > 0) { ++seconds; if (seconds >= 100) { XPOINT = _parent._parent.body._x - _parent._x - 200; YPOINT = _parent._parent.body._y - _parent._y + 30; if (seconds == 130) { play(); } if (seconds > 145 && seconds < 150) { if (_root.ground.hitTest(_root.guy._x, _root.guy._y + 10, true)) { XPOINT = _parent._parent.body._x - _parent._x - 220; YPOINT = _parent._parent.body._y - _parent._y + 20; X = _x + _parent._x + _parent._parent._x - _root.guy._x; Y = _y + _parent._y + _parent._parent._y - _root.guy._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; } } } else { if (seconds > 3 && seconds < 5) { _parent._parent.body.FOLLOWING = true; } XPOINT = _parent._parent.body._x - _parent._x - 160; YPOINT = _parent._parent.body._y - _parent._y + 80; } if (seconds > 150) { _parent._parent.body.FOLLOWING = false; _parent._parent.body.SINE -= 0.05; X = _parent.armL._x - _x; Y = _parent.armL._y - _y; DISTANCE = Math.sqrt(X * X + Y * Y); if (DISTANCE < 200) { _x = _x + speed; _y = _y + fallspeed; } if (!_root.ground.hitTest(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y + 30, true)) { if (!HIT) { speed = Math.cos(ANGLE * 0.0174532925199433) * 40; fallspeed = Math.sin(ANGLE * 0.0174532925199433) * 40; if (this.body.hitTest(_root.guy.body) && _root.guy.impact == 0) { _root.guy.impact = 20; _root.guy._y -= 5; } } else { speed *= 0.2; fallspeed *= 0.8; } } if (_root.ground.hitTest(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y, true) && HIT == false) { _root.cam.SHAKE = 20; if (fallspeed > 0) { fallspeed *= -1; } HIT = true; _root.stonebreak.start(0, 1); } if (seconds >= 180) { seconds = 0; HIT = false; } } else { XDISTANCE = XPOINT - _x; YDISTANCE = YPOINT - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; } } else { if ((_root.groundBitmap.getPixel(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y + 20)).toString(16) != 'ff0000') { _y = _y + fallspeed; ++fallspeed; } } } } instance of movieClip 1566 { onClipEvent (load) { elasticness = 0.7; quickness = 0.1; OLDXSPEED = 0; OLDYSPEED = 0; } onClipEvent (enterFrame) { if (_parent._parent.body.HEALTH > 0) { XDISTANCE = _parent._parent.body._x - _parent._x + 130 - _x; YDISTANCE = _parent._parent.body._y - _parent._y + 50 - _y; } else { XDISTANCE = _parent._parent.body._x - _parent._x + 130 - _x; YDISTANCE = _parent._parent.body._y - _parent._y - _y - 20; } XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; } } } movieClip 1573 { frame 1 { gotoAndStop(2); } } movieClip 1581 { frame 1 { gotoAndStop(2); } frame 3 { _root.cam.SHAKE = 5; _parent.claws.claw.seconds = 0; _root.rip.start(0, 1); _root.GunShotBig.start(0, 1); } instance of movieClip 73 hitBox { onClipEvent (load) { if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } frame 29 { _parent.FOLLOWING = true; _parent.aboveseconds = 0; } } movieClip 1585 { } movieClip 1589 { instance of movieClip 661 { onClipEvent (enterFrame) { if (_parent._parent.HEALTH > 0) { _rotation = _rotation + 10; } } } instance of movieClip 661 { onClipEvent (enterFrame) { if (_parent._parent.HEALTH > 0) { _rotation = _rotation + 10; } } } instance of movieClip 661 { onClipEvent (enterFrame) { if (_parent._parent.HEALTH > 0) { _rotation = _rotation + 10; } } } instance of movieClip 661 { onClipEvent (enterFrame) { if (_parent._parent.HEALTH > 0) { _rotation = _rotation + 10; } } } } movieClip 1609 { frame 13 { gotoAndPlay(1); } } movieClip 1636 explosion big { frame 59 { stop(); this.removeMovieClip(); } } movieClip 1637 { frame 1 { stop(); } instance of movieClip 419 flame { onClipEvent (enterFrame) { _rotation = -_parent._rotation; } } } movieClip 1638 crab boss { frame 1 { _visible = false; } frame 100 { _root.BOSSfight = false; } frame 132 { _visible = true; _root.SwishHard.start(0, 1); } frame 138 { _root.kick2.start(0, 1); _root.cam.SHAKE = 20; _root.ground.attachMovie('hitBox', 'crab', _root.ground.getNextHighestDepth()); _root.ground.crab._x = _x; _root.ground.crab._y = _y + 40; _root.ground.crab.attachMovie('hitBox', 'crabBODY', _root.ground.crab.getNextHighestDepth()); _root.ground.crab.crabBODY._width = 250; _root.ground.crab.crabBODY._height = 40; _root.ground.attachMovie('hitBox', 'BIGcrab', _root.ground.getNextHighestDepth()); _root.ground.BIGcrab._x = _x; _root.ground.BIGcrab._y = _y + 40; _root.ground.BIGcrab.attachMovie('hitBox', 'BIGcrabBODY', _root.ground.BIGcrab.getNextHighestDepth()); _root.ground.BIGcrab.BIGcrabBODY._width = 280; _root.ground.BIGcrab.BIGcrabBODY._height = 60; onEnterFrame = function () { _root.ground.crab._visible = true; _root.ground.crab.crabBODY._visible = true; _root.ground.BIGcrab._visible = true; _root.ground.BIGcrab.BIGcrabBODY._visible = true; if (_currentframe > 215) { if (body.fallspeed < 3) { var v2 = new flash.geom.Matrix(); v2.translate(bodyX, bodyY); _root.groundBitmap.draw(_root.ground.BIGcrab, v2, null, 'erase'); } } if (_currentframe < 170) { _root.ground.crab._y -= 2; Y = _root.ground.crab._y; } if (_currentframe > 195 && _currentframe < 215) { _root.ground.crab._x = _x; _root.ground.crab._y -= (_root.ground.crab._y - (Y - 180)) / 20; } if (_currentframe == 217) { _root.ground.crab._x = body._x + _x; _root.ground.crab._y = body._y + _y; } _root.ground.crab.crabBODY._rotation = body._rotation; _root.ground.BIGcrab._x = _root.ground.crab._x; _root.ground.BIGcrab._y = _root.ground.crab._y; _root.ground.BIGcrab.BIGcrabBODY._rotation = body._rotation; if (_currentframe > 215) { if (body.HEALTH > 0) { v2 = new flash.geom.Matrix(); v2.translate(body._x + _x, body._y + _y); _root.groundBitmap.draw(_root.ground.crab, v2, null); } else { v2 = new flash.geom.Matrix(); v2.translate(body._x + _x, body._y + _y); _root.groundBitmap.draw(_root.ground.crab, v2, null, 'erase'); } } else { while (_root.ground.crab.hitTest(_root.guy._x, _root.guy._y - 2, true)) { --_root.guy._y; _root.guy.fallspeed = 0; } while (_root.ground.crab.hitTest(_root.guy._x, _root.guy._y - 40, true)) { ++_root.guy._y; _root.guy.fallspeed = 3; } } bodyX = body._x + _x; bodyY = body._y + _y; }; _root.ground._visible = false; } frame 165 { _root.dink.start(0, 1); } frame 180 { _root.dink.start(0, 1); } frame 195 { _root.DemonRattle.start(0, 1); } frame 217 { stop(); _root.dink.start(0, 1); } instance of movieClip 1489 { onClipEvent (load) { seconds = 0; Scount = 0; } onClipEvent (enterFrame) { if (_parent.body._currentframe >= 5 && _parent.body.HEALTH > 0) { ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { ++Scount; this.smoke.duplicateMovieClip('smoke' + Scount, Scount); this['smoke' + Scount]._x = _parent.body._x - 40; this['smoke' + Scount]._y = _parent.body._y - 50; } else { ++Scount; this.smoke.duplicateMovieClip('smoke' + Scount, Scount); this['smoke' + Scount]._x = _parent.body._x + 40; this['smoke' + Scount]._y = _parent.body._y - 50; } } } } instance of movieClip 1495 { onClipEvent (load) { SINE = 90; } } instance front legs of movieClip 1495 { onClipEvent (load) { SINE = 0; X = 50; this.swapDepths(2); } } instance claws of movieClip 1567 { onClipEvent (load) { this.swapDepths(3); } } instance body of movieClip 1637 { onClipEvent (load) { this.swapDepths(1); elasticness = 0.95; quickness = 0.005; OLDXSPEED = 0; OLDYSPEED = 0; aboveseconds = 0; Xpoint = _x; Ypoint = _y; SINE = 0; X = _x; FOLLOWING = true; impact = 0; myColor = new Color(this); myColorTransform = new Object(); HEALTH = 100; fallspeed = 0; } onClipEvent (enterFrame) { if (HEALTH > 0) { if (_root.guy._y < _y + _parent._y) { ++aboveseconds; if (aboveseconds == 50) { this.spikes front.play(); this.spikes back.play(); _root.attachMovie('mortar', 'mortar' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['mortar' + _root.getNextHighestDepth()]._x = _x + _parent._x; _root['mortar' + _root.getNextHighestDepth()]._y = _y + _parent._y - 50; _root.stonebreak.start(0, 1); } } else { if (_parent.claws.claw.seconds == 150 && HEALTH < 80) { _root.attachMovie('mortar', 'mortar' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['mortar' + _root.getNextHighestDepth()]._x = _x + _parent._x; _root['mortar' + _root.getNextHighestDepth()]._y = _y + _parent._y - 50; } aboveseconds = 0; } _rotation = -(_parent.front legs.frontL._y - _parent.front legs.frontR._y) / 5; if (impact > 0) { --impact; SINE += 180; myColorTransform = {'rb': 100 * Math.sin(SINE), 'gb': 100 * Math.sin(SINE), 'bb': 100 * Math.sin(SINE)}; myColor.setTransform(myColorTransform); } else { SINE = 0; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } if (FOLLOWING == true) { quickness = 0.005; elasticness = 0.95; Xpoint = _root.guy._x - _parent._x; if (aboveseconds > 30) { FOLLOWING = false; } } else { elasticness = 0.7; quickness = 0.001; } if (Xpoint > X + 200) { Xpoint = X + 200; } if (Xpoint < X - 200) { Xpoint = X - 200; } ++Ypoint; if (aboveseconds > 20 && aboveseconds < 50) { _y = _y + 2; } else { if ((_root.groundBitmap.getPixel(Xpoint + _parent._x, Ypoint + _parent._y + 170)).toString(16) == 'ff0000') { Ypoint -= 3; } } XDISTANCE = Xpoint - _x; YDISTANCE = Ypoint - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; if (_x > X + 250) { _x = X + 250; } if (_x < X - 250) { _x = X - 250; } if (HEALTH < 20) { if (_root.guy._y < _y + _parent._y) { if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { impact = 1; HEALTH -= 0.5; } } } else { if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { impact = 1; HEALTH -= 0.5; } } if (HEALTH < 80 && HEALTH > 50) { if (_currentframe < 3) { _root.Explosion4.start(0, 1); } gotoAndStop(3); } if (HEALTH < 50 && HEALTH > 20) { if (_currentframe < 5) { _root.Explosion4.start(0, 1); } gotoAndStop(5); } if (HEALTH < 20 && HEALTH > 0) { if (_currentframe < 7) { _root.CarAlarmBeep.start(0, 99); _root.Explosion4.start(0, 1); } gotoAndStop(7); } } else { if (_currentframe < 9) { _root.CarAlarmBeep.stop(); _root.Explosion3.start(0, 1); } gotoAndStop(9); _root.ground.crab.removeMovieClip(); myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if ((_root.groundBitmap.getPixel(_x + _parent._x, _y + _parent._y + 40)).toString(16) != 'ff0000') { _y = _y + fallspeed; fallspeed += 0.5; } } } } } movieClip 1643 { } movieClip 1683 { frame 1 { stop(); onEnterFrame = function () { FRAME = _parent.animation; gotoAndStop(FRAME); }; } } movieClip 1685 shipette { frame 1 { stop(); xspeed = 0; yspeed = 0; Ccount = 2; Cmax = 30; i = -20; while (i < 20) { this['nodeX' + i] = 0; this['nodeY' + i] = 0; ++i; } rate = 10; elasticness = 0.9; quickness = 0.02; OLDXSPEED = 0; onEnterFrame = function () { if (_currentframe == 1) { deltax = _root.guy._x - _x; deltay = _root.guy._y - 20 - _y; ANGLE = Math.atan2(deltay, deltax) / 0.0174532925199433; XDISTANCE = _root.guy._x - _x; xspeed = OLDXSPEED * elasticness + XDISTANCE * quickness; OLDXSPEED = xspeed; if (_y <= _root.guy._y - 20) { if (yspeed <= 15) { yspeed += 0.5; } } else { if (yspeed >= -15) { yspeed -= 0.5; } } if (_x > _root.Background.ship._x + 420 && xspeed > 0) { xspeed = 0; } if (_x < _root.Background.ship._x - 480 && xspeed < 0) { xspeed = 0; } _x = _x + xspeed; _y = _y + yspeed; wing1._rotation = Math.atan2(yspeed, xspeed) / 0.0174532925199433; wing2._rotation = Math.atan2(yspeed, xspeed) / 0.0174532925199433; animation = 20 + Math.round((ANGLE - _rotation) / 10); if (body.hitTest(_root.guy.body)) { _root.guy.impact = 20; _root.guy._y -= 5; play(); } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { play(); } } ++Ccount; this['nodeX' + Ccount] = 0; this['nodeY' + Ccount] = 0; this.createEmptyMovieClip('LINE', -100001); this.createEmptyMovieClip('insideLINE', -100000); i = Ccount; while (i > Ccount - Cmax) { if (_currentframe == 1) { this['nodeX' + i] -= xspeed; this['nodeY' + i] -= yspeed; } LINE.lineStyle(Cmax - (Ccount - i), 10066329); if (_currentframe == 1) { LINE.lineTo(this['nodeX' + i] + (3 - Math.random() * 6), this['nodeY' + i] + (3 - Math.random() * 6)); } else { LINE.lineTo(this['nodeX' + i], this['nodeY' + i]); } insideLINE.lineStyle(Cmax / 2 - (Ccount - i), 16777215); insideLINE.lineTo(this['nodeX' + i], this['nodeY' + i]); --i; } }; } frame 2 { _root.Explosion6.start(0, 1); _root.kick2.start(0, 1); } frame 40 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 1688 { frame 1 { if (_root.HATtype != 'pirate') { _visible = false; this.swapDepths(999); this.removeMovieClip(); } } } movieClip 1692 ship body { frame 1 { stop(); FRAME = _root._currentframe; onEnterFrame = function () { if (_root._currentframe != FRAME) { this.removeMovieClip(); } }; if (_name == 'body') { gotoAndStop(2); } if (_name == 'body2') { gotoAndStop(3); } var THIS = new flash.display.BitmapData(850, 600, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(425, 300); THIS.draw(this, matrix); this.gotoAndStop(4); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -425; MOVIECLIP._y = -300; } } movieClip 1697 { frame 1 { stop(); onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } } movieClip 1698 { frame 1 { stop(); onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } instance middleL of movieClip 1491 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; } onClipEvent (enterFrame) { SINE += 0.1; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.backL._x + Math.sin(_parent.backL._rotation * 0.0174532925199433) * 70; _y = _parent.backL._y - Math.cos(_parent.backL._rotation * 0.0174532925199433) * 70; } } instance frontL of movieClip 1493 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.07000000000000001; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.middleL._x - Math.sin(_parent.middleL._rotation * 0.0174532925199433) * 70; _y = _parent.middleL._y + Math.cos(_parent.middleL._rotation * 0.0174532925199433) * 70; } } instance backL of movieClip 1697 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION + Math.sin(SINE) * 10; } } instance middleR of movieClip 1491 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.backR._x - Math.sin(_parent.backR._rotation * 0.0174532925199433) * 70; _y = _parent.backR._y + Math.cos(_parent.backR._rotation * 0.0174532925199433) * 70; } } instance frontR of movieClip 1493 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.3; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.middleR._x + Math.sin(_parent.middleR._rotation * 0.0174532925199433) * 70; _y = _parent.middleR._y - Math.cos(_parent.middleR._rotation * 0.0174532925199433) * 70; } } instance backR of movieClip 1697 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.1; _rotation = ROTATION + Math.sin(SINE) * 10; } } instance middle of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.front._x - _x; Y = _parent.front._y - _y; mc._y = Math.sqrt(X * X + Y * Y); mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance front of movieClip 1493 { onClipEvent (load) { X = _x; Y = _y; oSIN = 0; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _root.enemy20._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; if (_y > Y) { _y = Y; if (!HIT && _root.cam.hitTest(this)) { _root.BREAK.start(0, 1); } HIT = true; } else { HIT = false; } backX = _x - _parent.back._x; backY = _y - _parent.back._y; _parent.back._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 + 45 + 180; _parent.middle._x = _parent.back._x - Math.sin((_parent.back._rotation + 180) * 0.0174532925199433) * 70; _parent.middle._y = _parent.back._y + Math.cos((_parent.back._rotation + 180) * 0.0174532925199433) * 70; } } } instance middle1 of movieClip 1491 { onClipEvent (enterFrame) { X = _parent.front1._x - _x; Y = _parent.front1._y - _y; mc._y = Math.sqrt(X * X + Y * Y); mc._height = Math.sqrt(X * X + Y * Y) * 0.7; _rotation = -Math.atan2(X, Y) / 0.0174532925199433; } } instance front1 of movieClip 1493 { onClipEvent (load) { X = _x; Y = _y; oSIN = 180; SINE = oSIN; HIT = true; } onClipEvent (enterFrame) { if (!_root.PAUSE) { SINE = _root.enemy20._x * -0.05 + oSIN; _x = X + Math.sin(SINE) * 30; _y = Y + Math.cos(SINE) * 40; if (_y > Y) { _y = Y; if (!HIT && _root.cam.hitTest(this)) { _root.BREAK.start(0, 1); } HIT = true; } else { HIT = false; } backX = _x - _parent.back1._x; backY = _y - _parent.back1._y; _parent.back1._rotation = -Math.atan2(backX, backY) / 0.0174532925199433 - 45; _parent.middle1._x = _parent.back1._x - Math.sin(_parent.back1._rotation * 0.0174532925199433) * 70; _parent.middle1._y = _parent.back1._y + Math.cos(_parent.back1._rotation * 0.0174532925199433) * 70; } } } instance back of movieClip 1494 { onClipEvent (enterFrame) { _x = _parent.front2._x - 50; _y = (_root.enemy20._y - _parent._y) / (_parent._yscale / 100); } } instance back1 of movieClip 1494 { onClipEvent (enterFrame) { _x = _parent.front2._x + 10; _y = (_root.enemy20._y - _parent._y) / (_parent._yscale / 100); } } } movieClip 1699 { frame 1 { stop(); onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } instance middleR of movieClip 1491 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.backR._x + Math.sin(_parent.backR._rotation * 0.0174532925199433) * 70; _y = _parent.backR._y - Math.cos(_parent.backR._rotation * 0.0174532925199433) * 70; } } instance frontR of movieClip 1493 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION - Math.cos(SINE) * 20; _x = _parent.middleR._x - Math.sin(_parent.middleR._rotation * 0.0174532925199433) * 70; _y = _parent.middleR._y + Math.cos(_parent.middleR._rotation * 0.0174532925199433) * 70; } } instance backR of movieClip 1494 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION + Math.sin(SINE) * 10; } } instance middleL of movieClip 1491 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION - Math.sin(SINE) * 20; _x = _parent.backL._x - Math.sin(_parent.backL._rotation * 0.0174532925199433) * 70; _y = _parent.backL._y + Math.cos(_parent.backL._rotation * 0.0174532925199433) * 70; } } instance frontL of movieClip 1493 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; this.cacheAsBitmap = true; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION - Math.cos(SINE) * 20; _x = _parent.middleL._x - Math.sin(_parent.middleL._rotation * 0.0174532925199433) * 70; _y = _parent.middleL._y + Math.cos(_parent.middleL._rotation * 0.0174532925199433) * 70; } } instance backL of movieClip 1494 { onClipEvent (load) { SINE = 0; ROTATION = _rotation; } onClipEvent (enterFrame) { SINE += 0.2; _rotation = ROTATION + Math.sin(SINE) * 10; } } } movieClip 1701 { frame 1 { if (_root.DINOSAUR) { gotoAndPlay('DINOSAUR'); } } instance of movieClip 681 { onClipEvent (enterFrame) { _rotation = 6 - Math.random() * 10; } } instance of movieClip 692 { onClipEvent (enterFrame) { _rotation = 10 - Math.random() * 6; } } frame 5 { gotoAndPlay(1); } } movieClip 1703 { instance of movieClip 1637 { onClipEvent (load) { stop(); this.cacheAsBitmap = true; } } } movieClip 1736 { frame 1 { Pcount = 0; onEnterFrame = function () { if (_root.Background.ship.HEALTH <= 0) { gotoAndStop(1); } if (_currentframe > 90 && _currentframe < 130) { ++Pcount; _root.attachMovie('smoke pop', 'pop' + Pcount, _root.getNextHighestDepth()); _root['pop' + Pcount]._x = _parent._parent._x + 50 - Math.random() * 100 + Math.sin(_parent._parent._rotation * 0.0174532925199433) * -500; _root['pop' + Pcount]._y = 540; while ((_root.groundBitmap.getPixel(_root['pop' + Pcount]._x, _root['pop' + Pcount]._y)).toString(16) == 'ff0000') { --_root['pop' + Pcount]._y; } _root.cam.SHAKE = 20; } }; } frame 71 { _root.EnergyWoosh.start(0, 1); } frame 90 { _root.GiantBeam.start(0, 1); _root.Explosion5.start(0, 1); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy._x, _root.guy._y, true)) { _root.guy.impact = 10; _root.guy.fallspeed = 0; _root.guy.speed = 0; _root.guy._y -= 2; } } } frame 133 { _root.EnergyWooshLow.start(0, 1); } frame 141 { _root.attachMovie('shipette', 'shipette1', _root.getNextHighestDepth()); _root.shipette1._x = _root.Background.ship._x; _root.shipette1._y = _root.Background.ship._y + 100; } frame 142 { _root.EnergyWooshLow.start(0, 1); } frame 150 { _root.attachMovie('shipette', 'shipette2', _root.getNextHighestDepth()); _root.shipette2._x = _root.Background.ship._x; _root.shipette2._y = _root.Background.ship._y + 100; } frame 151 { _root.EnergyWooshLow.start(0, 1); } frame 159 { _root.attachMovie('shipette', 'shipette3', _root.getNextHighestDepth()); _root.shipette3._x = _root.Background.ship._x; _root.shipette3._y = _root.Background.ship._y + 100; } frame 160 { _root.EnergyWooshLow.start(0, 1); } frame 168 { _root.attachMovie('shipette', 'shipette4', _root.getNextHighestDepth()); _root.shipette4._x = _root.Background.ship._x; _root.shipette4._y = _root.Background.ship._y + 100; } frame 169 { _root.EnergyWooshLow.start(0, 1); } frame 177 { _root.attachMovie('shipette', 'shipette5', _root.getNextHighestDepth()); _root.shipette5._x = _root.Background.ship._x; _root.shipette5._y = _root.Background.ship._y + 100; } } movieClip 1737 { frame 1 { stop(); } instance of movieClip 1703 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (_parent._currentframe != 1) { _y = _y - 5; } } } frame 120 { _root.attachMovie('intro titles', 'titles', _root.getNextHighestDepth()); } frame 128 { stop(); } } movieClip 1741 { } movieClip 1745 { } movieClip 1748 { frame 1 { stop(); SINE = Math.PI * (_parent.boostercount * 0.5); X = _x; Y = _y; ++_parent.boostercount; NUMBER = _parent.boostercount; _parent.HEALTH = 100; myColor = new Color(this); myColorTransform = new Object(); onEnterFrame = function () { if (_parent.HEALTH > 0) { SINE += 0.1; _x = X + Math.cos(SINE) * 360; _y = Y + Math.sin(SINE) * 60; pattern._x = Math.cos(SINE) * 100; this.swapDepths(500 - _y); _rotation = (_x - X) / 10; } if (_currentframe == 3) { if (_parent.HEALTH > 0) { if (_parent.HEALTH < 25) { _parent._rotation = (_rotation / 4) * 3; _parent._rotation += 3 - Math.random() * 6; _parent._y = Math.cos(SINE * 1.2) * 30; } else { if (_parent.HEALTH < 50) { _parent._rotation = (_rotation / 4) * 2; _parent._y = Math.cos(SINE / 2) * 20; } else { if (_parent.HEALTH < 75) { _parent._rotation = (_rotation / 4) * 1; } } } } _rotation = _rotation + (10 - Math.random() * 20); } if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING == true && _currentframe == 1) { _parent.HEALTH -= 0.5; myColorTransform = {'rb': 100 * Math.sin(SINE * 1800), 'gb': 100 * Math.sin(SINE * 1800), 'bb': 100 * Math.sin(SINE * 1800)}; myColor.setTransform(myColorTransform); if (_parent.HEALTH <= 25 * (NUMBER - 1)) { if (_currentframe == 1) { _root.Explosion4.start(0, 1); gotoAndStop(3); } } _root.dink.start(0, 1); } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } }; } } movieClip 1753 { } movieClip 1757 { frame 1 { gotoAndStop(2); this.swapDepths(800); } frame 2 { onEnterFrame = function () { if (_parent.HEALTH < 40) { play(); } }; } instance of movieClip 1753 { onClipEvent (load) { Y = _y; _x = (_root.guy._x - _root.Background.ship._x) / 20; _y = Y + 20 - Math.sqrt(_x * _x); } onClipEvent (enterFrame) { _x = (_root.guy._x - _root.Background.ship._x) / 20; _y = Y + 20 - Math.sqrt(_x * _x); } } instance of movieClip 1753 { onClipEvent (load) { Y = _y; _x = (_root.guy._x - _root.Background.ship._x) / 20; _y = Y + 20 - Math.sqrt(_x * _x); } onClipEvent (enterFrame) { _x = (_root.guy._x - _root.Background.ship._x) / 20; _y = Y + 20 - Math.sqrt(_x * _x); } } frame 11 { if (Math.random() > 0.95) { gotoAndPlay(2); } else { gotoAndPlay(10); } } } movieClip 1758 ship { frame 1 { boostercount = 0; darkness = 0; myColor = new Color(this); myColorTransform = new Object(); fallspeed = 0; seconds = 0; grav = 0.01; EXPLODED = false; Scount = 0; onEnterFrame = function () { if (HEALTH < 50) { ++Scount; if (Scount / 5 == Math.round(Scount / 5)) { smoke.duplicateMovieClip('smoke' + Scount, this.getNextHighestDepth()); this['smoke' + Scount]._x = 300 - Math.random() * 600; this['smoke' + Scount]._y = 50 - Math.random() * 100; if (Math.random() > 0.6) { _root.attachMovie('screw', 'screw' + Scount, _root.getNextHighestDepth()); _root['screw' + Scount]._x = _x + (300 - Math.random() * 600); _root['screw' + Scount]._y = _y + (50 - Math.random() * 100); _root['screw' + Scount].fallspeed = 2; _root['screw' + Scount].secondsMAX = 30 + Math.random() * 10; } } if (Scount > 100) { Scount = 0; } } if (HEALTH < 40) { eye.play(); } DISTANCE = _root.cam._x - _x; if (DISTANCE < 400 && DISTANCE > -400 && mc._currentframe == 1) { if (_root.BOSSfight != 'ship') { _root.Bosstheme.start(0, 99); } _root.ground.attachMovie('hitBox', 'wall', _root.ground.getNextHighestDepth()); _root.ground.wall._x = 630; _root.ground.wall._y = 180; _root.ground.wall._height = 1000; _root.ground.wall._visible = true; _root.groundBitmap.draw(_root.ground); _root.BOSSfight = 'ship'; mc.play(); } if (fallspeed < 10) { var v3 = new flash.geom.Matrix(); v3.translate(_x, _y); _root.groundBitmap.draw(_root.biggership, v3, null, 'erase'); _root.ship.body._rotation = _rotation; _root.biggership.body2._rotation = _rotation; v3 = new flash.geom.Matrix(); v3.translate(_x, _y); _root.groundBitmap.draw(_root.ship, v3, null); } else { if (fallspeed < 15) { var v3 = new flash.geom.Matrix(); v3.translate(_x, _y); _root.groundBitmap.draw(_root.biggership, v3, null, 'erase'); } } if (HEALTH <= 0) { ++seconds; if (seconds / 10 == Math.round(seconds / 10)) { _root.Explosion6.start(0, 1); _root.attachMovie('explosion small', 'explosion' + seconds, _root.getNextHighestDepth()); _root['explosion' + seconds]._x = _x + 300 - Math.random() * 600; _root['explosion' + seconds]._y = _y + 50 - Math.random() * 100; _root['explosion' + seconds]._xscale = 130 - Math.random() * 50; _root['explosion' + seconds]._yscale = _root['explosion' + seconds]._xscale; } if (darkness > -100) { darkness -= 5; } if (fallspeed > 18 && EXPLODED == false) { _root.ground.ship.removeMovieClip(); _root.cam.SHAKE = 30; _root.Explosion3.start(0, 1); _root.attachMovie('explosion big', 'explosion' + seconds, _root.getNextHighestDepth()); _root['explosion' + seconds]._x = _x; _root['explosion' + seconds]._y = _y; _root['explosion' + seconds]._xscale = 200; _root['explosion' + seconds]._yscale = 200; EXPLODED = true; } myColorTransform = {'rb': darkness, 'gb': darkness, 'bb': darkness}; myColor.setTransform(myColorTransform); _y = _y + fallspeed; fallspeed += grav; grav += 0.01; if (_y > _root.cam._y + _root.cam._height * 1.3) { _root.Background.attachMovie('crab boss', 'boss', _root.Background.getNextHighestDepth()); _root.Background.boss._x = 1170; _root.Background.boss._y = 540; _root.cam.SHAKE = 50; this.removeMovieClip(); } } }; } instance of movieClip 1692 ship body { onClipEvent (enterFrame) { this.swapDepths(500 - _y); this.cacheAsBitmap = true; } } instance mc of movieClip 1737 { onClipEvent (load) { this.swapDepths(530 - _y); } onClipEvent (enterFrame) { if (_currentframe == 50) { _root.ground.attachMovie('hitBox', 'wall', _root.ground.getNextHighestDepth()); _root.ground.wall._width = 100; _root.ground.wall._height = 600; _root.ground.wall._x = 630; _root.ground.wall._y = 300; } if (_currentframe == 2) { _root.TractorBeam.start(0, 1); _root.BossTheme.start(0, 1); } } } instance smoke of movieClip 1488 circle { onClipEvent (load) { if (_name == 'smoke') { _visible = false; } else { _visible = true; _alpha = 100; } _xscale = 100 + Math.random() * 30; _yscale = _xscale; speed = 2 - Math.random() * 4; fallspeed = 5 + Math.random() * 3; _rotation = Math.random() * 360; seconds = 0; } onClipEvent (enterFrame) { if (_name != 'smoke') { _x = _x + Math.sin(-_parent._rotation * 0.0174532925199433) * speed; _y = _y - Math.cos(-_parent._rotation * 0.0174532925199433) * fallspeed; ++seconds; _xscale = _xscale + SCALEspeed; _yscale = _xscale; ++seconds; if (seconds / 4 == Math.round(seconds / 4)) { FRAME = _currentframe - 1; gotoAndPlay(FRAME); } } } } } movieClip 1760 { frame 1 { SINE = 0; WIDTH = _width; var THIS = new flash.display.BitmapData(600, 1700, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(300, 800); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -300; MOVIECLIP._y = -800; onEnterFrame = function () { SINE += 90; wplus = Math.sin(SINE) * 40; _width = WIDTH + Math.sqrt(wplus * wplus); }; } } movieClip 1763 { } movieClip 1765 inner ship abducted crab { frame 1 { onEnterFrame = function () { _y = _y - 3; }; } instance of movieClip 1763 { onClipEvent (load) { _visible = false; X = _x; } onClipEvent (enterFrame) { if (_parent._y < 450) { _x = X - 200; _rotation = -30; } if (_parent._y < 500 && _parent._y > 450) { _visible = true; _rotation = _rotation - 0.5; _x = _x - 5; } else { if (_parent._y < 300 && _parent._y > 280) { _visible = true; _rotation = _rotation - 0.3; _x = _x + 3; _y = _y + 20; } else { _visible = false; } } } } instance of movieClip 1637 { onClipEvent (load) { stop(); var THIS = new flash.display.BitmapData(400, 250, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(200, 125); this.spikes front.swapDepths(999); this.spikes front.removeMovieClip(); this.spikes back.swapDepths(999); this.spikes back.removeMovieClip(); THIS.draw(this, matrix); gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -200; MOVIECLIP._y = -125; } } instance of movieClip 1566 { onClipEvent (load) { stop(); this.cacheAsBitmap = true; } } frame 3 { if (_y > -30) { gotoAndPlay(1); } } frame 11 { this.removeMovieClip(); } } movieClip 1790 { frame 1 { stop(); _name = 'HEAD'; if (_root.GUYtype == 6) { gotoAndStop('moustache'); } if (!_root.EDITING) { if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 7 || _root.LEVEL == 8) { gotoAndStop('builder'); } if (_root.LEVEL == 3 && _parent._parent._name == 'guy') { gotoAndStop('rich'); } if (_root.LEVEL == 4) { gotoAndStop('snowy'); } if (_root.guy.BURNING) { gotoAndStop('burning'); } if (_root.HATtype != undefined && _root.HATtype != 0 && _root.HATtype != 1) { gotoAndStop(_root.HATtype); } } if (_root.HATtype == 'pirate') { gotoAndStop('pirate'); } onEnterFrame = function () { if (!_root.EDITING) { if (_root.DINOSAUR) { gotoAndStop(2); } if (_root.LEVEL == 7 || _root.LEVEL == 8) { gotoAndStop('builder'); } if (_root.LEVEL == 3 && _parent._parent._name == 'guy') { gotoAndStop('rich'); } if (_root.LEVEL == 4) { gotoAndStop('snowy'); } if (_root.guy.BURNING) { gotoAndStop('burning'); } if (_root.HATtype != undefined && _root.HATtype != 0 && _root.HATtype != 1) { gotoAndStop(_root.HATtype); } } if (_root.HATtype == 'pirate') { gotoAndStop('pirate'); } }; } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 1812 { frame 1 { onEnterFrame = function () { if (_root.PAUSE) { stop(); } else { play(); } }; } frame 301 { gotoAndPlay(300); } } movieClip 1815 { } movieClip 1828 { } movieClip 1841 { frame 1 { speed = -1 - Math.random() * 3; fallspeed = -10 + Math.random() * 12; FLOORY = 50 + Math.round(Math.random() * 20); onscreen = true; Rspeed = -speed; FRAME = Math.round(1 + Math.random() * 5); gotoAndStop(FRAME); onEnterFrame = function () { if (onscreen) { _rotation = _rotation + Rspeed; _y = _y + fallspeed; ++fallspeed; _x = _x + speed; if (_y > FLOORY && fallspeed > 0) { _y = FLOORY; fallspeed *= -0.5; speed *= 0.5; Rspeed = 10 - Math.random() * 20; } if (speed >= -0.1) { onscreen = false; } SINE = 0; } else { SINE += 180; _alpha = Math.sin(SINE) * 100; if (SINE > 1000) { this.swapDepths(999); this.removeMovieClip(); } } }; } } movieClip 1864 { frame 1 { stop(); if (_root.DINOSAUR) { gotoAndStop(2); } onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } } movieClip 1952 future smash-in alternate { frame 1 { _root.guy._visible = false; onEnterFrame = function () { if (!_root.PAUSE) { play(); } else { stop(); } }; } frame 56 { _root.cam.SHAKE = 20; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); mdm.FileSystem.appendFile('SaveData.htm', 'in2'); var savefile = SharedObject.getLocal('NoTime'); savefile.data.intro = 1; } frame 85 { _root.cam.SHAKE = 20; } frame 289 { _root.cam.SHAKE = 10; } frame 324 { _root.cam.SHAKE = 5; _root.MainTheme.start(0, 1); } frame 416 { _root.guy._visible = true; _root.guy.DANCING = false; _root.guy._x = _x + _parent._x - 150; _root.guy._y = _y + _parent._y + 80; stop(); } frame 454 { gotoAndPlay(450); } } movieClip 1964 { } movieClip 1982 { frame 1 { stop(); } frame 20 { stop(); } } movieClip 1990 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y + 60; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 1998 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 2001 lair tile { frame 1 { if (!_root.EDITING) { if (_root.map[i][j] == 1) { if (_root.map[i - 1][j] != 1 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('spaceship tile gradient', 'TOP', 1); TOP._x = 15; TOP._y = 14; TOP._rotation = 90; } if (_root.map[i][j - 1] != 1 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('spaceship tile gradient', 'LEFT', 2); LEFT._x = 15; LEFT._y = 14; } if (_root.map[i][j + 1] != 1 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('spaceship tile gradient', 'RIGHT', 3); RIGHT._x = 15; RIGHT._y = 14; RIGHT._rotation = 180; } if (_root.map[i + 1][j] != 1 && _root.map[i + 1][j] != 16 && _root.map[i + 1][j] != 17 && _root.map[i + 1][j] != undefined) { this.attachMovie('spaceship tile gradient', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 15; BOTTOM._rotation = -90; } if (_root.map[i - 1][j] == 1 || _root.map[i - 1][j] == 16 || _root.map[i - 1][j] == 17) { if (_root.map[i][j - 1] == 1 || _root.map[i][j - 1] == 16 || _root.map[i][j - 1] == 17) { if (_root.map[i - 1][j - 1] != 1 && _root.map[i - 1][j - 1] != 16 && _root.map[i - 1][j - 1] != 17) { this.attachMovie('spaceship tile gradient', 'corner', 5); corner._x = 15; corner._y = 14; corner.gotoAndStop(2); corner._rotation = 0; } } } if (_root.map[i - 1][j] == 1 || _root.map[i - 1][j] == 16 || _root.map[i - 1][j] == 17) { if (_root.map[i][j + 1] == 1 || _root.map[i][j + 1] == 16 || _root.map[i][j + 1] == 17) { if (_root.map[i - 1][j + 1] != 1 && _root.map[i - 1][j + 1] != 16 && _root.map[i - 1][j + 1] != 17) { this.attachMovie('spaceship tile gradient', 'corner', 6); corner._x = 15; corner._y = 14; corner.gotoAndStop(2); corner._rotation = 90; } } } } } } frame 2 { if (!_root.EDITING) { if (_root.map[i][j] == 2) { if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { this.attachMovie('lair tile gradient', 'TOP', 1); TOP._x = 15; TOP._y = 14; TOP._rotation = 90; TOP.gotoAndStop('light'); } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { this.attachMovie('lair tile gradient', 'BOTTOM', 2); BOTTOM._x = 15; BOTTOM._y = 14; BOTTOM._rotation = -90; BOTTOM.gotoAndStop('light'); } } } if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { this.attachMovie('lair tile gradient', 'LEFT', 3); LEFT._x = 15; LEFT._y = 14; LEFT.gotoAndStop('light'); } } } if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { this.attachMovie('lair tile gradient', 'RIGHT', 4); RIGHT._x = 15; RIGHT._y = 14; RIGHT._rotation = 180; RIGHT.gotoAndStop('light'); } } } if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i - 1][j - 1] != 2 && _root.map[i - 1][j - 1] != 3 && _root.map[i - 1][j - 1] != 4 && _root.map[i - 1][j - 1] != 1) { this.attachMovie('lair tile gradient', 'corner1', 5); corner1._x = 15; corner1._y = 14; corner1.gotoAndStop('light corner'); corner1._rotation = 0; } } } if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i + 1][j - 1] != 2 && _root.map[i + 1][j - 1] != 3 && _root.map[i + 1][j - 1] != 4 && _root.map[i + 1][j - 1] != 1) { this.attachMovie('lair tile gradient', 'corner2', 6); corner2._x = 15; corner2._y = 14; corner2.gotoAndStop('light corner'); corner2._rotation = -90; } } } if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i - 1][j + 1] != 2 && _root.map[i - 1][j + 1] != 3 && _root.map[i - 1][j + 1] != 4 && _root.map[i - 1][j + 1] != 1) { this.attachMovie('lair tile gradient', 'corner3', 7); corner3._x = 15; corner3._y = 14; corner3.gotoAndStop('light corner'); corner3._rotation = 90; } } } if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i + 1][j + 1] != 2 && _root.map[i + 1][j + 1] != 3 && _root.map[i + 1][j + 1] != 4 && _root.map[i + 1][j + 1] != 1) { this.attachMovie('lair tile gradient', 'corner4', 8); corner4._x = 15; corner4._y = 14; corner4.gotoAndStop('light corner'); corner4._rotation = 180; } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('lair tile gradient', 'corner6', 9); corner6._x = 15; corner6._y = 14; corner6.gotoAndStop('light corner out'); } } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('lair tile gradient', 'corner7', 10); corner7._x = 15; corner7._y = 14; corner7.gotoAndStop('light corner out'); corner7._rotation = -90; } } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('lair tile gradient', 'corner8', 11); corner8._x = 15; corner8._y = 14; corner8.gotoAndStop('light corner out'); corner8._rotation = 180; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('lair tile gradient', 'corner9', 12); corner9._x = 15; corner9._y = 14; corner9.gotoAndStop('light corner out'); corner9._rotation = 90; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('lair tile gradient', 'corner10', 13); corner10._x = 15; corner10._y = 14; corner10.gotoAndStop('light corner 180'); corner10._rotation = 180; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('lair tile gradient', 'corner11', 14); corner11._x = 15; corner11._y = 14; corner11.gotoAndStop('light corner 180'); } } } } } } } instance mc of movieClip 215 breakable tile { onClipEvent (load) { } onClipEvent (enterFrame) { if (_parent._x > _root.cam._x - _root.cam._width * 0.6 && _parent._x < _root.cam._x + _root.cam._width * 0.6) { if (_root.GUYtype == 1 || _root.GUYtype == 6) { if (_parent.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } if (_root.GUYtype == 2) { if (_root.guy.CLICKING && _root.beampower == 0) { X = _root.guy._x - _parent._x; Y = _root.guy._y - 15 - _parent._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (Math.sqrt(X * X + Y * Y) < 150 && ANGLE > _root.guy.ANGLE - 45 && ANGLE < _root.guy.ANGLE + 45) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; R = 45 - _parent._parent._rotation; _root.guy._x += Math.cos(R * 0.0174532925199433) * 10; _root.guy._y += Math.sin(R * 0.0174532925199433) * -10; _root.guy.speed = Math.cos(R * 0.0174532925199433) * 28; _root.guy.fallspeed = Math.sin(R * 0.0174532925199433) * -28; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; R = 135 - _parent._parent._rotation; _root.guy._x += Math.cos(R * 0.0174532925199433) * 10; _root.guy._y += Math.sin(R * 0.0174532925199433) * -10; _root.guy.speed = Math.cos(R * 0.0174532925199433) * 28; _root.guy.fallspeed = Math.sin(R * 0.0174532925199433) * -28; } } } frame 18 { onEnterFrame = function () { if (_root.EDITING) { if (_currentframe == 18) { if (_root.WINPOINT == 1) { _root.map[i][j] = 5; gotoAndStop(5); } ++_root.WINPOINT; } TIMEWARP.stop(); } }; } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j + 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i + 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j - 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 370 concrete tile top { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } frame 21 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x - 10; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 22 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x + 40; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 30; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } frame 23 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y + 40; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y < _root.ground._height)) break; Y += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 24 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y - 10; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y > 0)) break; Y -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 25 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation += 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 26 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation -= 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 29 { onEnterFrame = function () { if (!_root.EDITING) { X = _root.guy._x - (_x + 15); Y = _root.guy._y - 20 - (_y + 15); if (Math.sqrt(X * X + Y * Y) < 20) { if (!_root.guy.BURNING) { _root.attachMovie('explosion small', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x; _root.explosion._y = _root.guy._y - 20; _root.explosion._xscale = 70; _root.explosion._yscale = 70; } _root.guy.BURNING = true; } } else { FLAME.stop(); } }; } frame 30 { onEnterFrame = function () { if (_root.guy.BURNING) { if (_root.guy.i < i + 2 && _root.guy.i > i - 2 && _root.guy.j < j + 2 && _root.guy.j > j - 2) { if (this.hitTest(_root.guy)) { mc.play(); FRAME = 5; } } } }; } frame 31 { onEnterFrame = function () { if (mc._currentframe == 1) { if (_root.guy.CLICKING == true && this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { mc.play(); } } }; } } movieClip 2018 spaceship tile { frame 1 { if (!_root.EDITING) { if (_root.map[i][j] == 1) { if (_root.map[i - 1][j] != 1 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('spaceship tile gradient', 'TOP', 1); TOP._x = 15; TOP._y = 14; TOP._rotation = 90; } if (_root.map[i][j - 1] != 1 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('spaceship tile gradient', 'LEFT', 2); LEFT._x = 15; LEFT._y = 14; } if (_root.map[i][j + 1] != 1 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('spaceship tile gradient', 'RIGHT', 3); RIGHT._x = 15; RIGHT._y = 14; RIGHT._rotation = 180; } if (_root.map[i + 1][j] != 1 && _root.map[i + 1][j] != 16 && _root.map[i + 1][j] != 17 && _root.map[i + 1][j] != undefined) { this.attachMovie('spaceship tile gradient', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 15; BOTTOM._rotation = -90; } if (_root.map[i - 1][j] == 1 || _root.map[i - 1][j] == 16 || _root.map[i - 1][j] == 17) { if (_root.map[i][j - 1] == 1 || _root.map[i][j - 1] == 16 || _root.map[i][j - 1] == 17) { if (_root.map[i - 1][j - 1] != 1 && _root.map[i - 1][j - 1] != 16 && _root.map[i - 1][j - 1] != 17) { this.attachMovie('spaceship tile gradient', 'corner', 5); corner._x = 15; corner._y = 14; corner.gotoAndStop(2); corner._rotation = 0; } } } if (_root.map[i - 1][j] == 1 || _root.map[i - 1][j] == 16 || _root.map[i - 1][j] == 17) { if (_root.map[i][j + 1] == 1 || _root.map[i][j + 1] == 16 || _root.map[i][j + 1] == 17) { if (_root.map[i - 1][j + 1] != 1 && _root.map[i - 1][j + 1] != 16 && _root.map[i - 1][j + 1] != 17) { this.attachMovie('spaceship tile gradient', 'corner', 6); corner._x = 15; corner._y = 14; corner.gotoAndStop(2); corner._rotation = 90; } } } } } } instance of movieClip 73 hitBox { onClipEvent (load) { if (!_root.EDITING) { this.swapDepths(999); this.removeMovieClip(); } } onClipEvent (enterFrame) { if (_parent._name != 'ICON') { if (_parent._currentframe == 5) { _parent._visible = false; } else { _parent._visible = true; } } if (_root.MOUSE.i < _parent.i + 7 && _root.MOUSE.i > _parent.i - 7 && _root.MOUSE.j < _parent.j + 7 && _root.MOUSE.j > _parent.j - 7) { if (_root.MOUSE._currentframe > 2) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.MOUSE._x = _parent._x; _root.MOUSE._y = _parent._y; if (_root.CLICKING && _root.tooltype != null) { _root.map[_parent.i][_parent.j] = _root.tooltype; if (_root.tooltype == 5) { if (_parent._currentframe != 5) { _root.MOUSE.mc.gotoAndPlay(2); } _root.map[_parent.i][_parent.j] = 0; } _parent.gotoAndStop(_root.tooltype); } } } } } } frame 2 { if (!_root.EDITING) { if (_root.map[i][j] == 2) { if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { this.attachMovie('spaceship tile gradient', 'TOP', 1); TOP._x = 15; TOP._y = 14; TOP._rotation = 90; TOP.gotoAndStop('light'); } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { this.attachMovie('spaceship tile gradient', 'BOTTOM', 2); BOTTOM._x = 15; BOTTOM._y = 14; BOTTOM._rotation = -90; BOTTOM.gotoAndStop('light'); } } } if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { this.attachMovie('spaceship tile gradient', 'LEFT', 3); LEFT._x = 15; LEFT._y = 14; LEFT.gotoAndStop('light'); } } } if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { this.attachMovie('spaceship tile gradient', 'RIGHT', 4); RIGHT._x = 15; RIGHT._y = 14; RIGHT._rotation = 180; RIGHT.gotoAndStop('light'); } } } if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i - 1][j - 1] != 2 && _root.map[i - 1][j - 1] != 3 && _root.map[i - 1][j - 1] != 4 && _root.map[i - 1][j - 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner1', 5); corner1._x = 15; corner1._y = 14; corner1.gotoAndStop('light corner'); corner1._rotation = 0; } } } if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i + 1][j - 1] != 2 && _root.map[i + 1][j - 1] != 3 && _root.map[i + 1][j - 1] != 4 && _root.map[i + 1][j - 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner2', 6); corner2._x = 15; corner2._y = 14; corner2.gotoAndStop('light corner'); corner2._rotation = -90; } } } if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i - 1][j + 1] != 2 && _root.map[i - 1][j + 1] != 3 && _root.map[i - 1][j + 1] != 4 && _root.map[i - 1][j + 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner3', 7); corner3._x = 15; corner3._y = 14; corner3.gotoAndStop('light corner'); corner3._rotation = 90; } } } if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i + 1][j + 1] != 2 && _root.map[i + 1][j + 1] != 3 && _root.map[i + 1][j + 1] != 4 && _root.map[i + 1][j + 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner4', 8); corner4._x = 15; corner4._y = 14; corner4.gotoAndStop('light corner'); corner4._rotation = 180; } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner6', 9); corner6._x = 15; corner6._y = 14; corner6.gotoAndStop('light corner out'); } } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner7', 10); corner7._x = 15; corner7._y = 14; corner7.gotoAndStop('light corner out'); corner7._rotation = -90; } } } } if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i - 1][j] == 2 || _root.map[i - 1][j] == 3 || _root.map[i - 1][j] == 4 || _root.map[i - 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner8', 11); corner8._x = 15; corner8._y = 14; corner8.gotoAndStop('light corner out'); corner8._rotation = 180; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] == 2 || _root.map[i + 1][j] == 3 || _root.map[i + 1][j] == 4 || _root.map[i + 1][j] == 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner9', 12); corner9._x = 15; corner9._y = 14; corner9.gotoAndStop('light corner out'); corner9._rotation = 90; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j - 1] == 2 || _root.map[i][j - 1] == 3 || _root.map[i][j - 1] == 4 || _root.map[i][j - 1] == 1) { if (_root.map[i][j + 1] != 2 && _root.map[i][j + 1] != 3 && _root.map[i][j + 1] != 4 && _root.map[i][j + 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner10', 13); corner10._x = 15; corner10._y = 14; corner10.gotoAndStop('light corner 180'); corner10._rotation = 180; } } } } if (_root.map[i - 1][j] != 2 && _root.map[i - 1][j] != 3 && _root.map[i - 1][j] != 4 && _root.map[i - 1][j] != 1) { if (_root.map[i + 1][j] != 2 && _root.map[i + 1][j] != 3 && _root.map[i + 1][j] != 4 && _root.map[i + 1][j] != 1) { if (_root.map[i][j + 1] == 2 || _root.map[i][j + 1] == 3 || _root.map[i][j + 1] == 4 || _root.map[i][j + 1] == 1) { if (_root.map[i][j - 1] != 2 && _root.map[i][j - 1] != 3 && _root.map[i][j - 1] != 4 && _root.map[i][j - 1] != 1) { this.attachMovie('spaceship tile gradient', 'corner11', 14); corner11._x = 15; corner11._y = 14; corner11.gotoAndStop('light corner 180'); } } } } if (Math.random() > 0.98) { if (_root.map[i - 1][j] == 2 && _root.map[i - 1][j - 1] == 2 && _root.map[i][j - 1] == 2) { this.attachMovie('spaceship circle vent', 'vent', 15); vent._x = 0; vent._y = 0; } } } } } instance mc of movieClip 215 breakable tile { onClipEvent (load) { } onClipEvent (enterFrame) { if (_parent._x > _root.cam._x - _root.cam._width * 0.6 && _parent._x < _root.cam._x + _root.cam._width * 0.6) { if (_root.GUYtype == 1 || _root.GUYtype == 6) { if (_parent.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } if (_root.GUYtype == 2) { if (_root.guy.CLICKING && _root.beampower == 0) { X = _root.guy._x - _parent._x; Y = _root.guy._y - 15 - _parent._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (Math.sqrt(X * X + Y * Y) < 150 && ANGLE > _root.guy.ANGLE - 45 && ANGLE < _root.guy.ANGLE + 45) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.lasershot2.start(0, 1); R = 45 - _parent._parent._rotation; _root.guy._x += Math.cos(R * 0.0174532925199433) * 10; _root.guy._y += Math.sin(R * 0.0174532925199433) * -10; _root.guy.speed = Math.cos(R * 0.0174532925199433) * 28; _root.guy.fallspeed = Math.sin(R * 0.0174532925199433) * -28; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.lasershot2.start(0, 1); R = 135 - _parent._parent._rotation; _root.guy._x += Math.cos(R * 0.0174532925199433) * 10; _root.guy._y += Math.sin(R * 0.0174532925199433) * -10; _root.guy.speed = Math.cos(R * 0.0174532925199433) * 28; _root.guy.fallspeed = Math.sin(R * 0.0174532925199433) * -28; } } } frame 18 { onEnterFrame = function () { if (_root.EDITING) { if (_currentframe == 18) { if (_root.WINPOINT == 1) { _root.map[i][j] = 5; gotoAndStop(5); } ++_root.WINPOINT; } TIMEWARP.stop(); } }; } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j + 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i + 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } instance of movieClip 367 concrete tile side { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + _parent.i + ' ' + (_parent.j - 1)]._currentframe != 19) { _visible = true; } } } instance of movieClip 370 concrete tile top { onClipEvent (load) { _visible = false; if (_root.Foreground['tile' + (_parent.i - 1) + ' ' + _parent.j]._currentframe != 19) { _visible = true; } } } frame 21 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x - 10; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 22 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x + 40; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 30; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } frame 23 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y + 40; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y < _root.ground._height)) break; Y += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 24 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y - 10; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y > 0)) break; Y -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 25 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { _root.guy.DANCING = true; mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; guyX = _root.guy._x - _root.ground._x; guyY = _root.guy._y - _root.ground._y; guyDISTANCE = Math.sqrt(guyX * guyX + guyY * guyY); guyANGLE = (Math.atan2(guyY, guyX) / Math.PI) * 180; _root.ground._rotation += 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.ground._x + Math.cos((90 + guyANGLE) * 0.0174532925199433) * guyDISTANCE; _root.guy._y = _root.ground._y + Math.sin((90 + guyANGLE) * 0.0174532925199433) * guyDISTANCE; _root.attachMovie('star', 'star', _root.getNextHighestDepth()); _root.guy.respawnX = _root.guy._x; _root.guy.respawnY = _root.guy._y; READY = false; } }; } frame 26 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { _root.guy.DANCING = true; mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; guyX = _root.guy._x - _root.ground._x; guyY = _root.guy._y - _root.ground._y; guyDISTANCE = Math.sqrt(guyX * guyX + guyY * guyY); guyANGLE = (Math.atan2(guyY, guyX) / Math.PI) * 180; _root.ground._rotation -= 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.ground._x + Math.cos((guyANGLE - 90) * 0.0174532925199433) * guyDISTANCE; _root.guy._y = _root.ground._y + Math.sin((guyANGLE - 90) * 0.0174532925199433) * guyDISTANCE; _root.attachMovie('star', 'star', _root.getNextHighestDepth()); _root.guy.respawnX = _root.guy._x; _root.guy.respawnY = _root.guy._y; READY = false; } }; } frame 29 { onEnterFrame = function () { if (!_root.EDITING) { X = _root.guy._x - (_x + 15); Y = _root.guy._y - 20 - (_y + 15); if (Math.sqrt(X * X + Y * Y) < 20) { if (!_root.guy.BURNING) { _root.attachMovie('explosion small', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x; _root.explosion._y = _root.guy._y - 20; _root.explosion._xscale = 70; _root.explosion._yscale = 70; } _root.guy.BURNING = true; } } else { FLAME.stop(); } }; } frame 30 { onEnterFrame = function () { if (_root.guy.BURNING) { if (_root.guy.i < i + 2 && _root.guy.i > i - 2 && _root.guy.j < j + 2 && _root.guy.j > j - 2) { if (this.hitTest(_root.guy)) { mc.play(); FRAME = 5; } } } }; } frame 31 { onEnterFrame = function () { if (mc._currentframe == 1) { if (_root.guy.CLICKING == true && this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { mc.play(); } } }; } } movieClip 2032 { frame 1 { if (Math.random() > 0.5) { _visible = false; } if (Math.random() > 0.5) { _xscale = _xscale * -1; } } } movieClip 2033 underground snowy tile edge { } movieClip 2043 snowy tile { frame 1 { if (!_root.EDITING) { if (_root.map[i][j] == 1) { if (_root.map[i - 1][j] != 1 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('underground snowy tile edge', 'TOP', 1); TOP._x = 15; TOP._y = -5; TOP._rotation = 90; } if (_root.map[i][j - 1] != 1 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('underground snowy tile edge', 'LEFT', 2); LEFT._x = 0; LEFT._y = 15; } if (_root.map[i][j + 1] != 1 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('underground snowy tile edge', 'RIGHT', 3); RIGHT._x = 30; RIGHT._y = 15; RIGHT._rotation = 180; } if (_root.map[i + 1][j] != 1 && _root.map[i + 1][j] != 16 && _root.map[i + 1][j] != 17) { this.attachMovie('underground snowy tile edge', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM._rotation = -90; } if (Math.random() > 0.8) { this.attachMovie('underground tile rock', 'rock', 5); rock._x = 15; rock._y = 15; rock.gotoAndStop(3); if (Math.random() > 0.5) { rock._xscale *= -1; } if (_root.map[i - 1][j] == 1 && _root.map[i - 1][j + 1] == 1 && _root.map[i - 1][j - 1] == 1 && Math.random() > 0.9) { rock.gotoAndStop(4); } } } } } frame 2 { if (!_root.EDITING) { if (_root.map[i - 1][j] != 2) { if (_root.map[i - 1][j] != 3) { if (_root.map[i - 1][j] != 4) { this.attachMovie('snowy tile edge', 'TOP', 3); TOP._x = 15; TOP._y = -2; if (Math.random() > 0.5) { TOP._xscale *= -1; } } } } if (_root.map[i][j + 1] != 2) { if (_root.map[i][j + 1] != 3) { if (_root.map[i][j + 1] != 4) { this.attachMovie('snowy tile edge', 'RIGHT', 1); RIGHT._x = 32; RIGHT._y = 15; RIGHT._rotation = 90; if (Math.random() > 0.5) { RIGHT._xscale *= -1; } } } } if (_root.map[i][j - 1] != 2) { if (_root.map[i][j - 1] != 3) { if (_root.map[i][j - 1] != 4) { this.attachMovie('snowy tile edge', 'LEFT', 2); LEFT._x = -2; LEFT._y = 15; LEFT._rotation = -90; if (Math.random() > 0.5) { LEFT._xscale *= -1; } } } } if (_root.map[i][j + 1] == 2 && _root.map[i][j - 1] == 2 && _root.map[i + 1][j] == 2 && _root.map[i - 1][j] == 2 && Math.random() > 0.8) { this.attachMovie('snowy tile stone', 'stone', 2); stone._x = 15; stone._y = 15; if (Math.random() > 0.5) { stone._xscale *= -1; } } } } instance mc of movieClip 215 breakable tile { onClipEvent (load) { } onClipEvent (enterFrame) { if (_parent._x > _root.cam._x - _root.cam._width * 0.6 && _parent._x < _root.cam._x + _root.cam._width * 0.6) { if (_root.GUYtype == 1 || _root.GUYtype == 6) { if (_parent.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } if (_root.GUYtype == 2) { if (_root.guy.CLICKING && _root.beampower == 0) { X = _root.guy._x - _parent._x; Y = _root.guy._y - 15 - _parent._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (Math.sqrt(X * X + Y * Y) < 150 && ANGLE > _root.guy.ANGLE - 45 && ANGLE < _root.guy.ANGLE + 45) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y -= 5; _root.guy.speed = 20; _root.guy.fallspeed = -20; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y -= 5; _root.guy.speed = -20; _root.guy.fallspeed = -20; } } } frame 16 { if (!_root.EDITING) { if (_root.map[i][j - 1] == 19 || _root.map[i - 1][j] == 19) { this.attachMovie('concrete tile', 'CONC', 1); CONC._x = 15; CONC._y = 15; rock.swapDepths(999); rock.removeMovieClip(); rock2.swapDepths(999); rock2.removeMovieClip(); wall.swapDepths(999); wall.removeMovieClip(); } } } frame 17 { if (!_root.EDITING) { if (_root.map[i][j + 1] == 19 || _root.map[i - 1][j] == 19) { this.attachMovie('concrete tile', 'CONC', 1); CONC._x = 15; CONC._y = 15; CONC._rotation = 90; rock.swapDepths(999); rock.removeMovieClip(); rock2.swapDepths(999); rock2.removeMovieClip(); wall.swapDepths(999); wall.removeMovieClip(); } } } frame 18 { onEnterFrame = function () { if (_root.EDITING) { if (_currentframe == 18) { if (_root.WINPOINT == 1) { _root.map[i][j] = 5; gotoAndStop(5); } ++_root.WINPOINT; } TIMEWARP.stop(); } }; } frame 19 { if (!_root.EDITING) { if (_root.map[i][j + 1] != 19) { if (_root.map[i][j + 1] != 16) { if (_root.map[i][j + 1] != 17) { this.attachMovie('concrete tile side', 'RIGHT', 1); RIGHT._x = 30; RIGHT._y = 15; RIGHT._rotation = 90; if (Math.random() > 0.5) { RIGHT._xscale *= -1; } } } } if (_root.map[i][j - 1] != 19) { if (_root.map[i][j - 1] != 16) { if (_root.map[i][j - 1] != 17) { this.attachMovie('concrete tile side', 'LEFT', 2); LEFT._x = 0; LEFT._y = 15; LEFT._rotation = -90; if (Math.random() > 0.5) { LEFT._xscale *= -1; } } } } if (_root.map[i + 1][j] != 19) { if (_root.map[i + 1][j] != 16) { if (_root.map[i + 1][j] != 17) { this.attachMovie('concrete tile side', 'BOTTOM', 3); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM._rotation = 180; if (Math.random() > 0.5) { BOTTOM._xscale *= -1; } } } } if (_root.map[i - 1][j] != 19) { if (_root.map[i - 1][j] != 2) { if (_root.map[i - 1][j] != 3) { if (_root.map[i - 1][j] != 4) { this.attachMovie('concrete tile top', 'TOP', 4); TOP._x = 15; TOP._y = 2; } } } } } } frame 21 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x - 10; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 22 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x + 40; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 30; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } frame 23 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y + 40; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y < _root.ground._height)) break; Y += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 24 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y - 10; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y > 0)) break; Y -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 25 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation += 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 26 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation -= 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 29 { onEnterFrame = function () { if (!_root.EDITING) { X = _root.guy._x - (_x + 15); Y = _root.guy._y - 20 - (_y + 15); if (Math.sqrt(X * X + Y * Y) < 20) { if (!_root.guy.BURNING) { _root.attachMovie('explosion small', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x; _root.explosion._y = _root.guy._y - 20; _root.explosion._xscale = 70; _root.explosion._yscale = 70; } _root.guy.BURNING = true; } } else { FLAME.stop(); } }; } frame 30 { onEnterFrame = function () { if (_root.guy.BURNING) { if (_root.guy.i < i + 2 && _root.guy.i > i - 2 && _root.guy.j < j + 2 && _root.guy.j > j - 2) { if (this.hitTest(_root.guy)) { mc.play(); FRAME = 5; } } } }; } frame 31 { onEnterFrame = function () { if (mc._currentframe == 1) { if (_root.guy.CLICKING == true && this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { mc.play(); } } }; } } movieClip 2053 shotguy blast { frame 10 { this.removeMovieClip(); stop(); } } movieClip 2056 { frame 1 { var THIS = new flash.display.BitmapData(50, 50, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(0, 0); THIS.draw(this, matrix); this.gotoAndStop(2); this.attachBitmap(THIS, 1); } } movieClip 2057 grav ball { frame 1 { onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; X = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; Y = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; }; } instance of movieClip 344 { onClipEvent (enterFrame) { _rotation = _rotation + 10; } } } movieClip 2059 house hitBox { } movieClip 2175 { } movieClip 2177 { } movieClip 2181 { } movieClip 2189 { frame 1 { if (_root.DINOSAUR) { gotoAndPlay('DINOSAUR'); } if (_root.LEVEL >= 6 && typeof _root.LEVEL == 'number') { gotoAndPlay('SHARK'); } if (_root.LEVEL == 3) { gotoAndPlay('rich'); } } instance of movieClip 658 { onClipEvent (load) { WIDTH = _parent.arm._width - 10; } onClipEvent (enterFrame) { _rotation = Math.sin(_parent.SINE) * 30; _x = Math.cos(_parent.arm._rotation * 0.0174532925199433) * WIDTH + _parent.arm._x; _y = Math.sin(_parent.arm._rotation * 0.0174532925199433) * WIDTH + _parent.arm._y; } } instance arm of movieClip 658 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 681 { onClipEvent (enterFrame) { _rotation = 6 - Math.random() * 10; } } instance of movieClip 692 { onClipEvent (enterFrame) { _rotation = 10 - Math.random() * 6; } } frame 5 { gotoAndPlay(1); } frame 7 { elasticness = 0.7; rotationammount = 20; } instance of movieClip 2177 { onClipEvent (enterFrame) { _rotation = Math.sin(_parent.SINE) * 30; } } instance of movieClip 2177 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } frame 11 { if (_root.DINOSAUR) { gotoAndPlay('DINOSAUR'); } } frame 13 { elasticness = 0.7; rotationammount = 10; } instance of movieClip 702 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 707 { onClipEvent (enterFrame) { _rotation = -5 - Math.random() * 6; } } instance of movieClip 702 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } frame 17 { if (_root.LEVEL >= 6) { gotoAndPlay('SHARK'); } } frame 19 { rotationammount = 10; } instance of movieClip 658 { onClipEvent (load) { WIDTH = _parent.arm._width - 10; } onClipEvent (enterFrame) { _rotation = Math.sin(_parent.SINE) * 30; _x = Math.cos(_parent.arm._rotation * 0.0174532925199433) * WIDTH + _parent.arm._x; _y = Math.sin(_parent.arm._rotation * 0.0174532925199433) * WIDTH + _parent.arm._y; } } instance arm of movieClip 658 { onClipEvent (enterFrame) { _rotation = Math.cos(_parent.SINE) * 30; } } instance of movieClip 681 { onClipEvent (enterFrame) { _rotation = 6 - Math.random() * 10; } } instance of movieClip 692 { onClipEvent (enterFrame) { _rotation = 10 - Math.random() * 6; } } frame 23 { gotoAndPlay('rich'); } } movieClip 2191 { frame 1 { onEnterFrame = function () { if (!_root.PAUSE) { play(); } else { stop(); } }; } frame 56 { _root.cam.SHAKE = 20; } frame 85 { _root.cam.SHAKE = 20; } frame 226 { _root.cam.SHAKE = 10; } frame 265 { _root.cam.SHAKE = 5; _root.MainTheme.start(0, 1); } frame 393 { if (_root.cam._xscale > 90) { stop(); } if (_root.LEVEL == 2) { gotoAndPlay(350); } } instance claw of movieClip 2189 { onClipEvent (load) { elasticness = 0.9; quickness = 0.05; OLDXSPEED = 0; OLDYSPEED = 10; SINE = 0; seconds = 100; } onClipEvent (enterFrame) { --seconds; if (seconds > 0) { Xpoint = -10; } else { Xpoint = 80; } XDISTANCE = Xpoint - _x; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; _x = _x + XSPEED; OLDXSPEED = XSPEED; _rotation = Math.cos(SINE - 90) * 30; } } frame 402 { gotoAndPlay(400); onEnterFrame = function () { if (_root.cam._xscale > 50) { gotoAndStop(390); } }; } } movieClip 2206 snowy tile stone { frame 1 { stop(); if (Math.random() > 0.5) { gotoAndStop(2); } } } movieClip 2208 snowy tile edge { } movieClip 2272 { } movieClip 2273 { } movieClip 2478 { frame 1 { onEnterFrame = function () { if (!_root.PAUSE) { play(); } else { stop(); } }; } frame 20 { _root.guy.gotoAndPlay('dance'); _root.guy.DANCING = true; } frame 56 { _root.cam.SHAKE = 20; } frame 85 { _root.cam.SHAKE = 20; } frame 139 { _root.guy._visible = false; } instance creeper of movieClip 2273 { onClipEvent (load) { R = 180; Xpoint = _x - 250; Ypoint = _y - 40; Xspeed = 0; Yspeed = 0; X = _x; Y = _y; myColor = new Color(this); myColorTransform = new Object(); ON = false; seconds = 0; } onClipEvent (enterFrame) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (ON) { ++seconds; if (seconds > 15) { myColorTransform = {'rb': 100, 'gb': 100, 'bb': 100}; myColor.setTransform(myColorTransform); } if (seconds > 25) { seconds = 0; } } R = Math.atan2(Yspeed, Xspeed) / 0.0174532925199433; FRAME = Math.round((R + 180) / 2); gotoAndStop(FRAME); if (Math.random() > 0.95) { RANDOM = Math.round(20 - Math.random() * 40); } hFRAME = FRAME + RANDOM; HEAD.gotoAndStop(hFRAME); if (_x < Xpoint) { Xspeed += 0.1; } else { Xspeed -= 0.1; } if (Xspeed > 2) { Xspeed = 2; } if (Xspeed < -2) { Xspeed = -2; } if (_y < Ypoint) { Yspeed += 0.1; } else { Yspeed -= 0.1; } if (Yspeed > 1) { Yspeed = 1; } if (Yspeed < -1) { Yspeed = -1; } _x = _x + Xspeed; _y = _y + Yspeed; Xdistance = _x - Xpoint; Ydistance = _y - Ypoint; DISTANCE = Math.sqrt(Xdistance * Xdistance + Ydistance * Ydistance); } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { _parent.creeper.Xpoint = _x; _parent.creeper.Ypoint = _y; } } frame 482 { creeper.ON = true; } frame 584 { _root.Explosion4.start(0, 1); _root.Mainthemedance.start(0, 99); } frame 584 { _root.cam.SHAKE = 20; } frame 589 { _root.claw._x += 100; _root.Foreground._visible = true; _root.Background._visible = true; _root.inside_house = false; _root.ground.house hitBox.removeMovieClip(); _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 70; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; if (_root.claw.seconds <= 0) { _root.claw.seconds = 80; _root.claw.mouth.play(); } _root.attachMovie('explosion big', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x + 30; _root.explosion._y = _root.guy._y - 50; _root.guy._x += 250; _root.guy._visible = true; _root.guy.LAUNCHED = true; _root.guy._y -= 50; _root.guy.fallspeed = -8; _root.guy.speed = 10; _root.guy.DANCING = false; i = 0; while (i < 10) { _root.attachMovie('Minecraft cube', 'cube' + i, _root.getNextHighestDepth()); _root['cube' + i]._x = _root.guy._x - Math.random() * 100; _root['cube' + i]._y = _root.guy._y + 30 - Math.random() * 60; ++i; } var groundBitmap = new flash.display.BitmapData(_root.ground._width, _root.ground._height, true, 13421772); _root.groundBitmap = groundBitmap; _root.groundBitmap.draw(_root.ground); _parent.removeMovieClip(); } } movieClip 2562 { } movieClip 2572 { frame 16 { stop(); } } movieClip 2606 { } movieClip 2645 { frame 1 { onEnterFrame = function () { if (!_root.PAUSE) { play(); } else { stop(); } }; } frame 56 { _root.cam.SHAKE = 20; } frame 85 { _root.cam.SHAKE = 20; } frame 139 { _root.guy._visible = false; } frame 154 { _root.cam.SHAKE = 20; } frame 250 { _root.cam.SHAKE = 10; } frame 291 { onEnterFrame = function () { if (_currentframe < 320) { _root.cam.SHAKE = 10; } }; } } movieClip 2646 house inside { frame 1 { _root.inside_house = true; _root.bmp.removeMovieClip(); stop(); if (_root.LEVEL == 51) { gotoAndStop(2); _root.guy._x = _x + 100; _root.guy._y = _y; _root.guy.DANCING = true; _root.guy.gotoAndPlay('dance'); } } instance of movieClip 73 hitBox { onClipEvent (load) { } onClipEvent (enterFrame) { _root.Foreground._visible = false; if (_root.guy.body.hitTest(this)) { if (_root.LEVEL == 1) { _root.Mainthemedance.start(0, 99); _root.attachMovie('intro titles', 'titles', _root.getNextHighestDepth()); } else { if (LEVEL == 'level select') { _root.Mainthemeslow.start(0, 99); } } if (_root.LEVEL == 2) { _root.attachMovie('intro titles', 'titles', _root.getNextHighestDepth()); } _root.claw._x += 100; _root.Foreground._visible = true; _root.Background._visible = true; _root.inside_house = false; _root.guy._x += 50; _root.ground.house hitBox.removeMovieClip(); _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 70; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; if (_root.claw.seconds <= 0) { _root.claw.seconds = 80; _root.claw.mouth.play(); } var groundBitmap = new flash.display.BitmapData(2500, 2500, true, 13421772); _root.groundBitmap = groundBitmap; _root.groundBitmap.draw(_root.ground); _parent.removeMovieClip(); } } } instance SMASH of movieClip 2191 { onClipEvent (load) { _xscale = 120; _yscale = 120; if (_root.LEVEL == 'level select') { _parent.attachMovie('future smash-in alternate', 'fSMASH', 1); _parent.fSMASH._xscale = _xscale; _parent.fSMASH._yscale = _yscale; _parent.fSMASH._x = _x; _parent.fSMASH._y = _y; this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 73 hitBox { onClipEvent (load) { } onClipEvent (enterFrame) { _root.Foreground._visible = false; if (_root.guy.body.hitTest(this)) { _root.claw._x += 100; _root.Foreground._visible = true; _root.Background._visible = true; _root.inside_house = false; _root.guy._x += 50; _root.ground.house hitBox.removeMovieClip(); _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 70; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; if (_root.claw.seconds <= 0) { _root.claw.seconds = 80; _root.claw.mouth.play(); } var groundBitmap = new flash.display.BitmapData(_root.ground._width, _root.ground._height, true, 13421772); _root.groundBitmap = groundBitmap; _root.groundBitmap.draw(_root.ground); _parent.removeMovieClip(); } } } instance SMASH of movieClip 2478 { onClipEvent (load) { _xscale = 120; _yscale = 120; if (_root.LEVEL == 'level select') { _parent.attachMovie('future smash-in alternate', 'fSMASH', 1); _parent.fSMASH._xscale = _xscale; _parent.fSMASH._yscale = _yscale; _parent.fSMASH._x = _x; _parent.fSMASH._y = _y; this.swapDepths(999); this.removeMovieClip(); } } } instance SMASH of movieClip 2645 { onClipEvent (load) { _xscale = 120; _yscale = 120; if (_root.LEVEL == 'level select') { _parent.attachMovie('future smash-in alternate', 'fSMASH', 1); _parent.fSMASH._xscale = _xscale; _parent.fSMASH._yscale = _yscale; _parent.fSMASH._x = _x; _parent.fSMASH._y = _y; this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 73 hitBox { onClipEvent (load) { } onClipEvent (enterFrame) { _root.Foreground._visible = false; if (_root.guy.body.hitTest(this)) { if (_root.LEVEL == 1) { _root.Mainthemedance.start(0, 99); } else { _root.Mainthemeslow.start(0, 99); } _root.claw._x += 100; _root.Foreground._visible = true; _root.Background._visible = true; _root.inside_house = false; _root.guy._x += 50; _root.ground.house hitBox.removeMovieClip(); _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 70; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; if (_root.claw.seconds <= 0) { _root.claw.seconds = 80; _root.claw.mouth.play(); } var groundBitmap = new flash.display.BitmapData(_root.ground._width, _root.ground._height, true, 13421772); _root.groundBitmap = groundBitmap; _root.groundBitmap.draw(_root.ground); _parent.removeMovieClip(); } } } } movieClip 2651 house { frame 1 { stop(); if (_root.LEVEL == 3) { gotoAndStop(3); _root.ground.house._y -= 100; _root.ground.house._height += 200; } if (_root.LEVEL == 51) { gotoAndStop(4); } this.cacheAsBitmap = true; } frame 2 { this.cacheAsBitmap = true; } frame 3 { this.cacheAsBitmap = true; } } movieClip 2655 cloud { frame 1 { stop(); this.cacheAsBitmap = true; } } movieClip 2660 { frame 1 { var blur = new flash.filters.BlurFilter(10, 10, 3); this.filters = [blur]; } frame 2 { var THIS = new flash.display.BitmapData(150, 500, true, 13421772); var matrix = new flash.geom.Matrix(); THIS.draw(this); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); this.gotoAndStop(10); this.filters = []; } frame 3 { stop(); } } movieClip 2670 { frame 1 { _x = _x + (5 - Math.random() * 10); Y = _y; fallspeed = -1 - Math.random() * 3; FRAME = Math.round(1 + Math.random() * 6); gotoAndStop(FRAME); var blur = new flash.filters.BlurFilter(7, 7, 3); this.filters = [blur]; var THIS = new flash.display.BitmapData(50, 50, true, 13421772); THIS.draw(this); this.attachBitmap(THIS, 1); onEnterFrame = function () { _y = _y + fallspeed; ++fallspeed; if (_y > Y) { fallspeed = -2 - Math.random() * 2; } if (_currentframe < 10) { this.filters = []; gotoAndStop(10); } }; } } movieClip 2672 bush { frame 1 { stop(); LEAVES = false; onEnterFrame = function () { if (_currentframe == 1 && LEAVES == false) { i = 0; while (i < 10) { this.attachMovie('bush leaves', 'leaves' + i, i); this['leaves' + i]._x = 45 - Math.random() * 90; this['leaves' + i]._rotation = this['leaves' + i]._x; this['leaves' + i]._y = Math.random() * 500; this['leaves' + i].FRAME = 1 + Math.round(this['leaves' + i]._y / 50); if (this['leaves' + i].FRAME > 10) { this['leaves' + i].FRAME = 10; } this['leaves' + i].gotoAndStop(this['leaves' + i].FRAME); this['leaves' + i]._y -= 50; if (Math.random() > 0.5) { this['leaves' + i]._xscale = -100; } ++i; } this.cacheAsBitmap = true; LEAVES = true; } }; } frame 2 { this.cacheAsBitmap = true; } frame 3 { this.cacheAsBitmap = true; } frame 4 { this.cacheAsBitmap = true; _xscale = 100; } frame 5 { this.cacheAsBitmap = false; _root.Background.cacheAsBitmap = false; _xscale = 100; } frame 6 { stop(); this.cacheAsBitmap = false; i = 0; while (i < 3) { this.attachMovie('flame', 'flame' + i, i); this['flame' + i]._x = -60 + 40 * i; this['flame' + i]._y = 200 + Math.random() * 20; this['flame' + i]._xscale = 30 + Math.random() * 20; this['flame' + i]._yscale = this['flame' + i]._xscale; FRAME = Math.round(Math.random() * 20) + 1; this['flame' + i].gotoAndPlay(FRAME); if (Math.random() > 0.5) { this['flame' + i]._xscale *= -1; } ++i; } } } movieClip 2674 fence { } movieClip 2676 tree { frame 1 { this.cacheAsBitmap = true; stop(); if (Math.random() > 0.5) { gotoAndStop(2); } if (Math.random() > 0.5) { _xscale = _xscale * -1; } if (_root.LEVEL == 7) { gotoAndStop(3); } } frame 3 { if (Math.random() > 0.5) { _xscale = _xscale * -1; } } } movieClip 2681 bubble { frame 1 { fallspeed = 0; speed = 0; _xscale = _xscale - 30 * Math.random(); _yscale = _xscale; _rotation = Math.random() * 360; stop(); onEnterFrame = function () { _x = _x + speed; _y = _y + fallspeed; fallspeed -= 0.1; if (Math.random() > 0.7) { speed += 0.5 - Math.random(); } j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round(_y / 30); if (_root.map[i][j] != 20) { play(); speed = 0; fallspeed = 0; } }; } frame 10 { this.removeMovieClip(); } } movieClip 2686 { } movieClip 2689 character swap { frame 1 { stop(); _root.guy2._visible = false; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.GUYtype == 1) { if (_root.guy.body.hitTest(this)) { _parent.play(); } } } } frame 5 { _root.cam.SHAKE = 10; _root.guy.swapDepths(999); _root.guy.removeMovieClip(); _root.stopAllSounds(); _root.Maintheme.stop(); _root.Mainthemedance.stop(); _root.Mainthememoreguitar.stop(); _root.kick2.start(0, 1); _root.Backtoback.start(0, 99); _root.BEAM.beam.removeMovieClip(); _root.BEAM.backbeam.removeMovieClip(); } instance of movieClip 2686 { onClipEvent (load) { fallspeed = -5; speed = 12; Rspeed = 8; } onClipEvent (enterFrame) { _x = _x + speed; _y = _y + fallspeed; fallspeed += 2; _rotation = _rotation + Rspeed; if (_root.ground.hitTest(_x + _parent._x, _y + _parent._y, true) && speed > 0) { speed *= -0.8; } } } frame 10 { _root.GUYtype = 2; _root.guy2._name = 'guy'; _root.guy._x = _x; _root.guy._y = _y; _root.guy._visible = true; } frame 27 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 2694 underground tile rock { } movieClip 2696 water tile still { } movieClip 2698 boat ground { } movieClip 2700 boat { frame 1 { fallspeed = 0; SINE = Math.random() * 10; FRAME = _root._currentframe; var THIS = new flash.display.BitmapData(180, 50, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(90, 25); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -90; MOVIECLIP._y = -25; onEnterFrame = function () { if (_root._currentframe != FRAME) { this.removeMovieClip(); } if (_name == 'boatL' || _name == 'boatM' || _name == 'boatR') { _root.ground[_name]._x = _x; _root.ground[_name]._y = _y; _root.ground[_name]._rotation = _rotation; j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); if (_root.map[i][j] == 20 || _root.map[i - 1][j] == 20 || _root.map[i][j - 1] == 20 || _root.map[i][j + 1] == 20) { fallspeed -= 0.5; if (fallspeed > 0) { fallspeed *= 0.8; } } else { ++fallspeed; } _y = _y + fallspeed; SINE += 0.1; _rotation = Math.sin(SINE) * 5; } }; } } movieClip 2721 underwater blood { frame 1 { if (Math.random() > 0.5) { _xscale = _xscale * -1; } onEnterFrame = function () { _y = _root.cam._y + _root.cam._height / 2; }; } frame 48 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 2732 { } movieClip 2733 sea mine { frame 1 { if (Math.random() > 0.5) { _xscale = _xscale * -1; } stop(); FRAME = Math.round(Math.random() * 30) + 1; mc.gotoAndPlay(FRAME); SINE = 0; onEnterFrame = function () { _y = _y + fallspeed; SINE += 0.1; _y = _y + Math.sin(SINE); fallspeed *= 0.9; if (this.body.hitTest(_root.guy.body)) { _root.cam.SHAKE = 5; _root.guy.impact = 30; _root.attachMovie('explosion small', 'explosion' + _name, _root.getNextHighestDepth()); _root['explosion' + _name]._x = _x; _root['explosion' + _name]._y = _y; this.removeMovieClip(); } }; } } movieClip 2738 lair tile gradient { frame 1 { stop(); } frame 3 { if (Math.random() > 0.8) { this.attachMovie('lair tile crack', 'crack', 1); crack._x = -15; crack._y = 0; } if (Math.random() > 0.5) { _yscale = -100; } } } movieClip 2740 black fence { } movieClip 2749 spaceship circle vent { frame 1 { stop(); } } movieClip 2751 spaceship background { frame 1 { if (Math.random() > 0.5) { _xscale = _xscale * -1; _x = _x + _width; } } } movieClip 2754 spaceship wires { frame 1 { stop(); if (Math.random() > 0.5) { _xscale = _xscale * -1; } if (Math.random() > 0.5) { gotoAndStop(2); } } } movieClip 2759 inner ship boss drop { frame 1 { if (_parent._name != 'ground') { _rotation = Math.random() * 360; fallspeed = 5; Rspeed = 2 - Math.random() * 4; HIT = false; _x = 50 + Math.random() * 1000; _y = -50; FRAME = 1 + Math.round(Math.random() * 3); var myBitmapData = new flash.display.BitmapData(2500, 2000, true, 13421772); myBitmapData.draw(_root.Foreground); } else { myColor = new Color(this); myColorTransform = new Object(); myColorTransform = {'rb': 255, 'gb': -255, 'bb': -255}; myColor.setTransform(myColorTransform); } gotoAndStop(FRAME); onEnterFrame = function () { if (_parent._name != 'ground') { if (_y < 690) { R = Math.random(); _parent.attachMovie('WhiteSmoke', 'smoke' + R, _parent.getNextHighestDepth()); _parent['smoke' + R]._x = _x; _parent['smoke' + R]._y = _y; _parent['smoke' + R].gotoAndPlay(26); this.swapDepths(_parent.getNextHighestDepth()); _y = _y + fallspeed; ++fallspeed; _x = _x + Rspeed; _rotation = _rotation + Rspeed; } if (_y >= 690) { if (!HIT) { _y = 690; _root.cam.SHAKE = 10; _root.myBitmapData.draw(_root.CLEAR, null, null, 'erase'); var v4 = new flash.geom.Matrix(); v4.rotate((_rotation / 180) * Math.PI); v4.translate(_x, _y); _root.animated.core.groundAddition.draw(this, v4, _root.RED); _root.myBitmapData.draw(this, v4); _root.myBitmapData.draw(myBitmapData); this.removeMovieClip(); } } } }; } } movieClip 2761 { frame 1 { var THIS = new flash.display.BitmapData(_width, _height, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(0, 0); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); } } movieClip 2765 { } movieClip 2769 { frame 1 { stop(); ++_parent.SHIELDparts; SECONDS = Math.random() * 80; R = (Math.atan2(_y, _x) / Math.PI) * 180; R2 = R + 90; if (Math.random() < 0.5) { R2 = R - 90; } X = _x; Y = _y; DISTANCE = Math.sqrt(X * X + Y * Y); _x = _x + Math.cos(R * 0.0174532925199433) * 200; _y = _y + Math.sin(R * 0.0174532925199433) * 200; elasticness = 0.7; quickness = 0.05; OLDXSPEED = Math.cos(R2 * 0.0174532925199433) * 10; OLDYSPEED = Math.sin(R2 * 0.0174532925199433) * 10; HEALTH = 10; seconds = 0; onEnterFrame = function () { if (_parent._name == 'shield') { ++_parent.SHIELDparts; FRAME = Math.round(Math.sin((_parent._rotation + R + 45) * 0.0174532925199433) * DISTANCE); if (FRAME < 2) { FRAME = 2; } if (_parent.gunEND._x != 0 && _parent.gunEND._y != 0) { if (this.hitTest(_parent._parent.gunEND)) { --HEALTH; } } if (HEALTH < 5) { _rotation = 10 - Math.random() * 20; } if (HEALTH < 0) { RANDOM = Math.random(); _root.attachMovie('breakable tile', 'break' + RANDOM, _root.getNextHighestDepth()); _root['break' + RANDOM]._rotation = Math.random() * 360; _root['break' + RANDOM]._x = _root.animated.core._x + Math.cos((_parent._rotation + R) * 0.0174532925199433) * DISTANCE; _root['break' + RANDOM]._y = _root.animated.core._y + Math.sin((_parent._rotation + R) * 0.0174532925199433) * DISTANCE; _root['break' + RANDOM]._xscale = 100 + Math.random() * 40; _root['break' + RANDOM]._yscale = _root['break' + RANDOM]._xscale; _root['break' + RANDOM].gotoAndPlay(2); this.swapDepths(999); this.removeMovieClip(); } gotoAndStop(FRAME); } if (SECONDS < 0) { XDISTANCE = X - _x; YDISTANCE = Y - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; } else { --SECONDS; } }; } } movieClip 2770 { frame 1 { stop(); } } movieClip 2772 { } movieClip 2775 { } movieClip 2777 { } movieClip 2783 pop spike { frame 1 { if (Math.random() > 0.5) { _xscale = _xscale * -1; } if (R == null) { _rotation = Math.random() * 360; } else { _rotation = R; } } frame 15 { this.swapDepths(999); this.removeMovieClip(); } } movieClip 2787 { frame 20 { stop(); } } movieClip 2788 inner ship core { frame 1 { stop(); myColor = new Color(this); myColorTransform = new Object(); HEALTH = 100; X = _x; Y = _y; SINE = 0; speed = 0; fallspeed = 0; FALL = 50; var matrix = new flash.geom.Matrix(); matrix.translate(_x, _y); colors = [16777215, 16769391]; fillType = 'radial'; alphas = [100, 0]; ratios = [0, 255]; spreadMethod = 'reflect'; interpolationMethod = 'linearRGB'; focalPointRatio = 0; seconds = 0; var groundAddition = new flash.display.BitmapData(1500, 1500, true, 13421772); _root.ground.attachBitmap(groundAddition, _root.ground.getNextHighestDepth()); onEnterFrame = function () { _x = _x + speed; _y = _y + fallspeed; _root.ground.core._x = _x; _root.ground.core._y = _y; if (impact > 0) { --impact; } if (_root.ground.core.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING) { impact = 3; HEALTH -= 0.5; } if (_currentframe == 1) { if (HEALTH < 90) { i = 0; while (i < 5) { _root.attachMovie('screw', 'screw' + i, _root.getNextHighestDepth()); _root['screw' + i]._x = _x + (100 - Math.random() * 200); _root['screw' + i]._y = _y + (100 - Math.random() * 200); _root['screw' + i].speed = 5 - Math.random() * 10; _root['screw' + i].fallspeed = -5 + Math.random() * 6; _root['screw' + i].secondsMAX = 50 + Math.random() * 10; ++i; } _root.cam.SHAKE = 40; gotoAndStop(2); _root.GunShotBig.start(0, 1); } } if (_currentframe == 2) { if (HEALTH < 70) { _root.cam.SHAKE = 40; _root.Background.attachMovie('red alert inner ship', 'red alert', _root.Background.getNextHighestDepth()); _root.Background.red alert._x = _x; _root.Background.red alert._y = _y; gotoAndStop(3); _root.gunlaser.start(0, 1); _root.Explosion4.start(0, 1); fallspeed = 5; i = 0; while (i < 5) { _root.attachMovie('screw', 'screw' + i, _root.getNextHighestDepth()); _root['screw' + i]._x = _x + (100 - Math.random() * 200); _root['screw' + i]._y = _y + (100 - Math.random() * 200); _root['screw' + i].speed = 5 - Math.random() * 10; _root['screw' + i].fallspeed = -5 + Math.random() * 6; _root['screw' + i].secondsMAX = 50 + Math.random() * 10; ++i; } } if (_root.cam.SHAKE < 5) { _root.cam.SHAKE = 5; } SINE += 180; _x = X + Math.sin(SINE) * 3; if (SINE > 900) { SINE = 0; } } if (_currentframe == 3) { if (HEALTH < 60) { ++seconds; if (seconds == 50) { _root.Background.attachMovie('inner ship boss drop', 'drop' + (_root.Background.getNextHighestDepth() + 1), _root.Background.getNextHighestDepth()); seconds = 0; } if (Math.random() > 0.9) { _root.attachMovie('screw', 'screw' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['screw' + (_root.getNextHighestDepth() - 1)]._x = _x + (400 - Math.random() * 800); _root['screw' + (_root.getNextHighestDepth() - 1)]._y = _y - 200; _root['screw' + (_root.getNextHighestDepth() - 1)].speed = 5 - Math.random() * 10; _root['screw' + (_root.getNextHighestDepth() - 1)].fallspeed = Math.random() * 6; _root['screw' + (_root.getNextHighestDepth() - 1)].secondsMAX = 50 + Math.random() * 30; } if (shield._currentframe != 1) { ++FALL; } if (HEALTH > 0) { this['spike' + (this.getNextHighestDepth() - 1)]._x = Math.cos((this['spike' + (this.getNextHighestDepth() - 1)]._rotation - 90) * 0.0174532925199433) * -120; this['spike' + (this.getNextHighestDepth() - 1)]._y = Math.sin((this['spike' + (this.getNextHighestDepth() - 1)]._rotation - 90) * 0.0174532925199433) * -120; if (Math.random() > 0.95) { duplicateMovieClip('spike', 'spike' + this.getNextHighestDepth(), this.getNextHighestDepth()); this['spike' + (this.getNextHighestDepth() - 1)]._xscale = 500; this['spike' + (this.getNextHighestDepth() - 1)]._yscale = 500; } } } if (FALL == 80) { fallspeed = 20; } if (FALL > 90) { if (FALL < 130) { fallspeed += 2; if (HEALTH > 0) { if ((_root.groundBitmap.getPixel(_x, _y + 110)).toString(16) == 'ff0000') { _root.animated.floor.play(); if (fallspeed > 10) { _root.GunShotBig.start(0, 1); _root.cam.SHAKE = 30; } fallspeed = 0; } } else { if ((_root.groundBitmap.getPixel(_x, _y + 90)).toString(16) == 'ff0000') { if (fallspeed > 10) { _root.cam.SHAKE = 30; } fallspeed = 0; FALL = 120; } } } else { fallspeed = -5; if (_y < Y + 300) { BACKshield.gotoAndStop(1); shield.gotoAndStop(1); } if (_y < Y + 120) { FALL = 50; } } } else { fallspeed *= 0.95; } _root.ground.core._width = 200; _root.ground.core._height = 200; POINT._visible = true; var v3 = new flash.geom.Matrix(); v3.rotate(shield._rotation * 0.0174532925199433); v3.translate(_x, _y); _root.groundBitmap.draw(shield, v3, _root.RED); LIGHTmatrix = new flash.geom.Matrix(); LIGHTmatrix.createGradientBox(500, 500, Math.PI, -250, -250); POINT.createEmptyMovieClip('LIGHT', 0); POINT.LIGHT.moveTo(0, 0); POINT.LIGHT.beginGradientFill(fillType, colors, alphas, ratios, LIGHTmatrix, spreadMethod, interpolationMethod, focalPointRatio); z = 0; while (z <= 360) { Xnode = _x + 150 * Math.cos(z * 0.0174532925199433); Ynode = _y + 150 * Math.sin(z * 0.0174532925199433); if ((_root.groundBitmap.getPixel(Xnode, Ynode)).toString(16) != 'ff0000') { _root.HITPOINTX = Xnode + 100 * Math.cos(z * 0.0174532925199433) - _x; _root.HITPOINTY = Ynode + 100 * Math.sin(z * 0.0174532925199433) - _y; } else { _root.HITPOINTX = Xnode + -150 * Math.cos(z * 0.0174532925199433) - _x; _root.HITPOINTY = Ynode + -150 * Math.sin(z * 0.0174532925199433) - _y; } POINT.LIGHT.lineTo(_root.HITPOINTX, _root.HITPOINTY); z += 5; } POINT.LIGHT.endFill(); this.attachBitmap(groundBitmap, 3); } if (_currentframe == 4) { ++seconds; if (seconds == 100) { _root.attachMovie('inner ship getout', 'getout', _root.getNextHighestDepth()); _root.getout._x = _x; _root.getout._y = 350; } ++FALL; if (FALL == 80) { fallspeed = 20; } if (FALL > 90) { if (FALL < 130) { fallspeed += 2; if (_y > 600) { if (fallspeed > 10) { _root.cam.SHAKE = 30; } fallspeed = 0; } } } else { fallspeed *= 0.95; } } }; } instance BACKshield of movieClip 2770 { onClipEvent (enterFrame) { _rotation = _rotation + 5; } } instance of movieClip 2772 { onClipEvent (load) { fallspeed = -3 - Math.random() * 3; speed = -7 - Math.random() * 7; } onClipEvent (enterFrame) { _x = _x + speed; _y = _y + fallspeed; fallspeed += 3; _rotation = _rotation + speed / 2; if (!this.hitTest(_root.cam)) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 2772 { onClipEvent (load) { fallspeed = -1 - Math.random() * 3; speed = 7 + Math.random() * 8; } onClipEvent (enterFrame) { _x = _x + speed; _y = _y + fallspeed; fallspeed += 3; _rotation = _rotation + speed / 2; if (!this.hitTest(_root.cam)) { this.swapDepths(999); this.removeMovieClip(); } } } instance circle of movieClip 2777 { onClipEvent (load) { myColor = new Color(this); myColorTransform = new Object(); seconds = 0; _alpha = 200; } onClipEvent (enterFrame) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_parent.impact > 0) { _visible = true; ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { myColorTransform = {'rb': -300, 'gb': -300, 'bb': -300}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 300, 'gb': 300, 'bb': 300}; myColor.setTransform(myColorTransform); } } else { _visible = false; } if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; if (_root.guy._x > _parent._x) { _root.guy._x += 2; } else { _root.guy._x -= 2; } } } } instance of movieClip 1489 { onClipEvent (enterFrame) { if (_parent.HEALTH < 40) { if (Math.random() > 0.7) { duplicateMovieClip(smoke, 'circle' + this.getNextHighestDepth(), this.getNextHighestDepth()); this['circle' + (this.getNextHighestDepth() - 1)]._x = 150 - Math.random() * 300; this['circle' + (this.getNextHighestDepth() - 1)]._y = 150 - Math.random() * 300; } } } } instance spike of movieClip 2783 pop spike { onClipEvent (load) { if (_name == 'spike') { stop(); _visible = false; } else { _visible = true; } } } instance POINT of movieClip 73 hitBox { onClipEvent (load) { this.unloadMovie(); } } instance gunEND of movieClip 73 hitBox { onClipEvent (enterFrame) { XX = _root.BEAM.nodeENDX - _parent._x; YY = _root.BEAM.nodeENDY - _parent._y; DISTANCE = Math.sqrt(XX * XX + YY * YY); if (DISTANCE < 350 && YY > -50) { _x = XX; _y = YY; } else { _x = 0; _y = 0; } } } instance shield of movieClip 2770 { onClipEvent (load) { SHIELDparts = 10; } onClipEvent (enterFrame) { _rotation = _rotation + 5; if (_parent.HEALTH <= 0) { _parent.FALL = 80; SHIELDparts = 0; } if (SHIELDparts < 10) { if (_currentframe == 1) { _root.attachMovie('explosion small', 'explosion' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['explosion' + _root.getNextHighestDepth()]._x = _parent._x; _root['explosion' + _root.getNextHighestDepth()]._y = _parent._y; _root.attachMovie('explosion small', 'explosion' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['explosion' + _root.getNextHighestDepth()]._x = _parent._x + 80; _root['explosion' + _root.getNextHighestDepth()]._y = _parent._y + 80; _root.attachMovie('explosion small', 'explosion' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['explosion' + _root.getNextHighestDepth()]._x = _parent._x - 80; _root['explosion' + _root.getNextHighestDepth()]._y = _parent._y + 80; _root.attachMovie('explosion small', 'explosion' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['explosion' + _root.getNextHighestDepth()]._x = _parent._x - 80; _root['explosion' + _root.getNextHighestDepth()]._y = _parent._y - 80; _root.attachMovie('explosion small', 'explosion' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['explosion' + _root.getNextHighestDepth()]._x = _parent._x + 80; _root['explosion' + _root.getNextHighestDepth()]._y = _parent._y - 80; } gotoAndStop(2); _parent.BACKshield.gotoAndStop(2); } if (_parent.HEALTH <= 0) { _parent.gotoAndStop(4); _parent.seconds = 0; } SHIELDparts = 0; } } instance of movieClip 2787 { onClipEvent (enterFrame) { D = _parent._x - _x; DISTANCE = Math.sqrt(D * D); if (DISTANCE < 50) { if (_root.guy._x < _x + _parent._x) { _root.guy._x -= 50; } else { _root.guy._x += 50; } } } } } movieClip 2791 red alert inner ship { } movieClip 2803 electric floor { frame 1 { stop(); WIDTH = _width; onEnterFrame = function () { if (_currentframe > 8 && _currentframe < 30) { this.createEmptyMovieClip('LINE', 2); this.createEmptyMovieClip('blueLINE', 1); LINE.moveTo(-WIDTH / 2, 0); blueLINE.moveTo(-WIDTH / 2, 0); LINE.lineStyle(2, 16777215); blueLINE.lineStyle(2, 16763904); i = 0; while (i < 50) { LINE.lineTo(-WIDTH / 2 + i * (WIDTH / 50), 5 - Math.random() * 10); blueLINE.lineTo(-WIDTH / 2 + i * (WIDTH / 50), 10 - Math.random() * 20); ++i; } if (_root.guy._y > _y - 3) { _root.guy.impact = 10; } } else { LINE.removeMovieClip(); blueLINE.removeMovieClip(); } }; } } movieClip 2823 inner ship security bot { frame 25 { stop(); NUMBER = 0; i = 0; while (i < 10) { attachMovie('gunslot', 'gunslot' + i, i); ++i; } seconds = 0; onEnterFrame = function () { ++seconds; i = 0; while (i <= 3) { if (_root['missile' + i * (_xscale / 100)]._currentframe == 1) { this.attachMovie('fire spark', 'spark' + this.getNextHighestDepth(), this.getNextHighestDepth()); this['spark' + (this.getNextHighestDepth() - 1)]._x = _root['missile' + i * _xscale / 100]._x - _x; this['spark' + (this.getNextHighestDepth() - 1)]._y = _root['missile' + i * _xscale / 100]._y - _y; this['spark' + (this.getNextHighestDepth() - 1)]._xscale = 50; this['spark' + (this.getNextHighestDepth() - 1)]._yscale = 50; if (seconds / 2 == Math.round(seconds / 2)) { if (Math.random() > 0.5) { this['spark' + (this.getNextHighestDepth() - 1)].gotoAndPlay(2); } else { this['spark' + (this.getNextHighestDepth() - 1)].gotoAndPlay(4); } } this['spark' + (this.getNextHighestDepth() - 1)]._rotation = _root['missile' + i * _xscale / 100]._rotation + (20 - Math.random() * 40); if (_xscale < 0) { this['spark' + (this.getNextHighestDepth() - 1)]._x *= -1; this['spark' + (this.getNextHighestDepth() - 1)]._rotation *= -1; } } ++i; } }; } } movieClip 2828 ADVERTISEMENT { } movieClip 2833 future building { frame 1 { FRAME = 1 + Math.round(Math.random() * 3); gotoAndStop(FRAME); var blur = new flash.filters.BlurFilter(30, 0, 3); this.filters = [blur]; this.cacheAsBitmap = true; onEnterFrame = function () { _x = _x - 50; if (_x < -250) { this.removeMovieClip(); } }; } } movieClip 2837 pterojectyl { frame 1 { if (speed == null) { speed = 25; } onEnterFrame = function () { ++speed; _x = _x + speed; if (_x > 1000) { _root.attachMovie('pterojectyl attack', 'pterojectyl' + _name, _root.getNextHighestDepth()); _root['pterojectyl' + _name]._x = _x; _root['pterojectyl' + _name]._y = _y; this.removeMovieClip(); } }; } } movieClip 2839 pterojectyl attack { frame 1 { speed = 20; onEnterFrame = function () { ++speed; _x = _x - speed; if (_x < -1500) { this.removeMovieClip(); } if (body.hitTest(_root.guy.body)) { _root.guy.IMPACT += 90; body.swapDepths(999); body.removeMovieClip(); } }; } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (Fcount == null) { Fcount = 0; } ++Fcount; this.attachMovie('WhiteSmoke', 'smoke' + Fcount, Fcount); this['smoke' + Fcount].R = Math.sin(Fcount / 3) * 10; this['smoke' + Fcount].NUMBER = Fcount; i = Fcount; while (i > Fcount - 50) { this['smoke' + i]._x += _parent.speed; if (this['smoke' + i]._currentframe > 5) { this['smoke' + i]._y -= Math.sin(this['smoke' + i].R * 0.0174532925199433) * (Fcount - i); } --i; } } } } movieClip 2841 background sand { frame 1 { onEnterFrame = function () { _x = _x - 30; if (_x < -_width - 100) { this.removeMovieClip(); } }; } } movieClip 2856 blood squib { frame 1 { _rotation = Math.random() * 360; if (Math.random() > 0.5) { _xscale = _xscale * -1; } if (Math.random() > 0.5) { gotoAndPlay('squib 2'); } } frame 16 { stop(); this.removeMovieClip(); } frame 31 { stop(); this.removeMovieClip(); } } movieClip 2859 { frame 1 { Y = _y; onEnterFrame = function () { _y = Y + 3 - Math.random() * 6; _rotation = _rotation + 20; }; } } movieClip 2880 { } movieClip 2887 { frame 1 { if (Y == null) { Y = _y; } onEnterFrame = function () { _y = Y - 2 + Math.random() * 4; if (_parent.MOVE == 'beam') { play(); } else { gotoAndPlay(1); } if (_currentframe > 50 && _currentframe < 80) { _parent.OLDXSPEED *= 0.5; } if (_currentframe > 80 && _currentframe < 150) { _parent.Xpoint -= 7; _parent.OLDXSPEED = -7; } }; } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 2); LINE.moveTo(0, 0); this.createEmptyMovieClip('outLINE', 1); outLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 10) { this['Xpoint' + i] -= 10; this['Ypoint' + i] += Math.sin(i * 0.5); LINE.lineStyle(40 - (pointcount - i) * 4, 9396535); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); outLINE.lineStyle(43 - (pointcount - i) * 4, 0); outLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 15 { _parent.Xpoint = _root.cam._x + 250; } frame 80 { _root.GiantBeam.start(0, 1); _root.GiantBeam.start(0, 1); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy._x, _root.guy._y, true)) { _root.guy.IMPACT += 30; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy._x, _root.guy._y, true)) { _root.guy.IMPACT += 30; } } } frame 167 { _parent.Xpoint = _root.cam._x; _parent.MOVE = 'missiles'; } } movieClip 2957 { frame 1 { myColor = new Color(this); myColorTransform = new Object(); impact = 0; seconds = 0; onEnterFrame = function () { if (_currentframe < 95) { if (_parent.MOVE == 'missiles') { play(); } else { stop(); } } else { impact = 0; } myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact > 0) { ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { myColorTransform = {'rb': 200, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } --impact; } if (_currentframe < 95 && _parent.HEALTH < 0) { gotoAndPlay('dead'); } }; } frame 47 { _root.roar.start(0, 1); _root.roar.start(0, 1); } frame 69 { _root.attachMovie('gnome missile', 'missile1', _root.getNextHighestDepth()); _root.missile1._x = _parent._x + _x - 60; _root.missile1._y = _parent._y + _y; _root.missile1.OLDXSPEED = -60; _root.missile1.OLDYSPEED = 10; _root.missile1.secondsMAX = 50; _root.lasershot2.start(0, 1); } frame 74 { _root.attachMovie('gnome missile', 'missile2', _root.getNextHighestDepth()); _root.missile2._x = _parent._x + _x; _root.missile2._y = _parent._y + _y - 60; _root.missile2.OLDXSPEED = 0; _root.missile2.OLDYSPEED = -50; _root.missile2.secondsMAX = 50; _root.lasershot2.start(0, 1); } frame 79 { _root.attachMovie('gnome missile', 'missile3', _root.getNextHighestDepth()); _root.missile3._x = _parent._x + _x + 60; _root.missile3._y = _parent._y + _y; _root.missile3.OLDXSPEED = 60; _root.missile3.OLDYSPEED = 10; _root.missile3.secondsMAX = 50; _root.lasershot2.start(0, 1); } frame 98 { gotoAndStop(1); _parent.MOVE = 'beam'; } frame 99 { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } frame 112 { _root.squeak.start(0, 1); _root.squeak.start(0, 1); } frame 127 { _root.cam.SHAKE = 30; _parent.MOVE = 'dead'; _parent.beamers.gotoAndStop(1); } frame 160 { stop(); } } movieClip 2958 megaceratops { frame 1 { elasticness = 0.95; quickness = 0.02; OLDXSPEED = 0; Dcount = 0; MOVE = 'missiles'; HEALTH = 100; speed = -2; _root.ground.attachMovie('hitBox', _name, _root.ground.getNextHighestDepth()); FRAME = _root._currentframe; onEnterFrame = function () { XDISTANCE = Xpoint - _x; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; _x = _x + XSPEED; OLDXSPEED = XSPEED; ++Dcount; if (Dcount / 3 == Math.round(Dcount / 3)) { duplicateMovieClip('dust', 'dust' + Dcount, Dcount); this['dust' + Dcount]._x = dust._x; this['dust' + Dcount]._y = dust._y; } if ((Dcount + 1) / 3 == Math.round((Dcount + 1) / 3)) { duplicateMovieClip('dust', 'dust' + Dcount, Dcount); this['dust' + Dcount]._x = dust._x - 75; this['dust' + Dcount]._y = dust._y; } if ((Dcount + 2) / 3 == Math.round((Dcount + 2) / 3)) { duplicateMovieClip('dust', 'dust' + Dcount, Dcount); this['dust' + Dcount]._x = dust._x - 150; this['dust' + Dcount]._y = dust._y; } _root.ground[_name]._x = _x - 20; _root.ground[_name]._y = _y - 60; _root.ground[_name]._xscale = 990; _root.ground[_name]._yscale = 390; if (this.body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY) && _root.guy.CLICKING == true) { head.impact = 3; HEALTH -= 0.5; } if (MOVE == 'dead') { OLDXSPEED = speed; --speed; if (_x < _root.cam._x - 800) { _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } } if (_root.guy.body.hitTest(body)) { _root.guy.IMPACT += 50; _root.cam.SHAKE = 10; } if (this.body.hitTest(_root.cam)) { _root.cam.STOP = true; } if (FRAME != _root._currentframe) { this.removeMovieClip(); } }; } instance dust of movieClip 1488 circle { onClipEvent (load) { if (_name != 'dust') { _visible = true; } else { stop(); _visible = false; } _rotation = Math.random() * 360; Xspeed = -5 - Math.random() * 5; Yspeed = -3 + Math.random() * 2; RANDOM = Math.round(20 - Math.random() * 40); myColor = new Color(this); myColorTransform = new Object(); myColorTransform = {'rb': 135 + RANDOM, 'gb': 122 + RANDOM, 'bb': 75 + RANDOM}; myColor.setTransform(myColorTransform); } onClipEvent (enterFrame) { if (_name != 'dust') { _x = _x + Xspeed; _y = _y + Yspeed; } } } } movieClip 2961 { frame 1 { if (_root.HATtype != 'pirate') { _visible = false; this.swapDepths(999); this.removeMovieClip(); } } } movieClip 2962 { } movieClip 2969 { } movieClip 2971 { } movieClip 2973 { } movieClip 2992 { frame 1 { Raim = 0; if (bombcount == null) { bombcount = 0; } if (_root.raptorrex.MOVE == 'bombs') { _root.raptorrex.MOVE = 'missiles'; bombcount = 0; } if (bombcount > 6) { _root.raptorrex.MOVE = 'bombs'; } if (_root.raptorrex.MOVE == 'missiles') { play(); } if (_root.raptorrex.MOVE == 'bombs') { gotoAndPlay('bombs'); } onEnterFrame = function () { _rotation = _rotation - (_rotation - Raim) / 5; }; } frame 65 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('missile drop', 'bomb' + bombcount, _root.getNextHighestDepth()); _root['bomb' + bombcount].speed = Math.cos(R * 0.0174532925199433) * 24; _root['bomb' + bombcount].fallspeed = Math.sin(R * 0.0174532925199433) * 24; _root['bomb' + bombcount]._x = _root.raptorrex._x + _x + _root['bomb' + bombcount].speed * 4; _root['bomb' + bombcount]._y = _root.raptorrex._y + _y + _root['bomb' + bombcount].fallspeed * 4; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['bomb' + bombcount]._x; _root['pop' + bombcount]._y = _root['bomb' + bombcount]._y; } frame 70 { Raim = 15; } frame 80 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('missile drop', 'bomb' + bombcount, _root.getNextHighestDepth()); _root['bomb' + bombcount].speed = Math.cos(R * 0.0174532925199433) * 24; _root['bomb' + bombcount].fallspeed = Math.sin(R * 0.0174532925199433) * 24; _root['bomb' + bombcount]._x = _root.raptorrex._x + _x + _root['bomb' + bombcount].speed * 4; _root['bomb' + bombcount]._y = _root.raptorrex._y + _y + _root['bomb' + bombcount].fallspeed * 4; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['bomb' + bombcount]._x; _root['pop' + bombcount]._y = _root['bomb' + bombcount]._y; } frame 85 { Raim = 45; } frame 95 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('missile drop', 'bomb' + bombcount, _root.getNextHighestDepth()); _root['bomb' + bombcount].speed = Math.cos(R * 0.0174532925199433) * 24; _root['bomb' + bombcount].fallspeed = Math.sin(R * 0.0174532925199433) * 24; _root['bomb' + bombcount]._x = _root.raptorrex._x + _x + _root['bomb' + bombcount].speed * 4; _root['bomb' + bombcount]._y = _root.raptorrex._y + _y + _root['bomb' + bombcount].fallspeed * 4; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['bomb' + bombcount]._x; _root['pop' + bombcount]._y = _root['bomb' + bombcount]._y; } frame 100 { Raim = 60; } frame 110 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('missile drop', 'bomb' + bombcount, _root.getNextHighestDepth()); _root['bomb' + bombcount].speed = Math.cos(R * 0.0174532925199433) * 24; _root['bomb' + bombcount].fallspeed = Math.sin(R * 0.0174532925199433) * 24; _root['bomb' + bombcount]._x = _root.raptorrex._x + _x + _root['bomb' + bombcount].speed * 4; _root['bomb' + bombcount]._y = _root.raptorrex._y + _y + _root['bomb' + bombcount].fallspeed * 4; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['bomb' + bombcount]._x; _root['pop' + bombcount]._y = _root['bomb' + bombcount]._y; } frame 115 { Raim = 0; _root.raptorrex.Xpoint = Math.random() * 500; } frame 120 { _parent.head1.Raim = -25; } frame 130 { if (_root.raptorrex.HEALTH <= 60 && Math.random() > 0.3) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, _root.getNextHighestDepth()); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 50 + Math.random() * 100; } } frame 149 { _parent.head1.Raim = 0; } frame 156 { gotoAndPlay(1); } frame 157 { Raim = 60; } frame 165 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('bomb', 'BOMB' + bombcount, _root.getNextHighestDepth()); _root['BOMB' + bombcount].fallspeed = -15 - Math.random() * 6; _root['BOMB' + bombcount]._x = _root.raptorrex._x + _x + Math.cos(R * 0.0174532925199433) * 60; _root['BOMB' + bombcount]._y = _root.raptorrex._y + _y + Math.sin(R * 0.0174532925199433) * 60; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['BOMB' + bombcount]._x; _root['pop' + bombcount]._y = _root['BOMB' + bombcount]._y; } frame 185 { oldX = _root.raptorrex.Xpoint; _root.raptorrex.Xpoint = Math.random() * 500; for (;;) { if (!(_root.raptorrex.Xpoint > oldX - 150 && _root.raptorrex.Xpoint < oldX + 150)) break; _root.raptorrex.Xpoint = Math.random() * 500; } } frame 202 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('bomb', 'BOMB' + bombcount, _root.getNextHighestDepth()); _root['BOMB' + bombcount].fallspeed = -15 - Math.random() * 6; _root['BOMB' + bombcount]._x = _root.raptorrex._x + _x + Math.cos(R * 0.0174532925199433) * 60; _root['BOMB' + bombcount]._y = _root.raptorrex._y + _y + Math.sin(R * 0.0174532925199433) * 60; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['BOMB' + bombcount]._x; _root['pop' + bombcount]._y = _root['BOMB' + bombcount]._y; } frame 222 { oldX = _root.raptorrex.Xpoint; _root.raptorrex.Xpoint = Math.random() * 500; for (;;) { if (!(_root.raptorrex.Xpoint > oldX - 150 && _root.raptorrex.Xpoint < oldX + 150)) break; _root.raptorrex.Xpoint = Math.random() * 500; } } frame 239 { R = _rotation - 160; _root.stonebreak.start(0, 1); ++bombcount; _root.attachMovie('bomb', 'BOMB' + bombcount, _root.getNextHighestDepth()); _root['BOMB' + bombcount].fallspeed = -15 - Math.random() * 6; _root['BOMB' + bombcount]._x = _root.raptorrex._x + _x + Math.cos(R * 0.0174532925199433) * 60; _root['BOMB' + bombcount]._y = _root.raptorrex._y + _y + Math.sin(R * 0.0174532925199433) * 60; _root.attachMovie('smoke pop', 'pop' + bombcount, _root.getNextHighestDepth()); _root['pop' + bombcount]._x = _root['BOMB' + bombcount]._x; _root['pop' + bombcount]._y = _root['BOMB' + bombcount]._y; } frame 259 { oldX = _root.raptorrex.Xpoint; _root.raptorrex.Xpoint = Math.random() * 500; for (;;) { if (!(_root.raptorrex.Xpoint > oldX - 150 && _root.raptorrex.Xpoint < oldX + 150)) break; _root.raptorrex.Xpoint = Math.random() * 500; } } } movieClip 2994 { } movieClip 2996 { } movieClip 3000 { } movieClip 3002 { frame 1 { Raim = 0; onEnterFrame = function () { _rotation = _rotation - (_rotation - Raim) / 5; }; } } movieClip 3016 { } movieClip 3038 { frame 1 { onEnterFrame = function () { this.createEmptyMovieClip('LINE', 1); LINE.lineStyle(3, 0); LINE.moveTo(hand2._x + 10, hand2._y + 5); LINE.curveTo(MOUTH._x - 50, MOUTH._y + 30, MOUTH._x, MOUTH._y); this.createEmptyMovieClip('LINE2', 2); LINE2.lineStyle(3, 10057781); LINE2.moveTo(hand2._x + 10, hand2._y + 5); LINE2.curveTo(MOUTH._x - 50, MOUTH._y + 30, MOUTH._x, MOUTH._y - 1); LINE2._y = -1; LINE2._x = 1; }; } instance of movieClip 2969 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 2971 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 10; } } instance hand3 of movieClip 2973 { onClipEvent (load) { X = _x - _parent.body2._x; Y = _y - _parent.body2._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance bazooka of movieClip 2992 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance of movieClip 2962 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 7) * 0.8) * 4; _rotation = 45 + Math.sin((_parent._currentframe + 6) * 0.4) * 10; } } instance body of movieClip 2994 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.8) * 4; _rotation = Math.sin((_parent._currentframe + 6) * 0.4) * 5; R = _parent.hand.ANGLE + _rotation; _parent.hand._x = _x + Math.cos(R * 0.0174532925199433) * _parent.hand.DISTANCE; _parent.hand._y = _y + Math.sin(R * 0.0174532925199433) * _parent.hand.DISTANCE; R = _parent.bazooka.ANGLE + _rotation; _parent.bazooka._x = _x + Math.cos(R * 0.0174532925199433) * _parent.bazooka.DISTANCE; _parent.bazooka._y = _y + Math.sin(R * 0.0174532925199433) * _parent.bazooka.DISTANCE; } } instance hand of movieClip 2996 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 20) { this['Xpoint' + i] -= 11; this['Ypoint' + i] -= Math.sin((_parent._currentframe + 6) * 0.7) * 3; this['Ypoint' + i] *= (20 - (pointcount - i)) / 15; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; if (i > pointcount - 18) { THICKNESS = 25 - Math.sqrt((pointcount - i) * 30); } else { THICKNESS = 10; } if (i < pointcount - 16) { this['Xpoint' + i] += 6; this['Ypoint' + i] += 2; } LINE.lineStyle(3 + THICKNESS, 0); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 10702882); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance tail1 of movieClip 3000 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.8) * 2; } } instance of movieClip 2962 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 8) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 6) * 0.4) * 10; } } instance head1 of movieClip 3002 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.body._rotation; _x = _parent.body._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.body._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance body2 of movieClip 3016 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 4) * 0.8) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 1; } } instance hand2 of movieClip 2973 { onClipEvent (load) { X = _x - _parent.body2._x; Y = _y - _parent.body2._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { _x = _parent.body2._x + Math.cos(ANGLE * 0.0174532925199433) * DISTANCE; _y = _parent.body2._y + Math.sin(ANGLE * 0.0174532925199433) * DISTANCE; _parent.hand3._x = _parent.body2._x + Math.cos(_parent.hand3.ANGLE * 0.0174532925199433) * DISTANCE; _parent.hand3._y = _parent.body2._y + Math.sin(_parent.hand3.ANGLE * 0.0174532925199433) * DISTANCE; } } instance of movieClip 2971 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 10; } } frame 3 { _root.footstepL.start(0, 1); _root.footstepL.start(0, 1); } frame 11 { _root.footstepR.start(0, 1); _root.footstepR.start(0, 1); } } movieClip 3041 star { frame 1 { onEnterFrame = function () { if (_root.LEVEL == 'level select') { if (Math.random() > 0.98 && (_root.groundBitmap.getPixel(_x, _y)).toString(16) != 'ff0000') { R = Math.random(); _root.attachMovie('sparkle', 'sparkle' + R, _root.getNextHighestDepth()); _root['sparkle' + R]._x = _x; _root['sparkle' + R]._y = _y; _root['sparkle' + R]._xscale = 30; _root['sparkle' + R]._yscale = 30; } } }; } } movieClip 3049 { } movieClip 3055 { } movieClip 3061 { } movieClip 3068 { } movieClip 3075 { } movieClip 3094 { frame 1 { onEnterFrame = function () { if (_currentframe >= 3 && _currentframe <= 65) { _parent.SHADOW._alpha *= 0.9; } else { if (_currentframe >= 3) { _parent.SHADOW._alpha -= (_parent.SHADOW._alpha - 100) / 5; } } }; } frame 2 { if (!ROARING) { gotoAndPlay(1); } } frame 72 { ROARING = false; } } movieClip 3097 { } movieClip 3098 { instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } } movieClip 3111 { instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 9 { onEnterFrame = function () { if (_currentframe / 10 == Math.round(_currentframe / 10)) { duplicateMovieClip(spike, 'spike' + (this.getNextHighestDepth() + 1), this.getNextHighestDepth()); this['spike' + this.getNextHighestDepth()].R = Math.random() * 360; this['spike' + this.getNextHighestDepth()]._x = 24 + Math.cos(this['spike' + (this.getNextHighestDepth() - 1)].R * 0.0174532925199433) * 50; this['spike' + this.getNextHighestDepth()]._y = Math.sin(this['spike' + (this.getNextHighestDepth() - 1)].R * 0.0174532925199433) * 50; } }; } instance spike of movieClip 2783 pop spike { onClipEvent (load) { if (_name == 'spike') { stop(); _visible = false; } else { _visible = true; } } } } movieClip 3139 { frame 1 { onEnterFrame = function () { if (_currentframe >= 35) { _rotation = _rotation - 1; TAIL._rotation = -_rotation; SCARF._rotation = -_rotation; if (_parent.CIRCLE._rotation > -30 && _parent.CIRCLE._rotation < 20) { _rotation = _rotation * 0.8; } } }; } instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 34 { _parent.CIRCLE._alpha = 100; _parent.CIRCLE._rotation = -90; } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance SCARF of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } frame 62 { if (_rotation < 3 && _rotation > -3) { _parent.SPINNING = false; _parent.seconds = 0; _parent.gotoAndStop(2); } else { gotoAndPlay(35); } } } movieClip 3141 { } movieClip 3142 { frame 1 { var blur = new flash.filters.BlurFilter(30, 30, 3); MC.filters = [blur]; var THIS = new flash.display.BitmapData(1000, 1000, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(500, 500); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -500; MOVIECLIP._y = -500; XSCALE = 200; seconds = 0; _alpha = 0; Rspeed = -0.5; onEnterFrame = function () { if (_alpha < 10) { _rotation = _rotation + Rspeed; } _rotation = _rotation + Rspeed; _xscale = XSCALE; _yscale = XSCALE; ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { _yscale = XSCALE + 20; } if (_rotation < -130 || _rotation > -35) { _alpha = _alpha - _alpha / 5; } if (_rotation > -120 && _rotation < -35) { _alpha = _alpha - (_alpha - 100) / 5; } if (_rotation <= -120) { Rspeed -= (Rspeed - 0.5) / 10; } else { if (Rspeed > 0) { Rspeed -= (Rspeed - 0.5) / 10; } } }; } } movieClip 3144 { frame 1 { _rotation = _parent.CIRCLE._rotation; _alpha = _parent.CIRCLE._alpha / 2; _xscale = _parent.CIRCLE._xscale; _yscale = _parent.CIRCLE._yscale; onEnterFrame = function () { _rotation = _parent.CIRCLE._rotation; _alpha = _parent.CIRCLE._alpha / 2; _xscale = 200; _yscale = 200; }; } instance of movieClip 344 { onClipEvent (enterFrame) { _rotation = _rotation - 10; } } } movieClip 3146 { frame 1 { _visible = false; } } movieClip 3155 { instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 18 { stop(); onEnterFrame = function () { _rotation = _rotation - 25; }; } } movieClip 3183 { instance of movieClip 2969 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 2971 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 10; } } instance hand3 of movieClip 2973 { onClipEvent (load) { X = _x - _parent.body2._x; Y = _y - _parent.body2._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance bazooka of movieClip 2992 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance of movieClip 2962 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 7) * 0.8) * 4; _rotation = 45 + Math.sin((_parent._currentframe + 6) * 0.4) * 10; } } instance body of movieClip 2994 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.8) * 4; _rotation = Math.sin((_parent._currentframe + 6) * 0.4) * 5; R = _parent.hand.ANGLE + _rotation; _parent.hand._x = _x + Math.cos(R * 0.0174532925199433) * _parent.hand.DISTANCE; _parent.hand._y = _y + Math.sin(R * 0.0174532925199433) * _parent.hand.DISTANCE; R = _parent.bazooka.ANGLE + _rotation; _parent.bazooka._x = _x + Math.cos(R * 0.0174532925199433) * _parent.bazooka.DISTANCE; _parent.bazooka._y = _y + Math.sin(R * 0.0174532925199433) * _parent.bazooka.DISTANCE; } } instance hand of movieClip 2996 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount; while (i > pointcount - 20) { this['Xpoint' + i] -= 11; this['Ypoint' + i] -= Math.sin((_parent._currentframe + 6) * 0.7) * 3; this['Ypoint' + i] *= (20 - (pointcount - i)) / 15; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; if (i > pointcount - 18) { THICKNESS = 25 - Math.sqrt((pointcount - i) * 30); } else { THICKNESS = 10; } if (i < pointcount - 16) { this['Xpoint' + i] += 6; this['Ypoint' + i] += 2; } LINE.lineStyle(3 + THICKNESS, 0); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 10702882); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance tail1 of movieClip 3000 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.8) * 2; } } instance of movieClip 2962 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 8) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 6) * 0.4) * 10; } } instance head1 of movieClip 3002 { onClipEvent (load) { X = _x - _parent.body._x; Y = _y - _parent.body._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.body._rotation; _x = _parent.body._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.body._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance body2 of movieClip 3016 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 4) * 0.8) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 1; } } instance hand2 of movieClip 2973 { onClipEvent (load) { X = _x - _parent.body2._x; Y = _y - _parent.body2._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { _x = _parent.body2._x + Math.cos(ANGLE * 0.0174532925199433) * DISTANCE; _y = _parent.body2._y + Math.sin(ANGLE * 0.0174532925199433) * DISTANCE; _parent.hand3._x = _parent.body2._x + Math.cos(_parent.hand3.ANGLE * 0.0174532925199433) * DISTANCE; _parent.hand3._y = _parent.body2._y + Math.sin(_parent.hand3.ANGLE * 0.0174532925199433) * DISTANCE; } } instance of movieClip 2971 { onClipEvent (load) { Y = _y; } onClipEvent (enterFrame) { _y = Y + Math.sin((_parent._currentframe + 6) * 0.7) * 4; _rotation = Math.sin((_parent._currentframe + 4) * 0.4) * 10; } } instance SCARF of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance SCARF of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance SCARF of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } frame 40 { _parent.Xpoint = _root.cam._x + 300; _root.ground.attachMovie('hitBox', _parent._name, _root.ground.getNextHighestDepth()); _root.ground[_name]._width = 70; _root.ground[_name]._height = 100; _parent.gotoAndStop(2); _parent.gotoAndStop(3); _parent.mc.HEAD.ROARING = true; _parent.SPAWNING = true; } } movieClip 3238 { } movieClip 3250 { frame 1 { _root.ground[_name].removeMovieClip(); _root.BEAM.swapDepths(999); _root.BEAM.removeMovieClip(); onEnterFrame = function () { if (_currentframe < 49) { _root.cam.SHAKE = 5; if (_currentframe / 5 == Math.round(_currentframe / 5)) { R = Math.random(); _root.Explosion4.start(0, 1); _root.attachMovie('explosion small', 'exp' + R, _root.getNextHighestDepth()); _root['exp' + R]._x = _parent._x + 25 - Math.random() * 50; _root['exp' + R]._y = _parent._y + 25 - Math.random() * 50; } } }; } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance TAIL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 3055 { onClipEvent (load) { X = _x - _parent.head1._x; Y = _y - _parent.head1._y; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; DISTANCE = Math.sqrt(X * X + Y * Y); } onClipEvent (enterFrame) { R = ANGLE + _parent.head1._rotation; _x = _parent.head1._x + Math.cos(R * 0.0174532925199433) * DISTANCE; _y = _parent.head1._y + Math.sin(R * 0.0174532925199433) * DISTANCE; } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; Y = _y; } ++pointcount; this['Xpoint' + pointcount] = 0; this['Ypoint' + pointcount] = 0; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(0, 0); this.createEmptyMovieClip('whiteLINE', 2); whiteLINE.moveTo(0, 0); i = pointcount - 1; while (i > pointcount - 12) { this['Xpoint' + i] -= 7; this['Ypoint' + i] *= (20 - (pointcount - i)) / 20; this['Ypoint' + i] += Math.sin(i / 2) * (pointcount - i) / 2; THICKNESS = 30 - Math.sqrt((pointcount - i) * 60); LINE.lineStyle(5 + THICKNESS, 3172999); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); whiteLINE.lineStyle(THICKNESS, 8032132); whiteLINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } } } frame 120 { _root.cam.SHAKE = 10; _root.Explosion5.start(0, 1); } frame 121 { stop(); _root.attachMovie('meet up with future-you', 'ending', _root.getNextHighestDepth()); _root.ending._x = 1400; _root.ending._y = 340; } } movieClip 3251 raptor-rex boss { frame 1 { stop(); FRAME = _root._currentframe; elasticness = 0.6; quickness = 0.02; OLDXSPEED = 0; OLDYSPEED = 0; MOVE = 'missiles'; HEALTH = 100; Xpoint = 400; seconds = 0; Y = _y; myColor = new Color(this); myColorTransform = new Object(); _root.ground.attachMovie('hitBox', _name, _root.ground.getNextHighestDepth()); _root.ground[_name]._xscale = body._xscale * 0.9; _root.ground[_name]._yscale = body._yscale * 0.9; onEnterFrame = function () { if (_root._currentframe != FRAME) { this.removeMovieClip(); } XDISTANCE = Xpoint - _x; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; _x = _x + XSPEED; OLDXSPEED = XSPEED; _root.ground[_name]._x = _x + body._x; _root.ground[_name]._y = _y + body._y; if (body.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true) && _root.guy.CLICKING == true) { HEALTH -= 0.5; _root.dink.start(0, 1); myColorTransform = {'rb': 100 * Math.sin(seconds * 180), 'gb': 100 * Math.sin(seconds * 180), 'bb': 100 * Math.sin(seconds * 180)}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } ++seconds; if (_currentframe == 1) { _y = _y + fallspeed; fallspeed += 2; if (mc._currentframe / 8 == Math.round(mc._currentframe / 8)) { _y = Y; fallspeed = -6; } if (_y > Y) { _y = Y; } i = 0; while (i <= 8) { _root['pop' + i].Rspeed = 0; if (_root['bomb' + i]._y > 500) { _root['bomb' + i].removeMovieClip(); } if (_root['bomb' + i]._currentframe == 1) { this.attachMovie('fire spark', 'spark' + this.getNextHighestDepth(), this.getNextHighestDepth()); this['spark' + (this.getNextHighestDepth() - 1)]._x = _root['bomb' + i]._x - _x; this['spark' + (this.getNextHighestDepth() - 1)]._y = _root['bomb' + i]._y - _y; this['spark' + (this.getNextHighestDepth() - 1)]._xscale = 50; this['spark' + (this.getNextHighestDepth() - 1)]._yscale = 50; if (seconds / 2 == Math.round(seconds / 2)) { if (Math.random() > 0.5) { this['spark' + (this.getNextHighestDepth() - 1)].gotoAndPlay(2); } else { this['spark' + (this.getNextHighestDepth() - 1)].gotoAndPlay(4); } } this['spark' + (this.getNextHighestDepth() - 1)]._rotation = _root['bomb' + i]._rotation + (20 - Math.random() * 40); if (_xscale < 0) { this['spark' + (this.getNextHighestDepth() - 1)]._x *= -1; this['spark' + (this.getNextHighestDepth() - 1)]._rotation *= -1; } } ++i; } if (seconds > 100) { seconds = 0; } if (HEALTH < 0) { seconds = 0; _root.ground[_name].removeMovieClip(); gotoAndStop(6); } } else { if (_currentframe > 1 && _currentframe < 6) { Ypoint = _root.cam._y; YDISTANCE = Ypoint - _y; YSPEED = OLDYSPEED * 0.8 + YDISTANCE * 0.05; _y = _y + YSPEED; OLDYSPEED = YSPEED; if (seconds == 40) { if (Math.random() > 0.8) { gotoAndStop(3); mc.HEAD.ROARING = true; SPAWNING = true; } else { if (Math.random() > 0.8) { ROCKETS = true; DISTANCE = _x - _root.cam._x; ANGLE = 0; } else { if (Math.random() > 0.8) { SPINNING = true; gotoAndStop(4); } else { BULLETHELL = true; gotoAndStop(3); } } } } if (SPAWNING) { if (seconds / 5 == Math.round(seconds / 5) && seconds < 250) { _root.lasershot2.start(0, 1); _root.attachMovie('kamikaze crockosaurus', 'crock' + seconds, _root.getNextHighestDepth()); _root['crock' + seconds]._x = _x; _root['crock' + seconds]._y = _y; _root['crock' + seconds].SINE = Math.random() * 360; _root.ground.attachMovie('hitBox', 'crock' + seconds, _root.ground.getNextHighestDepth()); _root.ground['crock' + seconds]._xscale = 490; _root.ground['crock' + seconds]._yscale = 240; _root.attachMovie('sparkle', 'sparkle' + seconds, _root.getNextHighestDepth()); _root['sparkle' + seconds]._x = _x; _root['sparkle' + seconds]._y = _y; _root['sparkle' + seconds]._xscale = 250; _root['sparkle' + seconds]._yscale = 250; } if (mc._currentframe > 120) { gotoAndStop(2); seconds = 0; SPAWNING = false; } } if (BULLETHELL) { _root._quality = 'LOW'; mc.HEAD.ROARING = true; if (seconds / 4 == Math.round(seconds / 4)) { _root.scifibeam.start(0, 1); i = 0; while (i < 360) { _root.bullets.attachMovie('bullet hell bullet', 'bullet' + i + '' + seconds, _root.bullets.getNextHighestDepth()); _root.bullets['bullet' + i + '' + seconds]._rotation = i - seconds * 2; _root.bullets['bullet' + i + '' + seconds]._x = _x + Math.cos(_root.bullets['bullet' + i + '' + seconds]._rotation * 0.0174532925199433) * 10; _root.bullets['bullet' + i + '' + seconds]._y = _y + Math.sin(_root.bullets['bullet' + i + '' + seconds]._rotation * 0.0174532925199433) * 10; i += 36; } } if (mc._currentframe == 120) { gotoAndStop(2); seconds = 0; BULLETHELL = false; _root._quality = 'MEDIUM'; } } if (ROCKETS == true) { gotoAndStop(5); ANGLE += 4; _x = _root.cam._x + Math.cos(ANGLE * 0.0174532925199433) * DISTANCE; _y = _root.cam._y + Math.sin(ANGLE * 0.0174532925199433) * DISTANCE * 0.7; if (seconds / 20 == Math.round(seconds / 20)) { _root.lasershot2.start(0, 1); _root.attachMovie('gnome missile', 'missile' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['missile' + _root.getNextHighestDepth()]._x = _x + Math.cos(ANGLE * 0.0174532925199433) * 20; _root['missile' + _root.getNextHighestDepth()]._y = _y + Math.sin(ANGLE * 0.0174532925199433) * 20; _root['missile' + _root.getNextHighestDepth()].OLDXSPEED = Math.cos(ANGLE * 0.0174532925199433) * 20; _root['missile' + _root.getNextHighestDepth()].OLDYSPEED = Math.sin(ANGLE * 0.0174532925199433) * 20; _root['missile' + _root.getNextHighestDepth()].secondsMAX = 50; } if (ANGLE < 725 && ANGLE >= 720) { gotoAndStop(2); seconds = 0; ROCKETS = false; } } if (HEALTH < -100) { gotoAndStop('death'); } } } if (this.body.hitTest(_root.cam) && HEALTH > 0) { _root.cam.STOP = true; } if (_root.guy.body.hitTest(body)) { _root.guy.IMPACT += 50; _root.cam.SHAKE = 10; } }; } instance of movieClip 3146 { onClipEvent (enterFrame) { _x = _parent.CIRCLE._x; _y = _parent.CIRCLE._y; _xscale = _parent.CIRCLE._xscale; _yscale = _parent.CIRCLE._yscale; _rotation = _parent.CIRCLE._rotation; if (_parent.CIRCLE._alpha >= 60) { if (!this.hitTest(_root.guy._x, _root.guy._y, true)) { _root.guy.IMPACT += 5; } } } } } movieClip 3260 editor warning message { frame 1 { stop(); onMouseDown = function () { this.removeMovieClip(); }; } frame 2 { stop(); onMouseDown = function () { this.removeMovieClip(); }; } } button 3269 { on (release) { gotoAndStop(2); } } button 3271 { on (release) { gotoAndStop(1); } } movieClip 3272 { frame 1 { stop(); } } button 3274 { on (release) { _root.PAUSE = false; this.swapDepths(); this.removeMovieClip(); } } button 3275 { on (release) { _root.PAUSE = false; _root.LEVEL = 'level select'; _root.GUYtype = 1; _root.gotoAndPlay('reset'); this.swapDepths(); this.removeMovieClip(); } } button 3276 { on (release) { play(); _root.PAUSE = false; } } button 3278 { on (release) { gotoAndStop('hats'); } } button 3294 { on (release) { gotoAndStop(1); } } button 3298 { on (release) { if (_currentframe <= 30) { _root.HATtype = _currentframe; } } } movieClip 3302 { frame 1 { gotoAndStop(HATnumber); HATcheck = 'h' + HATnumber; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf(HATcheck) == -1) { if (savefile.data[HATcheck] != 1) { gotoAndStop(31); } } if (HATnumber == 30) { READY = true; i = 1; while (i < 29) { HATcheck = 'h' + i; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); var savefile = SharedObject.getLocal('NoTime'); if (SaveData.indexOf(HATcheck) == -1) { READY = false; } if (savefile.data[HATcheck] != 1) { READY = false; } ++i; } if (READY) { gotoAndStop(30); } } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 3307 PAUSE menu { frame 1 { stop(); onEnterFrame = function () { _x = _root.cam._x; _y = _root.cam._y; _xscale = _root.cam._xscale; _yscale = _xscale; guyX = Math.round(_root.guy._x / 30); guyY = Math.round(_root.guy._y / 30); }; if (_root.HATtype == 'pirate') { gotoAndStop('piracy'); } } instance of movieClip 3272 { onClipEvent (load) { if (_root.NOSCREAMING) { gotoAndStop(1); } else { gotoAndStop(2); } } onClipEvent (enterFrame) { if (_currentframe == 1) { _root.NOSCREAMING = true; } else { _root.NOSCREAMING = false; } } } frame 2 { _root.attachMovie('explosion small', 'exp', _root.getNextHighestDepth()); _root.exp._x = _root.guy._x; _root.exp._y = _root.guy._y - 15; i = 0; while (i < 10) { _root.attachMovie('blood squib', 'squib' + i, _root.getNextHighestDepth()); _root['squib' + i]._x = _root.guy._x; _root['squib' + i]._y = _root.guy._y - 15; ++i; } _root.cam.SHAKE = 10; _root.guy.swapDepths(999); _root.guy.removeMovieClip(); } frame 25 { _root.PAUSE = false; _root.gotoAndPlay('reset'); this.swapDepths(); this.removeMovieClip(); } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 1; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 2; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 3; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 4; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 5; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 6; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 7; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 8; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 9; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 10; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 11; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 12; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 13; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 14; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 15; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 16; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 17; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 18; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 19; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 20; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 21; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 22; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 23; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 24; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 25; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 26; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 27; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 28; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 29; } } instance of movieClip 3302 { onClipEvent (load) { HATnumber = 30; } } frame 27 { stop(); } instance of movieClip 3272 { onClipEvent (load) { if (_root.NOSCREAMING) { gotoAndStop(1); } else { gotoAndStop(2); } } onClipEvent (enterFrame) { if (_currentframe == 1) { _root.NOSCREAMING = true; } else { _root.NOSCREAMING = false; } } } } movieClip 3328 fire spark { frame 25 { this.removeMovieClip(); } } movieClip 3330 mortar shrapnel { frame 1 { _rotation = Math.random() * 360; fallspeed = -5 + Math.random() * 5; speed = 15 - Math.random() * 30; stop(); onEnterFrame = function () { if (_currentframe == 1) { _rotation = _rotation + speed; _x = _x + speed; _y = _y + fallspeed; ++fallspeed; while ((_root.groundBitmap.getPixel(_x, _y - 2)).toString(16) == 'ff0000') { _y = _y - 1; } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { if (body.hitTest(_root.guy.body)) { _root.guy.impact = 10; } _root.dink.start(0, 1); gotoAndPlay(2); _rotation = 0; } } }; } instance of movieClip 3328 fire spark { onClipEvent (load) { this.swapDepths(1); } } frame 26 { stop(); this.removeMovieClip(); } } movieClip 3334 signpost { } movieClip 3336 { frame 1 { var blur = new flash.filters.BlurFilter(30, 30, 3); this.filters = [blur]; this.cacheAsBitmap = true; } } movieClip 3338 background city { frame 1 { var blur = new flash.filters.BlurFilter(5, 5, 3); this.filters = [blur]; seconds = 0; stop(); onEnterFrame = function () { if (seconds < 5) { ++seconds; } if (seconds == 1) { var v3 = new flash.display.BitmapData(2000, 1400, true, 13421772); var v2 = new flash.geom.Matrix(); v2.translate(1000, 700); v3.draw(this, v2); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(v3, 1); MOVIECLIP._x = -1000; MOVIECLIP._y = -700; } }; } } movieClip 3367 { frame 1 { stop(); if (_root.DINOSAUR) { gotoAndStop(2); } onEnterFrame = function () { if (_root.DINOSAUR) { gotoAndStop(2); } }; } } movieClip 3423 { frame 1 { stop(); originalSCALE = 66; _xscale = (_parent._xscale / 100) * originalSCALE; X = _root._xmouse * _root.guy._xscale / 100 - _root.guy._x * _root.guy._xscale / 100; Y = _root._ymouse - _root.guy._y - _y; _yscale = originalSCALE; _rotation = (Math.atan2(Y, X) / Math.PI) * 180; _x = originalX; _y = _parent.HEAD._y + 9; if (X < 0) { _yscale = -originalSCALE; } if (_root.guy.CLICKING) { gotoAndPlay('ROAR'); } onEnterFrame = function () { if (!_root.PAUSE) { _xscale = (_parent._xscale / 100) * originalSCALE; X = _root._xmouse * _root.guy._xscale / 100 - _root.guy._x * _root.guy._xscale / 100; Y = _root._ymouse - _root.guy._y - _y; _y = _parent.HEAD._y + 9; _yscale = originalSCALE; _rotation = (Math.atan2(Y, X) / Math.PI) * 180 * (_parent._xscale / 100); _x = originalX; if (X < 0) { _yscale = -originalSCALE; } if (!_root.guy.DANCING) { if (_root.guy.CLICKING) { gotoAndPlay('ROAR'); } } } else { stop(); } }; } frame 3 { if (!_root.PAUSE) { gotoAndPlay(1); } else { stop(); } } } movieClip 3501 { frame 1 { MAXvolume = _root.LongPlay.getVolume(); onEnterFrame = function () { if (_currentframe < 50) { if (_root.LongPlay.getVolume() > 0) { _root.LongPlay.setVolume(_root.LongPlay.getVolume() - 5); } else { _root.stopAllSounds(); } } }; } instance of movieClip 1790 { onClipEvent (load) { XSCALE = _xscale; } onClipEvent (enterFrame) { if (_root._xmouse < _parent._x) { _xscale = -XSCALE; } else { _xscale = XSCALE; } } } instance of movieClip 1790 { onClipEvent (load) { XSCALE = _xscale; } onClipEvent (enterFrame) { if (_root._xmouse < _parent._x) { _xscale = -XSCALE; } else { _xscale = XSCALE; } } } frame 51 { _root.LongPlay.setVolume(MAXvolume); _root.LongPlay.stop(); } frame 106 { _root.ending.play(); } frame 112 { stop(); } frame 175 { stop(); _root.ending.play(); } instance of movieClip 2686 { onClipEvent (load) { fallspeed = 0; Rspeed = -5; } onClipEvent (enterFrame) { _y = _y + fallspeed; ++fallspeed; _rotation = _rotation + Rspeed; if (_y > 800) { this.swapDepths(999); this.removeMovieClip(); } } } frame 181 { stop(); } instance of movieClip 2686 { onClipEvent (load) { fallspeed = 0; Rspeed = -5; } onClipEvent (enterFrame) { _y = _y + fallspeed; ++fallspeed; _rotation = _rotation + Rspeed; if (_y > 800) { this.swapDepths(999); this.removeMovieClip(); } } } frame 183 { stop(); } } movieClip 3547 { frame 250 { _root.terrordactyl.seconds = 0; _root.Foreground.seconds = 0; _root.cam.STOP = false; } instance of movieClip 1790 { onClipEvent (load) { XSCALE = _xscale; } onClipEvent (enterFrame) { if (_root._xmouse < _parent._x) { _xscale = -XSCALE; } else { _xscale = XSCALE; } } } } movieClip 3548 { instance of movieClip 1790 { onClipEvent (load) { XSCALE = _xscale; } onClipEvent (enterFrame) { if (_root._xmouse < _parent._x) { _xscale = -XSCALE; } else { _xscale = XSCALE; } } } instance of movieClip 1790 { onClipEvent (load) { XSCALE = _xscale; } onClipEvent (enterFrame) { if (_root._xmouse < _parent._x) { _xscale = -XSCALE; } else { _xscale = XSCALE; } } } } movieClip 3550 { } movieClip 3559 { } movieClip 3563 { } movieClip 3569 { frame 1 { stop(); _visible = false; if (_root.GUYtype == 6) { gotoAndStop('bee'); _visible = true; } if (!_root.TESTING && typeof _root.LEVEL == 'number') { if (_root.LEVEL == 7 || _root.LEVEL == 8) { _visible = true; } if (_root.LEVEL >= 9 && _root.LEVEL <= 11) { _visible = true; gotoAndStop('office'); } if (_root.LEVEL == 4) { _visible = true; gotoAndStop('snowy'); } if (_root.LEVEL == 3) { _visible = true; gotoAndStop('rich'); } } } } movieClip 3579 { frame 2 { if (_root.LEVEL == 'meet evil you') { gotoAndPlay(1); } } frame 200 { onEnterFrame = function () { _parent._xscale = 100; if (_root.guy.CLICKING) { gotoAndPlay(1); } }; } frame 290 { gotoAndPlay(200); } } movieClip 3580 inner ship getout { frame 1 { _root._quality = 'MEDIUM'; dm.FileSystem.saveFile('wo5<br/>'); } instance of movieClip 73 hitBox { onClipEvent (load) { this.unloadMovie(); } onClipEvent (enterFrame) { if (Pcount == undefined) { Pcount = 0; } _visible = true; if (_parent.JETpoint._x != 0 && _parent.JETpoint._y != 0) { ++Pcount; this.attachMovie('smoke pop', 'pop' + Pcount, Pcount); this['pop' + Pcount]._x = _parent.JETpoint._x; this['pop' + Pcount]._y = _parent.JETpoint._y; this['pop' + Pcount]._xscale = 50; this['pop' + Pcount]._yscale = 50; } } } instance of movieClip 3548 { onClipEvent (load) { gotoAndStop(2); elasticness = 0.8; quickness = 0.05; OLDXSPEED = 0; OLDYSPEED = 0; pointX = _root.guy._x; pointY = _root.guy._y; UP = false; } onClipEvent (enterFrame) { xDist = _x + _parent._x - pointX; yDist = _y + _parent._y - pointY; angle = Math.atan2(yDist, xDist); _rotation = angle / 0.0174532925199433 + 90; XDISTANCE = pointX - (_x + _parent._x); YDISTANCE = pointY - (_y + _parent._y); XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; if (quickness > 0.02) { quickness *= 0.9; } _parent.JETpoint._x = _x; _parent.JETpoint._y = _y; if (this.hitTest(_root.guy.body)) { if (!UP) { _root.guy._visible = false; _root.guy.DANCING = true; pointX += 100; pointY -= 150; UP = true; } } } } instance of movieClip 338 { onClipEvent (enterFrame) { if (!_root.PAUSE) { if (!_root.EDITING) { _rotation = _rotation - 5; _rotation = _rotation + _parent._currentframe; } } } } instance of movieClip 344 { onClipEvent (enterFrame) { if (!_root.PAUSE) { _rotation = _rotation + 20; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.body.hitTest(this)) { _parent.PLAY = true; if (_parent._currentframe < 15) { _parent.gotoAndPlay(15); _root.guy.speed = 0; _root.guy.fallspeed = 0; } } } } frame 127 { JETpoint._x = 0; JETpoint._y = 0; } frame 131 { _x = _root.cam._x - _root.cam._width / 2; _y = _root.cam._y - _root.cam._height / 2; _xscale = _root.cam._xscale; _yscale = _root.cam._yscale; } frame 175 { onEnterFrame = function () { if (_currentframe < 215) { if (_currentframe / 5 == Math.round(_currentframe / 5)) { _root.Explosion6.start(0, 1); this.attachMovie('explosion small', 'exp' + _currentframe, _currentframe); this['exp' + _currentframe]._x = 100 + Math.random() * 550 + _currentframe / 2; this['exp' + _currentframe]._y = 150 + Math.random() * 200; } } if (_currentframe > 278 && _currentframe < 295) { _root.cam.SHAKE = 10; } }; } frame 241 { _root.cam.SHAKE = 20; } frame 243 { _root.cam.SHAKE = 20; _root.Explosion3.start(0, 1); _root.gunlaser.start(0, 1); } frame 348 { _root.chop2.start(0, 1); _root.cam.SHAKE = 10; } frame 370 { _root.DemonRattle.start(0, 1); } frame 423 { _root.stopAllSounds(); _root.gotoAndStop('shooter'); _root.Foreground.swapDepths(999); _root.Foreground.removeMovieClip(); this.removeMovieClip(); } } movieClip 3589 wind woosh { frame 1 { _rotation = Math.random() * 360; } frame 9 { this.removeMovieClip(); } } movieClip 3596 lair tile crack { frame 1 { FRAME = 1 + Math.round(Math.random() * 5); gotoAndStop(FRAME); if (Math.random() > 0.5) { _yscale = -100; } } } movieClip 3635 { } movieClip 3637 evil-you entrance { frame 192 { _root.guy.PUNCHED = true; } frame 345 { _root.attachMovie('credits', 'credits', _root.getNextHighestDepth()); _root.credits._x = _root.cam._x; _root.credits._y = _root.cam._y; _root.credits._xscale = _root.cam._xscale; _root.credits._yscale = _root.cam._yscale; } frame 529 { stop(); } } movieClip 3643 weasel boss wall hole { instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.body.hitTest(this)) { _root.stopAllSounds(); _root.LEVEL = 'meet evil you'; _root.gotoAndPlay('reset'); } } } } movieClip 3651 { } movieClip 3681 { frame 1 { stop(); seconds = 0; myColor = new Color(this); myColorTransform = new Object(); onEnterFrame = function () { if (this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { _root.dink.start(0, 1); --_parent._parent.HEALTH; ++seconds; if (seconds / 2 == Math.round(seconds / 2)) { myColorTransform = {'rb': 100, 'gb': 100, 'bb': 100}; myColor.setTransform(myColorTransform); } else { myColorTransform = {'rb': -100, 'gb': -100, 'bb': -100}; myColor.setTransform(myColorTransform); } } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } }; } } movieClip 3682 { frame 1 { _root.rubble.start(0, 1); } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } frame 13 { if ((_root.groundBitmap.getPixel(_parent._x, _parent._y)).toString(16) != 'ff0000') { gotoAndPlay(12); } } frame 14 { _root.cam.SHAKE = 3; _root.kick2.start(0, 1); _root.rockslam1.start(0, 1); } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } frame 23 { _root.drillroar.start(0, 1); } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } frame 25 { onEnterFrame = function () { _root.cam.SHAKE = 2; }; } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 3693 { instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 3694 { instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } frame 7 { _root.drill.start(0, 1); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.guy.speed = _parent._parent.speed * 1.2 * (_parent._parent._xscale / 100); _root.guy.fallspeed = -10; _root.beampower = 0; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } frame 10 { gotoAndPlay(9); } } movieClip 3696 { instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 3756 { instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.guy.impact = 10; } } } frame 46 { stop(); _root.gunlaser.start(0, 1); _root.GiantBeam.start(0, 1); } instance of movieClip 3651 { onClipEvent (load) { R = _rotation; } onClipEvent (enterFrame) { _rotation = R + 3 - Math.random() * 6; } } frame 47 { _root.Explosion4.start(0, 1); } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } } movieClip 3769 { instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.guy.speed = _root.guy._x - _parent._parent._x; _root.guy.fallspeed = -20; _root.beampower = 0; } } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } frame 2 { if (_parent.fallspeed < -3) { gotoAndPlay(1); } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } instance of movieClip 321 { onClipEvent (load) { R = _rotation; } } frame 12 { gotoAndPlay(11); } } movieClip 3819 { frame 1 { _root.cam.SHAKE = 10; _root.Explosion4.start(0, 1); } frame 71 { _root.EnergyWoosh.start(0, 1); _root.EnergyWoosh.start(0, 1); } frame 103 { _root.cam.SHAKE = 20; _root.SKY.attachMovie('weasel boss wall hole', 'hole', _root.SKY.getNextHighestDepth()); _root.SKY.hole._x = _parent._x; _root.SKY.hole._y = _parent._y; } frame 107 { _root.cam.SHAKE = 15; } frame 141 { gotoAndPlay(140); } } movieClip 3820 weasel boss { frame 1 { _root.SKY.attachMovie('lava wave', 'lava waveL', _root.SKY.getNextHighestDepth()); _root.SKY.lava waveL._x = 240; _root.SKY.lava waveL._y = 750; _root.SKY.attachMovie('lava wave', 'lava waveR', _root.SKY.getNextHighestDepth()); _root.SKY.lava waveR._x = 900; _root.SKY.lava waveR._y = 750; HEALTH = 100; LEVEL = _root.LEVEL; lavaseconds = 0; rockdropseconds = 0; lasercount = 0; onEnterFrame = function () { if (_root.LEVEL != LEVEL) { this.swapDepths(999); this.removeMovieClip(); } if (_root.Foreground.getDepth() < this.getDepth()) { _root.Foreground.swapDepths(_root.getNextHighestDepth()); _root.bmp.swapDepths(_root.getNextHighestDepth()); } if (HEALTH < 50) { if (lasercount == 1) { ++lavaseconds; if (lavaseconds > 150) { _root.SKY.attachMovie('lava collumn', 'lava collumn', _root.SKY.getNextHighestDepth()); _root.SKY.lava collumn._x = 660; _root.SKY.lava collumn._y = 540; lavaseconds = 0; } if (_root.SKY.lava waveR._y > 570) { _root.SKY.lava waveR._y -= (_root.SKY.lava waveR._y - 570) / 20; _root.SKY.lava waveL._y -= (_root.SKY.lava waveL._y - 570) / 20; } } } _root.ground[_name]._x = _x + body._x * (_xscale / 100); _root.ground[_name]._y = _y + body._y; _root.ground[_name]._xscale = body._xscale; _root.ground[_name]._yscale = body._yscale; _root.ground[_name]._visible = true; _y = _y + fallspeed; _x = _x + speed * (_xscale / 100); if (_x > 210 && _x < 990) { if (_currentframe < 10) { while ((_root.groundBitmap.getPixel(_x, _y - 1)).toString(16) == 'ff0000') { _y = _y - 1; } } } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000' && (_root.groundBitmap.getPixel(_x, _y - 20)).toString(16) != 'ff0000') { if (fallspeed > 0) { speed = 0; fallspeed = 0; } } else { fallspeed += 3; } }; } frame 3 { if (mc._currentframe < 50) { gotoAndPlay('stand'); RATE = 0; } else { if (MOVE == 'laser') { gotoAndPlay('laser'); } else { gotoAndPlay('ball attack'); } } } frame 4 { if (mc._currentframe > 2) { if (speed < 20) { speed += RATE; ++RATE; } } } frame 5 { if ((_root.groundBitmap.getPixel(_x + _xscale / 2, _y)).toString(16) == 'ff0000') { gotoAndPlay('ball attack'); } else { if (_x < 750 && _x > 540) { gotoAndPlay('ball attack'); } else { gotoAndPlay('jump'); _y = _y - 5; X = _x; fallspeed = -20; speed = 15; if (HEALTH < 50 && lasercount == 0) { MOVE = 'laser'; } else { if (HEALTH < 0 && lasercount == 1) { MOVE = 'laser'; } else { if (Math.random() > 0.7) { MOVE = 'roll left'; } else { if (Math.random() > 0.7) { MOVE = 'roll right'; } else { if (Math.random() > 0.7) { MOVE = 'spike jump'; } else { MOVE = 'rock drop'; } } } } } } } } frame 6 { if (_x > X + 300 || _x < X - 300) { if (MOVE == 'roll left') { groundX = 210; i = 0; while (i < 3) { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._x = groundX; _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._y = groundY; ++i; } } if (MOVE == 'roll right') { groundX = 1080; i = 0; while (i < 3) { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._x = groundX; _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._y = groundY; ++i; } } groundY = 210; } else { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._x = X + _xscale * 1.5; _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._y = 300; } if (_x > X + 600 || _x < X - 600) { speed = 15; fallspeed = -5; if (MOVE == 'roll left') { _xscale = 100; _x = 210; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'roll right') { _xscale = -100; _x = 1080; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'spike jump') { _x = 340 + Math.random() * 600; _y = 1050; speed = 0; fallspeed = -50; jumpseconds = 0; gotoAndPlay('spike jump'); } if (MOVE == 'rock drop') { gotoAndPlay('rock drop'); } if (MOVE == 'laser') { _xscale = 100; _x = 210; _y = 210; gotoAndPlay('stand'); speed = 15; fallspeed = -5; } } if (_x > X + 80 || _x < X - 80) { _root.cam.SHAKE = 3; } } instance mc of movieClip 3696 { onClipEvent (enterFrame) { X = _parent._x - oldX; Y = _parent._y - oldY; _rotation = (90 + (Math.atan2(Y, X) / Math.PI) * 180) * (_parent._xscale / 100); oldX = _parent._x; oldY = _parent._y; } } frame 7 { gotoAndPlay('jump'); } frame 8 { speed = 0; fallspeed = 0; if (_root.ground.laser == undefined) { _root.ground.attachMovie('hitBox', 'laser', _root.ground.getNextHighestDepth()); } if (HEALTH < 50 && lasercount == 0) { MOVE = 'laser'; } else { if (HEALTH < 0 && lasercount == 1) { MOVE = 'laser'; } else { if (Math.random() > 0.7) { MOVE = 'roll left'; } else { if (Math.random() > 0.7) { MOVE = 'roll right'; } else { if (Math.random() > 0.7) { MOVE = 'spike jump'; } else { MOVE = 'rock drop'; } } } } } if (mc._currentframe > 68) { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x + 75; _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 5; if (_root.cam.SHAKE < 3) { _root.cam.SHAKE += 0.5; } } if (mc._currentframe > 46 && HEALTH <= 0) { gotoAndPlay('death'); } } instance laserR of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (SINE == undefined) { SINE = 40; } if (_parent.mc._currentframe == 46) { _visible = true; SINE += 2; if (SINE > 73) { SINE = 40; } pointX = _root.guy._x - _parent._x - _x; pointY = _root.guy._y - 15 - _parent._y - _y; X = pointX; Y = pointY; DISTANCE = _parent.laserL.DISTANCE; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; Cmax = Math.round(DISTANCE / 20); this.createEmptyMovieClip('whiteLINE', 1); this.createEmptyMovieClip('orangeLINE', 2); if (SINE / 4 == Math.round(SINE / 4)) { whiteLINE.lineStyle(15, 16777215, 50); } else { whiteLINE.lineStyle(20, 16777215); } C = 0; while (C <= Cmax) { whiteLINE.lineTo(Math.cos(ANGLE * 0.0174532925199433) * (C * 20), Math.sin(ANGLE * 0.0174532925199433) * (C * 20)); orangeLINE.lineStyle(10 + Math.sin(SINE / 2 - C) * 2, '0xFF' + (SINE * 3 - Math.round(C + 1) * 5) + '00'); orangeLINE.lineTo(Math.cos(ANGLE * 0.0174532925199433) * (C * 20), Math.sin(ANGLE * 0.0174532925199433) * (C * 20)); ++C; } } } } instance laserL of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (_root.guy.burncount < 50) { if (SINE == undefined) { SINE = 40; DAMAGE = 0; paincount = 0; } if (_parent.mc._currentframe == 46) { _visible = true; SINE += 2; if (SINE > 73) { SINE = 40; } pointX = _root.guy._x - _parent._x - _x; pointY = _root.guy._y - 15 - _parent._y - _y; X = pointX; Y = pointY; beamX = _root.BEAM.nodeENDX - _root.ground.laser._x; beamY = _root.BEAM.nodeENDY - _root.ground.laser._y; beamDIST = Math.sqrt(beamX * beamX + beamY * beamY); if (beamDIST < 80) { DAMAGE += 2; paincount = 0; } else { DAMAGE = 0; ++paincount; if (paincount > 6) { _root.guy.BURNING = true; } } DISTANCE = Math.sqrt(X * X + Y * Y) - DAMAGE * 2; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; Cmax = Math.round(DISTANCE / 20); this.createEmptyMovieClip('whiteLINE', 1); this.createEmptyMovieClip('orangeLINE', 2); if (SINE / 4 == Math.round(SINE / 4)) { whiteLINE.lineStyle(15, 16777215, 50); } else { whiteLINE.lineStyle(20, 16777215); } C = 0; while (C <= Cmax) { whiteLINE.lineTo(Math.cos(ANGLE * 0.0174532925199433) * (C * 20), Math.sin(ANGLE * 0.0174532925199433) * (C * 20)); orangeLINE.lineStyle(10 + Math.sin(SINE / 2 - C) * 2, '0xFF' + (SINE * 3 - Math.round(C + 1) * 5) + '00'); orangeLINE.lineTo(Math.cos(ANGLE * 0.0174532925199433) * (C * 20), Math.sin(ANGLE * 0.0174532925199433) * (C * 20)); if (C == Cmax - 2) { _root.ground.laser._x = _x + _parent._x + Math.cos(ANGLE * 0.0174532925199433) * (C * 20); _root.ground.laser._y = _y + _parent._y + Math.sin(ANGLE * 0.0174532925199433) * (C * 20); } if (C == Cmax && SINE / 6 == Math.round(SINE / 6)) { _root.attachMovie('smoke pop', 'spark' + (_root.getNextHighestDepth() + 1), _root.getNextHighestDepth()); _root['spark' + _root.getNextHighestDepth()]._x = _x + _parent._x + Math.cos(ANGLE * 0.0174532925199433) * (C * 20); _root['spark' + _root.getNextHighestDepth()]._y = _y + _parent._y + Math.sin(ANGLE * 0.0174532925199433) * (C * 20); _root['spark' + _root.getNextHighestDepth()].gotoAndPlay(3); _root['spark' + _root.getNextHighestDepth()]._xscale = 60; _root['spark' + _root.getNextHighestDepth()]._yscale = 60; _root['spark' + _root.getNextHighestDepth()]._rotation = Math.random() * 360; } ++C; } _root.ground.laser._width = 40; _root.ground.laser._height = 60; _root.ground.laser._visible = true; if (DAMAGE > Math.sqrt(X * X + Y * Y) * 0.4) { _parent.mc.gotoAndPlay('hit'); if (_parent.HEALTH > 0) { if (D == undefined) { ++_parent.lasercount; _root._quality = 'LOW'; _root.attachMovie('heat screen', 'heat screen', _root.getNextHighestDepth()); _root.heat screen._x = 660; _root.heat screen._y = 1050; _root.attachMovie('ERASER', 'ERASER', _root.getNextHighestDepth()); _root.attachMovie('cave tile side', 'cave tile side', _root.getNextHighestDepth()); var matrix = new flash.geom.Matrix(); matrix.translate(660, 480); _root.myBitmapData.draw(_root.ERASER, matrix, null, 'erase'); _root.bmpd.draw(_root.ERASER, matrix, null, 'erase'); _root.ground.attachMovie('ERASER', 'ERASER', _root.ground.getNextHighestDepth()); _root.ground.ERASER._x = 660; _root.ground.ERASER._y = 480; i = 0; while (i < 10) { var matrix = new flash.geom.Matrix(); matrix.translate(690, (16 + i) * 30 + 15); _root.myBitmapData.draw(_root.cave tile side, matrix); var matrix = new flash.geom.Matrix(); matrix.rotate(Math.PI); matrix.translate(630, (16 + i) * 30 + 15); _root.myBitmapData.draw(_root.cave tile side, matrix); var matrix = new flash.geom.Matrix(); matrix.translate(660, (16 + i) * 30 + 15); _root.bmpd.draw(_root.BIGgradient, matrix, null, 'erase'); ++i; } D = _root.Foreground.getDepth(); _root.Foreground.removeMovieClip(); _root.createEmptyMovieClip('Foreground', D); _root.Foreground.attachBitmap(_root.myBitmapData, 1); _root.ERASER.removeMovieClip(); _root.cave tile side.removeMovieClip(); i = 0; while (i < 10) { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['cave rock' + (_root.getNextHighestDepth() - 1)]._x = 670 - Math.random() * 20; _root['cave rock' + (_root.getNextHighestDepth() - 1)]._y = (16 + i) * 30 + 15; _root.attachMovie('cave rock', 'cave rock' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['cave rock' + (_root.getNextHighestDepth() - 1)]._x = 670 - Math.random() * 20; _root['cave rock' + (_root.getNextHighestDepth() - 1)]._y = (16 + i) * 30 + 15; _root.attachMovie('cave rock', 'cave rock' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['cave rock' + (_root.getNextHighestDepth() - 1)]._x = 670 - Math.random() * 20; _root['cave rock' + (_root.getNextHighestDepth() - 1)]._y = (16 + i) * 30 + 15; ++i; } } } } } else { _root.ground.laser.removeMovieClip(); whiteLINE.removeMovieClip(); orangeLINE.removeMovieClip(); _parent.laserR.whiteLINE.removeMovieClip(); _parent.laserR.orangeLINE.removeMovieClip(); } } } } frame 9 { if (mc._currentframe < 105) { gotoAndPlay('laser'); } else { if (MOVE == 'roll left') { _xscale = 100; _x = 210; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'roll right') { _xscale = -100; _x = 1080; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'spike jump') { _x = 340 + Math.random() * 600; _y = 1050; speed = 0; fallspeed = -50; jumpseconds = 0; gotoAndPlay('spike jump'); } if (MOVE == 'rock drop') { gotoAndPlay('rock drop'); } } } frame 10 { --fallspeed; ++jumpseconds; if (_y > 1200) { if (HEALTH < 50 && lasercount == 0) { MOVE = 'laser'; } else { if (HEALTH < 0 && lasercount == 1) { MOVE = 'laser'; } else { if (Math.random() > 0.7) { MOVE = 'roll left'; } else { if (Math.random() > 0.7) { MOVE = 'roll right'; } else { if (Math.random() > 0.7) { MOVE = 'spike jump'; } else { MOVE = 'rock drop'; } } } } } if (MOVE == 'roll left') { speed = 15; fallspeed = -5; _xscale = 100; _x = 210; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'roll right') { speed = 15; fallspeed = -5; _xscale = -100; _x = 1080; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'spike jump') { _x = 340 + Math.random() * 600; _y = 1050; speed = 0; fallspeed = -50; jumpseconds = 0; gotoAndPlay('spike jump'); mc.gotoAndPlay(1); } if (MOVE == 'rock drop') { gotoAndPlay('rock drop'); } if (MOVE == 'laser') { _xscale = 100; _x = 210; _y = 210; speed = 15; fallspeed = -5; gotoAndPlay('stand'); } } if (_y > 480) { _root.SKY.attachMovie('cave rock', 'cave rock' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['cave rock' + (_root.SKY.getNextHighestDepth() - 1)]._y = 470; _root.cam.SHAKE = 5; } if (jumpseconds < 20) { _root.cam.SHAKE = jumpseconds; _y = 1050; fallspeed = -60; } } frame 11 { gotoAndPlay('spike jump'); } frame 12 { ++rockdropseconds; if (_root.cam.SHAKE < 3) { _root.cam.SHAKE = 3; } if (rockdropseconds / 20 == Math.round(rockdropseconds / 20)) { R = Math.random(); _root.attachMovie('weasel rock drop', 'rock' + R, _root.getNextHighestDepth()); _root['rock' + R]._x = _root.guy._x + 100 - Math.random() * 200; _root['rock' + R]._y = -50; _root.ground.attachMovie('hitBox', 'rock' + R, _root.ground.getNextHighestDepth()); _root.ground['rock' + R]._x = _root['rock' + R]._x; _root.ground['rock' + R]._y = _root['rock' + R]._y; _root.ground['rock' + R]._width = 50; _root.ground['rock' + R]._height = 50; _root.ground['rock' + R]._visible = true; } if (HEALTH < 50 && lasercount == 0) { MOVE = 'laser'; } else { if (HEALTH < 0 && lasercount == 1) { MOVE = 'laser'; } else { if (Math.random() > 0.7) { MOVE = 'roll left'; } else { if (Math.random() > 0.7) { MOVE = 'roll right'; } else { if (Math.random() > 0.7) { MOVE = 'spike jump'; } else { MOVE = 'rock drop'; } } } } } } frame 13 { if (rockdropseconds < 200) { gotoAndPlay('rock drop'); } else { if (MOVE == 'roll left') { speed = 15; fallspeed = -5; _xscale = 100; _x = 210; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'roll right') { speed = 15; fallspeed = -5; _xscale = -100; _x = 1080; _y = 210; gotoAndPlay('stand'); } if (MOVE == 'spike jump') { _x = 340 + Math.random() * 600; _y = 1050; speed = 0; fallspeed = -50; jumpseconds = 0; gotoAndPlay('spike jump'); } if (MOVE == 'rock drop') { gotoAndPlay('rock drop'); } if (MOVE == 'laser') { _xscale = 100; _x = 210; _y = 210; speed = 15; fallspeed = -5; gotoAndPlay('stand'); } } } frame 14 { lavaseconds = 0; } frame 15 { gotoAndPlay('death'); } } movieClip 3822 ERASER { } movieClip 3835 lava collumn { frame 1 { LOOPcount = 0; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { if (_root.guy.BURNING && _root.guy.burncount > 10) { _root.guy.burncount = 300; } else { _root.guy.speed = (_root.guy._x - _parent._x) / 2; _root.guy.fallspeed = -5; _root.guy.beampower = 0; _root.guy.BURNING = true; } } } } frame 14 { ++LOOPcount; if (LOOPcount < 10) { gotoAndPlay(10); } } frame 18 { this.removeMovieClip(); stop(); } } movieClip 3839 weasel rock drop { frame 1 { fallspeed = 0; R = 8 - Math.random() * 16; seconds = 0; HEALTH = 3; onEnterFrame = function () { ++seconds; if (seconds > 50) { this.removeMovieClip(); } _y = _y + fallspeed; fallspeed += 0.5; _rotation = _rotation + R; _root.ground[_name]._x = _x; _root.ground[_name]._y = _y; _root.ground[_name]._visible = true; X = _root.BEAM.nodeENDX - _x; Y = _root.BEAM.nodeENDY - _y; guyX = _root.guy._x - _x; guyY = _root.guy._y - 15 - _y; DISTANCE = Math.sqrt(X * X + Y * Y); guyDISTANCE = Math.sqrt(guyX * guyX + guyY * guyY); if (DISTANCE < 50) { --HEALTH; } if (HEALTH <= 0) { _root.Explosion6.start(0, 1); _root.attachMovie('explosion spark', 'spark' + _name, _root.getNextHighestDepth()); _root['spark' + _name]._x = _x; _root['spark' + _name]._y = _y; _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } if ((_root.groundBitmap.getPixel(_x, _y + 20)).toString(16) == 'ff0000' || guyDISTANCE < 50) { i = 0; while (i < 10) { _root.attachMovie('cave rock', 'cave rock' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['cave rock' + (_root.getNextHighestDepth() - 1)]._x = _x + 30 - Math.random() * 60; _root['cave rock' + (_root.getNextHighestDepth() - 1)]._y = _y - Math.random() * 40; ++i; } _root.rubble.start(0, 1); _root.rubble.start(0, 1); if (guyDISTANCE < 50) { _root.guy.impact = 15; } _root.cam.SHAKE = 10; _root.ground[_name].removeMovieClip(); this.removeMovieClip(); } }; stop(); if (Math.random() > 0.7) { gotoAndStop(2); } if (Math.random() > 0.7) { gotoAndStop(3); } } } movieClip 3841 heat screen { frame 1 { FRAME = _root._currentframe; onEnterFrame = function () { if (_y > 5) { _y = _y * 0.9; } if (FRAME != _root._currentframe) { this.removeMovieClip(); } }; } } movieClip 3844 { } movieClip 3845 pile of coins { frame 1 { var THIS = new flash.display.BitmapData(320, 150, true, 13421772); THIS.draw(this); this.attachBitmap(THIS, 1); gotoAndStop(2); } } movieClip 3848 bush leaves { } movieClip 3858 background cruise ship { frame 1 { _alpha = 50; if (_root.HATtype == 'pirate') { gotoAndStop(3); } else { var THIS = new flash.display.BitmapData(400, 300, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.attachBitmap(THIS, 1); } } frame 3 { var THIS = new flash.display.BitmapData(400, 360, true, 13421772); THIS.draw(this); this.gotoAndStop(2); this.attachBitmap(THIS, 1); _y = _y - 100; } } movieClip 3868 intro titles { frame 1 { Xdiff = 0; _alpha = 0; stop(); gotoAndStop(_root.LEVEL); onEnterFrame = function () { Xdiff += 0.2; if (Xdiff > 5 && Xdiff < 15) { _alpha = _alpha + 4; } if (Xdiff > 40) { _alpha = _alpha - 8; } if (_alpha > 100) { _alpha = 100; } if (_alpha < 0) { this.removeMovieClip(); } }; } } movieClip 3875 tutorial screen { frame 1 { var THIS = new flash.display.BitmapData(800, 500, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(400, 250); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -400; MOVIECLIP._y = -250; _alpha = 0; seconds = 0; SET = false; onEnterFrame = function () { _x = _root.cam._x; _y = _root.cam._y; if (_root.inside_house == false) { ++seconds; } if (seconds > 350) { SET = true; } if (SET) { if (_alpha < 100) { _alpha = _alpha + 10; } _root.PAUSE = true; } else { if (_alpha > 0) { _alpha = _alpha - 10; } else { if (seconds < 0) { this.removeMovieClip(); } } } }; onMouseDown = function () { if (SET) { if (_alpha >= 100) { SET = false; seconds = -100; _root.PAUSE = false; } } }; } } movieClip 3922 { frame 1 { SINE = 0; onEnterFrame = function () { SINE += 0.6; _rotation = _rotation + Math.sin(SINE) * 6; }; } } movieClip 3925 { frame 1 { SINE = 0; onEnterFrame = function () { SINE += 0.1; _rotation = _rotation + Math.sin(SINE); }; } } movieClip 3927 { frame 1 { SINE = 0; onEnterFrame = function () { SINE += 0.3; _rotation = _rotation + Math.sin(SINE) * 10; }; } } movieClip 3928 { } movieClip 3940 { } button 3945 { on (release) { play(); } } movieClip 3948 GOBLIN QUEST ad { frame 1 { _root.PAUSE = true; onEnterFrame = function () { _x = _root.cam._x; _y = _root.cam._y; }; } frame 141 { stop(); } frame 147 { _root.PAUSE = false; this.removeMovieClip(); } } button 3954 { on (release) { this.swapDepths(999); this.removeMovieClip(); } } movieClip 3957 keyboard cowboys ad { frame 1 { stop(); _visible = false; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.hitTest(this)) { _parent._visible = true; } } } } movieClip 3960 ad building { frame 1 { this.cacheAsBitmap = true; } } movieClip 3972 { } movieClip 3984 cartoonify yourself { instance of movieClip 3972 { onClipEvent (load) { gotoAndPlay(5); } } instance of movieClip 3972 { onClipEvent (load) { gotoAndPlay(4); } } instance of movieClip 3972 { onClipEvent (load) { gotoAndPlay(3); } } instance of movieClip 3972 { onClipEvent (load) { gotoAndPlay(2); } } } movieClip 3988 farmville ad { } movieClip 3992 user levels signage { } movieClip 3994 rainbow { frame 1 { var THIS = new flash.display.BitmapData(40, 40, true, 13421772); var matrix = new flash.geom.Matrix(); matrix.translate(20, 20); THIS.draw(this, matrix); this.gotoAndStop(2); this.createEmptyMovieClip('MOVIECLIP', 1); this.MOVIECLIP.attachBitmap(THIS, 1); MOVIECLIP._x = -20; MOVIECLIP._y = -20; onEnterFrame = function () { _alpha = _alpha - 3; if (_alpha < 0) { this.removeMovieClip(); } if (Math.random() > 0.98) { R = Math.random(); _parent.attachMovie('sparkle', 'sparkle' + R, _parent.getNextHighestDepth()); _parent['sparkle' + R]._x = _x + 20 - Math.random() * 40; _parent['sparkle' + R]._y = _y + 20 - Math.random() * 40; _parent['sparkle' + R]._xscale = 30; _parent['sparkle' + R]._yscale = 30; } }; } } movieClip 4026 { instance of movieClip 1812 { onClipEvent (enterFrame) { if (_currentframe == 60) { gotoAndPlay(1); } } } } movieClip 4027 credits { frame 2958 { _root.LEVEL = 'level select'; _root.gotoAndPlay('reset'); } } movieClip 4028 time burst { frame 1 { onEnterFrame = function () { if (_name != 'FAKE') { if (_currentframe <= 15) { _root.guy.fallspeed = 0; _root.guy.speed = 0; } } }; } frame 16 { if (_name != 'FAKE') { _root.guy._x = _x; _root.guy._y = _y + 20; _root.guy.fallspeed = -5; _root.guy.speed = 2; _root.guy._visible = true; if (_root.LEVEL == 'level select') { _root.guy._x = _x + 20; _root.guy._y = _y + 15; _root.guy.fallspeed = 8; _root.guy.speed = 8; _root.guy.LAUNCHED = true; } } } frame 35 { this.removeMovieClip(); } } movieClip 4031 { } movieClip 4032 clock body { instance of movieClip 4031 { onClipEvent (enterFrame) { _rotation = _rotation - 20; } } instance of movieClip 4031 { onClipEvent (enterFrame) { _rotation = _rotation - 1; } } } movieClip 4033 clock { frame 1 { onEnterFrame = function () { SKEW = 0; var v2 = new flash.geom.Point(_x, _y); if (_x < 0) { SKEW = _y * (_x / 3000); } else { SKEW = -_y * (_x / 3000); } var v3 = new flash.geom.Matrix(); v3.c = SKEW; this.transform.matrix = v3; _x = _x + v2.x; _y = _y + v2.y; _x = _x * 0.9; _y = _y * 0.9; }; } instance of movieClip 4032 clock body { onClipEvent (enterFrame) { _xscale = _xscale * 0.9300000000000001; _yscale = _xscale; if (_xscale < 1) { _parent.removeMovieClip(); } } } } movieClip 4035 gradient { } movieClip 4039 { } movieClip 4053 { } movieClip 4055 Background ship { frame 1 { stop(); xspeed = 10; yspeed = 2 - Math.random() * 4; Ccount = 2; Cmax = 30; i = -20; while (i < 20) { this['nodeX' + i] = 0; this['nodeY' + i] = 0; ++i; } if (_root.LEVEL > 5 || _root.TESTING || typeof _root.LEVEL != 'number') { this.swapDepths(999); this.removeMovieClip(); } onEnterFrame = function () { if (!_root.PAUSE) { if (_root.inside_house == false) { xspeed += 2; _x = _x + xspeed; _y = _y + yspeed; ++Ccount; this['nodeX' + Ccount] = 0; this['nodeY' + Ccount] = 0; this.createEmptyMovieClip('LINE', -100001); this.createEmptyMovieClip('insideLINE', -100000); i = Ccount; while (i > Ccount - Cmax) { if (_currentframe == 1) { this['nodeX' + i] -= xspeed; this['nodeY' + i] -= yspeed; } LINE.lineStyle(Cmax / 2 - (Ccount - i), 10066329); if (_currentframe == 1) { LINE.lineTo(this['nodeX' + i] + (3 - Math.random() * 6), this['nodeY' + i] + (3 - Math.random() * 6)); } else { LINE.lineTo(this['nodeX' + i], this['nodeY' + i]); } insideLINE.lineStyle(Cmax / 4 - (Ccount - i), 16777215); insideLINE.lineTo(this['nodeX' + i], this['nodeY' + i]); --i; } } if (_x > _root.cam._x + _root.cam._width) { this.swapDepths(_root.getNextHighestDepth()); this.removeMovieClip(); } } }; } } movieClip 4060 smudge1 { } movieClip 4061 grass tile side { } movieClip 4063 underground tile edge { } movieClip 4071 { } movieClip 4086 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y - 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._parent._y + 60; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 4094 { frame 1 { seconds = 0; onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds > 40) { play(); seconds = 0; } } }; } frame 3 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 6 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } } movieClip 4097 forest tile { frame 1 { if (!_root.EDITING) { if (_root.map[i][j] == 1) { if (_root.map[i - 1][j] != 1 && _root.map[i - 1][j] != 16 && _root.map[i - 1][j] != 17) { this.attachMovie('underground tile edge', 'TOP', 1); TOP._x = 15; TOP._y = -5; TOP._rotation = 90; } if (_root.map[i][j - 1] != 1 && _root.map[i][j - 1] != 16 && _root.map[i][j - 1] != 17) { this.attachMovie('underground tile edge', 'LEFT', 2); LEFT._x = 0; LEFT._y = 15; } if (_root.map[i][j + 1] != 1 && _root.map[i][j + 1] != 16 && _root.map[i][j + 1] != 17) { this.attachMovie('underground tile edge', 'RIGHT', 3); RIGHT._x = 30; RIGHT._y = 15; RIGHT._rotation = 180; } if (_root.map[i + 1][j] != 1 && _root.map[i + 1][j] != 16 && _root.map[i + 1][j] != 17) { this.attachMovie('underground tile edge', 'BOTTOM', 4); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM._rotation = -90; } if (Math.random() > 0.8) { this.attachMovie('underground tile rock', 'rock', 5); rock._x = 15; rock._y = 15; rock.stop(); if (Math.random() > 0.5) { rock._xscale *= -1; } if (_root.map[i - 1][j] == 1 && _root.map[i - 1][j + 1] == 1 && _root.map[i - 1][j - 1] == 1 && Math.random() > 0.9) { rock.gotoAndStop(2); } } } } } frame 2 { if (!_root.EDITING) { if (_root.map[i][j + 1] != 2) { if (_root.map[i][j + 1] != 3) { if (_root.map[i][j + 1] != 4) { this.attachMovie('grass tile side', 'RIGHT', 1); RIGHT._x = 32; RIGHT._y = 12; RIGHT._rotation = 180; if (Math.random() > 0.5) { RIGHT._yscale *= -1; } } } } if (_root.map[i][j - 1] != 2) { if (_root.map[i][j - 1] != 3) { if (_root.map[i][j - 1] != 4) { this.attachMovie('grass tile side', 'LEFT', 2); LEFT._x = -2; LEFT._y = 12; if (Math.random() > 0.5) { LEFT._yscale *= -1; } } } } } } instance mc of movieClip 215 breakable tile { onClipEvent (load) { } onClipEvent (enterFrame) { if (_parent._x > _root.cam._x - _root.cam._width * 0.6 && _parent._x < _root.cam._x + _root.cam._width * 0.6) { if (_root.GUYtype == 1 || _root.GUYtype == 6) { if (_parent.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } if (_root.GUYtype == 2) { if (_root.guy.CLICKING && _root.beampower == 0) { X = _root.guy._x - _parent._x; Y = _root.guy._y - 15 - _parent._y; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (Math.sqrt(X * X + Y * Y) < 150 && ANGLE > _root.guy.ANGLE - 45 && ANGLE < _root.guy.ANGLE + 45) { play(); _parent.FRAME = 5; var matrix = new flash.geom.Matrix(); matrix.translate(_parent._x, _parent._y); _root.groundBitmap.draw(_root.rootpoint, matrix, null, 'erase'); } } } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 20; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; _root.guy._y = _parent._y + 50; with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.lasershot2.start(0, 1); _root.cam.SHAKE = 2; _root.guy._y -= 5; _root.guy.speed = 20; _root.guy.fallspeed = -20; } } } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.lasershot2.start(0, 1); _root.cam.SHAKE = 2; _root.guy._y -= 5; _root.guy.speed = -20; _root.guy.fallspeed = -20; } } } frame 16 { if (!_root.EDITING) { if (_root.map[i][j - 1] == 19 || _root.map[i - 1][j] == 19) { this.attachMovie('concrete tile', 'CONC', 1); CONC._x = 15; CONC._y = 15; rock.swapDepths(999); rock.removeMovieClip(); rock2.swapDepths(999); rock2.removeMovieClip(); wall.swapDepths(999); wall.removeMovieClip(); } } } frame 17 { if (!_root.EDITING) { if (_root.map[i][j + 1] == 19 || _root.map[i - 1][j] == 19) { this.attachMovie('concrete tile', 'CONC', 1); CONC._x = 15; CONC._y = 15; CONC._rotation = 90; rock.swapDepths(999); rock.removeMovieClip(); rock2.swapDepths(999); rock2.removeMovieClip(); wall.swapDepths(999); wall.removeMovieClip(); } } } frame 18 { onEnterFrame = function () { if (_root.EDITING) { if (_currentframe == 18) { if (_root.WINPOINT == 1) { _root.map[i][j] = 5; gotoAndStop(5); } ++_root.WINPOINT; } TIMEWARP.stop(); } }; } frame 19 { if (!_root.EDITING) { if (_root.map[i][j + 1] != 19) { if (_root.map[i][j + 1] != 16) { if (_root.map[i][j + 1] != 17) { this.attachMovie('concrete tile side', 'RIGHT', 1); RIGHT._x = 30; RIGHT._y = 15; RIGHT._rotation = 90; if (Math.random() > 0.5) { RIGHT._xscale *= -1; } } } } if (_root.map[i][j - 1] != 19) { if (_root.map[i][j - 1] != 16) { if (_root.map[i][j - 1] != 17) { this.attachMovie('concrete tile side', 'LEFT', 2); LEFT._x = 0; LEFT._y = 15; LEFT._rotation = -90; if (Math.random() > 0.5) { LEFT._xscale *= -1; } } } } if (_root.map[i + 1][j] != 19) { if (_root.map[i + 1][j] != 16) { if (_root.map[i + 1][j] != 17) { this.attachMovie('concrete tile side', 'BOTTOM', 3); BOTTOM._x = 15; BOTTOM._y = 30; BOTTOM._rotation = 180; if (Math.random() > 0.5) { BOTTOM._xscale *= -1; } } } } if (_root.map[i - 1][j] != 19) { if (_root.map[i - 1][j] != 2) { if (_root.map[i - 1][j] != 3) { if (_root.map[i - 1][j] != 4) { this.attachMovie('concrete tile top', 'TOP', 4); TOP._x = 15; TOP._y = 2; } } } } } } frame 21 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x - 10; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (this.hitTest(_root.guy.body)) { _root.cam.SHAKE = 2; if (_root.guy.impact == 0) { _root.guy._y -= 2; } with (_root.guy) { if (impact == 0) { impact = 10; } speed = 0; fallspeed = 0; _root.beampower = 100; } } } } frame 22 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; X = _x + 40; for (;;) { if (!(!_root.ground.hitTest(X, _y + 15, true) && X > 0)) break; X += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 30; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].X = X; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); } } }; } frame 23 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y + 40; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y < _root.ground._height)) break; Y += 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 24 { if (!_root.EDITING) { seconds = 0; PFRAME = 0; Y = _y - 10; for (;;) { if (!((_root.groundBitmap.getPixel(_x + 15, Y)).toString(16) != 'ff0000' && Y > 0)) break; Y -= 10; } } onEnterFrame = function () { if (!_root.EDITING) { ++seconds; if (seconds / 3 == Math.round(seconds / 3)) { PFRAME += 2; if (PFRAME > 30) { PFRAME = 1; } _root.tractorbeams.attachMovie('tractor beam piece', 'piece' + _root.tractorbeams.getNextHighestDepth(), _root.tractorbeams.getNextHighestDepth()); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._x = _x + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._y = _y + 15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].speed = -15; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].Y = Y; _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)].gotoAndPlay(PFRAME); _root.tractorbeams['piece' + (_root.tractorbeams.getNextHighestDepth() - 1)]._rotation = 90; } } }; } frame 25 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation += 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 26 { READY = true; onEnterFrame = function () { pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; posX = Math.cos((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; posY = Math.sin((posANGLE + _parent._rotation) * 0.0174532925199433) * posDISTANCE; if (_root.guy.body.hitTest(body) && READY) { mc.play(); pointDISTANCE = Math.sqrt(_x * _x + _y * _y); pointANGLE = Math.atan2(_y, _x) * 180 / Math.PI; _root.ground._rotation -= 90; oldX = _root.ground._x; oldY = _root.ground._y; if (_root.ground._rotation == 90) { _root.ground._x = _root.cam.BOTTOM; _root.ground._y = 0; } if (_root.ground._rotation == 180) { _root.ground._x = _root.cam.EDGE; _root.ground._y = _root.cam.BOTTOM; } if (_root.ground._rotation == -90) { _root.ground._x = 0; _root.ground._y = _root.cam.EDGE; } if (_root.ground._rotation == 0) { _root.ground._x = 0; _root.ground._y = 0; } _root.spinX = _root.ground._x + Math.cos((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.spinY = _root.ground._y + Math.sin((_root.ground._rotation + pointANGLE) * 0.0174532925199433) * pointDISTANCE; _root.guy._x = _root.spinX; _root.guy._y = _root.spinY; READY = false; } }; } frame 29 { onEnterFrame = function () { if (!_root.EDITING) { X = _root.guy._x - (_x + 15); Y = _root.guy._y - 20 - (_y + 15); if (Math.sqrt(X * X + Y * Y) < 20) { if (!_root.guy.BURNING) { _root.attachMovie('explosion small', 'explosion', _root.getNextHighestDepth()); _root.explosion._x = _root.guy._x; _root.explosion._y = _root.guy._y - 20; _root.explosion._xscale = 70; _root.explosion._yscale = 70; } _root.guy.BURNING = true; } } else { FLAME.stop(); } }; } frame 30 { onEnterFrame = function () { if (!_root.EDITING) { if (_root.guy.BURNING) { if (_root.guy.i < i + 2 && _root.guy.i > i - 2 && _root.guy.j < j + 2 && _root.guy.j > j - 2) { if (this.hitTest(_root.guy)) { mc.play(); FRAME = 5; } } } } }; } frame 31 { onEnterFrame = function () { if (mc._currentframe == 1) { if (_root.guy.CLICKING == true && this.hitTest(_root.BEAM.nodeENDX, _root.BEAM.nodeENDY, true)) { mc.play(); } } }; } } movieClip 4101 { } movieClip 4121 tile { instance of movieClip 4101 { onClipEvent (enterFrame) { _visible = true; if (_root.guy._y > _parent._y + 15) { _height = 0; } else { gotoAndStop(1); _height = 30; } } } } frame 1 { var urlString = _root._url; if (urlString.indexOf('http') != -1) { gotoAndStop('sitelock'); } stopAllSounds(); stop(); if (LEVEL == 'level select') { map = [[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5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 0, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 9, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 9, 9, 9, 9, 9, 9, 6, 6, 6, 6, 11, 19, 19, 19, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 19, 19, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 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 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; } if (LEVEL == 14) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 17, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 8, 8, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 8, 8, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 8, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 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, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0], [19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 15, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0]]; } if (LEVEL == 17) { map = [[19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 15, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 9, 9, 9, 9, 9, 9, 19, 19, 6, 6, 6, 6, 6, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 8, 8, 8, 8, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 17, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19,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, 0, 0], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20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, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 17, 1, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 20, 20, 20, 20, 20, 20, 2, 3, 0, 0, 11, 1, 10, 6, 6, 6, 20, 20, 20, 20, 20, 20, 1, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 11, 1, 10, 20, 20, 2, 2, 2, 16, 20, 20, 20, 1, 6, 6, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 11, 1, 10, 20, 20, 11, 2, 2, 20, 20, 20, 20, 1, 6, 6, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 20, 20, 20, 20, 20, 11, 2, 2, 20, 20, 20, 20, 20, 20, 20, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 20, 20, 20, 20, 20, 20, 20, 11, 2, 2, 20, 20, 20,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 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 20, 20, 20, 8, 8, 8, 8, 8, 8, 1, 20, 20, 20, 17, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 20, 20, 20, 11, 1, 1, 1, 1, 1, 1, 16, 20, 20, 20, 20, 17, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 9, 9, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 17, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 8, 8, 8, 8, 8, 8, 20, 20, 11, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 8, 8, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 8, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 17, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 18, 20, 20, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6], [2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 2, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 20, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 20, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 1, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 1, 20, 20, 1, 1, 1, 2, 2, 2, 3, 20, 20, 20, 4, 2, 2, 2, 2, 2, 10, 20, 1, 1, 1, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 1, 1], [2, 2, 2, 2, 1, 1, 20, 1, 1, 1, 2, 2, 2, 1, 3, 20, 4, 1, 1, 1, 1, 2, 2, 10, 20, 1, 1, 1, 20, 11, 2, 2, 2, 16, 20, 20, 20, 20, 1, 1], [2, 2, 2, 2, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 2, 10, 20, 1, 1, 1, 6, 11, 2, 2, 2, 20, 20, 20, 20, 20, 1, 1], [2, 1, 1, 1, 1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 17, 1, 16, 20, 1, 1, 1, 1, 20, 20, 20, 20, 20, 1, 1], [1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 20, 1, 20, 20, 1, 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, 0, 0, 0, 0, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2]]; } if (LEVEL == 26) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 5, 5, 5, 5, 5, 18, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 3, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 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19, 19, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 2, 5, 15, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 12, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 1, 1]]; } if (LEVEL == 57) { map = [[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5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 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 5, 8, 8, 8], [2, 2, 2, 2, 5, 5, 5, 19, 19, 2, 2, 2, 2, 2, 2, 2, 2, 19, 19, 19, 19, 16, 5, 19, 19, 19], [2, 2, 2, 2, 8, 5, 5, 5, 19, 19, 19, 2, 2, 2, 2, 2, 2, 19, 19, 16, 5, 5, 5, 17, 19, 19], [2, 2, 2, 2, 2, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 17], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 5, 17, 19, 5, 5, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 3, 5, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 2, 2, 2, 5, 5, 5, 5, 2, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 2, 2, 8, 5, 5, 5, 2, 19, 19, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 2, 2, 5, 5, 5, 5, 11, 19, 19, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 5, 11, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 2, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5, 8, 8, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8], [19, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2], [19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2, 19], [16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2, 2, 19], [5, 5, 5, 5, 18, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 2, 2, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 5, 5, 5, 5, 8, 8, 8, 8, 2, 2, 2, 2, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 3, 5, 5, 4, 2, 2, 2, 2, 2, 2, 19, 19, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19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, 1, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 19, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 19, 19, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 1, 1, 1, 1, 1, 1, 19, 19, 19, 19, 1, 1, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 1, 1, 1, 1, 19, 19, 19, 19, 19, 19, 19, 19, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 5, 15, 5, 5, 5, 5, 5, 5, 5, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19]]; } if (LEVEL == 60) { 'down the pipes by Matt1 in spaceship'; map = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 5, 15, 5, 5, 5, 5, 5, 5, 5, 5, 0, 5, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 2, 16, 5, 5, 5, 5, 5, 5, 5, 0, 5, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 1, 5, 5, 5, 1, 1, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 20, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 6, 6, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 6, 6, 6, 6, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 1, 5, 5, 5, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 0, 0, 5, 1, 6, 6, 29, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 5, 5, 1, 6, 6, 19, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 5, 1, 6, 1, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 5, 0, 5, 5, 5, 0, 5, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 0, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 20, 20, 5, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 20, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 5, 5, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 20, 20, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 30, 30, 30], [2, 2, 1, 8, 8, 8, 8, 8, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 20, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 30], [2, 2, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 0, 0, 0, 0, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 29, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1, 2, 30], [2, 2, 1, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 5, 5, 5, 5, 5, 5, 0, 5, 5, 1, 2, 30], [2, 2, 1, 1, 16, 5, 5, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 5, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 20, 20, 20, 20, 20, 1, 9, 30], [2, 2, 5, 5, 5, 5, 5, 1, 8, 8, 8, 8, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 30, 30, 30, 30, 30, 30, 30, 30], [2, 2, 5, 5, 17, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 8, 8], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 30, 30, 30, 30, 30, 30, 30, 30], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 6, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [30, 30, 30, 5, 5, 5, 5, 5, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [30, 2, 5, 5, 5, 5, 5, 5, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 18, 0, 1, 2, 30], [30, 2, 5, 5, 5, 5, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 5, 0, 1, 2, 30], [30, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 20, 20, 20, 20, 20, 1, 2, 30], [30, 2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 1, 2, 30], [30, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 30], [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]]; } if (LEVEL == 61) { 'The Man Cave by SpinnerMaster in cave'; map = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2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 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; } shotgunDOINIT = new Sound(this); shotgunDOINIT.attachSound('shotgunDOINIT'); shotgunhorsenoise = new Sound(this); shotgunhorsenoise.attachSound('shotgunhorsenoise'); shotgunOH = new Sound(this); shotgunOH.attachSound('shotgunOH'); shotgunOOFH = new Sound(this); shotgunOOFH.attachSound('shotgunOOFH'); shotgunOOGHFF = new Sound(this); shotgunOOGHFF.attachSound('shotgunOOGHFF'); shotgunWOO = new Sound(this); shotgunWOO.attachSound('shotgunWOO'); TractorBeam = new Sound(this); TractorBeam.attachSound('TractorBeam'); EnergyWoosh = new Sound(this); EnergyWoosh.attachSound('EnergyWoosh'); dink = new Sound(this); dink.attachSound('dink'); GiantBeam = new Sound(this); GiantBeam.attachSound('GiantBeam'); gunlaser = new Sound(this); gunlaser.attachSound('gunlaser'); EnergyWooshLow = new Sound(this); EnergyWooshLow.attachSound('EnergyWooshLow'); stonebreak = new Sound(this); stonebreak.attachSound('stonebreak'); Explosion3 = new Sound(this); Explosion3.attachSound('Explosion3'); Explosion4 = new Sound(this); Explosion4.attachSound('Explosion4'); Explosion5 = new Sound(this); Explosion5.attachSound('Explosion5'); Explosion6 = new Sound(this); Explosion6.attachSound('Explosion6'); kick2 = new Sound(this); kick2.attachSound('kick2'); mechswitch = new Sound(this); mechswitch.attachSound('mechswitch'); DemonRattle = new Sound(this); DemonRattle.attachSound('DemonRattle'); CarAlarmBeep = new Sound(this); CarAlarmBeep.attachSound('CarAlarmBeep'); TimeRewind = new Sound(this); TimeRewind.attachSound('TimeRewind'); chop2 = new Sound(this); chop2.attachSound('chop2'); smash = new Sound(this); smash.attachSound('smash'); GunShotBig = new Sound(this); GunShotBig.attachSound('GunShotBig'); versus = new Sound(this); versus.attachSound('versus'); rip = new Sound(); rip.attachSound('rip'); roar = new Sound(); roar.attachSound('roar'); footstepL = new Sound(); footstepL.attachSound('footstepL'); footstepR = new Sound(); footstepR.attachSound('footstepR'); SwishHard = new Sound(this); SwishHard.attachSound('SwishHard'); sucking = new Sound(this); sucking.attachSound('sucking'); ignite = new Sound(this); ignite.attachSound('ignite'); shortscream = new Sound(this); shortscream.attachSound('shortscream'); rubble = new Sound(this); rubble.attachSound('rubble'); rockslam1 = new Sound(this); rockslam1.attachSound('rockslam1'); drillroar = new Sound(this); drillroar.attachSound('drillroar'); drill = new Sound(this); drill.attachSound('drill'); chainreel = new Sound(this); chainreel.attachSound('chainreel'); lasershot2 = new Sound(this); lasershot2.attachSound('lasershot2'); squeak = new Sound(this); squeak.attachSound('squeak'); machinerynoises = new Sound(this); machinerynoises.attachSound('machinerynoises'); buzzing = new Sound(this); buzzing.attachSound('buzzing'); steam = new Sound(this); steam.attachSound('steam'); Earthquake = new Sound(this); Earthquake.attachSound('Earthquake'); scifibeam = new Sound(this); scifibeam.attachSound('scifibeam'); extinguish = new Sound(this); extinguish.attachSound('extinguish'); spinningvaultdoor = new Sound(this); spinningvaultdoor.attachSound('spinningvaultdoor'); earthquakeshort = new Sound(this); earthquakeshort.attachSound('earthquakeshort'); door = new Sound(this); door.attachSound('door'); Bosstheme = new Sound(); Bosstheme.attachSound('BossTheme'); Mainthemedance = new Sound(); Mainthemedance.attachSound('Mainthemedance'); Mainthemeslow = new Sound(); Mainthemeslow.attachSound('Mainthemeslow'); Mainthememoreguitar = new Sound(); Mainthememoreguitar.attachSound('Mainthememoreguitar'); Backtoback = new Sound(); Backtoback.attachSound('Backtoback'); Adrenaline = new Sound(); Adrenaline.attachSound('Adrenaline'); EpicTrailer = new Sound(); EpicTrailer.attachSound('EpicTrailer'); IronFist = new Sound(); IronFist.attachSound('IronFist'); FireRush = new Sound(); FireRush.attachSound('FireRush'); SomethingBehindYou = new Sound(); SomethingBehindYou.attachSound('SomethingBehindYou'); LongPlay = new Sound(); LongPlay.attachSound('LongPlay'); LEFT = 65; RIGHT = 68; UP = 87; DOWN = 83; PAUSE = false; GUYtype = 1; var savefile = SharedObject.getLocal('NoTime'); Login.unEncodedUsername = savefile.data.unEncodedUsername; Login.unEncodedPassword = savefile.data.unEncodedPassword; if (Login.unEncodedUsername == undefined) { Login.unEncodedUsername = 'username'; Login.unEncodedPassword = 'password'; } else { Login.TICKbox.gotoAndStop(2); } Login.pbox.password = true; onMouseDown = function () { if (_ymouse > 400) { if (Login.unEncodedUsername == 'username') { Login.unEncodedUsername = ''; Login.unEncodedPassword = ''; } } }; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('Thanks') == -1) { mdm.FileSystem.saveFile('SaveData.htm', 'Thanks for downloading No Time To Explain! This is your save data. Don\'t delete, move or edit it and you\'ll be A-okay. <br/><br/>'); } } button 4123 { on (release) { gotoAndStop(1); } } movieClip 4124 { } instance Login of movieClip 4124 { onClipEvent (load) { if (_root.LEVEL == 'LARGE') { _root.gotoAndStop('EDITOR'); } } onClipEvent (enterFrame) { if (_currentframe >= 4) { _root.unEncodedUsername = unEncodedUsername; _root.unEncodedPassword = unEncodedPassword; if (_root.LEVEL == null || _root.LEVEL == undefined) { _root.BOSSfight = false; _root.inside_house = false; _root.GUYtype = 1; _root.UNIVERSE = 'forest'; _root.TESTING = false; _root.EDITING = false; _root.tooltype = 2; _root.LEVEL = 'level select'; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo1') == -1) { _root.LEVEL = 1; } else { _root.LEVEL = 'level select'; } } _root.gotoAndPlay('reset'); } } } button 4125 { on (release) { getURL('tinybuild.com', ''); } } movieClip 4583 __Packages.JSON { #initclip if (!_global.JSON) { var v1 = function () {}; _global.JSON = v1; var v2 = v1.prototype; v1.stringify = function (arg) { var v3; var v2; var v6; var v1 = ''; var v4; switch (typeof arg) { return 'null'; case 'object': if (arg) { if (arg instanceof Array) { v2 = 0; while (v2 < arg.length) { v4 = JSON.stringify(arg[v2]); if (v1) { v1 += ','; } v1 += v4; ++v2; } return '[' + v1 + ']'; } else { if (typeof arg.toString != 'undefined') { for (v2 in arg) { v4 = arg[v2]; if (typeof v4 != 'undefined' && typeof v4 != 'function') { v4 = JSON.stringify(v4); if (v1) { v1 += ','; } v1 += JSON.stringify(v2) + ':' + v4; } } return '{' + v1 + '}'; } } } return 'null'; case 'number': return isFinite(arg) ? String(arg) : 'null'; case 'string': v6 = arg.length; v1 = '"'; v2 = 0; while (v2 < v6) { v3 = arg.charAt(v2); if (v3 >= ' ') { if (v3 == '\\' || v3 == '"') { v1 += '\\'; } v1 += v3; } else { switch (v3) { case '\b': v1 += '\\b'; break; case '\f': v1 += '\\f'; break; case '\n': v1 += '\\n'; break; case '\r': v1 += '\\r'; break; case '\t': v1 += '\\t'; break; default: v3 = v3.charCodeAt(); v1 += '\\u00' + (Math.floor(v3 / 16)).toString(16) + (v3 % 16).toString(16); } } v2 += 1; } return v1 + '"'; case 'boolean': return String(arg); } return 'null'; }; v1.parse = function (text) { var at = 0; var ch = ' '; var _value; var _error = function (m) { throw {'name': 'JSONError', 'message': m, 'at': at - 1, 'text': text}; }; var _next = function () { ch = text.charAt(at); at += 1; return ch; }; var _white = function () { while (ch) { if (ch <= ' ') { _next(); } else { if (ch == '/') { switch (_next()) { case '/': for (;;) { if (!(_next() && ch != '\n' && ch != '\r')) break; } break; case '*': _next(); for (;;) { if (ch) { if (ch == '*') { if (_next() == '/') { _next(); break; } } else { _next(); } continue; } _error('Unterminated comment'); } break; default: _error('Syntax error'); } } else { break; } } } }; var _string = function () { var v4; var v1 = ''; var v3; var v2; var v5 = false; if (ch == '"') { while (_next()) { if (ch == '"') { _next(); return v1; } else { if (ch == '\\') { switch (_next()) { case 'b': v1 += '\b'; break; case 'f': v1 += '\f'; break; case 'n': v1 += '\n'; break; case 'r': v1 += '\r'; break; case 't': v1 += '\t'; break; case 'u': v2 = 0; v4 = 0; while (v4 < 4) { v3 = parseInt(_next(), 16); if (!isFinite(v3)) { v5 = true; break; } v2 = v2 * 16 + v3; v4 += 1; } if (v5) { v5 = false; } else { v1 += String.fromCharCode(v2); break; default: v1 += ch; } } } else { v1 += ch; } } } } _error('Bad string'); }; var _array = function () { var v1 = []; if (ch == '[') { _next(); _white(); if (ch == ']') { _next(); return v1; } while (ch) { v1.push(_value()); _white(); if (ch == ']') { _next(); return v1; } else { if (ch != ',') { break; } } _next(); _white(); } } _error('Bad array'); }; var _object = function () { var v2; var v1 = {}; if (ch == '{') { _next(); _white(); if (ch == '}') { _next(); return v1; } while (ch) { v2 = _string(); _white(); if (ch != ':') { break; } _next(); v1[v2] = _value(); _white(); if (ch == '}') { _next(); return v1; } else { if (ch != ',') { break; } } _next(); _white(); } } _error('Bad object'); }; var _number = function () { var v1 = ''; var v2; if (ch == '-') { v1 = '-'; _next(); } for (;;) { if (!(ch >= '0' && ch <= '9')) break; v1 += ch; _next(); } if (ch == '.') { v1 += '.'; for (;;) { if (!(_next() && ch >= '0' && ch <= '9')) break; v1 += ch; } } v2 = 1 * v1; if (!isFinite(v2)) { _error('Bad number'); } else { return v2; } }; var _word = function () { switch (ch) { case 't': if (_next() == 'r' && _next() == 'u' && _next() == 'e') { _next(); return true; } break; case 'f': if (_next() == 'a' && _next() == 'l' && _next() == 's' && _next() == 'e') { _next(); return false; } break; case 'n': if (_next() == 'u' && _next() == 'l' && _next() == 'l') { _next(); return null; } } _error('Syntax error'); }; _value = function () { _white(); switch (ch) { case '{': return _object(); case '[': return _array(); case '"': return _string(); case '-': return _number(); } return (ch >= '0' && ch <= '9') ? _number() : _word(); }; return _value(); }; ASSetPropFlags(_global.JSON.prototype, null, 1); } #endinitclip } movieClip 4584 __Packages.Playtomic.LogRequest { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.LogRequest) { var v1 = function () {}; Playtomic.LogRequest = v1; var v2 = v1.prototype; v2.Queue = function (data) { ++this.Pieces; this.Data += ((this.Data == '') ? '' : '~') + data; if (this.Pieces == 8 || this.Data.length > 300) { this.Pieces = 0; this.Ready = true; } }; v2.Send = function () { var v3 = function (success) { if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) { Playtomic.Log.IncreaseViews(); } if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) { Playtomic.Log.IncreasePlays(); } }; var v2 = new LoadVars(); v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST'); }; v2.Data = ''; v2.Ready = false; ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1); } #endinitclip } movieClip 4585 __Packages.Playtomic.Log { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.Log) { var v1 = function () {}; Playtomic.Log = v1; var v2 = v1.prototype; v1.View = function (swfid, guid, defaulturl) { if (swfid == undefined) { swfid = 0; } if (guid == undefined) { guid = ''; } if (defaulturl == undefined) { defaulturl = ''; } if (Playtomic.Log.SWFID > 0) { return undefined; } Playtomic.Log.SWFID = swfid; Playtomic.Log.GUID = guid; Playtomic.Log.Enabled = true; if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') { Playtomic.Log.Enabled = false; return undefined; } if (defaulturl.indexOf('http://') != 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.SourceUrl = defaulturl; if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.Cookie = SharedObject.getLocal('playtomic'); var v5 = Playtomic.Log.GetCookie('views'); Playtomic.Log.Send('v/' + v5, true); _global.setTimeout(Playtomic.Log.PingServer, 60000); }; v1.ForceSend = function () { if (Playtomic.Log.Request == null) { return undefined; } Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); }; v1.Play = function () { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.LevelCounters = new Array(); Playtomic.Log.LevelAverages = new Array(); Playtomic.Log.LevelRangeds = new Array(); Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true); }; v1.CustomMetric = function (name, group, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (group == null || group == undefined) { group = ''; } if (unique == null || unique == undefined) { unique = false; } if (unique) { if (Playtomic.Log.Customs.indexOf(name) > -1) { return undefined; } Playtomic.Log.Customs.push(name); } Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group)); }; v1.Link = function (url, name, group, unique, total, fail) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail); }; v1.LevelCounterMetric = function (name, level, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelCounters.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelCounters.push(name); } Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level)); }; v1.LevelRangedMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelRangeds.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelRangeds.push(name); Playtomic.Log.SaveCookie('lr_' + name, 1); } Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.LevelAverageMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { if (Playtomic.Log.LevelAverages.indexOf(name) > -1) { return undefined; } Playtomic.Log.LevelAverages.push(name); } Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.Heatmap = function (name, group, x, y) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('h/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + x + '/' + y); }; v1.Funnel = function (name, step, stepnum) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('f/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(step) + '/' + stepnum); }; v1.PlayerLevelStart = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('pls/' + levelid); }; v1.PlayerLevelWin = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plw/' + levelid); }; v1.PlayerLevelQuit = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plq/' + levelid); }; v1.PlayerLevelRetry = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plr/' + levelid); }; v1.PlayerLevelFlag = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plf/' + levelid); }; v1.PingServer = function () { if (!Playtomic.Log.Enabled) { return undefined; } ++Playtomic.Log.Pings; Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true); if (Playtomic.Log.FirstPing) { Playtomic.Log.FirstPing = false; setInterval(Playtomic.Log.PingServer, 60000); } }; v1.Send = function (s, view) { if (view == undefined) { view = false; } Playtomic.Log.Request.Queue(s); if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) { Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); } }; v1.GetCookie = function (n) { if (Playtomic.Log.Cookie.data[n] == undefined) { return 0; } else { return parseInt(Playtomic.Log.Cookie.data[n]); } }; v1.SaveCookie = function (n, v) { Playtomic.Log.Cookie.data[n] = v.toString(); Playtomic.Log.Cookie.flush(); }; v1.Clean = function (s) { while (s.indexOf('/') > -1) { s = Playtomic.Log.Replace(s, '/', '\\'); } while (s.indexOf('~') > -1) { s = Playtomic.Log.Replace(s, '~', '-'); } return escape(s); }; v1.Replace = function (str, find, replace) { return (str.split(find)).join(replace); }; v1.IncreaseViews = function () { var v1 = Playtomic.Log.GetCookie('views'); ++v1; Playtomic.Log.SaveCookie('views', v1); }; v1.IncreasePlays = function () { ++Playtomic.Log.Plays; }; v1.Enabled = false; v1.Queue = true; v1.SWFID = 0; v1.GUID = ''; v1.Request = new Playtomic.LogRequest(); v1.FirstPing = true; v1.Pings = 0; v1.Plays = 0; v1.HighestGoal = 0; v1.Customs = new Array(); v1.LevelCounters = new Array(); v1.LevelAverages = new Array(); v1.LevelRangeds = new Array(); ASSetPropFlags(Playtomic.Log.prototype, null, 1); } #endinitclip } frame 3 { snow.removeMovieClip(); stop(); stopAllSounds(); Mouse.hide(); var myBitmapData = new flash.display.BitmapData(2500, 2000, true, 13421772); EDITING = true; BOSSfight = false; inside_house = false; Background.removeMovieClip(); Foreground.removeMovieClip(); ground.removeMovieClip(); animated.removeMovieClip(); bmp.removeMovieClip(); LEVEL = 'none'; i = 0; while (i < map.length) { j = 0; while (j < map[0].length) { Background.attachMovie(UNIVERSE + ' tile', 'tile' + i * map[0].length + j, i * map[0].length + j); Background['tile' + i * map[0].length + j]._x = j * 30; Background['tile' + i * map[0].length + j]._y = i * 30; Background['tile' + i * map[0].length + j].gotoAndStop(map[i][j]); if (map[i][j] == 0) { Background['tile' + i * map[0].length + j].gotoAndStop(5); } Background['tile' + i * map[0].length + j].i = i; Background['tile' + i * map[0].length + j].j = j; Background['tile' + i * map[0].length + j].cacheAsBitmap = true; ++j; } ++i; } onEnterFrame = function () { if (EDITING) { if (SPAWNPOINT >= 1) { SPAWNPOINTdown = true; } else { SPAWNPOINTdown = false; } if (WINPOINT >= 1) { WINPOINTdown = true; } else { WINPOINTdown = false; } WINPOINT = 0; SPAWNPOINT = 0; mapcopy = '['; i = 0; while (i < map.length) { _root.mapcopy += '['; j = 0; while (j < map[0].length) { _root.mapcopy += map[i][j]; if (j < map[0].length - 1) { _root.mapcopy += ','; } ++j; } if (i < map.length - 1) { _root.mapcopy += '],'; } else { _root.mapcopy += ']'; } ++i; } _root.mapcopy += ']'; } }; onMouseDown = function () { CLICKING = true; }; onMouseUp = function () { CLICKING = false; }; } instance of movieClip 4121 tile { onClipEvent (load) { gotoAndStop(6); _visible = true; _height = _root.map.length * 30; _width = _root.map[0].length * 30; _x = 0; _y = 0; } } movieClip 4136 { frame 1 { stop(); } frame 3 { R = Math.random(); _root.attachMovie('breakable tile', 'break' + R, _root.getNextHighestDepth()); _root['break' + R]._rotation = Math.random() * 360; _root['break' + R]._x = _parent._x + 15; _root['break' + R]._y = _parent._y + 15; _root['break' + R].gotoAndPlay(2); } } movieClip 4137 { frame 1 { onEnterFrame = function () { if (_currentframe == 1) { Mouse.show(); } else { Mouse.hide(); } if (Key.isDown(32)) { gotoAndStop(2); if (_root.CLICKING) { _root.cam._x += _x - _root._xmouse; _root.cam._y += _y - _root._ymouse; } } else { j = Math.round(_root._xmouse / 30); i = Math.round(_root._ymouse / 30); if (i * 30 > _root._ymouse) { --i; } if (j * 30 > _root._xmouse) { --j; } _xscale = _root.cam._xscale / 2; _yscale = _root.cam._yscale / 2; _xscale = 100; _yscale = 100; if (_root.tooltype == 5) { gotoAndStop(4); } else { gotoAndStop(3); } if (_root.editor.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); _xscale = _root.cam._xscale / 2; _yscale = _root.cam._yscale / 2; } if (this.getDepth() < 0) { this.swapDepths(_root.getNextHighestDepth()); } if (!_root.EDITING) { this.removeMovieClip(); } _x = j * 30; _y = i * 30; if (_root.CLICKING) { if (!_root.editor.hitTest(_x, _y, true)) { _root.Background['tile' + i * _root.map[0].length + j].gotoAndStop(_root.tooltype); if (_root.map[i][j] != _root.tooltype && _root.map[i][j] != 0 && _root.map[i][j] != 5) { mc.play(); } _root.map[i][j] = _root.tooltype; } } } }; } } button 4142 { on (rollOver) { _root.tooltype = 18; _root.TOOLdescription = 'goal'; } on (release) { _root.tooltype = 18; gotoAndStop(1); } } movieClip 4143 { } button 4144 { on (release) { _root.TOOLdescription = 'erase'; _root.tooltype = 5; gotoAndStop(1); } } button 4145 { on (rollOver) { _root.tooltype = 15; _root.TOOLdescription = 'player starting point'; } on (release) { _root.tooltype = 15; gotoAndStop(1); } } button 4150 { on (release) { _root.username = _root.unEncodedUsername; if (_root.SPAWNPOINTdown && _root.WINPOINTdown) { _root.TESTING = true; _root.gotoAndStop('gameplay'); _root.EDITING = false; if (Math.random() > 0.5) { Mainthemeslow.start(0, 99); } else { if (Math.random() > 0.5) { Mainthemedance.start(0, 99); } else { if (Math.random() > 0.5) { Mainthememoreguitar.start(0, 99); } else { if (Math.random() > 0.5) { Backtoback.start(0, 99); } else { if (Math.random() > 0.5) { Adrenaline.start(0, 99); } } } } } } else { if (!_root.SPAWNPOINTdown) { this.attachMovie('editor warning message', 'warning', this.getNextHighestDepth()); warning._x = 0; warning._y = -90; } else { if (!_root.WINPOINTdown) { this.attachMovie('editor warning message', 'warning', this.getNextHighestDepth()); warning._x = 0; warning._y = -90; warning.gotoAndStop(2); } } } } } movieClip 4152 { frame 1 { my_listener = new Object(); Mouse.addListener(my_listener); my_listener.onMouseWheel = function (delta) { if (delta >= 3) { _y = _y - delta * 2; } if (delta <= -3) { _y = _y - delta * 2; } if (_y > Y + 200) { _y = Y + 200; } if (_y < Y) { _y = Y; } }; } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.CLICKING && this.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.startDrag(false, _parent.X, _parent.Y, _parent.X, _parent.Y + 200); _root.MOUSE.gotoAndStop(1); } if (!_root.CLICKING) { _parent.stopDrag(); } } } } button 4157 { on (release) { gotoAndStop(4); } } button 4163 { on (rollOver) { CIRCLE._y = 49; } on (release) { _root.GUYtype = 2; gotoAndStop(1); } } button 4164 { on (rollOver) { CIRCLE._y = 103; } on (release) { _root.GUYtype = 1; gotoAndStop(1); } } button 4165 { on (rollOver) { CIRCLE._y = 103; } on (release) { _root.GUYtype = 5; gotoAndStop(1); } } button 4166 { on (rollOver) { CIRCLE._y = 103; } on (release) { _root.GUYtype = 6; gotoAndStop(1); } } movieClip 4167 { frame 1 { stop(); FRAME = _root.GUYtype; if (FRAME == 6) { FRAME = 3; } gotoAndStop(FRAME); } } button 4168 { on (release) { gotoAndStop(5); } } button 4172 { on (rollOver) { CIRCLE._y = 190; } on (release) { _root.UNIVERSE = 'forest'; gotoAndStop(1); _root.EDITING = false; _root.gotoAndPlay(2); } } button 4173 { on (rollOver) { CIRCLE._y = 135; } on (release) { _root.UNIVERSE = 'cave'; gotoAndStop(2); _root.EDITING = false; _root.gotoAndPlay(2); } } button 4174 { on (rollOver) { CIRCLE._y = 85; } on (release) { _root.UNIVERSE = 'snowy'; gotoAndStop(3); _root.EDITING = false; _root.gotoAndPlay(2); } } button 4175 { on (rollOver) { CIRCLE._y = 35; } on (release) { _root.UNIVERSE = 'spaceship'; gotoAndStop(4); _root.EDITING = false; _root.gotoAndPlay(2); } } movieClip 4176 { frame 1 { stop(); if (_root.UNIVERSE == 'forest') { gotoAndStop(1); } if (_root.UNIVERSE == 'cave') { gotoAndStop(2); } if (_root.UNIVERSE == 'snowy') { gotoAndStop(3); } if (_root.UNIVERSE == 'spaceship') { gotoAndStop(4); } } } button 4184 { on (release) { gotoAndStop(1); } } button 4185 { on (release) { _root.tooltype = 3; _root.TOOLdescription = 'sloped ground block L'; gotoAndStop(1); } } button 4186 { on (release) { _root.TOOLdescription = 'sloped ground block R'; _root.tooltype = 4; gotoAndStop(1); } } button 4187 { on (release) { _root.TOOLdescription = 'sloped cieling R'; _root.tooltype = 16; gotoAndStop(1); } } button 4188 { on (release) { _root.TOOLdescription = 'sloped cieling L'; _root.tooltype = 17; gotoAndStop(1); } } button 4189 { on (release) { _root.TOOLdescription = 'underground block'; _root.tooltype = 1; gotoAndStop(1); } } button 4190 { on (release) { _root.tooltype = 2; _root.TOOLdescription = 'ground block'; gotoAndStop(1); } } movieClip 4191 { frame 1 { stop(); onMouseUp = function () { if (_currentframe == 1) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(2); } } else { if (!this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); } } }; } } button 4198 { on (release) { _root.TOOLdescription = 'upward spikes'; _root.tooltype = 8; gotoAndStop(1); } } button 4199 { on (release) { _root.TOOLdescription = 'downward spikes'; _root.tooltype = 9; gotoAndStop(1); } } button 4200 { on (release) { _root.TOOLdescription = 'right spikes'; _root.tooltype = 10; gotoAndStop(1); } } button 4201 { on (release) { _root.TOOLdescription = 'left spikes'; _root.tooltype = 11; gotoAndStop(1); } } button 4202 { on (release) { _root.TOOLdescription = 'vertical timed spikes'; _root.tooltype = 27; gotoAndStop(1); } } button 4203 { on (release) { _root.TOOLdescription = 'horizontal timed spikes'; _root.tooltype = 28; gotoAndStop(1); } } button 4204 { on (release) { _root.TOOLdescription = 'danger mine'; _root.tooltype = 31; gotoAndStop(1); } } button 4205 { on (release) { gotoAndStop(1); } } movieClip 4206 { frame 1 { stop(); onMouseUp = function () { if (_currentframe == 1) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(2); } } else { if (!this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); } } }; } } button 4212 { on (release) { _root.TOOLdescription = 'breakable block'; _root.tooltype = 6; gotoAndStop(1); } } button 4213 { on (release) { _root.TOOLdescription = 'rotation block counter-clockwise'; _root.tooltype = 26; gotoAndStop(1); } } button 4214 { on (release) { _root.TOOLdescription = 'rotation block clockwise'; _root.tooltype = 25; gotoAndStop(1); } } button 4215 { on (release) { _root.TOOLdescription = 'water'; _root.tooltype = 20; gotoAndStop(1); } } button 4216 { on (release) { _root.TOOLdescription = 'concrete'; _root.tooltype = 19; gotoAndStop(1); } } button 4217 { on (release) { _root.TOOLdescription = 'upward tractor beam'; _root.tooltype = 24; gotoAndStop(1); } } button 4218 { on (release) { _root.TOOLdescription = 'downward tractor beam'; _root.tooltype = 23; gotoAndStop(1); } } button 4219 { on (release) { _root.TOOLdescription = 'right tractor beam'; _root.tooltype = 22; gotoAndStop(1); } } button 4220 { on (release) { _root.TOOLdescription = 'left tractor beam'; _root.tooltype = 21; gotoAndStop(1); } } button 4221 { on (release) { _root.TOOLdescription = 'beam magnet'; _root.tooltype = 14; gotoAndStop(1); } } button 4223 { on (release) { _root.TOOLdescription = 'torch'; _root.tooltype = 29; gotoAndStop(1); } } button 4224 { on (release) { _root.TOOLdescription = 'wooden barricade'; _root.tooltype = 30; gotoAndStop(1); } } button 4225 { on (release) { gotoAndStop(1); } } button 4226 { on (release) { _root.TOOLdescription = 'launch pad to the left'; _root.tooltype = 13; gotoAndStop(1); } } button 4227 { on (release) { _root.TOOLdescription = 'launch pad to the right'; _root.tooltype = 12; gotoAndStop(1); } } movieClip 4228 { frame 1 { stop(); onMouseUp = function () { if (_currentframe == 1) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(2); } } else { if (!this.hitTest(_root._xmouse, _root._ymouse, true)) { gotoAndStop(1); } } }; } } button 4234 { on (release) { play(); } } button 4242 { on (release) { _root.LEVEL = 'LARGE'; i = 0; while (i < map.length) { j = 0; while (j < map[0].length) { map[i][j] = 0; ++j; } ++i; } _root.gotoAndStop('EDITOR decision'); _root.MOUSE.removeMovieClip(); _root.editor.removeMovieClip(); } } button 4243 { on (release) { gotoAndStop(1); } } movieClip 4244 { frame 1 { stop(); } frame 2 { stop(); } } button 4247 { on (release) { gotoAndStop(3); } } button 4252 { on (release) { gotoAndStop(1); } } button 4265 { on (release) { play(); VOTE = 1; } } button 4266 { on (release) { play(); VOTE = 2; } } button 4267 { on (release) { play(); VOTE = 3; } } button 4268 { on (release) { play(); VOTE = 4; } } button 4269 { on (release) { play(); VOTE = 5; } } movieClip 4274 { frame 10 { stop(); } instance of movieClip 73 hitBox { onClipEvent (load) { X = _x; startX = _x - _width / 2; WIDTH = _width; _x = 0; _width = 0; } onClipEvent (enterFrame) { if (_root['level_name' + _parent.NUMBER] != undefined) { RATING = _root['vote_average' + _parent.NUMBER]; targetX = startX + (WIDTH / 2 / 5) * RATING; targetWIDTH = (WIDTH / 5) * RATING; _x = _x - (_x - targetX) / 5; _width = _width - (_width - targetWIDTH) / 5; } } } frame 11 { id = _root['id' + NUMBER]; TARGET = 'http://tinybuildgames.com/api/index.php?action=votelevel&id=' + id + '&vote=' + VOTE; trace(TARGET); var LOAD = new LoadVars(); LOAD.load(TARGET); } frame 19 { stop(); } } movieClip 4278 { frame 1 { stop(); onEnterFrame = function () { if (seconds < 50) { ++seconds; } if (seconds == 44) { if (_root['level_name' + NUMBER] == undefined || _root['level_name' + NUMBER] == null || _root['level_code' + NUMBER] == undefined || _root['level_code' + NUMBER] == null) { gotoAndStop(3); } } if (seconds == 45 && _currentframe <= 2) { map = JSON.parse(_root['level_code' + NUMBER]); if (map != null && map != undefined) { gotoAndStop(2); this.createEmptyMovieClip('Background', 1); i = 0; while (i < map.length) { j = 0; while (j < map[0].length) { if (map[i][j] != 0 && map[i][j] != 5) { Background.attachMovie('tile', 'tile' + i * map[0].length + j, i * map[0].length + j); Background['tile' + i * map[0].length + j]._x = j * 30; Background['tile' + i * map[0].length + j]._y = i * 30; Background['tile' + i * map[0].length + j].gotoAndStop(map[i][j]); Background['tile' + i * map[0].length + j].i = i; Background['tile' + i * map[0].length + j].j = j; Background['tile' + i * map[0].length + j]._xscale = 120; Background['tile' + i * map[0].length + j]._yscale = 120; } ++j; } ++i; } myColor = new Color(Background); myColorTransform = new Object(); myColorTransform = {'rb': -300, 'gb': -300, 'bb': -300}; myColor.setTransform(myColorTransform); Background._width = WIDTH; Background._height = HEIGHT; var v3 = new flash.display.BitmapData(WIDTH, HEIGHT, true, 13421772); i = 0; while (i < 10) { v3.draw(this); ++i; } Background.removeMovieClip(); this.attachBitmap(v3, 1); this.cacheAsBitmap(); } } if (seconds == 47 && _currentframe == 1) { gotoAndStop(3); } }; } } button 4284 { on (release) { _parent.pageCount = 1; _parent.TYPE = 'top'; _parent.ORDER = 'highest_rate'; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + _parent.TYPE + '&order=highest_rate&limit=10&page=1'); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { _parent['thumb' + i].seconds = 10; _parent['thumb' + i].gotoAndStop(1); ++i; } _parent.gotoAndPlay('refresh'); gotoAndStop(3); } } button 4285 { on (release) { _parent.pageCount = 1; _parent.TYPE = 'my'; _parent.ORDER = 'added_time'; _parent.USERsearch = _root.unEncodedUsername; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + _parent.TYPE + '&order=highest_rate&limit=5&page=' + _parent.pageCount + '&username=' + _root.unEncodedUsername); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { _parent['thumb' + i].seconds = 10; _parent['thumb' + i].gotoAndStop(1); ++i; } _parent.gotoAndPlay('refresh'); gotoAndStop(4); } } button 4286 { on (release) { _parent.pageCount = 1; _parent.TYPE = 'top'; _parent.ORDER = 'added_time'; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + _parent.TYPE + '&order=' + _parent.ORDER + '&limit=10&page=1'); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; _parent.gotoAndPlay('refresh'); gotoAndStop(2); } } button 4287 { on (release) { _parent.pageCount = 1; _parent.TYPE = 'my'; _parent.ORDER = 'added_time'; _parent.gotoAndStop('search'); gotoAndStop(5); } } movieClip 4295 { frame 1 { stop(); if (_parent.TYPE == 'top' && _parent.ORDER == 'added_time') { gotoAndStop(2); } if (_parent.TYPE == 'top' && _parent.ORDER == 'highest_rate') { gotoAndStop(3); } if (_parent.TYPE == 'my' && _parent.ORDER == 'added_time') { gotoAndStop(4); } } } button 4298 { on (release) { if (_root.level_name0 == undefined || _root.level_name0 == null || _root.level_code0 == undefined || _root.level_code0 == null) { } else { _root.map = JSON.parse(_root.level_code0); _root.UNIVERSE = _root.universe0; _root.GUYtype = _root.guy_type0; _root.username = _root.username0; _root.EDITING = false; _root.TESTING = true; _root.gotoAndPlay('reset'); } } } button 4299 { on (release) { if (_root.level_name1 == undefined || _root.level_name1 == null || _root.level_code1 == undefined || _root.level_code1 == null) { } else { _root.map = JSON.parse(_root.level_code1); _root.UNIVERSE = _root.universe1; _root.GUYtype = _root.guy_type1; _root.username = _root.username1; _root.EDITING = false; _root.TESTING = true; _root.gotoAndPlay('reset'); } } } button 4300 { on (release) { if (_root.level_name2 == undefined || _root.level_name2 == null || _root.level_code2 == undefined || _root.level_code2 == null) { } else { _root.map = JSON.parse(_root.level_code2); _root.UNIVERSE = _root.universe2; _root.GUYtype = _root.guy_type2; _root.username = _root.username2; _root.EDITING = false; _root.TESTING = true; _root.gotoAndPlay('reset'); } } } button 4301 { on (release) { if (_root.level_name3 == undefined || _root.level_name3 == null || _root.level_code3 == undefined || _root.level_code3 == null) { } else { _root.map = JSON.parse(_root.level_code3); _root.UNIVERSE = _root.universe3; _root.GUYtype = _root.guy_type3; _root.username = _root.username3; _root.EDITING = false; _root.TESTING = true; _root.gotoAndPlay('reset'); } } } button 4302 { on (release) { if (_root.level_name4 == undefined || _root.level_name4 == null || _root.level_code4 == undefined || _root.level_code4 == null) { } else { _root.map = JSON.parse(_root.level_code4); _root.UNIVERSE = _root.universe4; _root.GUYtype = _root.guy_type4; _root.username = _root.username4; _root.EDITING = false; _root.TESTING = true; _root.gotoAndPlay('reset'); } } } button 4308 { on (release) { if (_root.username4 != ' ') { _parent.pageCount += 1; _parent.gotoAndPlay(2); _parent.seconds = 30; } } } button 4309 { on (release) { if (_parent.pageCount > 1) { _parent.pageCount -= 1; _parent.gotoAndPlay(2); _parent.seconds = 30; } } } button 4310 { on (release) { if (_parent.pageCount > 1) { _parent.pageCount -= 2; _parent.gotoAndPlay(2); _parent.seconds = 30; } } } movieClip 4311 { frame 1 { PAGEminus2 = _parent.pageCount - 2; if (PAGEminus2 <= 0) { PAGEminus2 = ''; } PAGEminus1 = _parent.pageCount - 1; if (PAGEminus1 <= 0) { PAGEminus1 = '...'; } PAGE = _parent.pageCount; PAGEplus1 = _parent.pageCount + 1; PAGEplus2 = _parent.pageCount + 2; if (_root.username4 == ' ') { PAGEplus1 = ''; PAGEplus2 = ''; } } } button 4312 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; USERsearch = _root.username0; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { this['thumb' + i].seconds = 10; this['thumb' + i].gotoAndStop(1); ++i; } } } button 4313 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; USERsearch = _root.username1; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { this['thumb' + i].seconds = 10; this['thumb' + i].gotoAndStop(1); ++i; } } } button 4314 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; USERsearch = _root.username2; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { this['thumb' + i].seconds = 10; this['thumb' + i].gotoAndStop(1); ++i; } } } button 4315 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; USERsearch = _root.username3; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { this['thumb' + i].seconds = 10; this['thumb' + i].gotoAndStop(1); ++i; } } } button 4316 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; USERsearch = _root.username4; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; i = 0; while (i < 4) { this['thumb' + i].seconds = 10; this['thumb' + i].gotoAndStop(1); ++i; } } } button 4321 { on (release) { pageCount = 1; TYPE = 'my'; ORDER = 'added_time'; var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=highest_rate&limit=5&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; ++i; } }; gotoAndPlay(2); } } movieClip 4322 { frame 1 { stop(); USERsearch = _root.unEncodedUsername; TYPE = 'top'; ORDER = 'added_time'; } frame 3 { stop(); var myPHP = new LoadVars(); myPHP.load('http://tinybuildgames.com/api/index.php?action=levels&type=' + TYPE + '&order=' + ORDER + '&limit=10&page=' + pageCount + '&username=' + USERsearch); myPHP.onLoad = function () { a = unescape(this.toString()); returned_stuff = (a.split('=&'))[0]; var v3 = JSON.parse(returned_stuff); var v4 = JSON.stringify(v3); i = 0; while (i < 5) { _root['level_name' + i] = v3[i].level_name; if (_root['level_name' + i] == 'undefined') { _root['level_name' + i] = ' '; } _root['id' + i] = v3[i].id; _root['username' + i] = v3[i].username; if (_root['username' + i] == 'undefined') { _root['username' + i] = ' '; } _root['vote_average' + i] = v3[i].vote_average; _root['level_code' + i] = v3[i].level_code; _root['universe' + i] = v3[i].universe; if (_root['universe' + i] == null) { _root['universe' + i] = 'forest'; } _root['guy_type' + i] = v3[i].guy_type; if (_root['guy_type' + i] == null) { _root['guy_type' + i] = 1; } ++i; } }; seconds = 0; onEnterFrame = function () { i = 0; while (i < 5) { if (_root['level_name' + i] == undefined) { _root['level_name' + i] = ' '; } if (_root['username' + i] == undefined) { _root['username' + i] = ' '; } ++i; } }; } instance of movieClip 4274 { onClipEvent (load) { NUMBER = 0; } } instance of movieClip 4274 { onClipEvent (load) { NUMBER = 1; } } instance of movieClip 4274 { onClipEvent (load) { NUMBER = 2; } } instance of movieClip 4274 { onClipEvent (load) { NUMBER = 3; } } instance thumb0 of movieClip 4278 { onClipEvent (load) { seconds = 0; NUMBER = 0; WIDTH = _width; HEIGHT = _height; } } instance thumb1 of movieClip 4278 { onClipEvent (load) { seconds = 0; NUMBER = 1; WIDTH = _width; HEIGHT = _height; } } instance thumb2 of movieClip 4278 { onClipEvent (load) { seconds = 0; NUMBER = 2; WIDTH = _width; HEIGHT = _height; } } instance thumb3 of movieClip 4278 { onClipEvent (load) { seconds = 0; NUMBER = 3; WIDTH = _width; HEIGHT = _height; } } instance thumb4 of movieClip 4278 { onClipEvent (load) { seconds = 0; NUMBER = 4; WIDTH = _width; HEIGHT = _height; } } instance of movieClip 4274 { onClipEvent (load) { NUMBER = 4; } } } button 4327 { on (release) { _root.LEVEL = 'level select'; _root.TESTING = false; _root.EDITING = false; _root.play(); } } button 4335 { on (release) { MAP = '['; iMax = Math.round(_root.STAGE._height / 30); jMax = Math.round(_root.STAGE._width / 30); i = 0; while (i < iMax) { if (i > 0) { MAP += ','; } MAP += '['; j = 0; while (j < jMax) { if (j > 0) { MAP += ','; } if (_root.levelBorder) { if (i < 2 || i > iMax - 3 || j < 2 || j > jMax - 3) { MAP += '2'; } else { MAP += '0'; } } else { MAP += '0'; } ++j; } MAP += ']'; ++i; } MAP += ']'; _root.map = JSON.parse(MAP); _root.gotoAndStop('EDITOR'); } } movieClip 4337 { frame 1 { stop(); onEnterFrame = function () { _x = _root.cam._x; _y = _root.cam._y; _xscale = _root.cam._xscale; _yscale = _xscale; if (!_root.EDITING) { this.removeMovieClip(); } }; this.swapDepths(900); } instance ICON of movieClip 4097 forest tile { onClipEvent (enterFrame) { gotoAndStop(_root.tooltype); if (_root.tooltype == null) { gotoAndStop(5); } } } instance of movieClip 4143 { onClipEvent (load) { if (!_root.EDITING) { this.swapDepths(999); this.removeMovieClip(); } } } instance zoomer of movieClip 4152 { onClipEvent (load) { Y = _y; X = _x; _y = _y + 100; } } instance of movieClip 4322 { onClipEvent (load) { pageCount = 1; } } instance zoomer of movieClip 4152 { onClipEvent (load) { Y = _y; X = _x; _y = _y + 200; } } instance TICKbox of movieClip 3272 { onClipEvent (enterFrame) { if (_currentframe == 1) { _root.levelBorder = false; } else { _root.levelBorder = true; } } } } instance editor of movieClip 4337 { onClipEvent (load) { FRAME = _root._currentframe; } onClipEvent (enterFrame) { if (_root._currentframe != FRAME) { this.removeMovieClip(); } if (!_root.CLICKING) { if (_x < 1500) { if (_root._xmouse > _x + 200 * _xscale / 100) { _x = _x - (_x - _root._xmouse + 200 * _xscale / 100) / 5; } } if (_x > 600) { if (_root._xmouse < _x - 200 * _xscale / 100) { _x = _x - (_x - _root._xmouse - 200 * _xscale / 100) / 5; } } } } } movieClip 4339 { frame 1 { var copyrightNotice = 'Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net'; var reanimator = new flash.geom.Transform(this); var camera = new flash.geom.Transform(this._parent); _visible = false; var w = Stage.width; var h = Stage.height; this.onEnterFrame = function () { this._parent.filters = this.filters; var v2 = reanimator.matrix; camera.colorTransform = reanimator.colorTransform; v2.invert(); v2.translate(w * 0.5, h * 0.5); camera.matrix = v2; }; } } instance cam of movieClip 4339 { onClipEvent (enterFrame) { if (_x > 1500) { _x = 1500; } if (_x < 200) { _x = 200; } if (_y > 1000) { _y = 1000; } if (_y < 150) { _y = 150; } if (Key.isDown(39) || Key.isDown(_root.RIGHT)) { _x = _x + _xscale / 10; } if (Key.isDown(37) || Key.isDown(_root.LEFT)) { _x = _x - _xscale / 10; } if (Key.isDown(40) || Key.isDown(_root.DOWN)) { _y = _y + _yscale / 10; } if (Key.isDown(38) || Key.isDown(_root.UP)) { _y = _y - _yscale / 10; } _xscale = 100 + Math.round(_root.editor.zoomer._y - _root.editor.zoomer.Y) * 2; _yscale = _xscale; } } movieClip 4340 { } frame 4 { var urlString = _root._url; if (urlString.indexOf('http') != -1) { gotoAndStop('sitelock'); } if (LEVEL == 'level select') { map = [[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,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, 5, 5], [5, 5, 5, 5, 15, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 5, 5, 5, 9, 9, 19, 19, 19, 19, 19, 19, 19, 1, 1, 1, 17, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 5, 5, 5, 5, 9, 19, 19, 19, 19, 19, 19, 19, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 17, 19, 19, 8, 5, 5, 5, 5, 9, 9, 19, 19, 19, 19, 5, 5, 17, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 17, 19, 19, 8, 5, 5, 5, 5, 5, 9, 9, 9, 9, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 16, 17, 19, 8, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,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 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 5, 5, 5, 5, 5, 5, 0, 0, 0], [0, 0, 0, 0, 15, 0, 0, 0, 5, 5, 0, 0, 0, 6, 6, 6, 6, 6, 19, 19, 19, 19, 0, 6, 6, 6, 6, 6, 0, 0, 19, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 9, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 9, 9, 9, 9, 9, 9, 6, 6, 6, 6, 11, 19, 19, 19, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 19, 19, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5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1, 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; } if (LEVEL == 12) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 8, 8, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; } if (LEVEL == 13) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; } if (LEVEL == 14) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 8, 8, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 8, 8, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 10, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 8, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 9, 9, 9, 9, 9, 9, 9, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 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0], [19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 15, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 11, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 8, 8, 8, 8, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0]]; } if (LEVEL == 17) { map = [[19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 15, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 9, 9, 9, 9, 9, 9, 19, 19, 6, 6, 6, 6, 6, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 6, 6, 6, 6, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6, 6, 6, 6, 19, 6, 6, 6, 6, 6, 6, 6, 6, 11, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 8, 8, 8, 8, 8, 19, 19, 19, 6, 6, 6, 6, 6, 6, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 6, 6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 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 17, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 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 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 20, 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, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1], [2, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1,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 20, 20, 20, 20, 2, 3, 0, 0, 11, 1, 10, 6, 6, 6, 20, 20, 20, 20, 20, 20, 1, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 11, 1, 10, 20, 20, 2, 2, 2, 16, 20, 20, 20, 1, 6, 6, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 11, 1, 10, 20, 20, 11, 2, 2, 20, 20, 20, 20, 1, 6, 6, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20, 20, 20, 20, 20, 20, 2, 10, 20, 20, 20, 20, 20, 20, 20, 11, 2, 2, 20, 20, 20, 20, 20, 20, 20, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 20, 20, 20, 20, 20, 20, 20, 11, 2, 2, 20, 20, 20, 20, 20, 20, 20, 1, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 20, 20, 20, 20, 20, 20, 20, 11, 2, 16, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 3, 0, 0, 0, 0, 0, 4, 2, 2, 0, 0, 0, 0, 0, 0, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 0, 0, 0, 4, 2, 2, 2, 2, 2, 2, 2], [2, 16, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16, 0, 0, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1], [2, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 16, 0, 0, 0, 0, 0, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 16, 20, 20, 11, 1, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 17, 1, 1, 1, 1, 20, 20, 20, 11, 1, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 17, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 20, 20, 20, 8, 8, 8, 8, 8, 8, 1, 20, 20, 20, 17, 1, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 20, 20, 20, 11, 1, 1, 1, 1, 1, 1, 16, 20, 20, 20, 20, 17, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1], [2, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 9, 9, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 1, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 17, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 8, 8, 8, 8, 8, 8, 20, 20, 11, 1, 16, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 8, 8, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 8, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 17, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 18, 20, 20, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1], [1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 1], [1, 20, 20, 20, 20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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6], [2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 2, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 20, 20, 20, 20, 20, 20, 20, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 2, 20, 20, 20, 20, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 20, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 20, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 20, 20, 20, 1, 1, 1, 2, 2, 2, 20, 20, 20, 20, 20, 2, 2, 2, 2, 2, 10, 20, 11, 1, 10, 20, 11, 2, 2, 2, 2, 20, 20, 20, 20, 2, 2], [2, 2, 2, 2, 1, 20, 20, 1, 1, 1, 2, 2, 2, 3, 20, 20, 20, 4, 2, 2, 2, 2, 2, 10, 20, 1, 1, 1, 6, 11, 2, 2, 2, 2, 20, 20, 20, 20, 1, 1], [2, 2, 2, 2, 1, 1, 20, 1, 1, 1, 2, 2, 2, 1, 3, 20, 4, 1, 1, 1, 1, 2, 2, 10, 20, 1, 1, 1, 20, 11, 2, 2, 2, 16, 20, 20, 20, 20, 1, 1], [2, 2, 2, 2, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 2, 10, 20, 1, 1, 1, 6, 11, 2, 2, 2, 20, 20, 20, 20, 20, 1, 1], [2, 1, 1, 1, 1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 17, 1, 16, 20, 1, 1, 1, 1, 20, 20, 20, 20, 20, 1, 1], [1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 20, 1, 20, 20, 1, 1, 1, 1, 20, 20, 20, 20, 20, 1, 1], [1, 1, 1, 1, 1, 1, 20, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 20, 1, 20, 20, 1, 1, 1, 1, 8, 8, 8, 8, 8, 1, 1], [1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 10, 20, 11, 1, 1, 1, 1, 1, 1, 1, 20, 20, 1, 20, 20, 1, 1, 1, 1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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2], [2, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 11, 2]]; } if (LEVEL == 26) { map = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0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19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 2, 2, 2, 2, 5, 2, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 4, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 5, 5, 5, 5, 5, 18, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 3, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 2, 2, 2, 2]]; } if (LEVEL == 52) { map = [[5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5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2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 2, 2, 2, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5]]; } if (LEVEL == 56) { map = [[19, 19, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2], [19, 19, 2, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 2], [19, 19, 2, 2, 2, 2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19, 19, 16, 5, 5, 5, 17, 19, 19], [2, 2, 2, 2, 2, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 17], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 5, 17, 19, 5, 5, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 2, 2, 2, 2, 5, 5, 5, 5, 2, 2, 3, 5, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 2, 2, 2, 5, 5, 5, 5, 2, 19, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 2, 2, 8, 5, 5, 5, 2, 19, 19, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 2, 2, 5, 5, 5, 5, 11, 19, 19, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 11, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 5, 11, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 2, 2, 2, 8, 5, 5, 5, 5, 5, 5, 5, 8, 8, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 2, 2, 2, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8], [19, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2], [19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2, 19], [16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 2, 2, 2, 19], [5, 5, 5, 5, 18, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 2, 2, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 8, 8, 8, 5, 5, 5, 5, 8, 8, 8, 8, 2, 2, 2, 2, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 3, 5, 5, 4, 2, 2, 2, 2, 2, 2, 19, 19, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19, 19, 19, 19, 19], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 17, 19, 19, 19, 19,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 19, 19, 19, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 1, 1, 1, 1, 1, 1, 19, 19, 19, 19, 1, 1, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 12, 1, 1, 1, 1, 19, 19, 19, 19, 19, 19, 19, 19, 1, 1, 1, 1], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 1, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 5, 15, 5, 5, 5, 5, 5, 5, 5, 12, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19], [19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19]]; } if (LEVEL == 60) { 'down the pipes by Matt1 in spaceship'; map = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 5, 15, 5, 5, 5, 5, 5, 5, 5, 5, 0, 5, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 2, 16, 5, 5, 5, 5, 5, 5, 5, 0, 5, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 2, 2], [2, 2, 1, 5, 5, 5, 1, 1, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 20, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 6, 6, 20, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 20, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 6, 6, 6, 6, 6, 6, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 20, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 1, 5, 5, 5, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 0, 0, 5, 1, 6, 6, 29, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 6, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 5, 5, 1, 6, 6, 19, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 5, 1, 6, 1, 1, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 5, 0, 5, 5, 5, 0, 5, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 0, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 20, 20, 5, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 20, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 5, 5, 5, 6, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 6, 2, 2], [2, 2, 1, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 20, 20, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 30, 30, 30], [2, 2, 1, 8, 8, 8, 8, 8, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 20, 6, 6, 6, 6, 6, 20, 20, 20, 20, 20, 20, 20, 20, 20, 2, 30], [2, 2, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 0, 0, 0, 0, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 29, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1, 2, 30], [2, 2, 1, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 1, 20, 1, 5, 5, 5, 5, 5, 5, 0, 5, 5, 1, 2, 30], [2, 2, 1, 1, 16, 5, 5, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 0, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 0, 5, 0, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 1, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 20, 20, 20, 20, 20, 1, 9, 30], [2, 2, 5, 5, 5, 5, 5, 1, 8, 8, 8, 8, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 30, 30, 30, 30, 30, 30, 30, 30], [2, 2, 5, 5, 17, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 8, 8], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 20, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 2], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 30, 30, 30, 30, 30, 30, 30, 30], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [2, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 6, 6, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [30, 30, 30, 5, 5, 5, 5, 5, 1, 1, 1, 1, 20, 20, 20, 1, 1, 20, 20, 20, 1, 1, 1, 20, 20, 20, 1, 5, 5, 5, 5, 5, 1, 2, 30], [30, 2, 5, 5, 5, 5, 5, 5, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 18, 0, 1, 2, 30], [30, 2, 5, 5, 5, 5, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 5, 5, 5, 5, 0, 1, 2, 30], [30, 2, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 1, 20, 20, 20, 20, 20, 1, 2, 30], [30, 2, 20, 20, 20, 20, 20, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 20, 20, 20, 20, 20, 1, 2, 30], [30, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 30], [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]]; } if (LEVEL == 61) { 'The Man Cave by SpinnerMaster in cave'; map = [[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 10, 5, 5, 5, 5, 5, 23, 5, 5, 5, 5, 9, 9, 9, 9, 9, 9,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 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [22, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [16, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 17, 2, 16, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 5, 11, 2], [5, 5, 11, 2, 10, 5, 5, 5, 5, 5, 5, 5, 5, 11, 2, 10, 5, 0, 11, 2], [15, 5, 11, 2, 10, 5, 5, 5, 5, 5, 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2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 5, 5, 5, 5, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]]; } for (var i in _root) { if (_root[i].getDepth() > 0) { _root[i].removeMovieClip(); } } } frame 5 { var urlString = _root._url; if (urlString.indexOf('http') != -1) { gotoAndStop('sitelock'); } var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); var savefile = SharedObject.getLocal('NoTime'); stop(); _quality = 'MEDIUM'; var RED = new flash.geom.ColorTransform(0, 0, 0, 1, 255, 0, 0, 0); PAUSE = false; Mouse.show(); EDITING = false; if (LEVEL == 39) { gotoAndStop('shooter'); _root.stopAllSounds(); } gravcount = 0; _root['guy' + GUYtype]._name = 'guy'; _root.createEmptyMovieClip('Water', 2); _root.createEmptyMovieClip('Foreground', 3); _root.createEmptyMovieClip('animated', 4); _root.createEmptyMovieClip('ground', 5); ground._visible = false; Water.bubblecount = 0; if (!TESTING) { UNIVERSE = 'forest'; } else { stopAllSounds(); if (Math.random() > 0.5) { Mainthemeslow.start(0, 99); } else { if (Math.random() > 0.5) { Mainthemedance.start(0, 99); } else { if (Math.random() > 0.5) { Mainthememoreguitar.start(0, 99); } else { if (Math.random() > 0.5) { Backtoback.start(0, 99); } else { if (Math.random() > 0.5) { Adrenaline.start(0, 99); } } } } } } if (_root.LEVEL > 39 && LEVEL < 51) { UNIVERSE = 'cave'; this.createEmptyMovieClip('bmp', this.getNextHighestDepth()); var bmpd = new flash.display.BitmapData(2000, 2000, true, 4278190080.0); bmp._alpha = 80; } if (_root.LEVEL > 25 && LEVEL < 39) { UNIVERSE = 'spaceship'; } if (_root.LEVEL == 4 || _root.LEVEL > 50) { UNIVERSE = 'snowy'; } if (LEVEL >= 60 && typeof LEVEL == 'number') { UNIVERSE = 'forest'; GUYtype = 1; } if (LEVEL == 62) { GUYtype = 2; UNIVERSE = 'spaceship'; } if (LEVEL == 66) { UNIVERSE = 'spaceship'; } if (_root.LEVEL == 'meet evil you') { UNIVERSE = 'lair'; stopAllSounds(); } if (LEVEL == 'whipguy level') { UNIVERSE = 'lair'; GUYtype = 4; } if (UNIVERSE == 'spaceship') { this.createEmptyMovieClip('bmp', this.getNextHighestDepth()); var bmpd = new flash.display.BitmapData(2000, 2000, true, 4278190080.0); bmp._alpha = 30; } if (UNIVERSE == 'snowy') { _root.attachMovie('snow', 'snow', _root.getNextHighestDepth()); } _root.cam.EDGE = 0; _root.cam.BOTTOM = 0; i = 0; while (i < map.length) { j = 0; while (j < map[0].length) { if (map[i][j] == 15) { _root.guy._x = j * 30 + 15; _root.guy._y = i * 30; guytype = 0; while (guytype < 10) { _root['guy' + guytype]._x = j * 30 + 15; _root['guy' + guytype]._y = i * 30; ++guytype; } } if (map[i][j] == 0) { map[i][j] = 5; } else { if (map[i][j] != 5 && map[i][j] != 18) { if (_root.cam.EDGE < j * 30 + 30) { _root.cam.EDGE = j * 30 + 30; } if (_root.cam.BOTTOM < i * 30 + 30) { _root.cam.BOTTOM = i * 30 + 30; } } } if (map[i][j] != 15 && map[i][j] != 5 && map[i][j] != 0) { _root.ground.attachMovie('tile', 'tile' + i + ' ' + j, i * map[0].length + j); _root.ground['tile' + i + ' ' + j]._x = j * 30; _root.ground['tile' + i + ' ' + j]._y = i * 30; _root.ground['tile' + i + ' ' + j].gotoAndStop(map[i][j]); if (map[i][j] >= 8 && map[i][j] <= 13 || map[i][j] == 18 || map[i][j] == 20 || map[i][j] == 29) { _root.ground['tile' + i + ' ' + j].removeMovieClip(); } _root.ground['tile' + i + ' ' + j].i = i; _root.ground['tile' + i + ' ' + j].j = j; if (map[i][j] != 20 && map[i][j] != 6 && map[i][j] != 8 && map[i][j] != 9 && map[i][j] != 10 && map[i][j] != 11 && map[i][j] != 12 && map[i][j] != 13 && map[i][j] != 14 && map[i][j] != 18 && map[i][j] != 21 && map[i][j] != 22 && map[i][j] != 23 && map[i][j] != 24 && map[i][j] != 25 && map[i][j] != 26 && map[i][j] != 27 && map[i][j] != 28 && map[i][j] != 30 && map[i][j] != 31) { _root.Foreground.attachMovie(UNIVERSE + ' tile', 'tile' + i + ' ' + j, i * map[0].length + j); _root.Foreground['tile' + i + ' ' + j]._x = j * 30; _root.Foreground['tile' + i + ' ' + j]._y = i * 30; _root.Foreground['tile' + i + ' ' + j].gotoAndStop(map[i][j]); _root.Foreground['tile' + i + ' ' + j].i = i; _root.Foreground['tile' + i + ' ' + j].j = j; } if (map[i][j] == 6 || map[i][j] == 8 || map[i][j] == 9 || map[i][j] == 10 || map[i][j] == 11 || map[i][j] == 12 || map[i][j] == 13 || map[i][j] == 18 || map[i][j] == 21 || map[i][j] == 22 || map[i][j] == 23 || map[i][j] == 24 || map[i][j] == 25 || map[i][j] == 26 || map[i][j] == 27 || map[i][j] == 28 || map[i][j] == 30 || map[i][j] == 31) { _root.animated.attachMovie(UNIVERSE + ' tile', 'tile' + i + ' ' + j, i * map[0].length + j); _root.animated['tile' + i + ' ' + j]._x = j * 30; _root.animated['tile' + i + ' ' + j]._y = i * 30; _root.animated['tile' + i + ' ' + j].gotoAndStop(map[i][j]); _root.animated['tile' + i + ' ' + j].FRAME = map[i][j]; _root.animated['tile' + i + ' ' + j].i = i; _root.animated['tile' + i + ' ' + j].j = j; } if (map[i][j] == 29) { _root.Foreground['tile' + i + ' ' + j].removeMovieClip(); _root.SKY.attachMovie(UNIVERSE + ' tile', 'tile' + i + ' ' + j, _root.SKY.getNextHighestDepth()); _root.SKY['tile' + i + ' ' + j]._x = j * 30; _root.SKY['tile' + i + ' ' + j]._y = i * 30; _root.SKY['tile' + i + ' ' + j].gotoAndStop(map[i][j]); _root.SKY['tile' + i + ' ' + j].FRAME = map[i][j]; _root.SKY['tile' + i + ' ' + j].i = i; _root.SKY['tile' + i + ' ' + j].j = j; } if (map[i][j] == 20) { if (map[i - 1][j] == 0 || map[i - 1][j] == 5) { _root.Water.attachMovie(UNIVERSE + ' tile', 'tile' + i + ' ' + j, i * map[0].length + j); _root.Water['tile' + i + ' ' + j]._x = j * 30; _root.Water['tile' + i + ' ' + j]._y = i * 30; _root.Water['tile' + i + ' ' + j].gotoAndStop(map[i][j]); _root.Water['tile' + i + ' ' + j].FRAME = map[i][j]; _root.Water['tile' + i + ' ' + j].i = i; _root.Water['tile' + i + ' ' + j].j = j; } else { _root.Foreground.attachMovie('water tile still', 'tile' + i + ' ' + j, i * map[0].length + j); _root.Foreground['tile' + i + ' ' + j]._x = j * 30; _root.Foreground['tile' + i + ' ' + j]._y = i * 30; } } else { if (map[i - 1][j] == 20 || map[i][j - 1] == 20 || map[i][j + 1] == 20) { _root.Water.attachMovie('water tile still', 'tile' + i + ' ' + j, i * map[0].length + j); _root.Water['tile' + i + ' ' + j]._x = j * 30; _root.Water['tile' + i + ' ' + j]._y = i * 30; } } if (map[i][j] == 14) { ++gravcount; _root.animated.attachMovie('grav ball', 'grav' + gravcount, i * map[0].length + j); _root.animated['grav' + gravcount]._x = j * 30 + 15; _root.animated['grav' + gravcount]._y = i * 30 + 15; } if (UNIVERSE == 'spaceship') { var matrix = new flash.geom.Matrix(); matrix.translate(j * 30 + 15, i * 30 + 15); bmpd.draw(gradient, matrix, null, 'Add'); } } if (UNIVERSE == 'spaceship' && map[i][j] >= 21 && map[i][j] <= 24) { var matrix = new flash.geom.Matrix(); matrix.translate(j * 30 + 15, i * 30 + 15); bmpd.draw(gradient, matrix, null, 'Erase'); } if (UNIVERSE == 'cave') { if (map[i][j] == 0 || map[i][j] == 5 || map[i][j] == 6 || map[i][j] == 15 || map[i][j] == 30) { var matrix = new flash.geom.Matrix(); matrix.translate(j * 30 + 15, i * 30 + 15); bmpd.draw(BIGgradient, matrix, null, 'erase'); } } ++j; } ++i; } _root.Background.cacheAsBitmap = true; bmpd.applyFilter(bmpd, bmpd.rectangle, new Point(0, 0), new flash.filters.BlurFilter(20, 20, 1)); bmp.attachBitmap(bmpd, 1); FRAME = _currentframe; FOREGROUNDbimtapped = false; onEnterFrame = function () { _root.HATtype = 'pirate'; if (_currentframe == FRAME) { if (Key.isDown(27) || Key.isDown(80)) { if (!ESCdown) { ESCdown = true; if (!PAUSE) { PAUSE = true; _root.attachMovie('PAUSE menu', 'PAUSEmenu', _root.getNextHighestDepth()); _root.PAUSEmenu._x = _root.cam._x; _root.PAUSEmenu._y = _root.cam._y; } else { PAUSE = false; _root.PAUSEmenu.removeMovieClip(); } } } else { ESCdown = false; } } if (_currentframe != FRAME) { ground.removeMovieClip(); Background.removeMovieClip(); Foreground.removeMovieClip(); animated.removeMovieClip(); Water.removeMovieClip(); } if (LEVEL == 40) { ++ironfistseconds; if (ironfistseconds == 50) { _root.IronFist.start(0, 99); } } Foreground._rotation = ground._rotation; Foreground._x = ground._x; Foreground._y = ground._y; animated._rotation = ground._rotation; animated._x = ground._x; animated._y = ground._y; Water._rotation = ground._rotation; Water._x = ground._x; Water._y = ground._y; SKY._rotation = ground._rotation; SKY._x = ground._x; SKY._y = ground._y; bmp._rotation = ground._rotation; bmp._x = ground._x; bmp._y = ground._y; if (_root.BOSSfight == 'shark' || _root.BOSSfight == 'ship inside' || _root.BOSSfight == 'weasel') { groundBitmap.draw(CLEAR); groundBitmap.draw(_root.ground); } if (ground._rotation != oldRotation && oldRotation != null) { _root.attachMovie('hitBox', 'CLEAR', 100); _root.CLEAR.attachMovie('clock body', 'CLEAR', 1); CLEAR.CLEAR._width = 6000; CLEAR.CLEAR._height = 6000; var v2 = new flash.geom.Matrix(); groundBitmap.draw(CLEAR, v2, null, 'erase'); v2.rotate((ground._rotation / 180) * Math.PI); v2.translate(ground._x, ground._y); groundBitmap.draw(ground, v2, null); _root.guy.DANCING = false; } oldRotation = ground._rotation; if (!FOREGROUNDbimtapped) { myBitmapData.draw(_root.Foreground); Foreground.removeMovieClip(); _root.createEmptyMovieClip('Foreground', 3); _root.Foreground.attachBitmap(myBitmapData, 1); FOREGROUNDbimtapped = true; } if (UNIVERSE == 'lair') { var v3 = new flash.display.BitmapData(_root.cam._width, _root.cam._height, true, 4278190080.0); v2 = new flash.geom.Matrix(); v2.translate(_root.guy._x - _root.cam._x + _root.cam._width / 2, _root.guy._y - _root.cam._y + _root.cam._height / 2 - 15); v3.draw(BIGgradient, v2, null, 'erase'); DARKNESS.attachBitmap(v3, 1); DARKNESS._x = _root.cam._x - _root.cam._width / 2; DARKNESS._y = _root.cam._y - _root.cam._height / 2; } if (_root.LEVEL == 25) { _root.Foreground._y = -150; } }; if (!TESTING) { if (typeof LEVEL == 'number') { if (LEVEL <= 25) { i = 0; while (i < 20) { _root.Background.attachMovie('bush', 'bush' + i, Background.getNextHighestDepth()); _root.Background['bush' + i]._x = 100 * i; if (i == 0) { _root.Background['bush' + i]._y = 300; } if (Math.random() > 0.5) { _root.Background['bush' + i]._xscale = -100; } _root.Background['bush' + i]._y = _root.Background['bush' + (i - 1)]._y + 20 - Math.random() * 40; if (i / 3 == Math.round(i / 3)) { _root.Background.attachMovie('cloud', 'cloud' + i, Background.getNextHighestDepth()); _root.Background['cloud' + i]._x = 100 * i; if (i == 0) { _root.Background['cloud' + i]._y = 90; } if (Math.random() > 0.5) { _root.Background['cloud' + i]._xscale = -100; } _root.Background['cloud' + i]._y = _root.Background['cloud' + (i - 3)]._y + 20 - Math.random() * 40; } ++i; } } } if (LEVEL > 2 && LEVEL < 5) { _root.attachMovie('intro titles', 'titles', _root.getNextHighestDepth()); } if (LEVEL == 1) { _root.PORTAL = 'level1'; if (SaveData.indexOf('h9') == -1) { if (savefile.data.h9 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 60; _root.HAT._y = 60; _root.HAT.HATnumber = 9; } } _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 390; _root.guy._x = _root.Background.house._x + 100; _root.guy._y = _root.Background.house._y; _root.Background.attachMovie('house inside', 'house inside', Background.getNextHighestDepth()); _root.Background.house inside._x = 0; _root.Background.house inside._y = 390; _root.Foreground._visible = false; _root.ground.attachMovie('house hitBox', 'house hitBox', _root.ground.getNextHighestDepth()); _root.ground.house hitBox._x = _root.Background.house._x; _root.ground.house hitBox._y = _root.Background.house._y; _root.attachMovie('tutorial screen', 'tut', _root.getNextHighestDepth()); } else { if (typeof LEVEL == 'number' && LEVEL != 40 && LEVEL != 2 && LEVEL != 51) { if (LEVEL < 60) { _root.guy._y -= 100; } _root.guy._visible = false; _root.animated.attachMovie('time burst', 'time burst', animated.getNextHighestDepth()); _root.animated.time burst._x = _root.guy._x + 5; _root.animated.time burst._y = _root.guy._y - 10; } if (LEVEL == 'level select') { _root.guy._y -= 100; _root.guy._visible = false; _root.animated.attachMovie('time burst', 'time burst', animated.getNextHighestDepth()); _root.animated.time burst._x = _root.guy._x; _root.animated.time burst._y = _root.guy._y; } } if (LEVEL == 2) { _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 390; _root.guy._x = _root.Background.house._x + 100; _root.guy._y = _root.Background.house._y; _root.Background.attachMovie('house inside', 'house inside', Background.getNextHighestDepth()); _root.Background.house inside._x = 0; _root.Background.house inside._y = 390; _root.Background.house inside.SMASH.gotoAndStop(350); _root.Foreground._visible = false; _root.ground.attachMovie('house hitBox', 'house hitBox', _root.ground.getNextHighestDepth()); _root.ground.house hitBox._x = _root.Background.house._x; _root.ground.house hitBox._y = _root.Background.house._y; } if (LEVEL > 2 && LEVEL <= 5 && typeof LEVEL == 'number') { _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 390; _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 50; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; if (LEVEL == 3) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 690; _root.HAT._y = -90; _root.HAT.HATnumber = 4; _root.Foreground.attachMovie('black fence', 'fence', Foreground.getNextHighestDepth()); _root.Foreground.fence._x = 270; _root.Foreground.fence._y = 390; _root.Background.attachMovie('money vault', 'vault', _root.Background.getNextHighestDepth()); _root.Background.vault._x = 690; _root.Background.vault._y = 360; _root.Background.vault._alpha = 60; _root.Background.attachMovie('pile of coins', 'coins', _root.Background.getNextHighestDepth()); _root.Background.coins._x = 750; _root.Background.coins._y = 390; _root.Background.attachMovie('pile of coins', 'coins2', _root.Background.getNextHighestDepth()); _root.Background.coins2._x = 330; _root.Background.coins2._y = 330; _root.Background.attachMovie('pile of coins', 'coins3', _root.Background.getNextHighestDepth()); _root.Background.coins3._x = 900; _root.Background.coins3._y = 480; _root.Background.attachMovie('pile of coins', 'coins4', _root.Background.getNextHighestDepth()); _root.Background.coins4._x = 1020; _root.Background.coins4._y = 540; _root.Background.attachMovie('pile of coins', 'coins5', _root.Background.getNextHighestDepth()); _root.Background.coins5._x = 900; _root.Background.coins5._y = 600; _root.Background.attachMovie('pile of coins', 'coins6', _root.Background.getNextHighestDepth()); _root.Background.coins6._x = 1050; _root.Background.coins6._y = 600; _root.Background.attachMovie('pile of coins', 'coins7', _root.Background.getNextHighestDepth()); _root.Background.coins7._x = 1290; _root.Background.coins7._y = 480; } if (LEVEL == 4) { i = 0; while (i < 20) { _root.Background['bush' + i].gotoAndStop(2); ++i; } } } if (LEVEL == 5) { _root.Mainthemedance.stop(); _root.Background.cacheAsBitmap = false; _root.Foreground.cacheAsBitmap = false; _root.ground.cacheAsBitmap = false; i = 0; while (i < 20) { _root.Background['cloud' + i].removeMovieClip(); _root.Background['bush' + i].gotoAndStop(2); if (i == 12) { _root.Background['bush' + i].gotoAndStop(6); _root.Background['bush' + i]._y = 330; } ++i; } _root.Background.attachMovie('background city', 'background city', 1); _root.Background.background city._x = 1200; _root.Background.background city._y = 510; _root.Background.background city._alpha = 80; _root.Background.attachMovie('ship', 'ship', _root.Background.getNextHighestDepth()); _root.Background.ship._x = 1200; _root.Background.ship._y = 0; _root.attachMovie('hitBox', 'ship', _root.getNextHighestDepth()); _root.ship.attachMovie('ship body', 'body', _root.ship.getNextHighestDepth()); _root.attachMovie('hitBox', 'biggership', _root.getNextHighestDepth()); _root.biggership.attachMovie('ship body', 'body2', _root.ship.getNextHighestDepth()); ship._visible = true; biggership._visible = true; _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 390; _root.Background.house.gotoAndStop(2); _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._x = _root.Background.house._x + _root.Background.house._width / 3; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._width = _root.Background.house._width; _root.ground.house._height = _root.Background.house._height; } if (LEVEL == 6) { _root.PORTAL = 'level2'; Mainthememoreguitar.start(0, 99); _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1410; _root.HAT._y = 570; _root.HAT.HATnumber = 7; } if (LEVEL >= 6 && LEVEL <= 7 && typeof LEVEL == 'number') { i = 0; while (i < 5) { _root.Background.attachMovie('tree', 'tree' + i, Background.getNextHighestDepth()); _root.Background['tree' + i]._x = i * 50 + Math.random() * 20; _root.Background['tree' + i]._y = 300 + Math.random() * 10; if (LEVEL == 7) { _root.Background['tree' + i].gotoAndStop(3); } ++i; } if (LEVEL == 7) { _root.Background.attachMovie('fence', 'fence', Background.getNextHighestDepth()); _root.Background.fence._y = 300; } } if (LEVEL == 8) { if (SaveData.indexOf('h3') == -1) { if (savefile.data.h3 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 840; _root.HAT._y = 60; _root.HAT.HATnumber = 3; } } } if (LEVEL == 9) { if (SaveData.indexOf('h2') == -1) { if (savefile.data.h2 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 270; _root.HAT._y = -120; _root.HAT.HATnumber = 2; } } } if (LEVEL == 10) { if (SaveData.indexOf('h11') == -1) { if (savefile.data.h11 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 930; _root.HAT._y = 180; _root.HAT.HATnumber = 11; } } } if (LEVEL == 11) { if (SaveData.indexOf('h17') == -1) { if (savefile.data.h17 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 510; _root.HAT._y = 60; _root.HAT.HATnumber = 17; } } } if (LEVEL == 14) { if (SaveData.indexOf('h12') == -1) { if (savefile.data.h12 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 900; _root.HAT._y = 0; _root.HAT.HATnumber = 12; } } } if (LEVEL == 15) { if (SaveData.indexOf('h5') == -1) { if (savefile.data.h5 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 780; _root.HAT._y = -120; _root.HAT.HATnumber = 5; } } } if (LEVEL == 17) { if (SaveData.indexOf('h8') == -1) { if (savefile.data.h8 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 150; _root.HAT._y = -300; _root.HAT.HATnumber = 8; } } } if (LEVEL == 19) { if (SaveData.indexOf('h15') == -1) { if (savefile.data.h15 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 90; _root.HAT._y = 780; _root.HAT.HATnumber = 15; } } } if (LEVEL == 22) { if (SaveData.indexOf('h9') == -1) { if (savefile.data.h9 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 870; _root.HAT._y = 90; _root.HAT.HATnumber = 9; } } } if (LEVEL == 23) { if (SaveData.indexOf('h14') == -1) { if (savefile.data.h14 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1050; _root.HAT._y = 570; _root.HAT.HATnumber = 14; } } } if (LEVEL == 24) { if (SaveData.indexOf('h16') == -1) { if (savefile.data.h16 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1320; _root.HAT._y = 810; _root.HAT.HATnumber = 16; } } } if (LEVEL == 26) { if (SaveData.indexOf('h10') == -1) { if (savefile.data.h10 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1230; _root.HAT._y = 630; _root.HAT.HATnumber = 10; } } } if (LEVEL == 27) { if (SaveData.indexOf('h18') == -1) { if (savefile.data.h18 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1650; _root.HAT._y = 390; _root.HAT.HATnumber = 18; } } } if (LEVEL == 28) { if (SaveData.indexOf('h13') == -1) { if (savefile.data.h13 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1155; _root.HAT._y = 360; _root.HAT.HATnumber = 13; } } } if (LEVEL == 30) { if (SaveData.indexOf('h19') == -1) { if (savefile.data.h19 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 30; _root.HAT._y = 360; _root.HAT.HATnumber = 19; } } } if (LEVEL == 32) { if (SaveData.indexOf('h14') == -1) { if (savefile.data.h14 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 480; _root.HAT._y = 420; _root.HAT.HATnumber = 25; } } } if (LEVEL == 33) { if (SaveData.indexOf('h23') == -1) { if (savefile.data.h23 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 270; _root.HAT._y = 600; _root.HAT.HATnumber = 23; } } } if (LEVEL == 34) { if (SaveData.indexOf('h21') == -1) { if (savefile.data.h21 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 210; _root.HAT._y = 570; _root.HAT.HATnumber = 21; } } } if (LEVEL == 35) { if (SaveData.indexOf('h20') == -1) { if (savefile.data.h20 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 180; _root.HAT._y = 540; _root.HAT.HATnumber = 20; } } } if (LEVEL == 36) { if (SaveData.indexOf('h24') == -1) { if (savefile.data.h24 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 540; _root.HAT._y = -180; _root.HAT.HATnumber = 24; } } } if (LEVEL == 40) { if (SaveData.indexOf('h22') == -1) { if (savefile.data.h22 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 330; _root.HAT._y = 150; _root.HAT.HATnumber = 22; } } } if (LEVEL == 45) { if (SaveData.indexOf('h6') == -1) { if (savefile.data.h6 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 780; _root.HAT._y = -150; _root.HAT.HATnumber = 6; } } } if (LEVEL == 47) { if (SaveData.indexOf('h28') == -1) { if (savefile.data.h28 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 120; _root.HAT._y = 450; _root.HAT.HATnumber = 28; } } } if (LEVEL == 54) { if (SaveData.indexOf('h27') == -1) { if (savefile.data.h27 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 540; _root.HAT._y = 60; _root.HAT.HATnumber = 27; } } } if (LEVEL == 56) { if (SaveData.indexOf('h29') == -1) { if (savefile.data.h29 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 1080; _root.HAT._y = 660; _root.HAT.HATnumber = 29; } } } if (LEVEL == 57) { if (SaveData.indexOf('h26') == -1) { if (savefile.data.h26 != 1) { _root.attachMovie('HAT pickup', 'HAT', _root.getNextHighestDepth()); _root.HAT._x = 690; _root.HAT._y = 570; _root.HAT.HATnumber = 26; } } } if (LEVEL >= 8 && LEVEL <= 13 && typeof LEVEL == 'number') { if (LEVEL < 12) { _root.Background.attachMovie('Paper Corp', 'Paper Corp', Background.getNextHighestDepth()); _root.Background.Paper Corp._y = 360; } i = 0; while (i < 20) { _root.Background['bush' + i].gotoAndStop(2); if (LEVEL >= 9) { _root.Background['bush' + i].gotoAndStop(3); if (i / 2 == Math.round(i / 2)) { _root.Background.attachMovie('industrail building', 'industrail building' + i, Background.getNextHighestDepth()); _root.Background['industrail building' + i]._x = i * 100; _root.Background['industrail building' + i]._y = 750; } } if (LEVEL == 12) { _root.PORTAL = 'level3'; _root.Background['bush' + i]._y -= 50; _root.Background['bush' + i].gotoAndStop(4); _root.stopAllSounds(); } if (LEVEL == 13 || LEVEL == 14) { _root.Background['bush' + i].gotoAndStop(5); _root.Background['bush' + i]._y = 150; if (i > 15) { _root.Background['bush' + i].removeMovieClip(); } } if (i / 2 != Math.round(i / 2)) { _root.Background.attachMovie('industrail building darker', 'industrail building' + i, Background.getNextHighestDepth()); _root.Background['industrail building' + i]._x = i * 100; _root.Background['industrail building' + i]._y = 840; _root.Background['industrail building' + i].DARKER = true; } ++i; } if (LEVEL == 12) { _root.attachMovie('character swap', 'hitBox', _root.getNextHighestDepth()); _root.hitBox._x = 270; _root.hitBox._y = 360; } } if (LEVEL == 19) { _root.PORTAL = 'level4'; Adrenaline.start(0, 99); } if (LEVEL == 25) { _root.stopAllSounds(); Adrenaline.stop(); _root.FireRush.start(0, 99); _root.Background.attachMovie('background cruise ship', 'ship', _root.Background.getNextHighestDepth()); _root.Background.ship._x = 0; _root.Background.ship._y = 90; _root.Background.attachMovie('background cruise ship', 'ship2', _root.Background.getNextHighestDepth()); _root.Background.ship2._x = 1020; _root.Background.ship2._y = 210; _root.Background.ship2._xscale = -50; _root.Background.ship2._yscale = 50; _root.Background.attachMovie('Background docks', 'docks', _root.Background.getNextHighestDepth()); _root.Background.docks._x = 0; _root.Background.docks._y = 300; _root.BOSSfight = 'shark'; _root.attachMovie('hitBox', 'CLEAR', _root.getNextHighestDepth()); _root.CLEAR.attachMovie('clock body', 'CLEAR', 1); CLEAR.CLEAR._width = 5000; CLEAR.CLEAR._height = 5000; _root.Background.cacheAsBitmap = false; _root.ground.cacheAsBitmap = false; _root.Background.attachMovie('shark', 'shark', _root.Background.getNextHighestDepth()); _root.ground.attachMovie('hitBox', 'shark', _root.ground.getNextHighestDepth()); _root.ground.shark._xscale = 800; _root.ground.shark._yscale = 500; _root.attachMovie('boat', 'boatL', _root.getNextHighestDepth()); _root.boatL._x = 270; _root.boatL._y = 300; _root.ground.attachMovie('boat ground', 'boatL', _root.getNextHighestDepth()); _root.ground.boatL._x = 270; _root.ground.boatL._y = 300; _root.attachMovie('boat', 'boatM', _root.getNextHighestDepth()); _root.boatM._x = 510; _root.boatM._y = 300; _root.ground.attachMovie('boat ground', 'boatM', _root.getNextHighestDepth()); _root.ground.boatM._x = 510; _root.ground.boatM._y = 300; _root.attachMovie('boat', 'boatR', _root.getNextHighestDepth()); _root.boatR._x = 750; _root.boatR._y = 300; _root.ground.attachMovie('boat ground', 'boatR', _root.getNextHighestDepth()); _root.ground.boatR._x = 750; _root.ground.boatR._y = 300; _root.attachMovie('shark boss building', 'buildingL', _root.getNextHighestDepth()); _root.buildingL._x = -35; _root.buildingL._y = -150; _root.Water.swapDepths(_root.getNextHighestDepth()); i = 0; while (i < 20) { _root.Background['cloud' + i]._y -= 50; _root.Background['bush' + i].removeMovieClip(); ++i; } } if (LEVEL == 26) { _root.PORTAL = 'level5'; EpicTrailer.start(0, 99); } if (UNIVERSE == 'spaceship') { _root.Background.attachMovie('spaceship background', 'spaceship background', 1); _root.Background.attachMovie('spaceship wires', 'wires', 2); _root.Background.wires._x = Math.random() * 1300; _root.Background.attachMovie('spaceship wires', 'wires2', 3); _root.Background.wires2._x = Math.random() * 1300; _root.Background.attachMovie('spaceship vent', 'tube', 4); _root.Background.tube._x = Math.random() * 1300; _root.Background.tube.gotoAndStop(2); _root.Background.tube._y = map.length * 29; _root.Background.attachMovie('spaceship vent', 'vent', 5); _root.Background.vent._x = Math.random() * 1300; _root.Background.vent._y = map.length * 29; i = 0; while (i < 400) { if (_root.ground.hitTest(_root.Background.vent._x, _root.Background.vent._y, true)) { --_root.Background.vent._y; } if (_root.ground.hitTest(_root.Background.tube._x, _root.Background.tube._y, true)) { _root.Background.tube._y -= 0.5; } ++i; } } if (LEVEL == 38) { _root.EpicTrailer.stop(); _root.SomethingBehindYou.start(0, 99); _root.bmp.removeMovieClip(); _root.attachMovie('hitBox', 'CLEAR', _root.getNextHighestDepth()); _root.CLEAR.attachMovie('clock body', 'CLEAR', 1); CLEAR.CLEAR._width = 5000; CLEAR.CLEAR._height = 5000; _quality = 'LOW'; _root.BOSSfight = 'ship inside'; _root.Background.cacheAsBitmap = false; _root.ground.cacheAsBitmap = false; i = 0; while (i < 8) { _root.animated.attachMovie('fat cable', 'cable' + i, _root.animated.getNextHighestDepth()); _root.animated['cable' + i]._x = i * 5 * 30 + 10 - Math.random() * 20; _root.animated['cable' + i].cable._y = 0; ++i; } _root.animated.attachMovie('electric floor', 'floor', _root.animated.getNextHighestDepth()); _root.animated.floor._x = 540; _root.animated.floor._y = 690; _root.animated.attachMovie('inner ship core', 'core', _root.animated.getNextHighestDepth()); _root.animated.core._x = 570; _root.animated.core._y = 150; _root.ground.attachMovie('circle', 'core', _root.ground.getNextHighestDepth()); _root.ground.core._x = 570; _root.ground.core._y = 150; _root.ground.core._width = 250; _root.ground.core._height = 250; _root.ground.core.gotoAndStop('RED'); _root.Background.attachMovie('inner ship boss background', 'BG', _root.Background.getNextHighestDepth()); _root.Background.BG._x = 570; _root.Background.BG._y = 150; _root.Background.tube.removeMovieClip(); _root.Background.vent.removeMovieClip(); _root.Background.wires.removeMovieClip(); _root.Background.wires2.removeMovieClip(); _root.Background.attachMovie('inner ship abducted crab', 'crab', _root.Background.getNextHighestDepth()); _root.Background.crab._x = 570; _root.Background.crab._y = 900; } } if (LEVEL == 40) { _root.PORTAL = 'level6'; ironfistseconds = 0; } if (LEVEL == 50) { _root.attachMovie('hitBox', 'CLEAR', _root.getNextHighestDepth()); _root.CLEAR.attachMovie('clock body', 'CLEAR', 1); CLEAR.CLEAR._width = 5000; CLEAR.CLEAR._height = 5000; _root.attachMovie('weasel boss', 'weasel', _root.getNextHighestDepth()); _root.ground.attachMovie('hitBox', 'weasel', _root.ground.getNextHighestDepth()); _root.weasel._x = 210; _root.weasel._y = 210; _root.weasel.speed = 15; _root.weasel.fallspeed = -5; BOSSfight = 'weasel'; _root.guy._x = 600; _root.guy._y = 420; _root.cam._x = 600; _root.cam._y = 420; _root.animated.time burst._x = 600; _root.animated.time burst._y = 420; } if (LEVEL == 'level select') { _root.SHOOTERcheckpoint = null; BOSSfight = false; EDITIING = false; TESTING = false; GUYtype = 1; stopAllSounds(); _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 390; var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('in2') == -1 && savefile.data.intro != 1) { _root.animated.time burst.removeMovieClip(); _root.guy._x = _root.Background.house._x + 50; _root.guy._y = _root.Background.house._y - 50; _root.guy.DANCING = true; _root.Background.attachMovie('house inside', 'house inside', Background.getNextHighestDepth()); _root.Background.house inside._x = 0; _root.Background.house inside._y = 390; _root.Foreground._visible = false; _root.ground.attachMovie('house hitBox', 'house hitBox', _root.ground.getNextHighestDepth()); _root.ground.house hitBox._x = _root.Background.house._x; _root.ground.house hitBox._y = _root.Background.house._y; } else { _root.guy.DANCING = false; _root.inside_house = false; _root.Foreground._visible = true; _root.ground.attachMovie('hitBox', 'house', _root.ground.getNextHighestDepth()); _root.ground.house._width = _root.Background.house._width - 70; _root.ground.house._height = _root.Background.house._height; _root.ground.house._y = _root.Background.house._y - _root.Background.house._height / 2 + 20; _root.ground.house._x = _root.ground.house._width / 2; _root.ground.house._visible = true; _root.Mainthemeslow.start(0, 99); } _root.Background.attachMovie('closed portal', 'level1', _root.Background.getNextHighestDepth()); _root.Background.level1._x = 480; _root.Background.level1._y = 240; _root.Background.attachMovie('closed portal', 'level2', _root.Background.getNextHighestDepth()); _root.Background.level2._x = 780; _root.Background.level2._y = 270; _root.Background.attachMovie('closed portal', 'level3', _root.Background.getNextHighestDepth()); _root.Background.level3._x = 960; _root.Background.level3._y = 240; if (_root.unEncodedUsername == 'Tom' || _root.unEncodedUsername == 'Alex') { access = true; } var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('wo2') != -1 && SaveData.indexOf('wo3') != -1) { _root.Background.attachMovie('closed portal', 'level4', _root.Background.getNextHighestDepth()); _root.Background.level4._x = 1140; _root.Background.level4._y = 210; } if (savefile.data.wo2 == 1 && savefile.data.wo3 == 1) { _root.Background.attachMovie('closed portal', 'level4', _root.Background.getNextHighestDepth()); _root.Background.level4._x = 1140; _root.Background.level4._y = 210; } if (SaveData.indexOf('wo4') != -1) { _root.Background.attachMovie('closed portal', 'level5', _root.Background.getNextHighestDepth()); _root.Background.level5._x = 1350; _root.Background.level5._y = 300; } if (savefile.data.wo4 == 1) { _root.Background.attachMovie('closed portal', 'level5', _root.Background.getNextHighestDepth()); _root.Background.level5._x = 1350; _root.Background.level5._y = 300; } if (SaveData.indexOf('wo5') != -1) { _root.Background.attachMovie('closed portal', 'shooterlevel', _root.Background.getNextHighestDepth()); _root.Background.shooterlevel._x = 1560; _root.Background.shooterlevel._y = 240; _root.Background.attachMovie('closed portal', 'ad levels', _root.Background.getNextHighestDepth()); _root.Background.ad levels._x = 1950; _root.Background.ad levels._y = 360; } if (savefile.data.wo5 == 1) { _root.Background.attachMovie('closed portal', 'shooterlevel', _root.Background.getNextHighestDepth()); _root.Background.shooterlevel._x = 1560; _root.Background.shooterlevel._y = 240; _root.Background.attachMovie('closed portal', 'ad levels', _root.Background.getNextHighestDepth()); _root.Background.ad levels._x = 1950; _root.Background.ad levels._y = 360; } if (SaveData.indexOf('wo6') != -1) { _root.Background.attachMovie('closed portal', 'level6', _root.Background.getNextHighestDepth()); _root.Background.level6._x = 1740; _root.Background.level6._y = 420; _root.Background.attachMovie('closed portal', 'user levels', _root.Background.getNextHighestDepth()); _root.Background.user levels._x = 2160; _root.Background.user levels._y = 240; } if (savefile.data.wo6 == 1) { _root.Background.attachMovie('closed portal', 'level6', _root.Background.getNextHighestDepth()); _root.Background.level6._x = 1740; _root.Background.level6._y = 420; _root.Background.attachMovie('closed portal', 'user levels', _root.Background.getNextHighestDepth()); _root.Background.user levels._x = 2160; _root.Background.user levels._y = 240; } if (EDITOR) { _root.Background.attachMovie('closed portal', 'editor', _root.Background.getNextHighestDepth()); _root.Background.editor._x = 150; _root.Background.editor._y = 90; _root.Background.house.cacheAsBitmap = true; _root.Background.cacheAsBitmap = false; } _root.animated.time burst._x = _root.Background[_root.PORTAL]._x; _root.animated.time burst._y = _root.Background[_root.PORTAL]._y; _root.guy._x = _root.animated.time burst._x + 20; _root.guy._y = _root.animated.time burst._y + 10; _root.claw.swapDepths(999); _root.claw.removeMovieClip(); } if (LEVEL > 50 && LEVEL < 60) { UNIVERSE = 'snowy'; i = 0; while (i < 25) { if (i / 2 == Math.round(i / 2)) { _root.Background.attachMovie('industrail building', 'industrail building' + i, Background.getNextHighestDepth()); _root.Background['industrail building' + i]._x = i * 100; _root.Background['industrail building' + i]._y = _root.cam.BOTTOM - 200; } _root.stopAllSounds(); if (i / 2 != Math.round(i / 2)) { _root.Background.attachMovie('industrail building darker', 'industrail building' + i, Background.getNextHighestDepth()); _root.Background['industrail building' + i]._x = i * 100; _root.Background['industrail building' + i]._y = _root.cam.BOTTOM - 90; _root.Background['industrail building' + i].DARKER = true; } ++i; } } if (LEVEL == 51) { BOSSfight = false; EDITIING = false; TESTING = false; GUYtype = 1; _root.PORTAL = 'ad levels'; stopAllSounds(); _root.Background.attachMovie('house', 'house', Background.getNextHighestDepth()); _root.Background.house._x = 0; _root.Background.house._y = 540; _root.guy._x = _root.Background.house._x + 50; _root.guy._y = _root.Background.house._y - 50; _root.guy.DANCING = true; _root.Background.attachMovie('house inside', 'house inside', Background.getNextHighestDepth()); _root.Background.house inside._x = 0; _root.Background.house inside._y = 540; _root.Foreground._visible = false; _root.ground.attachMovie('house hitBox', 'house hitBox', _root.ground.getNextHighestDepth()); _root.ground.house hitBox._x = _root.Background.house._x; _root.ground.house hitBox._y = _root.Background.house._y; } if (LEVEL == 52) { _root.SKY.attachMovie('billboard', 'board3', _root.SKY.getNextHighestDepth()); _root.SKY.board3._x = 1200; _root.SKY.board3._y = 210; _root.SKY.board3.gotoAndStop(3); _root.Background.attachMovie('billboard', 'board', _root.Background.getNextHighestDepth()); _root.Background.board._x = 200; _root.Background.board._y = _root.cam.BOTTOM - 160; _root.SKY.attachMovie('radial games blimp', 'blimp', _root.SKY.getNextHighestDepth()); _root.SKY.blimp._x = 500; _root.SKY.blimp._y = 100 + Math.random() * 100; _root.attachMovie('GOBLIN QUEST ad', 'ad', _root.getNextHighestDepth()); _root.ad._x = _root.cam._x; _root.ad._y = _root.cam._y; } if (LEVEL == 52) { ++LEVEL; _root.gotoAndPlay('reset'); } if (LEVEL == 53) { _root.Background.attachMovie('keyboard cowboys ad', 'ad', _root.Background.getNextHighestDepth()); _root.Background.ad._x = 3; _root.Background.ad._y = 330; _root.attachMovie('keyboard cowboys ad', 'ad2', _root.getNextHighestDepth()); _root.ad2._x = 300; _root.ad2._y = 300; _root.ad2.gotoAndStop(2); } if (LEVEL == 54) { _root.attachMovie('Beamdog ad', 'Beamdog', _root.getNextHighestDepth()); _root.Beamdog._x = 660; _root.Beamdog._y = 5; } if (LEVEL == 55) { _root.Background.attachMovie('billboard', 'board2', _root.Background.getNextHighestDepth()); _root.Background.board2._x = 700; _root.Background.board2._y = _root.cam.BOTTOM - 50; _root.Background.board2.gotoAndStop(2); _root.SKY.attachMovie('billboard', 'board3', _root.SKY.getNextHighestDepth()); _root.SKY.board3._x = 1000; _root.SKY.board3._y = 270; _root.SKY.board3.gotoAndStop(4); _root.SKY.attachMovie('radial games blimp', 'blimp', _root.SKY.getNextHighestDepth()); _root.SKY.blimp._x = 1500; _root.SKY.blimp._y = 300 + Math.random() * 100; } if (LEVEL == 56) { _root.attachMovie('cartoonify yourself', 'ad', _root.getNextHighestDepth()); _root.ad._x = 5; _root.ad._y = 420; _root.SKY.attachMovie('billboard', 'board', _root.SKY.getNextHighestDepth()); _root.SKY.board._x = 900; _root.SKY.board._y = 390; _root.SKY.board.gotoAndStop(5); _root.Background.attachMovie('farmville ad', 'ad2', _root.Background.getNextHighestDepth()); _root.Background.ad2._x = 570; _root.Background.ad2._y = 720; } if (LEVEL == 57) { _root.attachMovie('han free popup', 'popup', _root.getNextHighestDepth()); _root.popup._x = 60; _root.popup._y = 870; _root.SKY.attachMovie('ad building', 'building', _root.SKY.getNextHighestDepth()); _root.SKY.building._x = 450; _root.SKY.building._y = 210; } if (LEVEL == 58) { _root.attachMovie('Gamebuilder ad', 'ad', _root.getNextHighestDepth()); _root.ad._x = 45; _root.ad._y = 780; _root.attachMovie('flame ad', 'ad2', _root.getNextHighestDepth()); _root.ad2._x = 420; _root.ad2._y = 240; _root.SKY.attachMovie('Time Master ad', 'ad3', _root.SKY.getNextHighestDepth()); _root.SKY.ad3._x = 90; _root.SKY.ad3._y = 630; } if (LEVEL >= 60 && LEVEL <= 70 && typeof LEVEL == 'number') { _root.attachMovie('user levels signage', 'signage', _root.getNextHighestDepth()); } if (LEVEL == 60) { _root.LEVELNAME = 'down the pipes'; _root.LEVELCREDIT = 'by Matt1'; } if (LEVEL == 61) { _root.LEVELNAME = 'The Man Cave'; _root.LEVELCREDIT = 'by SpinnerMaster'; } if (LEVEL == 62) { _root.LEVELNAME = 'PUNCH IT'; _root.LEVELCREDIT = 'by Daniel Spiler'; } if (LEVEL == 63) { _root.LEVELNAME = 'Time to Kill'; _root.LEVELCREDIT = 'by Llewelyn Griffiths'; } if (LEVEL == 64) { _root.LEVELNAME = 'Windy Path'; _root.LEVELCREDIT = 'by Maximillian'; } if (LEVEL == 65) { _root.LEVELNAME = 'Vertical Confusion'; _root.LEVELCREDIT = 'by MasterofWindandKoopa'; } if (LEVEL == 66) { _root.LEVELNAME = 'Feel the Burn'; _root.LEVELCREDIT = 'by Daniel Spiler'; } if (LEVEL == 67) { _root.LEVELNAME = 'Burn the wood!'; _root.LEVELCREDIT = 'by MasterofWindandKoopa'; } if (LEVEL == 68) { _root.LEVELNAME = 'TC-4'; _root.LEVELCREDIT = 'by Payne Eifert'; } if (LEVEL == 69) { _root.LEVELNAME = 'Time is burning'; _root.LEVELCREDIT = 'by Llewelyn Griffiths'; } if (LEVEL == 70) { _root.LEVELNAME = 'Water Traps'; _root.LEVELCREDIT = 'by LJasonKaradurz'; } if (UNIVERSE == 'lair') { _root.createEmptyMovieClip('DARKNESS', _root.getNextHighestDepth()); DARKNESS._alpha = 50; } if (LEVEL == 'meet evil you') { _root.Background.attachMovie('GATE', 'GATE', 1); _root.Background.GATE._x = 750; _root.Background.GATE._y = 540; _root.Background.cacheAsBitmap = false; BOSSfight = 'GATE'; } var groundBitmap = new flash.display.BitmapData(2500, 2500, true, 13421772); groundBitmap.draw(ground); var myBitmapData = new flash.display.BitmapData(2500, 2000, true, 13421772); } movieClip 4347 { } movieClip 4350 { } movieClip 4351 { frame 1 { stop(); if (_root.LEVEL == 5) { gotoAndStop('red'); } if (_root.UNIVERSE == 'spaceship') { gotoAndStop('orange'); } if (_root.UNIVERSE == 'cave') { gotoAndStop('underground'); } if (_root.LEVEL == 'level select') { gotoAndStop('night'); } if (_root.UNIVERSE == 'lair') { gotoAndStop('lair'); } } frame 4 { o = 0; while (o < 10) { i = 0; while (i < 10) { this.attachMovie('ADVERTISEMENT', 'ADVERTISEMENT' + i + ' ' + o, o * 10 + i); this['ADVERTISEMENT' + i + ' ' + o]._x = i * 192; this['ADVERTISEMENT' + i + ' ' + o]._y = o * 144; ++i; } ++o; } _root.Background.swapDepths(999); _root.Background.removeMovieClip(); } frame 5 { this.createEmptyMovieClip('bmp', -1); var bmpd = new flash.display.BitmapData(1500, 1300, true, 0); i = -1; while (i < 28) { collumncount = -1; while (collumncount < 20) { var matrix = new flash.geom.Matrix(); matrix.translate(100 * i, 90 * collumncount); bmpd.draw(smallrock, matrix, null); ++collumncount; } ++i; } smallrock.swapDepths(999); smallrock.removeMovieClip(); bmp.attachBitmap(bmpd, 1); } frame 6 { starcount = 0; while (starcount < 10) { this.attachMovie('star', 'star' + starcount, starcount); this['star' + starcount]._x = 100 + Math.random() * 2000; this['star' + starcount]._y = Math.random() * 500; this['star' + starcount]._xscale = 50; this['star' + starcount]._yscale = 50; this['star' + starcount].gotoAndStop(2); ++starcount; } } frame 7 { this.createEmptyMovieClip('bmp', -1); var bmpd = new flash.display.BitmapData(2000, 1000, true, 0); i = -1; while (i < 100) { collumncount = -1; while (collumncount < 30) { var matrix = new flash.geom.Matrix(); matrix.translate(40 * i, 40 * collumncount); bmpd.draw(tile, matrix, null); ++collumncount; } if (Math.random() > 0.9) { if (Math.random() > 0.5) { smudges.gotoAndStop(2); } if (Math.random() > 0.5) { smudges.gotoAndStop(1); } var matrix = new flash.geom.Matrix(); matrix.rotate(Math.random() * 360 * 0.0174532925199433); matrix.translate(40 * i, 40 * (Math.random() * 20)); bmpd.draw(smudges, matrix, null); } ++i; } tile.swapDepths(999); tile.removeMovieClip(); bmp.attachBitmap(bmpd, 1); } } instance Background of movieClip 4340 { onClipEvent (enterFrame) { if (_root.SPACESHIP) { _x = _x + (_root.cam._x - oldX) / 3; oldX = _root.cam._x; } } } movieClip 4353 { frame 1 { stop(); } instance of movieClip 1703 { onClipEvent (load) { stop(); this.cacheAsBitmap(); } onClipEvent (enterFrame) { if (_parent._currentframe != 1) { _y = _y - 5; } } } frame 128 { stop(); } } movieClip 4355 { frame 1 { boostercount = 0; flyaway = false; speed = 0; fallspeed = 0; if (_root.LEVEL >= 5 || _root.TESTING || typeof _root.LEVEL != 'number') { this.swapDepths(999); this.removeMovieClip(); } onEnterFrame = function () { if (flyaway) { _x = _x + speed; _y = _y + fallspeed; --fallspeed; _rotation = speed; speed += 0.3; if (!_root.cam.hitTest(this)) { this.swapDepths(999); this.removeMovieClip(); } } }; } instance of movieClip 1692 ship body { onClipEvent (load) { stop(); this.cacheAsBitmap = true; } } instance of movieClip 4353 { onClipEvent (load) { this.swapDepths(500 - _y); } onClipEvent (enterFrame) { if (this.hitTest(_root.cam)) { play(); } if (_currentframe >= 130) { _parent.flyaway = true; this.removeMovieClip(); } } } } movieClip 4360 { frame 20 { stop(); } } movieClip 4361 { instance circle of movieClip 1488 circle { onClipEvent (load) { if (_name != 'circle') { _visible = true; } else { stop(); _visible = false; } speed = _root.beampower / 40; _rotation = Math.random() * 360; _x = _x + Math.cos(_rotation * 0.0174532925199433) * speed; _y = _y + Math.sin(_rotation * 0.0174532925199433) * speed; Xspeed = Math.cos(_rotation * 0.0174532925199433) * speed; Yspeed = Math.sin(_rotation * 0.0174532925199433) * speed; _xscale = Math.random() * 50 + _root.beampower; _yscale = _xscale; } onClipEvent (enterFrame) { if (_name != 'circle') { if (!_root.PAUSE) { play(); _x = _x + Xspeed; _y = _y + Yspeed; } else { stop(); } } else { _visible = false; } } } instance Ocircle of movieClip 4360 { onClipEvent (load) { if (_name != 'Ocircle') { _visible = true; } else { _visible = false; } speed = _root.beampower / 25; _rotation = Math.random() * 360; Xspeed = 3 - Math.random() * 6; Yspeed = 5 + Math.random() * 5; _xscale = Math.random() * 10 + _root.beampower; _yscale = _xscale; } onClipEvent (enterFrame) { if (_name != 'Ocircle') { _x = _x + Xspeed; _y = _y + Yspeed; Yspeed -= 0.5; Xspeed *= 0.9; _xscale = _xscale - 5; _yscale = _xscale; if (_xscale <= 0) { this.removeMovieClip(); } } else { _visible = false; } } } } instance BEAM of movieClip 4361 { onClipEvent (load) { iMAX = 40; SPACING = 20; if (_root.LEVEL == 5 || _root.BOSSfight == 'shark') { iMAX = 30; SPACING = 30; } if (_root.BOSSfight == 'ship inside') { iMAX = 55; SPACING = 15; } sine = 0; Ccount = 2; if (_root.GUYtype == 1 || _root.GUYtype == 6) { Cmax = 22; } else { Cmax = 30; } ANGLE = 0; BEAMsound = new Sound(this); BEAMsound.attachSound('BEAMsound'); } onClipEvent (enterFrame) { if (!_root.PAUSE) { X = _root.guy._x - _root._xmouse; Y = _root.guy._y - 15 - _root._ymouse; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; ++sine; if (sine >= 10) { sine = 0; } if (_root.beampower < 190 && _root.beampower > 100) { _root.beampower = 99; } if (!_root.PAUSE && _root.GUYtype != 2 && _root.guy.DANCING == false) { if (_root.guy.CLICKING) { if (_root.GUYtype != 4) { _root.beampower -= 2; if (_root.cam.SHAKE < _root.beampower / 10) { _root.cam.SHAKE = _root.beampower / 10; } } if (_root.GUYtype == 3) { _root.beampower = 100; } beamP = _root.beampower / 100; beaming = true; if (_root.GUYtype == 3) { ANGLE = 90; } nodeENDX = 0; nodeENDY = 0; i = 0; while (i < iMAX) { if (nodeENDX == 0 && nodeENDY == 0) { if (beaming) { if (_root.GUYtype == 1 || _root.GUYtype == 5 || _root.GUYtype == 6) { if (i > 2) { nodeX = this['nodeX' + (i - 1)] + Math.cos(ANGLE * 0.0174532925199433) * SPACING; nodeY = this['nodeY' + (i - 1)] + Math.sin(ANGLE * 0.0174532925199433) * SPACING; } else { nodeX = _root.guy._x + Math.cos(ANGLE * 0.0174532925199433) * (i * SPACING) - _root.guy._xscale * 0.05; nodeY = _root.guy._y + Math.sin(ANGLE * 0.0174532925199433) * (i * SPACING) - 15; } if (_root.gravcount > 0 && i > 1) { o = 1; while (o < 5) { if (_root.animated['grav' + o] != null) { gravX = nodeX - _root.animated['grav' + o].X; gravY = nodeY - _root.animated['grav' + o].Y; DISTANCE = Math.sqrt(gravX * gravX + gravY * gravY); POWER = (300 - DISTANCE) / 50; if (POWER < 0) { POWER = 0; } gravANGLE = 180 + (Math.atan2(gravY, gravX) / Math.PI) * 180; nodeX += Math.cos(gravANGLE * 0.0174532925199433) * POWER; nodeY += Math.sin(gravANGLE * 0.0174532925199433) * POWER; if (i > 2) { X = nodeX - this['nodeX' + (i - 1)]; Y = nodeY - this['nodeY' + (i - 1)]; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; } } ++o; } } COLOUR = (_root.groundBitmap.getPixel(nodeX, nodeY)).toString(16); if (COLOUR != 'ff0000' && nodeX < _root.cam._x + _root.cam._width / 2 && nodeX > _root.cam._x - _root.cam._width / 2 && nodeY < _root.cam._y + _root.cam._height / 2 && nodeY > _root.cam._y - _root.cam._height / 2) { if (i == iMAX - 1) { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } else { this['nodeX' + i] = nodeX; this['nodeY' + i] = nodeY; } } else { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (i == 0) { this.createEmptyMovieClip('beam', 1); beam.moveTo(this.nodeX0, this.nodeY0); this.createEmptyMovieClip('backbeam', 0); backbeam.moveTo(this.nodeX0, this.nodeY0); } if (sine / 2 == Math.round(sine / 2)) { beam.lineStyle(5 * beamP, 3394815); backbeam.lineStyle(20 * beamP, 16777215); } else { beam.lineStyle(10 * beamP, 3394815); backbeam.lineStyle(35 * beamP, 16777215); } if (_root.beampower > 150) { if (i <= (200 - _root.beampower) * 2 + 3 && i >= (200 - _root.beampower) * 2 - 3) { DIFFERENCE = i - (200 - _root.beampower) * 2; D = Math.sqrt(DIFFERENCE * DIFFERENCE) * 13; if (sine / 2 == Math.round(sine / 2)) { beam.lineStyle(50 - D, 3394815); backbeam.lineStyle(65 - D / 2, 16777215); } else { beam.lineStyle(55 - D, 3394815); backbeam.lineStyle(80 - D / 2, 16777215); } } } } } else { this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (_root.GUYtype == 3 && i <= 20) { nodeX = _root.guy._x + Math.cos(ANGLE * 0.0174532925199433) * (i * 5) - _root.guy._xscale * 0.05; nodeY = _root.guy._y + Math.sin(ANGLE * 0.0174532925199433) * (i * 5) - 15; if (!_root.ground.hitTest(nodeX, nodeY, true) && nodeX < _root.cam._x + _root.cam._width / 2 && nodeX > _root.cam._x - _root.cam._width / 2 && nodeY < _root.cam._y + _root.cam._height / 2 && nodeY > _root.cam._y - _root.cam._height / 2) { this['nodeX' + i] = nodeX; this['nodeY' + i] = nodeY; } else { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (sine / 2 == Math.round(sine / 2)) { beam.lineStyle(0, 16750848, 0); backbeam.lineStyle(0, 16777215, 0); } else { beam.lineStyle(0, 16750848, 0); backbeam.lineStyle(0, 16777215, 0); } } if (_root.GUYtype == 4) { if (i == 0) { fakeX = _root.guy._x; fakeY = _root.guy._y - 20; elasticness = 0.8; quickness = 0.01; OLDXSPEED = 0; OLDYSPEED = 0; this.createEmptyMovieClip('beam', 2); beam.moveTo(fakeX, fakeY); this.createEmptyMovieClip('backbeam', 1); backbeam.moveTo(fakeX, fakeY); this.createEmptyMovieClip('backbackbeam', 0); backbackbeam.moveTo(fakeX, fakeY); } XDISTANCE = _root.guy.stickpointX - fakeX; YDISTANCE = _root.guy.stickpointY - fakeY; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; fakeX += XSPEED; fakeY += YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; DISTANCE = 200 - Math.sqrt((_root.guy._x - _root.guy.stickpointX) * (_root.guy._x - _root.guy.stickpointX) + (_root.guy._y - _root.guy.stickpointY) * (_root.guy._y - _root.guy.stickpointY)); THICKNESS = (30 + Math.cos(i / 5) * 30 + DISTANCE * 0.2) / 4; beam.lineStyle(THICKNESS, 16777215); if (sine / 2 == Math.round(sine / 2)) { backbeam.lineStyle(THICKNESS + 5, 3394815, 20); backbackbeam.lineStyle(THICKNESS + 10, 3394815, 20); } else { backbeam.lineStyle(THICKNESS + 10, 3394815, 20); backbackbeam.lineStyle(THICKNESS + 15, 3394815, 20); } this['nodeX' + i] = fakeX; this['nodeY' + i] = fakeY; } if (this['nodeX' + i] != 0 && this['nodeY' + i] != 0) { beam.lineTo(this['nodeX' + i], this['nodeY' + i]); backbeam.lineTo(this['nodeX' + i], this['nodeY' + i]); backbackbeam.lineTo(this['nodeX' + i], this['nodeY' + i]); } } else { beam.lineTo(nodeENDX, nodeENDY); backbeam.lineTo(nodeENDX, nodeENDY); backbackbeam.lineTo(nodeENDX, nodeENDY); } ++i; } X = _root.guy._x - _root._xmouse; Y = _root.guy._y - 15 - _root._ymouse; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (_root.GUYtype == 3) { ANGLE = 90; } ++Ccount; if (Ccount > Cmax) { Ccount = 2; } if (_root.GUYtype == 3) { duplicateMovieClip(Ocircle, 'circle' + Ccount, Ccount); this['circle' + Ccount]._x = _root.guy._x - _root.guy._xscale / 10; this['circle' + Ccount]._y = _root.guy._y; } else { duplicateMovieClip(circle, 'circle' + Ccount, Ccount); this['circle' + Ccount]._x = nodeENDX; this['circle' + Ccount]._y = nodeENDY; } } else { nodeENDX = 0; nodeENDY = 0; beam.removeMovieClip(); backbeam.removeMovieClip(); backbackbeam.removeMovieClip(); star._visible = false; } } } } onClipEvent (mouseDown) { if (!_root.PAUSE) { offset = (100 - _root.beampower) / 25; if (_root.guy.CLICKING) { if (!_root.guy.DANCING) { BEAMsound.start(offset, 1); } } } } onClipEvent (mouseUp) { BEAMsound.stop(); } } movieClip 4367 { frame 1 { SINE = 0; onEnterFrame = function () { if (_root.guy.CLICKING == false) { play(); FRAME = _currentframe + 1; if (_root.guy.groundseconds <= 0) { gotoAndPlay(FRAME); } } else { if (_currentframe < 35) { gotoAndStop(1); } } if (_currentframe > 20) { SINE += 180; _xscale = 100 + Math.sin(SINE) * 10; _yscale = _xscale; } if (_currentframe >= 37 && _root.beampower <= 100) { _root.beampower -= 5; } }; onMouseDown = function () { if (_root.guy.groundseconds <= -5) { gotoAndPlay('cancelled'); } }; } frame 15 { _root.beampower = 200; } frame 30 { _root.beampower = 100; } frame 36 { if (_root.guy.CLICKING == false) { gotoAndPlay('done'); } else { gotoAndStop(1); } } frame 38 { if (_root.guy.CLICKING == true || _root.guy.groundseconds <= 0) { gotoAndPlay('cancelled'); } else { gotoAndStop(1); } } } movieClip 4372 { } movieClip 4374 { frame 2 { _xscale = 100; if (_root.guy.fallspeed < 0) { gotoAndPlay(1); } } frame 4 { if (_root.guy.fallspeed < 20) { gotoAndPlay(3); } } instance of movieClip 2686 { onClipEvent (enterFrame) { _rotation = _rotation + 8; } } frame 6 { if (_root.guy.fallspeed > 5) { gotoAndPlay(5); } else { gotoAndPlay(1); } } } movieClip 4379 { frame 39 { ++_root.DEATHcount; _root.gotoAndPlay('reset'); } } movieClip 4388 { } movieClip 4398 { frame 1 { if (Math.random() > 0.7) { gotoAndPlay(10); } } frame 9 { if (Math.random() > 0.7) { gotoAndPlay(1); } } } movieClip 4406 { frame 6 { gotoAndPlay(5); } } movieClip 4420 { frame 35 { _parent.BURNING = false; } frame 65 { ++_root.DEATHcount; _root.gotoAndPlay('reset'); } } movieClip 4430 { } movieClip 4435 { frame 2 { if (_parent.fallspeed < 0) { gotoAndPlay(1); } } frame 6 { gotoAndPlay(5); } } movieClip 4436 { frame 1 { if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { speed = 0; } if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } if ((_root.groundBitmap.getPixel(_x, _y + 5)).toString(16) != 'ff0000') { gotoAndPlay('jump'); } if (Key.isDown(32)) { gotoAndPlay('dance'); } if (LAUNCHED) { gotoAndPlay('launched'); } } instance of movieClip 4367 { onClipEvent (load) { DISTANCE = _x; if (_root.GUYtype == 1) { this.swapDepths(999); this.removeMovieClip(); } } onClipEvent (enterFrame) { _x = -1 + Math.cos(_parent.mc.face._rotation * 0.0174532925199433) * DISTANCE; _y = _parent.mc.face._y + Math.sin(_parent.mc.face._rotation * 0.0174532925199433) * DISTANCE - 1; } } frame 2 { if (PUNCHED) { gotoAndPlay('punched'); } else { if (burncount > 100) { gotoAndPlay('drop dead'); } else { if (BURNING) { gotoAndPlay('burning'); } else { gotoAndPlay(1); } } } } frame 3 { if (!_root.PAUSE) { if ((_root.groundBitmap.getPixel(_x, _y + 5)).toString(16) != 'ff0000') { gotoAndPlay('jump'); } if (BURNING) { gotoAndPlay('run burning'); } } if (_root.LEVEL == 3) { if (Math.random() > 0.8) { _root.attachMovie('coin', 'coin' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['coin' + (_root.getNextHighestDepth() - 1)]._x = _root.guy._x; _root['coin' + (_root.getNextHighestDepth() - 1)]._y = _root.guy._y - 20; _root['coin' + (_root.getNextHighestDepth() - 1)].secondsMAX = 15 + Math.random() * 10; } } } frame 4 { if (burncount > 100) { gotoAndPlay('drop dead'); } else { if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } else { gotoAndPlay(1); } } } frame 5 { if (burncount > 200) { gotoAndPlay('burned up'); } if (LAUNCHED) { gotoAndPlay('launched'); } } frame 6 { if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) != 'ff0000') { gotoAndPlay('jump'); FFF = fallspeed; } else { if (FFF < 30) { gotoAndPlay(1); } else { _root.cam.SHAKE = 10; _root.kick2.start(0, 1); gotoAndPlay('hard landing'); } } } frame 7 { if (!DANCING && Key.isDown(32)) { if (mc._currentframe > 10) { mc.gotoAndPlay(1); } } } frame 8 { if (mc._currentframe < 300 && DANCING) { gotoAndPlay('dance'); } else { if (Key.isDown(32)) { gotoAndPlay('dance'); } else { _x = _x - 10; gotoAndPlay(1); DANCING = false; } } } frame 9 { BURNING = false; fallspeed = 0; DANCING = true; CLICKING = false; } frame 10 { gotoAndPlay('drop dead'); } frame 11 { speed = 0; if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } } frame 12 { if (burncount > 100) { gotoAndPlay('drop dead'); } else { if (BURNING) { gotoAndPlay('burning'); } else { gotoAndPlay(1); } } } frame 13 { if (!_root.PAUSE) { if ((_root.groundBitmap.getPixel(_x, _y + 5)).toString(16) != 'ff0000') { gotoAndPlay('jump'); } if (Key.isDown(_root.RIGHT)) { mc._xscale = 100; } if (Key.isDown(_root.LEFT)) { mc._xscale = -100; } } if (_root.LEVEL == 3) { if (Math.random() > 0.8) { _root.attachMovie('coin', 'coin' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); _root['coin' + (_root.getNextHighestDepth() - 1)]._x = _root.guy._x; _root['coin' + (_root.getNextHighestDepth() - 1)]._y = _root.guy._y - 20; _root['coin' + (_root.getNextHighestDepth() - 1)].secondsMAX = 15 + Math.random() * 10; } } } frame 14 { if (burncount > 100) { gotoAndPlay('drop dead'); } else { if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run burning'); } else { gotoAndPlay(1); } } } frame 15 { DANCING = true; } frame 16 { gotoAndPlay('punched'); } frame 17 { _x = _x - speed; speed = 0; _y = _y - fallspeed; fallspeed = 0; _root.beampower = 0; CLICKING = false; _xscale = 100; burncount = 0; } frame 18 { gotoAndPlay('burned up'); } frame 19 { if (mc._currentframe > 17) { gotoAndPlay(1); } _xscale = 100; speed = 0; fallspeed = 0; } frame 20 { gotoAndPlay('hard landing'); } frame 21 { LAUNCHED = false; if (speed > 0) { _xscale = 100; } else { _xscale = -100; } } frame 22 { if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) != 'ff0000') { gotoAndPlay('launched'); } else { _root.cam.SHAKE = 10; _root.kick2.start(0, 1); gotoAndPlay('hard landing'); } } } instance guy1 of movieClip 4436 { onClipEvent (load) { if (_root.GUYtype != 1) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 5; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; respawnX = _x; respawnY = _y; DANCING = false; BURNING = false; burncount = 0; if (_root.LEVEL == 1) { gotoAndPlay('dance'); DANCING = true; } var SaveData = mdm.FileSystem.loadFile('SaveData.htm'); if (SaveData.indexOf('in2') == -1 && _root.LEVEL == 'level select') { gotoAndPlay('dance'); DANCING = true; } myColor = new Color(this); myColorTransform = new Object(); } onClipEvent (enterFrame) { beamP = _root.beampower; if (_root.beampower > 100) { beamP = 100; } if (!_root.PAUSE && _name == 'guy' && DANCING == false) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.map[i][j] == 20 || _root.map[i - 1][j] == 20 || _root.map[i][j - 1] == 20 || _root.map[i][j + 1] == 20) { UNDERWATER = true; if (BURNING) { _root.extinguish.start(0, 1); } BURNING = false; if (Math.random() > 0.9) { ++_root.Water.bubblecount; _root.Water.attachMovie('bubble', 'bubble' + _root.Water.bubblecount, _root.Water.getNextHighestDepth()); _root.Water['bubble' + _root.Water.bubblecount]._x = _x + _xscale * 0.1; _root.Water['bubble' + _root.Water.bubblecount]._y = _y - 25; } } else { UNDERWATER = false; } if (_root.HATtype == 6) { _root.SKY.attachMovie('smoke pop', 'flame' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Xspeed = 2 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Yspeed = -4 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._xscale = 50; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 50; } if (_root.HATtype == 30) { _root.SKY.attachMovie('rainbow', 'rainbow' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; rainbowX = _x - oldrainbowX; rainbowY = _y - oldrainbowY; _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation = (Math.atan2(rainbowY, rainbowX) / Math.PI) * 180; oldrainbowX = _x; oldrainbowY = _y; if (_root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation > 90 || _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation < -90) { _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = -100; } else { _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 100; } } if (BURNING) { ++burncount; walkspeed = 7; _root.SKY.attachMovie('smoke pop', 'flame' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Xspeed = 2 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Yspeed = -4 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._xscale = 50; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 50; myColorTransform = {'rb': -burncount, 'gb': -burncount, 'bb': -burncount}; myColor.setTransform(myColorTransform); if (burncount / 2 == Math.round(burncount / 2)) { myColorTransform = {'rb': -burncount * 2, 'gb': -burncount * 2, 'bb': -burncount * 2}; myColor.setTransform(myColorTransform); } } else { walkspeed = 5; burncount = 0; } if (impact > 0) { fallspeed = 0; speed = 0; CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { ++_root.DEATHcount; Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); if (_root.LEVEL == 7 || _root.LEVEL == 8 || _root.LEVEL == 9 || _root.LEVEL == 11 || _root.LEVEL == 47 || _root.LEVEL == 48) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } else { j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); test = 0; while (test < 3) { if (UNDERWATER) { _x = _x + speed * 0.16; _y = _y + fallspeed * 0.16; fallspeed -= 0.16; } else { _x = _x + speed / 3; _y = _y + fallspeed / 3; } if (!DANCING) { while ((_root.groundBitmap.getPixel(_x, _y - 40)).toString(16) == 'ff0000') { _y = _y + 1; } while ((_root.groundBitmap.getPixel(_x, _y - 2)).toString(16) == 'ff0000') { _y = _y - 1; } while ((_root.groundBitmap.getPixel(_x + 10, _y - 20)).toString(16) == 'ff0000') { _x = _x - 1; } while ((_root.groundBitmap.getPixel(_x - 10, _y - 20)).toString(16) == 'ff0000') { _x = _x + 1; } } ++test; } } if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } if (_root.beampower < 100) { ++_root.beampower; } if (_root.beampower < 0) { CLICKING = false; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { if (_root.beampower < 100) { _root.beampower = 100; } if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { if (_root.map[i + 1][j] < 5 || _root.map[i + 1][j] > 11) { if (_root.map[i + 1][j] < 20) { respawnX = _x - speed; respawnY = _y - fallspeed; if (_root.BOSSfight == 'ship inside') { respawnY = 650; } } } if (_root.BOSSfight == 'shark') { respawnX = _x - speed; respawnY = _y - fallspeed; } } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } else { if (speed > 25) { speed = 25; } if (speed < -25) { speed = -25; } --groundseconds; if (_y > _root.cam._y + _root.cam._height) { Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); ++_root.DEATHcount; if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } if ((_root.groundBitmap.getPixel(_x, _y - 41)).toString(16) == 'ff0000') { if (fallspeed < 0) { fallspeed *= 0.5; } } ++fallspeed; if ((_root.groundBitmap.getPixel(_x + 11, _y - 20)).toString(16) == 'ff0000' || (_root.groundBitmap.getPixel(_x - 11, _y - 20)).toString(16) == 'ff0000') { speed *= 0.7; } if (CLICKING) { if (UNDERWATER) { fallspeed = -Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 12; speed = -Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 12; _x = _x + speed; _y = _y + fallspeed; ++_root.beampower; } else { fallspeed -= Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 100; speed -= Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 100; if (_root.beampower > 150) { fallspeed = -Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 10; speed = -Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 10; } } } else { if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < walkspeed) { ++speed; } } else { if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -walkspeed) { --speed; } } else { speed *= 0.9; } } } else { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < 20) { speed += 0.3; } } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -20) { speed -= 0.3; } } } } } } } onClipEvent (mouseDown) { if (!_root.guy.DANCING) { CLICKING = true; } } onClipEvent (mouseUp) { CLICKING = false; } } movieClip 4440 { frame 1 { stop(); originalSCALE = 66; X = _root._xmouse * _root.guy._xscale / 100 - _root.guy._x * _root.guy._xscale / 100; Y = _root._ymouse - _root.guy._y - _y; _yscale = originalSCALE; _rotation = (Math.atan2(Y, X) / Math.PI) * 180; _x = originalX; if (X < 0) { _yscale = -originalSCALE; } onEnterFrame = function () { if (!_root.PAUSE) { if (_root.GUYtype == 2) { X = _root._xmouse * _root.guy._xscale / 100 - _root.guy._x * _root.guy._xscale / 100; Y = _root._ymouse - _root.guy._y - _y; _yscale = originalSCALE; _rotation = (Math.atan2(Y, X) / Math.PI) * 180; _x = originalX; if (X < 0) { _yscale = -originalSCALE; } if (_root.guy.CLICKING && _root.beampower == 100) { gotoAndPlay('ROAR'); } if (_root.beampower <= 3) { play(); _root.guy.fallspeed = -Math.sin(_root.guy.ANGLE * 0.0174532925199433) * 20; _root.guy.speed = -Math.cos(_root.guy.ANGLE * 0.0174532925199433) * 20; } } } }; onMouseDown = function () { if (_root.beampower >= 100) { play(); } }; } } movieClip 4441 { } movieClip 4446 { } movieClip 4448 { frame 2 { if (_root.guy.fallspeed < 0) { gotoAndPlay(1); } } frame 4 { gotoAndPlay(3); } } movieClip 4451 { } movieClip 4457 { } movieClip 4479 { frame 1 { onEnterFrame = function () { if (_root.PAUSE) { stop(); } else { play(); } }; } } movieClip 4480 { frame 1 { speed = 0; if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } if (Key.isDown(32)) { gotoAndPlay('dance'); } } frame 2 { gotoAndPlay(1); } frame 3 { if (!_root.PAUSE) { if ((_root.groundBitmap.getPixel(_x, _y + 5)).toString(16) != 'ff0000') { gotoAndPlay('jump'); } } } frame 4 { if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } else { gotoAndPlay(1); } } frame 6 { if ((_root.groundBitmap.getPixel(_x, _y + 3)).toString(16) != 'ff0000') { if (fallspeed < -10 || fallspeed > 15 || speed > walkspeed || speed < -walkspeed) { gotoAndPlay('falling'); } else { gotoAndPlay('jump'); } } else { gotoAndPlay(1); } } instance of movieClip 4451 { onClipEvent (enterFrame) { if (_parent.impact == 0) { X = oldX - _root.guy._x; Y = oldY - _root.guy._y; oldX = _root.guy._x; oldY = _root.guy._y; if (_root.guy._xscale < 0) { _rotation = (-Math.atan2(Y, X) / Math.PI) * 180 + 90; } else { _rotation = (Math.atan2(Y, X) / Math.PI) * 180 - 90; } } } } frame 8 { if ((_root.groundBitmap.getPixel(_x, _y + 3)).toString(16) != 'ff0000') { gotoAndPlay('falling'); } else { if (impact == 0) { gotoAndPlay('getup'); _root.kick2.start(0, 1); R = Math.random(); if (R > 0.75) { _root.shotgunOOFH.start(0, 1); } if (R < 0.25) { _root.shotgunOOGHFF.start(0, 1); } } else { gotoAndPlay('falling'); } } } frame 9 { speed = 0; fallspeed = 0; _rotation = 0; } frame 10 { if (mc._currentframe <= 12) { if (fallspeed < -10 || speed > walkspeed || speed < -walkspeed) { gotoAndPlay('falling'); } else { gotoAndPlay('getup'); } } else { gotoAndPlay(1); } } frame 12 { if (Key.isDown(32)) { gotoAndPlay('dance'); } else { gotoAndPlay(1); } } } instance guy2 of movieClip 4480 { onClipEvent (load) { if (_root.GUYtype != 2 && _root.LEVEL != 12) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 7; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; respawnX = _x; respawnY = _y; myColor = new Color(this); myColorTransform = new Object(); if (_root.GUYtype == 2) { _name = 'guy'; } } onClipEvent (mouseDown) { if (_name == 'guy') { CLICKING = true; if (_root.beampower == 100) { X = _x - _root._xmouse; Y = _y - 15 - _root._ymouse; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; fallspeed = -Math.sin(ANGLE * 0.0174532925199433) * 20; speed = -Math.cos(ANGLE * 0.0174532925199433) * 20; _root.beampower = 0; _root.cam.SHAKE = 10; _root.blast.removeMovieClip(); _root.attachMovie('shotguy blast', 'blast', _root.getNextHighestDepth()); _root.blast._x = _x; _root.blast._y = _y - 15; _root.blast._rotation = ANGLE; _root.blast.gotoAndPlay(1); _root.GunShotBig.start(0, 1); R = Math.random(); if (R > 0.9) { _root.shotgunWOO.start(0, 1); } if (R < 0.1) { _root.shotgunDOINIT.start(0, 1); } if (Math.round(R * 10) / 10 == 0.4) { _root.shotgunOH.start(0, 1); } if (Math.round(R * 10) / 10 == 0.7) { _root.shotgunhorsenoise.start(0, 1); } } } } onClipEvent (mouseUp) { CLICKING = false; } onClipEvent (enterFrame) { if (!_root.PAUSE && _name == 'guy') { if (_root.HATtype == 6) { _root.SKY.attachMovie('smoke pop', 'flame' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Xspeed = 2 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Yspeed = -4 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._xscale = 50; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 50; } if (_root.HATtype == 30) { _root.SKY.attachMovie('rainbow', 'rainbow' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; rainbowX = _x - oldrainbowX; rainbowY = _y - oldrainbowY; _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation = (Math.atan2(rainbowY, rainbowX) / Math.PI) * 180; oldrainbowX = _x; oldrainbowY = _y; if (_root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation > 90 || _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._rotation < -90) { _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = -100; } else { _root.SKY['rainbow' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 100; } } if (_root.map[i][j] == 20) { UNDERWATER = true; if (Math.random() > 0.9) { ++_root.Water.bubblecount; _root.Water.attachMovie('bubble', 'bubble' + _root.Water.bubblecount, _root.Water.getNextHighestDepth()); _root.Water['bubble' + _root.Water.bubblecount]._x = _x + _xscale * 0.1; _root.Water['bubble' + _root.Water.bubblecount]._y = _y - 25; } } else { UNDERWATER = false; } if (impact > 0) { fallspeed = 0; speed = 0; CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { ++_root.DEATHCount; Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } else { j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); test = 0; while (test < 3) { if (UNDERWATER) { _x = _x + speed / 6; _y = _y + fallspeed / 6; fallspeed -= 0.16; } else { _x = _x + speed / 3; _y = _y + fallspeed / 3; } while ((_root.groundBitmap.getPixel(_x, _y - 40)).toString(16) == 'ff0000') { _y = _y + 1; } while ((_root.groundBitmap.getPixel(_x, _y - 2)).toString(16) == 'ff0000') { _y = _y - 1; } while ((_root.groundBitmap.getPixel(_x + 10, _y - 20)).toString(16) == 'ff0000') { _x = _x - 1; } while ((_root.groundBitmap.getPixel(_x - 10, _y - 20)).toString(16) == 'ff0000') { _x = _x + 1; } ++test; } } if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } if (_root.beampower < 100) { ++_root.beampower; } if (_root.beampower < 0) { CLICKING = false; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { _root.beampower = 100; if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { respawnX = _x - speed; respawnY = _y - fallspeed; } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } else { --groundseconds; if (_y > _root.cam._y + _root.cam._height) { if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } if ((_root.groundBitmap.getPixel(_x, _y - 41)).toString(16) == 'ff0000') { if (fallspeed < 0) { fallspeed *= 0.5; } } if ((_root.groundBitmap.getPixel(_x + 16, _y - 15)).toString(16) == 'ff0000' || (_root.groundBitmap.getPixel(_x - 16, _y - 15)).toString(16) == 'ff0000') { speed = 0; } ++fallspeed; if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < walkspeed) { ++speed; } } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -walkspeed) { --speed; } } } else { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed += 0.5; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed -= 0.5; } } if (speed > 25) { speed = 25; } if (speed < -25) { speed = -25; } } } } } movieClip 4482 { } movieClip 4487 { } movieClip 4497 { } movieClip 4498 { frame 2 { if (Rspeed > 20 || Rspeed < -20) { gotoAndPlay(5); } else { if (_root.guy.fallspeed < 0 || _parent.CLICKING) { gotoAndPlay(1); } } } frame 4 { if (!_parent.CLICKING) { gotoAndPlay(3); } } frame 6 { gotoAndPlay(5); } } movieClip 4499 { frame 1 { speed = 0; if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } } instance circle of movieClip 2777 { onClipEvent (load) { myColor = new Color(this); myColorTransform = new Object(); impact = 0; } onClipEvent (enterFrame) { myColorTransform = {'rb': impact, 'gb': -impact, 'bb': -impact}; myColor.setTransform(myColorTransform); if (impact > 0) { impact *= 0.9; } } } frame 2 { gotoAndPlay(1); } frame 3 { if (!_root.PAUSE) { if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } } } frame 4 { if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } else { gotoAndPlay(1); } } instance mc of movieClip 4498 { onClipEvent (load) { Rspeed = 0; } onClipEvent (enterFrame) { _rotation = _rotation + Rspeed; Rspeed *= 0.95; } } frame 6 { if (!_root.ground.hitTest(_x, _y + 3, true)) { gotoAndPlay('jump'); } else { gotoAndPlay(1); } } frame 8 { if (mc._currentframe < 250) { gotoAndPlay('dance'); } else { _x = _x - 10; gotoAndPlay(1); } } } instance guy4 of movieClip 4499 { onClipEvent (load) { if (_root.GUYtype != 4) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 5; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; DANCING = false; myColor = new Color(this); myColorTransform = new Object(); elasticness = 0.8; quickness = 0.05; OLDXSPEED = 0; OLDYSPEED = 0; if (_root.GUYtype == 4) { _name = 'guy'; } } onClipEvent (mouseDown) { XDISTANCE = _x - _root._xmouse; YDISTANCE = _y - 20 - _root._ymouse; if (Math.sqrt(XDISTANCE * XDISTANCE + YDISTANCE * YDISTANCE) > 60) { stickpointX = _root._xmouse; stickpointY = _root._ymouse; CLICKING = true; } else { circle.impact = 200; } } onClipEvent (mouseUp) { if (XSPEED != 0 && YSPEED != 0 && CLICKING == true) { speed = XSPEED; fallspeed = YSPEED; } CLICKING = false; } onClipEvent (enterFrame) { _root.clock._x = stickpointX; _root.clock._y = stickpointY; if (!_root.PAUSE && _name == 'guy' && DANCING == false) { if (impact > 0) { CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } _x = _x + speed; _y = _y + fallspeed; if (_root.beampower < 100) { ++_root.beampower; } if (_root.beampower < 0) { CLICKING = false; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if (CLICKING) { XDISTANCE = stickpointX - _x; YDISTANCE = stickpointY - (_y - 20); XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; fallspeed = 0; speed = 0; if (Math.sqrt(XDISTANCE * XDISTANCE + YDISTANCE * YDISTANCE) < 40) { speed = XSPEED; fallspeed = YSPEED; XSPEED = 0; YSPEED = 0; CLICKING = false; } if (_xscale > 0) { mc.Rspeed += OLDXSPEED / 10; } else { mc.Rspeed -= OLDXSPEED / 10; } } else { OLDXSPEED = speed; OLDYSPEED = fallspeed; } if (_root.ground.hitTest(_x, _y, true)) { if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } _root.beampower = 100; if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { respawnX = _x - speed; respawnY = _y - fallspeed; } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { _x = _x + walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { _x = _x - walkspeed; } } else { --groundseconds; if (_y > _root.cam._y + _root.cam._height) { _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } if (_root.ground.hitTest(_x, _y - 41, true)) { fallspeed = 3; } if (_root.ground.hitTest(_x + 16, _y - 15, true) || _root.ground.hitTest(_x - 16, _y - 15, true)) { speed = 0; } ++fallspeed; if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } } while (_root.ground.hitTest(_x, _y - 2, true)) { _y = _y - 1; } while (_root.ground.hitTest(_x, _y - 40, true)) { _y = _y + 1; } while (_root.ground.hitTest(_x - 10, _y - 20, true)) { _x = _x + 1; } while (_root.ground.hitTest(_x + 10, _y - 20, true)) { _x = _x - 1; } } } } movieClip 4500 { } movieClip 4505 { } movieClip 4507 { frame 2 { if (_root.guy.fallspeed < 0) { gotoAndPlay(1); } } frame 4 { gotoAndPlay(3); } } movieClip 4508 { frame 1 { speed = 0; if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } } frame 2 { gotoAndPlay(1); } frame 3 { if (!_root.PAUSE) { if (!_root.ground.hitTest(_x, _y + 5, true)) { gotoAndPlay('jump'); } } } frame 4 { if (Key.isDown(_root.LEFT) || Key.isDown(_root.RIGHT) || Key.isDown(37) || Key.isDown(39)) { gotoAndPlay('run'); } else { gotoAndPlay(1); } } frame 6 { if (!_root.ground.hitTest(_x, _y + 3, true)) { gotoAndPlay('jump'); } else { gotoAndPlay(1); } } frame 8 { if (mc._currentframe < 250) { gotoAndPlay('dance'); } else { _x = _x - 10; gotoAndPlay(1); } } } instance guy3 of movieClip 4508 { onClipEvent (load) { if (_root.GUYtype != 3) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 5; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; DANCING = false; myColor = new Color(this); myColorTransform = new Object(); } onClipEvent (mouseDown) { CLICKING = true; } onClipEvent (mouseUp) { CLICKING = false; } onClipEvent (enterFrame) { if (!_root.PAUSE && _name == 'guy' && DANCING == false) { if (impact > 0) { CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } _x = _x + speed; _y = _y + fallspeed; if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } if (_root.beampower < 100) { ++_root.beampower; } if (_root.beampower < 0) { CLICKING = false; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if (_root.ground.hitTest(_x, _y, true)) { if (CLICKING) { fallspeed = -3; } _root.beampower = 100; if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { respawnX = _x - speed; respawnY = _y - fallspeed; } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { _x = _x + walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { _x = _x - walkspeed; } } else { --groundseconds; if (_y > _root.cam._y + _root.cam._height) { _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } if (_root.ground.hitTest(_x, _y - 41, true)) { fallspeed = 3; } if (_root.ground.hitTest(_x + 16, _y - 15, true) || _root.ground.hitTest(_x - 16, _y - 15, true)) { speed = 0; } ++fallspeed; if (CLICKING) { fallspeed = -3; } if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } } while (_root.ground.hitTest(_x, _y - 2, true)) { _y = _y - 1; } while (_root.ground.hitTest(_x, _y - 40, true)) { _y = _y + 1; } while (_root.ground.hitTest(_x - 10, _y - 20, true)) { _x = _x + 1; } while (_root.ground.hitTest(_x + 10, _y - 20, true)) { _x = _x - 1; } } } } instance of movieClip 2189 { onClipEvent (load) { _root.claw.removeMovieClip(); _name = 'claw'; elasticness = 0.9; quickness = 0.05; OLDXSPEED = 0; OLDYSPEED = 10; rotationammount = 30; SINE = 0; seconds = 0; _x = _root.cam._x + _root.cam._width / 2; FRAME = _root._currentframe; this.swapDepths(_root.getNextHighestDepth()); if (_root.NOSCREAMING) { this.removeMovieClip(); } if (_root.BOSSfight == 'ship' || _root.BOSSfight == 'shark' || _root.UNIVERSE != 'forest' || _root.TESTING || _root.LEVEL == 'level select' || _root.LEVEL == 51 || _root.LEVEL == 5) { this.removeMovieClip(); } if (_root.LEVEL != 1 && _root.LEVEL != 2 && _root.LEVEL != 5) { R = 1 + Math.round(Math.random() * 33); for (;;) { if (!(R == 19 || R == 21 || R == 24 || R == 26 || R == 29)) break; R = 1 + Math.round(Math.random() * 31); } if (_root.LEVEL == 2) { R = 3; } if (_root.LEVEL == 3) { R = 2; } if (_root.LEVEL == 4) { R = 4; } if (_root.LEVEL == 6) { R = 1; } if (_root.LEVEL == 15) { R = 26; } if (_root.LEVEL == 16) { R = 21; } if (_root.LEVEL == 17) { R = 18; } if (_root.LEVEL == 18) { R = 20; } if (_root.LEVEL == 56) { R = 29; } _root.claw.seconds = 100; if (R == 1) { _root.claw.mouth.gotoAndPlay('passing out'); _root.claw.seconds = 180; } if (R == 2) { _root.claw.mouth.gotoAndPlay('ribs in eyes'); _root.claw.seconds = 150; } if (R == 3) { _root.claw.mouth.gotoAndPlay('see my bones'); } if (R == 4) { _root.claw.mouth.gotoAndPlay('this much blood'); } if (R == 5) { _root.claw.mouth.gotoAndPlay('seen this coming'); } if (R == 6) { _root.claw.mouth.gotoAndPlay('kind of monster'); _root.claw.seconds = 150; } if (R == 7) { _root.claw.mouth.gotoAndPlay('insides outsides pain'); } if (R == 8) { _root.claw.mouth.gotoAndPlay('doesnt make sense'); _root.claw.seconds = 130; } if (R == 9) { _root.claw.mouth.gotoAndPlay('doing my hair'); _root.claw.seconds = 130; } if (R == 10) { _root.claw.mouth.gotoAndPlay('short scream'); _root.claw.seconds = 90; } if (R == 11) { _root.claw.mouth.gotoAndPlay('mid scream'); } if (R == 12) { _root.claw.mouth.gotoAndPlay('a quick death'); } if (R == 13) { _root.claw.mouth.gotoAndPlay('allergic'); } if (R == 14) { _root.claw.mouth.gotoAndPlay('brand new shirt'); } if (R == 15) { _root.claw.mouth.gotoAndPlay('doc was right'); } if (R == 16) { _root.claw.mouth.gotoAndPlay('eat my way out'); } if (R == 17) { _root.claw.mouth.gotoAndPlay('eat your vegetables'); } if (R == 18) { _root.claw.mouth.gotoAndPlay('extremely improbable'); } if (R == 19) { _root.claw.mouth.gotoAndPlay('extremely out of the ordinary'); } if (R == 20) { _root.claw.mouth.gotoAndPlay('extremely unlikely'); } if (R == 21) { _root.claw.mouth.gotoAndPlay('forgive me hasbro'); } if (R == 22) { _root.claw.mouth.gotoAndPlay('interior design'); } if (R == 23) { _root.claw.mouth.gotoAndPlay('medical insurance'); } if (R == 24) { _root.claw.mouth.gotoAndPlay('my horoscope'); } if (R == 25) { _root.claw.mouth.gotoAndPlay('my lawyer'); } if (R == 26) { _root.claw.mouth.gotoAndPlay('roller coaster tycoon'); } if (R == 27) { _root.claw.mouth.gotoAndPlay('architect'); } if (R == 28) { _root.claw.mouth.gotoAndPlay('tell my wife'); } if (R == 29) { _root.claw.mouth.gotoAndPlay('the only way'); } if (R == 30) { _root.claw.mouth.gotoAndPlay('this hurts'); } if (R == 31) { _root.claw.mouth.gotoAndPlay('virtual cows'); } if (R == 32) { _root.claw.mouth.gotoAndPlay('what to deserve this'); } if (R == 33) { _root.claw.mouth.gotoAndPlay('where are my legs'); } if (R == 34) { seconds = 110; mouth.gotoAndPlay('this much blood'); } } Bcount = 0; } onClipEvent (enterFrame) { if (FRAME != _root._currentframe || _root.BOSSfight == 'ship' || _root.BOSSfight == 'shark' || _root.UNIVERSE != 'forest' || _root.TESTING || _root.LEVEL == 'level select') { this.removeMovieClip(); } --seconds; if (seconds > 0) { Xpoint = _root.cam._x + 300; ++Bcount; _root.animated.attachMovie('blood squib', 'blood squib' + Bcount, _root.animated.getNextHighestDepth()); _root.animated['blood squib' + Bcount]._x = _x; _root.animated['blood squib' + Bcount]._y = _y; if (_root.LEVEL == 3 && Math.random() > 0.7) { ++Bcount; _root.animated.attachMovie('coin', 'blood squib' + Bcount, _root.animated.getNextHighestDepth()); _root.animated['blood squib' + Bcount]._x = _x; _root.animated['blood squib' + Bcount]._y = _y; _root.animated['blood squib' + Bcount].secondsMAX = 20 + Math.random() * 10; } } else { Xpoint = _root.cam._x + 500; } XDISTANCE = Xpoint - _x; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; _x = _x + XSPEED; OLDXSPEED = XSPEED; if (_x < _root.cam._x + 200) { _x = _root.cam._x + 200; } _y = _root.cam._y - 100 - Math.sin(SINE) * 30; _rotation = Math.cos(SINE - 90) * rotationammount; SINE += 0.2; } } instance cam of movieClip 4339 { onClipEvent (load) { SINE = 0; SHAKE = 0; _x = _root.guy._x; _y = _root.guy._y; SECRETS = false; D0NE = false; } onClipEvent (enterFrame) { if (_root.LEVEL == 25) { BOTTOM = 600; _root.Foreground.removeMovieClip(); } if (_root.guy._y < _root.ground._y + 3 && _root.ground._rotation == 0) { if (_root.LEVEL != 40 && _root.LEVEL != 18 && _root.LEVEL != 19 && _root.LEVEL != 24 && _root.LEVEL != 23) { SECRETS = true; } } else { SECRETS = false; } if (SECRETS) { _y = _y - (_y - _height * -0.5) / 5; } else { if (_root.inside_house) { _x = _root.Background.house._x + 130; Y = _root.Background.house._y - 80; _y = _y - (_y - Y) / 5; _xscale = 50; _yscale = 50; } else { if (_root.BOSSfight == 'ship') { if (_root.Background.ship.HEALTH > 0) { _xscale = 150; _yscale = 150; _x = _x - (_x - _root.Background.ship._x) / 10; _y = _y - (_y - (_root.Background.ship._y + _height / 3)) / 10; Y = _root.Background.ship._y + _height / 3; } else { _y = _y - (_y - Y) / 5; } } else { if (_root.BOSSfight == 'shark') { _xscale = 120; _yscale = 120; _x = _root.guy._x - (_root.guy._x - _root.Background.shark.sharkface._x) / 5; if (_root.Background.shark.sharkface._y < _root.guy._y && _root.Background.shark.sharkface.MOVE != 'straightUP') { _y = _root.guy._y - (_root.guy._y - _root.Background.shark.sharkface._y) / 3; } else { _y = _y - (_y - _root.guy._y) / 5; } } else { if (_root.BOSSfight == 'ship inside') { _xscale = 140; _yscale = 140; _x = 570; _y = _root.guy._y; } else { if (_root.BOSSfight == 'weasel') { _xscale = 120; _yscale = 120; _x = _root.guy._x; _y = _root.guy._y; if (_y < _height / 2) { _y = _height / 2; } } else { _xscale = 100; _yscale = _xscale; _x = Math.round(_root.guy._x); _y = Math.round(_root.guy._y); } } } } if (_root.ground._rotation / 180 == Math.round(_root.ground._rotation / 180)) { if (_x > EDGE - _width / 2) { _x = EDGE - _width / 2; } if (_y > BOTTOM - _height / 2) { _y = BOTTOM - _height / 2; } if (_y < _height / 2 && _root.BOSSfight == false) { _y = _height / 2; } if (_x < _width / 2) { _x = _width / 2; } } else { if (_x > BOTTOM - _width / 2) { _x = BOTTOM - _width / 2; } if (_y > EDGE - _height / 2) { _y = EDGE - _height / 2; } if (_y < _height / 2 && _root.BOSSfight == false) { _y = _height / 2; } if (_x < _width / 2) { _x = _width / 2; } } } SINE += 180; if (SINE >= 900) { SINE = 0; } _y = _y + Math.round(Math.sin(SINE) * SHAKE); if (SHAKE > 0) { --SHAKE; } else { SHAKE = 0; } } if (_root.LEVEL < 5) { _root.titles._x = _x - 150 + _root.titles.Xdiff; _root.titles._y = _y + 100; } else { _root.titles._x = _x; _root.titles._y = _y; } _root.signage._x = _x; _root.signage._y = _y; } } movieClip 4510 { } instance guy5 of movieClip 4436 { onClipEvent (load) { if (_root.GUYtype != 5) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 5; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; respawnX = _x; respawnY = _y; DANCING = false; BURNING = false; burncount = 0; if (_root.LEVEL == 1) { gotoAndPlay('dance'); DANCING = true; } myColor = new Color(this); myColorTransform = new Object(); RIGHTmousedown = false; } onClipEvent (enterFrame) { if (!_root.PAUSE && _name == 'guy' && DANCING == false) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.map[i][j] == 20 || _root.map[i - 1][j] == 20 || _root.map[i][j - 1] == 20 || _root.map[i][j + 1] == 20) { UNDERWATER = true; BURNING = false; if (Math.random() > 0.9) { ++_root.Water.bubblecount; _root.Water.attachMovie('bubble', 'bubble' + _root.Water.bubblecount, _root.Water.getNextHighestDepth()); _root.Water['bubble' + _root.Water.bubblecount]._x = _x + _xscale * 0.1; _root.Water['bubble' + _root.Water.bubblecount]._y = _y - 25; } } else { UNDERWATER = false; } if (BURNING) { ++burncount; walkspeed = 7; _root.SKY.attachMovie('smoke pop', 'flame' + _root.SKY.getNextHighestDepth(), _root.SKY.getNextHighestDepth()); _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._x = _x; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._y = _y - 20; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Xspeed = 2 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)].Yspeed = -4 - Math.random() * 4; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._xscale = 50; _root.SKY['flame' + (_root.SKY.getNextHighestDepth() - 1)]._yscale = 50; myColorTransform = {'rb': -burncount, 'gb': -burncount, 'bb': -burncount}; myColor.setTransform(myColorTransform); if (burncount / 2 == Math.round(burncount / 2)) { myColorTransform = {'rb': -burncount * 2, 'gb': -burncount * 2, 'bb': -burncount * 2}; myColor.setTransform(myColorTransform); } } else { walkspeed = 5; burncount = 0; } if (_root.beampower <= 0) { CLICKING = false; _root.beampower = 100; } if (impact > 0) { fallspeed = 0; speed = 0; CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { ++_root.DEATHcount; if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } else { if (Key.isDown(2) && RIGHTmousedown == false) { CLICKING = true; RIGHTmousedown = true; } if (!Key.isDown(2)) { RIGHTmousedown = false; } if (CLICKING) { hitX = _root.BEAM.nodeENDX; hitY = _root.BEAM.nodeENDY; j = Math.round(hitX / 30); if (Math.round(hitX / 30) > hitX / 30) { j = Math.round((hitX - 10) / 30); } i = Math.round((hitY - 15) / 30); if (!RIGHTmousedown) { O = 0; while (O < 3) { if (_root.Foreground['tile' + i + ' ' + j]._currentframe != 5) { hitX = _root.BEAM.nodeENDX - Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * (_root.BEAM.SPACING * O); hitY = _root.BEAM.nodeENDY - Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * (_root.BEAM.SPACING * O); j = Math.round(hitX / 30); if (Math.round(hitX / 30) > hitX / 30) { j = Math.round((hitX - 10) / 30); } i = Math.round((hitY - 15) / 30); } ++O; } } if (RIGHTmousedown) { if (_root.Foreground['tile' + i + ' ' + j]._currentframe == 32) { _root.Foreground['tile' + i + ' ' + j].gotoAndStop(5); _root.ground['tile' + i + ' ' + j].gotoAndStop(5); _root.map[i][j] = 5; } } else { _root.Foreground['tile' + i + ' ' + j].gotoAndStop(32); _root.ground['tile' + i + ' ' + j].gotoAndStop(32); _root.map[i][j] = 32; } _root.beampower -= 50; } j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); test = 0; while (test < 3) { if (UNDERWATER) { _x = _x + speed * 0.16; _y = _y + fallspeed * 0.16; fallspeed -= 0.16; } else { _x = _x + speed / 3; _y = _y + fallspeed / 3; } while (_root.ground.hitTest(_x, _y - 40, true)) { _y = _y + 1; } while (_root.ground.hitTest(_x, _y - 2, true)) { _y = _y - 1; } while (_root.ground.hitTest(_x - 10, _y - 20, true)) { _x = _x + 1; } while (_root.ground.hitTest(_x + 10, _y - 20, true)) { _x = _x - 1; } ++test; } } if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if (_root.ground.hitTest(_x, _y, true)) { if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { if (_root.map[i + 1][j] < 5 || _root.map[i + 1][j] > 11) { if (_root.map[i + 1][j] < 20) { respawnX = _x - speed; respawnY = _y - fallspeed; } } } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } else { if (speed > 25) { speed = 25; } if (speed < -25) { speed = -25; } --groundseconds; if (_y > _root.cam._y + _root.cam._height) { ++_root.DEATHcount; if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } if ((_root.groundBitmap.getPixel(_x, _y - 41)).toString(16) == 'ff0000') { if (fallspeed < 0) { fallspeed *= 0.5; } } ++fallspeed; if (_root.ground.hitTest(_x + 11, _y - 20, true) || _root.ground.hitTest(_x - 11, _y - 20, true)) { speed *= 0.7; } if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < walkspeed) { ++speed; } } else { if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -walkspeed) { --speed; } } else { speed *= 0.9; } } } else { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < 20) { speed += 0.3; } } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -20) { speed -= 0.3; } } } } } } onClipEvent (mouseDown) { CLICKING = true; } onClipEvent (mouseUp) { CLICKING = false; _root.beampower = 100; } } instance rootpoint of movieClip 4121 tile { onClipEvent (load) { stop(); _visible = true; } } instance guy6 of movieClip 4436 { onClipEvent (load) { if (_root.GUYtype != 6) { this.swapDepths(999); this.removeMovieClip(); } walkspeed = 5; jumpheight = 8; speed = 0; _root.beampower = 100; XSCALE = _xscale; fallspeed = 3; groundseconds = 0; impact = 0; respawnX = _x; respawnY = _y; DANCING = false; BURNING = false; burncount = 0; if (_root.LEVEL == 1) { gotoAndPlay('dance'); DANCING = true; } var savefile = SharedObject.getLocal('NoTime'); if (savefile.data.LEVEL6 != 'done' && _root.LEVEL == 'level select') { gotoAndPlay('dance'); DANCING = true; } myColor = new Color(this); myColorTransform = new Object(); } onClipEvent (enterFrame) { beamP = _root.beampower; if (_root.beampower > 100) { beamP = 100; } if (!_root.PAUSE && _name == 'guy' && DANCING == false) { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.map[i][j] == 20 || _root.map[i - 1][j] == 20 || _root.map[i][j - 1] == 20 || _root.map[i][j + 1] == 20) { UNDERWATER = true; BURNING = false; if (Math.random() > 0.9) { ++_root.Water.bubblecount; _root.Water.attachMovie('bubble', 'bubble' + _root.Water.bubblecount, _root.Water.getNextHighestDepth()); _root.Water['bubble' + _root.Water.bubblecount]._x = _x + _xscale * 0.1; _root.Water['bubble' + _root.Water.bubblecount]._y = _y - 25; } } else { UNDERWATER = false; } if (BURNING) { ++burncount; walkspeed = 7; _root.sky.attachMovie('smoke pop', 'flame' + _root.sky.getNextHighestDepth(), _root.sky.getNextHighestDepth()); _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)]._x = _x; _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)]._y = _y - 20; _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)].Xspeed = 2 - Math.random() * 4; _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)].Yspeed = -4 - Math.random() * 4; _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)]._xscale = 50; _root.sky['flame' + (_root.sky.getNextHighestDepth() - 1)]._yscale = 50; myColorTransform = {'rb': -burncount, 'gb': -burncount, 'bb': -burncount}; myColor.setTransform(myColorTransform); if (burncount / 2 == Math.round(burncount / 2)) { myColorTransform = {'rb': -burncount * 2, 'gb': -burncount * 2, 'bb': -burncount * 2}; myColor.setTransform(myColorTransform); } } else { walkspeed = 5; burncount = 0; } if (impact > 0) { fallspeed = 0; speed = 0; CLICKING = false; --impact; myColorTransform = {'rb': 200, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (impact == 0) { ++_root.DEATHcount; Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); if (_root.LEVEL == 7 || _root.LEVEL == 8 || _root.LEVEL == 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); } } else { j = Math.round(_x / 30); if (Math.round(_x / 30) > _x / 30) { j = Math.round((_x - 10) / 30); } i = Math.round((_y - 15) / 30); test = 0; while (test < 3) { if (UNDERWATER) { _x = _x + speed * 0.16; _y = _y + fallspeed * 0.16; fallspeed -= 0.16; } else { _x = _x + speed / 3; _y = _y + fallspeed / 3; } while ((_root.groundBitmap.getPixel(_x, _y - 40)).toString(16) == 'ff0000') { _y = _y + 1; } while ((_root.groundBitmap.getPixel(_x, _y - 2)).toString(16) == 'ff0000') { _y = _y - 1; } while ((_root.groundBitmap.getPixel(_x + 10, _y - 20)).toString(16) == 'ff0000') { _x = _x - 1; } while ((_root.groundBitmap.getPixel(_x - 10, _y - 20)).toString(16) == 'ff0000') { _x = _x + 1; } ++test; } } if (_root._xmouse > _x) { _xscale = XSCALE; } else { _xscale = -XSCALE; } if (_root.beampower < 100) { ++_root.beampower; } if (_root.beampower < 0) { CLICKING = false; } if (groundseconds > 0) { if (Key.isDown(38) || Key.isDown(_root.UP)) { fallspeed = -jumpheight; } } if ((_root.groundBitmap.getPixel(_x, _y)).toString(16) == 'ff0000') { if (_root.beampower < 100) { _root.beampower = 100; } if (fallspeed >= 0) { fallspeed = 0; } if (groundseconds == 3) { if (_root.map[i + 1][j] < 5 || _root.map[i + 1][j] > 11) { if (_root.map[i + 1][j] < 20) { respawnX = _x - speed; respawnY = _y - fallspeed; } } if (_root.BOSSfight == 'shark') { respawnX = _x - speed; respawnY = _y - fallspeed; } } groundseconds = 3; speed *= 0.7; if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { speed = walkspeed; } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { speed = -walkspeed; } } else { if (speed > 25) { speed = 25; } if (speed < -25) { speed = -25; } --groundseconds; if (_y > _root.cam._y + _root.cam._height) { Playtomic.Log.LevelCounterMetric('Deaths', _root.LEVEL); ++_root.DEATHcount; if (_root.LEVEL >= 7 && _root.LEVEL <= 9 || _root.LEVEL == 11) { _root.gotoAndPlay('reset'); } _x = respawnX; _y = respawnY; speed = 0; fallspeed = 0; _root.beampower = 100; } COLOUR = (_root.groundBitmap.getPixel(_x, _y - 41)).toString(16); if ((_root.groundBitmap.getPixel(_x, _y - 41)).toString(16) == 'ff0000') { if (fallspeed < 0) { fallspeed *= 0.5; } } ++fallspeed; if ((_root.groundBitmap.getPixel(_x + 11, _y - 20)).toString(16) == 'ff0000' || (_root.groundBitmap.getPixel(_x - 11, _y - 20)).toString(16) == 'ff0000') { speed *= 0.7; } if (CLICKING) { if (UNDERWATER) { fallspeed = -Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 12; speed = -Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 12; _x = _x + speed; _y = _y + fallspeed; ++_root.beampower; } else { fallspeed -= Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 100; speed -= Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 100; if (_root.beampower > 150) { fallspeed = -Math.sin(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 10; speed = -Math.cos(_root.BEAM.ANGLE * 0.0174532925199433) * beamP / 10; } } } else { if (speed >= -walkspeed * 2 && speed <= walkspeed * 2) { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < walkspeed) { ++speed; } } else { if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -walkspeed) { --speed; } } else { speed *= 0.9; } } } else { if (Key.isDown(_root.RIGHT) || Key.isDown(39)) { if (speed < 20) { speed += 0.3; } } if (Key.isDown(_root.LEFT) || Key.isDown(37)) { if (speed > -20) { speed -= 0.3; } } } } } } } onClipEvent (mouseDown) { if (!_root.guy.DANCING) { CLICKING = true; } } onClipEvent (mouseUp) { CLICKING = false; } } instance tractorbeams of movieClip 4121 tile { onClipEvent (load) { this.unloadMovie(); } onClipEvent (enterFrame) { _x = _root.ground._x; _y = _root.ground._y; _rotation = _root.ground._rotation; _visible = true; } } movieClip 4511 { frame 1 { _x = _root.cam._x; _y = _root.cam._y; _xscale = _root.cam._xscale; _yscale = _root.cam._yscale; this.swapDepths(_root.getNextHighestDepth()); onEnterFrame = function () { this.removeMovieClip(); }; } } movieClip 4512 { frame 1 { stop(); _visible = false; } frame 2 { _root.chop2.start(0, 1); } } movieClip 4514 { frame 1 { Ccount = 0; seconds = 0; onEnterFrame = function () { _rotation = _rotation - 5; ++seconds; if (seconds >= 10) { seconds = 0; ++Ccount; if (Ccount >= 20) { Ccount = 0; } attachMovie('clock', 'clock' + Ccount, Ccount); this['clock' + Ccount]._x = Math.cos(Math.random() * 360 * 0.0174532925199433) * 400; this['clock' + Ccount]._y = Math.sin(Math.random() * 360 * 0.0174532925199433) * 400; } }; } } movieClip 4524 { frame 1 { stop(); _root.Mainthemedance.stop(); _root.TimeRewind.start(0, 1); } frame 100 { _alpha = 100; } frame 101 { _root.Mainthemedance.start(0, 99); _root.gotoAndPlay('reset'); } } movieClip 4526 { } movieClip 4527 { instance of movieClip 344 { onClipEvent (enterFrame) { _rotation = _rotation + 10; } } instance of movieClip 2686 { onClipEvent (load) { SCALE = 160; } onClipEvent (enterFrame) { _xscale = _xscale - SCALE; _yscale = _xscale; SCALE *= 0.9; _rotation = _rotation + 10; } } instance of movieClip 4524 { onClipEvent (load) { _alpha = 0; seconds = 0; } onClipEvent (enterFrame) { if (seconds < 30) { ++seconds; } else { play(); if (_alpha < 50 && _currentframe < 50) { _alpha = _alpha + 5; } if (_currentframe > 75) { _alpha = _alpha - 5; } _alpha = 0; } } } instance of movieClip 4526 { onClipEvent (load) { X = _x; } onClipEvent (enterFrame) { _x = _x - 30; if (_x < X - _width / 2) { _x = X; } } } instance of movieClip 4526 { onClipEvent (load) { X = _x; } onClipEvent (enterFrame) { _x = _x + 30; if (_x > X) { _x = X - _width / 2; } } } } frame 7 { if (_root.SHOOTERcheckpoint == undefined) { stopAllSounds(); } for (var i in _root) { if (_root[i].getDepth() > 0) { _root[i].removeMovieClip(); } } _root.groundBitmap = null; _root.PORTAL = 'shooterlevel'; _root.sucking.start(0, 1); } movieClip 4530 { frame 1 { seconds = 0; Y = _y; _y = _y + _height; onEnterFrame = function () { if (_root.Foreground.seconds > 1710) { if (_root.ending == undefined || _root.ending._x > 900) { if (_y > Y) { _y = _y - 1; } ++seconds; this.attachMovie('wave', 'wave' + this.getNextHighestDepth(), this.getNextHighestDepth()); this['wave' + (this.getNextHighestDepth() - 1)]._x = 700; this['wave' + (this.getNextHighestDepth() - 1)]._xscale = 10 + Math.random() * 100; if (this['wave' + (this.getNextHighestDepth() - 1)]._xscale > 50 && Math.random() > 0.5) { this['wave' + (this.getNextHighestDepth() - 1)]._xscale -= 50; } this['wave' + (this.getNextHighestDepth() - 1)]._rotation = 30 - Math.random() * 60; this['wave' + (this.getNextHighestDepth() - 1)]._yscale = this['wave' + (this.getNextHighestDepth() - 1)]._xscale; this['wave' + (this.getNextHighestDepth() - 1)]._y = this['wave' + (this.getNextHighestDepth() - 1)]._xscale * 1.5; } } }; } } instance tail of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (pointcount == null) { pointcount = 0; SINE = 0; Y = 0; i = pointcount; while (i > pointcount - 50) { this['Xpoint' + i] = -100; --i; } } if (_root.Foreground.seconds > 850) { ++pointcount; SINE += 0.1; SINE += Math.random() * 10; this['Xpoint' + pointcount] = 800; this['Ypoint' + pointcount] = Y + Math.sin(SINE / 20) * 10; this.createEmptyMovieClip('LINE', 1); LINE.moveTo(850, 0); LINE.beginFill(14201963); i = pointcount; while (i > pointcount - 50) { this['Xpoint' + i] -= 30; THICKNESS = Math.sqrt((this['Ypoint' + i] - this['Ypoint' + (i - 1)]) * (this['Ypoint' + i] - this['Ypoint' + (i - 1)])) / 2; LINE.lineStyle(3 + THICKNESS, 11037244); LINE.lineTo(this['Xpoint' + i], this['Ypoint' + i]); --i; } LINE.lineTo(this['Xpoint' + i], 100); LINE.lineTo(800, 100); LINE.endFill(); } if (_root.Foreground.seconds > 1710) { ++Y; } if (Y > 150) { this.swapDepths(999); this.removeMovieClip(); } } } movieClip 4532 { } instance of movieClip 4532 { onClipEvent (enterFrame) { if (_root.Foreground.seconds > 1750) { _y = _y + 1; } if (_y > 600) { this.swapDepths(999); this.removeMovieClip(); } } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (Pcount == null) { _name = 'BACKGROUND'; Pcount = 200; starcount = 0; _x = 0; _y = 0; } if (_root.Foreground.seconds == 100) { this.attachMovie('background T-rex', 'Trex', -1); Trex._x = 850; Trex._y = 450; } Trex._x -= 5; if (Trex._x < -150) { Trex.swapDepths(999); Trex.removeMovieClip(); } ++Pcount; if (Pcount / 4 == Math.round(Pcount / 4)) { if (_root.Foreground.seconds < 700) { this.attachMovie('future building 2', 'building' + Pcount, Pcount); this['building' + Pcount]._x = 700; this['building' + Pcount]._y = 500 + Math.random() * 30; } else { if (_root.Foreground.seconds < 900) { if (Math.random() > 0.8) { this.attachMovie('future building 2', 'building' + Pcount, Pcount); this['building' + Pcount]._x = 700; this['building' + Pcount]._y = 500 + Math.random() * 30; } } } } if (_root.Foreground.seconds < 900) { if (Pcount / 6 == Math.round(Pcount / 6)) { this.attachMovie('industrail building darker', 'Ibuilding' + Pcount, Pcount - 100); this['Ibuilding' + Pcount]._x = 900; this['Ibuilding' + Pcount]._y = 600; } } if (_root.ending == undefined || _root.ending._x > 900) { if (Pcount / 20 == Math.round(Pcount / 20)) { ++starcount; this.attachMovie('star', 'star' + starcount, starcount); this['star' + starcount]._x = 800; this['star' + starcount]._y = -200 + Math.random() * 400; this['star' + starcount]._xscale = 50; this['star' + starcount]._yscale = 50; this['star' + starcount].gotoAndStop(2); } i = starcount - 10; while (i < starcount) { this['star' + i]._x -= 5; ++i; } this['star' + (starcount - 10)].removeMovieClip(); if (starcount > 100) { starcount = 0; } } } } instance Rocketfuel of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (_root.ending == undefined) { SPEED = -5; } else { if (SPEED < -0.5) { SPEED *= 0.95; } } if (_root.ending == undefined || _root.ending._x > 850) { if (_root.guy._visible) { if (Pcount == null) { Pcount = 0; } _x = 0; _y = 0; ++Pcount; this.attachMovie('smoke pop', 'pop' + Pcount, Pcount); this['pop' + Pcount]._x = _root.guy._x - 5; this['pop' + Pcount]._y = _root.guy._y + 5; this['pop' + Pcount].Xspeed = SPEED; this['pop' + Pcount].Yspeed = 5 + Math.random() * 5; if (Pcount / 2 == Math.round(Pcount / 2)) { this['pop' + Pcount].gotoAndPlay(2); } if (Math.random() > 0.5) { this['pop' + Pcount]._xscale *= -1; } this['pop' + Pcount]._rotation = Math.random() * 360; if (_root.terrordactyl._x < 1000) { ++Pcount; this.attachMovie('smoke pop', 'pop' + Pcount, Pcount); this['pop' + Pcount]._x = _root.terrordactyl._x; this['pop' + Pcount]._y = _root.terrordactyl._y; this['pop' + Pcount].Xspeed = -5; this['pop' + Pcount].Yspeed = -Math.random() * 5; if (Pcount / 2 == Math.round(Pcount / 2)) { this['pop' + Pcount].gotoAndPlay(2); } if (Math.random() > 0.5) { this['pop' + Pcount]._xscale *= -1; } this['pop' + Pcount]._rotation = Math.random() * 360; } i = 0; while (i <= 3) { if (_root['missile' + i] != null) { _root._quality = 'MEDIUM'; ++Pcount; this.attachMovie('smoke pop', 'pop' + Pcount, Pcount); this['pop' + Pcount]._x = _root['missile' + i]._x - 5; this['pop' + Pcount]._y = _root['missile' + i]._y + 5; this['pop' + Pcount]._rotation = Math.random() * 360; if (Pcount / 2 == Math.round(Pcount / 2)) { this['pop' + Pcount].gotoAndPlay(2); } if (Math.random() > 0.5) { this['pop' + Pcount]._xscale *= -1; } } ++i; } } } } } instance BEAM of movieClip 4361 { onClipEvent (load) { iMAX = 45; SPACING = 20; if (_root.LEVEL == 5 || _root.BOSSfight == 'shark') { iMAX = 30; SPACING = 30; } if (_root.BOSSfight == 'ship inside') { iMAX = 55; SPACING = 15; } sine = 0; Ccount = 2; if (_root.GUYtype == 1) { Cmax = 22; } else { Cmax = 30; } ANGLE = 0; BEAMsound = new Sound(this); BEAMsound.attachSound('BEAMsound'); } onClipEvent (enterFrame) { if (_root.guy.CONTROLLING) { X = _root.guy._x - _root._xmouse; Y = _root.guy._y - 15 - _root._ymouse; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; ++sine; if (sine >= 10) { sine = 0; } if (!_root.PAUSE && _root.GUYtype != 2 && _root.guy.DANCING == false) { if (_root.guy.CLICKING) { if (_root.GUYtype == 1 || _root.GUYtype == 2 || _root.GUYtype == 3) { _root.beampower -= 2; if (_root.cam.SHAKE < _root.beampower / 10) { _root.cam.SHAKE = _root.beampower / 10; } } if (_root.GUYtype == 3) { _root.beampower = 100; } beamP = _root.beampower / 100; beaming = true; if (_root.GUYtype == 3) { ANGLE = 90; } nodeENDX = 0; nodeENDY = 0; i = 0; while (i < iMAX) { if (nodeENDX == 0 && nodeENDY == 0) { if (beaming) { if (_root.GUYtype == 1) { if (i > 2) { nodeX = this['nodeX' + (i - 1)] + Math.cos(ANGLE * 0.0174532925199433) * SPACING; nodeY = this['nodeY' + (i - 1)] + Math.sin(ANGLE * 0.0174532925199433) * SPACING; } else { nodeX = _root.guy._x + Math.cos(ANGLE * 0.0174532925199433) * (i * SPACING) - _root.guy._xscale * 0.05; nodeY = _root.guy._y + Math.sin(ANGLE * 0.0174532925199433) * (i * SPACING) - 15; } if (_root.gravcount > 0 && i > 1) { o = 1; while (o < 5) { if (_root.animated['grav' + o] != null) { gravX = nodeX - _root.animated['grav' + o]._x; gravY = nodeY - _root.animated['grav' + o]._y; DISTANCE = Math.sqrt(gravX * gravX + gravY * gravY); POWER = (300 - DISTANCE) / 50; if (POWER < 0) { POWER = 0; } gravANGLE = 180 + (Math.atan2(gravY, gravX) / Math.PI) * 180; nodeX += Math.cos(gravANGLE * 0.0174532925199433) * POWER; nodeY += Math.sin(gravANGLE * 0.0174532925199433) * POWER; if (i > 2) { X = nodeX - this['nodeX' + (i - 1)]; Y = nodeY - this['nodeY' + (i - 1)]; ANGLE = (Math.atan2(Y, X) / Math.PI) * 180; } } ++o; } } if (!_root.ground.hitTest(nodeX, nodeY, true) && nodeX < _root.cam._x + _root.cam._width / 2 && nodeX > _root.cam._x - _root.cam._width / 2 && nodeY < _root.cam._y + _root.cam._height / 2 && nodeY > _root.cam._y - _root.cam._height / 2) { if (i == iMAX - 1) { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } else { this['nodeX' + i] = nodeX; this['nodeY' + i] = nodeY; } } else { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (i == 0) { this.createEmptyMovieClip('beam', 1); beam.moveTo(this.nodeX0, this.nodeY0); this.createEmptyMovieClip('backbeam', 0); backbeam.moveTo(this.nodeX0, this.nodeY0); } if (sine / 2 == Math.round(sine / 2)) { beam.lineStyle(5 * beamP, 3394815); backbeam.lineStyle(20 * beamP, 16777215); } else { beam.lineStyle(10 * beamP, 3394815); backbeam.lineStyle(35 * beamP, 16777215); } } } else { this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (_root.GUYtype == 3 && i <= 20) { nodeX = _root.guy._x + Math.cos(ANGLE * 0.0174532925199433) * (i * 5) - _root.guy._xscale * 0.05; nodeY = _root.guy._y + Math.sin(ANGLE * 0.0174532925199433) * (i * 5) - 15; if (!_root.ground.hitTest(nodeX, nodeY, true) && nodeX < _root.cam._x + _root.cam._width / 2 && nodeX > _root.cam._x - _root.cam._width / 2 && nodeY < _root.cam._y + _root.cam._height / 2 && nodeY > _root.cam._y - _root.cam._height / 2) { this['nodeX' + i] = nodeX; this['nodeY' + i] = nodeY; } else { nodeENDX = nodeX; nodeENDY = nodeY; beaming = false; this['nodeX' + i] = 0; this['nodeY' + i] = 0; } if (sine / 2 == Math.round(sine / 2)) { beam.lineStyle(0, 16750848, 0); backbeam.lineStyle(0, 16777215, 0); } else { beam.lineStyle(0, 16750848, 0); backbeam.lineStyle(0, 16777215, 0); } } if (_root.GUYtype == 4) { if (i == 0) { fakeX = _root.guy._x; fakeY = _root.guy._y - 20; elasticness = 0.8; quickness = 0.01; OLDXSPEED = 0; OLDYSPEED = 0; this.createEmptyMovieClip('beam', 2); beam.moveTo(fakeX, fakeY); this.createEmptyMovieClip('backbeam', 1); backbeam.moveTo(fakeX, fakeY); this.createEmptyMovieClip('backbackbeam', 0); backbackbeam.moveTo(fakeX, fakeY); } XDISTANCE = _root.guy.stickpointX - fakeX; YDISTANCE = _root.guy.stickpointY - fakeY; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; fakeX += XSPEED; fakeY += YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; DISTANCE = 200 - Math.sqrt((_root.guy._x - _root.guy.stickpointX) * (_root.guy._x - _root.guy.stickpointX) + (_root.guy._y - _root.guy.stickpointY) * (_root.guy._y - _root.guy.stickpointY)); THICKNESS = (30 + Math.cos(i / 5) * 30 + DISTANCE * 0.2) / 4; beam.lineStyle(THICKNESS, 16777215); if (sine / 2 == Math.round(sine / 2)) { backbeam.lineStyle(THICKNESS + 5, 3394815, 20); backbackbeam.lineStyle(THICKNESS + 10, 3394815, 20); } else { backbeam.lineStyle(THICKNESS + 10, 3394815, 20); backbackbeam.lineStyle(THICKNESS + 15, 3394815, 20); } this['nodeX' + i] = fakeX; this['nodeY' + i] = fakeY; } if (this['nodeX' + i] != 0 && this['nodeY' + i] != 0) { beam.lineTo(this['nodeX' + i], this['nodeY' + i]); backbeam.lineTo(this['nodeX' + i], this['nodeY' + i]); backbackbeam.lineTo(this['nodeX' + i], this['nodeY' + i]); } } else { beam.lineTo(nodeENDX, nodeENDY); backbeam.lineTo(nodeENDX, nodeENDY); backbackbeam.lineTo(nodeENDX, nodeENDY); } ++i; } X = _root.guy._x - _root._xmouse; Y = _root.guy._y - 15 - _root._ymouse; ANGLE = 180 + (Math.atan2(Y, X) / Math.PI) * 180; if (_root.GUYtype == 3) { ANGLE = 90; } ++Ccount; if (Ccount > Cmax) { Ccount = 2; } if (_root.GUYtype == 3) { duplicateMovieClip(Ocircle, 'circle' + Ccount, Ccount); this['circle' + Ccount]._x = _root.guy._x - _root.guy._xscale / 10; this['circle' + Ccount]._y = _root.guy._y; } else { duplicateMovieClip(circle, 'circle' + Ccount, Ccount); this['circle' + Ccount]._x = nodeENDX; this['circle' + Ccount]._y = nodeENDY; } } else { nodeENDX = 0; nodeENDY = 0; beam.removeMovieClip(); backbeam.removeMovieClip(); backbackbeam.removeMovieClip(); star._visible = false; } } } } onClipEvent (mouseDown) { offset = (100 - _root.beampower) / 25; if (_root.guy.CLICKING) { BEAMsound.start(offset, 1); } } onClipEvent (mouseUp) { BEAMsound.stop(); } } instance guy of movieClip 3548 { onClipEvent (load) { speed = 0; fallspeed = 0; DOWN = 83; LEFT = 65; RIGHT = 68; UP = 87; DANCING = false; SINE = 0; CONTROLLING = false; elasticness = 0.9; quickness = 0.001; OLDXSPEED = 15; OLDYSPEED = 20; if (_root.SHOOTERcheckpoint == undefined) { gotoAndStop('intro'); } else { stop(); } _visible = false; if (_root.SHOOTERcheckpoint != undefined) { _visible = true; CONTROLLING = true; } myColor = new Color(this); myColorTransform = new Object(); IMPACT = 0; deadseconds = 0; } onClipEvent (enterFrame) { if (CONTROLLING) { _x = _x + speed; _y = _y + fallspeed; SINE += 0.1; if (SINE > 18) { SINE = 0; } _y = _y + Math.sin(SINE) / 2; if (Key.isDown(RIGHT)) { speed += 2; } if (Key.isDown(LEFT)) { speed -= 2; } if (Key.isDown(UP)) { fallspeed -= 2; } if (Key.isDown(DOWN)) { fallspeed += 2; } fallspeed *= 0.8; speed *= 0.8; _root.beampower = 100; myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (IMPACT > 0) { --IMPACT; I = Math.sin(IMPACT / 5); myColorTransform = {'rb': Math.sqrt(I * I) * 300, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (IMPACT > 150) { I = Math.sin(IMPACT / 3); I = Math.round(I); myColorTransform = {'rb': Math.sqrt(I * I) * 300, 'gb': Math.sqrt(I * I) * -300, 'bb': Math.sqrt(I * I) * -300}; myColor.setTransform(myColorTransform); } if (IMPACT > 200) { CONTROLLING = false; _visible = false; CLICKING = false; i = 0; while (i < 5) { _root.attachMovie('blood squib', 'squib' + i, _root.getNextHighestDepth()); _root['squib' + i]._x = _x; _root['squib' + i]._y = _y; ++i; } _root.cam.SHAKE = 20; IMPACT = 0; } } } else { myColorTransform = {'rb': 0, 'gb': 0, 'bb': 0}; myColor.setTransform(myColorTransform); if (_root.fallguy.FALLING) { gotoAndStop('empty'); xDist = _x - _root.fallguy._x; yDist = _y - _root.fallguy._y; angle = Math.atan2(yDist, xDist); _rotation = angle / 0.0174532925199433 - 90; XDISTANCE = _root.fallguy._x - _x; YDISTANCE = _root.fallguy._y - _y; XSPEED = OLDXSPEED * elasticness + XDISTANCE * quickness; YSPEED = OLDYSPEED * elasticness + YDISTANCE * quickness; _x = _x + XSPEED; _y = _y + YSPEED; OLDXSPEED = XSPEED; OLDYSPEED = YSPEED; quickness += 0.001; if (_root.fallguy.body.hitTest(_x + 10, _y, true) && quickness > 0.01) { _root.kick2.start(0, 1); CONTROLLING = true; _rotation = 13.5; speed = XSPEED; fallspeed = YSPEED; gotoAndStop('guyonguy'); _root.fallguy.swapDepths(999); _root.fallguy.removeMovieClip(); } } } if (_y < _root.cam._y - _root.cam._height / 2 + 20) { _y = _root.cam._y - _root.cam._height / 2 + 20; } if (_y > _root.cam._y + _root.cam._height / 2) { _y = _root.cam._y + _root.cam._height / 2; } if (_x < _root.cam._x - _root.cam._width / 2 + 15) { _x = _root.cam._x - _root.cam._width / 2 + 15; } if (_x > _root.cam._x + _root.cam._width / 2) { _x = _root.cam._x + _root.cam._width / 2; } if (!_visible) { ++deadseconds; if (deadseconds >= 20) { _root.SHOOTERcheckpoint = _root.Foreground.seconds - 100; _root.LEVEL = 39; _root.gotoAndPlay('reset'); } } else { deadseconds = 0; } if (_root.raptorrex.HEALTH < -100) { CONTROLLING = false; _x = _x - (_x - 330) / 20; _y = _y - (_y - 150) / 20; } if (_root.ending._x < 830) { gotoAndStop('ending'); } } onClipEvent (mouseDown) { CLICKING = true; } onClipEvent (mouseUp) { CLICKING = false; } } instance cam of movieClip 4339 { onClipEvent (load) { SINE = 0; SHAKE = 0; EDGE = _root.ground._width; X = _x; Y = _y; SHAKEleast = 2; } onClipEvent (enterFrame) { _x = X; _y = Y; SINE += 180; if (SINE >= 900) { SINE = 0; } _y = _y + Math.round(Math.sin(SINE) * SHAKE); if (SHAKE > SHAKEleast) { --SHAKE; } else { SHAKE = SHAKEleast; } if (_root.Foreground.seconds > 1750) { SHAKEleast *= 0.9; } } } movieClip 4547 { frame 1 { stop(); } instance of movieClip 73 hitBox { onClipEvent (enterFrame) { if (_root.guy.hitTest(this)) { _root.fallguy.FALLING = true; _root.fallguy._x = _root.guy._x; _root.fallguy._y = _root.guy._y; _parent.play(); } } } frame 9 { _root.Foreground.seconds = 50; _root.cam.STOP = false; } frame 50 { _root.LongPlay.start(0, 99); } frame 51 { this.swapDepths(999); this.removeMovieClip(); } } instance terrordactyl of movieClip 4547 { onClipEvent (load) { speed = 10; seconds = -500; if (_root.SHOOTERcheckpoint != undefined) { this.swapDepths(999); this.removeMovieClip(); } } onClipEvent (enterFrame) { ++seconds; if (seconds > 30) { ++speed; _x = _x + speed; _y = _root.guy._y; } } } instance fallguy of movieClip 2686 { onClipEvent (load) { speed = 1 + Math.random() * 5; fallspeed = -10 - Math.random() * 5; FALLING = false; } onClipEvent (enterFrame) { if (FALLING) { _x = _x + speed; _y = _y + fallspeed; fallspeed += 0.5; _rotation = _rotation + speed * 3; } } } instance of movieClip 73 hitBox { onClipEvent (load) { loadMovie('', this); } onClipEvent (enterFrame) { if (Pcount == null) { _name = 'Foreground'; Pcount = 0; _x = 0; _y = 0; if (_root.SHOOTERcheckpoint != undefined) { seconds = _root.SHOOTERcheckpoint - 100; } else { seconds = -1000; } if (seconds == undefined || seconds == null) { seconds = -1000; } } if (!_root.cam.STOP) { if (seconds < 1790) { ++seconds; } } _root.cam.STOP = false; if (seconds < 200) { ++Pcount; if (Pcount / 3 == Math.round(Pcount / 3)) { this.attachMovie('future building', 'building' + Pcount, Pcount); this['building' + Pcount]._x = 700; this['building' + Pcount]._y = seconds * 1.5 + 480; } } i = 0; while (i < 5) { if (seconds == 150 + i * 10) { _root.attachMovie('kamikaze crockosaurus', 'crock' + seconds, _root.getNextHighestDepth()); _root['crock' + seconds]._x = 800; _root['crock' + seconds]._y = 200; _root['crock' + seconds].SINE = 180; _root.ground.attachMovie('hitBox', 'crock' + seconds, _root.ground.getNextHighestDepth()); _root.ground['crock' + seconds]._xscale = 490; _root.ground['crock' + seconds]._yscale = 240; } if (seconds == 200 + i * 10) { _root.attachMovie('kamikaze crockosaurus', 'crock' + seconds, _root.getNextHighestDepth()); _root['crock' + seconds]._x = 800; _root['crock' + seconds]._y = 200; _root['crock' + seconds].SINE = 0; _root.ground.attachMovie('hitBox', 'crock' + seconds, _root.ground.getNextHighestDepth()); _root.ground['crock' + seconds]._xscale = 490; _root.ground['crock' + seconds]._yscale = 240; } if (seconds == 300 + i * 10) { _root.attachMovie('kamikaze crockosaurus', 'crock' + seconds, _root.getNextHighestDepth()); _root['crock' + seconds]._x = 800; _root['crock' + seconds]._y = 200; _root['crock' + seconds].SINE = 90; _root.ground.attachMovie('hitBox', 'crock' + seconds, _root.ground.getNextHighestDepth()); _root.ground['crock' + seconds]._xscale = 490; _root.ground['crock' + seconds]._yscale = 240; } if (seconds == 1400 + i * 10 || seconds == 1450 + i * 10 || seconds == 1500 + i * 10 || seconds == 1550 + i * 10) { _root.attachMovie('kamikaze crockosaurus', 'crock' + seconds, _root.getNextHighestDepth()); _root['crock' + seconds]._x = 800; _root['crock' + seconds]._y = 150 + Math.random() * 100; _root['crock' + seconds].SINE = Math.random() * 360; _root.ground.attachMovie('hitBox', 'crock' + seconds, _root.ground.getNextHighestDepth()); _root.ground['crock' + seconds]._xscale = 490; _root.ground['crock' + seconds]._yscale = 240; } if (seconds == 400 + i * 20) { _root.attachMovie('tiny bitey', 'tiny bitey' + seconds, _root.getNextHighestDepth()); _root['tiny bitey' + seconds]._x = 800; _root['tiny bitey' + seconds]._y = 100 + Math.random() * 200; _root.ground.attachMovie('hitBox', 'tiny bitey' + seconds, _root.ground.getNextHighestDepth()); _root.ground['tiny bitey' + seconds]._xscale = 190; _root.ground['tiny bitey' + seconds]._yscale = 190; } if (seconds == 860 + i * 20) { _root.attachMovie('tiny bitey', 'tiny bitey' + seconds, _root.getNextHighestDepth()); _root['tiny bitey' + seconds]._x = -150; _root['tiny bitey' + seconds]._y = 100 + Math.random() * 200; _root.ground.attachMovie('hitBox', 'tiny bitey' + seconds, _root.ground.getNextHighestDepth()); _root.ground['tiny bitey' + seconds]._xscale = 190; _root.ground['tiny bitey' + seconds]._yscale = 190; } ++i; } if (seconds == 250) { _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 200; _root['brachioblaster' + seconds].targetY = _root.cam._y; _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; ++seconds; } if (seconds == 350) { _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 220; _root['brachioblaster' + seconds].targetY = _root.cam._y - 100; _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; ++seconds; _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 220; _root['brachioblaster' + seconds].targetY = _root.cam._y + 100; _root['brachioblaster' + seconds].head.gotoAndPlay(25); _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; ++seconds; } if (seconds == 550) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, _root.BACKGROUND.getNextHighestDepth()); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 250; } if (seconds == 600) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, _root.BACKGROUND.getNextHighestDepth()); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 400; } if (seconds == 650) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, _root.BACKGROUND.getNextHighestDepth()); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 100; } if (seconds > 800 && seconds < 1000) { ++seconds; } if (seconds == 800) { ++seconds; _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 150; _root['brachioblaster' + seconds].targetY = _root.cam._y - 150; _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; } if (seconds == 810) { ++seconds; _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 200; _root['brachioblaster' + seconds].targetY = _root.cam._y; _root['brachioblaster' + seconds].head.gotoAndPlay(15); _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; } if (seconds == 820) { ++seconds; _root.attachMovie('brachioblaster', 'brachioblaster' + seconds, _root.getNextHighestDepth()); _root['brachioblaster' + seconds]._x = 800; _root['brachioblaster' + seconds]._y = 200; _root['brachioblaster' + seconds].targetX = _root.cam._x + 150; _root['brachioblaster' + seconds].targetY = _root.cam._y + 150; _root.ground.attachMovie('hitBox', 'brachioblaster' + seconds, _root.ground.getNextHighestDepth()); _root.ground['brachioblaster' + seconds]._xscale = 290; _root.ground['brachioblaster' + seconds]._yscale = 290; _root['brachioblaster' + seconds].head.gotoAndPlay(15); } if (seconds == 1050) { _root.attachMovie('megaceratops', 'megaceratops', _root.getNextHighestDepth()); _root.megaceratops._x = 850; _root.megaceratops._y = 500; _root.megaceratops.Xpoint = _root.cam._x; ++seconds; } if (seconds == 1100) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1000); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 200; } if (seconds == 1150) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1001); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 350; } if (seconds == 1200) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1002); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 50; } if (seconds == 1280) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1000); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 100; } if (seconds == 1290) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1002); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 250; } if (seconds == 1300) { _root.BACKGROUND.attachMovie('pterojectyl', 'pterojectyl' + seconds, 1003); _root.BACKGROUND['pterojectyl' + seconds]._x = -100; _root.BACKGROUND['pterojectyl' + seconds]._y = 400; } if (seconds == 1700) { _root.attachMovie('raptor-rex boss', 'raptorrex', _root.dust1.getDepth() - 1); _root.raptorrex._x = 800; _root.raptorrex._y = 350; ++seconds; } if (seconds == 1750) { _root._quality = 'MEDIUM'; } } } instance ground of movieClip 73 hitBox { onClipEvent (load) { _x = 0; _y = 0; loadMovie('', this); } } instance dust1 of movieClip 4526 { onClipEvent (load) { X = _x; var blur = new flash.filters.BlurFilter(30, 0, 3); this.filters = [blur]; _alpha = 50; this.cacheAsBitmap = true; this.swapDepths(5000); FRAME = _root._currentframe; } onClipEvent (enterFrame) { _x = _x - 50; if (_x < X - _width * 0.5) { _x = X; } if (_root.Foreground.seconds > 1710) { _y = _y + 0.8; } if (_y > 600) { this.swapDepths(999); this.removeMovieClip(); } if (_root._currentframe != FRAME) { this.removeMovieClip(); } } } instance dust2 of movieClip 4526 { onClipEvent (load) { X = _x; var blur = new flash.filters.BlurFilter(30, 0, 3); this.filters = [blur]; _alpha = 50; this.cacheAsBitmap = true; this.swapDepths(5001); FRAME = _root._currentframe; } onClipEvent (enterFrame) { _x = _x - 80; if (_x < X - _width * 0.5) { _x = X; } if (_root.Foreground.seconds > 1710) { _y = _y + 1; } if (_y > 600) { this.swapDepths(999); this.removeMovieClip(); } if (_root._currentframe != FRAME) { this.removeMovieClip(); } } } instance bullets of movieClip 73 hitBox { onClipEvent (load) { _x = 0; _y = 0; loadMovie('', this); } onClipEvent (enterFrame) { _visible = true; if (this.hitTest(_root.guy._x, _root.guy._y, true)) { _root.cam.SHAKE = 20; if (_root.guy.IMPACT > 0) { _root.guy.IMPACT += 10; } else { _root.guy.IMPACT += 80; } } } } movieClip 4552 { frame 1 { Xdiff = 0; _alpha = 0; X = _x; onEnterFrame = function () { Xdiff += 0.2; _x = X + Xdiff; if (Xdiff > 5 && Xdiff < 15) { _alpha = _alpha + 4; } if (Xdiff > 30) { _alpha = _alpha - 8; } if (_alpha > 100) { _alpha = 100; } if (_alpha < 0) { this.swapDepths(999); this.removeMovieClip(); } }; } frame 47 { stop(); } } instance FAKE of movieClip 4028 time burst { onClipEvent (load) { this.swapDepths(_root.getNextHighestDepth()); _root.mechswitch.start(0, 1); } onClipEvent (enterFrame) { if (_currentframe == 15) { _root.guy._visible = true; } } } frame 8 { stopAllSounds(); if (_root.username != _root.unEncodedUsername) { gotoAndStop('EDITOR'); } } button 4558 { on (release) { play(); } } button 4559 { on (release) { _root.gotoAndStop('EDITOR'); } } movieClip 4566 { } movieClip 4572 { frame 1 { stop(); } frame 2 { TARGET = 'http://tinybuildgames.com/api/index.php?action=submitlevel&details=' + _root.usernamepassword + '&level_name=' + level_name + '&universe=' + _root.UNIVERSE + '&guy_type=' + _root.GUYtype; trace(TARGET); var MAP = new LoadVars(); MAP.level_code = _root.mapcopy; var LOAD = new LoadVars(); LOAD.load(TARGET); MAP.sendAndLoad(TARGET, LOAD, 'POST'); LOAD.onData = function () { gotoAndStop(3); }; } instance ICON of movieClip 4566 { onClipEvent (enterFrame) { _rotation = _rotation + 10; } } frame 3 { stop(); onMouseDown = function () { _root.gotoAndStop('EDITOR'); }; } } frame 9 { stop(); stopAllSounds(); EDITING = true; BOSSfight = false; inside_house = false; Foreground.removeMovieClip(); ground.removeMovieClip(); animated.removeMovieClip(); LEVEL = 'none'; onMouseDown = function () { CLICKING = true; }; onMouseUp = function () { CLICKING = false; }; } instance STAGE of movieClip 4121 tile { onClipEvent (load) { gotoAndStop(6); _visible = true; _height = _root.map.length * 30; _width = _root.map[0].length * 30; _x = 0; _y = 0; } onClipEvent (enterFrame) { if (_root.StageResizing) { _width = _root._xmouse; _height = _root._ymouse; } _root.Resizer._x = _width; _root.Resizer._y = _height; _width = Math.round(_width / 30) * 30; _height = Math.round(_height / 30) * 30; if (_width > 2500) { _width = 2500; } if (_height > 2000) { _height = 2000; } if (_width < 300) { _width = 300; } if (_height < 180) { _height = 180; } } } instance of movieClip 4121 tile { onClipEvent (load) { gotoAndStop(6); _x = 60; _y = 60; } onClipEvent (enterFrame) { _width = _root.STAGE._width - 120; _height = _root.STAGE._height - 120; if (_root.levelBorder) { _visible = true; } else { _visible = false; } } } instance of movieClip 4121 tile { onClipEvent (load) { gotoAndStop(5); } onClipEvent (enterFrame) { LINE.removeMovieClip(); this.createEmptyMovieClip('LINE', 1); LINE.lineStyle(3, 10066329); LINE.moveTo(-20, -20); LINE.lineTo(_root.STAGE._width + 10, -20); LINE.lineTo(_root.STAGE._width + 10, _root.STAGE._height + 10); LINE.lineTo(-20, _root.STAGE._height + 10); LINE.moveTo(-20, -20); } } instance editor2 of movieClip 4337 { onClipEvent (load) { FRAME = _root._currentframe; gotoAndStop(2); } onClipEvent (enterFrame) { if (_root._currentframe != FRAME) { this.swapDepths(999); this.removeMovieClip(); } if (!_root.CLICKING) { if (_x < 1500) { if (_root._xmouse > _x + 200 * _xscale / 100) { _x = _x - (_x - _root._xmouse + 200 * _xscale / 100) / 5; } } if (_x > 600) { if (_root._xmouse < _x - 200 * _xscale / 100) { _x = _x - (_x - _root._xmouse - 200 * _xscale / 100) / 5; } } } } } button 4576 { on (press) { _root.StageResizing = true; gotoAndStop(2); } on (release) { _root.StageResizing = false; } on (releaseOutside) { _root.StageResizing = false; } } button 4578 { on (press) { _root.StageResizing = true; } on (release) { _root.StageResizing = false; } on (releaseOutside) { _root.StageResizing = false; } } movieClip 4579 { frame 1 { stop(); } } instance cam of movieClip 4339 { onClipEvent (enterFrame) { if (_x > 1500) { _x = 1500; } if (_x < 200) { _x = 200; } if (_y > 1000) { _y = 1000; } if (_y < 150) { _y = 150; } if (Key.isDown(39) || Key.isDown(_root.RIGHT)) { _x = _x + _xscale / 10; } if (Key.isDown(37) || Key.isDown(_root.LEFT)) { _x = _x - _xscale / 10; } if (Key.isDown(40) || Key.isDown(_root.DOWN)) { _y = _y + _yscale / 10; } if (Key.isDown(38) || Key.isDown(_root.UP)) { _y = _y - _yscale / 10; } _xscale = 100 + Math.round(_root.editor2.zoomer._y - _root.editor2.zoomer.Y) * 2; _yscale = _xscale; } }




http://swfchan.com/42/207359/info.shtml
Created: 2/10 -2019 17:45:16 Last modified: 2/10 -2019 17:45:16 Server time: 25/04 -2024 17:36:59