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

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

Spaceman Bobs Great Escape.swf

This is the info page for
Flash #23706

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


ActionScript [AS1/AS2]
Frame 1
fscommand ("allowscale", "false"); fscommand ("showmenu", "false"); stop(); soundfx = 1;
Instance of Symbol 188 MovieClip in Frame 1
onClipEvent (enterFrame) { text = ((int(_parent.getBytesLoaded() / 1000) add " kb of ") add int(_parent.getBytesTotal() / 1000)) add " loaded"; if (_parent.getBytesTotal() == _parent.getBytesLoaded()) { _parent.gotoAndPlay(2); } }
Frame 76
stop(); liv = 50; livtest = 0; bana = 1;
Frame 101
if (goto == 1) { play(); } else { gotoAndPlay (114); }
Frame 102
function buildMap(map) { _root.attachMovie("empty", "tiles", 1); _root.tiles._x = 15; _root.tiles._y = 0; game.clip = _root.tiles; var mapWidth = map[0].length; var mapHeight = map.length; var i = 0; while (i < mapHeight) { var j = 0; while (j < mapWidth) { var name = ((("t_" + i) + "_") + j); game[name] = new game["Tile" + map[i][j]](); game.clip.attachMovie("tile", name, (i * 100) + (j * 2)); game.clip[name]._x = j * game.tileW; game.clip[name]._y = i * game.tileH; game.clip[name].gotoAndStop(game[name].frame); if (game[name].item != undefined) { game.clip[name].attachMovie(game[name].item, "item", 1); } j++; } i++; } var enemies = myEnemies[game.currentMap]; game.currentEnemies = enemies.length; var i = 0; while (i < game.currentEnemies) { var name = ("enemy" + i); game[name] = new game["Enemyp" + enemies[i][0]](); game.clip.attachMovie("enemy" + enemies[i][0], name, 11001 + i); game[name].clip = game.clip[name]; game[name].xtile = enemies[i][1]; game[name].ytile = enemies[i][2]; game[name].width = game.clip[name]._width / 2; game[name].height = game.clip[name]._height / 2; game[name].x = (game[name].xtile * game.tileW) + (game.tileW / 2); game[name].y = (game[name].ytile * game.tileH) + (game.tileH / 2); game[name].clip._x = game[name].x; game[name].clip._y = game[name].y; i++; } game.items = myItems[game.currentMap]; var i = 0; while (i < game.items.length) { var name = ((("item" + game.items[i][2]) + "_") + game.items[i][1]); game[name] = new game["Item" + game.items[i][0]](); game[name].position = i; game.clip.attachMovie("items", name, 12001 + i); game[name].clip = game.clip[name]; game[name].clip._x = (game.items[i][1] * game.tileW) + (game.tileW / 2); game[name].clip._y = (game.items[i][2] * game.tileH) + (game.tileH / 2); game[name].clip.gotoAndStop(game.items[i][0]); i++; } _root.points = game.points; game.movingtiles = myMovingTiles[game.currentMap]; var i = 0; while (i < game.movingtiles.length) { var name = ("movingtile" + i); game[name] = new game["MovingTilep" + game.movingtiles[i][0]](); game.clip.attachMovie("movingtiles", name, 13001 + i); game[name].clip = game.clip[name]; game[name].clip.gotoAndStop(game.movingtiles[i][0]); game[name].xtile = game.movingtiles[i][1]; game[name].ytile = game.movingtiles[i][2]; game[name].x = (game[name].xtile * game.tileW) + (game.tileW / 2); game[name].y = (game[name].ytile * game.tileH) + (game.tileH / 2); game[name].clip._x = game[name].x; game[name].clip._y = game[name].y; game[name].minx = game[name].minx + game[name].xtile; game[name].maxx = game[name].maxx + game[name].xtile; game[name].miny = game[name].miny + game[name].ytile; game[name].maxy = game[name].maxy + game[name].ytile; i++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = ((char.ytile + 1) * game.tileW) - char.height; char.clip._x = char.x; char.clip._y = char.y; char.clip.gotoAndStop(char.frame); } function changeMap(ob) { var tempitems = []; var i = 0; while (i < game.items.length) { if (game.items[i]) { var name = ((("item" + game.items[i][2]) + "_") + game.items[i][1]); delete game[name]; tempitems.push(game.items[i]); } i++; } myItems[game.currentMap] = tempitems; var name = ((("t_" + ob.ytile) + "_") + ob.xtile); game.currentMap = game[name].newMap; ob.ytile = game[name].newchary; ob.xtile = game[name].newcharx; ob.frame = ob.clip._currentframe; buildMap(_root["myMap" + game.currentMap]); _root.bana = _root.game.currentMap; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function checkIfOnCloud(ob) { var leftcloud = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var rightcloud = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; if ((leftcloud or rightcloud) and (ob.ytile != ob.downY)) { return(true); } return(false); } function enemyBrain() { var i = 0; while (i < game.currentEnemies) { var name = ("enemy" + i); var ob = game[name]; getMyCorners(ob.x + (ob.speed * ob.xMove), ob.y + (ob.speed * ob.yMove), ob); if (((ob.downleft and ob.upleft) and ob.downright) and ob.upright) { moveChar(ob, ob.xMove, ob.yMove); } else { ob.xMove = -ob.xMove; ob.yMove = -ob.yMove; } var xdist = (ob.x - char.x); var ydist = (ob.y - char.y); if (Math.sqrt((xdist * xdist) + (ydist * ydist)) < (ob.width + char.width)) { if (0 < liv) { _root.liv = liv - 1; char.clip.gotoAndStop(9); if (soundfx == 1) { hurt.start(); } } } i++; } } function moveChar(ob, dirx, diry, jump) { if (Math.abs(jump) == 1) { speed = ob.jumpspeed * jump; } else { speed = ob.speed; } ob.lasty = ob.y; getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; ob.jumpspeed = 0; } } if (diry == 1) { if (((ob.downleft and ob.downright) and (!checkIfOnCloud(ob))) and (!checkMovingTiles(speed * diry))) { ob.y = ob.y + (speed * diry); } else { ob.jump = false; if (ob.onMovingTile) { ob.y = (ob.onMovingTile.y - ob.onMovingTile.height) - ob.height; } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { if (ob.downleft and ob.upleft) { ob.climb = true; ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { if (ob.upright and ob.downright) { ob.climb = true; ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } var itemname = game[(("item" + ob.ytile) + "_") + ob.xtile]; if (itemname and (ob == _root.char)) { game.points = game.points + itemname.points; _root.points = game.points; if (soundfx == 1) { point.start(); } removeMovieClip(itemname.clip); game.items[itemname.position] = 0; delete game[(("item" + ob.ytile) + "_") + ob.xtile]; } updateChar(ob, dirx, diry); return(true); } function updateChar(ob, dirx, diry) { ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); if (game[(("t_" + ob.ytile) + "_") + ob.xtile].door and (ob == _root.char)) { changeMap(ob); } } function jump(ob) { ob.jumpspeed = ob.jumpspeed + ob.gravity; if (19 < ob.jumpspeed) { ob.jumpspeed = 20; } if (ob.jumpspeed < 0) { moveChar(ob, 0, -1, -1); ob.clip.gotoAndStop(4); } else if (0 < ob.jumpspeed) { moveChar(ob, 0, 1, 1); ob.clip.gotoAndStop(5); } } function fall(ob) { ob.climb = false; if (!ob.jump) { getMyCorners(ob.x, ob.y + 1, ob); if ((ob.downleft and ob.downright) and (!checkIfOnCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } function checkUpLadder(ob) { var downY = Math.floor(((ob.y + ob.height) - 1) / game.tileH); var upY = Math.floor((ob.y - ob.height) / game.tileH); var upLadder = game[(("t_" + upY) + "_") + ob.xtile].ladder; var downLadder = game[(("t_" + downY) + "_") + ob.xtile].ladder; if (upLadder or downLadder) { return(true); } fall(ob); } function checkDownLadder(ob) { var downY = Math.floor(((ob.speed + ob.y) + ob.height) / game.tileH); var downLadder = game[(("t_" + downY) + "_") + ob.xtile].ladder; if (downLadder) { return(true); } fall(ob); } function climb(ob, diry) { ob.climb = true; ob.jump = false; ob.y = ob.y + (ob.speed * diry); ob.x = (ob.xtile * game.tileW) + (game.tileW / 2); updateChar(ob, 0, diry); return(true); } function checkMovingTiles(y) { if (char.diry != -1) { var heroymax = ((char.y + char.height) + y); var heroxmax = (char.x + char.width); var heroxmin = (char.x - char.width); foundit = false; var i = 0; while (i < game.movingtiles.length) { var ob = game["movingtile" + i]; var tileymax = (ob.y + ob.height); var tileymin = (ob.y - ob.height); var tilexmax = (ob.x + ob.width); var tilexmin = (ob.x - ob.width); if (tileymin >= (char.lasty + char.height)) { if ((tileymax >= heroymax) and (heroymax >= tileymin)) { if ((tilexmin < heroxmax) and (heroxmax < tilexmax)) { char.onMovingTile = ob; foundit = true; break; } if ((tilexmin < heroxmin) and (heroxmin < tilexmax)) { char.onMovingTile = ob; foundit = true; break; } } } i++; } return(foundit); } } function moveTiles() { var i = 0; while (i < game.movingtiles.length) { var ob = game["movingtile" + i]; getMyCorners(ob.x + (ob.speed * ob.dirx), ob.y + (ob.speed * ob.diry), ob); if ((ob.upY < ob.miny) or (ob.maxy < ob.downY)) { ob.diry = -ob.diry; } if ((ob.leftX < ob.minx) or (ob.maxx < ob.rightX)) { ob.dirx = -ob.dirx; } ob.x = ob.x + (ob.speed * ob.dirx); ob.y = ob.y + (ob.speed * ob.diry); ob.xtile = Math.floor(ob.x / game.tileW); ob.ytile = Math.floor(ob.y / game.tileH); ob.clip._x = ob.x; ob.clip._y = ob.y; if (ob.diry == -1) { checkMovingTiles(0); } i++; } if (char.onMovingTile) { getMyCorners(char.x, char.y + (char.onMovingTile.speed * char.onMovingTile.diry), char); if (char.onMovingTile.diry == -1) { if (char.upleft and char.upright) { char.y = (char.onMovingTile.y - char.onMovingTile.height) - char.height; } else { char.y = (char.ytile * game.tileH) + char.height; char.jumpspeed = 0; char.jump = true; char.onMovingTile = false; } } if (char.onMovingTile.diry == 1) { if (char.downleft and char.downright) { char.y = (char.onMovingTile.y - char.onMovingTile.height) - char.height; } else { char.onMovingTile = false; char.y = ((char.ytile + 1) * game.tileH) - char.height; } } getMyCorners(char.x + (char.onMovingTile.speed * char.onMovingTile.dirx), char.y, char); if (char.onMovingTile.dirx == -1) { if (char.downleft and char.upleft) { char.x = char.x + (char.onMovingTile.speed * char.onMovingTile.dirx); } else { char.x = (char.xtile * game.tileW) + char.width; fall(char); char.onMovingTile = false; } } if (char.onMovingTile.dirx == 1) { if (char.upright and char.downright) { char.x = char.x + (char.onMovingTile.speed * char.onMovingTile.dirx); } else { fall(char); char.x = ((char.xtile + 1) * game.tileW) - char.width; char.onMovingTile = false; } } updateChar(char); } } function detectKeys() { moveTiles(); var ob = _root.char; var keyPressed = false; if (((Key.isDown(32) and (!ob.jump)) and (!ob.climb)) and (liv != 0)) { ob.onMovingTile = false; ob.jump = true; ob.jumpspeed = ob.jumpstart; } if (Key.isDown(39) and (liv != 0)) { riktning = 1; ob.onMovingTile = false; if ((!ob.jump) and (!ob.climb)) { ob.clip.gotoAndStop(3); } getMyCorners(ob.x - ob.speed, ob.y, ob); if ((!ob.climb) or (((ob.downleft and ob.upleft) and ob.upright) and ob.downright)) { keyPressed = _root.moveChar(ob, 1, 0); } } else if (Key.isDown(37) and (liv != 0)) { riktning = 0; ob.onMovingTile = false; if ((!ob.jump) and (!ob.climb)) { ob.clip.gotoAndStop(2); } getMyCorners(ob.x - ob.speed, ob.y, ob); if ((!ob.climb) or (((ob.downleft and ob.upleft) and ob.upright) and ob.downright)) { keyPressed = _root.moveChar(ob, -1, 0); } } else if (Key.isDown(38)) { if ((!ob.jump) and checkUpLadder(ob)) { keyPressed = _root.climb(ob, -1); ob.clip.gotoAndStop(6); } } else if (Key.isDown(40)) { if (((!ob.jump) and checkDownLadder(ob)) and (liv != 0)) { keyPressed = _root.climb(ob, 1); ob.clip.gotoAndStop(7); } } if (ob.jump) { keyPressed = _root.jump(ob); } if ((((!keyPressed) and (!ob.jump)) and (liv != 0)) and (!ob.climb)) { ob.clip.gotoAndStop(1); } if ((!keyPressed) and ob.climb) { ob.clip.char.stop(); } else { ob.clip.char.play(); } _root.enemyBrain(); if (liv == 0) { ob.clip.gotoAndStop(8); if (_root.livtest == 0) { _root.gameover.play(); _root.livtest = 1; } } if (_root.bana == 11) { _root.endscene._visible = true; } else { _root.endscene._visible = false; } } fscommand ("allowscale", false); stop(); point = new Sound(this); point.attachSound("point"); hurt = new Sound(this); hurt.attachSound("hurt"); _root.attachMovie("opengame", "opengame", 25000); _root.attachMovie("ram", "ram", 20000); _root.ram._x = 15; _root.ram._y = 30; _root.attachMovie("gameover", "gameover", 10800); _root.gameover._x = 260; _root.gameover._y = -160; _root.attachMovie("endscene", "endscene", -1); _root.endscene._x = 15; _root.endscene._y = 30; _root.endscene._visible = false; myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [7, 3, 59, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8], [4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6], [4, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 56], [4, 1, 1, 1, 1, 1, 1, 1, 1, 4, 3, 0, 0, 0, 2, 8], [4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 4], [4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 4], [4, 0, 5, 0, 0, 0, 0, 0, 0, 4, 0, 0, 11, 0, 0, 4], [4, 0, 9, 1, 1, 1, 1, 1, 1, 4, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0], [5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 0, 0, 0, 0, 0, 0, 0, 0, 7, 1, 3, 0, 0, 0, 0], [4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0], [4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 5], [4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 1, 1, 1, 1, 4], [4, 0, 0, 0, 0, 0, 0, 8, 0, 6, 0, 0, 0, 0, 0, 4], [4, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 4], [4, 3, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 4], [4, 0, 0, 0, 0, 0, 2, 1, 8, 0, 0, 0, 0, 5, 0, 4], [4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 7, 0, 0, 9, 1, 4], [4, 0, 0, 0, 8, 0, 0, 0, 4, 0, 4, 0, 0, 0, 0, 4], [4, 0, 0, 0, 6, 0, 0, 0, 6, 0, 6, 0, 0, 0, 0, 4], [9, 3, 12, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; game = {tileW:30, tileH:30, currentMap:1, points:0}; game.Tile0 = function () { }; game.Tile0.prototype.walkable = true; game.Tile0.prototype.frame = 1; game.Tile1 = function () { }; game.Tile1.prototype.walkable = false; game.Tile1.prototype.frame = 2; game.Tile2 = function () { }; game.Tile2.prototype.walkable = false; game.Tile2.prototype.frame = 3; game.Tile3 = function () { }; game.Tile3.prototype.walkable = false; game.Tile3.prototype.frame = 4; game.Tile4 = function () { }; game.Tile4.prototype.walkable = false; game.Tile4.prototype.frame = 5; game.Tile5 = function () { }; game.Tile5.prototype.walkable = false; game.Tile5.prototype.frame = 6; game.Tile6 = function () { }; game.Tile6.prototype.walkable = false; game.Tile6.prototype.frame = 7; game.Tile7 = function () { }; game.Tile7.prototype.walkable = false; game.Tile7.prototype.frame = 8; game.Tile8 = function () { }; game.Tile8.prototype.walkable = false; game.Tile8.prototype.frame = 9; game.Tile9 = function () { }; game.Tile9.prototype.walkable = false; game.Tile9.prototype.frame = 10; game.Tile10 = function () { }; game.Tile10.prototype.walkable = false; game.Tile10.prototype.frame = 11; game.Tile11 = function () { }; game.Tile11.prototype.walkable = false; game.Tile11.prototype.frame = 12; game.Tile12 = function () { }; game.Tile12.prototype.walkable = false; game.Tile12.prototype.frame = 13; game.Tile13 = function () { }; game.Tile13.prototype.walkable = false; game.Tile13.prototype.frame = 14; game.Tile14 = function () { }; game.Tile14.prototype.walkable = false; game.Tile14.prototype.frame = 2; game.Tile14.prototype.ladder = true; game.Tile14.prototype.item = "ladder"; game.Tile15 = function () { }; game.Tile15.prototype.walkable = true; game.Tile15.prototype.frame = 1; game.Tile15.prototype.ladder = true; game.Tile15.prototype.item = "ladder"; game.Tile16 = function () { }; game.Tile16.prototype.walkable = true; game.Tile16.prototype.frame = 14; game.Tile17 = function () { }; game.Tile17.prototype.walkable = true; game.Tile17.prototype.frame = 15; game.Tile18 = function () { }; game.Tile18.prototype.walkable = true; game.Tile18.prototype.frame = 16; game.Doors = function (newmap, newcharx, newchary) { this.newmap = newmap; this.newcharx = newcharx; this.newchary = newchary; }; game.Doors.prototype.walkable = true; game.Doors.prototype.frame = 30; game.Doors.prototype.door = true; game.Tile30 = function () { }; game.Tile30.prototype = new game.Doors(3, 1, 2); game.Tile31 = function () { }; game.Tile31.prototype = new game.Doors(2, 14, 2); game.Tile32 = function () { }; game.Tile32.prototype = new game.Doors(3, 1, 14); game.Tile33 = function () { }; game.Tile33.prototype = new game.Doors(2, 14, 14); game.Tile34 = function () { }; game.Tile34.prototype = new game.Doors(3, 1, 8); game.Tile35 = function () { }; game.Tile35.prototype = new game.Doors(2, 14, 8); game.Tile36 = function () { }; game.Tile36.prototype = new game.Doors(4, 1, 2); game.Tile37 = function () { }; game.Tile37.prototype = new game.Doors(5, 1, 15); game.Tile38 = function () { }; game.Tile38.prototype = new game.Doors(4, 14, 15); game.Tile39 = function () { }; game.Tile39.prototype = new game.Doors(6, 1, 15); game.Tile40 = function () { }; game.Tile40.prototype = new game.Doors(9, 10, 15); game.Tile41 = function () { }; game.Tile41.prototype = new game.Doors(3, 13, 2); game.Tile42 = function () { }; game.Tile42.prototype = new game.Doors(5, 14, 15); game.Tile43 = function () { }; game.Tile43.prototype = new game.Doors(7, 8, 15); game.Tile44 = function () { }; game.Tile44.prototype = new game.Doors(7, 3, 15); game.Tile45 = function () { }; game.Tile45.prototype = new game.Doors(7, 12, 15); game.Tile46 = function () { }; game.Tile46.prototype = new game.Doors(2, 2, 2); game.Tile47 = function () { }; game.Tile47.prototype = new game.Doors(1, 2, 15); game.Tile48 = function () { }; game.Tile48.prototype = new game.Doors(6, 3, 2); game.Tile49 = function () { }; game.Tile49.prototype = new game.Doors(6, 8, 2); game.Tile50 = function () { }; game.Tile50.prototype = new game.Doors(6, 12, 2); game.Tile51 = function () { }; game.Tile51.prototype = new game.Doors(8, 7, 15); game.Tile52 = function () { }; game.Tile52.prototype = new game.Doors(7, 7, 2); game.Tile53 = function () { }; game.Tile53.prototype = new game.Doors(9, 14, 3); game.Tile54 = function () { }; game.Tile54.prototype = new game.Doors(8, 1, 3); game.Tile55 = function () { }; game.Tile55.prototype = new game.Doors(1, 14, 3); game.Tile56 = function () { }; game.Tile56.prototype = new game.Doors(9, 1, 3); game.Tile57 = function () { }; game.Tile57.prototype = new game.Doors(10, 1, 13); game.Tile58 = function () { }; game.Tile58.prototype = new game.Doors(6, 14, 13); game.Tile59 = function () { }; game.Tile59.prototype = new game.Doors(11, 2, 15); game.Tile12 = function () { }; game.Tile12.prototype.walkable = true; game.Tile12.prototype.cloud = true; game.Tile12.prototype.frame = 13; myEnemies = [[0], [[4, 4, 3], [4, 3, 7], [4, 6, 12], [3, 9, 16], [3, 10, 16], [3, 11, 16], [3, 12, 16], [3, 13, 16], [3, 14, 16]], [[4, 7, 11], [4, 12, 15], [2, 4, 13], [1, 1, 6], [1, 12, 5]], [[2, 3, 4], [3, 0, 16], [3, 1, 16], [3, 2, 16], [3, 3, 16], [3, 4, 16], [3, 5, 16], [3, 6, 16], [3, 7, 16], [3, 8, 16], [3, 9, 16], [3, 10, 16], [3, 11, 16], [3, 12, 16], [3, 13, 16], [3, 14, 16]], [[4, 4, 8], [4, 11, 8], [4, 7, 3], [4, 5, 11], [4, 5, 15]], [[3, 2, 16], [3, 3, 16], [3, 4, 16], [3, 5, 16], [3, 6, 16], [3, 7, 16], [3, 8, 16], [3, 9, 16], [3, 10, 16], [3, 11, 16], [3, 12, 16], [3, 13, 16]], [[5, 2, 5], [5, 13, 12], [6, 2, 9], [5, 7, 12], [5, 9, 3], [6, 5, 6], [6, 9, 10], [6, 6, 2]], [[1, 3, 7], [1, 4, 6], [1, 5, 5], [1, 6, 7], [1, 7, 6], [1, 8, 5], [1, 9, 7], [1, 10, 6], [1, 11, 5], [1, 12, 7], [6, 1, 14], [2, 4, 12], [2, 14, 14], [6, 13, 12]], [[6, 2, 13], [6, 10, 13], [6, 4, 9], [6, 14, 9], [6, 7, 5], [6, 9, 5]], [[2, 5, 4], [2, 11, 4], [6, 4, 5], [6, 12, 5], [2, 1, 6], [2, 6, 6], [2, 10, 6]]]; game.Enemyp1 = function () { }; game.Enemyp1.prototype.xMove = 0; game.Enemyp1.prototype.yMove = 1; game.Enemyp1.prototype.speed = 2; game.Enemyp2 = function () { }; game.Enemyp2.prototype.xMove = 1; game.Enemyp2.prototype.yMove = 0; game.Enemyp2.prototype.speed = 2; game.Enemyp3 = function () { }; game.Enemyp3.prototype.xMove = 0; game.Enemyp3.prototype.yMove = 0; game.Enemyp3.prototype.speed = 0; game.Enemyp4 = function () { }; game.Enemyp4.prototype.xMove = 1; game.Enemyp4.prototype.yMove = 0; game.Enemyp4.prototype.speed = 3; game.Enemyp5 = function () { }; game.Enemyp5.prototype.xMove = 0; game.Enemyp5.prototype.yMove = 1; game.Enemyp5.prototype.speed = 5; game.Enemyp6 = function () { }; game.Enemyp6.prototype.xMove = 1; game.Enemyp6.prototype.yMove = 0; game.Enemyp6.prototype.speed = 5; myItems = [[0], [[1, 4, 5], [1, 6, 5], [1, 8, 5], [1, 3, 10], [1, 5, 10], [1, 7, 10], [3, 12, 6], [3, 10, 9], [3, 14, 9], [3, 12, 12]], [[1, 4, 2], [1, 10, 2], [2, 13, 2], [2, 1, 5], [2, 4, 13], [3, 14, 4], [1, 1, 11], [1, 2, 11], [3, 11, 13]], [[2, 12, 2], [2, 7, 13], [2, 8, 13], [2, 13, 2], [1, 5, 5], [3, 14, 8]], [[1, 1, 7], [2, 1, 9], [1, 1, 11], [2, 3, 5], [2, 6, 5], [2, 8, 5], [2, 12, 5], [1, 3, 8], [1, 6, 8], [1, 8, 8], [1, 12, 8], [3, 3, 10], [3, 7, 10], [3, 5, 2], [3, 8, 2]], [[1, 9, 3], [2, 8, 3], [2, 10, 3], [1, 4, 7], [1, 7, 7], [3, 12, 6], [3, 1, 4], [1, 1, 5]], [[1, 1, 4], [1, 14, 4], [2, 5, 10], [1, 5, 12], [2, 14, 13], [1, 14, 15], [1, 8, 12], [2, 8, 7], [3, 8, 3]], [[3, 1, 11], [2, 3, 11], [3, 5, 11], [3, 10, 11], [2, 12, 11], [3, 14, 11], [1, 3, 2], [1, 6, 2], [1, 9, 2], [1, 12, 2]], [[1, 1, 13], [1, 8, 13], [1, 12, 13], [1, 3, 11], [2, 5, 11], [2, 7, 11], [1, 12, 11], [2, 3, 9], [2, 8, 9], [2, 14, 9], [2, 1, 7], [3, 7, 7], [2, 12, 7], [3, 2, 5], [3, 12, 5], [3, 14, 5]], [[1, 5, 13], [1, 10, 13], [2, 5, 9], [1, 6, 10], [3, 7, 9], [3, 8, 9], [1, 9, 10], [2, 10, 9], [1, 11, 6], [2, 8, 3], [3, 4, 5]], [[2, 3, 3], [3, 7, 3], [3, 8, 3], [2, 12, 3], [3, 5, 6], [3, 10, 6], [1, 4, 9], [1, 11, 9], [1, 4, 8], [1, 11, 8], [1, 3, 11], [1, 12, 11], [1, 3, 12], [1, 12, 12], [1, 7, 10], [1, 8, 10], [2, 7, 11], [2, 8, 11]]]; game.Item1 = function () { }; game.Item1.prototype.points = 2; game.Item2 = function () { }; game.Item2.prototype.points = 5; game.Item3 = function () { }; game.Item3.prototype.points = 10; game.Item4 = function () { }; game.Item4.prototype.liv = 10; game.MovingTilep1 = function () { }; game.MovingTilep1.prototype.speed = 2; game.MovingTilep1.prototype.dirx = 1; game.MovingTilep1.prototype.diry = 0; game.MovingTilep1.prototype.minx = 0; game.MovingTilep1.prototype.maxx = 7; game.MovingTilep1.prototype.width = game.tileW / 2; game.MovingTilep1.prototype.height = game.tileH / 2; game.MovingTilep2 = function () { }; game.MovingTilep2.prototype.speed = 2; game.MovingTilep2.prototype.dirx = 1; game.MovingTilep2.prototype.diry = 0; game.MovingTilep2.prototype.minx = -5; game.MovingTilep2.prototype.maxx = 4; game.MovingTilep2.prototype.width = game.tileW / 2; game.MovingTilep2.prototype.height = game.tileH / 2; game.MovingTilep3 = function () { }; game.MovingTilep3.prototype.speed = 2; game.MovingTilep3.prototype.dirx = -1; game.MovingTilep3.prototype.diry = 0; game.MovingTilep3.prototype.minx = -2; game.MovingTilep3.prototype.maxx = 3; game.MovingTilep3.prototype.width = game.tileW / 2; game.MovingTilep3.prototype.height = game.tileH / 2; game.MovingTilep4 = function () { }; game.MovingTilep4.prototype.speed = 2; game.MovingTilep4.prototype.dirx = 0; game.MovingTilep4.prototype.diry = -1; game.MovingTilep4.prototype.miny = -2; game.MovingTilep4.prototype.maxy = 2; game.MovingTilep4.prototype.width = game.tileW / 2; game.MovingTilep4.prototype.height = game.tileH / 2; game.MovingTilep5 = function () { }; game.MovingTilep5.prototype.speed = 2; game.MovingTilep5.prototype.dirx = 1; game.MovingTilep5.prototype.diry = 0; game.MovingTilep5.prototype.minx = -2; game.MovingTilep5.prototype.maxx = 1; game.MovingTilep5.prototype.width = game.tileW / 2; game.MovingTilep5.prototype.height = game.tileH / 2; game.MovingTilep6 = function () { }; game.MovingTilep6.prototype.speed = 2; game.MovingTilep6.prototype.dirx = 0; game.MovingTilep6.prototype.diry = 1; game.MovingTilep6.prototype.miny = -2; game.MovingTilep6.prototype.maxy = 0; game.MovingTilep6.prototype.width = game.tileW / 2; game.MovingTilep6.prototype.height = game.tileH / 2; myMovingTiles = [[], [], [], [[2, 8, 15]], [], [[3, 5, 10], [5, 11, 10], [4, 2, 12], [4, 13, 12]], [], [], [], [[1, 4, 11]]]; char = {xtile:2, ytile:5, speed:4, jumpstart:-21, gravity:2, jump:false, climb:false}; buildMap(_root["myMap" + game.currentMap]); fall(_root.char); stop();
Instance of Symbol 229 MovieClip "livbar" in Frame 102
onClipEvent (enterFrame) { _root.livbar.gotoAndStop([_root.liv]); if (_root.liv == 0) { _root.livbar.gotoAndStop(51); } }
Instance of Symbol 182 MovieClip [empty] "controller" in Frame 102
onClipEvent (enterFrame) { _root.detectKeys(); }
Frame 113
gotoAndStop (76);
Frame 114
if (goto == 2) { _root.instructions._visible = true; _root.story._visible = false; _root.credits._visible = false; } else if (goto == 3) { _root.instructions._visible = false; _root.story._visible = true; _root.credits._visible = false; } else { _root.instructions._visible = false; _root.story._visible = false; _root.credits._visible = true; }
Frame 140
stop();
Frame 175
gotoAndPlay (103);
Symbol 8 MovieClip Frame 1
Symbol 18 MovieClip Frame 2
foot = new Sound(this); foot.attachSound("foot"); if (_root.soundfx == 1) { foot.start(); }
Symbol 18 MovieClip Frame 7
if (_root.soundfx == 1) { foot.start(); }
Symbol 29 MovieClip Frame 2
foot = new Sound(this); foot.attachSound("foot"); if (_root.soundfx == 1) { foot.start(); }
Symbol 29 MovieClip Frame 7
if (_root.soundfx == 1) { foot.start(); }
Symbol 35 MovieClip [char] Frame 1
if (_root.riktning == 1) { char._xscale = -100; } stop();
Symbol 35 MovieClip [char] Frame 4
jump = new Sound(this); jump.attachSound("jump"); if (_root.soundfx == 1) { jump.start(); } if (_root.riktning == 1) { char._xscale = -100; }
Symbol 35 MovieClip [char] Frame 5
if (_root.riktning == 1) { char._xscale = -100; }
Symbol 105 MovieClip [gameover] Frame 1
stop();
Symbol 105 MovieClip [gameover] Frame 125
_root.attachMovie("closegame2", "closegame2", 26000); stop();
Symbol 122 MovieClip [items] Frame 1
stop();
Symbol 132 Button
on (release) { getURL ("http://www.karn.nu", "_blank"); }
Symbol 139 Button
on (release) { _root.attachMovie("closegame1", "closegame1", 26000); }
Symbol 146 Button
on (release) { _root.soundfx = 0; this.gotoAndStop(2); }
Symbol 153 Button
on (release) { _root.soundfx = 1; this.gotoAndStop(1); }
Symbol 154 MovieClip Frame 1
stop();
Symbol 176 MovieClip [closegame2] Frame 76
removeMovieClip(_root.tiles); removeMovieClip(_root.ram); removeMovieClip(_root.gameover); removeMovieClip(_root.closegame); removeMovieClip(_root.endscene); _root.gotoAndPlay("back");
Symbol 177 MovieClip [closegame1] Frame 47
removeMovieClip(_root.tiles); removeMovieClip(_root.ram); removeMovieClip(_root.gameover); removeMovieClip(_root.closegame); removeMovieClip(_root.endscene); _root.gotoAndPlay("back");
Symbol 178 MovieClip [opengame] Frame 34
removeMovieClip(_root.opengame);
Symbol 181 MovieClip [endscene] Frame 1
Symbol 198 Button
on (release) { goto = 1; play(); }
Symbol 206 Button
on (release) { goto = 2; play(); }
Symbol 213 Button
on (release) { goto = 3; play(); }
Symbol 220 Button
on (release) { goto = 4; play(); }
Instance of Symbol 226 MovieClip in Symbol 229 MovieClip Frame 1
/* no clip actions */
Symbol 236 Button
on (release) { play(); }
Symbol 245 Button
on (release) { getURL ("mailto:jonas@karn.nu"); }
Symbol 253 Button
on (release) { play(); }

Library Items

Symbol 1 Sound [poin]
Symbol 2 Sound [point]
Symbol 3 Sound [jump]
Symbol 4 Sound [hurt]
Symbol 5 Sound [foot]
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClipUses:8Used by:35
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:18
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:18
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:18
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClipUses:11 13 15 17Used by:35
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:21
Symbol 21 MovieClipUses:20Used by:35
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClipUses:23Used by:35
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:29
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29
Symbol 29 MovieClipUses:26 28Used by:35
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:35
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClipUses:33Used by:35
Symbol 35 MovieClip [char]Uses:9 18 21 24 29 31 34
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:78
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:78
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:78
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:78
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:78
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:78
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:78
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:78
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:78
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:78
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:78
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:78
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:78
Symbol 62 BitmapUsed by:63 64 65 66
Symbol 63 GraphicUses:62Used by:78
Symbol 64 GraphicUses:62Used by:78
Symbol 65 GraphicUses:62Used by:78
Symbol 66 GraphicUses:62Used by:78
Symbol 67 BitmapUsed by:68 69 70 71
Symbol 68 GraphicUses:67Used by:78
Symbol 69 GraphicUses:67Used by:78
Symbol 70 GraphicUses:67Used by:78
Symbol 71 GraphicUses:67Used by:78
Symbol 72 BitmapUsed by:73 74 75 76
Symbol 73 GraphicUses:72Used by:78
Symbol 74 GraphicUses:72Used by:78
Symbol 75 GraphicUses:72Used by:78
Symbol 76 GraphicUses:72Used by:78
Symbol 77 GraphicUsed by:78 100 158
Symbol 78 MovieClip [tile]Uses:37 39 41 43 45 47 49 51 53 55 57 59 61 63 64 65 66 68 69 70 71 73 74 75 76 77
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81
Symbol 81 MovieClip [ladder]Uses:80
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:88
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:88
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:88
Symbol 88 MovieClip [enemy4]Uses:83 85 87
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:91
Symbol 91 MovieClip [enemy3]Uses:90
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:96 97 98 99
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96 97 98 99
Symbol 96 MovieClip [enemy2]Uses:93 95
Symbol 97 MovieClip [enemy6]Uses:93 95
Symbol 98 MovieClip [enemy5]Uses:93 95
Symbol 99 MovieClip [enemy1]Uses:93 95
Symbol 100 MovieClipUses:77Used by:103 172  Timeline
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:103
Symbol 103 MovieClipUses:100 102Used by:105
Symbol 104 SoundUsed by:105
Symbol 105 MovieClip [gameover]Uses:103 104
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:115
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:115
Symbol 110 BitmapUsed by:111 112
Symbol 111 GraphicUses:110Used by:115
Symbol 112 GraphicUses:110Used by:115
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:115
Symbol 115 MovieClipUses:107 109 111 112 114Used by:122
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClipUses:117Used by:122
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:121
Symbol 121 MovieClipUses:120Used by:122
Symbol 122 MovieClip [items]Uses:115 118 121
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:127
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses:124 126Used by:128
Symbol 128 MovieClip [movingtiles]Uses:127
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:158
Symbol 131 GraphicUsed by:132 224 245
Symbol 132 ButtonUses:131Used by:158  Timeline
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:139
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:139
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 ButtonUses:134 136 138Used by:158
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:146
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:146
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:146
Symbol 146 ButtonUses:141 143 145Used by:154
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:153
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:153
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:153
Symbol 153 ButtonUses:148 150 152Used by:154
Symbol 154 MovieClipUses:146 153Used by:158
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:156Used by:158 176 177 178  Timeline
Symbol 158 MovieClip [ram]Uses:130 132 139 154 77 157
Symbol 159 FontUsed by:160 187 230 231 232
Symbol 160 EditableTextUses:159Used by:161
Symbol 161 MovieClip [banaclip]Uses:160
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:162Used by:176 177 178  Timeline
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:166
Symbol 166 MovieClipUses:165Used by:176 177 178
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:169
Symbol 169 MovieClipUses:168Used by:176 177 178
Symbol 170 BitmapUsed by:171
Symbol 171 GraphicUses:170Used by:172
Symbol 172 MovieClipUses:171 100Used by:176 177 178  Timeline
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:175  Timeline
Symbol 175 MovieClipUses:174Used by:176 177 178  Timeline
Symbol 176 MovieClip [closegame2]Uses:163 166 169 172 175 157
Symbol 177 MovieClip [closegame1]Uses:163 166 169 172 175 157
Symbol 178 MovieClip [opengame]Uses:166 169 163 157 172 175
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:181
Symbol 181 MovieClip [endscene]Uses:180
Symbol 182 MovieClip [empty]Used by:Timeline
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:Timeline
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:Timeline
Symbol 187 EditableTextUses:159Used by:188
Symbol 188 MovieClipUses:187Used by:Timeline
Symbol 189 BitmapUsed by:192 200 214 215 221
Symbol 190 BitmapUsed by:192 207 208 214 221 222
Symbol 191 BitmapUsed by:192 193 200 207 214 221 222 223
Symbol 192 GraphicUses:189 190 191Used by:Timeline
Symbol 193 GraphicUses:191Used by:198 236  Timeline
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:198 236
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198 236
Symbol 198 ButtonUses:193 195 197Used by:Timeline
Symbol 199 BitmapUsed by:200 201 207 214 221 222 223
Symbol 200 GraphicUses:189 199 191Used by:Timeline
Symbol 201 GraphicUses:199Used by:206 235
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:206 235
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:206 235
Symbol 206 ButtonUses:201 203 205Used by:Timeline
Symbol 207 GraphicUses:190 199 191Used by:Timeline
Symbol 208 GraphicUses:190Used by:213 234
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:213 234
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:213 234
Symbol 213 ButtonUses:208 210 212Used by:Timeline
Symbol 214 GraphicUses:189 190 199 191Used by:Timeline
Symbol 215 GraphicUses:189Used by:220 233
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:220 233
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220 233
Symbol 220 ButtonUses:215 217 219Used by:Timeline
Symbol 221 GraphicUses:199 189 190 191Used by:Timeline
Symbol 222 GraphicUses:199 190 191Used by:Timeline
Symbol 223 GraphicUses:199 191Used by:Timeline
Symbol 224 MovieClipUses:131Used by:229
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:229
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:229
Symbol 229 MovieClipUses:224 226 228Used by:Timeline
Symbol 230 EditableTextUses:159Used by:Timeline
Symbol 231 EditableTextUses:159Used by:Timeline
Symbol 232 EditableTextUses:159Used by:Timeline
Symbol 233 ButtonUses:215 217 219Used by:Timeline
Symbol 234 ButtonUses:208 210 212Used by:Timeline
Symbol 235 ButtonUses:201 203 205Used by:Timeline
Symbol 236 ButtonUses:193 195 197Used by:Timeline
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:239
Symbol 239 MovieClipUses:238Used by:Timeline
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:242
Symbol 242 MovieClipUses:241Used by:Timeline
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:246
Symbol 245 ButtonUses:131Used by:246
Symbol 246 MovieClipUses:244 245Used by:Timeline
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:253
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:253
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:253
Symbol 253 ButtonUses:248 250 252Used by:Timeline
Symbol 254 BitmapUsed by:256 257
Symbol 255 BitmapUsed by:256 259
Symbol 256 GraphicUses:254 255Used by:Timeline
Symbol 257 GraphicUses:254Used by:258
Symbol 258 MovieClipUses:257Used by:Timeline
Symbol 259 GraphicUses:255Used by:260
Symbol 260 MovieClipUses:259Used by:Timeline

Instance Names

"livbar"Frame 102Symbol 229 MovieClip
"controller"Frame 102Symbol 182 MovieClip [empty]
"instroctions"Frame 114Symbol 239 MovieClip
"story"Frame 114Symbol 242 MovieClip
"credits"Frame 114Symbol 246 MovieClip
"char"Symbol 35 MovieClip [char] Frame 1Symbol 9 MovieClip
"char"Symbol 35 MovieClip [char] Frame 2Symbol 18 MovieClip
"char"Symbol 35 MovieClip [char] Frame 4Symbol 21 MovieClip
"char"Symbol 35 MovieClip [char] Frame 5Symbol 24 MovieClip
"char"Symbol 35 MovieClip [char] Frame 6Symbol 29 MovieClip
"soundonoff"Symbol 158 MovieClip [ram] Frame 1Symbol 154 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "poin"
ExportAssets (56)Timeline Frame 1Symbol 2 as "point"
ExportAssets (56)Timeline Frame 1Symbol 3 as "jump"
ExportAssets (56)Timeline Frame 1Symbol 4 as "hurt"
ExportAssets (56)Timeline Frame 1Symbol 5 as "foot"
ExportAssets (56)Timeline Frame 1Symbol 35 as "char"
ExportAssets (56)Timeline Frame 1Symbol 78 as "tile"
ExportAssets (56)Timeline Frame 1Symbol 81 as "ladder"
ExportAssets (56)Timeline Frame 1Symbol 88 as "enemy4"
ExportAssets (56)Timeline Frame 1Symbol 91 as "enemy3"
ExportAssets (56)Timeline Frame 1Symbol 96 as "enemy2"
ExportAssets (56)Timeline Frame 1Symbol 97 as "enemy6"
ExportAssets (56)Timeline Frame 1Symbol 98 as "enemy5"
ExportAssets (56)Timeline Frame 1Symbol 99 as "enemy1"
ExportAssets (56)Timeline Frame 1Symbol 105 as "gameover"
ExportAssets (56)Timeline Frame 1Symbol 122 as "items"
ExportAssets (56)Timeline Frame 1Symbol 128 as "movingtiles"
ExportAssets (56)Timeline Frame 1Symbol 158 as "ram"
ExportAssets (56)Timeline Frame 1Symbol 161 as "banaclip"
ExportAssets (56)Timeline Frame 1Symbol 176 as "closegame2"
ExportAssets (56)Timeline Frame 1Symbol 177 as "closegame1"
ExportAssets (56)Timeline Frame 1Symbol 178 as "opengame"
ExportAssets (56)Timeline Frame 1Symbol 181 as "endscene"
ExportAssets (56)Timeline Frame 1Symbol 182 as "empty"
ExportAssets (56)Timeline Frame 102Symbol 182 as "empty"

Labels

"menu"Frame 76
"level1"Frame 102
"back"Frame 103
"annat"Frame 114

Dynamic Text Variables

banaSymbol 160 EditableText""
textSymbol 187 EditableText""
pointsSymbol 230 EditableText""
livSymbol 231 EditableText""
banaSymbol 232 EditableText""




http://swfchan.com/5/23706/info.shtml
Created: 26/5 -2019 01:02:25 Last modified: 26/5 -2019 01:02:25 Server time: 31/10 -2024 23:35:46