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/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

light-bot-2205.swf

This is the info page for
Flash #42924

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


Text
Advertisement:

Loading

play

SPACE - CONTINUE

LEVEL 1

Program your bot to move and
light up the blue tiles!

LEVEL 2

Try turning your bot!

LEVEL 3

Jumping can get you
over barriers!

LEVEL 4

Jumping can also get you
to new heights!

LEVEL 5

Get it now?

LEVEL 6

Not enough space? Try creating
Functions and using F1 and F2

LEVEL 7

RE-USING functions is great
for REPETITIVE tasks!

LEVEL 8

Putting the "fun" back
in "functions"!

LEVEL 9

Now you're thinking like
a programmer.

LEVEL 10

Do you feel your mind
getting numb yet?

LEVEL 11

Second-to-last level...
up to it?

LEVEL 12

The Final Level
Don't get dizzy!

GREAT JOB

You are truly a
programmer at heart!

Artificial Intelligence is hard to
program. Not every bot ever
created can maneuver and
function on its own.

Rather, some bots run along
a path that the programmer
presets for them for various
situations.

Your job is to light up all the
blue tiles in the factory by
the commands you issue to
the light-Bot. Good luck.

(C) 2008 Coolio-Niato

Play
Play More Games
Credits

credits

Art, Animation and Coding,
Danny Yaroslavski (Coolio-Niato)
Music by
Shael-Riley
Original Concept by
Matt Chase
Sponsor and Distributer
Armorgames

MAIN  METHOD

FUNCT. 1

FUNCT. 2

GO!

STOP

RESET

Total Commands

0

CONGRATULATIONS

What you just went through is the kind of logic programmers go through on a daily basis.

If you enjoyed thinking in this way and using logic to solve problems, consider trying to learn a real programming language

Some examples are Turing, Java and Flash Actionscript. Programming  isn't for everyone so if you don't find it to be your thing you can always:

Completed Using
Commands

NUMBER

Replay

ActionScript [AS1/AS2]

