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

A
Very
Merry Christmas!


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

Light Bot.swf

This is the info page for
Flash #48694

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


Text
Loading

play

Advertisement:

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

New Game
Load Game
Play More Games
Credits

Game auto-saves to last level completed.

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

Try setting these
commands to the
right.

Let the bot go
through the steps

Rotate the Bot
with these.

Jump up or down
with this
command.

f1 and f2 relate
to the functions
below to the
right.

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
var savefile = SharedObject.getLocal("bot"); _root.kongregateServices.connect(); 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 36 MovieClip "play" in Frame 1
on (press) { if (_root.play._currentframe == 1) { _root.gotoAndStop(2); } }
Instance of Symbol 44 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 60 MovieClip in Frame 3
on (release) { getURL ("http://coolio-niato.newgrounds.com/", _blank); }
Frame 4
commands = 0; level = -1;
Instance of Symbol 102 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
function deleteLevel() { draw.swapDepths(99); removeMovieClip(draw); x = 0; while (x < _root["sceneryArray" + _root.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" + _root.level][0]; charPos[1] = _root["startPos" + _root.level][1]; charPos[2] = _root["startPos" + _root.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" + _root.level].length) { duplicateMovieClip (_root.wall, "c" + (x + 1000), _root.getNextHighestDepth()); xpos = _root["sceneryArray" + _root.level][x]; ypos = _root["sceneryArray" + _root.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" + _root.level][x + 2] - 3; _root["c" + (x + 1000)].gotoAndStop(_root["sceneryArray" + _root.level][x + 2]); x = x + 3; } x = 0; while (x < _root["tilesArray" + _root.level].length) { lightNum++; duplicateMovieClip (_root.wall, "d" + lightNum, _root.getNextHighestDepth()); xpos = _root["tilesArray" + _root.level][x]; ypos = _root["tilesArray" + _root.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" + _root.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; 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 () { example.gotoAndStop(_root.level + 1); 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; savefile.data.moves = _root.commands; currentC = 0; } } } } else { if (cover._currentframe <= 20) { cover.level.gotoAndStop(_root.level + 2); } if (cover._currentframe == 20) { if (Key.isDown(32)) { if (_root.level < 11) { goBot = false; deleteLevel(); _root.level++; trace(_root.level); if (_root.level != 0) { if ((_root.level != 12) && (_root.level != 0)) { savefile.data.level = _root.level; } } createGrid(8, 8); reset(); cover.play(); } else { deleteLevel(); _root.gotoAndStop("end"); } } } cover.swapDepths(_root.getNextHighestDepth()); } }; stop();
Instance of Symbol 177 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 29 Button
on (press) { getURL ("http://www.armorgames.com/", _blank); }
Symbol 44 MovieClip Frame 126
_root.nextFrame();
Symbol 60 MovieClip Frame 94
_root.cover1.play(); _root.cover1.level._visible = false; _root.cover1.blackthing.gotoAndStop(1); stop();
Symbol 68 MovieClip Frame 10
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 20
stop();
Symbol 110 Button
on (press) { getURL ("http://coolio-niato.newgrounds.com/", _blank); }
Symbol 111 Button
on (rollOver) { _root.credits._visible = true; } on (rollOut) { _root.credits._visible = false; }
Symbol 112 Button
on (press) { savefile.data.moves = 0; savefile.data.level = -1; _root.commands = 0; _root.level = -1; _root.cover1.play(); }
Symbol 113 Button
on (press) { getURL ("http://www.armorgames.com", _blank); }
Symbol 114 Button
on (press) { trace(savefile.data.level); if (((savefile.data.level != undefined) && (savefile.data.level > -1)) && (savefile.data.moves != undefined)) { _root.level = savefile.data.level - 1; if (savefile.data.moves != 0) { _root.commands = savefile.data.moves; } else { _root.commands = 0; } } else { savefile.data.moves = 0; savefile.data.level = -1; _root.commands = 0; _root.level = -1; } _root.cover1.play(); }
Symbol 130 MovieClip Frame 6
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 21
gotoAndPlay (4);
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 21
gotoAndPlay (4);
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 13
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 13
stop();
Symbol 151 MovieClip Frame 14
stop();
Symbol 152 MovieClip Frame 14
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 179 Button
on (release) { _root.reset(); }
Symbol 200 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:8
Symbol 8 MovieClipUses:7Used by:141 146 147 148 151 152  Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:141 146 147 148 151 152  Timeline
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:141 147 151  Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:141 146 147 148 151 152  Timeline
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:141 146 147 148 151 152  Timeline
Symbol 17 GraphicUsed by:Timeline
Symbol 18 GraphicUsed by:19 109 110 111 112 113 114 200
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 FontUsed by:22 34 40 66 69 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 105 107 108 115 117 118 122 123 124 180 181 184 185 186 187 188 193 195 196 197 199
Symbol 22 TextUses:21Used by:23
Symbol 23 MovieClipUses:22Used by:Timeline
Symbol 24 GraphicUsed by:25 29
Symbol 25 MovieClipUses:24Used by:28 44
Symbol 26 GraphicUsed by:27 29
Symbol 27 MovieClipUses:26Used by:28 44
Symbol 28 MovieClipUses:25 27Used by:29
Symbol 29 ButtonUses:28 24 26Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 32 GraphicUsed by:Timeline
Symbol 33 GraphicUsed by:35 102
Symbol 34 TextUses:21Used by:35
Symbol 35 MovieClipUses:33 34Used by:36
Symbol 36 MovieClipUses:35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:Timeline
Symbol 40 TextUses:21Used by:Timeline
Symbol 41 GraphicUsed by:44
Symbol 42 GraphicUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:25 41 42 43 27 SS1Used by:Timeline
Symbol 45 GraphicUsed by:59
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:59
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:58
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:58
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:58
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:58
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:49 51 53 55 57Used by:59
Symbol 59 MovieClipUses:45 47 58Used by:60
Symbol 60 MovieClipUses:59 SS2Used by:Timeline
Symbol 61 GraphicUsed by:64
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64
Symbol 64 MovieClipUses:61 63Used by:97
Symbol 65 GraphicUsed by:67
Symbol 66 TextUses:21Used by:67
Symbol 67 MovieClipUses:65 66Used by:68
Symbol 68 MovieClipUses:67Used by:97
Symbol 69 TextUses:21Used by:95
Symbol 70 TextUses:21Used by:95
Symbol 71 TextUses:21Used by:95
Symbol 72 TextUses:21Used by:95
Symbol 73 TextUses:21Used by:95
Symbol 74 TextUses:21Used by:95
Symbol 75 TextUses:21Used by:95
Symbol 76 TextUses:21Used by:95
Symbol 77 TextUses:21Used by:95
Symbol 78 TextUses:21Used by:95
Symbol 79 TextUses:21Used by:95
Symbol 80 TextUses:21Used by:95
Symbol 81 TextUses:21Used by:95
Symbol 82 TextUses:21Used by:95
Symbol 83 TextUses:21Used by:95
Symbol 84 TextUses:21Used by:95
Symbol 85 TextUses:21Used by:95
Symbol 86 TextUses:21Used by:95
Symbol 87 TextUses:21Used by:95
Symbol 88 TextUses:21Used by:95
Symbol 89 TextUses:21Used by:95
Symbol 90 TextUses:21Used by:95
Symbol 91 TextUses:21Used by:95
Symbol 92 TextUses:21Used by:95
Symbol 93 TextUses:21Used by:95
Symbol 94 TextUses:21Used by:95
Symbol 95 MovieClipUses:69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94Used by:97
Symbol 96 SoundUsed by:97
Symbol 97 MovieClipUses:64 68 95 96Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98 SS3Used by:Timeline
Symbol 100 GraphicUsed by:102
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:33 100 101Used by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 105 EditableTextUses:21Used by:Timeline
Symbol 106 GraphicUsed by:Timeline
Symbol 107 TextUses:21Used by:Timeline
Symbol 108 TextUses:21Used by:Timeline
Symbol 109 MovieClipUses:18Used by:110 111 112 113 114 200
Symbol 110 ButtonUses:109 18Used by:Timeline
Symbol 111 ButtonUses:109 18Used by:Timeline
Symbol 112 ButtonUses:109 18Used by:Timeline
Symbol 113 ButtonUses:109 18Used by:Timeline
Symbol 114 ButtonUses:109 18Used by:Timeline
Symbol 115 TextUses:21Used by:Timeline
Symbol 116 GraphicUsed by:120
Symbol 117 TextUses:21Used by:120
Symbol 118 TextUses:21Used by:119
Symbol 119 MovieClipUses:118Used by:120  Timeline
Symbol 120 MovieClipUses:116 117 119Used by:Timeline
Symbol 121 GraphicUsed by:Timeline
Symbol 122 TextUses:21Used by:Timeline
Symbol 123 TextUses:21Used by:Timeline
Symbol 124 TextUses:21Used by:Timeline
Symbol 125 GraphicUsed by:136
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:131 136
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:130
Symbol 130 MovieClipUses:129Used by:131 136
Symbol 131 MovieClipUses:127 130Used by:136
Symbol 132 GraphicUsed by:136
Symbol 133 GraphicUsed by:136
Symbol 134 GraphicUsed by:136
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:125 131 127 130 132 133 134 135Used by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:154
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:141 147 151
Symbol 141 MovieClipUses:8 10 12 140 14 16Used by:153
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:142Used by:146 148 152
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:146 148 152
Symbol 146 MovieClipUses:8 10 143 145 14 16Used by:153
Symbol 147 MovieClipUses:8 10 12 140 14 16Used by:153
Symbol 148 MovieClipUses:8 10 143 145 14 16Used by:153
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:149Used by:151 152
Symbol 151 MovieClipUses:8 10 12 140 14 16 150Used by:153
Symbol 152 MovieClipUses:8 10 143 145 14 16 150Used by:153
Symbol 153 MovieClipUses:141 146 147 148 151 152Used by:154
Symbol 154 MovieClipUses:138 153Used by:Timeline
Symbol 155 GraphicUsed by:171
Symbol 156 GraphicUsed by:157
Symbol 157 ButtonUses:156Used by:171
Symbol 158 GraphicUsed by:171
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:159Used by:171
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:171
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163Used by:171
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClipUses:165Used by:171
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:171
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClipUses:169Used by:171
Symbol 171 MovieClipUses:155 157 158 160 162 164 166 168 170Used by:Timeline
Symbol 172 GraphicUsed by:177 179
Symbol 173 FontUsed by:174 175 178
Symbol 174 TextUses:173Used by:176
Symbol 175 TextUses:173Used by:176
Symbol 176 MovieClipUses:174 175Used by:177
Symbol 177 MovieClipUses:172 176Used by:Timeline
Symbol 178 TextUses:173Used by:179
Symbol 179 ButtonUses:172 178Used by:Timeline
Symbol 180 TextUses:21Used by:Timeline
Symbol 181 EditableTextUses:21Used by:Timeline
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:189
Symbol 184 TextUses:21Used by:189
Symbol 185 TextUses:21Used by:189
Symbol 186 TextUses:21Used by:189
Symbol 187 TextUses:21Used by:189
Symbol 188 TextUses:21Used by:189
Symbol 189 MovieClipUses:183 184 185 186 187 188Used by:Timeline
Symbol 190 GraphicUsed by:Timeline
Symbol 191 GraphicUsed by:Timeline
Symbol 192 GraphicUsed by:Timeline
Symbol 193 TextUses:21Used by:Timeline
Symbol 194 GraphicUsed by:Timeline
Symbol 195 EditableTextUses:21Used by:Timeline
Symbol 196 TextUses:21Used by:Timeline
Symbol 197 EditableTextUses:21Used by:Timeline
Symbol 198 GraphicUsed by:Timeline
Symbol 199 TextUses:21Used by:Timeline
Symbol 200 ButtonUses:109 18Used by:Timeline
Streaming Sound 1Used by:Symbol 44 MovieClip
Streaming Sound 2Used by:Symbol 60 MovieClip
Streaming Sound 3Used by:Symbol 99 MovieClip

