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

A
Very
Merry Christmas!


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

enigma.swf

This is the info page for
Flash #56936

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


Text
play

Loading

Enigma

Play

Play

Play

Credits

Credits

Credits

Play More Games

Play More Games

Play More Games

Art, Animation and Coding,
Danny Yaroslavski (Coolio-Niato)
Music by
O'Neil Donald
Based on
Phit Flash Game
Sponsor and Distributer
Armorgames

Level Select

Square

A

Paperboy

Stairs

Bat

Turtle

Ghost

Heart

Bomb

Alien 1

Alien 2

UFO

OVERALL COMPLETE

Comet

Truck

Happy Face

Flag

RocketShip

Dinosaur

Jellyfish

Palace

YinYang

Fire Hydrant

Dinosaur 2

Battle Fleet

11 Space Invader 2

Clicks 1000

PAUSED

Press P to return
to game.

Arrow Keys to Move

Restart Level

Restart Level

Restart Level

11 Space Invader 2

11 Space Invader 2

Achievements

Menu

Menu

Menu

11 Space Invader 2

ActionScript [AS1/AS2]

Frame 1
var savefile = SharedObject.getLocal("enigma"); stop(); play.gotoAndStop(2); var CPMStarPoolID = 1052; var CPMStarSubPoolID = 25; System.security.allowDomain("server.cpmstar.com"); ads.adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID); stop(); _root.menu = new ContextMenu(); _root.menu.hideBuiltInItems(); onEnterFrame = function () { _root.bytesLoaded = _root.getBytesLoaded(); _root.bytesTotal = _root.getBytesTotal(); _root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal)); _root.percentLoadedText = _root.percentLoaded + "%"; _root.bar._xscale = percentLoaded; if (bar._xscale == 100) { play.gotoAndStop(1); load._visible = false; } };
Instance of Symbol 21 MovieClip "play" in Frame 1
on (press) { if (_root.play._currentframe == 1) { _root.gotoAndStop(2); } }
Frame 2
function spawnCircles() { cwait++; if (cwait > 8) { cwait = 0; cnum++; if (cnum > 1000) { cnum = 1; } circleMc = attachMovie("circle", "c" + cnum, cnum); circleMc._x = Math.random() * Stage.width; circleMc._y = Stage.height + 20; circleMc.pop = false; circleMc.yspd = (Math.random() * 5) + 1; circleMc._xscale = (circleMc._yscale = (Math.random() * 50) + 50); circleMc._alpha = circleMc._xscale / 5; circleMc.onEnterFrame = function () { if ((!_root.pauseM) || (_root._currentframe != 6)) { if (!this.pop) { if (mouse) { if (this.hitTest(_xmouse, _ymouse, true)) { this.pop = true; } } } if (!this.pop) { this._y = this._y - this.yspd; this._x = this._x + ((Math.random() * 5) - 2.5); if (this._y < -20) { removeMovieClip(this); } } else { this._xscale = this._xscale + 40; this._yscale = this._xscale; if (this._xscale > 250) { _root.bubbles++; removeMovieClip(this); } } } }; } } level = 0; cnum = 0; cwait = 0; songPlaying = true; if (savefile.data.starArray != undefined) { _root.starArray = savefile.data.starArray; } else { starArray = new Array(); i = 0; while (i < 24) { starArray[i] = new Array(false, false, false); i++; } savefile.data.starArray = _root.starArray; } onEnterFrame = function () { _root.spawnCircles(); };
Instance of Symbol 39 MovieClip in Frame 2
onClipEvent (enterFrame) { this.onPress = function () { getURL ("http://www.armorgames.com", "_blank"); }; }
Frame 3
onEnterFrame = function () { _root.spawnCircles(); };
Instance of Symbol 56 MovieClip in Frame 3
on (release) { getURL ("http://coolio-niato.newgrounds.com/", _blank); }
Frame 4
stop(); creds._visible = false; onEnterFrame = function () { _root.spawnCircles(); };
Instance of Symbol 82 MovieClip in Frame 4
on (press) { if (_root.songPlaying) { _root.songPlaying = false; _root.song.stop(); } else { _root.songPlaying = true; _root.song.play(); } } onClipEvent (enterFrame) { if (_root.songPlaying) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 5
mouse = false; onMouseDown = function () { mouse = true; }; onMouseUp = function () { mouse = false; }; bg.gotoAndStop(1); onEnterFrame = function () { _root.spawnCircles(); i = 1; while (i <= 25) { if (_root["l" + i].hitTest(_xmouse, _ymouse, true)) { if (mouse && (i != 25)) { _root.level = i - 2; trace(level); _root.gotoAndStop("game"); break; } if (i < 4) { difficulty.gotoAndStop(1); } else if (i < 7) { difficulty.gotoAndStop(2); } else if (i < 10) { difficulty.gotoAndStop(3); } else if (i < 24) { difficulty.gotoAndStop(4); } else { difficulty.gotoAndStop(5); } _root.bg.gotoAndStop(i); _root["l" + i].gotoAndStop(2); } else { _root["l" + i].gotoAndStop(1); } i++; } i = 1; while (i < 13) { if (_root.starArray[i - 1][0]) { _root["s" + i].s1.gotoAndStop(1); } else { _root["s" + i].s1.gotoAndStop(2); } if (_root.starArray[i - 1][1]) { _root["s" + i].s2.gotoAndStop(1); } else { _root["s" + i].s2.gotoAndStop(2); } if (_root.starArray[i - 1][2]) { _root["s" + i].s3.gotoAndStop(1); } else { _root["s" + i].s3.gotoAndStop(2); } i++; } i = 13; while (i < 25) { if (_root.starArray[i - 1][2]) { _root["s" + i].gotoAndStop(1); } else { _root["s" + i].gotoAndStop(2); } i++; } star = true; i = 1; while (i < 13) { j = 0; while (j < 3) { if (!_root.starArray[i - 1][j]) { star = false; } j++; } i++; } i = 13; while (i < 24) { if (!_root.starArray[i - 1][2]) { star = false; } i++; } if (star) { _root.s25.gotoAndStop(1); } else { _root.s25.gotoAndStop(2); } }; stop();
Frame 6
function levels1() { if (level == 23) { levelName = "Battle Fleet"; correctArray[1][8] = new Array(1, 3); correctArray[1][12] = new Array(1, 8); correctArray[3][8] = new Array(1, 7); correctArray[3][12] = new Array(1, 10); correctArray[4][12] = new Array(1, 9); correctArray[5][8] = new Array(1, 10); correctArray[5][11] = new Array(1, 8); correctArray[5][12] = new Array(1, 10); correctArray[5][13] = new Array(1, 3); correctArray[6][11] = new Array(1, 8); correctArray[6][12] = new Array(1, 3); correctArray[6][13] = new Array(1, 3); correctArray[7][8] = new Array(1, 6); correctArray[7][11] = new Array(1, 8); correctArray[7][13] = new Array(1, 5); correctArray[8][8] = new Array(1, 5); correctArray[9][7] = new Array(1, 6); correctArray[9][8] = new Array(1, 5); correctArray[9][9] = new Array(1, 2); correctArray[9][12] = new Array(1, 7); correctArray[10][6] = new Array(1, 9); correctArray[10][7] = new Array(1, 6); correctArray[10][8] = new Array(1, 6); correctArray[10][9] = new Array(1, 2); correctArray[10][10] = new Array(1, 2); correctArray[11][6] = new Array(1, 9); correctArray[11][8] = new Array(1, 9); correctArray[11][10] = new Array(1, 9); correctArray[11][12] = new Array(1, 2); correctArray[12][12] = new Array(1, 6); blockArray[1][1] = new Array(1, 7); blockArray[1][4] = new Array(1, 10); blockArray[3][0] = new Array(1, 10); blockArray[3][1] = new Array(1, 6); blockArray[3][2] = new Array(1, 8); blockArray[3][4] = new Array(1, 10); blockArray[5][0] = new Array(1, 6); blockArray[6][0] = new Array(1, 6); blockArray[6][1] = new Array(1, 6); blockArray[7][1] = new Array(1, 8); blockArray[7][5] = new Array(1, 7); blockArray[7][6] = new Array(1, 9); blockArray[8][0] = new Array(1, 3); blockArray[8][1] = new Array(1, 8); blockArray[8][5] = new Array(1, 6); blockArray[9][0] = new Array(1, 2); blockArray[9][1] = new Array(1, 8); blockArray[10][0] = new Array(1, 2); blockArray[10][1] = new Array(1, 2); blockArray[10][5] = new Array(1, 5); blockArray[11][0] = new Array(1, 5); blockArray[11][3] = new Array(1, 2); blockArray[12][0] = new Array(1, 5); blockArray[12][5] = new Array(1, 3); blockArray[13][0] = new Array(1, 9); blockArray[13][4] = new Array(1, 3); blockArray[13][5] = new Array(1, 3); blockArray[14][0] = new Array(1, 9); blockArray[14][2] = new Array(1, 9); blockArray[14][4] = new Array(1, 9); // unexpected jump } if (level == 22) { levelName = "Dinosaur 2"; correctArray[2][9] = new Array(1, 6); correctArray[2][10] = new Array(1, 6); correctArray[2][11] = new Array(1, 6); correctArray[3][8] = new Array(1, 10); correctArray[3][9] = new Array(1, 6); correctArray[3][11] = new Array(1, 6); correctArray[3][14] = new Array(1, 5); correctArray[4][8] = new Array(1, 6); correctArray[4][11] = new Array(1, 8); correctArray[4][12] = new Array(1, 8); correctArray[4][13] = new Array(1, 5); correctArray[4][14] = new Array(1, 5); correctArray[5][8] = new Array(1, 10); correctArray[5][10] = new Array(1, 9); correctArray[5][11] = new Array(1, 3); correctArray[5][12] = new Array(1, 8); correctArray[6][6] = new Array(1, 9); correctArray[6][7] = new Array(1, 9); correctArray[6][8] = new Array(1, 9); correctArray[6][10] = new Array(1, 9); correctArray[6][11] = new Array(1, 3); correctArray[6][12] = new Array(1, 8); correctArray[7][6] = new Array(1, 9); correctArray[7][8] = new Array(1, 2); correctArray[7][10] = new Array(1, 9); correctArray[7][11] = new Array(1, 3); correctArray[7][12] = new Array(1, 5); correctArray[8][6] = new Array(1, 9); correctArray[8][7] = new Array(1, 9); correctArray[8][8] = new Array(1, 2); correctArray[8][10] = new Array(1, 3); correctArray[8][11] = new Array(1, 3); correctArray[8][12] = new Array(1, 5); correctArray[8][14] = new Array(1, 8); correctArray[9][8] = new Array(1, 2); correctArray[9][11] = new Array(1, 10); correctArray[9][12] = new Array(1, 5); correctArray[9][13] = new Array(1, 8); correctArray[9][14] = new Array(1, 8); correctArray[10][11] = new Array(1, 10); correctArray[11][11] = new Array(1, 2); correctArray[12][11] = new Array(1, 2); blockArray[0][2] = new Array(1, 8); blockArray[0][3] = new Array(1, 8); blockArray[1][0] = new Array(1, 10); blockArray[1][2] = new Array(1, 3); blockArray[1][3] = new Array(1, 8); blockArray[2][2] = new Array(1, 3); blockArray[2][3] = new Array(1, 8); blockArray[3][0] = new Array(1, 10); blockArray[3][2] = new Array(1, 3); blockArray[4][1] = new Array(1, 3); blockArray[4][2] = new Array(1, 3); blockArray[4][5] = new Array(1, 8); blockArray[5][1] = new Array(1, 6); blockArray[5][2] = new Array(1, 6); blockArray[5][3] = new Array(1, 6); blockArray[5][4] = new Array(1, 8); blockArray[5][5] = new Array(1, 8); blockArray[6][1] = new Array(1, 6); blockArray[6][3] = new Array(1, 6); blockArray[7][0] = new Array(1, 6); blockArray[7][3] = new Array(1, 10); blockArray[8][3] = new Array(1, 10); blockArray[8][4] = new Array(1, 5); blockArray[9][3] = new Array(1, 5); blockArray[9][4] = new Array(1, 5); blockArray[9][5] = new Array(1, 2); blockArray[10][5] = new Array(1, 2); blockArray[11][5] = new Array(1, 2); blockArray[11][9] = new Array(1, 9); blockArray[12][2] = new Array(1, 5); blockArray[12][5] = new Array(1, 9); blockArray[12][6] = new Array(1, 9); blockArray[12][7] = new Array(1, 9); blockArray[12][9] = new Array(1, 9); blockArray[13][2] = new Array(1, 5); blockArray[13][5] = new Array(1, 9); blockArray[13][8] = new Array(1, 2); blockArray[13][9] = new Array(1, 9); blockArray[14][2] = new Array(1, 5); blockArray[14][5] = new Array(1, 9); blockArray[14][6] = new Array(1, 9); blockArray[14][8] = new Array(1, 2); } else if (level == 21) { levelName = "Fire Hydrant"; correctArray[4][13] = new Array(1, 5); correctArray[5][7] = new Array(1, 6); correctArray[5][9] = new Array(1, 3); correctArray[5][10] = new Array(1, 3); correctArray[5][12] = new Array(1, 7); correctArray[5][13] = new Array(1, 5); correctArray[6][6] = new Array(1, 3); correctArray[6][7] = new Array(1, 6); correctArray[6][8] = new Array(1, 9); correctArray[6][9] = new Array(1, 9); correctArray[6][10] = new Array(1, 9); correctArray[6][11] = new Array(1, 9); correctArray[6][12] = new Array(1, 7); correctArray[6][13] = new Array(1, 5); correctArray[7][5] = new Array(1, 10); correctArray[7][6] = new Array(1, 3); correctArray[7][7] = new Array(1, 6); correctArray[7][8] = new Array(1, 10); correctArray[7][9] = new Array(1, 10); correctArray[7][10] = new Array(1, 10); correctArray[7][11] = new Array(1, 9); correctArray[7][12] = new Array(1, 7); correctArray[7][13] = new Array(1, 7); correctArray[8][6] = new Array(1, 3); correctArray[8][7] = new Array(1, 6); correctArray[8][8] = new Array(1, 6); correctArray[8][9] = new Array(1, 6); correctArray[8][10] = new Array(1, 10); correctArray[8][11] = new Array(1, 9); correctArray[8][12] = new Array(1, 9); correctArray[8][13] = new Array(1, 5); correctArray[9][7] = new Array(1, 3); correctArray[9][9] = new Array(1, 10); correctArray[9][10] = new Array(1, 10); correctArray[9][12] = new Array(1, 9); correctArray[9][13] = new Array(1, 5); correctArray[10][13] = new Array(1, 9); blockArray[0][3] = new Array(1, 3); blockArray[0][4] = new Array(1, 3); blockArray[1][0] = new Array(1, 10); blockArray[1][3] = new Array(1, 10); blockArray[1][4] = new Array(1, 10); blockArray[1][5] = new Array(1, 10); blockArray[2][5] = new Array(1, 10); blockArray[3][0] = new Array(1, 3); blockArray[3][2] = new Array(1, 7); blockArray[3][3] = new Array(1, 8); blockArray[3][4] = new Array(1, 10); blockArray[3][5] = new Array(1, 10); blockArray[4][0] = new Array(1, 5); blockArray[4][1] = new Array(1, 3); blockArray[4][2] = new Array(1, 7); blockArray[4][3] = new Array(1, 8); blockArray[5][0] = new Array(1, 5); blockArray[5][2] = new Array(1, 7); blockArray[5][3] = new Array(1, 7); blockArray[6][0] = new Array(1, 5); blockArray[8][0] = new Array(1, 5); blockArray[9][0] = new Array(1, 5); blockArray[10][0] = new Array(1, 9); blockArray[10][1] = new Array(1, 9); blockArray[10][2] = new Array(1, 9); blockArray[10][3] = new Array(1, 9); blockArray[11][2] = new Array(1, 6); blockArray[11][3] = new Array(1, 9); blockArray[12][2] = new Array(1, 6); blockArray[12][3] = new Array(1, 9); blockArray[12][4] = new Array(1, 9); blockArray[13][2] = new Array(1, 6); blockArray[13][4] = new Array(1, 9); blockArray[14][2] = new Array(1, 6); blockArray[14][3] = new Array(1, 6); blockArray[14][4] = new Array(1, 6); blockArray[14][5] = new Array(1, 9); } else if (level == 20) { levelName = "YinYang"; correctArray[2][8] = new Array(1, 3); correctArray[2][9] = new Array(1, 3); correctArray[2][10] = new Array(1, 6); correctArray[3][7] = new Array(1, 3); correctArray[3][8] = new Array(1, 3); correctArray[3][9] = new Array(1, 3); correctArray[3][10] = new Array(1, 6); correctArray[3][11] = new Array(1, 6); correctArray[4][6] = new Array(1, 5); correctArray[4][7] = new Array(1, 7); correctArray[4][8] = new Array(1, 7); correctArray[4][9] = new Array(1, 6); correctArray[4][10] = new Array(1, 6); correctArray[4][11] = new Array(1, 7); correctArray[4][12] = new Array(1, 7); correctArray[5][5] = new Array(1, 5); correctArray[5][6] = new Array(1, 5); correctArray[5][8] = new Array(1, 7); correctArray[5][9] = new Array(1, 6); correctArray[5][12] = new Array(1, 8); correctArray[5][13] = new Array(1, 8); correctArray[6][5] = new Array(1, 5); correctArray[6][7] = new Array(1, 3); correctArray[6][8] = new Array(1, 3); correctArray[6][13] = new Array(1, 4); correctArray[7][5] = new Array(1, 5); correctArray[7][10] = new Array(1, 7); correctArray[7][13] = new Array(1, 4); correctArray[8][6] = new Array(1, 9); correctArray[8][12] = new Array(1, 4); correctArray[9][7] = new Array(1, 9); correctArray[9][11] = new Array(1, 8); correctArray[10][8] = new Array(1, 5); correctArray[10][9] = new Array(1, 5); correctArray[10][10] = new Array(1, 8); blockArray[0][1] = new Array(1, 3); blockArray[0][2] = new Array(1, 3); blockArray[0][4] = new Array(1, 8); blockArray[0][5] = new Array(1, 8); blockArray[1][0] = new Array(1, 3); blockArray[1][1] = new Array(1, 3); blockArray[1][2] = new Array(1, 3); blockArray[3][2] = new Array(1, 4); blockArray[4][0] = new Array(1, 3); blockArray[4][1] = new Array(1, 3); blockArray[4][2] = new Array(1, 4); blockArray[4][3] = new Array(1, 8); blockArray[5][0] = new Array(1, 9); blockArray[5][1] = new Array(1, 4); blockArray[5][2] = new Array(1, 8); blockArray[6][1] = new Array(1, 9); blockArray[7][1] = new Array(1, 5); blockArray[8][0] = new Array(1, 5); blockArray[8][1] = new Array(1, 5); blockArray[9][0] = new Array(1, 5); blockArray[9][3] = new Array(1, 6); blockArray[10][0] = new Array(1, 5); blockArray[10][3] = new Array(1, 6); blockArray[10][4] = new Array(1, 6); blockArray[11][0] = new Array(1, 7); blockArray[11][1] = new Array(1, 7); blockArray[11][2] = new Array(1, 6); blockArray[11][3] = new Array(1, 6); blockArray[11][4] = new Array(1, 7); blockArray[11][5] = new Array(1, 7); blockArray[12][1] = new Array(1, 7); blockArray[12][2] = new Array(1, 6); blockArray[13][3] = new Array(1, 5); blockArray[13][4] = new Array(1, 5); blockArray[14][3] = new Array(1, 7); } else if (level == 19) { levelName = "Palace"; correctArray[2][13] = new Array(1, 7); correctArray[3][10] = new Array(1, 10); correctArray[3][11] = new Array(1, 10); correctArray[3][12] = new Array(1, 7); correctArray[3][13] = new Array(1, 7); correctArray[4][12] = new Array(1, 7); correctArray[4][13] = new Array(1, 5); correctArray[5][9] = new Array(1, 5); correctArray[5][10] = new Array(1, 5); correctArray[5][11] = new Array(1, 5); correctArray[5][12] = new Array(1, 5); correctArray[5][13] = new Array(1, 5); correctArray[6][7] = new Array(1, 4); correctArray[6][8] = new Array(1, 4); correctArray[6][11] = new Array(1, 8); correctArray[6][12] = new Array(1, 9); correctArray[6][13] = new Array(1, 9); correctArray[7][6] = new Array(1, 3); correctArray[7][7] = new Array(1, 3); correctArray[7][8] = new Array(1, 4); correctArray[7][9] = new Array(1, 6); correctArray[7][10] = new Array(1, 6); correctArray[7][11] = new Array(1, 8); correctArray[7][12] = new Array(1, 9); correctArray[8][6] = new Array(1, 3); correctArray[8][7] = new Array(1, 3); correctArray[8][8] = new Array(1, 4); correctArray[8][9] = new Array(1, 4); correctArray[8][10] = new Array(1, 4); correctArray[8][11] = new Array(1, 8); correctArray[8][12] = new Array(1, 9); correctArray[9][7] = new Array(1, 3); correctArray[9][8] = new Array(1, 3); correctArray[9][11] = new Array(1, 8); correctArray[9][12] = new Array(1, 9); correctArray[9][13] = new Array(1, 8); correctArray[10][9] = new Array(1, 9); correctArray[10][10] = new Array(1, 9); correctArray[10][11] = new Array(1, 8); correctArray[10][12] = new Array(1, 8); correctArray[10][13] = new Array(1, 8); correctArray[11][12] = new Array(1, 6); correctArray[11][13] = new Array(1, 6); correctArray[12][10] = new Array(1, 6); correctArray[12][11] = new Array(1, 6); correctArray[12][12] = new Array(1, 6); correctArray[12][13] = new Array(1, 2); correctArray[13][13] = new Array(1, 3); blockArray[0][0] = new Array(1, 6); blockArray[0][1] = new Array(1, 6); blockArray[0][3] = new Array(1, 10); blockArray[0][4] = new Array(1, 10); blockArray[0][5] = new Array(1, 8); blockArray[1][5] = new Array(1, 8); blockArray[2][5] = new Array(1, 8); blockArray[3][1] = new Array(1, 7); blockArray[3][5] = new Array(1, 8); blockArray[3][7] = new Array(1, 8); blockArray[4][0] = new Array(1, 7); blockArray[4][1] = new Array(1, 7); blockArray[4][3] = new Array(1, 6); blockArray[4][4] = new Array(1, 6); blockArray[4][5] = new Array(1, 8); blockArray[4][6] = new Array(1, 8); blockArray[4][7] = new Array(1, 8); blockArray[5][0] = new Array(1, 7); blockArray[5][1] = new Array(1, 6); blockArray[5][2] = new Array(1, 6); blockArray[5][3] = new Array(1, 6); blockArray[6][0] = new Array(1, 3); blockArray[6][1] = new Array(1, 3); blockArray[7][0] = new Array(1, 3); blockArray[7][1] = new Array(1, 3); blockArray[8][1] = new Array(1, 3); blockArray[8][2] = new Array(1, 3); blockArray[8][4] = new Array(1, 5); blockArray[9][0] = new Array(1, 5); blockArray[9][1] = new Array(1, 5); blockArray[9][2] = new Array(1, 5); blockArray[9][3] = new Array(1, 5); blockArray[9][4] = new Array(1, 5); blockArray[10][2] = new Array(1, 2); blockArray[10][3] = new Array(1, 9); blockArray[10][4] = new Array(1, 9); blockArray[11][3] = new Array(1, 9); blockArray[11][4] = new Array(1, 4); blockArray[11][5] = new Array(1, 4); blockArray[12][3] = new Array(1, 9); blockArray[12][5] = new Array(1, 4); blockArray[12][7] = new Array(1, 3); blockArray[13][3] = new Array(1, 9); blockArray[13][5] = new Array(1, 4); blockArray[13][6] = new Array(1, 4); blockArray[13][7] = new Array(1, 4); blockArray[14][0] = new Array(1, 9); blockArray[14][1] = new Array(1, 9); } else if (level == 18) { levelName = "Jellyfish"; correctArray[1][13] = new Array(1, 4); correctArray[2][12] = new Array(1, 4); correctArray[3][10] = new Array(1, 9); correctArray[3][11] = new Array(1, 9); correctArray[3][13] = new Array(1, 4); correctArray[3][14] = new Array(1, 3); correctArray[4][8] = new Array(1, 9); correctArray[4][9] = new Array(1, 9); correctArray[4][10] = new Array(1, 9); correctArray[4][11] = new Array(1, 4); correctArray[4][12] = new Array(1, 4); correctArray[5][7] = new Array(1, 6); correctArray[5][8] = new Array(1, 6); correctArray[5][11] = new Array(1, 4); correctArray[5][12] = new Array(1, 2); correctArray[6][7] = new Array(1, 7); correctArray[6][8] = new Array(1, 8); correctArray[6][9] = new Array(1, 8); correctArray[6][10] = new Array(1, 8); correctArray[6][11] = new Array(1, 4); correctArray[6][12] = new Array(1, 2); correctArray[6][13] = new Array(1, 2); correctArray[6][14] = new Array(1, 3); correctArray[7][7] = new Array(1, 7); correctArray[7][8] = new Array(1, 8); correctArray[7][9] = new Array(1, 6); correctArray[7][10] = new Array(1, 8); correctArray[7][11] = new Array(1, 6); correctArray[7][12] = new Array(1, 3); correctArray[8][7] = new Array(1, 7); correctArray[8][8] = new Array(1, 7); correctArray[8][11] = new Array(1, 6); correctArray[8][12] = new Array(1, 3); correctArray[8][13] = new Array(1, 5); correctArray[8][14] = new Array(1, 5); correctArray[9][8] = new Array(1, 7); correctArray[9][9] = new Array(1, 7); correctArray[9][10] = new Array(1, 7); correctArray[9][11] = new Array(1, 7); correctArray[9][12] = new Array(1, 3); correctArray[10][10] = new Array(1, 5); correctArray[10][11] = new Array(1, 5); correctArray[10][13] = new Array(1, 5); correctArray[10][14] = new Array(1, 5); correctArray[11][12] = new Array(1, 5); correctArray[12][13] = new Array(1, 7); blockArray[0][0] = new Array(1, 8); blockArray[0][1] = new Array(1, 8); blockArray[0][2] = new Array(1, 8); blockArray[0][5] = new Array(1, 9); blockArray[0][6] = new Array(1, 9); blockArray[0][7] = new Array(1, 3); blockArray[1][0] = new Array(1, 8); blockArray[1][1] = new Array(1, 2); blockArray[1][2] = new Array(1, 8); blockArray[1][3] = new Array(1, 9); blockArray[1][4] = new Array(1, 9); blockArray[1][5] = new Array(1, 9); blockArray[2][1] = new Array(1, 2); blockArray[2][2] = new Array(1, 2); blockArray[3][7] = new Array(1, 3); blockArray[4][5] = new Array(1, 3); blockArray[5][4] = new Array(1, 4); blockArray[5][5] = new Array(1, 3); blockArray[6][3] = new Array(1, 4); blockArray[6][5] = new Array(1, 3); blockArray[7][0] = new Array(1, 7); blockArray[7][1] = new Array(1, 7); blockArray[7][4] = new Array(1, 4); blockArray[8][0] = new Array(1, 7); blockArray[8][2] = new Array(1, 4); blockArray[8][3] = new Array(1, 4); blockArray[9][0] = new Array(1, 7); blockArray[9][1] = new Array(1, 6); blockArray[9][2] = new Array(1, 4); blockArray[9][3] = new Array(1, 6); blockArray[10][0] = new Array(1, 7); blockArray[10][1] = new Array(1, 7); blockArray[10][2] = new Array(1, 4); blockArray[10][3] = new Array(1, 6); blockArray[11][1] = new Array(1, 7); blockArray[11][2] = new Array(1, 7); blockArray[11][3] = new Array(1, 7); blockArray[11][4] = new Array(1, 7); blockArray[11][5] = new Array(1, 5); blockArray[11][6] = new Array(1, 5); blockArray[13][2] = new Array(1, 5); blockArray[13][3] = new Array(1, 5); blockArray[13][5] = new Array(1, 5); blockArray[13][6] = new Array(1, 5); blockArray[14][4] = new Array(1, 5); blockArray[14][6] = new Array(1, 7); } else if (level == 17) { levelName = "Dinosaur"; correctArray[1][9] = new Array(1, 6); correctArray[2][8] = new Array(1, 5); correctArray[2][9] = new Array(1, 6); correctArray[3][7] = new Array(1, 5); correctArray[3][9] = new Array(1, 6); correctArray[3][12] = new Array(1, 10); correctArray[3][13] = new Array(1, 10); correctArray[4][8] = new Array(1, 5); correctArray[4][9] = new Array(1, 6); correctArray[4][10] = new Array(1, 2); correctArray[4][12] = new Array(1, 10); correctArray[5][9] = new Array(1, 2); correctArray[5][10] = new Array(1, 2); correctArray[5][11] = new Array(1, 6); correctArray[5][12] = new Array(1, 6); correctArray[6][10] = new Array(1, 5); correctArray[6][11] = new Array(1, 6); correctArray[7][10] = new Array(1, 5); correctArray[7][11] = new Array(1, 10); correctArray[7][12] = new Array(1, 10); correctArray[7][15] = new Array(1, 8); correctArray[8][10] = new Array(1, 5); correctArray[8][11] = new Array(1, 9); correctArray[8][12] = new Array(1, 9); correctArray[8][13] = new Array(1, 9); correctArray[8][14] = new Array(1, 8); correctArray[8][15] = new Array(1, 8); correctArray[9][11] = new Array(1, 9); correctArray[10][11] = new Array(1, 8); correctArray[11][11] = new Array(1, 8); correctArray[12][11] = new Array(1, 8); correctArray[13][11] = new Array(1, 9); blockArray[0][0] = new Array(1, 6); blockArray[1][0] = new Array(1, 6); blockArray[1][1] = new Array(1, 9); blockArray[1][2] = new Array(1, 9); blockArray[1][3] = new Array(1, 9); blockArray[2][0] = new Array(1, 6); blockArray[2][1] = new Array(1, 9); blockArray[3][0] = new Array(1, 6); blockArray[4][2] = new Array(1, 6); blockArray[4][3] = new Array(1, 6); blockArray[5][2] = new Array(1, 6); blockArray[6][1] = new Array(1, 9); blockArray[7][1] = new Array(1, 5); blockArray[7][2] = new Array(1, 10); blockArray[7][3] = new Array(1, 10); blockArray[8][0] = new Array(1, 5); blockArray[8][2] = new Array(1, 10); blockArray[9][1] = new Array(1, 5); blockArray[9][6] = new Array(1, 8); blockArray[10][5] = new Array(1, 8); blockArray[10][6] = new Array(1, 8); blockArray[11][1] = new Array(1, 10); blockArray[11][2] = new Array(1, 10); blockArray[11][3] = new Array(1, 5); blockArray[12][1] = new Array(1, 2); blockArray[12][2] = new Array(1, 8); blockArray[12][3] = new Array(1, 5); blockArray[13][0] = new Array(1, 2); blockArray[13][1] = new Array(1, 2); blockArray[13][2] = new Array(1, 8); blockArray[13][3] = new Array(1, 5); blockArray[14][2] = new Array(1, 8); } else if (level == 16) { levelName = "RocketShip"; correctArray[4][11] = new Array(1, 7); correctArray[4][12] = new Array(1, 7); correctArray[5][9] = new Array(1, 7); correctArray[5][10] = new Array(1, 7); correctArray[5][11] = new Array(1, 8); correctArray[5][12] = new Array(1, 8); correctArray[5][13] = new Array(1, 9); correctArray[5][14] = new Array(1, 7); correctArray[6][5] = new Array(1, 2); correctArray[6][6] = new Array(1, 2); correctArray[6][7] = new Array(1, 2); correctArray[6][8] = new Array(1, 2); correctArray[6][9] = new Array(1, 2); correctArray[6][10] = new Array(1, 10); correctArray[6][11] = new Array(1, 10); correctArray[6][12] = new Array(1, 10); correctArray[6][13] = new Array(1, 7); correctArray[7][4] = new Array(1, 2); correctArray[7][5] = new Array(1, 6); correctArray[7][8] = new Array(1, 6); correctArray[7][9] = new Array(1, 2); correctArray[7][10] = new Array(1, 2); correctArray[7][11] = new Array(1, 10); correctArray[7][12] = new Array(1, 7); correctArray[8][5] = new Array(1, 6); correctArray[8][6] = new Array(1, 6); correctArray[8][7] = new Array(1, 6); correctArray[8][8] = new Array(1, 6); correctArray[8][9] = new Array(1, 3); correctArray[8][10] = new Array(1, 3); correctArray[8][11] = new Array(1, 3); correctArray[8][12] = new Array(1, 3); correctArray[8][13] = new Array(1, 3); correctArray[9][9] = new Array(1, 3); correctArray[9][10] = new Array(1, 3); correctArray[9][11] = new Array(1, 10); correctArray[9][12] = new Array(1, 5); correctArray[9][13] = new Array(1, 5); correctArray[9][14] = new Array(1, 5); correctArray[10][11] = new Array(1, 10); correctArray[10][12] = new Array(1, 10); blockArray[0][0] = new Array(1, 3); blockArray[0][1] = new Array(1, 3); blockArray[0][2] = new Array(1, 3); blockArray[0][3] = new Array(1, 3); blockArray[0][4] = new Array(1, 3); blockArray[0][5] = new Array(1, 7); blockArray[0][6] = new Array(1, 7); blockArray[0][12] = new Array(1, 2); blockArray[0][13] = new Array(1, 2); blockArray[0][14] = new Array(1, 2); blockArray[0][15] = new Array(1, 2); blockArray[0][16] = new Array(1, 2); blockArray[1][0] = new Array(1, 3); blockArray[1][1] = new Array(1, 3); blockArray[1][3] = new Array(1, 7); blockArray[1][4] = new Array(1, 7); blockArray[1][8] = new Array(1, 7); blockArray[1][11] = new Array(1, 2); blockArray[1][16] = new Array(1, 2); blockArray[1][17] = new Array(1, 2); blockArray[2][7] = new Array(1, 7); blockArray[3][6] = new Array(1, 7); blockArray[7][15] = new Array(1, 10); blockArray[7][16] = new Array(1, 10); blockArray[7][17] = new Array(1, 10); blockArray[8][16] = new Array(1, 10); blockArray[10][16] = new Array(1, 10); blockArray[11][16] = new Array(1, 10); blockArray[11][17] = new Array(1, 10); blockArray[13][5] = new Array(1, 6); blockArray[13][8] = new Array(1, 6); blockArray[14][2] = new Array(1, 9); blockArray[14][5] = new Array(1, 6); blockArray[14][6] = new Array(1, 6); blockArray[14][7] = new Array(1, 6); blockArray[14][8] = new Array(1, 6); blockArray[14][9] = new Array(1, 5); blockArray[14][10] = new Array(1, 5); blockArray[14][11] = new Array(1, 5); blockArray[14][16] = new Array(1, 8); blockArray[14][17] = new Array(1, 8); } else if (level == 15) { levelName = "Flag"; correctArray[4][4] = new Array(1, 10); correctArray[4][5] = new Array(1, 2); correctArray[4][6] = new Array(1, 4); correctArray[4][7] = new Array(1, 4); correctArray[4][8] = new Array(1, 4); correctArray[4][9] = new Array(1, 5); correctArray[4][10] = new Array(1, 5); correctArray[4][11] = new Array(1, 5); correctArray[4][12] = new Array(1, 5); correctArray[4][13] = new Array(1, 5); correctArray[4][14] = new Array(1, 5); correctArray[5][4] = new Array(1, 10); correctArray[5][7] = new Array(1, 3); correctArray[6][3] = new Array(1, 7); correctArray[6][4] = new Array(1, 7); correctArray[6][5] = new Array(1, 7); correctArray[6][6] = new Array(1, 3); correctArray[7][3] = new Array(1, 8); correctArray[7][4] = new Array(1, 8); correctArray[7][5] = new Array(1, 7); correctArray[7][6] = new Array(1, 3); correctArray[8][4] = new Array(1, 8); correctArray[8][5] = new Array(1, 7); correctArray[8][6] = new Array(1, 3); correctArray[8][7] = new Array(1, 5); correctArray[9][5] = new Array(1, 9); correctArray[9][6] = new Array(1, 4); correctArray[9][7] = new Array(1, 5); correctArray[10][4] = new Array(1, 8); correctArray[10][5] = new Array(1, 9); correctArray[10][6] = new Array(1, 4); correctArray[11][4] = new Array(1, 8); blockArray[0][15] = new Array(1, 7); blockArray[0][16] = new Array(1, 7); blockArray[0][17] = new Array(1, 7); blockArray[1][16] = new Array(1, 10); blockArray[1][17] = new Array(1, 7); blockArray[2][16] = new Array(1, 10); blockArray[2][17] = new Array(1, 7); blockArray[3][17] = new Array(1, 2); blockArray[4][17] = new Array(1, 3); blockArray[5][16] = new Array(1, 3); blockArray[6][16] = new Array(1, 3); blockArray[7][16] = new Array(1, 3); blockArray[8][15] = new Array(1, 4); blockArray[8][16] = new Array(1, 4); blockArray[8][17] = new Array(1, 4); blockArray[9][12] = new Array(1, 5); blockArray[9][13] = new Array(1, 5); blockArray[9][14] = new Array(1, 5); blockArray[9][15] = new Array(1, 5); blockArray[9][16] = new Array(1, 5); blockArray[9][17] = new Array(1, 5); blockArray[10][12] = new Array(1, 8); blockArray[10][13] = new Array(1, 8); blockArray[11][13] = new Array(1, 8); blockArray[13][10] = new Array(1, 5); blockArray[13][13] = new Array(1, 8); blockArray[13][14] = new Array(1, 9); blockArray[13][15] = new Array(1, 4); blockArray[14][10] = new Array(1, 5); blockArray[14][13] = new Array(1, 8); blockArray[14][14] = new Array(1, 9); blockArray[14][15] = new Array(1, 4); } else if (level == 13) { levelName = "Truck"; correctArray[1][10] = new Array(1, 4); correctArray[2][9] = new Array(1, 4); correctArray[2][12] = new Array(1, 3); correctArray[2][13] = new Array(1, 3); correctArray[3][9] = new Array(1, 4); correctArray[3][11] = new Array(1, 2); correctArray[3][14] = new Array(1, 3); correctArray[4][7] = new Array(1, 5); correctArray[4][8] = new Array(1, 5); correctArray[4][9] = new Array(1, 3); correctArray[4][11] = new Array(1, 2); correctArray[4][14] = new Array(1, 3); correctArray[5][7] = new Array(1, 5); correctArray[5][8] = new Array(1, 4); correctArray[5][9] = new Array(1, 3); correctArray[5][12] = new Array(1, 2); correctArray[5][13] = new Array(1, 2); correctArray[6][6] = new Array(1, 9); correctArray[6][7] = new Array(1, 5); correctArray[6][8] = new Array(1, 4); correctArray[6][9] = new Array(1, 3); correctArray[6][10] = new Array(1, 3); correctArray[6][11] = new Array(1, 3); correctArray[7][6] = new Array(1, 9); correctArray[7][7] = new Array(1, 5); correctArray[7][8] = new Array(1, 4); correctArray[7][9] = new Array(1, 4); correctArray[7][10] = new Array(1, 4); correctArray[7][11] = new Array(1, 4); correctArray[7][12] = new Array(1, 4); correctArray[8][6] = new Array(1, 6); correctArray[8][9] = new Array(1, 8); correctArray[8][10] = new Array(1, 5); correctArray[8][11] = new Array(1, 5); correctArray[9][6] = new Array(1, 6); correctArray[9][9] = new Array(1, 8); correctArray[9][12] = new Array(1, 2); correctArray[9][13] = new Array(1, 2); correctArray[10][6] = new Array(1, 6); correctArray[10][7] = new Array(1, 8); correctArray[10][8] = new Array(1, 8); correctArray[10][9] = new Array(1, 6); correctArray[10][11] = new Array(1, 9); correctArray[10][14] = new Array(1, 10); correctArray[11][9] = new Array(1, 6); correctArray[11][11] = new Array(1, 9); correctArray[11][14] = new Array(1, 10); correctArray[12][9] = new Array(1, 6); correctArray[12][12] = new Array(1, 10); correctArray[12][13] = new Array(1, 10); correctArray[13][10] = new Array(1, 6); blockArray[0][0] = new Array(1, 9); blockArray[0][3] = new Array(1, 3); blockArray[0][4] = new Array(1, 3); blockArray[1][0] = new Array(1, 9); blockArray[1][3] = new Array(1, 2); blockArray[1][5] = new Array(1, 3); blockArray[2][0] = new Array(1, 3); blockArray[2][3] = new Array(1, 2); blockArray[2][5] = new Array(1, 3); blockArray[3][0] = new Array(1, 3); blockArray[3][4] = new Array(1, 2); blockArray[3][5] = new Array(1, 2); blockArray[4][0] = new Array(1, 3); blockArray[4][1] = new Array(1, 3); blockArray[4][2] = new Array(1, 3); blockArray[4][5] = new Array(1, 9); blockArray[5][3] = new Array(1, 8); blockArray[5][5] = new Array(1, 9); blockArray[6][3] = new Array(1, 8); blockArray[7][0] = new Array(1, 6); blockArray[7][1] = new Array(1, 8); blockArray[7][2] = new Array(1, 8); blockArray[7][3] = new Array(1, 4); blockArray[7][4] = new Array(1, 2); blockArray[7][5] = new Array(1, 2); blockArray[8][0] = new Array(1, 6); blockArray[8][2] = new Array(1, 4); blockArray[9][0] = new Array(1, 6); blockArray[9][2] = new Array(1, 4); blockArray[9][3] = new Array(1, 6); blockArray[10][0] = new Array(1, 5); blockArray[10][1] = new Array(1, 5); blockArray[10][3] = new Array(1, 6); blockArray[11][0] = new Array(1, 5); blockArray[11][1] = new Array(1, 4); blockArray[11][3] = new Array(1, 6); blockArray[12][0] = new Array(1, 5); blockArray[12][1] = new Array(1, 4); blockArray[12][4] = new Array(1, 6); blockArray[12][7] = new Array(1, 10); blockArray[13][0] = new Array(1, 5); blockArray[13][1] = new Array(1, 4); blockArray[13][2] = new Array(1, 4); blockArray[13][3] = new Array(1, 4); blockArray[13][4] = new Array(1, 4); blockArray[13][5] = new Array(1, 4); blockArray[13][7] = new Array(1, 10); blockArray[14][3] = new Array(1, 5); blockArray[14][4] = new Array(1, 5); blockArray[14][5] = new Array(1, 10); blockArray[14][6] = new Array(1, 10); } else if (level == 12) { levelName = "Comet"; correctArray[2][4] = new Array(1, 9); correctArray[3][4] = new Array(1, 9); correctArray[3][5] = new Array(1, 5); correctArray[3][6] = new Array(1, 5); correctArray[3][7] = new Array(1, 5); correctArray[3][8] = new Array(1, 5); correctArray[4][5] = new Array(1, 8); correctArray[4][8] = new Array(1, 6); correctArray[4][9] = new Array(1, 6); correctArray[4][10] = new Array(1, 6); correctArray[5][5] = new Array(1, 8); correctArray[5][6] = new Array(1, 8); correctArray[5][9] = new Array(1, 8); correctArray[6][6] = new Array(1, 8); correctArray[6][7] = new Array(1, 6); correctArray[6][8] = new Array(1, 6); correctArray[6][10] = new Array(1, 4); correctArray[6][11] = new Array(1, 4); correctArray[6][12] = new Array(1, 3); correctArray[7][7] = new Array(1, 6); correctArray[7][9] = new Array(1, 5); correctArray[7][10] = new Array(1, 3); correctArray[7][11] = new Array(1, 3); correctArray[7][12] = new Array(1, 3); correctArray[7][13] = new Array(1, 2); correctArray[8][7] = new Array(1, 6); correctArray[8][9] = new Array(1, 5); correctArray[8][10] = new Array(1, 4); correctArray[8][11] = new Array(1, 3); correctArray[8][12] = new Array(1, 3); correctArray[8][13] = new Array(1, 2); correctArray[9][9] = new Array(1, 5); correctArray[9][10] = new Array(1, 4); correctArray[9][11] = new Array(1, 4); correctArray[9][12] = new Array(1, 2); correctArray[9][13] = new Array(1, 2); correctArray[10][10] = new Array(1, 2); correctArray[10][11] = new Array(1, 2); correctArray[10][12] = new Array(1, 2); blockArray[0][0] = new Array(1, 9); blockArray[1][0] = new Array(1, 9); blockArray[2][1] = new Array(1, 4); blockArray[2][2] = new Array(1, 4); blockArray[4][1] = new Array(1, 4); blockArray[5][0] = new Array(1, 8); blockArray[5][1] = new Array(1, 4); blockArray[5][2] = new Array(1, 4); blockArray[6][0] = new Array(1, 8); blockArray[6][1] = new Array(1, 8); blockArray[6][4] = new Array(1, 8); blockArray[7][1] = new Array(1, 8); blockArray[8][0] = new Array(1, 5); blockArray[8][1] = new Array(1, 5); blockArray[8][2] = new Array(1, 5); blockArray[8][3] = new Array(1, 5); blockArray[8][5] = new Array(1, 2); blockArray[9][1] = new Array(1, 6); blockArray[9][2] = new Array(1, 6); blockArray[9][3] = new Array(1, 6); blockArray[9][5] = new Array(1, 2); blockArray[10][4] = new Array(1, 2); blockArray[10][5] = new Array(1, 2); blockArray[11][0] = new Array(1, 6); blockArray[11][1] = new Array(1, 6); blockArray[11][2] = new Array(1, 2); blockArray[11][3] = new Array(1, 2); blockArray[11][4] = new Array(1, 2); blockArray[12][0] = new Array(1, 6); blockArray[12][4] = new Array(1, 5); blockArray[12][7] = new Array(1, 3); blockArray[13][0] = new Array(1, 6); blockArray[13][4] = new Array(1, 5); blockArray[13][5] = new Array(1, 3); blockArray[13][6] = new Array(1, 3); blockArray[13][7] = new Array(1, 3); blockArray[14][4] = new Array(1, 5); blockArray[14][6] = new Array(1, 3); blockArray[14][7] = new Array(1, 3); } } function levels2() { if (level == 11) { levelName = "UFO"; correctArray[0][12] = new Array(1, 6); correctArray[1][12] = new Array(1, 6); correctArray[2][11] = new Array(1, 3); correctArray[2][12] = new Array(1, 6); correctArray[2][13] = new Array(1, 6); correctArray[3][10] = new Array(1, 10); correctArray[3][11] = new Array(1, 3); correctArray[3][12] = new Array(1, 3); correctArray[3][13] = new Array(1, 6); correctArray[3][14] = new Array(1, 6); correctArray[4][9] = new Array(1, 10); correctArray[4][10] = new Array(1, 10); correctArray[4][12] = new Array(1, 3); correctArray[4][13] = new Array(1, 3); correctArray[5][9] = new Array(1, 10); correctArray[5][10] = new Array(1, 4); correctArray[5][11] = new Array(1, 4); correctArray[5][12] = new Array(1, 4); correctArray[6][9] = new Array(1, 9); correctArray[6][10] = new Array(1, 4); correctArray[6][12] = new Array(1, 7); correctArray[6][13] = new Array(1, 3); correctArray[7][9] = new Array(1, 9); correctArray[7][10] = new Array(1, 4); correctArray[7][11] = new Array(1, 5); correctArray[7][12] = new Array(1, 5); correctArray[7][13] = new Array(1, 3); correctArray[8][9] = new Array(1, 9); correctArray[8][10] = new Array(1, 9); correctArray[8][12] = new Array(1, 5); correctArray[8][13] = new Array(1, 3); correctArray[9][9] = new Array(1, 8); correctArray[9][10] = new Array(1, 5); correctArray[9][11] = new Array(1, 5); correctArray[9][12] = new Array(1, 5); correctArray[10][9] = new Array(1, 8); correctArray[10][10] = new Array(1, 5); correctArray[10][12] = new Array(1, 7); correctArray[10][13] = new Array(1, 7); correctArray[11][10] = new Array(1, 5); correctArray[11][11] = new Array(1, 8); correctArray[11][12] = new Array(1, 8); correctArray[11][13] = new Array(1, 7); correctArray[11][14] = new Array(1, 7); correctArray[12][11] = new Array(1, 8); correctArray[12][12] = new Array(1, 8); correctArray[12][13] = new Array(1, 7); correctArray[13][12] = new Array(1, 9); correctArray[14][12] = new Array(1, 9); blockArray[0][1] = new Array(1, 10); blockArray[1][0] = new Array(1, 10); blockArray[1][1] = new Array(1, 10); blockArray[1][2] = new Array(1, 3); blockArray[2][0] = new Array(1, 10); blockArray[2][2] = new Array(1, 3); blockArray[2][3] = new Array(1, 3); blockArray[3][0] = new Array(1, 4); blockArray[3][1] = new Array(1, 4); blockArray[3][2] = new Array(1, 4); blockArray[3][3] = new Array(1, 3); blockArray[3][4] = new Array(1, 3); blockArray[4][0] = new Array(1, 4); blockArray[4][1] = new Array(1, 9); blockArray[5][0] = new Array(1, 4); blockArray[5][1] = new Array(1, 9); blockArray[5][2] = new Array(1, 5); blockArray[5][3] = new Array(1, 5); blockArray[5][4] = new Array(1, 3); blockArray[6][0] = new Array(1, 8); blockArray[6][1] = new Array(1, 9); blockArray[6][2] = new Array(1, 9); blockArray[6][3] = new Array(1, 5); blockArray[6][4] = new Array(1, 3); blockArray[7][0] = new Array(1, 8); blockArray[7][1] = new Array(1, 5); blockArray[7][2] = new Array(1, 5); blockArray[7][3] = new Array(1, 5); blockArray[7][4] = new Array(1, 3); blockArray[8][0] = new Array(1, 7); blockArray[8][1] = new Array(1, 5); blockArray[8][2] = new Array(1, 8); blockArray[8][3] = new Array(1, 8); blockArray[8][4] = new Array(1, 6); blockArray[9][1] = new Array(1, 5); blockArray[9][2] = new Array(1, 8); blockArray[9][3] = new Array(1, 8); blockArray[9][4] = new Array(1, 6); blockArray[10][4] = new Array(1, 6); blockArray[10][5] = new Array(1, 6); blockArray[11][4] = new Array(1, 9); blockArray[11][5] = new Array(1, 6); blockArray[11][6] = new Array(1, 6); blockArray[12][0] = new Array(1, 7); blockArray[12][1] = new Array(1, 7); blockArray[12][4] = new Array(1, 9); blockArray[13][1] = new Array(1, 7); blockArray[13][2] = new Array(1, 7); blockArray[14][1] = new Array(1, 7); } else if (level == 9) { levelName = "Alien 1"; correctArray[4][8] = new Array(1, 2); correctArray[4][9] = new Array(1, 2); correctArray[4][12] = new Array(1, 6); correctArray[5][7] = new Array(1, 3); correctArray[5][8] = new Array(1, 3); correctArray[5][9] = new Array(1, 2); correctArray[5][11] = new Array(1, 8); correctArray[6][6] = new Array(1, 9); correctArray[6][7] = new Array(1, 3); correctArray[6][9] = new Array(1, 2); correctArray[6][10] = new Array(1, 8); correctArray[6][12] = new Array(1, 6); correctArray[7][5] = new Array(1, 8); correctArray[7][6] = new Array(1, 9); correctArray[7][7] = new Array(1, 3); correctArray[7][8] = new Array(1, 3); correctArray[7][9] = new Array(1, 2); correctArray[7][11] = new Array(1, 8); correctArray[8][5] = new Array(1, 8); correctArray[8][6] = new Array(1, 9); correctArray[8][7] = new Array(1, 4); correctArray[8][8] = new Array(1, 4); correctArray[8][9] = new Array(1, 2); correctArray[8][11] = new Array(1, 6); correctArray[9][6] = new Array(1, 9); correctArray[9][7] = new Array(1, 4); correctArray[9][9] = new Array(1, 2); correctArray[9][10] = new Array(1, 6); correctArray[9][12] = new Array(1, 10); correctArray[10][7] = new Array(1, 4); correctArray[10][8] = new Array(1, 4); correctArray[10][9] = new Array(1, 2); correctArray[10][11] = new Array(1, 10); correctArray[11][8] = new Array(1, 3); correctArray[11][9] = new Array(1, 2); correctArray[11][12] = new Array(1, 10); blockArray[0][6] = new Array(1, 6); blockArray[1][1] = new Array(1, 3); blockArray[1][2] = new Array(1, 3); blockArray[1][6] = new Array(1, 8); blockArray[2][1] = new Array(1, 3); blockArray[2][5] = new Array(1, 8); blockArray[2][6] = new Array(1, 6); blockArray[3][0] = new Array(1, 8); blockArray[3][1] = new Array(1, 3); blockArray[3][2] = new Array(1, 3); blockArray[3][6] = new Array(1, 8); blockArray[4][0] = new Array(1, 8); blockArray[4][5] = new Array(1, 6); blockArray[5][4] = new Array(1, 6); blockArray[6][0] = new Array(1, 9); blockArray[6][2] = new Array(1, 2); blockArray[6][3] = new Array(1, 2); blockArray[7][0] = new Array(1, 9); blockArray[7][2] = new Array(1, 3); blockArray[7][3] = new Array(1, 2); blockArray[8][0] = new Array(1, 9); blockArray[8][1] = new Array(1, 4); blockArray[8][2] = new Array(1, 4); blockArray[8][3] = new Array(1, 2); blockArray[9][0] = new Array(1, 9); blockArray[9][1] = new Array(1, 4); blockArray[9][3] = new Array(1, 2); blockArray[10][1] = new Array(1, 4); blockArray[10][2] = new Array(1, 4); blockArray[10][3] = new Array(1, 2); blockArray[11][3] = new Array(1, 2); blockArray[12][3] = new Array(1, 2); blockArray[12][5] = new Array(1, 10); blockArray[13][3] = new Array(1, 2); blockArray[13][4] = new Array(1, 10); blockArray[14][5] = new Array(1, 10); } else if (level == 5) { levelName = "Turtle"; correctArray[4][8] = new Array(1, 10); correctArray[5][9] = new Array(1, 10); correctArray[6][8] = new Array(1, 6); correctArray[6][9] = new Array(1, 9); correctArray[6][10] = new Array(1, 5); correctArray[7][7] = new Array(1, 7); correctArray[7][8] = new Array(1, 6); correctArray[7][9] = new Array(1, 3); correctArray[8][7] = new Array(1, 6); correctArray[8][8] = new Array(1, 6); correctArray[8][9] = new Array(1, 9); correctArray[9][8] = new Array(1, 3); correctArray[9][9] = new Array(1, 9); correctArray[9][10] = new Array(1, 5); correctArray[10][9] = new Array(1, 10); blockArray[1][1] = new Array(1, 6); blockArray[2][0] = new Array(1, 5); blockArray[2][1] = new Array(1, 6); blockArray[3][0] = new Array(1, 6); blockArray[3][1] = new Array(1, 6); blockArray[4][0] = new Array(1, 7); blockArray[4][1] = new Array(1, 3); blockArray[5][0] = new Array(1, 5); blockArray[6][0] = new Array(1, 3); blockArray[7][0] = new Array(1, 10); blockArray[7][1] = new Array(1, 9); blockArray[8][1] = new Array(1, 10); blockArray[9][1] = new Array(1, 9); blockArray[10][1] = new Array(1, 9); blockArray[13][1] = new Array(1, 10); } else if (level == 14) { levelName = "Happy Face"; correctArray[4][9] = new Array(1, 3); correctArray[4][10] = new Array(1, 3); correctArray[4][12] = new Array(1, 3); correctArray[4][13] = new Array(1, 3); correctArray[5][9] = new Array(1, 5); correctArray[5][10] = new Array(1, 2); correctArray[5][12] = new Array(1, 3); correctArray[5][13] = new Array(1, 2); correctArray[5][14] = new Array(1, 7); correctArray[6][12] = new Array(1, 3); correctArray[6][13] = new Array(1, 7); correctArray[6][14] = new Array(1, 7); correctArray[7][12] = new Array(1, 2); correctArray[7][13] = new Array(1, 2); correctArray[7][14] = new Array(1, 7); correctArray[8][12] = new Array(1, 5); correctArray[8][13] = new Array(1, 6); correctArray[8][14] = new Array(1, 10); correctArray[9][9] = new Array(1, 5); correctArray[9][10] = new Array(1, 5); correctArray[9][12] = new Array(1, 6); correctArray[9][13] = new Array(1, 6); correctArray[9][14] = new Array(1, 10); correctArray[10][9] = new Array(1, 5); correctArray[10][10] = new Array(1, 10); correctArray[10][12] = new Array(1, 6); correctArray[10][13] = new Array(1, 10); blockArray[3][0] = new Array(1, 3); blockArray[3][1] = new Array(1, 3); blockArray[3][3] = new Array(1, 3); blockArray[3][4] = new Array(1, 3); blockArray[4][0] = new Array(1, 5); blockArray[4][3] = new Array(1, 3); blockArray[5][3] = new Array(1, 3); blockArray[7][3] = new Array(1, 5); blockArray[8][0] = new Array(1, 5); blockArray[8][1] = new Array(1, 5); blockArray[9][0] = new Array(1, 5); blockArray[9][1] = new Array(1, 7); blockArray[10][0] = new Array(1, 7); blockArray[10][1] = new Array(1, 7); blockArray[11][0] = new Array(1, 2); blockArray[11][1] = new Array(1, 7); blockArray[11][2] = new Array(1, 6); blockArray[11][3] = new Array(1, 2); blockArray[12][1] = new Array(1, 6); blockArray[12][2] = new Array(1, 6); blockArray[12][4] = new Array(1, 10); blockArray[13][1] = new Array(1, 6); blockArray[13][2] = new Array(1, 2); blockArray[13][3] = new Array(1, 2); blockArray[13][4] = new Array(1, 10); blockArray[14][0] = new Array(1, 10); blockArray[14][3] = new Array(1, 10); } } function levels3() { } function levels4() { } function levels5() { } function levelSetup() { if (level < 12) { _root.s1._visible = true; _root.s2._visible = true; } else { _root.s1._visible = false; _root.s2._visible = false; } timer = 0; bubbles = 0; startPlay = false; clicks = 0; levels1(); levels2(); if (level == 4) { levelName = "Bat"; correctArray[2][9] = new Array(1, 2); correctArray[2][10] = new Array(1, 2); correctArray[3][8] = new Array(1, 3); correctArray[3][11] = new Array(1, 2); correctArray[4][9] = new Array(1, 10); correctArray[5][10] = new Array(1, 10); correctArray[6][8] = new Array(1, 8); correctArray[6][9] = new Array(1, 10); correctArray[6][11] = new Array(1, 6); correctArray[7][9] = new Array(1, 10); correctArray[7][10] = new Array(1, 8); correctArray[7][11] = new Array(1, 6); correctArray[8][8] = new Array(1, 5); correctArray[8][9] = new Array(1, 5); correctArray[8][11] = new Array(1, 6); correctArray[9][10] = new Array(1, 3); correctArray[10][9] = new Array(1, 3); correctArray[11][8] = new Array(1, 3); correctArray[11][11] = new Array(1, 6); correctArray[12][9] = new Array(1, 6); correctArray[12][10] = new Array(1, 6); blockArray[3][0] = new Array(1, 3); blockArray[4][0] = new Array(1, 8); blockArray[4][1] = new Array(1, 2); blockArray[4][2] = new Array(1, 2); blockArray[5][0] = new Array(1, 10); blockArray[5][2] = new Array(1, 8); blockArray[5][3] = new Array(1, 2); blockArray[6][1] = new Array(1, 10); blockArray[6][2] = new Array(1, 6); blockArray[7][0] = new Array(1, 10); blockArray[7][2] = new Array(1, 6); blockArray[8][0] = new Array(1, 10); blockArray[8][2] = new Array(1, 6); blockArray[9][0] = new Array(1, 5); blockArray[9][1] = new Array(1, 5); blockArray[9][2] = new Array(1, 3); blockArray[10][1] = new Array(1, 3); blockArray[11][0] = new Array(1, 3); blockArray[11][2] = new Array(1, 6); blockArray[12][0] = new Array(1, 6); blockArray[12][1] = new Array(1, 6); } else if (level == 6) { levelName = "Ghost"; correctArray[5][7] = new Array(1, 2); correctArray[5][8] = new Array(1, 10); correctArray[5][9] = new Array(1, 10); correctArray[5][10] = new Array(1, 10); correctArray[5][11] = new Array(1, 2); correctArray[6][6] = new Array(1, 7); correctArray[6][7] = new Array(1, 10); correctArray[6][9] = new Array(1, 3); correctArray[6][10] = new Array(1, 3); correctArray[7][6] = new Array(1, 7); correctArray[7][7] = new Array(1, 10); correctArray[7][8] = new Array(1, 2); correctArray[7][9] = new Array(1, 2); correctArray[7][10] = new Array(1, 2); correctArray[7][11] = new Array(1, 2); correctArray[8][6] = new Array(1, 7); correctArray[8][7] = new Array(1, 10); correctArray[8][9] = new Array(1, 7); correctArray[8][10] = new Array(1, 7); correctArray[9][7] = new Array(1, 3); correctArray[9][8] = new Array(1, 3); correctArray[9][9] = new Array(1, 3); correctArray[9][10] = new Array(1, 3); correctArray[9][11] = new Array(1, 3); blockArray[2][1] = new Array(1, 10); blockArray[2][2] = new Array(1, 10); blockArray[2][3] = new Array(1, 10); blockArray[3][0] = new Array(1, 10); blockArray[3][2] = new Array(1, 3); blockArray[3][3] = new Array(1, 3); blockArray[4][0] = new Array(1, 10); blockArray[5][0] = new Array(1, 10); blockArray[6][0] = new Array(1, 3); blockArray[6][1] = new Array(1, 3); blockArray[6][2] = new Array(1, 3); blockArray[6][3] = new Array(1, 3); blockArray[6][4] = new Array(1, 3); blockArray[7][0] = new Array(1, 7); blockArray[8][0] = new Array(1, 7); blockArray[9][0] = new Array(1, 7); blockArray[9][3] = new Array(1, 7); blockArray[9][4] = new Array(1, 7); blockArray[10][0] = new Array(1, 2); blockArray[10][4] = new Array(1, 2); blockArray[12][1] = new Array(1, 2); blockArray[12][2] = new Array(1, 2); blockArray[12][3] = new Array(1, 2); blockArray[12][4] = new Array(1, 2); } else if (level == 3) { levelName = "Stairs"; correctArray[4][7] = new Array(1, 7); correctArray[4][8] = new Array(1, 6); correctArray[4][9] = new Array(1, 7); correctArray[4][10] = new Array(1, 7); correctArray[4][11] = new Array(1, 4); correctArray[4][12] = new Array(1, 4); correctArray[5][8] = new Array(1, 6); correctArray[5][9] = new Array(1, 6); correctArray[5][10] = new Array(1, 5); correctArray[5][11] = new Array(1, 4); correctArray[5][12] = new Array(1, 3); correctArray[6][9] = new Array(1, 6); correctArray[6][10] = new Array(1, 5); correctArray[6][11] = new Array(1, 4); correctArray[6][12] = new Array(1, 3); correctArray[7][10] = new Array(1, 5); correctArray[7][11] = new Array(1, 4); correctArray[7][12] = new Array(1, 3); correctArray[8][11] = new Array(1, 5); correctArray[8][12] = new Array(1, 3); correctArray[9][12] = new Array(1, 3); correctArray[11][11] = new Array(1, 2); correctArray[11][12] = new Array(1, 2); blockArray[3][0] = new Array(1, 7); blockArray[3][2] = new Array(1, 7); blockArray[3][3] = new Array(1, 7); blockArray[4][0] = new Array(1, 6); blockArray[5][0] = new Array(1, 6); blockArray[5][1] = new Array(1, 6); blockArray[6][1] = new Array(1, 6); blockArray[6][2] = new Array(1, 4); blockArray[6][3] = new Array(1, 4); blockArray[7][0] = new Array(1, 2); blockArray[7][1] = new Array(1, 2); blockArray[7][2] = new Array(1, 4); blockArray[8][0] = new Array(1, 3); blockArray[8][1] = new Array(1, 5); blockArray[8][2] = new Array(1, 4); blockArray[9][0] = new Array(1, 3); blockArray[9][1] = new Array(1, 5); blockArray[9][2] = new Array(1, 4); blockArray[10][0] = new Array(1, 3); blockArray[10][1] = new Array(1, 5); blockArray[11][0] = new Array(1, 3); blockArray[11][2] = new Array(1, 5); blockArray[12][0] = new Array(1, 3); } else if (level == 2) { levelName = "Paperboy"; correctArray[6][5] = new Array(1, 4); correctArray[6][6] = new Array(1, 6); correctArray[6][7] = new Array(1, 5); correctArray[6][9] = new Array(1, 6); correctArray[6][11] = new Array(1, 3); correctArray[6][12] = new Array(1, 3); correctArray[7][5] = new Array(1, 4); correctArray[7][6] = new Array(1, 6); correctArray[7][7] = new Array(1, 5); correctArray[7][8] = new Array(1, 5); correctArray[7][9] = new Array(1, 5); correctArray[7][10] = new Array(1, 7); correctArray[8][5] = new Array(1, 4); correctArray[8][6] = new Array(1, 6); correctArray[8][7] = new Array(1, 5); correctArray[8][9] = new Array(1, 7); correctArray[8][11] = new Array(1, 3); correctArray[8][12] = new Array(1, 3); correctArray[9][6] = new Array(1, 6); blockArray[4][0] = new Array(1, 6); blockArray[4][1] = new Array(1, 5); blockArray[4][3] = new Array(1, 6); blockArray[5][0] = new Array(1, 6); blockArray[5][1] = new Array(1, 5); blockArray[5][2] = new Array(1, 5); blockArray[5][3] = new Array(1, 5); blockArray[6][0] = new Array(1, 6); blockArray[6][1] = new Array(1, 5); blockArray[6][2] = new Array(1, 7); blockArray[7][0] = new Array(1, 6); blockArray[7][1] = new Array(1, 7); blockArray[8][0] = new Array(1, 4); blockArray[8][1] = new Array(1, 3); blockArray[8][2] = new Array(1, 3); blockArray[9][0] = new Array(1, 4); blockArray[10][0] = new Array(1, 4); blockArray[10][1] = new Array(1, 3); blockArray[10][2] = new Array(1, 3); } else if (level == 1) { levelName = "A"; correctArray[5][6] = new Array(1, 4); correctArray[5][7] = new Array(1, 4); correctArray[5][8] = new Array(1, 4); correctArray[5][9] = new Array(1, 3); correctArray[5][10] = new Array(1, 3); correctArray[6][5] = new Array(1, 6); correctArray[6][8] = new Array(1, 4); correctArray[7][5] = new Array(1, 6); correctArray[7][8] = new Array(1, 4); correctArray[8][6] = new Array(1, 3); correctArray[8][7] = new Array(1, 3); correctArray[8][8] = new Array(1, 6); correctArray[8][9] = new Array(1, 6); correctArray[8][10] = new Array(1, 3); blockArray[0][0] = new Array(1, 6); blockArray[1][0] = new Array(1, 6); blockArray[2][3] = new Array(1, 6); blockArray[2][4] = new Array(1, 6); blockArray[6][0] = new Array(1, 4); blockArray[6][1] = new Array(1, 4); blockArray[6][2] = new Array(1, 4); blockArray[7][2] = new Array(1, 4); blockArray[8][2] = new Array(1, 4); blockArray[11][3] = new Array(1, 3); blockArray[11][4] = new Array(1, 3); blockArray[14][0] = new Array(1, 3); blockArray[14][1] = new Array(1, 3); blockArray[14][4] = new Array(1, 3); } else if (level == 0) { levelName = "Square"; correctArray[6][7] = new Array(1, 2); correctArray[6][8] = new Array(1, 2); correctArray[6][9] = new Array(1, 2); correctArray[7][7] = new Array(1, 3); correctArray[7][8] = new Array(1, 3); correctArray[7][9] = new Array(1, 2); correctArray[8][7] = new Array(1, 4); correctArray[8][8] = new Array(1, 3); correctArray[8][9] = new Array(1, 2); blockArray[4][3] = new Array(1, 4); blockArray[6][2] = new Array(1, 3); blockArray[6][3] = new Array(1, 3); blockArray[7][3] = new Array(1, 3); blockArray[9][1] = new Array(1, 2); blockArray[9][2] = new Array(1, 2); blockArray[9][3] = new Array(1, 2); blockArray[10][3] = new Array(1, 2); blockArray[11][3] = new Array(1, 2); } else if (level == 8) { levelName = "Bomb"; correctArray[4][9] = new Array(1, 3); correctArray[4][10] = new Array(1, 4); correctArray[4][11] = new Array(1, 2); correctArray[5][8] = new Array(1, 8); correctArray[5][9] = new Array(1, 3); correctArray[5][10] = new Array(1, 4); correctArray[5][11] = new Array(1, 2); correctArray[5][12] = new Array(1, 3); correctArray[6][7] = new Array(1, 7); correctArray[6][8] = new Array(1, 8); correctArray[6][9] = new Array(1, 3); correctArray[6][10] = new Array(1, 4); correctArray[6][11] = new Array(1, 2); correctArray[6][12] = new Array(1, 3); correctArray[6][13] = new Array(1, 2); correctArray[7][6] = new Array(1, 9); correctArray[7][7] = new Array(1, 7); correctArray[7][8] = new Array(1, 8); correctArray[7][9] = new Array(1, 3); correctArray[7][10] = new Array(1, 4); correctArray[7][11] = new Array(1, 2); correctArray[7][12] = new Array(1, 3); correctArray[7][13] = new Array(1, 2); correctArray[8][5] = new Array(1, 9); correctArray[8][7] = new Array(1, 7); correctArray[8][9] = new Array(1, 3); correctArray[8][10] = new Array(1, 4); correctArray[8][11] = new Array(1, 2); correctArray[8][12] = new Array(1, 3); correctArray[8][13] = new Array(1, 2); correctArray[9][5] = new Array(1, 8); correctArray[9][8] = new Array(1, 6); correctArray[9][10] = new Array(1, 4); correctArray[9][11] = new Array(1, 2); correctArray[9][12] = new Array(1, 3); correctArray[10][9] = new Array(1, 4); correctArray[10][10] = new Array(1, 4); correctArray[10][11] = new Array(1, 2); blockArray[0][1] = new Array(1, 7); blockArray[1][1] = new Array(1, 7); blockArray[2][1] = new Array(1, 7); blockArray[2][2] = new Array(1, 2); blockArray[3][1] = new Array(1, 9); blockArray[3][2] = new Array(1, 2); blockArray[3][3] = new Array(1, 4); blockArray[4][0] = new Array(1, 9); blockArray[4][2] = new Array(1, 2); blockArray[4][3] = new Array(1, 4); blockArray[4][4] = new Array(1, 2); blockArray[5][2] = new Array(1, 2); blockArray[5][3] = new Array(1, 4); blockArray[5][4] = new Array(1, 2); blockArray[6][2] = new Array(1, 2); blockArray[6][3] = new Array(1, 4); blockArray[6][4] = new Array(1, 2); blockArray[7][2] = new Array(1, 2); blockArray[7][3] = new Array(1, 4); blockArray[8][2] = new Array(1, 2); blockArray[8][3] = new Array(1, 4); blockArray[9][1] = new Array(1, 3); blockArray[9][2] = new Array(1, 4); blockArray[9][3] = new Array(1, 4); blockArray[10][1] = new Array(1, 3); blockArray[10][2] = new Array(1, 6); blockArray[10][3] = new Array(1, 8); blockArray[10][4] = new Array(1, 3); blockArray[11][1] = new Array(1, 3); blockArray[11][3] = new Array(1, 8); blockArray[11][4] = new Array(1, 3); blockArray[12][1] = new Array(1, 3); blockArray[12][3] = new Array(1, 8); blockArray[12][4] = new Array(1, 3); blockArray[13][1] = new Array(1, 3); blockArray[13][4] = new Array(1, 3); blockArray[14][0] = new Array(1, 8); blockArray[14][4] = new Array(1, 3); } else if (level == 7) { levelName = "Heart"; correctArray[4][6] = new Array(1, 6); correctArray[4][7] = new Array(1, 5); correctArray[5][5] = new Array(1, 6); correctArray[5][6] = new Array(1, 6); correctArray[5][7] = new Array(1, 5); correctArray[5][8] = new Array(1, 4); correctArray[6][5] = new Array(1, 6); correctArray[6][6] = new Array(1, 5); correctArray[6][7] = new Array(1, 5); correctArray[6][8] = new Array(1, 4); correctArray[6][9] = new Array(1, 3); correctArray[7][6] = new Array(1, 5); correctArray[7][7] = new Array(1, 4); correctArray[7][8] = new Array(1, 4); correctArray[7][9] = new Array(1, 3); correctArray[7][10] = new Array(1, 4); correctArray[8][6] = new Array(1, 5); correctArray[8][7] = new Array(1, 4); correctArray[8][8] = new Array(1, 4); correctArray[8][9] = new Array(1, 3); correctArray[8][10] = new Array(1, 4); correctArray[9][5] = new Array(1, 2); correctArray[9][6] = new Array(1, 2); correctArray[9][7] = new Array(1, 2); correctArray[9][8] = new Array(1, 2); correctArray[9][9] = new Array(1, 3); correctArray[10][5] = new Array(1, 2); correctArray[10][7] = new Array(1, 3); correctArray[10][8] = new Array(1, 3); correctArray[11][6] = new Array(1, 5); correctArray[11][7] = new Array(1, 5); blockArray[0][3] = new Array(1, 5); blockArray[1][1] = new Array(1, 4); blockArray[1][3] = new Array(1, 5); blockArray[2][1] = new Array(1, 4); blockArray[2][2] = new Array(1, 5); blockArray[2][3] = new Array(1, 5); blockArray[3][0] = new Array(1, 4); blockArray[3][1] = new Array(1, 4); blockArray[3][2] = new Array(1, 5); blockArray[3][3] = new Array(1, 4); blockArray[4][0] = new Array(1, 4); blockArray[4][1] = new Array(1, 4); blockArray[4][2] = new Array(1, 5); blockArray[4][3] = new Array(1, 4); blockArray[5][2] = new Array(1, 6); blockArray[6][1] = new Array(1, 6); blockArray[6][2] = new Array(1, 6); blockArray[7][1] = new Array(1, 6); blockArray[7][2] = new Array(1, 5); blockArray[7][3] = new Array(1, 5); blockArray[8][2] = new Array(1, 3); blockArray[9][2] = new Array(1, 3); blockArray[10][2] = new Array(1, 3); blockArray[11][2] = new Array(1, 3); blockArray[12][0] = new Array(1, 3); blockArray[12][1] = new Array(1, 3); blockArray[13][0] = new Array(1, 2); blockArray[13][1] = new Array(1, 2); blockArray[13][2] = new Array(1, 2); blockArray[13][3] = new Array(1, 2); blockArray[14][0] = new Array(1, 2); } else if (level == 10) { levelName = "Alien 2"; correctArray[2][9] = new Array(1, 9); correctArray[2][10] = new Array(1, 9); correctArray[2][11] = new Array(1, 9); correctArray[3][8] = new Array(1, 8); correctArray[3][9] = new Array(1, 8); correctArray[4][5] = new Array(1, 7); correctArray[4][7] = new Array(1, 5); correctArray[4][8] = new Array(1, 8); correctArray[4][9] = new Array(1, 8); correctArray[4][10] = new Array(1, 6); correctArray[4][11] = new Array(1, 8); correctArray[5][6] = new Array(1, 7); correctArray[5][7] = new Array(1, 5); correctArray[5][9] = new Array(1, 6); correctArray[5][10] = new Array(1, 6); correctArray[5][12] = new Array(1, 8); correctArray[6][7] = new Array(1, 5); correctArray[6][8] = new Array(1, 5); correctArray[6][9] = new Array(1, 5); correctArray[6][10] = new Array(1, 7); correctArray[6][12] = new Array(1, 8); correctArray[7][7] = new Array(1, 10); correctArray[7][8] = new Array(1, 10); correctArray[7][9] = new Array(1, 10); correctArray[7][10] = new Array(1, 7); correctArray[8][7] = new Array(1, 4); correctArray[8][8] = new Array(1, 4); correctArray[8][9] = new Array(1, 4); correctArray[8][10] = new Array(1, 7); correctArray[8][12] = new Array(1, 7); correctArray[9][6] = new Array(1, 4); correctArray[9][7] = new Array(1, 6); correctArray[9][9] = new Array(1, 5); correctArray[9][10] = new Array(1, 7); correctArray[9][12] = new Array(1, 7); correctArray[10][5] = new Array(1, 4); correctArray[10][7] = new Array(1, 6); correctArray[10][8] = new Array(1, 6); correctArray[10][9] = new Array(1, 5); correctArray[10][10] = new Array(1, 9); correctArray[10][11] = new Array(1, 9); correctArray[11][8] = new Array(1, 5); correctArray[12][9] = new Array(1, 10); correctArray[12][10] = new Array(1, 10); correctArray[12][11] = new Array(1, 10); blockArray[0][12] = new Array(1, 8); blockArray[0][13] = new Array(1, 8); blockArray[0][14] = new Array(1, 9); blockArray[0][15] = new Array(1, 9); blockArray[0][16] = new Array(1, 9); blockArray[1][12] = new Array(1, 8); blockArray[1][13] = new Array(1, 8); blockArray[1][15] = new Array(1, 8); blockArray[2][16] = new Array(1, 8); blockArray[3][16] = new Array(1, 8); blockArray[5][14] = new Array(1, 5); blockArray[6][0] = new Array(1, 10); blockArray[6][1] = new Array(1, 10); blockArray[6][2] = new Array(1, 10); blockArray[6][14] = new Array(1, 5); blockArray[7][2] = new Array(1, 4); blockArray[7][3] = new Array(1, 4); blockArray[7][4] = new Array(1, 4); blockArray[7][14] = new Array(1, 5); blockArray[7][15] = new Array(1, 5); blockArray[7][16] = new Array(1, 5); blockArray[8][1] = new Array(1, 4); blockArray[8][14] = new Array(1, 6); blockArray[8][15] = new Array(1, 9); blockArray[8][16] = new Array(1, 9); blockArray[9][0] = new Array(1, 4); blockArray[9][1] = new Array(1, 7); blockArray[9][13] = new Array(1, 6); blockArray[9][14] = new Array(1, 6); blockArray[10][2] = new Array(1, 7); blockArray[10][16] = new Array(1, 5); blockArray[11][2] = new Array(1, 10); blockArray[11][3] = new Array(1, 10); blockArray[11][4] = new Array(1, 10); blockArray[11][6] = new Array(1, 7); blockArray[11][16] = new Array(1, 5); blockArray[12][6] = new Array(1, 7); blockArray[12][15] = new Array(1, 5); blockArray[13][6] = new Array(1, 7); blockArray[13][8] = new Array(1, 7); blockArray[13][11] = new Array(1, 6); blockArray[14][6] = new Array(1, 7); blockArray[14][8] = new Array(1, 7); blockArray[14][11] = new Array(1, 6); blockArray[14][12] = new Array(1, 6); } levelWords = levelName; } levelName = ""; function cleanUp() { correctPic.swapDepths(9999); removeMovieClip(correctPic); i = 0; while (i <= blocks) { _root["b" + i].swapDepths(9999); removeMovieClip(_root["b" + i]); i++; } } function setup() { win = false; _root.level++; blockArray = new Array(); correctArray = new Array(); groupBlocks = new Array(); i = 0; while (i < 20) { groupBlocks[i] = new Array(); i++; } createEmptyMovieClip("correctPic", 10000); correctPic.lineStyle(2, 0, 0); correctPic._alpha = 0; blocks = 0; minX = 15; minY = 15; correctPic._x = correctPic._x + minX; correctPic._y = correctPic._y + minY; blockW = block._width - 1; blockH = block._height - 1; rows = 15; cols = 18; wait = 0; moveT = 2; check._visible = false; i = 0; while (i < rows) { correctArray[i] = new Array(); blockArray[i] = new Array(); j = 0; while (j < cols) { correctArray[i][j] = new Array(0, 0); blockArray[i][j] = new Array(0, 0); j++; } i++; } dir = 0; } function setup2() { trace(Math.round((level + 1) % 3)); bg.gotoAndStop(level + 1); i = 0; while (i < rows) { j = 0; while (j < cols) { if (correctArray[i][j][0] != 0) { correctPic.beginFill(0); correctPic.moveTo(Math.floor(i * blockW), Math.floor(j * blockH)); correctPic.lineTo(Math.floor(i * blockW), Math.floor((j * blockH) + blockH)); correctPic.lineTo(Math.floor((i * blockW) + blockW), Math.floor((j * blockH) + blockH)); correctPic.lineTo(Math.floor((i * blockW) + blockW), Math.floor(j * blockH)); correctPic.lineTo(Math.floor(i * blockW), Math.floor(j * blockH)); correctPic.endFill(); } if (blockArray[i][j][0] != 0) { blocks++; duplicateMovieClip (_root.block, "b" + blocks, _root.getNextHighestDepth()); _root["b" + blocks]._x = Math.floor((i * blockW) + minX); _root["b" + blocks]._y = Math.floor((j * blockH) + minY); _root["b" + blocks].x = i; _root["b" + blocks].y = j; _root["b" + blocks]._alpha = 0; _root["b" + blocks].num = blocks; _root["b" + blocks].num2 = blockArray[i][j][1]; _root["b" + blocks].b.gotoAndStop(blockArray[i][j][1]); _root["b" + blocks].lock = false; groupBlocks[blockArray[i][j][1]].push(blocks); blockArray[i][j][0] = blocks; } j++; } i++; } mouse = false; selectBlock = 0; xDiff = 0; yDiff = 0; posMove = false; blocksMove = new Array(); } function checkWin() { win = true; i = 0; while (i < rows) { j = 0; while (j < cols) { if (correctArray[i][j][0] != 0) { if (blockArray[i][j][0] == 0) { win = false; } } j++; } i++; } if (win) { i = 0; while (i < rows) { j = 0; while (j < cols) { _root["b" + blockArray[i][j][0]].b.gotoAndStop(100); j++; } i++; } } } function checkMove(num, x, y, xC, yC) { if (_root.posMove) { if (!blocksCheck[num]) { if (_root["b" + num].lock) { _root.posMove = false; } blocksMove.push(num); blocksCheck[num] = true; l = 0; while (l < groupBlocks[_root["b" + num].num2].length) { number = groupBlocks[_root["b" + num].num2][l]; checkMove(number, _root["b" + number].x, _root["b" + number].y, xC, yC); l++; } if (((((x + xC) >= 0) && ((y + yC) >= 0)) && ((x + xC) < rows)) && ((y + yC) < cols)) { if (blockArray[x + xC][y + yC][0] != 0) { number = blockArray[x + xC][y + yC][0]; checkMove(number, _root["b" + number].x, _root["b" + number].y, xC, yC); } } else { _root.posMove = false; } } } } function createLines() { cwait++; if (cwait > 5) { cwait = 0; cnum++; lineMc = createEmptyMovieClip("lines" + cnum, cnum); lineMc.lineStyle(0.5, 16777215, 100); lineMc.ypos = 0; lineMc._x = Math.random() * Stage.width; lineMc._rotation = (Math.random() * 100) - 50; lineMc._alpha = 70; lineMc.onEnterFrame = function () { this.lineStyle(0.5, 16777215, 100); this.moveTo(0, 0); this.ypos = this.ypos + 30; this.lineTo(0, this.ypos); this._alpha = this._alpha - 5; if (this._alpha <= 0) { removeMovieClip(this); } }; } } function checkStarOver() { j = 1; while (j < 4) { if (_root["s" + j]._visible) { if (_root["s" + j].hitTest(_xmouse, _ymouse, true)) { des._visible = true; des.gotoAndStop(j); desText = desArray[level][j - 1]; return(undefined); } } j++; } des._visible = false; desText = ""; } function checkStarC() { pauseMc.happy._visible = false; if (level == 0) { if (win) { starArray[0][0] = true; } if (des._visible && (des._currentframe == 2)) { starArray[0][1] = true; } if (win && (cleanWait > 0)) { starArray[0][2] = true; } } else if (level == 1) { if (win) { starArray[1][0] = true; } if (pauseMc._visible) { starArray[1][1] = true; } if (restart) { starArray[1][2] = true; } } else if (level == 2) { if (win) { starArray[2][0] = true; } if (win && (clicks == 1)) { starArray[2][2] = true; } } else if (level == 3) { if (win) { starArray[3][0] = true; } if (bubbles >= 10) { starArray[3][1] = true; } if (win && (clicks <= 5)) { starArray[3][2] = true; } } else if (level == 4) { _root.pauseMc.happy._visible = true; if (win) { starArray[4][0] = true; } if (pauseM && (pauseMc.happy.hitTest(_xmouse, _ymouse, true))) { pauseMc.happy._alpha = 100; starArray[4][1] = true; } else { pauseMc.happy._alpha = 10; } if ((win && (cleanWait == 1)) && (clicks == 100)) { starArray[4][2] = true; } } else if (level == 5) { if (win) { starArray[5][0] = true; } if (win && (timer < 30)) { starArray[5][1] = true; } if (win && (clicks <= 3)) { starArray[5][2] = true; } } else if (level == 6) { if (win) { starArray[6][0] = true; } if (bubbles >= 50) { starArray[6][2] = true; } } else if (level == 7) { if (win) { starArray[7][0] = true; } if (win && (timer < 18)) { starArray[7][1] = true; } if (win && (clicks <= 3)) { starArray[7][2] = true; } } else if (level == 8) { if (win) { starArray[8][0] = true; } if (win && (timer < 20)) { starArray[8][1] = true; } if (win && (clicks <= 6)) { starArray[8][2] = true; } } else if (level == 9) { if (win) { starArray[9][0] = true; } if (win && (timer < 45)) { starArray[9][1] = true; } if (win && (clicks <= 10)) { starArray[9][2] = true; } } else if (level == 10) { if (win) { starArray[10][0] = true; } if (win && (timer < 60)) { starArray[10][1] = true; } if (win && (clicks <= 14)) { starArray[10][2] = true; } } else if (level == 11) { if (win) { starArray[11][0] = true; } if (win && (timer < 80)) { starArray[11][1] = true; } if (bubbles >= 250) { starArray[11][2] = true; } } else if (level > 11) { if (win) { starArray[level][2] = true; } } } function showStarC() { j = 1; while (j < 4) { if (starArray[level][j - 1]) { _root["s" + j].gotoAndStop(1); } else { _root["s" + j].gotoAndStop(2); } j++; } } function pauseGame() { if (Key.isDown(80)) { if (!pClick) { pClick = true; if (!pauseM) { pauseM = true; i = 1; while (i <= blocks) { _root["b" + i]._visible = false; i++; } correctPic._visible = false; pauseMc._visible = true; } else { correctPic._visible = true; pauseM = false; i = 1; while (i <= blocks) { _root["b" + i]._visible = true; i++; } pauseMc._visible = false; } } } else { pClick = false; } } desArray = new Array(new Array("Beat Level", "Check Star Description", "Destroy the Finished Block"), new Array("Beat Level", "Pause Game (Press 'P')", "Restart Level"), new Array("Beat Level", "Lock Puzzle Piece (CTRL +Click)", "Beat level in 1 Click"), new Array("Beat Level", "Pop 10 Bubbles", "Beat level in 5 or Less Clicks"), new Array("Beat Level", "Find the Hidden Happy Face", "Destroy the Bat on your 100th Click"), new Array("Beat Level", "Win in < 30 seconds (Top-Right Corner)", "Beat Level in 3 or Less Clicks"), new Array("Beat Level", "Play Pacman in the Pause Menu", "Pop 50 Bubbles"), new Array("Beat Level", "Win in < 18 seconds (Top-Right Corner)", "Win in 3 or Less Clicks"), new Array("Beat Level", "Win in < 20 seconds (Top-Right Corner)", "Win in 6 or Less Clicks"), new Array("Beat Level", "Win in < 45 seconds (Top-Right Corner)", "Win in 10 or Less Clicks"), new Array("Beat Level", "Win in < 60 seconds (Top-Right Corner)", "Win in 14 or less Clicks"), new Array("Beat Level", "Win in < 80 seconds (Top-Right Corner)", "Pop 250 Bubbles"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level"), new Array("", "", "Beat Level")); menuGo = false; setup(); _root.levelSetup(); setup2(); onMouseDown = function () { if (!mouse) { if (!pauseM) { if ((((_xmouse >= 0) && (_xmouse <= Stage.width)) && (_ymouse >= 0)) && (_ymouse <= Stage.height)) { if (!Key.isDown(17)) { clicks++; } } } } mouse = true; }; onMouseUp = function () { mouse = false; }; bubbles = 0; cleanWait = 0; startPlay = false; restart = false; pauseM = false; pClick = false; pauseMc._visible = false; timer = 0; onEnterFrame = function () { if (!win) { if (clicks >= 1) { if (timer < 0.5) { timer = 0.5; } timer = timer + 0.03333333; } } timerC = Math.floor(timer); bubbleC = bubbles; pauseGame(); checkStarOver(); checkStarC(); showStarC(); if (pauseM) { } else { if (menuGo) { level--; cleanUp(); win = false; cleanWait = 0; menuGo = false; _root.gotoAndStop("menu"); } if (restart) { level--; cleanUp(); setup(); levelSetup(); setup2(); win = false; cleanWait = 0; restart = false; } spawnCircles(); if (!win) { if (correctPic._alpha < 30) { correctPic._alpha = correctPic._alpha + 2; } if (_root["b" + blocks]._alpha < 100) { i = 1; while (i <= blocks) { _root["b" + i]._alpha = _root["b" + i]._alpha + 10; i++; } } else { startPlay = true; } if (startPlay) { if ((dir == 0) && (wait == 0)) { if (mouse) { if (selectBlock == 0) { if (!clicked) { clicked = true; i = 1; while (i <= blocks) { if (_root["b" + i].hitTest(_xmouse, _ymouse, true)) { if (!Key.isDown(17)) { selectBlock = i; xDiff = _root["b" + i]._x - _xmouse; yDiff = _root["b" + i]._y - _ymouse; } else { if (level == 2) { starArray[2][1] = true; } if (_root["b" + i].lock) { l = 0; while (l < groupBlocks[_root["b" + i].num2].length) { _root["b" + groupBlocks[_root["b" + i].num2][l]].b.gotoAndStop(_root["b" + groupBlocks[_root["b" + i].num2][l]].num2); _root["b" + groupBlocks[_root["b" + i].num2][l]].lock = false; l++; } } else { l = 0; while (l < groupBlocks[_root["b" + i].num2].length) { _root["b" + groupBlocks[_root["b" + i].num2][l]].b.gotoAndStop(100); _root["b" + groupBlocks[_root["b" + i].num2][l]].lock = true; l++; } } } } i++; } } } else if (lastTime == 0) { blocksCheck = new Array(); posMove = false; if (_ymouse < (_root["b" + selectBlock]._y - (blockH / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 0, -1); if (posMove) { dir = 3; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x][y - 1] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].y--; i++; } } } else if (_ymouse > ((_root["b" + selectBlock]._y + blockH) + (blockH / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 0, 1); if (posMove) { dir = 4; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x][y + 1] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].y++; i++; } } } if (!posMove) { blocksCheck = new Array(); if (_xmouse < (_root["b" + selectBlock]._x - (blockW / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, -1, 0); if (posMove) { dir = 1; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x - 1][y] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].x--; i++; } } } else if (_xmouse > ((_root["b" + selectBlock]._x + blockW) + (blockW / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 1, 0); if (posMove) { dir = 2; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x + 1][y] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].x++; i++; } } } } lastTime = 1; } else { blocksCheck = new Array(); posMove = false; if (_xmouse < (_root["b" + selectBlock]._x - (blockW / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, -1, 0); if (posMove) { dir = 1; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x - 1][y] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].x--; i++; } } } else if (_xmouse > ((_root["b" + selectBlock]._x + blockW) + (blockW / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 1, 0); if (posMove) { dir = 2; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x + 1][y] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].x++; i++; } } } if (!posMove) { blocksCheck = new Array(); if (_ymouse < (_root["b" + selectBlock]._y - (blockH / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 0, -1); if (posMove) { dir = 3; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x][y - 1] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].y--; i++; } } } else if (_ymouse > ((_root["b" + selectBlock]._y + blockH) + (blockH / 4))) { _root.posMove = true; blocksMove = new Array(); checkMove(selectBlock, _root["b" + selectBlock].x, _root["b" + selectBlock].y, 0, 1); if (posMove) { dir = 4; i = 0; while (i < blocksMove.length) { x = _root["b" + blocksMove[i]].x; y = _root["b" + blocksMove[i]].y; if (blockArray[x][y][0] == blocksMove[i]) { blockArray[x][y] = new Array(0, 0); } blockArray[x][y + 1] = new Array(blocksMove[i], _root["b" + blocksMove[i]].num2); _root["b" + blocksMove[i]].y++; i++; } } } } lastTime = 0; } } else { selectBlock = 0; clicked = false; } } else { if (dir == 1) { i = 0; while (i < blocksMove.length) { _root["b" + blocksMove[i]]._x = _root["b" + blocksMove[i]]._x - (blockW / moveT); i++; } } else if (dir == 2) { i = 0; while (i < blocksMove.length) { _root["b" + blocksMove[i]]._x = _root["b" + blocksMove[i]]._x + (blockW / moveT); i++; } } else if (dir == 3) { i = 0; while (i < blocksMove.length) { _root["b" + blocksMove[i]]._y = _root["b" + blocksMove[i]]._y - (blockH / moveT); i++; } } else if (dir == 4) { i = 0; while (i < blocksMove.length) { _root["b" + blocksMove[i]]._y = _root["b" + blocksMove[i]]._y + (blockH / moveT); i++; } } wait++; if (wait == moveT) { i = 0; while (i < blocksMove.length) { _root["b" + blocksMove[i]]._x = Math.floor((_root["b" + blocksMove[i]].x * blockW) + minX); _root["b" + blocksMove[i]]._y = Math.floor((_root["b" + blocksMove[i]].y * blockH) + minY); i++; } checkWin(); if (win) { check._visible = true; } wait = 0; wait = 10; dir = 0; } else if (wait >= 10) { wait = 0; } } } } else { if (cleanWait >= 1) { if (cleanWait == 1) { correctPic.clear(); i = 1; while (i <= blocks) { _root["b" + i].xspd = (Math.random() * 20) - 10; _root["b" + i].yspd = (Math.random() * -15) - 5; _root["b" + i].grav = 1; i++; } } cleanWait++; i = 1; while (i <= blocks) { _root["b" + i]._x = _root["b" + i]._x + _root["b" + i].xspd; _root["b" + i].yspd = _root["b" + i].yspd + _root["b" + i].grav; _root["b" + i]._y = _root["b" + i]._y + _root["b" + i].yspd; _root["b" + i]._alpha = _root["b" + i]._alpha - 2; i++; } if (_root["b" + blocks]._alpha <= 0) { if (_root.level < 23) { cleanUp(); setup(); levelSetup(); setup2(); win = false; cleanWait = 0; } else { _root.menuGo = true; } } } if (mouse) { if (!clicked) { i = 1; while (i <= blocks) { if (_root["b" + i].hitTest(_xmouse, _ymouse, true)) { cleanWait++; break; } i++; } } } else { clicked = false; } } clicksShow = "Clicks " + clicks; } };
Symbol 16 Button
on (press) { getURL ("http://www.armorgames.com/", _blank); }
Symbol 34 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 126
_root.nextFrame();
Symbol 56 MovieClip Frame 94
_root.nextFrame();
Symbol 63 Button
on (release) { _root.nextFrame(); } on (rollOver) { _root.bg.gotoAndStop(1); }
Symbol 69 Button
on (rollOver) { creds._visible = true; _root.bg.gotoAndStop(4); } on (rollOut) { creds._visible = false; }
Symbol 73 Button
on (rollOver) { _root.bg.gotoAndStop(8); } on (press) { getURL ("http://www.armorgames.com/", _blank); }
Symbol 89 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 144 Button
on (release) { trace("//--------------"); i = 0; while (i < 15) { j = 0; while (j < 18) { if (blockArray[i][j][0] >= 1) { trace(((((("blockArray[" + i) + "][") + j) + "] = new Array(1,") + _root.blockArray[i][j][1]) + ");"); } j++; } i++; } }
Instance of Symbol 152 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (load) { _visible = false; spd = 5; } onClipEvent (enterFrame) { if (_root.pauseM && (_root.level == 6)) { _parent.akeys._visible = true; _visible = true; i = 1; while (i < 13) { _parent["c" + i]._visible = true; i++; } if (Key.isDown(37)) { _rotation = 180; _x = (_x - spd); } else if (Key.isDown(39)) { _rotation = 0; _x = (_x + spd); } else if (Key.isDown(38)) { _rotation = -90; _y = (_y - spd); } else if (Key.isDown(40)) { _rotation = 90; _y = (_y + spd); } if (_x < (30 - _parent._x)) { _x = (30 - _parent._x); } if (_x > ((Stage.width - 30) - _parent._x)) { _x = ((Stage.width - 30) - _parent._x); } if (_y < (30 - _parent._y)) { _y = (30 - _parent._y); } if (_y > ((Stage.height - 100) - _parent._y)) { _y = ((Stage.height - 100) - _parent._y); } alpha = true; i = 1; while (i < 13) { if (_parent["c" + i]._alpha != 0) { alpha = false; } if (this.hitTest(_parent["c" + i])) { _parent["c" + i]._alpha = 0; } i++; } if (alpha) { _parent.c13._visible = true; } if (this.hitTest(_parent.c13)) { if (_parent.c13._visible) { _parent.c13._alpha = 0; _root.starArray[6][1] = true; } } } else { _parent.akeys._visible = false; i = 1; while (i < 14) { _root.pauseMc["c" + i]._visible = false; i++; } _visible = false; } }
Symbol 164 Button
on (release) { _root.restart = true; }
Symbol 172 Button
on (release) { _root.menuGo = true; }
Symbol 177 MovieClip Frame 1
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [circle]Uses:1
Symbol 3 GraphicUsed by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12 16
Symbol 12 MovieClipUses:11Used by:15 39
Symbol 13 GraphicUsed by:14 16
Symbol 14 MovieClipUses:13Used by:15 39
Symbol 15 MovieClipUses:12 14Used by:16
Symbol 16 ButtonUses:15 11 13Used by:Timeline
Symbol 17 GraphicUsed by:20 82
Symbol 18 FontUsed by:19 25 77 167
Symbol 19 TextUses:18Used by:20
Symbol 20 MovieClipUses:17 19Used by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:Timeline
Symbol 24 GraphicUsed by:Timeline
Symbol 25 TextUses:18Used by:26
Symbol 26 MovieClipUses:25Used by:Timeline
Symbol 27 FontUsed by:28 58 61 62 64 66 67 70 71 72 86 90 91 92 93 94 95 96 97 98 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 140 145 146 147 157 160 161 162 165 166 168 169 170 178
Symbol 28 TextUses:27Used by:Timeline
Symbol 29 GraphicUsed by:34
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34  Timeline
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:29 30 31 32 33Used by:Timeline
Symbol 35 GraphicUsed by:Timeline
Symbol 36 GraphicUsed by:39
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:12 36 37 38 14 SS1Used by:Timeline
Symbol 40 GraphicUsed by:Timeline
Symbol 41 GraphicUsed by:55
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:55
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:54
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:54
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:54
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:54
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:54
Symbol 54 MovieClipUses:45 47 49 51 53Used by:55
Symbol 55 MovieClipUses:41 43 54Used by:56
Symbol 56 MovieClipUses:55 SS2Used by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 TextUses:27Used by:63
Symbol 59 GraphicUsed by:63 69 73 89
Symbol 60 GraphicUsed by:63
Symbol 61 TextUses:27Used by:63
Symbol 62 TextUses:27Used by:63
Symbol 63 ButtonUses:58 59 60 61 62Used by:Timeline
Symbol 64 TextUses:27Used by:69
Symbol 65 GraphicUsed by:69 73
Symbol 66 TextUses:27Used by:69
Symbol 67 TextUses:27Used by:69
Symbol 68 GraphicUsed by:69
Symbol 69 ButtonUses:64 59 65 66 67 68Used by:Timeline
Symbol 70 TextUses:27Used by:73
Symbol 71 TextUses:27Used by:73
Symbol 72 TextUses:27Used by:73
Symbol 73 ButtonUses:70 59 65 71 72Used by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 GraphicUsed by:76 144
Symbol 76 MovieClipUses:75Used by:79
Symbol 77 TextUses:18Used by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:76 78Used by:Timeline
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:17 80 81Used by:Timeline
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83 SS3Used by:Timeline
Symbol 85 GraphicUsed by:Timeline
Symbol 86 TextUses:27Used by:Timeline
Symbol 87 GraphicUsed by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:59 88Used by:Timeline
Symbol 90 TextUses:27Used by:Timeline
Symbol 91 TextUses:27Used by:Timeline
Symbol 92 TextUses:27Used by:Timeline
Symbol 93 TextUses:27Used by:Timeline
Symbol 94 TextUses:27Used by:Timeline
Symbol 95 TextUses:27Used by:Timeline
Symbol 96 TextUses:27Used by:Timeline
Symbol 97 TextUses:27Used by:Timeline
Symbol 98 TextUses:27Used by:Timeline
Symbol 99 GraphicUsed by:101
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:99 100Used by:102  Timeline
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 TextUses:27Used by:Timeline
Symbol 104 TextUses:27Used by:Timeline
Symbol 105 TextUses:27Used by:Timeline
Symbol 106 TextUses:27Used by:Timeline
Symbol 107 TextUses:27Used by:Timeline
Symbol 108 TextUses:27Used by:Timeline
Symbol 109 TextUses:27Used by:Timeline
Symbol 110 TextUses:27Used by:Timeline
Symbol 111 TextUses:27Used by:Timeline
Symbol 112 TextUses:27Used by:Timeline
Symbol 113 TextUses:27Used by:Timeline
Symbol 114 TextUses:27Used by:Timeline
Symbol 115 TextUses:27Used by:Timeline
Symbol 116 TextUses:27Used by:Timeline
Symbol 117 TextUses:27Used by:Timeline
Symbol 118 TextUses:27Used by:Timeline
Symbol 119 GraphicUsed by:135
Symbol 120 GraphicUsed by:135
Symbol 121 GraphicUsed by:135
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:124
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClipUses:124Used by:135
Symbol 126 GraphicUsed by:135
Symbol 127 GraphicUsed by:135
Symbol 128 GraphicUsed by:135
Symbol 129 GraphicUsed by:135
Symbol 130 GraphicUsed by:135
Symbol 131 GraphicUsed by:135
Symbol 132 GraphicUsed by:135
Symbol 133 GraphicUsed by:135
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClipUses:119 120 121 125 126 127 128 129 130 131 132 133 134Used by:136
Symbol 136 MovieClipUses:135Used by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:Timeline
Symbol 139 GraphicUsed by:Timeline
Symbol 140 EditableTextUses:27Used by:Timeline
Symbol 141 GraphicUsed by:144
Symbol 142 GraphicUsed by:144
Symbol 143 GraphicUsed by:144
Symbol 144 ButtonUses:141 142 143 75Used by:Timeline
Symbol 145 EditableTextUses:27Used by:Timeline
Symbol 146 TextUses:27Used by:159
Symbol 147 TextUses:27Used by:159
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:159
Symbol 150 GraphicUsed by:152
Symbol 151 GraphicUsed by:152
Symbol 152 MovieClipUses:150 151Used by:159
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:153Used by:159
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:159
Symbol 157 TextUses:27Used by:158
Symbol 158 MovieClipUses:157Used by:159
Symbol 159 MovieClipUses:146 147 149 152 154 156 158Used by:Timeline
Symbol 160 TextUses:27Used by:164
Symbol 161 TextUses:27Used by:164
Symbol 162 TextUses:27Used by:164
Symbol 163 GraphicUsed by:164
Symbol 164 ButtonUses:160 161 162 163Used by:Timeline
Symbol 165 EditableTextUses:27Used by:Timeline
Symbol 166 EditableTextUses:27Used by:Timeline
Symbol 167 TextUses:18Used by:Timeline
Symbol 168 TextUses:27Used by:172
Symbol 169 TextUses:27Used by:172
Symbol 170 TextUses:27Used by:172
Symbol 171 GraphicUsed by:172
Symbol 172 ButtonUses:168 169 170 171Used by:Timeline
Symbol 173 GraphicUsed by:177
Symbol 174 GraphicUsed by:177
Symbol 175 GraphicUsed by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClipUses:173 174 175 176Used by:Timeline
Symbol 178 EditableTextUses:27Used by:Timeline
Streaming Sound 1Used by:Symbol 39 MovieClip
Streaming Sound 2Used by:Symbol 56 MovieClip
Streaming Sound 3Used by:Symbol 84 MovieClip

Instance Names

"ads"Frame 1Symbol 10 MovieClip
"play"Frame 1Symbol 21 MovieClip
"bar"Frame 1Symbol 23 MovieClip
"load"Frame 1Symbol 26 MovieClip
"bg"Frame 2Symbol 34 MovieClip
"creds"Frame 4Symbol 79 MovieClip
"song"Frame 4Symbol 84 MovieClip
"l3"Frame 5Symbol 89 MovieClip
"l4"Frame 5Symbol 89 MovieClip
"l1"Frame 5Symbol 89 MovieClip
"l2"Frame 5Symbol 89 MovieClip
"l7"Frame 5Symbol 89 MovieClip
"l8"Frame 5Symbol 89 MovieClip
"l5"Frame 5Symbol 89 MovieClip
"l6"Frame 5Symbol 89 MovieClip
"l9"Frame 5Symbol 89 MovieClip
"s1"Frame 5Symbol 102 MovieClip
"s2"Frame 5Symbol 102 MovieClip
"s3"Frame 5Symbol 102 MovieClip
"s4"Frame 5Symbol 102 MovieClip
"s7"Frame 5Symbol 102 MovieClip
"s8"Frame 5Symbol 102 MovieClip
"s5"Frame 5Symbol 102 MovieClip
"s6"Frame 5Symbol 102 MovieClip
"s9"Frame 5Symbol 102 MovieClip
"l12"Frame 5Symbol 89 MovieClip
"l10"Frame 5Symbol 89 MovieClip
"l11"Frame 5Symbol 89 MovieClip
"s10"Frame 5Symbol 102 MovieClip
"s11"Frame 5Symbol 102 MovieClip
"s12"Frame 5Symbol 102 MovieClip
"l25"Frame 5Symbol 89 MovieClip
"s25"Frame 5Symbol 101 MovieClip
"l15"Frame 5Symbol 89 MovieClip
"l16"Frame 5Symbol 89 MovieClip
"l13"Frame 5Symbol 89 MovieClip
"l14"Frame 5Symbol 89 MovieClip
"l19"Frame 5Symbol 89 MovieClip
"l20"Frame 5Symbol 89 MovieClip
"l17"Frame 5Symbol 89 MovieClip
"l18"Frame 5Symbol 89 MovieClip
"l21"Frame 5Symbol 89 MovieClip
"l24"Frame 5Symbol 89 MovieClip
"l22"Frame 5Symbol 89 MovieClip
"l23"Frame 5Symbol 89 MovieClip
"s24"Frame 5Symbol 101 MovieClip
"s23"Frame 5Symbol 101 MovieClip
"s22"Frame 5Symbol 101 MovieClip
"s21"Frame 5Symbol 101 MovieClip
"s20"Frame 5Symbol 101 MovieClip
"s19"Frame 5Symbol 101 MovieClip
"s18"Frame 5Symbol 101 MovieClip
"s17"Frame 5Symbol 101 MovieClip
"s16"Frame 5Symbol 101 MovieClip
"s15"Frame 5Symbol 101 MovieClip
"s14"Frame 5Symbol 101 MovieClip
"s13"Frame 5Symbol 101 MovieClip
"block"Frame 6Symbol 136 MovieClip
"check"Frame 6Symbol 138 MovieClip
"pauseMc"Frame 6Symbol 159 MovieClip
"des"Frame 6Symbol 177 MovieClip
"s1"Frame 6Symbol 101 MovieClip
"s2"Frame 6Symbol 101 MovieClip
"s3"Frame 6Symbol 101 MovieClip
"adBox"Symbol 10 MovieClip Frame 1Symbol 9 MovieClip
"s1"Symbol 102 MovieClip Frame 1Symbol 101 MovieClip
"s2"Symbol 102 MovieClip Frame 1Symbol 101 MovieClip
"s3"Symbol 102 MovieClip Frame 1Symbol 101 MovieClip
"b"Symbol 136 MovieClip Frame 1Symbol 135 MovieClip
"happy"Symbol 159 MovieClip Frame 1Symbol 149 MovieClip
"c8"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c7"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c6"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c5"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c9"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c10"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c11"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c12"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c13"Symbol 159 MovieClip Frame 1Symbol 156 MovieClip
"c1"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c2"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c4"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"c3"Symbol 159 MovieClip Frame 1Symbol 154 MovieClip
"akeys"Symbol 159 MovieClip Frame 1Symbol 158 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "circle"

Labels

"menu"Frame 5
"game"Frame 6

Dynamic Text Variables

levelWordsSymbol 140 EditableText"11 Space Invader 2"
clicksShowSymbol 145 EditableText"Clicks 1000"
bubbleCSymbol 165 EditableText"11 Space Invader 2"
timerCSymbol 166 EditableText"11 Space Invader 2"
desTextSymbol 178 EditableText"11 Space Invader 2"




http://swfchan.com/12/56936/info.shtml
Created: 18/4 -2019 19:23:08 Last modified: 18/4 -2019 19:23:08 Server time: 23/12 -2024 00:49:40