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

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

Prism light the way.swf

This is the info page for
Flash #48040

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


Text
Enter the 5 letter code below:

9999999999

XXXXXXXXXXXXXXX

Enter your name in the Hi-Score Table:

XXXXX

Submit

Submit

XXXXXXXXXXXXXXXXXXX

Back

Back

View Score

View Score

Could not store hi-score details. Click on back, generate a new security code and re-submit.

Quit

Continue

PAUSED

Help

TOGGLE
QUALITY

HIGH

MEDIUM

LOW

TOGGLE
SOUND

Options

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Bulboids: These friendly creatures from outer space light the way with their powerful beams. Place them carefully to help the Glowbos survive.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Glowbos: The peaceful Glowbos need light to survive and use it as their food. Make sure they are lit up by utilising the Bulboids.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Mirrors: These reflect the light at right angles.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">T-Junctions: T-Junctions are very useful as they split the light into two beams and so give the &nbsp;player more options.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Filter Blocks: These change the light beam to whatever colour the block is and as such are very useful to light up the coloured Glowbos.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Prisms: They split the light into three different beams of red, blue and yellow allowing the player to solve even the toughest of puzzles.</font></p>

<p align="left"><font face="Century Gothic_13pt_st" size="13" color="#ffffff" letterSpacing="1.000000" kerning="0">Cycloids: These creatures behave like filter blocks but they cycle throught different colours. Make sure you pay attention to the direction they are facing.</font></p>

Published by Eidos

Eidos, the Eidos logo and Prism: Light the
Way are trademarks of the SCI
Entertainment Group

Designed and developed by
Morpheme Game Studios

Copyright Morpheme Wireless Ltd. 2006

Programming by
Vadim Ledyaev (                                                )

Music and sound effects by
Richard Joseph

<p align="left"><font face="Century Gothic" size="16" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://gamedev.t-studio.de">http://gamedev.t-studio.de</a></font></p>

Back

<p align="center"><font face="Century Gothic" size="11" color="#ffffff" letterSpacing="1.000000" kerning="0">Visit <font color="#ccffff"><a href="http://www.prism-game.com" target = "_blank">www.prism-game.com</a></font> <sbr />to learn about playing the <sbr />game on other platforms</font></p>

You must play Timer mode first!

1

2

3

PUZZLE

TIMER

Click to Skip

Light is absorbed into BLACK HOLES...

Light beams
are filtered
to other dimensions
by GLOWBOS,
who use the
light as
FOOD!

CALAMITY!
The light is gone!
It is being ABSORBED
by  a greedy
SPACE
MONSTER!

The GLOWBOS are in DANGER! They need the light
to SURVIVE!

But...
What's
this?

A Shining
hope!
BULBOIDS
have
arrived to LIGHT the Way!

Level

1

Time

000

Submit Score

<p align="center"><font face="Century Gothic" size="24" color="#ffffff" letterSpacing="0.000000" kerning="0">Congratulations, you have finished</font></p><p align="center"><font face="Century Gothic" size="24" color="#ffffff" letterSpacing="0.000000" kerning="0">Prism - Light the Way.</font></p><p align="center"></p><p align="center"><font face="Century Gothic" size="24" color="#ffffff" letterSpacing="0.000000" kerning="0">Try Timer mode, or visit </font></p><p align="center"><font face="Century Gothic" size="24" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="www.prism-game.com" target = "_blank">www.prism-</a><a href="http://www.prism-game.com" target = "_blank">game.co</a><a href="www.prism-game.com" target = "_blank">m</a> to learn about <sbr />playing the game on other platforms</font></p>

Click
to skip

Need a
Hint?

Options
and Help

Return to puzzle select

Your score:

You lose!

You lose!

Shine the light from the Bulboid
to light up the white Glowbo.

The aim of Prism is to shine the Glowbos. Drag the
Bulboid so that light shines into the Glowbo.

Mirrors reflect the light. Move the mirror and Bulboid so that
light is reflected into the Glowbo.

Splitters divide the light into two beams. Move the splitter
and the Bulboid so that light shines into both Glowbos.

Filter Blocks change white light into coloured light. Use the
Filter so that the light colour matches the Glowbo.

Prisms split white light into three colours. Use the Prism to get the correct colours of light into the Glowbos.

Cycloids change any light to their current colour, and fire light out in the direction they are facing. Use the Bulboid and Cycloid to light up the Glowbo.

ActionScript [AS1/AS2]