Frame 1
play.gotoAndStop(2); var CPMStarPoolID = 1052; var CPMStarSubPoolID = 25; System.security.allowDomain("server.cpmstar.com"); ads.adBox.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID); stop(); _root.menu = new ContextMenu(); _root.menu.hideBuiltInItems(); onEnterFrame = function () { _root.bytesLoaded = _root.getBytesLoaded(); _root.bytesTotal = _root.getBytesTotal(); _root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal)); _root.percentLoadedText = _root.percentLoaded + "%"; _root.bar._xscale = percentLoaded; if (bar._xscale == 100) { play.gotoAndStop(1); } };
Instance of Symbol 41 MovieClip "play" in Frame 1
on (press) { if (_root.play._currentframe == 1) { _root.gotoAndStop(2); } }
Instance of Symbol 45 MovieClip in Frame 2
onClipEvent (enterFrame) { this.onPress = function () { getURL ("http://www.armorgames.com", "_blank"); }; }
Frame 3
songPlaying = true; waitOpen = 0; onEnterFrame = function () { if (cover1._currentframe == 20) { waitOpen++; cover1.stop(); if (waitOpen > 10) { _root.gotoAndStop("menu"); cover1.gotoAndPlay(21); } } };
Instance of Symbol 61 MovieClip in Frame 3
on (release) { getURL ("http://coolio-niato.newgrounds.com/", _blank); }
Instance of Symbol 103 MovieClip in Frame 4
on (press) { if (_root.songPlaying) { _root.songPlaying = false; _root.song.stop(); } else { _root.songPlaying = true; _root.song.play(); } } onClipEvent (enterFrame) { if (_root.songPlaying) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } }
Frame 5
removeMovieClip(_root.cover); credits._visible = false; stop(); onEnterFrame = function () { if (_root.cover1._currentframe == 20) { cover1.swapDepths(99); removeMovieClip(cover1); _root.gotoAndStop("game"); } };
Frame 6
commands = 0; function deleteLevel() { draw.swapDepths(99); removeMovieClip(draw); x = 0; while (x < _root["sceneryArray" + level].length) { _root["c" + (x + 1000)].swapDepths(99); removeMovieClip(_root["c" + (x + 1000)]); x = x + 3; } x = 1; while (x <= lightNum) { _root["d" + x].swapDepths(99); removeMovieClip(_root["d" + x]); x++; } lights = 0; lightNum = 0; } function resetPositions() { lights = lightNum; stepName = "steps"; mcName = "stepsArray"; steps = 0; steps1 = 0; steps2 = 0; min = 0; base = 0; lastMin = new Array(); i = 1; while (i <= lightNum) { _root["d" + i].layer.gotoAndStop(1); i++; } wait = 0; charPos[0] = _root["startPos" + level][0]; charPos[1] = _root["startPos" + level][1]; charPos[2] = _root["startPos" + level][2]; char._x = (((draw._x + xCenter) + (charPos[0] * squareSize)) + squareSize) + (charPos[1] * squareSize); char._y = ((draw._y + yCenter) + ((charPos[1] * squareSize) / 2)) - ((charPos[0] * squareSize) / 2); char._visible = true; char.swapDepths((((char._y + 10) + 500) * 500) + 1499); char.char.gotoAndStop(charPos[2]); char.char._y = startchary; char.shadow._y = startshadowy; } function reset() { stepsArray = new Array(); i = 1; while (i < 13) { _root["h" + i].gotoAndStop(1); i++; } stepsArrayMin1 = new Array(); stepsArrayMin2 = new Array(); i = 1; while (i < 9) { _root["m" + i].gotoAndStop(1); _root["n" + i].gotoAndStop(1); i++; } resetPositions(); goBot = false; } function createArrays() { currentC = 0; if (!goBot) { goBot = true; stepsArray = new Array(); i = 1; while (i < 13) { if (_root["h" + i]._currentframe != 1) { stepsArray.push(_root["h" + i]._currentframe - 1); currentC++; } i++; } stepsArrayMin1 = new Array(); i = 1; while (i < 9) { if (_root["m" + i]._currentframe != 1) { stepsArrayMin1.push(_root["m" + i]._currentframe - 1); currentC++; } i++; } stepsArrayMin2 = new Array(); i = 1; while (i < 9) { if (_root["n" + i]._currentframe != 1) { stepsArrayMin2.push(_root["n" + i]._currentframe - 1); currentC++; } i++; } } else { resetPositions(); goBot = false; } } function createGrid(rows, cols) { lights = 0; this.createEmptyMovieClip("draw", 2); draw.lineStyle(30, 16711935, 100); drawbase.moveTo(0, 0); draw.lineStyle(1, 0, 50); x = 0; while (x < cols) { y = 0; while (y < rows) { gridArray[y][x] = 0; y++; } x++; } x = 0; while (x < cols) { y = 0; while (y < rows) { lightsArray[y][x] = 0; y++; } x++; } x = 0; while (x <= rows) { y = x * squareSize; draw.moveTo(xCenter + y, yCenter - (y / 2)); draw.lineTo((xCenter + (cols * squareSize)) + y, yCenter + (((cols * squareSize) - y) / 2)); x = x + 1; } x = 0; while (x <= cols) { y = x * squareSize; draw.moveTo(xCenter + y, yCenter + (y / 2)); draw.lineTo((xCenter + (rows * squareSize)) + y, yCenter + ((((-rows) * squareSize) + y) / 2)); x = x + 1; } draw._alpha = 70; cursor.swapDepths(draw.getDepth() + 100000); draw._x = draw._x + 55; draw._y = draw._y + 40; x = 0; while (x < _root["sceneryArray" + level].length) { duplicateMovieClip (_root.wall, "c" + (x + 1000), _root.getNextHighestDepth()); xpos = _root["sceneryArray" + level][x]; ypos = _root["sceneryArray" + level][x + 1]; _root["c" + (x + 1000)]._x = (((draw._x + xCenter) + (xpos * squareSize)) + squareSize) + (ypos * squareSize); _root["c" + (x + 1000)]._y = ((draw._y + yCenter) + ((ypos * squareSize) / 2)) - ((xpos * squareSize) / 2); _root["c" + (x + 1000)]._visible = true; _root["c" + (x + 1000)].swapDepths(((_root["c" + (x + 1000)]._y + 500) * 500) + (x + 1000)); gridArray[xpos][ypos] = _root["sceneryArray" + level][x + 2] - 3; _root["c" + (x + 1000)].gotoAndStop(_root["sceneryArray" + level][x + 2]); x = x + 3; } x = 0; while (x < _root["tilesArray" + level].length) { lightNum++; duplicateMovieClip (_root.wall, "d" + lightNum, _root.getNextHighestDepth()); xpos = _root["tilesArray" + level][x]; ypos = _root["tilesArray" + level][x + 1]; _root["d" + lightNum]._x = (((draw._x + xCenter) + (xpos * squareSize)) + squareSize) + (ypos * squareSize); _root["d" + lightNum]._y = (((draw._y + yCenter) + ((ypos * squareSize) / 2)) - ((xpos * squareSize) / 2)) + 1; _root["d" + lightNum]._visible = true; if (gridArray[xpos][ypos] > 0) { _root["d" + lightNum].swapDepths(((((_root["d" + lightNum]._y + 500) + 1) * 500) + lightNum) + 1001); } else { _root["d" + lightNum].swapDepths((((_root["d" + lightNum]._y + 500) * 15) + lightNum) + 1001); } lightsArray[xpos][ypos] = lightNum; _root["d" + lightNum].gotoAndStop(_root["tilesArray" + level][x + 2]); _root["d" + lightNum].layer._y = _root["d" + lightNum].layer._y - (gridArray[xpos][ypos] * 18); lights++; x = x + 3; } char._x = (((draw._x + xCenter) + (charPos[0] * squareSize)) + squareSize) + (charPos[1] * squareSize); char._y = ((draw._y + yCenter) + ((charPos[1] * squareSize) / 2)) - ((charPos[0] * squareSize) / 2); char._visible = true; char.swapDepths((((char._y + 10) + 500) * 500) + 1499); char.char.gotoAndStop(charPos[2]); } cover.gotoAndStop(20); i = 0; currentC = 0; level = -1; startPos0 = new Array(4, 2, 1); sceneryArray0 = new Array(0, 0, 5, 0, 1, 5, 0, 2, 5, 0, 3, 5, 0, 4, 5, 0, 5, 5, 0, 6, 5, 0, 7, 5, 7, 0, 5, 7, 1, 5, 7, 2, 5, 7, 3, 5, 7, 4, 5, 7, 5, 5, 7, 6, 5, 7, 7, 5); tilesArray0 = new Array(4, 4, 2); startPos1 = new Array(4, 2, 1); sceneryArray1 = new Array(4, 4, 5, 0, 0, 6, 0, 1, 5, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 5, 4, 0, 6, 5, 0, 7, 6, 7, 0, 6, 7, 1, 5, 7, 2, 4, 7, 3, 4, 7, 4, 4, 7, 5, 4, 7, 6, 5, 7, 7, 6); tilesArray1 = new Array(4, 6, 2); startPos2 = new Array(3, 0, 1); sceneryArray2 = new Array(0, 2, 4, 1, 2, 4, 2, 2, 4, 3, 2, 4, 4, 2, 4, 5, 2, 4, 6, 2, 4, 7, 2, 4); tilesArray2 = new Array(3, 4, 2, 4, 4, 2, 5, 4, 2); startPos3 = new Array(1, 2, 4); sceneryArray3 = new Array(3, 2, 4, 4, 2, 5, 5, 2, 5, 5, 3, 5, 5, 4, 5, 5, 5, 5, 5, 6, 5, 5, 7, 5); tilesArray3 = new Array(5, 7, 2); startPos4 = new Array(2, 3, 1); sceneryArray4 = new Array(2, 4, 4, 2, 5, 4, 2, 6, 4, 3, 6, 4, 4, 6, 4, 5, 6, 4, 5, 5, 5, 5, 4, 6, 5, 3, 7); tilesArray4 = new Array(5, 3, 2); startPos5 = new Array(1, 2, 4); sceneryArray5 = new Array(3, 2, 4, 4, 2, 5, 4, 3, 6, 4, 4, 7, 2, 5, 5, 1, 5, 5, 3, 5, 5, 4, 5, 5, 5, 5, 5, 6, 5, 5, 7, 5, 5); tilesArray5 = new Array(1, 5, 2, 7, 5, 2, 4, 4, 2); startPos6 = new Array(4, 0, 1); sceneryArray6 = new Array(); tilesArray6 = new Array(4, 1, 2, 4, 2, 2, 4, 3, 2, 4, 4, 2, 4, 5, 2, 4, 6, 2, 4, 7, 2, 3, 1, 2, 3, 2, 2, 3, 3, 2, 3, 4, 2, 3, 5, 2, 3, 6, 2, 3, 7, 2); startPos7 = new Array(2, 2, 4); sceneryArray7 = new Array(3, 2, 4, 3, 6, 4, 5, 6, 4, 2, 5, 4, 4, 5, 4, 6, 5, 4, 5, 2, 4, 6, 3, 4, 4, 3, 4, 2, 4, 4, 3, 4, 4, 5, 4, 4, 2, 6, 4, 4, 6, 4, 4, 4, 4, 4, 2, 4, 6, 2, 4, 6, 4, 4, 6, 6, 4); tilesArray7 = new Array(2, 4, 2, 2, 6, 2, 4, 6, 2, 4, 4, 2, 4, 2, 2, 6, 2, 2, 6, 4, 2, 6, 6, 2); startPos8 = new Array(2, 1, 1); sceneryArray8 = new Array(3, 1, 4, 2, 2, 4, 3, 2, 5, 4, 2, 4, 3, 3, 4, 6, 1, 4, 5, 2, 4, 6, 2, 5, 7, 2, 4, 6, 3, 4, 6, 4, 4, 5, 5, 4, 6, 5, 5, 7, 5, 4, 6, 6, 4, 3, 4, 4, 2, 5, 4, 3, 5, 5, 4, 5, 4, 3, 6, 4); tilesArray8 = new Array(3, 2, 2, 3, 5, 2, 6, 2, 2, 6, 5, 2, 4, 2, 2, 5, 2, 2, 6, 3, 2, 6, 4, 2, 3, 3, 2, 3, 4, 2, 4, 5, 2, 5, 5, 2); startPos9 = new Array(1, 0, 1); sceneryArray9 = new Array(3, 6, 5, 3, 5, 7, 3, 7, 5, 3, 4, 6, 3, 3, 7, 2, 3, 7, 2, 4, 5, 2, 5, 6, 2, 6, 5, 1, 4, 4, 2, 2, 5, 2, 1, 5, 2, 0, 5); tilesArray9 = new Array(2, 0, 2, 3, 7, 2); startPos10 = new Array(0, 0, 1); sceneryArray10 = new Array(); tilesArray10 = new Array(); i = 0; while (i < 6) { j = 0; while (j < 8) { if (!((i == 0) && (j == 0))) { tilesArray10.push(i, j, 2); if ((i % 2) == 1) { sceneryArray10.push(i, j, 4); } } j++; } i++; } j = 0; while (j < 8) { sceneryArray10.push(6, j, 5); sceneryArray10.push(7, j, 6); j++; } startPos11 = new Array(0, 4, 4); sceneryArray11 = new Array(2, 2, 5, 2, 3, 6, 2, 1, 4, 3, 1, 5, 4, 1, 6, 5, 1, 7, 5, 2, 6, 5, 3, 5, 5, 4, 4, 4, 4, 5, 3, 4, 6, 2, 4, 7, 2, 5, 6, 2, 6, 5, 2, 7, 4, 3, 7, 5, 4, 7, 6, 5, 7, 7, 5, 6, 6, 5, 5, 5); tilesArray11 = new Array(); i = 0; while (i < sceneryArray11.length) { sceneryArray11[i] = 7 - sceneryArray11[i]; tilesArray11.push(sceneryArray11[i], sceneryArray11[i + 1], 2); i = i + 3; } lights = 0; charPos = new Array(0, 1, 1); lightNum = 0; goBot = true; xCenter = -30; yCenter = Stage.height / 2; stepsArray = new Array(); stepsArrayMin1 = new Array(); stepsArrayMin2 = new Array(); gridArray = new Array([999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999]); lightsArray = new Array([999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999], [999]); squareSize = 27; i = 1; while (i <= 7) { _root["select" + i].gotoAndStop(i + 1); i++; } i = 1; while (i <= 12) { _root["h" + i].gotoAndStop(1); i++; } i = 1; while (i <= 8) { _root["m" + i].gotoAndStop(1); _root["n" + i].gotoAndStop(1); i++; } hang = false; clicked = false; goBot = false; lastMin = new Array(); l = 1; while (l < 8) { _root["use" + l].gotoAndStop(l); l++; } onMouseDown = function () { clicked = true; }; onMouseUp = function () { clicked = false; }; steps = 0; steps1 = 0; steps2 = 0; wait = 0; speed = 13; xspd = 0; yspd = 0; min = 0; base = 0; baseHeight = 0; startchary = char.char._y; startshadowy = char.shadow._y; command = 0; num = 3; onEnterFrame = function () { commandShow = _root.commands; if (cover._currentframe == 1) { if (goBot) { goBtn.word.gotoAndStop(2); } else { goBtn.word.gotoAndStop(1); } if (!hang) { if (clicked) { selected = false; i = 1; while (i < 8) { if (_root["select" + i].hitTest(_xmouse, _ymouse, true)) { hang = true; _root.selectmc.gotoAndStop(i + 1); selected = true; break; } i++; } if (!selected) { i = 1; while (i <= 12) { if (_root["h" + i]._currentframe > 1) { if (_root["h" + i].hitTest(_xmouse, _ymouse, true)) { hang = true; _root.selectmc.gotoAndStop(_root["h" + i]._currentframe); _root["h" + i].gotoAndStop(1); selected = true; break; } } i++; } } if (!selected) { i = 1; while (i <= 8) { if (_root["m" + i]._currentframe > 1) { if (_root["m" + i].hitTest(_xmouse, _ymouse, true)) { hang = true; _root.selectmc.gotoAndStop(_root["m" + i]._currentframe); _root["m" + i].gotoAndStop(1); selected = true; break; } } if (_root["n" + i]._currentframe > 1) { if (_root["n" + i].hitTest(_xmouse, _ymouse, true)) { hang = true; _root.selectmc.gotoAndStop(_root["n" + i]._currentframe); _root["n" + i].gotoAndStop(1); selected = true; break; } } i++; } } } } else { selectmc.swapDepths(_root.getNextHighestDepth() + 10); selectmc._x = _xmouse; selectmc._y = _ymouse; if (!clicked) { hang = false; selected = false; i = 1; while (i < 9) { if (_root["select" + i].hitTest(_xmouse, _ymouse, true)) { hang = true; _root.selectmc.gotoAndStop(i + 1); selected = true; break; } i++; } if (!selected) { i = 1; while (i <= 12) { if (_root["h" + i].hitTest(_xmouse, _ymouse, true)) { _root._root["h" + i].gotoAndStop(selectmc._currentframe); selected = true; break; } i++; } } if (!selected) { i = 1; while (i <= 8) { if (_root["m" + i].hitTest(_xmouse, _ymouse, true)) { _root._root["m" + i].gotoAndStop(selectmc._currentframe); selected = true; break; } if (_root["n" + i].hitTest(_xmouse, _ymouse, true)) { _root._root["n" + i].gotoAndStop(selectmc._currentframe); selected = true; break; } i++; } } } } if (!clicked) { selectmc._x = -1000; } if (!goBot) { char.char.gotoAndStop(charPos[2]); char.char.char.gotoAndStop(1); if (!hold) { if (clicked) { l = 1; while (l < 8) { if (_root["use" + l].hitTest(_xmouse, _ymouse, true)) { hold = true; num++; command = num; if (num > 500) { num = 1; } duplicateMovieClip (_root["use" + l], "btn" + num, num); _root["btn" + num].gotoAndStop(_root["use" + l]._currentframe); break; } l++; } } } else { _root["btn" + command]._x = _xmouse - (_root["btn" + command]._width / 2); _root["btn" + command]._y = _ymouse - (_root["btn" + command]._height / 2); if (!clicked) { hit = false; if (!hit) { removeMovieClip(_root["btn" + command]); if (command == num) { num--; } } hold = false; } } } else if (goBot) { baseHeight = (base * -18) + startchary; if (char.char._y < baseHeight) { char.char._y = char.char._y + 9; char.shadow._y = char.shadow._y + 9; } else if (char.char._y > baseHeight) { char.char._y = char.char._y - 9; char.shadow._y = char.shadow._y - 9; } char.swapDepths((((char._y + 10) + 500) * 500) + 1); if (min == 0) { mcName = "stepsArray"; stepName = "steps"; } else { mcName = "stepsArrayMin" + min; stepName = "steps" + min; } if (_root[mcName][_root[stepName]] == 1) { if (wait == 0) { lastpos = charPos[0]; lastpos2 = charPos[1]; char.char.gotoAndStop(charPos[2]); if (charPos[2] == 1) { charPos[1]++; } else if (charPos[2] == 3) { charPos[1]--; } else if (charPos[2] == 2) { charPos[0]--; } else if (charPos[2] == 4) { charPos[0]++; } if ((gridArray[charPos[0]][charPos[1]] == base) && (gridArray[charPos[0]][charPos[1]] != undefined)) { xspd = (((((draw._x + xCenter) + (charPos[0] * squareSize)) + squareSize) + (charPos[1] * squareSize)) - char._x) / speed; yspd = ((((draw._y + yCenter) + ((charPos[1] * squareSize) / 2)) - ((charPos[0] * squareSize) / 2)) - char._y) / speed; } else { xspd = 0; yspd = 0; charPos[0] = lastpos; charPos[1] = lastpos2; } } char.char.char.play(); char._x = char._x + xspd; char._y = char._y + yspd; if (wait == 7) { if ((gridArray[charPos[0]][charPos[1]] < base) && (gridArray[charPos[0]][charPos[1]] != undefined)) { while (base != gridArray[charPos[0]][charPos[1]]) { base--; } } } wait++; if (wait == speed) { wait = 0; _root[stepName]++; } } else if (_root[mcName][_root[stepName]] == 2) { if (charPos[2] == 1) { charPos[2]++; } else if (charPos[2] == 3) { charPos[2]++; } else if (charPos[2] == 2) { charPos[2]++; } else if (charPos[2] == 4) { charPos[2] = 1; } char.char.gotoAndStop(charPos[2]); char.char.char.gotoAndStop(1); _root[stepName]++; } else if (_root[mcName][_root[stepName]] == 3) { if (charPos[2] == 1) { charPos[2] = 4; } else if (charPos[2] == 3) { charPos[2]--; } else if (charPos[2] == 2) { charPos[2]--; } else if (charPos[2] == 4) { charPos[2]--; } char.char.gotoAndStop(charPos[2]); char.char.char.gotoAndStop(1); _root[stepName]++; } else if (_root[mcName][_root[stepName]] == 4) { if (wait == 0) { char.char.gotoAndStop(charPos[2] + 8); char.char.char.gotoAndStop(1); } char.char.char.play(); wait++; if (wait == 1) { gridPos = lightsArray[charPos[0]][charPos[1]]; if (gridPos > 0) { if (_root["d" + gridPos].layer._currentframe == 1) { _root["d" + gridPos].layer.gotoAndStop(2); lights--; } else if (_root["d" + gridPos].layer._currentframe == 2) { _root["d" + gridPos].layer.gotoAndStop(1); lights++; } } } if (wait == 14) { wait = 0; _root[stepName]++; } } else if (_root[mcName][_root[stepName]] == 5) { steps1 = 0; lastMin.push(min); min = 1; } else if (_root[mcName][_root[stepName]] == 6) { steps2 = 0; lastMin.push(min); min = 2; } else if (_root[mcName][_root[stepName]] == 7) { if (wait == 0) { char.char.gotoAndStop(charPos[2] + 4); char.char.char.gotoAndStop(1); char.char.gotoAndStop(charPos[2] + 4); char.char.char.gotoAndStop(1); lastpos = charPos[0]; lastpos2 = charPos[1]; if (charPos[2] == 1) { charPos[1]++; } else if (charPos[2] == 3) { charPos[1]--; } else if (charPos[2] == 2) { charPos[0]--; } else if (charPos[2] == 4) { charPos[0]++; } if (((gridArray[charPos[0]][charPos[1]] == (base + 1)) || (gridArray[charPos[0]][charPos[1]] < base)) && (gridArray[charPos[0]][charPos[1]] != undefined)) { xspd = (((((draw._x + xCenter) + (charPos[0] * squareSize)) + squareSize) + (charPos[1] * squareSize)) - char._x) / speed; yspd = ((((draw._y + yCenter) + ((charPos[1] * squareSize) / 2)) - ((charPos[0] * squareSize) / 2)) - char._y) / speed; } else { xspd = 0; yspd = 0; charPos[0] = lastpos; charPos[1] = lastpos2; } } char.char.char.play(); char._x = char._x + xspd; char._y = char._y + yspd; if (wait == 1) { if ((gridArray[charPos[0]][charPos[1]] == (base + 1)) && (gridArray[charPos[0]][charPos[1]] != undefined)) { base++; } } if (wait == 7) { if ((gridArray[charPos[0]][charPos[1]] < base) && (gridArray[charPos[0]][charPos[1]] != undefined)) { while (base != gridArray[charPos[0]][charPos[1]]) { base--; } } } wait++; if (wait == speed) { wait = 0; _root[stepName]++; } } else if (_root[mcName][_root[stepName]] == 0) { _root[stepName]++; char.char.gotoAndStop(charPos[2]); char.char.char.gotoAndStop(1); } else { if (lastMin.length != 0) { min = lastMin[lastMin.length - 1]; lastMin.splice(lastMin.length - 1, 1); trace(min); if (min == 0) { steps++; } else if (min == 1) { steps1++; } else if (min == 2) { steps2++; } } char.char.gotoAndStop(charPos[2]); char.char.char.gotoAndStop(1); if ((lights == 0) && (wait == 0)) { cover.play(); goBot = false; _root.commands = _root.commands + currentC; currentC = 0; } } } } else { if (cover._currentframe <= 20) { cover.level.gotoAndStop(level + 2); } if (cover._currentframe == 20) { if (Key.isDown(32)) { if (level < 11) { goBot = false; deleteLevel(); level++; createGrid(8, 8); reset(); cover.play(); } else { deleteLevel(); _root.gotoAndStop("end"); } } } cover.swapDepths(_root.getNextHighestDepth()); } }; stop();
Instance of Symbol 176 MovieClip "goBtn" in Frame 6
on (press) { _root.createArrays(); }
Frame 7
_root.cover.play(); removeMovieClip(_root.char); removeMovieClip(_root.selectmc); onEnterFrame = function () { if (_root.cover._currentframe == 1) { removeMovieClip(_root.cover); } }; commandShower = _root.commands;
Symbol 37 Button
on (press) { getURL ("http://www.armorgames.com/", _blank); }
Symbol 45 MovieClip Frame 126
_root.nextFrame();
Symbol 61 MovieClip Frame 94
_root.cover1.play(); _root.cover1.level._visible = false; _root.cover1.blackthing.gotoAndStop(1); stop();
Symbol 69 MovieClip Frame 10
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 20
stop();
Symbol 111 Button
on (press) { _root.cover1.play(); }
Symbol 112 Button
on (press) { getURL ("http://www.armorgames.com", _blank); }
Symbol 113 Button
on (press) { getURL ("http://coolio-niato.newgrounds.com/", _blank); }
Symbol 114 Button
on (rollOver) { _root.credits._visible = true; } on (rollOut) { _root.credits._visible = false; }
Symbol 129 MovieClip Frame 6
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 21
gotoAndPlay (4);
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 21
gotoAndPlay (4);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 13
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 13
stop();
Symbol 150 MovieClip Frame 14
stop();
Symbol 151 MovieClip Frame 14
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 178 Button
on (release) { _root.reset(); }
Symbol 191 Button
on (release) { _root.gotoAndStop("menu"); }