Instance Names

"bar"Frame 1Symbol 19 MovieClip
"play"Frame 1Symbol 36 MovieClip
"ads"Frame 1Symbol 39 MovieClip
"cover1"Frame 3Symbol 97 MovieClip
"song"Frame 4Symbol 99 MovieClip
"credits"Frame 5Symbol 120 MovieClip
"wall"Frame 6Symbol 136 MovieClip
"char"Frame 6Symbol 154 MovieClip
"h1"Frame 6Symbol 171 MovieClip
"h2"Frame 6Symbol 171 MovieClip
"h3"Frame 6Symbol 171 MovieClip
"h4"Frame 6Symbol 171 MovieClip
"h5"Frame 6Symbol 171 MovieClip
"h6"Frame 6Symbol 171 MovieClip
"h7"Frame 6Symbol 171 MovieClip
"h8"Frame 6Symbol 171 MovieClip
"h9"Frame 6Symbol 171 MovieClip
"h10"Frame 6Symbol 171 MovieClip
"h11"Frame 6Symbol 171 MovieClip
"h12"Frame 6Symbol 171 MovieClip
"m1"Frame 6Symbol 171 MovieClip
"m2"Frame 6Symbol 171 MovieClip
"m3"Frame 6Symbol 171 MovieClip
"m4"Frame 6Symbol 171 MovieClip
"m5"Frame 6Symbol 171 MovieClip
"m6"Frame 6Symbol 171 MovieClip
"m7"Frame 6Symbol 171 MovieClip
"m8"Frame 6Symbol 171 MovieClip
"n1"Frame 6Symbol 171 MovieClip
"n2"Frame 6Symbol 171 MovieClip
"n3"Frame 6Symbol 171 MovieClip
"n4"Frame 6Symbol 171 MovieClip
"n5"Frame 6Symbol 171 MovieClip
"n6"Frame 6Symbol 171 MovieClip
"n7"Frame 6Symbol 171 MovieClip
"n8"Frame 6Symbol 171 MovieClip
"select5"Frame 6Symbol 171 MovieClip
"select6"Frame 6Symbol 171 MovieClip
"select7"Frame 6Symbol 171 MovieClip
"select1"Frame 6Symbol 171 MovieClip
"select2"Frame 6Symbol 171 MovieClip
"select3"Frame 6Symbol 171 MovieClip
"select4"Frame 6Symbol 171 MovieClip
"goBtn"Frame 6Symbol 177 MovieClip
"selectmc"Frame 6Symbol 171 MovieClip
"example"Frame 6Symbol 189 MovieClip
"cover"Frame 6Symbol 97 MovieClip
"adBox"Symbol 39 MovieClip Frame 1Symbol 38 MovieClip
"blackthing"Symbol 97 MovieClip Frame 1Symbol 68 MovieClip
"level"Symbol 97 MovieClip Frame 1Symbol 95 MovieClip
"layer"Symbol 131 MovieClip Frame 1Symbol 127 MovieClip
"layer"Symbol 136 MovieClip Frame 2Symbol 131 MovieClip
"char"Symbol 153 MovieClip Frame 1Symbol 141 MovieClip
"char"Symbol 153 MovieClip Frame 3Symbol 146 MovieClip
"char"Symbol 153 MovieClip Frame 5Symbol 147 MovieClip
"char"Symbol 153 MovieClip Frame 7Symbol 148 MovieClip
"shadow"Symbol 154 MovieClip Frame 1Symbol 138 MovieClip
"char"Symbol 154 MovieClip Frame 1Symbol 153 MovieClip
"word"Symbol 177 MovieClip Frame 1Symbol 176 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 181 EditableText"0"
commandShowerSymbol 197 EditableText"NUMBER"




http://swfchan.com/10/48694/info.shtml
Created: 29/4 -2019 10:34:03 Last modified: 29/4 -2019 10:34:03 Server time: 23/12 -2024 01:08:28