Frame 1
attachMovie("stars", "stars", getNextHighestDepth()); MochiAd.showPreGameAd({id:"d785476f458d0d78", res:"640x480", background:0, color:9082814, outline:7434094, no_bg:false});
Frame 2
stop(); t = 0; onEnterFrame = function () { t++; if (t > 70) { nextFrame(); onEnterFrame = function () { }; } };
Instance of Symbol 110 MovieClip [g5_splash] in Frame 2
onClipEvent (load) { swapDepths(_parent.getNextHighestDepth()); }
Frame 3
_global.picasofinished = function () { nextFrame(); };
Frame 4
stop(); var so = SharedObject.getLocal("Prism"); bgsound = new Sound(); bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { bgsound.start(0, 1000); }
Instance of Symbol 351 MovieClip "intr" in Frame 4
onClipEvent (load) { var t = 0; } onClipEvent (enterFrame) { t++; if (t > 15) { t = 0; swapDepths(_parent.getNextHighestDepth()); _parent.g5link.swapDepths(_parent.getNextHighestDepth() + 1); } }
Instance of Symbol 393 MovieClip "g5link" in Frame 4
onClipEvent (load) { stop(); _alpha = 0; onEnterFrame = function () { _alpha = (_alpha + ((100 - _alpha) / 20)); }; } on (rollOver) { gotoAndPlay (2); } on (rollOut, dragOut) { gotoAndStop (1); } on (release) { getURL ("http://www.gimme5games.com/", "_blank"); }
Frame 5
function startPlaying() { removeMovieClip(mainMenu); nextFrame(); } stop(); removeMovieClip(intr); for (i in so.data) { trace((("cookie " + i) + "=") + so.data[i]); } if (so.data.q == undefined) { so.data.q = new String(); so.data.q = "HIGH"; so.flush(); } _quality = so.data.q; if (so.data.playedTimerMode == undefined) { so.data.playedTimerMode = new Boolean(); so.data.playedTimerMode = false; so.flush(); } if (so.data.soundMuted == undefined) { so.data.soundMuted = new Boolean(); so.data.soundMuted = false; so.flush(); } if (so.data.puzzleLevel == undefined) { so.data.puzzleLevel = new Number(); so.data.puzzleLevel = 0; so.flush(); } so.data.transmitterHelpShown = undefined; if (so.data.transmitterHelpShown == undefined) { so.data.transmitterHelpShown = new Boolean(); so.data.transmitterHelpShown = false; so.data.mirrorHelpShown = new Boolean(); so.data.mirrorHelpShown = false; so.data.splitterHelpShown = new Boolean(); so.data.splitterHelpShown = false; so.data.prismHelpShown = new Boolean(); so.data.prismHelpShown = false; so.data.filterHelpShown = new Boolean(); so.data.filterHelpShown = false; so.data.cycloidHelpShown = new Boolean(); so.data.cycloidHelpShown = false; so.flush(); } if (so.data.level0passed == undefined) { i = 0; while (i < 33) { so.data[("level" + i) + "passed"] = new Boolean(); so.data[("level" + i) + "passed"] = false; i++; } } onMouseDown = (checkWin = (refreshCycloids = (onEnterFrame = null))); if (puzzleNextLevel) { trace("\u041F\u041E\u041A\u0410\u0417\u042B\u0412\u0410\u0415\u041C \u041C\u0415\u041D\u042E \u0423\u0420\u041E\u0412\u041D\u0415\u0419"); puzzleNextLevel = false; if (mainMenu) { removeMovieClip(mainMenu); } attachMovie("mainMenu", "mainMenu", getNextHighestDepth()); mainMenu.gotoAndStop(20); mainMenu.puzzleNextLevel = true; } else { attachMovie("mainMenu", "mainMenu", getNextHighestDepth()); } ad.swapDepths(getNextHighestDepth()); if (!_root.so.data.soundMuted) { ms = new Sound(); ms.attachSound("menu"); ms.start(); }
Frame 6
function createGameField(w, h) { game = new Array(); winlevel = new Array(); i = 0; while (i < w) { game[i] = new Array(h); winlevel[i] = new Array(h); j = 0; while (j < h) { game[i][j] = new Object(); winlevel[i][j] = new Object(); game[i][j].wall = true; winlevel[i][j].wall = true; j++; } i++; } } function highLightField() { lights.filters = [new flash.filters.BlurFilter(30, 30, 2)]; BGLights = new Array(); i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (!game[i][j].wall) { if ((((game[i - 1][j].wall || (game[i][j - 1].wall)) || (game[i - 1][j - 1].wall)) || (j == 0)) || (i == 0)) { addBGLight(i, j); } if ((((game[i + 1][j].wall || (game[i][j - 1].wall)) || (game[i + 1][j - 1].wall)) || (j == 0)) || (i == (game.length - 1))) { addBGLight(i + 1, j); } if ((((game[i - 1][j].wall || (game[i][j + 1].wall)) || (game[i - 1][j + 1].wall)) || (j == (game[0].length - 1))) || (i == 0)) { addBGLight(i, j + 1); } if ((((game[i + 1][j].wall || (game[i][j + 1].wall)) || (game[i + 1][j + 1].wall)) || (j == (game[0].length - 1))) || (i == (game.length - 1))) { addBGLight(i + 1, j + 1); } } j++; } i++; } createGlowLight(BGLights); } function addBGLight(x, y) { bgllength = BGLights.length; if (!bgllength) { bgllength = 1; } alreadyAdded = false; v = 0; while (v < bgllength) { if ((BGLights[v].x == x) && (BGLights[v].y == y)) { alreadyAdded = true; } v++; } if (!alreadyAdded) { BGLights.push(new flash.geom.Point(x, y)); } } function clearGlowLightFiled() { i = 0; while (i < lights.getNextHighestDepth()) { removeMovieClip(lights["glowingLight" + i]); i++; } } function createGlowLight(BGLights) { clearGlowLightField(); with (lights) { i = 0; while (i < BGLights.length) { z = getNextHighestDepth(); attachMovie("glowingLight", "glowingLight" + z, z); lights["glowingLight" + z]._x = (BGLights[i].x * 40) + 40; lights["glowingLight" + z]._y = (BGLights[i].y * 40) + 40; lights["glowingLight" + z]._alpha = -random(30); lights["glowingLight" + z].ls = (random(30) / 5) + 3; lights["glowingLight" + z].onEnterFrame = function () { with (this) { if (_alpha < 100) { _alpha = _alpha + ls; } else { onEnterFrame = null; } } }; i++; } } } function placeTiles() { tiles._alpha = 70; i = 0; while (i < floor.getNextHighestDepth()) { removeMovieClip(floor["floorLight" + i]); i++; } tiles.filters = [new flash.filters.GlowFilter(bgColor, 1, 30, 30, 1, 2, false, false)]; floor.filters = [new flash.filters.BlurFilter(4, 4, 1)]; effects.filters = [new flash.filters.GlowFilter(bgColor, 1, 10, 10, 10, 2, false, false)]; new Color(floor).setRGB(bgColor); i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (!game[i][j].wall) { z = tiles.getNextHighestDepth(); tiles.attachMovie("tile", "tile" + z, z); tiles["tile" + z]._x = 60 + (i * 40); tiles["tile" + z]._y = 60 + (j * 40); z = floor.getNextHighestDepth(); floor.attachMovie("floorLight", "floorLight" + z, z); floor["floorLight" + z]._x = 60 + (i * 40); floor["floorLight" + z]._y = 60 + (j * 40); if (!rotatingTiles) { floor["floorLight" + z].stop(); } else { floor["floorLight" + z].onEnterFrame = function () { this._rotation = this._rotation + 2; }; } } j++; } i++; } i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if ((((game[i][j].wall == false) && (game[i + 1][j].wall == false)) && (game[i][j - 1].wall)) && (game[i + 1][j - 1].wall)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 40 + (j * 40); tiles["miniTile2" + z]._rotation = 180; } if ((((game[i][j].wall == false) && (game[i + 1][j].wall == false)) && (game[i][j + 1].wall)) && (game[i + 1][j + 1].wall)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); } if ((((game[i][j].wall == false) && (game[i][j + 1].wall == false)) && (game[i - 1][j].wall)) && (game[i - 1][j + 1].wall)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 40 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); tiles["miniTile2" + z]._rotation = 90; } if ((((game[i][j].wall == false) && (game[i][j + 1].wall == false)) && (game[i + 1][j].wall)) && (game[i + 1][j + 1].wall)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); tiles["miniTile2" + z]._rotation = 270; } if ((((game[i][j].wall == false) && (game[i + 1][j].wall == false)) && (game[i][j + 1].wall == false)) && (game[i + 1][j + 1].wall == true)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile1", "miniTile1" + z, z); tiles["miniTile1" + z]._x = 80 + (i * 40); tiles["miniTile1" + z]._y = 80 + (j * 40); } if ((((game[i][j].wall == true) && (game[i + 1][j].wall == false)) && (game[i][j + 1].wall == false)) && (game[i + 1][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile1", "miniTile1" + z, z); tiles["miniTile1" + z]._x = 80 + (i * 40); tiles["miniTile1" + z]._y = 80 + (j * 40); } if ((((game[i][j].wall == false) && (game[i + 1][j].wall == false)) && (game[i][j + 1].wall == true)) && (game[i + 1][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile1", "miniTile1" + z, z); tiles["miniTile1" + z]._x = 80 + (i * 40); tiles["miniTile1" + z]._y = 80 + (j * 40); } if ((((game[i][j].wall == false) && (game[i + 1][j].wall == true)) && (game[i][j + 1].wall == false)) && (game[i + 1][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile1", "miniTile1" + z, z); tiles["miniTile1" + z]._x = 80 + (i * 40); tiles["miniTile1" + z]._y = 80 + (j * 40); } if ((((game[i][j].wall == false) && (game[i + 1][j].wall == false)) && (game[i][j + 1].wall == false)) && (game[i + 1][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile1", "miniTile1" + z, z); tiles["miniTile1" + z]._x = 80 + (i * 40); tiles["miniTile1" + z]._y = 80 + (j * 40); } if (((i == 0) && (game[i][j].wall == false)) && (game[i][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 40 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); tiles["miniTile2" + z]._rotation = 90; } if (((i == (game.length - 1)) && (game[i][j].wall == false)) && (game[i][j + 1].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); tiles["miniTile2" + z]._rotation = 270; } if (((j == 0) && (game[i][j].wall == false)) && (game[i + 1][j].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 40 + (j * 40); tiles["miniTile2" + z]._rotation = 180; } if (((j == (game[i].length - 1)) && (game[i][j].wall == false)) && (game[i + 1][j].wall == false)) { z = tiles.getNextHighestDepth(); tiles.attachMovie("miniTile2", "miniTile2" + z, z); tiles["miniTile2" + z]._x = 80 + (i * 40); tiles["miniTile2" + z]._y = 80 + (j * 40); } j++; } i++; } } function addSpark(x, y, c) { var _local3 = effects.getNextHighestDepth(); effects.createEmptyMovieClip((("sparking" + x) + "_") + y, _local3); effects[(("sparking" + x) + "_") + y]._x = (x * 40) + 60; effects[(("sparking" + x) + "_") + y]._y = (y * 40) + 60; effects[(("sparking" + x) + "_") + y]._rotation = random(360); sparksColor = new Color(effects[(("sparking" + x) + "_") + y]); effects[(("sparking" + x) + "_") + y].attachMovie("spark", "spark", 0); } function removeSparks() { i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (effects[(("sparking" + i) + "_") + j]) { if (personages[(("receiver" + i) + "_") + j].sprite._currentframe != 2) { removeMovieClip(effects[(("sparking" + i) + "_") + j]); } } j++; } i++; } } function startTracing() { raysBlendMode = "add"; raysBlendMode2 = "add"; colors = new Array("0xFFFFFF", "0x0077FF", "0xFF0000", "0xFFFF00"); rays.blendMode = raysBlendMode; rays.filters = [new flash.filters.BlurFilter(15, 15, 2)]; var _local2 = new Array(); var _local7 = new Array(); i = 0; while (i < rays.getNextHighestDepth()) { if (rays["ray" + i]) { removeMovieClip(rays["ray" + i]); } i++; } i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { game[i][j].hlight = false; game[i][j].vlight = false; if (game[i][j].objtype == "transmitter") { trace((((("transmitter found x=" + i) + ", y=") + j) + ", d=") + game[i][j].direction); _local2.push({x:i, y:j, d:game[i][j].direction, c:game[i][j].color}); } if (game[i][j].objtype == "receiver") { personages[(("receiver" + i) + "_") + j].sprite.gotoAndStop(1); personages[(("receiver" + i) + "_") + j].receivedLights = new Array(); } if (game[i][j].objtype == "prism") { personages[(("prism" + i) + "_") + j].receivedLights = new Array(4); } if (game[i][j].objtype == "splitter") { personages[(("splitter" + i) + "_") + j].gotoAndStop(1); } if (game[i][j].objtype == "cycloid") { personages[(("cycloid" + i) + "_") + j].emitting = false; } j++; } i++; } trace(_local2.length + " ray(s) total"); while (_local2.length) { foton = _local2.shift(); dx = (1 - foton.d) * (1 - (foton.d % 2)); dy = (2 - foton.d) * (foton.d % 2); nextX = foton.x + dx; nextY = foton.y + dy; if ((((((((foton.x + dx) > -1) && ((foton.y + dy) > -1)) && (((foton.x * dx) < 9) && ((foton.y * dy) < 9))) && (!game[nextX][nextY].wall)) && ((!game[nextX][nextY].objtype) || (game[nextX][nextY].objtype == "filter"))) && (!(game[nextX][nextY].hlight && (foton.d % 2)))) && (!(game[nextX][nextY].vlight && (!(foton.d % 2))))) { trace(((((((((("lightin from " + foton.x) + ":") + foton.y) + " to ") + nextX) + ":") + nextY) + " (") + colors[foton.c]) + " color)"); if ((game[nextX][nextY].objtype == "filter") && (!foton.c)) { _local2.push({x:nextX, y:nextY, d:foton.d, c:game[nextX][nextY].color}); } else if (game[nextX][nextY].objtype != "filter") { _local2.push({x:nextX, y:nextY, d:foton.d, c:foton.c}); } if (foton.d % 2) { game[nextX][nextY].hlight = true; } else { game[nextX][nextY].vlight = true; } z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].blendMode = raysBlendMode2; rays["ray" + z].lineStyle(32, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo((nextX * 40) + 60, (nextY * 40) + 60); } else { if (((game[nextX][nextY].wall || (!(((foton.x * dx) < 9) && ((foton.y * dy) < 9)))) || (!((foton.x * dx) || (foton.y * dy)))) || (game[nextX][nextY].objtype == "mirror")) { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(32, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (15 * dx)) + 60, ((foton.y * 40) + (15 * dy)) + 60); } if ((game[nextX][nextY].hlight && (foton.d % 2)) || (game[nextX][nextY].vlight && ((!foton.d) % 2))) { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(32, colors[foton.c], 50); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (15 * dx)) + 60, ((foton.y * 40) + (15 * dy)) + 60); } if (game[nextX][nextY].objtype == "mirror") { if (!game[nextX][nextY].direction) { if (foton.d == 0) { _local2.push({x:nextX, y:nextY, d:3, c:foton.c}); } if (foton.d == 1) { _local2.push({x:nextX, y:nextY, d:2, c:foton.c}); } if (foton.d == 2) { _local2.push({x:nextX, y:nextY, d:1, c:foton.c}); } if (foton.d == 3) { _local2.push({x:nextX, y:nextY, d:0, c:foton.c}); } } if (game[nextX][nextY].direction == 1) { if (foton.d == 0) { _local2.push({x:nextX, y:nextY, d:1, c:foton.c}); } if (foton.d == 1) { _local2.push({x:nextX, y:nextY, d:0, c:foton.c}); } if (foton.d == 2) { _local2.push({x:nextX, y:nextY, d:3, c:foton.c}); } if (foton.d == 3) { _local2.push({x:nextX, y:nextY, d:2, c:foton.c}); } } } if (game[nextX][nextY].objtype == "splitter") { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(32, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (15 * dx)) + 60, ((foton.y * 40) + (15 * dy)) + 60); if (!game[nextX][nextY].direction) { if (foton.d == 2) { personages[(("splitter" + nextX) + "_") + nextY].gotoAndStop(2); _local2.push({x:nextX, y:nextY, d:3, c:foton.c}); _local2.push({x:nextX, y:nextY, d:1, c:foton.c}); } } if (game[nextX][nextY].direction == 1) { if (foton.d == 3) { personages[(("splitter" + nextX) + "_") + nextY].gotoAndStop(2); _local2.push({x:nextX, y:nextY, d:0, c:foton.c}); _local2.push({x:nextX, y:nextY, d:2, c:foton.c}); } } if (game[nextX][nextY].direction == 2) { if (foton.d == 0) { personages[(("splitter" + nextX) + "_") + nextY].gotoAndStop(2); _local2.push({x:nextX, y:nextY, d:3, c:foton.c}); _local2.push({x:nextX, y:nextY, d:1, c:foton.c}); } } if (game[nextX][nextY].direction == 3) { if (foton.d == 1) { personages[(("splitter" + nextX) + "_") + nextY].gotoAndStop(2); _local2.push({x:nextX, y:nextY, d:0, c:foton.c}); _local2.push({x:nextX, y:nextY, d:2, c:foton.c}); } } } if (game[nextX][nextY].objtype == "prism") { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(24, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (40 * dx)) + 60, ((foton.y * 40) + (40 * dy)) + 60); if (((game[nextX][nextY].direction == 0) && (foton.d == 2)) && (foton.c == 0)) { _local2.push({x:nextX, y:nextY, d:1, c:1}); _local2.push({x:nextX, y:nextY, d:2, c:2}); _local2.push({x:nextX, y:nextY, d:3, c:3}); } if (((game[nextX][nextY].direction == 1) && (foton.d == 3)) && (foton.c == 0)) { _local2.push({x:nextX, y:nextY, d:0, c:3}); _local2.push({x:nextX, y:nextY, d:2, c:1}); _local2.push({x:nextX, y:nextY, d:3, c:2}); } if (((game[nextX][nextY].direction == 2) && (foton.d == 0)) && (foton.c == 0)) { _local2.push({x:nextX, y:nextY, d:0, c:2}); _local2.push({x:nextX, y:nextY, d:1, c:3}); _local2.push({x:nextX, y:nextY, d:3, c:1}); } if (((game[nextX][nextY].direction == 3) && (foton.d == 1)) && (foton.c == 0)) { _local2.push({x:nextX, y:nextY, d:0, c:1}); _local2.push({x:nextX, y:nextY, d:1, c:2}); _local2.push({x:nextX, y:nextY, d:2, c:3}); } if (foton.c != 0) { personages[(("prism" + nextX) + "_") + nextY].receivedLights[foton.d] = foton.c; } if ((personages[(("prism" + nextX) + "_") + nextY].receivedLights.toString() == "2,3,undefined,1") && (game[nextX][nextY].direction == 0)) { _local2.push({x:nextX, y:nextY, d:0, c:0}); } if ((personages[(("prism" + nextX) + "_") + nextY].receivedLights.toString() == "1,2,3,undefined") && (game[nextX][nextY].direction == 1)) { _local2.push({x:nextX, y:nextY, d:1, c:0}); } if ((personages[(("prism" + nextX) + "_") + nextY].receivedLights.toString() == "undefined,1,2,3") && (game[nextX][nextY].direction == 2)) { _local2.push({x:nextX, y:nextY, d:2, c:0}); } if ((personages[(("prism" + nextX) + "_") + nextY].receivedLights.toString() == "3,undefined,1,2") && (game[nextX][nextY].direction == 3)) { _local2.push({x:nextX, y:nextY, d:3, c:0}); } } if (game[nextX][nextY].objtype == "receiver") { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(24, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (30 * dx)) + 60, ((foton.y * 40) + (30 * dy)) + 60); rays["ray" + z].lineStyle(46, colors[foton.c]); rays["ray" + z].lineTo(((foton.x * 40) + (45 * dx)) + 60, ((foton.y * 40) + (45 * dy)) + 60); personages[(("receiver" + nextX) + "_") + nextY].receivedLights.push(foton.c); happyBlowbo = true; t = 0; while (t < personages[(("receiver" + nextX) + "_") + nextY].receivedLights.length) { if (personages[(("receiver" + nextX) + "_") + nextY].receivedLights[t] != game[nextX][nextY].color) { happyBlowbo = false; } t++; } if (personages[(("receiver" + nextX) + "_") + nextY].receivedLights.length == 0) { happyBlowbo = false; } if (happyBlowbo) { if (smthwasdragged) { s = new Sound(); s.attachSound("lightedglowbo"); if (!_root.so.data.soundMuted) { s.start(); } } personages[(("receiver" + nextX) + "_") + nextY].sprite.gotoAndStop(2); addSpark(nextX, nextY, game[nextX][nextY].color); } else { personages[(("receiver" + nextX) + "_") + nextY].sprite.gotoAndStop(3); } } if (game[nextX][nextY].objtype == "cycloid") { z = rays.getNextHighestDepth(); rays.createEmptyMovieClip("ray" + z, z); rays["ray" + z].lineStyle(24, colors[foton.c]); rays["ray" + z].moveTo((foton.x * 40) + 60, (foton.y * 40) + 60); rays["ray" + z].lineTo(((foton.x * 40) + (30 * dx)) + 60, ((foton.y * 40) + (30 * dy)) + 60); if (!personages[(("cycloid" + nextX) + "_") + nextY].emitting) { if (game[nextX][nextY].direction == 0) { if (foton.d != 2) { personages[(("cycloid" + nextX) + "_") + nextY].emitting = true; _local2.push({x:nextX, y:nextY, d:0, c:personages[(("cycloid" + nextX) + "_") + nextY]._currentframe}); } } } if (!personages[(("cycloid" + nextX) + "_") + nextY].emitting) { if (game[nextX][nextY].direction == 1) { if (foton.d != 3) { personages[(("cycloid" + nextX) + "_") + nextY].emitting = true; _local2.push({x:nextX, y:nextY, d:1, c:personages[(("cycloid" + nextX) + "_") + nextY]._currentframe}); } } } if (!personages[(("cycloid" + nextX) + "_") + nextY].emitting) { if (game[nextX][nextY].direction == 2) { if (foton.d != 0) { personages[(("cycloid" + nextX) + "_") + nextY].emitting = true; _local2.push({x:nextX, y:nextY, d:2, c:personages[(("cycloid" + nextX) + "_") + nextY]._currentframe}); } } } if (!personages[(("cycloid" + nextX) + "_") + nextY].emitting) { if (game[nextX][nextY].direction == 3) { if (foton.d != 1) { personages[(("cycloid" + nextX) + "_") + nextY].emitting = true; _local2.push({x:nextX, y:nextY, d:3, c:personages[(("cycloid" + nextX) + "_") + nextY]._currentframe}); } } } } } } smthwasdragged = false; } function placeObjects() { i = 0; while (i < personages.getNextHighestDepth()) { removeMovieClip(personages.getInstanceAtDepth(i)); i++; } i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (game[i][j].objtype) { if (game[i][j].objtype == "cycloid") { z = personages.getNextHighestDepth(); personages.attachMovie("cycloid", (("cycloid" + i) + "_") + j, z); personages[(("cycloid" + i) + "_") + j]._x = 60 + (i * 40); personages[(("cycloid" + i) + "_") + j]._y = 60 + (j * 40); personages[(("cycloid" + i) + "_") + j]._rotation = 90 * game[i][j].direction; personages[(("cycloid" + i) + "_") + j].gotoAndStop(game[i][j].color); trace("CYCLOID FRAME#" + game[i][j].color); } if (game[i][j].objtype == "transmitter") { z = personages.getNextHighestDepth(); personages.attachMovie("transmitter", (("transmitter" + i) + "_") + j, z); personages[(("transmitter" + i) + "_") + j]._x = 60 + (i * 40); personages[(("transmitter" + i) + "_") + j]._y = 60 + (j * 40); personages[(("transmitter" + i) + "_") + j]._rotation = 90 * game[i][j].direction; } if (game[i][j].objtype == "receiver") { z = personages.getNextHighestDepth(); personages.attachMovie("receiver", (("receiver" + i) + "_") + j, z); personages[(("receiver" + i) + "_") + j]._x = 60 + (i * 40); personages[(("receiver" + i) + "_") + j]._y = 60 + (j * 40); personages[(("receiver" + i) + "_") + j].gotoAndStop(game[i][j].color + 1); } if (game[i][j].objtype == "mirror") { z = personages.getNextHighestDepth(); personages.attachMovie("mirror", (("mirror" + i) + "_") + j, z); personages[(("mirror" + i) + "_") + j]._x = 60 + (i * 40); personages[(("mirror" + i) + "_") + j]._y = 60 + (j * 40); personages[(("mirror" + i) + "_") + j]._rotation = 90 * game[i][j].direction; } if (game[i][j].objtype == "filter") { z = personages.getNextHighestDepth(); personages.attachMovie("filter", (("filter" + i) + "_") + j, z); personages[(("filter" + i) + "_") + j]._x = 60 + (i * 40); personages[(("filter" + i) + "_") + j]._y = 60 + (j * 40); personages[(("filter" + i) + "_") + j].gotoAndStop(game[i][j].color + 1); } if (game[i][j].objtype == "splitter") { z = personages.getNextHighestDepth(); personages.attachMovie("splitter", (("splitter" + i) + "_") + j, z); personages[(("splitter" + i) + "_") + j]._x = 60 + (i * 40); personages[(("splitter" + i) + "_") + j]._y = 60 + (j * 40); personages[(("splitter" + i) + "_") + j]._rotation = 90 * game[i][j].direction; } if (game[i][j].objtype == "prism") { z = personages.getNextHighestDepth(); personages.attachMovie("prism", (("prism" + i) + "_") + j, z); personages[(("prism" + i) + "_") + j]._x = 60 + (i * 40); personages[(("prism" + i) + "_") + j]._y = 60 + (j * 40); personages[(("prism" + i) + "_") + j]._rotation = 90 * game[i][j].direction; } } j++; } i++; } } function checkWin(mod) { win = true; if (levelPassed) { win = false; } i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (personages[(("receiver" + i) + "_") + j]) { if (personages[(("receiver" + i) + "_") + j].sprite._currentframe != 2) { win = false; } } j++; } i++; } if (mod && (win)) { return(true); } if (mod && (!win)) { return(false); } if (win && (!mod)) { trace("You\"ve beat this level!"); levelSound = new Sound(); levelSound.attachSound("levelpassed" + (random(2) + 1)); levelSound2 = new Sound(); levelSound2.attachSound("nextlevel2"); if (!_root.so.data.soundMuted) { levelSound.start(); levelSound2.start(); } avatar.gotoAndStop(2); draggin = undefined; levelPassed = true; youwin._visible = true; youwin.gotoAndStop(1); winSound = new Sound(); winSound.attachSound("happy" + (random(2) + 1)); if (!_root.so.data.soundMuted) { winSound.start(); } i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (personages[(("receiver" + i) + "_") + j]) { z = effects.getNextHighestDepth(); effects.attachMovie("glow", "glow" + z, z); effects["glow" + z]._x = 60 + (i * 40); effects["glow" + z]._y = 60 + (j * 40); } j++; } i++; } } } function refreshCycloids() { if ((((!lose) && (!levelPassed)) && (!(splashx._currentframe - 1))) && (!wholeGameWinned)) { i = 0; while (i < game.length) { j = 0; while (j < game[i].length) { if (game[i][j].objtype == "cycloid") { if (personages[(("cycloid" + i) + "_") + j]._currentframe != 3) { personages[(("cycloid" + i) + "_") + j].nextFrame(); } else { personages[(("cycloid" + i) + "_") + j].gotoAndStop(1); } } j++; } i++; } startTracing(); removeSparks(); checkWin(); } if (((playTime > 0) && (!win)) && (!gameMenu)) { playTime--; } antenn.timer.time = playTime; if (playMode == "timer") { if (playTime < 10) { if (!lose) { worrySound = new Sound(); worrySound.attachSound("worried" + (random(2) + 1)); if (!_root.so.data.soundMuted) { worrySound.start(); } } if (!_root.antenn.rg._visible) { avatar.gotoAndStop(3); _root.antenn.rg.t = 0; _root.antenn.rg._visible = true; } } else { _root.antenn.rg._visible = false; } } if (((playTime < 1) && (!lose)) && (playMode == "timer")) { helptool.hidehint(); avatar.gotoAndStop(4); loseSound = new Sound(); loseSound.attachSound("angry" + (random(2) + 1)); if (!_root.so.data.soundMuted) { loseSound.start(); } game = winlevel; i = 0; while (i < effects.getNextHighestDepth()) { removeMovieClip(effects["glow" + i]); i++; } i = 0; while (i < lights.getNextHighestDepth()) { removeMovieClip(lights["light" + i]); i++; } clearGlowLightFiled(); z = tiles.getNextHighestDepth(); i = 0; while (i < z) { removeMovieClip(tiles["tile" + i]); removeMovieClip(tiles["miniTile1" + i]); removeMovieClip(tiles["miniTile2" + i]); i++; } placeObjects(); highLightField(); placeTiles(); startTracing(); removeSparks(); lose = true; youLose._visible = true; youLose.swapDepths(getNextHighestDepth()); youLose.tscore = 0; youLose.score = (lev2 * 1000) + random(999); g5link.swapDepths(getNextHighestDepth() + 1); cursor2.swapDepths(getNextHighestDepth() + 2); } setTimeout(refreshCycloids, 1000); } function nextLevel() { helptool.hidehint(); avatar.gotoAndStop(1); hb._visible = true; showAd(); if (playMode == "puzzle") { _root.so.data[("level" + lev) + "passed"] = true; _root.so.flush(); lev++; _root.levelPassed = false; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { _root.bgsound.start(0, 1000); } _root.gotoAndStop(5); _root.gameMenu = false; removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); gotoAndStop (5); backButtonActive = true; puzzleNextLevel = true; } else { if (!so.data.playedTimerMode) { so.data.playedTimerMode = true; so.flush(); } lev2++; } i = 0; while (i < effects.getNextHighestDepth()) { removeMovieClip(effects["glow" + i]); i++; } i = 0; while (i < lights.getNextHighestDepth()) { removeMovieClip(lights["light" + i]); i++; } clearGlowLightFiled(); z = tiles.getNextHighestDepth(); i = 0; while (i < z) { removeMovieClip(tiles["tile" + i]); removeMovieClip(tiles["miniTile1" + i]); removeMovieClip(tiles["miniTile2" + i]); i++; } if (lev < totalLevels) { if (playMode == "puzzle") { if (adTimer < 192) { showAd(); } antenn.currentlevel = lev + 1; _root.levelPassed = false; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { _root.bgsound.start(0, 1000); } _root.gameMenu = false; removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); _root.gameMenu.puzzleNextLevel = true; _root.gotoAndStop(5); } else { antenn.currentlevel = lev2 + 1; trace("\u0413\u0415\u041D\u0415\u0420\u0418\u0420\u0423\u0415\u041C \u0423\u0420\u041E\u0412\u0415\u041D\u042C " + lev2); if (lev2 < 5) { playTime = playTime + ((7 - lev2) + Math.round(lev2 * 1.2)); } else { playTime = playTime + Math.round(lev2 / 1.2); } if (showAd()) { playTime = playTime + 10; } game = LevelGenerator.generateLevel(lev2); while (!game) { game = LevelGenerator.generateLevel(lev2); } } youwin._visible = false; placeObjects(); highLightField(); placeTiles(); startTracing(); removeSparks(); while ((checkWin("test") || (!LevelTester.testLevel())) && (playMode == "timer")) { trace("\u0421\u0413\u0415\u041D\u0415\u0420\u0418\u0420\u041E\u0412\u0410\u041B\u0421\u042F \u0412\u042B\u0418\u0413\u0420\u042B\u0428\u041D\u042B\u0419 \u0423\u0420\u041E\u0412\u0415\u041D\u042C, \u041F\u0415\u0420\u0415\u0417\u0410\u041F\u0423\u0421\u041A"); game = undefined; i = 0; while (i < floor.getNextHighestDepth()) { removeMovieClip(floor["floorLight" + i]); i++; } i = 0; while (i < tiles.getNextHighestDepth()) { removeMovieClip(tiles["miniTile2" + i]); removeMovieClip(tiles["miniTile1" + i]); removeMovieClip(tiles["tile" + i]); i++; } clearGlowLightFiled(); game = LevelGenerator.generateLevel(lev2); clearGlowLightFiled(); placeObjects(); highLightField(); placeTiles(); startTracing(); removeSparks(); } } else { youwin._visible = false; effects._visible = false; game = new Array(); placeObjects(); highLightField(); placeTiles(); i = 0; while (i < rays.getNextHighestDepth()) { if (rays["ray" + i]) { removeMovieClip(rays["ray" + i]); } i++; } trace("You win the game!"); wholeGameWinned = true; winner._visible = wholeGameWinned; } } function level0() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = "transmitter"; game[3][6].direction = 0; game[3][6].color = 0; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = "receiver"; game[8][4].direction = 0; game[8][4].color = 0; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level1() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = "transmitter"; game[1][5].direction = 0; game[1][5].color = 0; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = "receiver"; game[4][1].direction = 0; game[4][1].color = 0; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = "mirror"; game[6][6].direction = 0; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level2() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = "receiver"; game[1][3].direction = 0; game[1][3].color = 0; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = "transmitter"; game[4][6].direction = 3; game[4][6].color = 0; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "splitter"; game[6][4].direction = 1; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = "receiver"; game[8][3].direction = 0; game[8][3].color = 0; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level3() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = "transmitter"; game[4][6].direction = 3; game[4][6].color = 0; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = "receiver"; game[6][1].direction = 0; game[6][1].color = 1; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "filter"; game[6][4].direction = 0; game[6][4].color = 1; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level4() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = "transmitter"; game[3][2].direction = 0; game[3][2].color = 0; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = "receiver"; game[6][1].direction = 0; game[6][1].color = 1; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "prism"; game[6][4].direction = 2; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = "receiver"; game[6][7].direction = 0; game[6][7].color = 3; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = "receiver"; game[8][4].direction = 0; game[8][4].color = 2; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level5() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = "transmitter"; game[3][5].direction = 0; game[3][5].color = 0; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = "cycloid"; game[5][7].direction = 3; game[5][7].color = 3; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = "receiver"; game[6][2].direction = 0; game[6][2].color = 1; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level6() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = "transmitter"; game[2][4].direction = 0; game[2][4].color = 0; game[2][5].wall = false; game[2][5].objtype = "transmitter"; game[2][5].direction = 0; game[2][5].color = 0; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = "cycloid"; game[4][3].direction = 3; game[4][3].color = 2; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = "cycloid"; game[4][6].direction = 1; game[4][6].color = 3; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = "receiver"; game[6][7].direction = 0; game[6][7].color = 3; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = "receiver"; game[7][2].direction = 0; game[7][2].color = 2; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level7() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = "splitter"; game[2][4].direction = 2; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = "transmitter"; game[3][6].direction = 0; game[3][6].color = 0; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = true; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = true; game[5][5].objtype = null; game[5][6].wall = true; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = false; game[7][0].objtype = "receiver"; game[7][0].direction = 0; game[7][0].color = 0; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = "receiver"; game[7][9].direction = 0; game[7][9].color = 1; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = "filter"; game[8][3].direction = 0; game[8][3].color = 1; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level8() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = "cycloid"; game[3][6].direction = 2; game[3][6].color = 2; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = "receiver"; game[4][1].direction = 0; game[4][1].color = 2; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = "mirror"; game[7][3].direction = 1; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = "transmitter"; game[7][7].direction = 3; game[7][7].color = 0; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level9() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = "filter"; game[2][3].direction = 0; game[2][3].color = 1; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = "receiver"; game[2][8].direction = 0; game[2][8].color = 1; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = "mirror"; game[3][4].direction = 0; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = "transmitter"; game[4][2].direction = 0; game[4][2].color = 0; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = "splitter"; game[5][6].direction = 2; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = true; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = "receiver"; game[8][2].direction = 0; game[8][2].color = 1; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level10() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = "receiver"; game[1][5].direction = 0; game[1][5].color = 2; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = "mirror"; game[2][4].direction = 1; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = "mirror"; game[2][6].direction = 1; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = true; game[5][3].objtype = null; game[5][4].wall = true; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = true; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = "filter"; game[6][6].direction = 0; game[6][6].color = 2; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = "mirror"; game[6][8].direction = 0; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = "transmitter"; game[7][2].direction = 1; game[7][2].color = 0; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = false; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level11() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = "receiver"; game[1][8].direction = 0; game[1][8].color = 3; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = true; game[2][5].objtype = null; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = "splitter"; game[4][5].direction = 2; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = "receiver"; game[5][1].direction = 0; game[5][1].color = 0; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = "transmitter"; game[5][4].direction = 0; game[5][4].color = 0; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = "receiver"; game[5][9].direction = 0; game[5][9].color = 2; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = "prism"; game[6][3].direction = 3; game[6][3].color = 1; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = false; game[9][8].objtype = "receiver"; game[9][8].direction = 0; game[9][8].color = 1; game[9][9].wall = true; game[9][9].objtype = null; } function level12() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = "cycloid"; game[1][6].direction = 0; game[1][6].color = 1; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = true; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = true; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = "transmitter"; game[3][6].direction = 0; game[3][6].color = 0; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = true; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = "mirror"; game[6][3].direction = 0; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = true; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = false; game[9][2].objtype = "receiver"; game[9][2].direction = 0; game[9][2].color = 1; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level13() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = false; game[0][3].objtype = "receiver"; game[0][3].direction = 0; game[0][3].color = 0; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = true; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = "transmitter"; game[2][8].direction = 3; game[2][8].color = 0; game[2][9].wall = false; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = "filter"; game[3][5].direction = 0; game[3][5].color = 1; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = false; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = "splitter"; game[4][3].direction = 2; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = true; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = false; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = true; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "splitter"; game[6][4].direction = 1; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = "receiver"; game[8][1].direction = 0; game[8][1].color = 1; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = "receiver"; game[8][8].direction = 0; game[8][8].color = 1; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level14() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = false; game[1][9].objtype = "receiver"; game[1][9].direction = 0; game[1][9].color = 2; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = "splitter"; game[2][2].direction = 2; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = "transmitter"; game[2][6].direction = 3; game[2][6].color = 0; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = false; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = true; game[4][5].objtype = null; game[4][6].wall = true; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = false; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = true; game[5][3].objtype = null; game[5][4].wall = true; game[5][4].objtype = null; game[5][5].wall = true; game[5][5].objtype = null; game[5][6].wall = true; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = "mirror"; game[5][9].direction = 0; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = true; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = "cycloid"; game[7][3].direction = 0; game[7][3].color = 2; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = null; game[8][0].wall = false; game[8][0].objtype = "receiver"; game[8][0].direction = 0; game[8][0].color = 2; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = false; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level15() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = false; game[0][9].objtype = "receiver"; game[0][9].direction = 0; game[0][9].color = 3; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = false; game[1][9].objtype = null; game[2][0].wall = false; game[2][0].objtype = "receiver"; game[2][0].direction = 0; game[2][0].color = 0; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = "mirror"; game[2][5].direction = 1; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = true; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = "prism"; game[3][7].direction = 3; game[3][7].color = 1; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = false; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = "transmitter"; game[4][4].direction = 1; game[4][4].color = 0; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = false; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = true; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = "splitter"; game[5][5].direction = 2; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = true; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = null; game[7][0].wall = false; game[7][0].objtype = "receiver"; game[7][0].direction = 0; game[7][0].color = 0; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = "splitter"; game[7][4].direction = 3; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = false; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = false; game[9][9].objtype = "receiver"; game[9][9].direction = 0; game[9][9].color = 1; } function level16() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = false; game[0][4].objtype = null; game[0][5].wall = false; game[0][5].objtype = "prism"; game[0][5].direction = 1; game[0][5].color = 1; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = "cycloid"; game[1][4].direction = 0; game[1][4].color = 3; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = "receiver"; game[2][2].direction = 0; game[2][2].color = 1; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = "splitter"; game[2][5].direction = 2; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = "receiver"; game[2][7].direction = 0; game[2][7].color = 3; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = "prism"; game[4][4].direction = 3; game[4][4].color = 1; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = true; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = "receiver"; game[5][0].direction = 0; game[5][0].color = 2; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = "receiver"; game[5][9].direction = 0; game[5][9].color = 2; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = true; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "transmitter"; game[6][4].direction = 0; game[6][4].color = 0; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = true; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = "receiver"; game[8][2].direction = 0; game[8][2].color = 1; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = "receiver"; game[8][7].direction = 0; game[8][7].color = 1; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level17() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = false; game[0][1].objtype = "receiver"; game[0][1].direction = 0; game[0][1].color = 1; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = false; game[2][0].objtype = "receiver"; game[2][0].direction = 0; game[2][0].color = 0; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = "mirror"; game[2][6].direction = 1; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = "filter"; game[3][3].direction = 0; game[3][3].color = 1; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = "splitter"; game[4][1].direction = 1; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = true; game[4][6].objtype = null; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = "transmitter"; game[5][3].direction = 1; game[5][3].color = 0; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = "splitter"; game[6][5].direction = 3; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = "transmitter"; game[7][3].direction = 3; game[7][3].color = 0; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = false; game[8][0].objtype = "receiver"; game[8][0].direction = 0; game[8][0].color = 0; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = "mirror"; game[8][6].direction = 0; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = false; game[9][1].objtype = "receiver"; game[9][1].direction = 0; game[9][1].color = 1; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level18() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = false; game[0][8].objtype = "receiver"; game[0][8].direction = 0; game[0][8].color = 2; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = "transmitter"; game[1][2].direction = 0; game[1][2].color = 0; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = "transmitter"; game[2][1].direction = 1; game[2][1].color = 0; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = "transmitter"; game[2][3].direction = 0; game[2][3].color = 0; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = "transmitter"; game[3][2].direction = 1; game[3][2].color = 0; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = "mirror"; game[3][5].direction = 0; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = "filter"; game[4][4].direction = 0; game[4][4].color = 2; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = "mirror"; game[5][3].direction = 0; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = "receiver"; game[7][9].direction = 0; game[7][9].color = 0; game[8][0].wall = false; game[8][0].objtype = "receiver"; game[8][0].direction = 0; game[8][0].color = 2; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = false; game[9][7].objtype = "receiver"; game[9][7].direction = 0; game[9][7].color = 0; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level19() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = false; game[0][6].objtype = "receiver"; game[0][6].direction = 0; game[0][6].color = 2; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = "prism"; game[1][3].direction = 0; game[1][3].color = 1; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = false; game[2][0].objtype = "receiver"; game[2][0].direction = 0; game[2][0].color = 3; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = "mirror"; game[2][6].direction = 0; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = "receiver"; game[2][9].direction = 0; game[2][9].color = 1; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = "splitter"; game[4][7].direction = 3; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = "transmitter"; game[5][3].direction = 1; game[5][3].color = 0; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = true; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = "receiver"; game[6][0].direction = 0; game[6][0].color = 1; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "receiver"; game[6][9].direction = 0; game[6][9].color = 3; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = "mirror"; game[7][3].direction = 0; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = "prism"; game[7][6].direction = 2; game[7][6].color = 1; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = "receiver"; game[9][3].direction = 0; game[9][3].color = 2; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level20() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = "receiver"; game[1][7].direction = 0; game[1][7].color = 0; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = "transmitter"; game[2][2].direction = 0; game[2][2].color = 0; game[2][3].wall = false; game[2][3].objtype = "mirror"; game[2][3].direction = 1; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = true; game[2][5].objtype = null; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = false; game[3][0].objtype = "receiver"; game[3][0].direction = 0; game[3][0].color = 0; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = "splitter"; game[3][4].direction = 3; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = true; game[4][5].objtype = null; game[4][6].wall = true; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = "mirror"; game[6][2].direction = 0; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = "splitter"; game[6][5].direction = 1; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = true; game[8][6].objtype = null; game[8][7].wall = true; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = "receiver"; game[9][3].direction = 0; game[9][3].color = 0; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = null; game[9][6].wall = false; game[9][6].objtype = null; game[9][7].wall = false; game[9][7].objtype = null; game[9][8].wall = false; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level21() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = false; game[0][7].objtype = "receiver"; game[0][7].direction = 0; game[0][7].color = 3; game[0][8].wall = false; game[0][8].objtype = "receiver"; game[0][8].direction = 0; game[0][8].color = 2; game[0][9].wall = false; game[0][9].objtype = "receiver"; game[0][9].direction = 0; game[0][9].color = 1; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = "filter"; game[1][1].direction = 0; game[1][1].color = 3; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = "transmitter"; game[1][3].direction = 0; game[1][3].color = 0; game[1][4].wall = false; game[1][4].objtype = "transmitter"; game[1][4].direction = 0; game[1][4].color = 0; game[1][5].wall = false; game[1][5].objtype = "transmitter"; game[1][5].direction = 0; game[1][5].color = 0; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = false; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = "filter"; game[2][2].direction = 0; game[2][2].color = 2; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = "transmitter"; game[3][1].direction = 1; game[3][1].color = 0; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = "filter"; game[3][3].direction = 0; game[3][3].color = 1; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = false; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = "transmitter"; game[4][1].direction = 1; game[4][1].color = 0; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = false; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = "transmitter"; game[5][1].direction = 1; game[5][1].color = 0; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "mirror"; game[6][9].direction = 0; game[7][0].wall = false; game[7][0].objtype = "receiver"; game[7][0].direction = 0; game[7][0].color = 3; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = "mirror"; game[7][8].direction = 0; game[7][9].wall = false; game[7][9].objtype = "mirror"; game[7][9].direction = 0; game[8][0].wall = false; game[8][0].objtype = "receiver"; game[8][0].direction = 0; game[8][0].color = 2; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = "mirror"; game[8][7].direction = 0; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = false; game[8][9].objtype = null; game[9][0].wall = false; game[9][0].objtype = "receiver"; game[9][0].direction = 0; game[9][0].color = 1; game[9][1].wall = false; game[9][1].objtype = null; game[9][2].wall = false; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = null; game[9][6].wall = false; game[9][6].objtype = "mirror"; game[9][6].direction = 0; game[9][7].wall = false; game[9][7].objtype = "mirror"; game[9][7].direction = 0; game[9][8].wall = false; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level22() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = false; game[0][6].objtype = "receiver"; game[0][6].direction = 0; game[0][6].color = 0; game[0][7].wall = false; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = false; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = false; game[1][9].objtype = "receiver"; game[1][9].direction = 0; game[1][9].color = 3; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = "transmitter"; game[3][4].direction = 1; game[3][4].color = 0; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = true; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = "splitter"; game[4][6].direction = 3; game[4][7].wall = true; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = "splitter"; game[5][4].direction = 2; game[5][5].wall = false; game[5][5].objtype = "filter"; game[5][5].direction = 0; game[5][5].color = 3; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = true; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = "receiver"; game[6][0].direction = 0; game[6][0].color = 3; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = "splitter"; game[6][6].direction = 3; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = true; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = "cycloid"; game[7][3].direction = 3; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = "mirror"; game[7][6].direction = 0; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = true; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = null; game[9][6].wall = false; game[9][6].objtype = "receiver"; game[9][6].direction = 0; game[9][6].color = 0; game[9][7].wall = false; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level23() { game[0][0].wall = false; game[0][0].objtype = "receiver"; game[0][0].direction = 0; game[0][0].color = 2; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = false; game[0][2].objtype = "receiver"; game[0][2].direction = 0; game[0][2].color = 2; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = false; game[0][7].objtype = "receiver"; game[0][7].direction = 0; game[0][7].color = 2; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = false; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = false; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = true; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = false; game[3][0].objtype = "mirror"; game[3][0].direction = 1; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = "filter"; game[3][5].direction = 0; game[3][5].color = 2; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = "splitter"; game[3][8].direction = 2; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = false; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = true; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = "splitter"; game[5][2].direction = 0; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = true; game[5][4].objtype = null; game[5][5].wall = true; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = "splitter"; game[6][6].direction = 3; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = false; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = "splitter"; game[8][1].direction = 1; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = false; game[8][9].objtype = "receiver"; game[8][9].direction = 0; game[8][9].color = 2; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = false; game[9][1].objtype = null; game[9][2].wall = false; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = "transmitter"; game[9][5].direction = 2; game[9][5].color = 0; game[9][6].wall = false; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = false; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level24() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = false; game[0][1].objtype = "receiver"; game[0][1].direction = 0; game[0][1].color = 0; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = "prism"; game[1][4].direction = 2; game[1][4].color = 1; game[1][5].wall = false; game[1][5].objtype = "splitter"; game[1][5].direction = 1; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = "prism"; game[1][8].direction = 2; game[1][8].color = 1; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = "mirror"; game[2][2].direction = 1; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = "splitter"; game[3][1].direction = 1; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = "splitter"; game[3][7].direction = 1; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = false; game[4][0].objtype = "receiver"; game[4][0].direction = 0; game[4][0].color = 1; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = "prism"; game[4][2].direction = 2; game[4][2].color = 1; game[4][3].wall = false; game[4][3].objtype = "mirror"; game[4][3].direction = 1; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = "prism"; game[4][6].direction = 2; game[4][6].color = 1; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = "receiver"; game[5][0].direction = 0; game[5][0].color = 1; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = "receiver"; game[6][0].direction = 0; game[6][0].color = 1; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = "mirror"; game[6][4].direction = 1; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "receiver"; game[6][9].direction = 0; game[6][9].color = 3; game[7][0].wall = false; game[7][0].objtype = "receiver"; game[7][0].direction = 0; game[7][0].color = 1; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = "splitter"; game[7][4].direction = 1; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = "receiver"; game[7][9].direction = 0; game[7][9].color = 3; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = "transmitter"; game[8][3].direction = 3; game[8][3].color = 0; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = false; game[9][1].objtype = "receiver"; game[9][1].direction = 0; game[9][1].color = 2; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = "receiver"; game[9][3].direction = 0; game[9][3].color = 2; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = "receiver"; game[9][5].direction = 0; game[9][5].color = 2; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = false; game[9][7].objtype = "receiver"; game[9][7].direction = 0; game[9][7].color = 2; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level25() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = "cycloid"; game[1][1].direction = 0; game[1][1].color = 3; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = true; game[2][3].objtype = null; game[2][4].wall = true; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = "splitter"; game[2][5].direction = 0; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = true; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = "mirror"; game[3][8].direction = 0; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = "cycloid"; game[4][3].direction = 0; game[4][3].color = 2; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = true; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = "transmitter"; game[5][7].direction = 2; game[5][7].color = 0; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = "mirror"; game[6][2].direction = 1; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "receiver"; game[6][9].direction = 0; game[6][9].color = 2; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = true; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = true; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = false; game[8][0].objtype = "receiver"; game[8][0].direction = 0; game[8][0].color = 3; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level26() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = true; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = "receiver"; game[1][5].direction = 0; game[1][5].color = 1; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = "splitter"; game[1][8].direction = 3; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = false; game[2][0].objtype = "receiver"; game[2][0].direction = 0; game[2][0].color = 2; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = "cycloid"; game[2][7].direction = 0; game[2][7].color = 2; game[2][8].wall = false; game[2][8].objtype = "splitter"; game[2][8].direction = 0; game[2][9].wall = false; game[2][9].objtype = "cycloid"; game[2][9].direction = 1; game[2][9].color = 3; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = true; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = "transmitter"; game[3][5].direction = 0; game[3][5].color = 0; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = "cycloid"; game[3][7].direction = 2; game[3][7].color = 2; game[3][8].wall = false; game[3][8].objtype = "splitter"; game[3][8].direction = 1; game[3][9].wall = false; game[3][9].objtype = "cycloid"; game[3][9].direction = 3; game[3][9].color = 1; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = true; game[4][2].objtype = null; game[4][3].wall = true; game[4][3].objtype = null; game[4][4].wall = true; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = true; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = "cycloid"; game[4][7].direction = 1; game[4][7].color = 1; game[4][8].wall = false; game[4][8].objtype = "splitter"; game[4][8].direction = 2; game[4][9].wall = false; game[4][9].objtype = "filter"; game[4][9].direction = 0; game[4][9].color = 1; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = true; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = "receiver"; game[5][3].direction = 0; game[5][3].color = 1; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = "receiver"; game[5][6].direction = 0; game[5][6].color = 2; game[5][7].wall = true; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = "splitter"; game[5][8].direction = 2; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = true; game[6][3].objtype = null; game[6][4].wall = true; game[6][4].objtype = null; game[6][5].wall = true; game[6][5].objtype = null; game[6][6].wall = true; game[6][6].objtype = null; game[6][7].wall = true; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = true; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = true; game[7][6].objtype = null; game[7][7].wall = true; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = false; game[8][9].objtype = "receiver"; game[8][9].direction = 0; game[8][9].color = 0; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = false; game[9][1].objtype = "receiver"; game[9][1].direction = 0; game[9][1].color = 1; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level27() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = false; game[0][4].objtype = "receiver"; game[0][4].direction = 0; game[0][4].color = 0; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = true; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = true; game[1][5].objtype = null; game[1][6].wall = true; game[1][6].objtype = null; game[1][7].wall = true; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = true; game[2][1].objtype = null; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = true; game[2][6].objtype = null; game[2][7].wall = true; game[2][7].objtype = null; game[2][8].wall = true; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = true; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = true; game[3][5].objtype = null; game[3][6].wall = true; game[3][6].objtype = null; game[3][7].wall = true; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = "cycloid"; game[4][7].direction = 1; game[4][7].color = 1; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = "transmitter"; game[5][1].direction = 0; game[5][1].color = 0; game[5][2].wall = false; game[5][2].objtype = "cycloid"; game[5][2].direction = 3; game[5][2].color = 3; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = "transmitter"; game[5][8].direction = 0; game[5][8].color = 0; game[5][9].wall = false; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = "transmitter"; game[6][3].direction = 0; game[6][3].color = 0; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = null; game[7][0].wall = false; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = "prism"; game[7][6].direction = 2; game[7][6].color = 1; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = false; game[7][9].objtype = "splitter"; game[7][9].direction = 2; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = false; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = null; game[9][5].wall = false; game[9][5].objtype = "cycloid"; game[9][5].direction = 2; game[9][5].color = 2; game[9][6].wall = false; game[9][6].objtype = null; game[9][7].wall = false; game[9][7].objtype = null; game[9][8].wall = false; game[9][8].objtype = null; game[9][9].wall = false; game[9][9].objtype = "receiver"; game[9][9].direction = 0; game[9][9].color = 0; } function level28() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = false; game[0][4].objtype = "receiver"; game[0][4].direction = 3; game[0][4].color = 0; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = false; game[0][8].objtype = "receiver"; game[0][8].direction = 3; game[0][8].color = 0; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = "mirror"; game[1][1].direction = 0; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = false; game[1][8].objtype = null; game[1][9].wall = false; game[1][9].objtype = "receiver"; game[1][9].direction = 2; game[1][9].color = 1; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = "prism"; game[2][1].direction = 1; game[2][1].color = 1; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = "transmitter"; game[2][5].direction = 3; game[2][5].color = 0; game[2][6].wall = false; game[2][6].objtype = "splitter"; game[2][6].direction = 0; game[2][7].wall = false; game[2][7].objtype = "splitter"; game[2][7].direction = 3; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = "receiver"; game[2][9].direction = 2; game[2][9].color = 0; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = true; game[3][1].objtype = null; game[3][2].wall = true; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = true; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = false; game[3][9].objtype = "receiver"; game[3][9].direction = 2; game[3][9].color = 0; game[4][0].wall = false; game[4][0].objtype = "receiver"; game[4][0].direction = 0; game[4][0].color = 2; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = "splitter"; game[4][4].direction = 1; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = "mirror"; game[4][7].direction = 1; game[4][8].wall = false; game[4][8].objtype = "mirror"; game[4][8].direction = 1; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = "receiver"; game[5][0].direction = 0; game[5][0].color = 0; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = "splitter"; game[5][4].direction = 0; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = true; game[6][1].objtype = null; game[6][2].wall = true; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "receiver"; game[6][9].direction = 2; game[6][9].color = 0; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = "mirror"; game[7][1].direction = 1; game[7][2].wall = true; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = true; game[7][4].objtype = null; game[7][5].wall = true; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = true; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = "mirror"; game[8][1].direction = 0; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = "splitter"; game[8][3].direction = 2; game[8][4].wall = true; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = "splitter"; game[8][5].direction = 1; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = "splitter"; game[8][8].direction = 2; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = true; game[9][4].objtype = null; game[9][5].wall = true; game[9][5].objtype = null; game[9][6].wall = false; game[9][6].objtype = "receiver"; game[9][6].direction = 1; game[9][6].color = 3; game[9][7].wall = false; game[9][7].objtype = "receiver"; game[9][7].direction = 1; game[9][7].color = 0; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level29() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = false; game[0][3].objtype = "receiver"; game[0][3].direction = 3; game[0][3].color = 3; game[0][4].wall = true; game[0][4].objtype = null; game[0][5].wall = false; game[0][5].objtype = "receiver"; game[0][5].direction = 3; game[0][5].color = 3; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = true; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = "transmitter"; game[2][1].direction = 0; game[2][1].color = 0; game[2][2].wall = true; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = false; game[2][9].objtype = "receiver"; game[2][9].direction = 2; game[2][9].color = 3; game[3][0].wall = false; game[3][0].objtype = "receiver"; game[3][0].direction = 0; game[3][0].color = 3; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = "splitter"; game[3][4].direction = 0; game[3][5].wall = false; game[3][5].objtype = "splitter"; game[3][5].direction = 3; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = true; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = "splitter"; game[4][4].direction = 2; game[4][5].wall = false; game[4][5].objtype = "splitter"; game[4][5].direction = 0; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = true; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = true; game[5][0].objtype = null; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = false; game[6][0].objtype = "receiver"; game[6][0].direction = 0; game[6][0].color = 0; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = "prism"; game[6][2].direction = 3; game[6][2].color = 1; game[6][3].wall = false; game[6][3].objtype = "splitter"; game[6][3].direction = 3; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = false; game[6][9].objtype = "receiver"; game[6][9].direction = 2; game[6][9].color = 2; game[7][0].wall = false; game[7][0].objtype = "receiver"; game[7][0].direction = 0; game[7][0].color = 3; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = "mirror"; game[7][2].direction = 1; game[7][3].wall = false; game[7][3].objtype = "splitter"; game[7][3].direction = 2; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = "splitter"; game[7][7].direction = 2; game[7][8].wall = false; game[7][8].objtype = "splitter"; game[7][8].direction = 1; game[7][9].wall = false; game[7][9].objtype = "receiver"; game[7][9].direction = 2; game[7][9].color = 1; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = true; game[8][2].objtype = null; game[8][3].wall = true; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = "splitter"; game[8][7].direction = 1; game[8][8].wall = false; game[8][8].objtype = "splitter"; game[8][8].direction = 2; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = "receiver"; game[9][4].direction = 1; game[9][4].color = 3; game[9][5].wall = false; game[9][5].objtype = "receiver"; game[9][5].direction = 1; game[9][5].color = 3; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level30() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = true; game[0][3].objtype = null; game[0][4].wall = false; game[0][4].objtype = "receiver"; game[0][4].direction = 3; game[0][4].color = 3; game[0][5].wall = false; game[0][5].objtype = "receiver"; game[0][5].direction = 3; game[0][5].color = 2; game[0][6].wall = false; game[0][6].objtype = "receiver"; game[0][6].direction = 3; game[0][6].color = 3; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = true; game[1][1].objtype = null; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = null; game[1][5].wall = false; game[1][5].objtype = null; game[1][6].wall = false; game[1][6].objtype = null; game[1][7].wall = false; game[1][7].objtype = null; game[1][8].wall = true; game[1][8].objtype = null; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = null; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = true; game[3][0].objtype = null; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = "mirror"; game[3][3].direction = 1; game[3][4].wall = false; game[3][4].objtype = "splitter"; game[3][4].direction = 1; game[3][5].wall = false; game[3][5].objtype = "splitter"; game[3][5].direction = 3; game[3][6].wall = false; game[3][6].objtype = "mirror"; game[3][6].direction = 1; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = null; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = true; game[4][0].objtype = null; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = "mirror"; game[4][3].direction = 1; game[4][4].wall = false; game[4][4].objtype = "transmitter"; game[4][4].direction = 3; game[4][4].color = 0; game[4][5].wall = false; game[4][5].objtype = "transmitter"; game[4][5].direction = 1; game[4][5].color = 0; game[4][6].wall = false; game[4][6].objtype = "mirror"; game[4][6].direction = 1; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = false; game[4][9].objtype = "receiver"; game[4][9].direction = 2; game[4][9].color = 3; game[5][0].wall = false; game[5][0].objtype = "receiver"; game[5][0].direction = 0; game[5][0].color = 3; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = "filter"; game[5][3].direction = 0; game[5][3].color = 1; game[5][4].wall = false; game[5][4].objtype = "transmitter"; game[5][4].direction = 3; game[5][4].color = 0; game[5][5].wall = false; game[5][5].objtype = "transmitter"; game[5][5].direction = 1; game[5][5].color = 0; game[5][6].wall = false; game[5][6].objtype = "filter"; game[5][6].direction = 0; game[5][6].color = 2; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = true; game[5][9].objtype = null; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = "filter"; game[6][3].direction = 0; game[6][3].color = 3; game[6][4].wall = false; game[6][4].objtype = "transmitter"; game[6][4].direction = 3; game[6][4].color = 0; game[6][5].wall = false; game[6][5].objtype = "transmitter"; game[6][5].direction = 1; game[6][5].color = 0; game[6][6].wall = false; game[6][6].objtype = "filter"; game[6][6].direction = 0; game[6][6].color = 3; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = null; game[7][3].wall = false; game[7][3].objtype = null; game[7][4].wall = false; game[7][4].objtype = null; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = null; game[7][7].wall = false; game[7][7].objtype = null; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = true; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = true; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = false; game[9][3].objtype = "receiver"; game[9][3].direction = 1; game[9][3].color = 3; game[9][4].wall = false; game[9][4].objtype = "receiver"; game[9][4].direction = 1; game[9][4].color = 1; game[9][5].wall = false; game[9][5].objtype = "receiver"; game[9][5].direction = 1; game[9][5].color = 3; game[9][6].wall = true; game[9][6].objtype = null; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = true; game[9][8].objtype = null; game[9][9].wall = true; game[9][9].objtype = null; } function level31() { game[0][0].wall = true; game[0][0].objtype = null; game[0][1].wall = true; game[0][1].objtype = null; game[0][2].wall = true; game[0][2].objtype = null; game[0][3].wall = false; game[0][3].objtype = "receiver"; game[0][3].direction = 3; game[0][3].color = 2; game[0][4].wall = false; game[0][4].objtype = "receiver"; game[0][4].direction = 3; game[0][4].color = 1; game[0][5].wall = true; game[0][5].objtype = null; game[0][6].wall = true; game[0][6].objtype = null; game[0][7].wall = true; game[0][7].objtype = null; game[0][8].wall = true; game[0][8].objtype = null; game[0][9].wall = true; game[0][9].objtype = null; game[1][0].wall = true; game[1][0].objtype = null; game[1][1].wall = false; game[1][1].objtype = "transmitter"; game[1][1].direction = 1; game[1][1].color = 0; game[1][2].wall = false; game[1][2].objtype = null; game[1][3].wall = false; game[1][3].objtype = null; game[1][4].wall = false; game[1][4].objtype = "mirror"; game[1][4].direction = 1; game[1][5].wall = false; game[1][5].objtype = "mirror"; game[1][5].direction = 1; game[1][6].wall = false; game[1][6].objtype = "mirror"; game[1][6].direction = 1; game[1][7].wall = false; game[1][7].objtype = "mirror"; game[1][7].direction = 1; game[1][8].wall = false; game[1][8].objtype = "splitter"; game[1][8].direction = 3; game[1][9].wall = true; game[1][9].objtype = null; game[2][0].wall = true; game[2][0].objtype = null; game[2][1].wall = false; game[2][1].objtype = null; game[2][2].wall = false; game[2][2].objtype = null; game[2][3].wall = false; game[2][3].objtype = null; game[2][4].wall = false; game[2][4].objtype = null; game[2][5].wall = false; game[2][5].objtype = null; game[2][6].wall = false; game[2][6].objtype = null; game[2][7].wall = false; game[2][7].objtype = null; game[2][8].wall = false; game[2][8].objtype = "splitter"; game[2][8].direction = 3; game[2][9].wall = true; game[2][9].objtype = null; game[3][0].wall = false; game[3][0].objtype = "receiver"; game[3][0].direction = 0; game[3][0].color = 1; game[3][1].wall = false; game[3][1].objtype = null; game[3][2].wall = false; game[3][2].objtype = null; game[3][3].wall = false; game[3][3].objtype = null; game[3][4].wall = false; game[3][4].objtype = null; game[3][5].wall = false; game[3][5].objtype = null; game[3][6].wall = false; game[3][6].objtype = null; game[3][7].wall = false; game[3][7].objtype = null; game[3][8].wall = false; game[3][8].objtype = "splitter"; game[3][8].direction = 1; game[3][9].wall = true; game[3][9].objtype = null; game[4][0].wall = false; game[4][0].objtype = "receiver"; game[4][0].direction = 0; game[4][0].color = 2; game[4][1].wall = false; game[4][1].objtype = null; game[4][2].wall = false; game[4][2].objtype = null; game[4][3].wall = false; game[4][3].objtype = null; game[4][4].wall = false; game[4][4].objtype = null; game[4][5].wall = false; game[4][5].objtype = null; game[4][6].wall = false; game[4][6].objtype = null; game[4][7].wall = false; game[4][7].objtype = null; game[4][8].wall = false; game[4][8].objtype = null; game[4][9].wall = true; game[4][9].objtype = null; game[5][0].wall = false; game[5][0].objtype = "receiver"; game[5][0].direction = 0; game[5][0].color = 3; game[5][1].wall = false; game[5][1].objtype = null; game[5][2].wall = false; game[5][2].objtype = null; game[5][3].wall = false; game[5][3].objtype = null; game[5][4].wall = false; game[5][4].objtype = null; game[5][5].wall = false; game[5][5].objtype = null; game[5][6].wall = false; game[5][6].objtype = null; game[5][7].wall = false; game[5][7].objtype = null; game[5][8].wall = false; game[5][8].objtype = null; game[5][9].wall = false; game[5][9].objtype = "receiver"; game[5][9].direction = 2; game[5][9].color = 1; game[6][0].wall = true; game[6][0].objtype = null; game[6][1].wall = false; game[6][1].objtype = null; game[6][2].wall = false; game[6][2].objtype = null; game[6][3].wall = false; game[6][3].objtype = null; game[6][4].wall = false; game[6][4].objtype = null; game[6][5].wall = false; game[6][5].objtype = null; game[6][6].wall = false; game[6][6].objtype = null; game[6][7].wall = false; game[6][7].objtype = null; game[6][8].wall = false; game[6][8].objtype = null; game[6][9].wall = true; game[6][9].objtype = null; game[7][0].wall = true; game[7][0].objtype = null; game[7][1].wall = false; game[7][1].objtype = null; game[7][2].wall = false; game[7][2].objtype = "prism"; game[7][2].direction = 0; game[7][2].color = 1; game[7][3].wall = false; game[7][3].objtype = "prism"; game[7][3].direction = 1; game[7][3].color = 1; game[7][4].wall = false; game[7][4].objtype = "prism"; game[7][4].direction = 2; game[7][4].color = 1; game[7][5].wall = false; game[7][5].objtype = null; game[7][6].wall = false; game[7][6].objtype = "mirror"; game[7][6].direction = 0; game[7][7].wall = false; game[7][7].objtype = "mirror"; game[7][7].direction = 0; game[7][8].wall = false; game[7][8].objtype = null; game[7][9].wall = true; game[7][9].objtype = null; game[8][0].wall = true; game[8][0].objtype = null; game[8][1].wall = false; game[8][1].objtype = null; game[8][2].wall = false; game[8][2].objtype = null; game[8][3].wall = false; game[8][3].objtype = null; game[8][4].wall = false; game[8][4].objtype = null; game[8][5].wall = false; game[8][5].objtype = null; game[8][6].wall = false; game[8][6].objtype = null; game[8][7].wall = false; game[8][7].objtype = null; game[8][8].wall = false; game[8][8].objtype = null; game[8][9].wall = true; game[8][9].objtype = null; game[9][0].wall = true; game[9][0].objtype = null; game[9][1].wall = true; game[9][1].objtype = null; game[9][2].wall = true; game[9][2].objtype = null; game[9][3].wall = true; game[9][3].objtype = null; game[9][4].wall = false; game[9][4].objtype = "receiver"; game[9][4].direction = 1; game[9][4].color = 3; game[9][5].wall = false; game[9][5].objtype = "receiver"; game[9][5].direction = 1; game[9][5].color = 2; game[9][6].wall = false; game[9][6].objtype = "receiver"; game[9][6].direction = 1; game[9][6].color = 3; game[9][7].wall = true; game[9][7].objtype = null; game[9][8].wall = false; game[9][8].objtype = "receiver"; game[9][8].direction = 1; game[9][8].color = 0; game[9][9].wall = true; game[9][9].objtype = null; } function getHelp() { incorrect = new Array(); i = 0; while (i < 10) { j = 0; while (j < 10) { if (winlevel[i][j].objtype && (winlevel[i][j].objtype != "glowbo")) { if (game[i][j].objtype != winlevel[i][j].objtype) { if ((((winlevel[i][j].objtype == "filter") && (game[i][j].color != winlevel[i][j].color)) || (((game[i][j].direction != winlevel[i][j].direction) && (winlevel[i][j].objtype != "filter")) && (winlevel[i][j].objtype != "cycloid"))) || ((winlevel[i][j].objtype == "cycloid") && ((game[i][j].color != winlevel[i][j].color) || (game[i][j].direction != winlevel[i][j].direction)))) { incorrect.push(winlevel[i][j]); } } } j++; } i++; } if (incorrect.length) { playTime = playTime - Math.round(lev2 / 2); antenn.rg.shortStart(); helpObj = incorrect[random(incorrect.length)]; helptool.h1._x = (helpObj.x * 40) + 60; helptool.h1._y = (helpObj.y * 40) + 60; i = 0; while (i < 10) { j = 0; while (j < 10) { if ((game[i][j].objtype == helpObj.objtype) && ((((game[i][j].objtype == "filter") && (game[i][j].color == helpObj.color)) || (((game[i][j].objtype == "cycloid") && (game[i][j].direction == helpObj.direction)) && (game[i][j].color == helpObj.color))) || (((game[i][j].direction == helpObj.direction) && (game[i][j].objtype != "cycloid")) && (game[i][j].objtype != "filter")))) { helptool.h2._x = (i * 40) + 60; helptool.h2._y = (j * 40) + 60; } j++; } i++; } trace("\u043E\u0431\u044A\u0435\u043A\u0442 \u0434\u043B\u044F \u0440\u0430\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438 " + helpObj.objtype); helptool.showline(); } if ((((!helptool.h1._x) || (!helptool.h1._y)) || (!helptool.h2._x)) || (!helptool.h2._y)) { trace("\u041D\u041E\u0412\u0410\u042F \u041F\u041E\u041C\u041E\u0429\u042C"); getHelp(); } } function showAd() { trace("\u0413\u0420\u0423\u0416\u0423 \u0420\u0415\u041A\u041B\u0410\u041C\u0423"); if (adTimer > 19200) { adTimer = 0; createEmptyMovieClip("adContaner", getNextHighestDepth()); MochiAd.showInterLevelAd({id:"d785476f458d0d78", res:"640x480", clip:this.adContaner}); } } attachMovie("lights", "lights", getNextHighestDepth()); attachMovie("tiles", "tiles", getNextHighestDepth()); attachMovie("floor", "floor", getNextHighestDepth()); attachMovie("rays", "rays", getNextHighestDepth()); attachMovie("effects", "effects", getNextHighestDepth()); attachMovie("personages", "personages", getNextHighestDepth()); attachMovie("helptool", "helptool", getNextHighestDepth()); g5link.swapDepths(getNextHighestDepth()); attachMovie("cursor2", "cursor2", getNextHighestDepth()); effects.blendMode = "add"; helptool.blendMode = "add"; rotatingTiles = true; cursor2.t = 0; startDrag (cursor2, true); lose = false; playTime = 30; if (playMode == "timer") { lev2 = 0; totalLevels = 999; } else { totalLevels = 0; wholeGameWinned = false; while (this["level" + totalLevels]) { totalLevels++; } } if (lev == undefined) { lev = 0; } antenn.currentlevel = lev + 1; stop(); levelPassed = false; misd = false; onMouseDown = function () { if ((!gameMenu) && (!lose)) { misd = true; draggin = undefined; if ((((_root._xmouse > 30) && (_root._xmouse < 480)) && (_root._ymouse > 30)) && (_root._ymouse < 480)) { mX = Math.floor((_root._xmouse - 40) / 40); mY = Math.floor((_root._ymouse - 40) / 40); if (game[mX][mY].objtype) { if (game[mX][mY].objtype != "receiver") { draggin = personages[(((game[mX][mY].objtype + "") + mX) + "_") + mY]; cursor2.gotoAndStop(2); } } } if (levelPassed && (!(splashx._currentframe - 1))) { levelPassed = false; attachMovie("splashx", "splashx", getNextHighestDepth()); splashx.blendMode = "add"; } } }; onMouseUp = function () { helptool.hidehint(); misd = false; startDrag (cursor2, true); cursor2.gotoAndStop(1); if (draggin) { smthwasdragged = true; } }; onMouseMove = function () { if ((misd && (draggin)) && (!(splashx._currentframe - 1))) { newX = Math.floor((_root._xmouse - 40) / 40); newY = Math.floor((_root._ymouse - 40) / 40); stopDrag(); cursor2._x = (newX * 40) + 60; cursor2._y = (newY * 40) + 60; if (((((((newX > -1) && (newX < 10)) && (newY > -1)) && (newY < 10)) && ((newX != mX) || (newY != mY))) && (!game[newX][newY].wall)) && (!game[newX][newY].objtype)) { draggin._x = (newX * 40) + 60; draggin._y = (newY * 40) + 60; draggin._name = (((game[mX][mY].objtype + "") + newX) + "_") + newY; game[newX][newY] = game[mX][mY]; game[mX][mY] = new Object(); startTracing(); removeSparks(); checkWin(); mX = newX; mY = newY; } } }; if (!kl) { var kl = new Object(); } var gameMenu = false; kl.onKeyUp = function () { if (Key.getCode() == 13) { lev++; trace(lev); } if ((Key.getCode() == 27) && (!lose)) { gameMenu = !gameMenu; if (gameMenu) { helptool.hidehint(); attachMovie("inGameMenu", "inGameMenu", getNextHighestDepth()); g5link.swapDepths(getNextHighestDepth()); cursor2.swapDepths(getNextHighestDepth() + 1); } else { removeMovieClip(inGameMenu); } } }; Key.addListener(kl); setTimeout(refreshCycloids, 1000); bgColor = "0xaaaaFF"; createGameField(10, 10); if (playMode == "puzzle") { antenn.timer._visible = false; eval ("level" + lev)(); } else { playTime = 30; antenn.timer.time = playTime; antenn.timer._visible = true; game = LevelGenerator.generateLevel(lev2); while (checkWin("test") || (!game)) { trace("\u0421\u0413\u0415\u041D\u0415\u0420\u0418\u0420\u041E\u0412\u0410\u041B\u0421\u042F \u0412\u042B\u0418\u0413\u0420\u042B\u0428\u041D\u042B\u0419 \u041F\u0415\u0420\u0412\u042B\u0419 \u0423\u0420\u041E\u0412\u0415\u041D\u042C, \u041F\u0415\u0420\u0415\u0417\u0410\u041F\u0423\u0421\u041A"); game = undefined; if (needToShowHelp) { trace(needToShowHelp); so.data[needToShowHelp + "HelpShown"] = false; so.flush(); needToShowHelp = undefined; } i = 0; while (i < floor.getNextHighestDepth()) { removeMovieClip(floor["floorLight" + i]); i++; } i = 0; while (i < tiles.getNextHighestDepth()) { removeMovieClip(tiles["miniTile2" + i]); removeMovieClip(tiles["miniTile1" + i]); removeMovieClip(tiles["tile" + i]); i++; } clearGlowLightFiled(); game = LevelGenerator.generateLevel(lev2); clearGlowLightFiled(); placeObjects(); highLightField(); placeTiles(); startTracing(); removeSparks(); } } placeObjects(); highLightField(); placeTiles(); startTracing(); removeSparks(); checkWin(); bgsound.stop(); bgsound = new Sound(); bgsound.attachSound("MUS2"); if (!_root.so.data.soundMuted) { bgsound.start(0, 1000); } adTimer = 0; onEnterFrame = function () { adTimer++; };
Instance of Symbol 400 MovieClip "youwin" in Frame 6
onClipEvent (load) { swapDepths(_root.getNextHighestDepth()); _visible = false; } onClipEvent (enterFrame) { if (!_visible) { timer = 0; } if (_visible) { timer++; if (timer > 50) { timer = 0; if (_root.levelPassed && (!(_root.splashx._currentframe - 1))) { _root.levelPassed = false; _root.attachMovie("splashx", "splashx", _root.getNextHighestDepth()); _root.splashx.blendMode = "add"; } } } }
Instance of Symbol 379 MovieClip "winner" in Frame 6
onClipEvent (load) { _visible = false; }
Instance of Symbol 405 MovieClip "youLose" in Frame 6
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (!_visible) { gotoAndStop (1); } }
Instance of Symbol 413 MovieClip "helptext" in Frame 6
onClipEvent (load) { if (_root.playMode == "puzzle") { _visible = false; } }
Symbol 31 MovieClip [glow] Frame 1
t1r = (1 - (random(2) * 2)) * (3 + random(3)); t2r = (1 - (random(2) * 2)) * (3 + random(3)); t1._x = t1._x + (random(6) - 3); t1._y = t1._y + (random(6) - 3); t2._x = t2._x + (random(6) - 3); t2._y = t2._y + (random(6) - 3); _yscale = 10; _xscale = 10; s = 30; onEnterFrame = function () { _x = (_x + ((559 - _x) / s)); _y = (_y + ((50 - _y) / s)); s = s + ((3 - s) / 30); t1._rotation = t1._rotation + t1r; t2._rotation = t2._rotation + t2r; _xscale = (_xscale + ((100 - _xscale) / 3)); _yscale = _xscale; };
Symbol 40 MovieClip [splashx] Frame 4
bgsound = new Sound(); bgsound.attachSound("nextlevel.mp3"); if (!_root.so.data.soundMuted) { bgsound.start(0, 1000); }
Symbol 40 MovieClip [splashx] Frame 26
_root.nextLevel();
Symbol 40 MovieClip [splashx] Frame 55
removeMovieClip(this);
Symbol 43 MovieClip [beamSpark] Frame 1
t = 1; onEnterFrame = function () { if (t > 6) { t = 1; } if (!random(2)) { t++; attachMovie("dot", "dot" + t, t); this["dot" + t]._y = random(10) - 5; this["dot" + t]._x = 18; this["dot" + t].x = (random(20) / 2) + 0.2; this["dot" + t].y = (random(20) / 2) - 5; this["dot" + t].onEnterFrame = function () { with (this) { _x = _x + x; _y = _y + y; _alpha = _alpha - 11; if (_alpha < 0) { removeMovieClip(this); } } }; } };
Symbol 44 MovieClip [stars] Frame 1
function addStar() { z = getNextHighestDepth(); attachMovie("star", "star" + z, z); this["star" + z].y = (random(10) / 10) + 0.5; this["star" + z]._yscale = (this["star" + z]._xscale = random(50) + 75); this["star" + z]._y = -random(Stage.height); this["star" + z]._x = random(Stage.width); this["star" + z].d = (2 * random(2)) - 1; this["star" + z].onEnterFrame = function () { with (this) { _rotation = _rotation + (d * 2); _y = _y + y; _x = _x + (Math.cos(_y / 50) + ((_root._xmouse - 320) / 300)); if (_y > (Stage.height + 50)) { _parent.addStar(); removeMovieClip(this); } } }; } i = 0; while (i < 20) { addStar(); i++; }
Symbol 67 Button
on (release) { _parent.submitScore(); }
Symbol 69 Button
on (release) { _parent.secCodeLoad(); }
Symbol 76 Button
on (release) { _parent.back(); }
Symbol 79 Button
on (release) { _parent.viewScore(); }
Symbol 83 MovieClip [HiScores] Frame 1
#initclip 12 Object.registerClass("HiScores", HiScores); #endinitclip
Symbol 414 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); } }
Symbol 415 MovieClip [__Packages.LevelTester] Frame 0
class LevelTester { function LevelTester () { } static function testLevel() { var _local3 = new Array(); var _local4 = 0; while (_local4 < 10) { _local3[_local4] = new Array(); var _local2 = 0; while (_local2 < 10) { _local3[_local4][_local2] = new Object(); for (var _local5 in _root.game[_local4][_local2]) { _local3[_local4][_local2][_local5] = _root.game[_local4][_local2][_local5]; } _root.game[_local4][_local2] = new Object(); for (var _local5 in _root.winlevel[_local4][_local2]) { _root.game[_local4][_local2][_local5] = _root.winlevel[_local4][_local2][_local5]; } _local2++; } _local4++; } _root.clearGlowLightFiled(); _root.placeObjects(); _root.highLightField(); _root.placeTiles(); _root.startTracing(); _root.removeSparks(); res = _root.checkWin("test"); _local4 = 0; while (_local4 < 10) { var _local2 = 0; while (_local2 < 10) { _root.game[_local4][_local2] = new Object(); for (var _local5 in _local3[_local4][_local2]) { _root.game[_local4][_local2][_local5] = _local3[_local4][_local2][_local5]; } _local2++; } _local4++; } _local4 = 0; while (_local4 < _root.personages.getNextHighestDepth()) { removeMovieClip(_root.personages.getInstanceAtDepth(_local4)); _local4++; } _local4 = 0; while (_local4 < _root.floor.getNextHighestDepth()) { _root.removeMovieClip(floor["floorLight" + _local4]); _local4++; } _local4 = 0; while (_local4 < _root.tiles.getNextHighestDepth()) { removeMovieClip(_root.tiles["miniTile2" + _local4]); removeMovieClip(_root.tiles["miniTile1" + _local4]); removeMovieClip(_root.tiles["tile" + _local4]); _local4++; } _root.clearGlowLightFiled(); _root.clearGlowLightFiled(); _root.placeObjects(); _root.highLightField(); _root.placeTiles(); _root.startTracing(); _root.removeSparks(); return(res); } }
Symbol 416 MovieClip [__Packages.LevelGenerator] Frame 0
class LevelGenerator { function LevelGenerator () { } static function generateLevel(lev) { function getObject(color) { nextObject = objNames[random(objNames.length)]; while (complexity[nextObject] > levelComplexity) { nextObject = objNames[random(5)]; } if (color != 0) { while (((complexity[nextObject] > levelComplexity) || (nextObject == "filter")) || (nextObject == "prism")) { nextObject = objNames[random(5)]; } } levelComplexity = levelComplexity - complexity[nextObject]; return(nextObject); } function shuffle() { totalReceivers = 0; i = 0; while (i < 10) { j = 0; while (j < 10) { if (game[i][j].objtype == "receiver") { totalReceivers++; } if (game[i][j].objtype && (game[i][j].objtype != "receiver")) { newX = random(10); newY = random(10); while (game[newX][newY].objtype || (game[newX][newY].wall)) { newX = random(10); newY = random(10); } game[newX][newY] = game[i][j]; game[i][j] = new Object({wall:false}); } j++; } i++; } } if (lev < 1) { mincom = (maxcom = 2); } else { mincom = ((lev + 1) / 1.5) + 2; maxcom = ((lev + 1) * 2) + 3; } levelComplexity = random(maxcom - mincom) + Math.round(mincom); initComplexity = levelComplexity; glowx = random(8) + 1; glowy = random(8) + 1; glowd = random(4); game = new Array(); i = 0; while (i < 10) { game[i] = new Array(); j = 0; while (j < 10) { game[i][j] = new Object(); game[i][j].wall = true; game[i][j].fotoned = false; game[i][j].objtype = undefined; j++; } i++; } complexity = new Object(); complexity.filter = 3; complexity.mirror = 3; complexity.splitter = 5; complexity.prism = 6; complexity.cycloid = 7; objNames = new Array("filter", "mirror", "splitter", "prism", "cycloid"); while (((((((((glowx == 1) && (glowd == 2)) || ((glowx == 9) && (glowd == 0))) || ((glowy == 1) && (glowd == 3))) || ((glowy == 9) && (glowd == 1))) || ((glowx == 2) && (glowd == 2))) || ((glowx == 8) && (glowd == 0))) || ((glowy == 2) && (glowd == 3))) || ((glowy == 8) && (glowd == 1))) { glowd = random(4); } trace((((("\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0441\u0432\u0435\u0442\u0430 \u043D\u0430 " + glowx) + ":") + glowy) + ", direction=") + glowd); lightTrails = new Array(); lightTrails.push({x:glowx, y:glowy, direction:glowd, color:0}); game[glowx][glowy].wall = false; game[glowx][glowy].fotoned = true; game[glowx][glowy].objtype = "transmitter"; game[glowx][glowy].color = 0; game[glowx][glowy].direction = glowd; objectsArray = new Array(); while (lightTrails.length) { foton = lightTrails.shift(); trailLength = 0; nextX = foton.x; nextY = foton.y; if (!foton.direction) { (dx = 1); (dy = 0); (oldReverceDirection = 2); } if (foton.direction == 1) { (dx = 0); (dy = 1); (oldReverceDirection = 3); } if (foton.direction == 2) { (dx = -1); (dy = 0); (oldReverceDirection = 0); } if (foton.direction == 3) { (dx = 0); (dy = -1); (oldReverceDirection = 1); } while (((((nextX < 10) && (nextX > 0)) && (nextY < 10)) && (nextY > 0)) && (!game[nextX + dx][nextY + dy].objtype)) { trailLength++; nextX = nextX + dx; nextY = nextY + dy; } if ((trailLength > 1) && (levelComplexity > 2)) { placedObject = getObject(foton.color); newColor = foton.color; newDirection = foton.direction; newObPos = random(trailLength - 2) + 1; newObPosX = foton.x; newObPosY = foton.y; if (!foton.direction) { (newObPosX = newObPosX + newObPos); (newDirection = 2); } if (foton.direction == 1) { (newObPosY = newObPosY + newObPos); (newDirection = 3); } if (foton.direction == 2) { (newObPosX = newObPosX - newObPos); (newDirection = 0); } if (foton.direction == 3) { (newObPosY = newObPosY - newObPos); (newDirection = 1); } while (game[newObPosX][newObPosY].fotoned) { trace("\u041F\u0418\u0417\u0414\u0415\u0426"); newObPos = random(trailLength - 1) + 1; newObPosX = nextX; newObPosY = nextY; if (!foton.direction) { (newObPosX = newObPosX + newObPos); (newDirection = 2); } if (foton.direction == 1) { (newObPosY = newObPosY + newObPos); (newDirection = 3); } if (foton.direction == 2) { (newObPosX = newObPosX - newObPos); (newDirection = 0); } if (foton.direction == 3) { (newObPosY = newObPosY - newObPos); (newDirection = 1); } } if (placedObject == "filter") { newColor = random(3) + 1; newDirection = undefined; while (newColor == foton.color) { newColor = random(3) + 1; } lightTrails.push({x:newObPosX, y:newObPosY, direction:foton.direction, color:newColor}); } if (placedObject == "mirror") { newDirection = random(2); if (((newObPosX == 0) && (newDirection)) && (foton.direction == 3)) { newDirection = 0; } if (((newObPosX == 0) && (!newDirection)) && (foton.direction == 1)) { newDirection = 1; } if (((newObPosX == 9) && (newDirection)) && (foton.direction == 1)) { newDirection = 0; } if (((newObPosX == 9) && (!newDirection)) && (foton.direction == 3)) { newDirection = 1; } if (((newObPosY == 0) && (newDirection)) && (foton.direction == 2)) { newDirection = 0; } if (((newObPosY == 0) && (!newDirection)) && (foton.direction == 0)) { newDirection = 1; } if (((newObPosY == 9) && (newDirection)) && (foton.direction == 0)) { newDirection = 0; } if (((newObPosY == 9) && (!newDirection)) && (foton.direction == 2)) { newDirection = 1; } if (newDirection) { if (!foton.direction) { lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:newColor}); } if (foton.direction == 1) { lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:newColor}); } if (foton.direction == 2) { lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:newColor}); } if (foton.direction == 3) { lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:newColor}); } } else { if (!foton.direction) { lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:newColor}); } if (foton.direction == 1) { lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:newColor}); } if (foton.direction == 2) { lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:newColor}); } if (foton.direction == 3) { lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:newColor}); } } newColor = foton.color; } if (placedObject == "splitter") { if (!foton.direction) { newDirection = 2; lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:newColor}); lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:newColor}); } if (foton.direction == 1) { newDirection = 3; lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:newColor}); lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:newColor}); } if (foton.direction == 2) { newDirection = 0; lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:newColor}); lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:newColor}); } if (foton.direction == 3) { newDirection = 1; lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:newColor}); lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:newColor}); } newColor = undefined; } if (placedObject == "prism") { newDirection = oldReverceDirection; if (!foton.direction) { lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:3}); lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:2}); lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:1}); } if (foton.direction == 1) { lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:1}); lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:3}); lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:2}); } if (foton.direction == 2) { lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:2}); lightTrails.push({x:newObPosX, y:newObPosY, direction:1, color:1}); lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:3}); } if (foton.direction == 3) { lightTrails.push({x:newObPosX, y:newObPosY, direction:0, color:3}); lightTrails.push({x:newObPosX, y:newObPosY, direction:3, color:2}); lightTrails.push({x:newObPosX, y:newObPosY, direction:2, color:1}); } } if (placedObject == "cycloid") { newDirection = random(4); newColor = random(3) + 1; while (newColor == foton.color) { newColor = random(3) + 1; } while (newDirection == oldReverceDirection) { newDirection = random(4); } lightTrails.push({x:newObPosX, y:newObPosY, direction:newDirection, color:newColor}); } i = 0; while (i < newObPos) { game[newObPosX - (dx * i)][newObPosY - (dy * i)].fotoned = true; game[newObPosX - (dx * i)][newObPosY - (dy * i)].wall = false; i++; } trace((((((((((("new object@" + newObPosX) + ":") + newObPosY) + " - ") + placedObject) + ", color: ") + newColor) + ", dir=") + newDirection) + ", light dir=") + foton.direction); game[newObPosX][newObPosY].objtype = placedObject; game[newObPosX][newObPosY].color = newColor; game[newObPosX][newObPosY].direction = newDirection; } else { trace((((((("finishing tracing from " + foton.x) + ":") + foton.y) + " c=") + foton.color) + ", direction:") + foton.direction); trailLength = 0; nextX = foton.x; nextY = foton.y; zzz = 10; if ((foton.direction == 0) || (foton.direction == 1)) { zzz = 9; } while (((((nextX < zzz) && (nextX > 0)) && (nextY < zzz)) && (nextY > 0)) && (!game[nextX + dx][nextY + dy].objtype)) { trailLength++; nextX = nextX + dx; nextY = nextY + dy; game[nextX][nextY].fotoned = true; game[nextX][nextY].wall = false; } if (!game[nextX][nextY].objtype) { game[nextX][nextY].objtype = "receiver"; game[nextX][nextY].color = foton.color; } } } i = 0; while (i < 10) { j = 0; while (j < 10) { if ((((game[i][j + 1].fotoned || (game[i][j - 1].fotoned)) || (game[i - 1][j].fotoned)) || (game[i + 1][j].fotoned)) && (game[i][j].objtype != "receiver")) { game[i][j].wall = random(2); } if (game[i][j].objtype || (game[i][j].fotoned)) { game[i][j].wall = false; } j++; } i++; } _root.winlevel = new Array(); var _local2 = new Array("transmitter"); i = 0; while (i < 10) { _root.winlevel[i] = new Array(); j = 0; while (j < 10) { _root.winlevel[i][j] = new Array(); for (var _local4 in game[i][j]) { _root.winlevel[i][j][_local4] = game[i][j][_local4]; } if (_root.winlevel[i][j].objtype) { _local2.push(_root.winlevel[i][j].objtype); } _root.winlevel[i][j].x = i; _root.winlevel[i][j].y = j; j++; } i++; } _root.helptext.gotoAndStop(8); i = 0; while (i < 8) { k = 0; while (k < _local2.length) { trace((_local2[k] + " ") + _root.so.data[_local2[k] + "HelpShown"]); if ((!_root.so.data[_local2[k] + "HelpShown"]) && (_local2[k] != "receiver")) { _root.helptext._visible = true; _root.helptext.gotoAndStop(_local2[k]); _root.needToShowHelp = _local2[k]; _root.so.data[_local2[k] + "HelpShown"] = true; _root.so.flush(); break; } k++; } i++; } trace("\u041C\u0435\u0448\u0430\u0435\u043C"); shuffle(); if (!totalReceivers) { trace("\u0433\u0435\u043D\u0435\u0440\u0438\u043C \u043D\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C!"); generateLevel(lev); } else { return(game); } } }
Symbol 47 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip { var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled; function UIObject () { super(); constructObject(); } function get width() { return(_width); } function get height() { return(_height); } function get left() { return(_x); } function get x() { return(_x); } function get top() { return(_y); } function get y() { return(_y); } function get right() { return(_parent.width - (_x + width)); } function get bottom() { return(_parent.height - (_y + height)); } function getMinHeight(Void) { return(_minHeight); } function setMinHeight(h) { _minHeight = h; } function get minHeight() { return(getMinHeight()); } function set minHeight(h) { setMinHeight(h); //return(minHeight); } function getMinWidth(Void) { return(_minWidth); } function setMinWidth(w) { _minWidth = w; } function get minWidth() { return(getMinWidth()); } function set minWidth(w) { setMinWidth(w); //return(minWidth); } function setVisible(x, noEvent) { if (x != _visible) { _visible = x; if (noEvent != true) { dispatchEvent({type:(x ? "reveal" : "hide")}); } } } function get visible() { return(_visible); } function set visible(x) { setVisible(x, false); //return(visible); } function get scaleX() { return(_xscale); } function set scaleX(x) { _xscale = x; //return(scaleX); } function get scaleY() { return(_yscale); } function set scaleY(y) { _yscale = y; //return(scaleY); } function doLater(obj, fn) { if (methodTable == undefined) { methodTable = new Array(); } methodTable.push({obj:obj, fn:fn}); onEnterFrame = doLaterDispatcher; } function doLaterDispatcher(Void) { delete onEnterFrame; if (invalidateFlag) { redraw(); } var _local3 = methodTable; methodTable = new Array(); if (_local3.length > 0) { var _local2; while (_local2 = _local3.shift() , _local2 != undefined) { _local2.obj[_local2.fn](); } } } function cancelAllDoLaters(Void) { delete onEnterFrame; methodTable = new Array(); } function invalidate(Void) { invalidateFlag = true; onEnterFrame = doLaterDispatcher; } function invalidateStyle(Void) { invalidate(); } function redraw(bAlways) { if (invalidateFlag || (bAlways)) { invalidateFlag = false; var _local2; for (_local2 in tfList) { tfList[_local2].draw(); } draw(); dispatchEvent({type:"draw"}); } } function draw(Void) { } function move(x, y, noEvent) { var _local3 = _x; var _local2 = _y; _x = x; _y = y; if (noEvent != true) { dispatchEvent({type:"move", oldX:_local3, oldY:_local2}); } } function setSize(w, h, noEvent) { var _local3 = __width; var _local2 = __height; __width = w; __height = h; size(); if (noEvent != true) { dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2}); } } function size(Void) { _width = __width; _height = __height; } function drawRect(x1, y1, x2, y2) { moveTo(x1, y1); lineTo(x2, y1); lineTo(x2, y2); lineTo(x1, y2); lineTo(x1, y1); } function createLabel(name, depth, text) { createTextField(name, depth, 0, 0, 0, 0); var _local2 = this[name]; _local2._color = textColorList; _local2._visible = false; _local2.__text = text; if (tfList == undefined) { tfList = new Object(); } tfList[name] = _local2; _local2.invalidateStyle(); invalidate(); _local2.styleName = this; return(_local2); } function createObject(linkageName, id, depth, initobj) { return(attachMovie(linkageName, id, depth, initobj)); } function createClassObject(className, id, depth, initobj) { var _local3 = className.symbolName == undefined; if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className); } var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj)); if (_local3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return(_local4); } function createEmptyObject(id, depth) { return(createClassObject(mx.core.UIObject, id, depth)); } function destroyObject(id) { var _local2 = this[id]; if (_local2.getDepth() < 0) { var _local4 = buildDepthTable(); var _local5 = findNextAvailableDepth(0, _local4, "up"); var _local3 = _local5; _local2.swapDepths(_local3); } _local2.removeMovieClip(); delete this[id]; } function getSkinIDName(tag) { return(idNames[tag]); } function setSkin(tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return(createObject(linkageName, getSkinIDName(tag), tag, initObj)); } function createSkin(tag) { var _local2 = getSkinIDName(tag); createEmptyObject(_local2, tag); return(this[_local2]); } function createChildren(Void) { } function _createChildren(Void) { createChildren(); childrenCreated = true; } function constructObject(Void) { if (_name == undefined) { return(undefined); } init(); _createChildren(); createAccessibilityImplementation(); _endInit(); if (validateNow) { redraw(true); } else { invalidate(); } } function initFromClipParameters(Void) { var _local4 = false; var _local2; for (_local2 in clipParameters) { if (hasOwnProperty(_local2)) { _local4 = true; this["def_" + _local2] = this[_local2]; delete this[_local2]; } } if (_local4) { for (_local2 in clipParameters) { var _local3 = this["def_" + _local2]; if (_local3 != undefined) { this[_local2] = _local3; } } } } function init(Void) { __width = _width; __height = _height; if (initProperties == undefined) { initFromClipParameters(); } else { initProperties(); } if (_global.cascadingStyles == true) { stylecache = new Object(); } } function getClassStyleDeclaration(Void) { var _local4 = this; var _local3 = className; while (_local3 != undefined) { if (ignoreClassStyleDeclaration[_local3] == undefined) { if (_global.styles[_local3] != undefined) { return(_global.styles[_local3]); } } _local4 = _local4.__proto__; _local3 = _local4.className; } } function setColor(color) { } function __getTextFormat(tf, bAll) { var _local8 = stylecache.tf; if (_local8 != undefined) { var _local3; for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { tf[_local3] = _local8[_local3]; } } } return(false); } var _local6 = false; for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) { if (tf[_local3] == undefined) { var _local5 = _tf[_local3]; if (_local5 != undefined) { tf[_local3] = _local5; } else if ((_local3 == "font") && (fontFamily != undefined)) { tf[_local3] = fontFamily; } else if ((_local3 == "size") && (fontSize != undefined)) { tf[_local3] = fontSize; } else if ((_local3 == "color") && (color != undefined)) { tf[_local3] = color; } else if ((_local3 == "leftMargin") && (marginLeft != undefined)) { tf[_local3] = marginLeft; } else if ((_local3 == "rightMargin") && (marginRight != undefined)) { tf[_local3] = marginRight; } else if ((_local3 == "italic") && (fontStyle != undefined)) { tf[_local3] = fontStyle == _local3; } else if ((_local3 == "bold") && (fontWeight != undefined)) { tf[_local3] = fontWeight == _local3; } else if ((_local3 == "align") && (textAlign != undefined)) { tf[_local3] = textAlign; } else if ((_local3 == "indent") && (textIndent != undefined)) { tf[_local3] = textIndent; } else if ((_local3 == "underline") && (textDecoration != undefined)) { tf[_local3] = textDecoration == _local3; } else if ((_local3 == "embedFonts") && (embedFonts != undefined)) { tf[_local3] = embedFonts; } else { _local6 = true; } } } } if (_local6) { var _local9 = styleName; if (_local9 != undefined) { if (typeof(_local9) != "string") { _local6 = _local9.__getTextFormat(tf, true, this); } else if (_global.styles[_local9] != undefined) { _local6 = _global.styles[_local9].__getTextFormat(tf, true, this); } } } if (_local6) { var _local10 = getClassStyleDeclaration(); if (_local10 != undefined) { _local6 = _local10.__getTextFormat(tf, true, this); } } if (_local6) { if (_global.cascadingStyles) { if (_parent != undefined) { _local6 = _parent.__getTextFormat(tf, false); } } } if (_local6) { _local6 = _global.style.__getTextFormat(tf, true, this); } return(_local6); } function _getTextFormat(Void) { var _local2 = stylecache.tf; if (_local2 != undefined) { return(_local2); } _local2 = new TextFormat(); __getTextFormat(_local2, true); stylecache.tf = _local2; if (enabled == false) { var _local3 = getStyle("disabledColor"); _local2.color = _local3; } return(_local2); } function getStyleName(Void) { var _local2 = styleName; if (_local2 != undefined) { if (typeof(_local2) != "string") { return(_local2.getStyleName()); } return(_local2); } if (_parent != undefined) { return(_parent.getStyleName()); } return(undefined); } function getStyle(styleProp) { var _local3; _global.getStyleCounter++; if (this[styleProp] != undefined) { return(this[styleProp]); } var _local6 = styleName; if (_local6 != undefined) { if (typeof(_local6) != "string") { _local3 = _local6.getStyle(styleProp); } else { var _local7 = _global.styles[_local6]; _local3 = _local7.getStyle(styleProp); } } if (_local3 != undefined) { return(_local3); } var _local7 = getClassStyleDeclaration(); if (_local7 != undefined) { _local3 = _local7[styleProp]; } if (_local3 != undefined) { return(_local3); } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) { var _local5 = stylecache; if (_local5 != undefined) { if (_local5[styleProp] != undefined) { return(_local5[styleProp]); } } if (_parent != undefined) { _local3 = _parent.getStyle(styleProp); } else { _local3 = _global.style[styleProp]; } if (_local5 != undefined) { _local5[styleProp] = _local3; } return(_local3); } } if (_local3 == undefined) { _local3 = _global.style[styleProp]; } return(_local3); } static function mergeClipParameters(o, p) { for (var _local3 in p) { o[_local3] = p[_local3]; } return(true); } static var symbolName = "UIObject"; static var symbolOwner = mx.core.UIObject; static var version = "2.0.2.127"; static var textColorList = {color:1, disabledColor:1}; var invalidateFlag = false; var lineWidth = 1; var lineColor = 0; var tabEnabled = false; var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1}; }
Symbol 48 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject { var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled; function UIComponent () { super(); } function get width() { return(__width); } function get height() { return(__height); } function setVisible(x, noEvent) { super.setVisible(x, noEvent); } function enabledChanged(id, oldValue, newValue) { setEnabled(newValue); invalidate(); delete stylecache.tf; return(newValue); } function setEnabled(enabled) { invalidate(); } function getFocus() { var selFocus = Selection.getFocus(); return(((selFocus === null) ? null : (eval (selFocus)))); } function setFocus() { Selection.setFocus(this); } function getFocusManager() { var _local2 = this; while (_local2 != undefined) { if (_local2.focusManager != undefined) { return(_local2.focusManager); } _local2 = _local2._parent; } return(undefined); } function onKillFocus(newFocus) { removeEventListener("keyDown", this); removeEventListener("keyUp", this); dispatchEvent({type:"focusOut"}); drawFocus(false); } function onSetFocus(oldFocus) { addEventListener("keyDown", this); addEventListener("keyUp", this); dispatchEvent({type:"focusIn"}); if (getFocusManager().bDrawFocus != false) { drawFocus(true); } } function findFocusInChildren(o) { if (o.focusTextField != undefined) { return(o.focusTextField); } if (o.tabEnabled == true) { return(o); } return(undefined); } function findFocusFromObject(o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return(undefined); } if (o._parent.tabEnabled == true) { o = o._parent; } else if (o._parent.tabChildren) { o = findFocusInChildren(o._parent); } else { o = findFocusFromObject(o._parent); } } return(o); } function pressFocus() { var _local3 = findFocusFromObject(this); var _local2 = getFocus(); if (_local3 != _local2) { _local2.drawFocus(false); if (getFocusManager().bDrawFocus != false) { _local3.drawFocus(true); } } } function releaseFocus() { var _local2 = findFocusFromObject(this); if (_local2 != getFocus()) { _local2.setFocus(); } } function isParent(o) { while (o != undefined) { if (o == this) { return(true); } o = o._parent; } return(false); } function size() { } function init() { super.init(); _xscale = 100; _yscale = 100; _focusrect = _global.useFocusRect == false; watch("enabled", enabledChanged); if (enabled == false) { setEnabled(false); } } function dispatchValueChangedEvent(value) { dispatchEvent({type:"valueChanged", value:value}); } static var symbolName = "UIComponent"; static var symbolOwner = mx.core.UIComponent; static var version = "2.0.2.127"; static var kStretch = 5000; var focusEnabled = true; var tabEnabled = true; var origBorderStyles = {themeColor:16711680}; var clipParameters = {}; static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); }
Symbol 49 MovieClip [__Packages.HiScores] Frame 0
class HiScores extends mx.core.UIComponent { var _visible, gameId, levelId, gameCode, lowIsBest, score, invalidate, getURL; function HiScores () { super(); _visible = false; } function setDetails(gameId, levelId, gameCode, lowIsBest, score, msg1, msg2) { this.gameId = gameId; this.levelId = levelId; this.gameCode = gameCode; this.lowIsBest = lowIsBest; this.score = score; movEntryScreen = movEntryScreen; movInfoScreen = movInfoScreen; movEntryScreen.txtMsg1.text = msg1; movEntryScreen.txtMsg2.text = msg2; movEntryScreen.txtName.text = ""; movEntryScreen.txtCode.text = ""; movEntryScreen._visible = true; movInfoScreen._visible = false; secCodeLoad(); _visible = true; } function createChildren() { size(); } function size() { super.size(); invalidate(); } function secCodeLoad() { var _local2 = new MovieClipLoader(); _local2.loadClip((HS_SERVLET_URL + "?type=genCode&cachebuster=") + new Date().getTime(), movEntryScreen.movCode); } function back() { movEntryScreen._visible = true; movInfoScreen._visible = false; } function viewScore() { getURL((((((((HI_SCORE_URL + gameCode) + "_hs") + "&name=") + movEntryScreen.txtName.text) + "&levelId=") + levelId) + "&cachebuster=") + new Date().getTime(), "_blank"); } function showInfoMessage(msg, error) { movInfoScreen.txtInfo.text = msg; movInfoScreen.btnBack._visible = error; movInfoScreen.btnView._visible = !error; } function submitScore() { movEntryScreen._visible = false; movInfoScreen._visible = true; var _local8 = true; if (movEntryScreen.txtName.text.length == 0) { showInfoMessage("Please enter your name.", true); } else if (movEntryScreen.txtCode.text.length != 5) { showInfoMessage("Please enter all 5 letters of the security code.", true); } else { showInfoMessage("Submitting hi-score details to the server, please wait.", true); movInfoScreen.btnBack._visible = false; _local8 = false; } if (!_local8) { var _local9 = movEntryScreen.txtName.text; var _local4 = (((((((("save|" + _local9) + "|") + movEntryScreen.txtCode.text) + "|") + score) + "|") + gameId) + "|") + levelId; var _local5 = ""; var _local3 = 0; var _local2 = 0; while (_local3 < _local4.length) { if (_local2 >= KEY.length) { _local2 = 0; } _local5 = _local5 + String.fromCharCode((_local4.charCodeAt(_local3) ^ KEY.charCodeAt(_local2)) + 1); _local3++; _local2++; } var self = this; var _local6 = new LoadVars(); _local6.ffdata = _local5; _local6.lowIsBest = lowIsBest; _local6.sendAndLoad(HS_SERVLET_URL, _local6, "POST"); _local6.onLoad = function (success) { var _local2 = parseInt(this.res); if (!success) { self.showInfoMessage("A serious problem was encountered with the server, please try again in a few minutes.", true); } else if (_local2 == -1) { self.showInfoMessage("Could not store hi-score details. Click on back, generate a new security code and re-submit.", true); } else if (_local2 == 0) { self.showInfoMessage("Sorry, a better score already exists with that name.", false); } else if (_local2 == 1) { self.showInfoMessage("Congratulations! You made it into the\nhi-score table.", false); } }; } } static var symbolName = "HiScores"; static var symbolOwner = HiScores; var className = "HiScores"; static var SERVER_URL = "http://www.gimme5games.com"; static var SERVLET_URL = SERVER_URL + "/servlet/otwServlet"; static var HS_SERVLET_URL = SERVER_URL + "/servlet/hiServlet"; static var HI_SCORE_URL = SERVER_URL + "/index.jsp?id="; var KEY = "rocket"; var movEntryScreen = null; var movInfoScreen = null; }
Symbol 84 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip { var _visible, _x, _y, _width, _height; function SkinElement () { super(); } static function registerElement(name, className) { Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className))); _global.skinRegistry[name] = true; } function __set__visible(visible) { _visible = visible; } function move(x, y) { _x = x; _y = y; } function setSize(w, h) { _width = w; _height = h; } }
Symbol 85 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles { function CSSTextStyles () { } static function addTextStyles(o, bColor) { o.addProperty("textAlign", function () { return(this._tf.align); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty("fontWeight", function () { return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == "bold"; }); if (bColor) { o.addProperty("color", function () { return(this._tf.color); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty("fontFamily", function () { return(this._tf.font); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty("textIndent", function () { return(this._tf.indent); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty("fontStyle", function () { return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == "italic"; }); o.addProperty("marginLeft", function () { return(this._tf.leftMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty("marginRight", function () { return(this._tf.rightMargin); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty("fontSize", function () { return(this._tf.size); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty("textDecoration", function () { return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined)); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == "underline"; }); o.addProperty("embedFonts", function () { return(this._tf.embedFonts); }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); } }
Symbol 86 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager { function StyleManager () { } static function registerInheritingStyle(styleName) { inheritingStyles[styleName] = true; } static function isInheritingStyle(styleName) { return(inheritingStyles[styleName] == true); } static function registerColorStyle(styleName) { colorStyles[styleName] = true; } static function isColorStyle(styleName) { return(colorStyles[styleName] == true); } static function registerColorName(colorName, colorValue) { colorNames[colorName] = colorValue; } static function isColorName(colorName) { return(colorNames[colorName] != undefined); } static function getColorName(colorName) { return(colorNames[colorName]); } static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true}; static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true}; static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344}; static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false}; static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true}; }
Symbol 87 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration { var _tf; function CSSStyleDeclaration () { } function __getTextFormat(tf, bAll) { var _local5 = false; if (_tf != undefined) { var _local2; for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) { if (tf[_local2] == undefined) { var _local3 = _tf[_local2]; if (_local3 != undefined) { tf[_local2] = _local3; } else { _local5 = true; } } } } } else { _local5 = true; } return(_local5); } function getStyle(styleProp) { var _local2 = this[styleProp]; var _local3 = mx.styles.StyleManager.getColorName(_local2); return(((_local3 == undefined) ? (_local2) : (_local3))); } static function classConstruct() { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return(true); } static var classConstructed = classConstruct(); static var CSSTextStylesDependency = mx.styles.CSSTextStyles; }
Symbol 88 MovieClip [__Packages.Splash] Frame 0
class Splash extends mx.core.UIComponent { var useHandCursor, boundingBox_mc, invalidate; function Splash () { super(); } function init() { super.init(); useHandCursor = false; boundingBox_mc._visible = false; } function createChildren() { size(); } function size() { super.size(); invalidate(); } function draw() { super.draw(); if (_global.isLivePreview) { boundingBox_mc._visible = true; } else { boundingBox_mc._visible = false; } } function getFrameAfterCompletion() { return(frameAfterCompletion); } function setFrameAfterCompletion(frameAfterCompletion) { this.frameAfterCompletion = frameAfterCompletion; } static var symbolName = "Splash"; static var symbolOwner = Splash; var className = "Splash"; var frameAfterCompletion = 0; }
Symbol 98 Button
on (release) { getURL ("http://www.gimme5games.com", "_blank"); }
Symbol 109 MovieClip [Splash] Frame 1
#initclip 13 Object.registerClass("Splash", Splash); #endinitclip
Symbol 109 MovieClip [Splash] Frame 91
_root.gotoAndStop(this.getFrameAfterCompletion());
Instance of Symbol 109 MovieClip [Splash] in Symbol 110 MovieClip [g5_splash] Frame 1
//component parameters onClipEvent (construct) { frameAfterCompletion = 0; enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 110 MovieClip [g5_splash] Frame 70
removeMovieClip(this);
Symbol 128 MovieClip [cursor2] Frame 1
stop(); onEnterFrame = function () { t = t + 0.07; dr = Math.cos(t) * 200; t3._rotation = dr / 1.2; };
Symbol 143 MovieClip [helptool] Frame 1
function showline() { clear(); line._visible = true; line._rotation = 0; d = Math.sqrt(((h1._x - h2._x) * (h1._x - h2._x)) + ((h1._y - h2._y) * (h1._y - h2._y))); line._width = d; line._rotation = Math.atan2(h1._y - h2._y, h1._x - h2._x) * 57.3; line._x = h2._x; line._y = h2._y; } function hidehint() { h1._x = -60; h1._y = -60; h2._x = -60; h2._y = -60; line._visible = false; }
Symbol 169 MovieClip Frame 1
stop();
Symbol 173 MovieClip [options] Frame 1
function toggleSounds() { _root.so.data.soundMuted = !_root.so.data.soundMuted; _root.so.flush(); if (_root.so.data.soundMuted) { stopAllSounds(); } else { _root.bgsound.start(0, 1000); } } a = 100; _alpha = 0; onEnterFrame = function () { _alpha = (_alpha + ((a - _alpha) / 10)); if (_alpha < 0) { removeMovieClip(this); } };
Instance of Symbol 163 MovieClip "high" in Symbol 173 MovieClip [options] Frame 1
onClipEvent (load) { if (_root.so.data.q == "HIGH") { filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; } else { filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; } } on (release) { _quality = "HIGH"; _root.so.data.q = "HIGH"; _root.so.flush(); filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; _parent.low.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; _parent.medium.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; }
Instance of Symbol 165 MovieClip "medium" in Symbol 173 MovieClip [options] Frame 1
onClipEvent (load) { if (_root.so.data.q == "MEDIUM") { filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; } else { filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; } } on (release) { _quality = "MEDIUM"; _root.so.data.q = "MEDIUM"; _root.so.flush(); filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; _parent.high.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; _parent.low.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; }
Instance of Symbol 167 MovieClip "low" in Symbol 173 MovieClip [options] Frame 1
onClipEvent (load) { if (_root.so.data.q == "LOW") { filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; } else { filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; } } on (release) { _quality = "LOW"; _root.so.data.q = "LOW"; _root.so.flush(); filters = [new flash.filters.GlowFilter(16777215, 1, 10, 10, 10, 1, true, false)]; _parent.high.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; _parent.medium.filters = [new flash.filters.GlowFilter(16777215, 1, 3, 3, 20, 2, false, false)]; }
Instance of Symbol 169 MovieClip "mute" in Symbol 173 MovieClip [options] Frame 1
on (rollOver, dragOver) { gotoAndStop (2); } on (rollOut, dragOut) { gotoAndStop (1); } on (release) { _parent.toggleSounds(); }
Instance of Symbol 171 MovieClip in Symbol 173 MovieClip [options] Frame 1
onClipEvent (enterFrame) { _visible = (!_root.so.data.soundMuted); }
Symbol 215 MovieClip [help] Frame 1
a = 100; _alpha = 0; onEnterFrame = function () { _alpha = (_alpha + ((a - _alpha) / 10)); if (_alpha < 0) { removeMovieClip(this); } };
Instance of Symbol 214 MovieClip [cycloid] in Symbol 215 MovieClip [help] Frame 1
onClipEvent (load) { stop(); }
Symbol 216 MovieClip [inGameMenu] Frame 1
stop();
Instance of Symbol 151 MovieClip in Symbol 216 MovieClip [inGameMenu] Frame 1
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.gameMenu = false; removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); removeMovieClip(_root.splash); _root.levelPassed = false; _root.lev--; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { _root.bgsound.start(0, 1000); } _root.gotoAndStop(5); removeMovieClip(_parent); }
Instance of Symbol 154 MovieClip in Symbol 216 MovieClip [inGameMenu] Frame 1
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.gameMenu = false; removeMovieClip(_parent); }
Instance of Symbol 156 MovieClip in Symbol 216 MovieClip [inGameMenu] Frame 1
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); }
Instance of Symbol 159 MovieClip in Symbol 216 MovieClip [inGameMenu] Frame 1
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.gameMenu = false; _parent.gotoAndStop(2); }
Instance of Symbol 175 MovieClip in Symbol 216 MovieClip [inGameMenu] Frame 2
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (release, releaseOutside) { _parent.gotoAndStop(1); }
Symbol 231 MovieClip Frame 33
gotoAndPlay (6);
Symbol 233 MovieClip Frame 41
gotoAndPlay (20);
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 3
stop();
Symbol 234 MovieClip Frame 4
stop();
Symbol 241 MovieClip [filter] Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 3
stop();
Symbol 255 MovieClip [receiver] Frame 1
stop();
Symbol 262 MovieClip [splitter] Frame 1
stop();
Symbol 266 MovieClip [about] Frame 1
a = 100; _alpha = 0; onEnterFrame = function () { _alpha = (_alpha + ((a - _alpha) / 10)); if (_alpha < 0) { removeMovieClip(this); } };
Instance of Symbol 277 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (load) { n = 0; } onClipEvent (enterFrame) { n = n + 0.01; _rotation = (Math.cos(n) * 3); }
Instance of Symbol 277 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (load) { n = 0; } onClipEvent (enterFrame) { n = n + 0.01; _rotation = (180 + (Math.sin(n) * 3)); }
Instance of Symbol 279 MovieClip in Symbol 280 MovieClip Frame 1
onClipEvent (enterFrame) { _visible = (!_parent._parent.back._visible); }
Instance of Symbol 285 MovieClip "light" in Symbol 288 MovieClip Frame 1
onClipEvent (load) { da = 0; _alpha = 0; } onClipEvent (enterFrame) { _alpha = (_alpha + ((da - _alpha) / 5)); }
Instance of Symbol 287 MovieClip "item" in Symbol 288 MovieClip Frame 1
onClipEvent (load) { w = 100; } onClipEvent (enterFrame) { _xscale = (_xscale + ((w - _xscale) / 4)); _yscale = _xscale; }
Symbol 293 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 1
function setActions() { i = 0; while (i < 8) { this["b" + i].n = i + ((_currentframe - 2) * 8); if ((i + ((_currentframe - 2) * 8)) < 33) { if (_root.so.data[("level" + (i + ((_currentframe - 2) * 8))) + "passed"]) { this["b" + i].gotoAndStop(2); } else { this["b" + i].gotoAndStop(1); } this["b" + i].onPress = function () { with (this) { _root.lev = n; trace("STARTING LEVEL " + _root.lev); _root.startPlaying(); } }; } else { this["b" + i].onPress = null; } i++; } } stop(); levelsPassed = 0; i = 0; while (i < 33) { if (_root.so.data[("level" + i) + "passed"]) { levelsPassed++; } i++; } if (levelsPassed > 8) { gotoAndStop (3); } else { gotoAndStop (2); } if (levelsPassed > 16) { gotoAndStop (4); } if (levelsPassed > 24) { gotoAndStop (5); }
Symbol 315 MovieClip Frame 2
pass1 = 0; i = 0; while (i < 8) { if (_root.so.data[("level" + i) + "passed"]) { pass1++; } i++; } z0._visible = false; if (pass1 > 6) { z0._visible = true; } setActions();
Instance of Symbol 302 MovieClip "z0" in Symbol 315 MovieClip Frame 2
on (release) { _parent.nextFrame(); }
Symbol 315 MovieClip Frame 3
pass2 = 0; i = 0; while (i < 8) { if (_root.so.data[("level" + (i + 8)) + "passed"]) { pass2++; } i++; } z1._visible = false; if (pass2 > 6) { z1._visible = true; } setActions();
Instance of Symbol 302 MovieClip "z1" in Symbol 315 MovieClip Frame 3
on (release) { _parent.nextFrame(); }
Instance of Symbol 308 MovieClip in Symbol 315 MovieClip Frame 3
on (release) { _parent.prevFrame(); }
Symbol 315 MovieClip Frame 4
pass3 = 0; i = 0; while (i < 8) { if (_root.so.data[("level" + (i + 16)) + "passed"]) { pass3++; } i++; } z2._visible = false; if (pass3 > 6) { z2._visible = true; } setActions();
Instance of Symbol 302 MovieClip "z2" in Symbol 315 MovieClip Frame 4
on (release) { _parent.nextFrame(); }
Symbol 315 MovieClip Frame 5
setActions();
Symbol 316 MovieClip [mainMenu] Frame 20
function hideMenu(mc) { i = 1; while (i < 8) { if (this["button" + i] != mc) { this["button" + i].x = -300; this["button" + i].act = false; } i++; } mc.y = 142; mc.act = true; back.a = 100; back.enabled = true; menuhidden = true; } function showMenu() { menuhidden = false; i = 1; while (i < 8) { if (this["button" + i] != mc) { this["button" + i].x = 0; this["button" + i].y = 100 + (i * 52); this["button" + i].act = false; this["button" + i].light.da = 0; this["button" + i].item.w = 100; this["button" + i].icon.sprite.gotoAndStop(1); } i++; } help.a = -10; about.a = -10; options.a = -10; newGame.a = -10; ngame._visible = false; } clouds.swapDepths(getNextHighestDepth()); back.swapDepths(getNextHighestDepth()); cursor.swapDepths(getNextHighestDepth()); stop(); startDrag (cursor, true); Mouse.hide(); cursor.onEnterFrame = function () { if (ASnative(800, 2) /* [Key] isDown */(2)) { Mouse.hide(); startDrag (this, true); this.swapDepths(this._parent.getNextHighestDepth()); } }; if (puzzleNextLevel) { puzzleNextLevel = false; ngame.puzzleNextLevel = true; ngame.swapDepths(getNextHighestDepth()); cursor.swapDepths(getNextHighestDepth()); ngame._visible = true; back._visible = true; back.a = (back._alpha = 100); } else { showMenu(); }
Instance of Symbol 280 MovieClip "clouds" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (enterFrame) { _x = (_x + ((595 - _x) / 20)); }
Instance of Symbol 288 MovieClip "button1" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { item.title = "Play"; icon.gotoAndStop(2); t = parseInt(_name.substr(6, 1)); x = _x; act = false; } onClipEvent (enterFrame) { t = t + 0.2; _yscale = ((Math.sin(t) * 2) + 100); _xscale = ((Math.sin(t) * 2) + 100); _y = (_y + ((y - _y) / 10)); _x = (_x + ((x - _x) / 10)); if (act) { item.w = 120; light.da = 100; } } on (rollOver, dragOver) { light.da = 100; item.w = 120; icon.sprite.gotoAndStop(2); } on (rollOut, dragOut) { if (!act) { light.da = 0; item.w = 100; icon.sprite.gotoAndStop(1); } } on (release, releaseOutside) { if (!_parent.menuhidden) { _parent.attachMovie("newGame", "newGame", _parent.getNextHighestDepth()); _parent.cursor.swapDepths(_parent.getNextHighestDepth()); _parent.hideMenu(this); menuSound = new Sound(); menuSound.attachSound("menu_in"); if (!_root.so.data.soundMuted) { menuSound.start(); } } }
Instance of Symbol 288 MovieClip "button2" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { item.title = "Options"; icon.gotoAndStop(3); t = parseInt(_name.substr(6, 1)); x = _x; act = false; } onClipEvent (enterFrame) { t = t + 0.2; _yscale = ((Math.sin(t) * 2) + 100); _xscale = ((Math.sin(t) * 2) + 100); _y = (_y + ((y - _y) / 10)); _x = (_x + ((x - _x) / 10)); if (act) { item.w = 120; light.da = 100; } } on (rollOver, dragOver) { light.da = 100; item.w = 120; icon.sprite.gotoAndStop(2); } on (rollOut, dragOut) { if (!act) { light.da = 0; item.w = 100; icon.sprite.gotoAndStop(1); } } on (release, releaseOutside) { if (!_parent.menuhidden) { _parent.attachMovie("options", "options", _parent.getNextHighestDepth()); _parent.cursor.swapDepths(_parent.getNextHighestDepth()); _parent.hideMenu(this); menuSound = new Sound(); menuSound.attachSound("menu_in"); if (!_root.so.data.soundMuted) { menuSound.start(); } } }
Instance of Symbol 288 MovieClip "button3" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { item.title = "Help"; icon.gotoAndStop(4); t = parseInt(_name.substr(6, 1)); x = _x; act = false; } onClipEvent (enterFrame) { t = t + 0.2; _yscale = ((Math.sin(t) * 2) + 100); _xscale = ((Math.sin(t) * 2) + 100); _y = (_y + ((y - _y) / 10)); _x = (_x + ((x - _x) / 10)); if (act) { item.w = 120; light.da = 100; } } on (rollOver, dragOver) { light.da = 100; item.w = 120; icon.sprite.gotoAndStop(2); } on (rollOut, dragOut) { if (!act) { light.da = 0; item.w = 100; icon.sprite.gotoAndStop(1); } } on (release, releaseOutside) { if (!_parent.menuhidden) { _parent.attachMovie("help", "help", _parent.getNextHighestDepth()); _parent.cursor.swapDepths(_parent.getNextHighestDepth()); _parent.hideMenu(this); menuSound = new Sound(); menuSound.attachSound("menu_in"); if (!_root.so.data.soundMuted) { menuSound.start(); } } }
Instance of Symbol 288 MovieClip "button4" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { item.title = "About"; icon.gotoAndStop(0); t = parseInt(_name.substr(6, 1)); x = _x; act = false; } onClipEvent (enterFrame) { t = t + 0.2; _yscale = ((Math.sin(t) * 2) + 100); _xscale = ((Math.sin(t) * 2) + 100); _y = (_y + ((y - _y) / 10)); _x = (_x + ((x - _x) / 10)); if (act) { item.w = 120; light.da = 100; } } on (rollOver, dragOver) { light.da = 100; item.w = 120; icon.sprite.gotoAndStop(2); } on (rollOut, dragOut) { if (!act) { light.da = 0; item.w = 100; icon.sprite.gotoAndStop(1); } } on (release, releaseOutside) { if (!_parent.menuhidden) { _parent.attachMovie("about", "about", _parent.getNextHighestDepth()); _parent.cursor.swapDepths(_parent.getNextHighestDepth()); _parent.hideMenu(this); menuSound = new Sound(); menuSound.attachSound("menu_in"); if (!_root.so.data.soundMuted) { menuSound.start(); } } }
Instance of Symbol 269 MovieClip "back" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { _alpha = 0; a = 0; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); if (_alpha < 4) { _alpha = 0; _visible = false; } else { _visible = true; } if (_parent.ngame._visible) { a = 100; } } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { if (a) { menuSound = new Sound(); menuSound.attachSound("menu_out"); if (!_root.so.data.soundMuted) { menuSound.start(); } } a = 0; if (_parent.menuhidden || (_root.backButtonActive)) { if (_root.backButtonActive) { _root.backButtonActive = true; } _parent.showMenu(); } }
Instance of Symbol 315 MovieClip "ngame" in Symbol 316 MovieClip [mainMenu] Frame 20
onClipEvent (load) { if (!puzzleNextLevel) { _visible = false; } else { _visible = true; _parent.back._visible = true; puzzleNextLevel = false; } }
Symbol 323 MovieClip [newGame] Frame 1
a = 100; _alpha = 0; onEnterFrame = function () { _alpha = (_alpha + ((a - _alpha) / 10)); if (_alpha < 0) { removeMovieClip(this); } };
Instance of Symbol 319 MovieClip in Symbol 323 MovieClip [newGame] Frame 1
onClipEvent (load) { _alpha = 0; if (_root.so.data.playedTimerMode) { a = 100; } else { a = 50; } } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { if (_root.so.data.playedTimerMode) { a = 0; _root.playMode = "puzzle"; _parent._visible = false; _parent._parent.ngame._visible = true; _parent._parent.ngame.swapDepths(_parent._parent.getNextHighestDepth()); _parent._parent.cursor.swapDepths(_parent._parent.getNextHighestDepth()); } else { _root.mainMenu.warn.play(); } }
Instance of Symbol 322 MovieClip in Symbol 323 MovieClip [newGame] Frame 1
onClipEvent (load) { _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { a = 0; _root.playMode = "timer"; _root.startPlaying(); }
Symbol 351 MovieClip Frame 313
onMouseUp = function () { _root.nextFrame(); };
Symbol 351 MovieClip Frame 792
_root.nextFrame();
Symbol 357 MovieClip Frame 1
stop();
Symbol 366 Button
on (release) { if (!_root.gameMenu) { _root.gameMenu = true; _root.attachMovie("inGameMenu", "inGameMenu", _root.getNextHighestDepth()); _root.cursor2.swapDepths(_root.getNextHighestDepth()); } } on (rollOver, dragOver) { if (!((_root.youwin._currentframe == 1) && (_root.youwin._visible))) { _root.youwin._visible = true; _root.youwin.gotoAndStop(3); } } on (rollOut, dragOut) { if (!((_root.youwin._currentframe == 1) && (_root.youwin._visible))) { _root.youwin._visible = false; } }
Symbol 372 MovieClip Frame 1
t = 20; onEnterFrame = function () { t = t + ((time - t) / 10); ti = Math.round(t); };
Symbol 375 MovieClip Frame 1
trace((_root.playMode + " ") + hb.sprite); if (_root.playMode == "timer") { this.hb.sprite.gotoAndStop(1); } else { this.hb.sprite.gotoAndStop(2); }
Instance of Symbol 367 MovieClip "hb" in Symbol 375 MovieClip Frame 1
onClipEvent (load) { stop(); } on (release) { gotoAndStop (1); if (_root.playMode == "timer") { _root.getHelp(); } else { _root.levelPassed = false; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { _root.bgsound.start(0, 1000); } removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); removeMovieClip(_root.splashx); _root.puzzleNextLevel = true; _root.gotoAndStop(5); _root.gameMenu = false; } } on (press) { gotoAndStop (3); } on (rollOver, dragOver) { gotoAndStop (2); if (!((_root.youwin._currentframe == 1) && (_root.youwin._visible))) { _root.youwin._visible = true; if (_root.playMode == "timer") { _root.youwin.gotoAndStop(2); } else { _root.youwin.gotoAndStop(4); } } } on (rollOut, dragOut) { gotoAndStop (1); if (!((_root.youwin._currentframe == 1) && (_root.youwin._visible))) { _root.youwin._visible = false; } }
Instance of Symbol 374 MovieClip "rg" in Symbol 375 MovieClip Frame 1
onClipEvent (load) { function shortStart() { _visible = true; t = 0; setTimeout(hideGlow, 500); } function hideGlow() { _visible = false; } t = 0; _visible = false; } onClipEvent (enterFrame) { if (_visible) { t = t + 0.2; _alpha = ((Math.sin(t) * 50) + 50); } }
Symbol 380 MovieClip Frame 1
stop();
Instance of Symbol 83 MovieClip [HiScores] in Symbol 380 MovieClip Frame 15
//component parameters onClipEvent (construct) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 385 MovieClip Frame 1
onRelease = function () { getURL ("http://picasogames.com", "_blank"); };
Symbol 385 MovieClip Frame 85
_global.picasofinished(); stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 30
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
stop(); score = 0; onEnterFrame = function () { tscore = tscore + ((score - tscore) / 3); yourscore = Math.round(tscore); };
Instance of Symbol 151 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) { title = "Menu"; _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.levelPassed = false; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); if (!_root.so.data.soundMuted) { _root.bgsound.start(0, 1000); } _root.gotoAndStop(5); _root.gameMenu = false; removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); removeMovieClip(_root.splashx); removeMovieClip(_parent); }
Instance of Symbol 154 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; title = "New game"; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.gameMenu = false; _root.lose = false; _root.lev2 = -1; _root.antenn.currentlevel = 1; _root.game = _root.LevelGenerator.generateLevel(_root.lev2); _root.nextLevel(_root.lev2); _root.playTime = _root.playTime + 20; _parent._visible = false; }
Instance of Symbol 377 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) { title = "Submit Score"; _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _parent.gotoAndStop(2); }
Symbol 405 MovieClip Frame 2
movHiScores.setDetails(86, 0, "prism", false, score, score, " ");
Instance of Symbol 151 MovieClip in Symbol 405 MovieClip Frame 2
onClipEvent (load) { title = "Menu"; _alpha = 0; a = 100; } onClipEvent (enterFrame) { _alpha = (_alpha + ((a - _alpha) / 5)); } on (rollOver, dragOver) { filters = [new flash.filters.GlowFilter(16777215, 1, 4, 4, 1, 2, false, false)]; } on (rollOut, dragOut) { filters = []; } on (release, releaseOutside) { _root.gameMenu = false; removeMovieClip(_root.lights); removeMovieClip(_root.tiles); removeMovieClip(_root.floor); removeMovieClip(_root.rays); removeMovieClip(_root.effects); removeMovieClip(_root.personages); removeMovieClip(_root.cursor2); removeMovieClip(_root.youwin); removeMovieClip(_root.splashx); _root.levelPassed = false; _root.bgsound.stop(); _root.bgsound.attachSound("MUS1"); _root.bgsound.start(0, 1000); _root.gotoAndStop(5); removeMovieClip(_parent); }
Instance of Symbol 83 MovieClip [HiScores] "movHiScores" in Symbol 405 MovieClip Frame 2
//component parameters onClipEvent (construct) { enabled = true; visible = true; minHeight = 0; minWidth = 0; }
Symbol 413 MovieClip Frame 1
stop();