Library Items

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

Instance Names

"ads"Frame 1Symbol 10 MovieClip
"bar"Frame 1Symbol 28 MovieClip
"play"Frame 1Symbol 41 MovieClip
"cover1"Frame 3Symbol 98 MovieClip
"song"Frame 4Symbol 100 MovieClip
"credits"Frame 5Symbol 119 MovieClip
"wall"Frame 6Symbol 135 MovieClip
"char"Frame 6Symbol 153 MovieClip
"h1"Frame 6Symbol 170 MovieClip
"h2"Frame 6Symbol 170 MovieClip
"h3"Frame 6Symbol 170 MovieClip
"h4"Frame 6Symbol 170 MovieClip
"h5"Frame 6Symbol 170 MovieClip
"h6"Frame 6Symbol 170 MovieClip
"h7"Frame 6Symbol 170 MovieClip
"h8"Frame 6Symbol 170 MovieClip
"h9"Frame 6Symbol 170 MovieClip
"h10"Frame 6Symbol 170 MovieClip
"h11"Frame 6Symbol 170 MovieClip
"h12"Frame 6Symbol 170 MovieClip
"m1"Frame 6Symbol 170 MovieClip
"m2"Frame 6Symbol 170 MovieClip
"m3"Frame 6Symbol 170 MovieClip
"m4"Frame 6Symbol 170 MovieClip
"m5"Frame 6Symbol 170 MovieClip
"m6"Frame 6Symbol 170 MovieClip
"m7"Frame 6Symbol 170 MovieClip
"m8"Frame 6Symbol 170 MovieClip
"n1"Frame 6Symbol 170 MovieClip
"n2"Frame 6Symbol 170 MovieClip
"n3"Frame 6Symbol 170 MovieClip
"n4"Frame 6Symbol 170 MovieClip
"n5"Frame 6Symbol 170 MovieClip
"n6"Frame 6Symbol 170 MovieClip
"n7"Frame 6Symbol 170 MovieClip
"n8"Frame 6Symbol 170 MovieClip
"select5"Frame 6Symbol 170 MovieClip
"select6"Frame 6Symbol 170 MovieClip
"select7"Frame 6Symbol 170 MovieClip
"select1"Frame 6Symbol 170 MovieClip
"select2"Frame 6Symbol 170 MovieClip
"select3"Frame 6Symbol 170 MovieClip
"select4"Frame 6Symbol 170 MovieClip
"goBtn"Frame 6Symbol 176 MovieClip
"selectmc"Frame 6Symbol 170 MovieClip
"cover"Frame 6Symbol 98 MovieClip
"adBox"Symbol 10 MovieClip Frame 1Symbol 9 MovieClip
"blackthing"Symbol 98 MovieClip Frame 1Symbol 69 MovieClip
"level"Symbol 98 MovieClip Frame 1Symbol 96 MovieClip
"layer"Symbol 130 MovieClip Frame 1Symbol 126 MovieClip
"layer"Symbol 135 MovieClip Frame 2Symbol 130 MovieClip
"char"Symbol 152 MovieClip Frame 1Symbol 140 MovieClip
"char"Symbol 152 MovieClip Frame 3Symbol 145 MovieClip
"char"Symbol 152 MovieClip Frame 5Symbol 146 MovieClip
"char"Symbol 152 MovieClip Frame 7Symbol 147 MovieClip
"shadow"Symbol 153 MovieClip Frame 1Symbol 137 MovieClip
"char"Symbol 153 MovieClip Frame 1Symbol 152 MovieClip
"word"Symbol 176 MovieClip Frame 1Symbol 175 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"menu"Frame 5
"game"Frame 6
"end"Frame 7

Dynamic Text Variables

commandShowSymbol 180 EditableText"0"
commandShowerSymbol 188 EditableText"NUMBER"




http://swfchan.com/9/42924/info.shtml
Created: 9/5 -2019 17:09:00 Last modified: 9/5 -2019 17:09:00 Server time: 22/12 -2024 19:57:17