Library Items

Symbol 1 MovieClip [effects]
Symbol 2 ShapeTweeningUsed by:17
Symbol 3 ShapeTweeningUsed by:17
Symbol 4 ShapeTweeningUsed by:17
Symbol 5 ShapeTweeningUsed by:17
Symbol 6 ShapeTweeningUsed by:17
Symbol 7 ShapeTweeningUsed by:17
Symbol 8 GraphicUsed by:17
Symbol 9 ShapeTweeningUsed by:17
Symbol 10 GraphicUsed by:17 169
Symbol 11 ShapeTweeningUsed by:17
Symbol 12 ShapeTweeningUsed by:17
Symbol 13 ShapeTweeningUsed by:17
Symbol 14 ShapeTweeningUsed by:17
Symbol 15 ShapeTweeningUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip [spark]Uses:2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Symbol 18 ShapeTweeningUsed by:28
Symbol 19 ShapeTweeningUsed by:28
Symbol 20 ShapeTweeningUsed by:28
Symbol 21 ShapeTweeningUsed by:28
Symbol 22 GraphicUsed by:28
Symbol 23 ShapeTweeningUsed by:28
Symbol 24 ShapeTweeningUsed by:28
Symbol 25 ShapeTweeningUsed by:28
Symbol 26 ShapeTweeningUsed by:28
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip [whiteSplash]Uses:18 19 20 21 22 23 24 25 26 27
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:31
Symbol 31 MovieClip [glow]Uses:30
Symbol 32 ShapeTweeningUsed by:40
Symbol 33 ShapeTweeningUsed by:40
Symbol 34 ShapeTweeningUsed by:40
Symbol 35 GraphicUsed by:40
Symbol 36 ShapeTweeningUsed by:40
Symbol 37 ShapeTweeningUsed by:40
Symbol 38 ShapeTweeningUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClip [splashx]Uses:32 33 34 35 36 37 38 39
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClip [dot]Uses:41
Symbol 43 MovieClip [beamSpark]
Symbol 44 MovieClip [stars]Used by:380
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip [star]Uses:45Used by:380
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:83
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:83
Symbol 54 GraphicUsed by:73
Symbol 55 FontUsed by:56 57 58 59 60 64 66 72 74 75 77 78 81
Symbol 56 TextUses:55Used by:73
Symbol 57 EditableTextUses:55Used by:73
Symbol 58 EditableTextUses:55Used by:73
Symbol 59 TextUses:55Used by:73
Symbol 60 EditableTextUses:55Used by:73
Symbol 61 GraphicUsed by:67 76 79
Symbol 62 GraphicUsed by:67 76 79
Symbol 63 GraphicUsed by:67 76 79
Symbol 64 TextUses:55Used by:67
Symbol 65 GraphicUsed by:67 76 79
Symbol 66 TextUses:55Used by:67
Symbol 67 ButtonUses:61 62 63 64 65 66Used by:73
Symbol 68 GraphicUsed by:69
Symbol 69 ButtonUses:68Used by:73
Symbol 70 GraphicUsed by:73
Symbol 71 MovieClipUsed by:73
Symbol 72 EditableTextUses:55Used by:73
Symbol 73 MovieClipUses:54 56 57 58 59 60 67 69 70 71 72Used by:83
Symbol 74 TextUses:55Used by:76
Symbol 75 TextUses:55Used by:76
Symbol 76 ButtonUses:61 62 63 74 65 75Used by:82
Symbol 77 TextUses:55Used by:79
Symbol 78 TextUses:55Used by:79
Symbol 79 ButtonUses:61 62 63 77 65 78Used by:82
Symbol 80 GraphicUsed by:82
Symbol 81 EditableTextUses:55Used by:82
Symbol 82 MovieClipUses:76 79 80 81Used by:83
Symbol 83 MovieClip [HiScores]Uses:51 53 73 82Used by:380 405
Symbol 414 MovieClip [__Packages.MochiAd]
Symbol 415 MovieClip [__Packages.LevelTester]
Symbol 416 MovieClip [__Packages.LevelGenerator]
Symbol 47 MovieClip [__Packages.mx.core.UIObject]
Symbol 48 MovieClip [__Packages.mx.core.UIComponent]
Symbol 49 MovieClip [__Packages.HiScores]
Symbol 84 MovieClip [__Packages.mx.skins.SkinElement]
Symbol 85 MovieClip [__Packages.mx.styles.CSSTextStyles]
Symbol 86 MovieClip [__Packages.mx.styles.StyleManager]
Symbol 87 MovieClip [__Packages.mx.styles.CSSStyleDeclaration]
Symbol 88 MovieClip [__Packages.Splash]
Symbol 89 GraphicUsed by:95
Symbol 90 GraphicUsed by:95
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:91Used by:95
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:95
Symbol 95 MovieClipUses:89 90 92 94Used by:109
Symbol 96 GraphicUsed by:98
Symbol 97 GraphicUsed by:98
Symbol 98 ButtonUses:96 97Used by:109
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:101
Symbol 101 MovieClipUses:100Used by:109
Symbol 102 GraphicUsed by:105
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClipUses:102 104Used by:109
Symbol 106 Sound [sndSlap]Used by:109
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:109
Symbol 109 MovieClip [Splash]Uses:95 98 101 105 106 108Used by:110
Symbol 110 MovieClip [g5_splash]Uses:109Used by:Timeline
Symbol 111 Sound [angry1]Used by:380
Symbol 112 Sound [angry2]Used by:380
Symbol 113 Sound [happy1]Used by:380
Symbol 114 Sound [happy2]Used by:380
Symbol 115 Sound [levelpassed]Used by:380
Symbol 116 Sound [lightedglowbo]Used by:380
Symbol 117 Sound [menu]Used by:380
Symbol 118 Sound [menu_in]Used by:380
Symbol 119 Sound [menu_out]Used by:380
Symbol 120 Sound [MUS1]Used by:380
Symbol 121 Sound [MUS2]Used by:380
Symbol 122 Sound [nextlevel2]Used by:380
Symbol 123 Sound [worried2]Used by:380
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:128
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClip [cursor2]Uses:125 127Used by:380
Symbol 129 MovieClip [floor]Used by:380
Symbol 130 GraphicUsed by:134
Symbol 131 ShapeTweeningUsed by:134
Symbol 132 ShapeTweeningUsed by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClip [floorLight]Uses:130 131 132 133Used by:380
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip [glowingLight]Uses:135Used by:380
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:143
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:142
Symbol 142 MovieClipUses:139 141Used by:143
Symbol 143 MovieClip [helptool]Uses:138 142Used by:380
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:216 405
Symbol 146 GraphicUsed by:151
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:151 154 159 175 269 319 322 377
Symbol 149 FontUsed by:150 153 155 158 174 268 286 303 309 312 318 321 335 338 341 344 347 350 376
Symbol 150 EditableTextUses:149Used by:151
Symbol 151 MovieClipUses:146 148 150Used by:216 380 405
Symbol 152 GraphicUsed by:154
Symbol 153 EditableTextUses:149Used by:154
Symbol 154 MovieClipUses:152 148 153Used by:216 380 405
Symbol 155 EditableTextUses:149Used by:156
Symbol 156 MovieClipUses:155Used by:216
Symbol 157 GraphicUsed by:159 175 377
Symbol 158 EditableTextUses:149Used by:159
Symbol 159 MovieClipUses:157 148 158Used by:216 380
Symbol 160 FontUsed by:161 162 164 166 172
Symbol 161 EditableTextUses:160Used by:173
Symbol 162 EditableTextUses:160Used by:163
Symbol 163 MovieClipUses:162Used by:173 380
Symbol 164 EditableTextUses:160Used by:165
Symbol 165 MovieClipUses:164Used by:173 380
Symbol 166 EditableTextUses:160Used by:167
Symbol 167 MovieClipUses:166Used by:173 380
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClipUses:168 10Used by:173
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:170Used by:173
Symbol 172 EditableTextUses:160Used by:173
Symbol 173 MovieClip [options]Uses:161 163 165 167 169 171 172Used by:216 380
Symbol 174 EditableTextUses:149Used by:175
Symbol 175 MovieClipUses:157 148 174Used by:216 380
Symbol 176 FontUsed by:177 178 179 180 181 182 183
Symbol 177 EditableTextUses:176Used by:215
Symbol 178 EditableTextUses:176Used by:215
Symbol 179 EditableTextUses:176Used by:215
Symbol 180 EditableTextUses:176Used by:215
Symbol 181 EditableTextUses:176Used by:215
Symbol 182 EditableTextUses:176Used by:215
Symbol 183 EditableTextUses:176Used by:215
Symbol 184 BitmapUsed by:186
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:184 185Used by:187
Symbol 187 MovieClip [transmitter]Uses:186Used by:215 380
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:194
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:194
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:194
Symbol 194 MovieClipUses:189 191 193Used by:215 254
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:195Used by:197
Symbol 197 MovieClip [mirror]Uses:196Used by:215 380
Symbol 198 BitmapUsed by:201 236
Symbol 199 BitmapUsed by:201 259
Symbol 200 BitmapUsed by:201 257
Symbol 201 GraphicUses:198 199 200Used by:215
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:204
Symbol 204 MovieClipUses:203Used by:214
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:213
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:213
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:213
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:213
Symbol 213 MovieClipUses:206 208 210 212Used by:214
Symbol 214 MovieClip [cycloid]Uses:204 213Used by:215 380
Symbol 215 MovieClip [help]Uses:177 178 179 180 181 182 183 187 194 197 201 214Used by:216 380
Symbol 216 MovieClip [inGameMenu]Uses:145 151 154 156 159 173 175 215Used by:380
Symbol 217 MovieClip [lights]Used by:380
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClip [miniTile1]Uses:218Used by:380
Symbol 220 GraphicUsed by:221
Symbol 221 MovieClip [miniTile2]Uses:220Used by:380
Symbol 222 MovieClip [rays]Used by:380
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClip [tile]Uses:223Used by:380
Symbol 225 MovieClip [tiles]Used by:380
Symbol 226 VideoUsed by:227
Symbol 227 MovieClipUses:226Used by:234
Symbol 228 VideoUsed by:229
Symbol 229 MovieClipUses:228Used by:234
Symbol 230 VideoUsed by:231
Symbol 231 MovieClipUses:230Used by:234
Symbol 232 VideoUsed by:233
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:227 229 231 233Used by:380  Timeline
Symbol 235 GraphicUsed by:241
Symbol 236 GraphicUses:198Used by:241
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:241
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:241
Symbol 241 MovieClip [filter]Uses:235 236 238 240Used by:380
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:248
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:248
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:248
Symbol 248 MovieClipUses:243 245 247Used by:254
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:253
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:253
Symbol 253 MovieClipUses:250 252Used by:254
Symbol 254 MovieClipUses:194 248 253Used by:255
Symbol 255 MovieClip [receiver]Uses:254Used by:288 380
Symbol 256 MovieClip [personages]Used by:380
Symbol 257 GraphicUses:200Used by:258
Symbol 258 MovieClip [prism]Uses:257Used by:380
Symbol 259 GraphicUses:199Used by:262
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:262
Symbol 262 MovieClip [splitter]Uses:259 261Used by:380
Symbol 263 FontUsed by:264 265 278 291 368 370 378 396 397 398 399 401 402 403 404
Symbol 264 EditableTextUses:263Used by:266
Symbol 265 EditableTextUses:263 330Used by:266
Symbol 266 MovieClip [about]Uses:264 265Used by:380
Symbol 267 GraphicUsed by:269
Symbol 268 EditableTextUses:149Used by:269
Symbol 269 MovieClipUses:267 148 268Used by:316 380
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:275 380
Symbol 272 GraphicUsed by:275
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:273Used by:275
Symbol 275 MovieClipUses:272 271 274Used by:316 351 380
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:280
Symbol 278 EditableTextUses:263 330Used by:279
Symbol 279 MovieClipUses:278Used by:280
Symbol 280 MovieClipUses:277 279Used by:316
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:283
Symbol 283 MovieClipUses:282Used by:316
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:288
Symbol 286 EditableTextUses:149Used by:287
Symbol 287 MovieClipUses:286Used by:288
Symbol 288 MovieClipUses:285 255 287Used by:316
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:292
Symbol 291 EditableTextUses:263Used by:292
Symbol 292 MovieClipUses:290 291Used by:293
Symbol 293 MovieClipUses:292Used by:316
Symbol 294 GraphicUsed by:315
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:295Used by:297
Symbol 297 MovieClipUses:296Used by:315
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:315
Symbol 300 BitmapUsed by:301
Symbol 301 GraphicUses:300Used by:302
Symbol 302 MovieClipUses:301Used by:315
Symbol 303 EditableTextUses:149Used by:315
Symbol 304 BitmapUsed by:305
Symbol 305 GraphicUses:304Used by:315
Symbol 306 BitmapUsed by:307
Symbol 307 GraphicUses:306Used by:308
Symbol 308 MovieClipUses:307Used by:315
Symbol 309 EditableTextUses:149Used by:315
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:315
Symbol 312 EditableTextUses:149Used by:315
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:315
Symbol 315 MovieClipUses:294 297 299 302 303 305 308 309 311 312 314Used by:316
Symbol 316 MovieClip [mainMenu]Uses:275 280 283 288 269 293 315Used by:380
Symbol 317 GraphicUsed by:319
Symbol 318 EditableTextUses:149Used by:319
Symbol 319 MovieClipUses:317 148 318Used by:323
Symbol 320 GraphicUsed by:322
Symbol 321 EditableTextUses:149Used by:322
Symbol 322 MovieClipUses:320 148 321Used by:323
Symbol 323 MovieClip [newGame]Uses:319 322Used by:380
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:326
Symbol 326 MovieClipUses:325Used by:351
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:329
Symbol 329 MovieClipUses:328Used by:351
Symbol 330 FontUsed by:265 278 331 369 371 378 406 407 408 409 410 411 412
Symbol 331 TextUses:330Used by:332
Symbol 332 MovieClipUses:331Used by:351
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:351
Symbol 335 EditableTextUses:149Used by:351
Symbol 336 BitmapUsed by:337
Symbol 337 GraphicUses:336Used by:351
Symbol 338 EditableTextUses:149Used by:351
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:351
Symbol 341 EditableTextUses:149Used by:351
Symbol 342 BitmapUsed by:343
Symbol 343 GraphicUses:342Used by:351
Symbol 344 EditableTextUses:149Used by:351
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:351
Symbol 347 EditableTextUses:149Used by:351
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:351
Symbol 350 EditableTextUses:149Used by:351
Symbol 351 MovieClipUses:326 329 275 332 334 335 337 338 340 341 343 344 346 347 349 350Used by:380  Timeline
Symbol 352 GraphicUsed by:353 354 366
Symbol 353 MovieClipUses:352Used by:354 366
Symbol 354 ButtonUses:353 352Used by:380
Symbol 355 GraphicUsed by:357 358
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:355 356Used by:358 367
Symbol 358 ButtonUses:357 355Used by:380
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:359Used by:363 380
Symbol 361 GraphicUsed by:363
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:360 361 362Used by:375 380
Symbol 364 BitmapUsed by:365
Symbol 365 GraphicUses:364Used by:375
Symbol 366 ButtonUses:353 352Used by:375
Symbol 367 MovieClipUses:357Used by:375
Symbol 368 EditableTextUses:263Used by:375
Symbol 369 EditableTextUses:330Used by:375
Symbol 370 EditableTextUses:263Used by:372
Symbol 371 EditableTextUses:330Used by:372
Symbol 372 MovieClipUses:370 371Used by:375
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClipUses:373Used by:375
Symbol 375 MovieClipUses:363 365 366 367 368 369 372 374Used by:380  Timeline
Symbol 376 EditableTextUses:149Used by:377
Symbol 377 MovieClipUses:157 148 376Used by:380 405
Symbol 378 EditableTextUses:263 330Used by:379
Symbol 379 MovieClipUses:378Used by:380  Timeline
Symbol 380 MovieClipUses:111 112 113 114 115 116 117 118 119 120 121 122 123 128 129 134 136 143 83 216 217 219 221 222 46 44 224 225 234 187 214 241 255 197 256 258 262 266 269 271 215 275 316 323 163 167 165 173 351 354 154 358 159 360 363 375 175 151 377 379Used by:Timeline
Symbol 381 GraphicUsed by:385
Symbol 382 BitmapUsed by:383
Symbol 383 GraphicUses:382Used by:384
Symbol 384 ButtonUses:383Used by:385
Symbol 385 MovieClipUses:381 384Used by:Timeline
Symbol 386 MovieClipUsed by:393
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:393
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClipUses:389Used by:393
Symbol 391 GraphicUsed by:392
Symbol 392 MovieClipUses:391Used by:393
Symbol 393 MovieClipUses:386 388 390 392Used by:Timeline
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:400
Symbol 396 EditableTextUses:263Used by:400
Symbol 397 EditableTextUses:263Used by:400
Symbol 398 EditableTextUses:263Used by:400
Symbol 399 EditableTextUses:263Used by:400
Symbol 400 MovieClipUses:395 396 397 398 399Used by:Timeline
Symbol 401 EditableTextUses:263Used by:405
Symbol 402 EditableTextUses:263Used by:405
Symbol 403 EditableTextUses:263Used by:405
Symbol 404 EditableTextUses:263Used by:405
Symbol 405 MovieClipUses:145 151 154 377 401 402 403 404 83Used by:Timeline
Symbol 406 EditableTextUses:330Used by:413
Symbol 407 EditableTextUses:330Used by:413
Symbol 408 EditableTextUses:330Used by:413
Symbol 409 EditableTextUses:330Used by:413
Symbol 410 EditableTextUses:330Used by:413
Symbol 411 EditableTextUses:330Used by:413
Symbol 412 EditableTextUses:330Used by:413
Symbol 413 MovieClipUses:406 407 408 409 410 411 412Used by:Timeline

Instance Names

"picasologo"Frame 3Symbol 385 MovieClip
"intr"Frame 4Symbol 351 MovieClip
"g5link"Frame 4Symbol 393 MovieClip
"antenn"Frame 6Symbol 375 MovieClip
"youwin"Frame 6Symbol 400 MovieClip
"avatar"Frame 6Symbol 234 MovieClip
"winner"Frame 6Symbol 379 MovieClip
"youLose"Frame 6Symbol 405 MovieClip
"helptext"Frame 6Symbol 413 MovieClip
"t1"Symbol 31 MovieClip [glow] Frame 1Symbol 30 MovieClip
"t2"Symbol 31 MovieClip [glow] Frame 1Symbol 30 MovieClip
"txtMsg1"Symbol 73 MovieClip Frame 1Symbol 57 EditableText
"txtName"Symbol 73 MovieClip Frame 1Symbol 58 EditableText
"txtCode"Symbol 73 MovieClip Frame 1Symbol 60 EditableText
"btnSubmit"Symbol 73 MovieClip Frame 1Symbol 67 Button
"btnRefreshCode"Symbol 73 MovieClip Frame 1Symbol 69 Button
"movCode"Symbol 73 MovieClip Frame 1Symbol 71 MovieClip
"txtMsg2"Symbol 73 MovieClip Frame 1Symbol 72 EditableText
"btnBack"Symbol 82 MovieClip Frame 1Symbol 76 Button
"btnView"Symbol 82 MovieClip Frame 1Symbol 79 Button
"txtInfo"Symbol 82 MovieClip Frame 1Symbol 81 EditableText
"movEntryScreen"Symbol 83 MovieClip [HiScores] Frame 1Symbol 73 MovieClip
"movInfoScreen"Symbol 83 MovieClip [HiScores] Frame 1Symbol 82 MovieClip
"btnUrl"Symbol 109 MovieClip [Splash] Frame 1Symbol 98 Button
"hand"Symbol 109 MovieClip [Splash] Frame 10Symbol 105 MovieClip
"t3"Symbol 128 MovieClip [cursor2] Frame 1Symbol 125 MovieClip
"t3"Symbol 128 MovieClip [cursor2] Frame 2Symbol 127 MovieClip
"line"Symbol 142 MovieClip Frame 1Symbol 141 MovieClip
"h1"Symbol 143 MovieClip [helptool] Frame 1Symbol 138 MovieClip
"h2"Symbol 143 MovieClip [helptool] Frame 1Symbol 138 MovieClip
"line"Symbol 143 MovieClip [helptool] Frame 1Symbol 142 MovieClip
"high"Symbol 173 MovieClip [options] Frame 1Symbol 163 MovieClip
"medium"Symbol 173 MovieClip [options] Frame 1Symbol 165 MovieClip
"low"Symbol 173 MovieClip [options] Frame 1Symbol 167 MovieClip
"mute"Symbol 173 MovieClip [options] Frame 1Symbol 169 MovieClip
"sprite"Symbol 255 MovieClip [receiver] Frame 1Symbol 254 MovieClip
"light"Symbol 288 MovieClip Frame 1Symbol 285 MovieClip
"icon"Symbol 288 MovieClip Frame 1Symbol 255 MovieClip [receiver]
"item"Symbol 288 MovieClip Frame 1Symbol 287 MovieClip
"gl"Symbol 297 MovieClip Frame 1Symbol 296 MovieClip
"b0"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b1"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b2"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b3"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b4"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b5"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b6"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"b7"Symbol 315 MovieClip Frame 1Symbol 297 MovieClip
"z0"Symbol 315 MovieClip Frame 2Symbol 302 MovieClip
"z1"Symbol 315 MovieClip Frame 3Symbol 302 MovieClip
"z2"Symbol 315 MovieClip Frame 4Symbol 302 MovieClip
"clouds"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 280 MovieClip
"cursor"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 283 MovieClip
"button1"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 288 MovieClip
"button2"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 288 MovieClip
"button3"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 288 MovieClip
"button4"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 288 MovieClip
"back"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 269 MovieClip
"warn"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 293 MovieClip
"ngame"Symbol 316 MovieClip [mainMenu] Frame 20Symbol 315 MovieClip
"sprite"Symbol 367 MovieClip Frame 1Symbol 357 MovieClip
"hb"Symbol 375 MovieClip Frame 1Symbol 367 MovieClip
"timer"Symbol 375 MovieClip Frame 1Symbol 372 MovieClip
"rg"Symbol 375 MovieClip Frame 1Symbol 374 MovieClip
"logobutton"Symbol 385 MovieClip Frame 1Symbol 384 Button
"movHiScores"Symbol 405 MovieClip Frame 2Symbol 83 MovieClip [HiScores]

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$A5$KvnFnCf2eyJ4HFdpg3wqp/."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 5 seconds
ExportAssets (56)Timeline Frame 1Symbol 1 as "effects"
ExportAssets (56)Timeline Frame 1Symbol 17 as "spark"
ExportAssets (56)Timeline Frame 1Symbol 28 as "whiteSplash"
ExportAssets (56)Timeline Frame 1Symbol 31 as "glow"
ExportAssets (56)Timeline Frame 1Symbol 40 as "splashx"
ExportAssets (56)Timeline Frame 1Symbol 42 as "dot"
ExportAssets (56)Timeline Frame 1Symbol 43 as "beamSpark"
ExportAssets (56)Timeline Frame 1Symbol 44 as "stars"
ExportAssets (56)Timeline Frame 1Symbol 46 as "star"
ExportAssets (56)Timeline Frame 1Symbol 83 as "HiScores"
ExportAssets (56)Timeline Frame 1Symbol 414 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 415 as "__Packages.LevelTester"
ExportAssets (56)Timeline Frame 1Symbol 416 as "__Packages.LevelGenerator"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.core.UIObject"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.core.UIComponent"
ExportAssets (56)Timeline Frame 1Symbol 49 as "__Packages.HiScores"
ExportAssets (56)Timeline Frame 1Symbol 84 as "__Packages.mx.skins.SkinElement"
ExportAssets (56)Timeline Frame 1Symbol 85 as "__Packages.mx.styles.CSSTextStyles"
ExportAssets (56)Timeline Frame 1Symbol 86 as "__Packages.mx.styles.StyleManager"
ExportAssets (56)Timeline Frame 1Symbol 87 as "__Packages.mx.styles.CSSStyleDeclaration"
ExportAssets (56)Timeline Frame 1Symbol 88 as "__Packages.Splash"
ExportAssets (56)Timeline Frame 2Symbol 106 as "sndSlap"
ExportAssets (56)Timeline Frame 2Symbol 109 as "Splash"
ExportAssets (56)Timeline Frame 2Symbol 110 as "g5_splash"
ExportAssets (56)Timeline Frame 2Symbol 111 as "angry1"
ExportAssets (56)Timeline Frame 2Symbol 112 as "angry2"
ExportAssets (56)Timeline Frame 2Symbol 113 as "happy1"
ExportAssets (56)Timeline Frame 2Symbol 114 as "happy2"
ExportAssets (56)Timeline Frame 2Symbol 115 as "levelpassed"
ExportAssets (56)Timeline Frame 2Symbol 116 as "lightedglowbo"
ExportAssets (56)Timeline Frame 2Symbol 117 as "menu"
ExportAssets (56)Timeline Frame 2Symbol 118 as "menu_in"
ExportAssets (56)Timeline Frame 2Symbol 119 as "menu_out"
ExportAssets (56)Timeline Frame 2Symbol 120 as "MUS1"
ExportAssets (56)Timeline Frame 2Symbol 121 as "MUS2"
ExportAssets (56)Timeline Frame 2Symbol 122 as "nextlevel2"
ExportAssets (56)Timeline Frame 2Symbol 123 as "worried2"
ExportAssets (56)Timeline Frame 2Symbol 128 as "cursor2"
ExportAssets (56)Timeline Frame 2Symbol 129 as "floor"
ExportAssets (56)Timeline Frame 2Symbol 134 as "floorLight"
ExportAssets (56)Timeline Frame 2Symbol 136 as "glowingLight"
ExportAssets (56)Timeline Frame 2Symbol 143 as "helptool"
ExportAssets (56)Timeline Frame 2Symbol 173 as "options"
ExportAssets (56)Timeline Frame 2Symbol 187 as "transmitter"
ExportAssets (56)Timeline Frame 2Symbol 197 as "mirror"
ExportAssets (56)Timeline Frame 2Symbol 214 as "cycloid"
ExportAssets (56)Timeline Frame 2Symbol 215 as "help"
ExportAssets (56)Timeline Frame 2Symbol 216 as "inGameMenu"
ExportAssets (56)Timeline Frame 2Symbol 217 as "lights"
ExportAssets (56)Timeline Frame 2Symbol 219 as "miniTile1"
ExportAssets (56)Timeline Frame 2Symbol 221 as "miniTile2"
ExportAssets (56)Timeline Frame 2Symbol 222 as "rays"
ExportAssets (56)Timeline Frame 2Symbol 224 as "tile"
ExportAssets (56)Timeline Frame 2Symbol 225 as "tiles"
ExportAssets (56)Timeline Frame 2Symbol 241 as "filter"
ExportAssets (56)Timeline Frame 2Symbol 255 as "receiver"
ExportAssets (56)Timeline Frame 2Symbol 256 as "personages"
ExportAssets (56)Timeline Frame 2Symbol 258 as "prism"
ExportAssets (56)Timeline Frame 2Symbol 262 as "splitter"
ExportAssets (56)Timeline Frame 2Symbol 266 as "about"
ExportAssets (56)Timeline Frame 2Symbol 316 as "mainMenu"
ExportAssets (56)Timeline Frame 2Symbol 323 as "newGame"

Labels

"normal"Symbol 234 MovieClip Frame 1
"winLevel"Symbol 234 MovieClip Frame 2
"transmitter"Symbol 413 MovieClip Frame 1
"mirror"Symbol 413 MovieClip Frame 3
"splitter"Symbol 413 MovieClip Frame 4
"filter"Symbol 413 MovieClip Frame 5
"prism"Symbol 413 MovieClip Frame 6
"cycloid"Symbol 413 MovieClip Frame 7

Dynamic Text Variables

titleSymbol 150 EditableText"Quit"
titleSymbol 153 EditableText"Continue"
titleSymbol 158 EditableText"Help"
titleSymbol 286 EditableText""
currentlevelSymbol 369 EditableText"1"
tiSymbol 371 EditableText"000"
titleSymbol 376 EditableText"Submit Score"
yourscoreSymbol 403 EditableText""




http://swfchan.com/10/48040/info.shtml
Created: 30/4 -2019 17:17:46 Last modified: 30/4 -2019 17:17:46 Server time: 22/12 -2024 23:58:11