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0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 1, 1, 1, 1, 1, 1, 1, 10, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 1, 1, 5, 6, 7, 1, 1, 10, 11, 1, 10, 11, 1, 5, 6, 7, 1, 10, 11, 1, 1, 10, 11, 1, 10, 11, 1, 10, 11, 1, 10, 11, 1, 1, 1, 5, 6, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
Frame 3
function displayScores(mc) {
names = _root.topnickname.split(",");
scores = _root.topscore.split(",");
i = 0;
while (i <= 19) {
if (names[i] == undefined) {
names[i] = "";
}
if (scores[i] == undefined) {
scores[i] = "";
}
eval ((mc + ".n") + (i + 1)).text = names[i];
eval ((mc + ".p") + (i + 1)).text = scores[i];
i++;
}
}
function cancelSubmit(mc, useridframe) {
trace("cancelSubmit");
delete _root.send_lv.onLoad;
_root.skipsubmit = true;
mc.gotoAndStop(useridframe);
}
function _newUser() {
getURL (_root._registerurl, "_blank");
}
function _trackClickThru(mc) {
if (_root._allowclick) {
mc.hit_area.onRelease = function () {
getURL (_root._clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
}
function _resetUsername(txt) {
txt.onSetFocus = function () {
if ((this.text == _root._msgValid) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
}
function _readSharedData() {
_root.so_uname = ((_root._sostatus.data.so_uname == undefined) ? "" : (_root._sostatus.data.so_uname));
_root.so_jumpframe = ((_root._sostatus.data.so_jumpframe == undefined) ? "" : (_root._sostatus.data.so_jumpframe));
_root.so_sound = ((_root._sostatus.data.so_sound == undefined) ? 1 : (_root._sostatus.data.so_sound));
_resetString = _root._sostatus.data.so_resetString;
trace("==========================");
trace((("_root.so_jumpframe : " + _root._sostatus.data.so_jumpframe) + " : ") + _root.so_uname);
if (_root.so_jumpframe != "") {
_assignValue(_resetString);
_root.createEmptyMovieClip("eye", _root.getNextHighestDepth());
_root.eye.onEnterFrame = function () {
if ((_root.getBytesTotal() == _root.getBytesLoaded()) and (_root.getBytesLoaded() > 50000)) {
_root.intro = 0;
_root._sostatus.data.so_jumpframe = "";
_root._sostatus.flush();
this.onEnterFrame = null;
_root.gotoAndStop(_root.so_jumpframe);
}
};
} else {
_root.intro = 1;
play();
}
_root.uname = _root.so_uname;
_root.gamesound = _root.so_sound;
}
function _writeSharedData(jumpframe, jumpurl, _resetString) {
_root._sostatus.data.so_uname = ((_root.so_uname == undefined) ? "" : (_root.so_uname));
_root._sostatus.data.so_sound = _root.so_sound;
_root._sostatus.data.so_resetString = _resetString;
_root._sostatus.data.so_jumpframe = jumpframe;
_root._sostatus.flush();
if (jumpurl != "") {
getURL (jumpurl);
} else {
gotoAndPlay (1);
}
}
function _assignValue(_val) {
_arr = new Array();
_arr = _val.split("|");
i = 0;
while (i < (_arr.length / 2)) {
_var2 = ((i * 2) + 1) - 1;
_var3 = _var2 + 1;
_root[_arr[_var2]] = _arr[_var3];
i++;
}
}
function _playAgain(mc, jumpframe, _resetString) {
_root.so_uname = _root.uname;
if ((_root.gurl != undefined) and (_root.gurl != "")) {
_writeSharedData(jumpframe, _root.gurl, _resetString);
} else {
_assignValue(_resetString);
mc.gotoAndStop(jumpframe);
}
}
var global_sound = new Sound();
_root.score = 0;
_root._google_txt.text = "Pappu the prilgrim";
_root._gameid = "1032";
_root._clickthru = "http://www.games2win.com";
_root._customer_id = "games2win";
_root.uname = "";
_root.submiturl = "/gamesubmit.asp";
_root.topnickname = [];
_root.topscore = [];
dataSubmit = function (myname, myscore, mygameid, destmc, useridframe, connframe, top10frame, _ord) {
trace("dataSubmit");
_root.skipsubmit = false;
myname = myname.trim();
_loc = eval (destmc);
if (((myname.length == 0) or (myname == "Invalid Nickname!")) or (myname == "Connecting Error!")) {
_root.uname = "Invalid Nickname!";
} else {
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success and (!_root.skipsubmit)) {
if (_root.send_lv.isreg == 0) {
_root.uname = "Invalid Nickname!";
_loc.gotoAndStop(useridframe);
} else if (_root.send_lv.isreg == 1) {
_root.topnickname = send_lv.topnicknames;
_root.topscore = send_lv.topscores;
_loc.gotoAndPlay(top10frame);
}
}
};
_root.send_lv.nickname = myname;
_root.send_lv.points = myscore;
_root.send_lv.gameid = mygameid;
_root.send_lv.order = _ord;
_root.send_lv.sendAndLoad(submiturl, _root.send_lv, "POST");
_loc.gotoAndPlay(connframe);
}
};
String.prototype.trim = function () {
var _local3 = 0;
var _local2 = this.length;
white = new Object();
white._32 = 1;
_local2--;
while (white["_" + ord(this.charAt(_local2))]) {
}
while (white["_" + ord(this.charAt(_local3++))]) {
}
return(this.slice(_local3 - 1, _local2 + 1));
};
_root._registerurl = "http://www.games2win.com/register.asp";
_root._allowclick = true;
var _sostatus = SharedObject.getLocal("gamestatus", "/");
_readSharedData();
Frame 4
stop();
Frame 5
Frame 6
Frame 7
Instance of Symbol 200 MovieClip in Frame 7
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
gotoAndStop(Math.round(percent));
if (loaded == total) {
_root.gotoAndPlay("lblgameintro");
}
}
Instance of Symbol 206 MovieClip in Frame 7
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
function buildMap(map) {
game.halfvisx = int(game.visx / 2);
game.halfvisy = int(game.visy / 2);
game.clip = _root.tiles;
game.mapwidth = map[0].length;
game.mapheight = map.length;
if (game.halfvisx > char.xtile) {
var _local7 = char.xtile - game.halfvisx;
} else if (char.xtile > (game.mapwidth - game.halfvisx)) {
var _local7 = game.mapwidth - char.xtile;
}
if (game.halfvisy >= char.ytile) {
var _local8 = char.ytile - game.halfvisy;
} else if (char.ytile > ((game.mapheight - game.halfvisy) - 1)) {
var _local8 = (game.mapheight - char.ytile) - 1;
}
game.clip._x = (game.centerx - ((char.xtile - _local7) * game.tileW)) - (game.tileW / 2);
game.clip._y = ((game.centery - ((char.ytile - _local8) * game.tileH)) - (game.tileH / 2)) + 10;
var _local4 = (char.ytile - game.halfvisy) - _local8;
while (_local4 <= ((((char.ytile + game.halfvisy) + 1) - _local8) - 1)) {
var _local3 = (char.xtile - game.halfvisx) - _local7;
while (_local3 <= (((char.xtile + game.halfvisx) + 1) - _local7)) {
var _local2 = (("t_" + _local4) + "_") + _local3;
if ((((_local4 >= 0) and (_local3 >= 0)) and (_local4 <= (map.length - 1))) and (_local3 <= (map[0].length - 1))) {
game[_local2] = new game["Tile" + map[_local4][_local3]]();
} else {
game[_local2] = new game.Tile4();
}
game.clip.attachMovie("tile", _local2, (1 + (_local4 * 100)) + (_local3 * 2));
game.clip[_local2]._x = _local3 * game.tileW;
game.clip[_local2]._y = _local4 * game.tileH;
game.clip[_local2].gotoAndStop(game[_local2].frame);
_local3++;
}
_local4++;
}
game.movingtiles = myMovingTiles[_root.level];
var _local5 = 0;
while (_local5 < game.movingtiles.length) {
var _local2 = "movingtile" + _local5;
game[_local2] = new game["MovingTilep" + game.movingtiles[_local5][0]]();
mc = game.clip.attachMovie("boat_mc", _local2, 12001 + _local5);
game[_local2].clip = game.clip[_local2];
game[_local2].clip.gotoAndStop(game.movingtiles[_local5][0]);
game[_local2].xtile = game.movingtiles[_local5][1];
game[_local2].ytile = game.movingtiles[_local5][2];
game[_local2].x = (game[_local2].xtile * game.tileW) + (game.tileW / 2);
game[_local2].y = (game[_local2].ytile * game.tileH) + (game.tileH / 2);
game[_local2].clip._x = game[_local2].x;
game[_local2].clip._y = game[_local2].y;
game[_local2].minx = game[_local2].minx + game[_local2].xtile;
game[_local2].maxx = game[_local2].maxx + game[_local2].xtile;
game[_local2].miny = game[_local2].miny + game[_local2].ytile;
game[_local2].maxy = game[_local2].maxy + game[_local2].ytile;
_local5++;
}
game.clip.attachMovie("char", "char", 10000);
char.clip = game.clip.char;
char.x = (char.xtile * game.tileW) + (game.tileW / 2);
char.y = (char.ytile * game.tileW) + (game.tileW / 2);
char.width = char.clip._width / 2;
char.height = char.clip._height / 2;
char.clip._x = char.x;
char.clip._y = char.y;
char.clip.gotoAndStop(char.frame);
char.xstep = char.x;
char.ystep = char.y;
}
function changeTile(xold, yold, xnew, ynew, map) {
var _local4 = (("t_" + yold) + "_") + xold;
var _local1 = (("t_" + ynew) + "_") + xnew;
if ((((ynew >= 0) and (xnew >= 0)) and (ynew <= (map.length - 1))) and (xnew <= (map[0].length - 1))) {
game[_local1] = new game["Tile" + map[ynew][xnew]]();
game.clip[_local4]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frame);
game.clip[_local1]._x = xnew * game.tileW;
game.clip[_local1]._y = ynew * game.tileH;
} else {
game[_local1] = new game.Tile4();
game.clip[_local4]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frame);
}
}
function changeMap(ob) {
var _local3 = (("t_" + ob.ytile) + "_") + ob.xtile;
game.currentMap = game[_local3].newMap;
ob.ytile = game[_local3].newchary;
ob.xtile = game[_local3].newcharx;
ob.frame = ob.clip._currentframe;
buildMap(_root["myMap" + _root.level]);
}
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 moveChar(ob, dirx, diry) {
if (dirx != 0) {
ob.dirx = dirx;
}
speed = ob.speed;
ss = game.clip._x + ob.x;
getMyCorners(ob.x, ob.y + (ob.speed * diry), ob);
if (diry == -1) {
if (ob.upleft and ob.upright) {
ob.y = ob.y + (ob.speed * diry);
} else {
ob.y = (ob.ytile * game.tileH) + ob.height;
ob.jumpspeed = 0;
}
}
if (diry == 1) {
if ((ob.downleft and ob.downright) and (!checkMovingTiles(speed * diry))) {
ob.y = ob.y + (ob.speed * diry);
} else {
if (ob.onMovingTile) {
ob.y = (ob.onMovingTile.y - ob.onMovingTile.height) - ob.height;
} else {
ob.y = ((ob.ytile + 1) * game.tileH) - ob.height;
}
ob.jump = false;
}
}
getMyCorners(ob.x + (ob.speed * dirx), ob.y, ob);
if ((dirx == -1) and (ss >= 10)) {
if (ob.downleft and ob.upleft) {
ob.x = ob.x + (ob.speed * dirx);
fall(ob);
} else {
ob.x = (ob.xtile * game.tileW) + ob.width;
}
}
if (dirx == 1) {
if (ob.upright and ob.downright) {
ob.x = ob.x + (ob.speed * dirx);
fall(ob);
} else {
ob.x = ((ob.xtile + 1) * game.tileW) - ob.width;
}
}
if ((_root.normalmode == 2) and (ob.speed == 10)) {
if (ob.y > 503) {
ob.jump = false;
ob.y = 502;
}
}
ob.clip._x = ob.x;
ob.clip._y = ob.y;
if ((ob.clip._y > 535) and (ob.speed == 10)) {
_root.fall_mc.gotoAndPlay(2);
_root.gotoAndStop("gameOver");
}
ob.xtile = Math.floor(ob.x / game.tileW);
ob.ytile = Math.floor(ob.y / game.tileH);
if ((ob.x > ((game.halfvisx * game.tileW) + (game.tileW / 2))) and (ob.clip == _level0.tiles.char)) {
if (ob.x < (((game.mapwidth - game.halfvisx) * game.tileW) - (game.tileW / 2))) {
ss = game.clip._x + ob.x;
if ((dirx == 1) and (ss >= 120)) {
lastx = game.clip._x;
game.clip._x = game.centerx - ob.x;
nexx = game.clip._x;
_root.speed1 = lastx - nexx;
_root.clif._x = _root.clif._x - (_root.speed1 * 0.5);
_root.clif2._x = _root.clif2._x - (_root.speed1 * 0.5);
_root.clif1._x = _root.clif1._x - (_root.speed1 * 0.5);
_root.mountain._x = _root.mountain._x - (_root.speed1 * 0.3);
_root.mountain1._x = _root.mountain1._x - (_root.speed1 * 0.3);
}
if (ob.xstep < (ob.x - game.tileW)) {
var _local9 = Math.floor(ob.xstep / game.tileW) + 1;
var _local6 = (_local9 + game.halfvisx) + 1;
var _local5 = (_local9 - game.halfvisx) - 1;
var _local4 = Math.round(((game.centery - ob.y) - game.clip._y) / game.tileH);
var _local3 = ((ob.ytile - game.halfvisy) - 1) + _local4;
while (_local3 <= (((ob.ytile + game.halfvisy) + 1) + _local4)) {
changeTile(_local5, _local3, _local6, _local3, _root["myMap" + game.currentMap]);
_local3++;
}
ob.xstep = ob.xstep + game.tileW;
}
}
}
return(true);
}
function moveChar1(ob, dirx, diry) {
if (dirx != 0) {
ob.dirx = 1;
}
ob.vx = (ob.vx * ob.friction) * dirx;
ob.vy = (ob.vy * ob.friction) + ob.gravity;
speed = ob.vx;
ob.speed = ob.vx;
getMyCorners(ob.x + (ob.speed * dirx), ob.y, ob);
if ((dirx == -1) and (ss >= 10)) {
if (ob.downleft and ob.upleft) {
ob.x = ob.x + ((ob.speed * dirx) + _root.pan);
fall(ob);
} else {
ob.x = (ob.xtile * game.tileW) + ob.width;
}
}
if (dirx == 1) {
if (ob.upright and ob.downright) {
ob.x = ob.x + ((ob.speed * dirx) + _root.pan);
fall(ob);
} else {
ob.x = ((ob.xtile + 1) * game.tileW) - ob.width;
}
}
speed = ob.vy;
ob.speed = ob.vy;
getMyCorners(ob.x, ob.y + (ob.speed * diry), ob);
if (diry == -1) {
if (ob.upleft and ob.upright) {
ob.y = ob.y + (ob.speed * diry);
} else {
ob.y = 540;
ob.jumpspeed = 0;
}
}
if (diry == 1) {
if ((ob.downleft and ob.downright) and (!checkMovingTiles(speed * diry))) {
ob.y = ob.y + (ob.speed * diry);
} else {
ob.y = 540;
}
}
ob.clip._x = ob.x;
ob.clip._y = ob.y;
return(true);
}
function jump(ob) {
ob.jumpspeed = ob.jumpspeed + ob.gravity;
if (ob.jumpspeed > (game.tileH - char.height)) {
ob.jumpspeed = game.tileH - char.height;
}
if (ob.jumpspeed < 0) {
moveChar(ob, 0, -1, -1);
} else if (ob.jumpspeed > 0) {
moveChar(ob, 0, 1, 1);
}
return(true);
}
function fall(ob) {
if (!ob.jump) {
getMyCorners(ob.x, ob.y + 1, ob);
if ((ob.downleft and ob.downright) and (!checkMovingTiles(1))) {
ob.jumpspeed = 0;
ob.jump = true;
}
}
}
function shoot(ob) {
ob.lastshot = getTimer();
if (game.bulletcounter == undefined) {
game.bulletcounter = 0;
}
if (game.bulletcounter > 2) {
game.bulletcounter = 0;
} else {
game.bulletcounter++;
}
var _local2 = "ladoo" + game.bulletcounter;
game[_local2] = new game.Bullet();
game[_local2].id = game.bulletcounter;
game.bullets.push(game[_local2]);
if (ob.dirx or ob.diry) {
game[_local2].dirx = ob.dirx;
game[_local2].diry = ob.diry;
}
game[_local2].xtile = ob.xtile;
game[_local2].ytile = ob.ytile;
a = 0;
game.clip.attachMovie("ladoo", _local2, 10100 + game.bulletcounter);
game[_local2].clip = game.clip[_local2];
game[_local2].x = ob.x + (game[_local2].dirx * ob.width);
game[_local2].y = game.clip.char._y;
game.clip[_local2]._x = game[_local2].x;
game.clip[_local2]._y = game[_local2].y;
if ((game.bullets.length != 0) and (_root.int2 == 0)) {
_root.int2 = 1;
_root.int1 = setInterval(_root, "moveBullets", 20);
}
}
function moveBullets() {
if (game.bullets.length == 0) {
_root.int2 = 0;
clearInterval(_root.int1);
}
var _local3 = 0;
while (_local3 < game.bullets.length) {
var _local2 = game.bullets[_local3];
getMyCorners(_local2.x + (_local2.speed * _local2.dirx), _local2.y + (_local2.speed * -1), _local2);
if ((((_local2.downleft and _local2.upleft) and _local2.downright) and _local2.upright) and (_local2.y < 538)) {
moveChar1(_local2, _local2.dirx, 1);
} else {
_local2.clip.removeMovieClip();
delete game["ladoo" + game.bullets[_local3].id];
game.bullets.splice(_local3, 1);
}
_local3++;
}
}
function updateChar(ob, dirx, diry) {
ob.clip._x = ob.x;
ob.clip._y = ob.y;
if (dirx or diry) {
}
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);
}
var _local3 = game[(("item" + ob.ytile) + "_") + ob.xtile];
if (_local3 and (ob == _root.char)) {
game.points = game.points + _local3.points;
_root.points = game.points;
removeMovieClip(_local3.clip);
game.items[_local3.position] = 0;
delete game[(("item" + ob.ytile) + "_") + ob.xtile];
}
}
function checkMovingTiles(y) {
if (char.diry != -1) {
var _local9 = (char.y + char.height) + y;
var _local8 = char.x + char.width;
var _local7 = char.x - char.width;
foundit = false;
var _local2 = 0;
while (_local2 < game.movingtiles.length) {
var _local1 = game["movingtile" + _local2];
var _local6 = _local1.y + _local1.height;
var _local4 = _local1.y - _local1.height;
var _local5 = _local1.x + _local1.width;
var _local3 = _local1.x - _local1.width;
if ((char.lasty + char.height) <= _local4) {
if ((_local9 <= _local6) and (_local9 >= _local4)) {
if ((_local8 > _local3) and (_local8 < _local5)) {
char.onMovingTile = _local1;
foundit = true;
break;
}
if ((_local7 > _local3) and (_local7 < _local5)) {
char.onMovingTile = _local1;
foundit = true;
break;
}
}
}
_local2++;
}
return(foundit);
}
}
function moveTiles() {
var _local2 = 0;
while (_local2 < game.movingtiles.length) {
var _local1 = game["movingtile" + _local2];
getMyCorners(_local1.x + (_local1.speed * _local1.dirx), _local1.y + (_local1.speed * _local1.diry), _local1);
if ((_local1.miny > _local1.upY) or (_local1.maxy < _local1.downY)) {
_local1.diry = -_local1.diry;
}
if ((_local1.minx > _local1.leftX) or (_local1.maxx < _local1.rightX)) {
_local1.dirx = -_local1.dirx;
}
_local1.x = _local1.x + (_local1.speed * _local1.dirx);
_local1.y = _local1.y + (_local1.speed * _local1.diry);
_local1.xtile = Math.floor(_local1.x / game.tileW);
_local1.ytile = Math.floor(_local1.y / game.tileH);
_local1.clip._x = _local1.x;
_local1.clip._y = _local1.y;
if (_local1.diry == -1) {
checkMovingTiles(0);
}
_local2++;
}
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);
}
}
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;
}
}
updateChar(char);
}
}
function detectKeys() {
moveTiles();
var _local2 = _root.char;
lastState = state;
var _local3 = false;
Keypress = false;
if (_local2.lastshot == undefined) {
_local2.lastshot = 0;
}
if (Key.isDown(40) and (!_local2.jump)) {
Keypress = true;
state = 4;
} else if (Key.isDown(32) and (getTimer() > (_local2.lastshot + _local2.shootspeed))) {
_root.shoot(_local2);
Keypress = true;
state = 5;
}
if (!Keypress) {
if (Key.isDown(38) and (!_local2.jump)) {
_local2.jump = true;
_local2.jumpspeed = _local2.jumpstart;
_root.jump_mc.gotoAndPlay(2);
if (_root.normalmode == 1) {
_local2.jumpspeed = _local2.jumpspeed + -20;
jumptime++;
}
}
if (Key.isDown(39)) {
xx = 1;
friction = 0.2;
state = 1;
_local2.clip._xscale = 100;
_root.pan = 10;
} else if (Key.isDown(37)) {
xx = -1;
friction = 0.2;
state = 1;
_local2.clip._xscale = -100;
} else if (!_local3) {
_root.pan = 0;
state = 0;
}
}
if (friction >= 0) {
if (!checkMovingTiles(1)) {
char.onMovingTile = false;
}
_local3 = _root.moveChar(_local2, xx, 0);
friction = friction - varfr;
moveChar(x, y);
}
if (_local2.jump) {
state = 3;
_local3 = _root.jump(_local2);
} else if (jumptime > 2) {
jumptime = 0;
_root.normalmode = 0;
}
if (state != lastState) {
_local2.clip.gotoAndStop(states[state]);
}
hud_mc.time_txt.text = Math.round((leveltime - timer) / 24);
hud_mc.health_mc.gotoAndStop(Math.abs(((100 - health) / 10) - 10) + 1);
if (timer >= leveltime) {
_root.gotoAndStop("gameOver");
}
timer++;
}
function blink(onoff, ob) {
name = ob._name;
if (onoff == 1) {
game[name].walkable = true;
} else {
game[name].walkable = false;
}
fall(_root.char);
}
stop();
stopAllSounds();
leveltime_arr = [100, 140, 180, 150];
varfr_arr = [0.1, 0.025, 0.05, 0.1];
game = {tileW:70, tileH:60, currentMap:1, visx:17, visy:10, centerx:120, centery:120};
game.bullets = new Array();
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 = true;
game.Tile5.prototype.frame = 6;
game.Tile6 = function () {
};
game.Tile6.prototype.walkable = true;
game.Tile6.prototype.frame = 7;
game.Tile7 = function () {
};
game.Tile7.prototype.walkable = true;
game.Tile7.prototype.frame = 8;
game.Tile8 = function () {
};
game.Tile8.prototype.walkable = true;
game.Tile8.prototype.frame = 9;
game.Tile9 = function () {
};
game.Tile9.prototype.walkable = true;
game.Tile9.prototype.frame = 10;
game.Tile10 = function () {
};
game.Tile10.prototype.walkable = true;
game.Tile10.prototype.frame = 11;
game.Tile11 = function () {
};
game.Tile11.prototype.walkable = true;
game.Tile11.prototype.frame = 12;
game.Tile12 = function () {
};
game.Tile12.prototype.walkable = true;
game.Tile12.prototype.frame = 13;
game.Tile13 = function () {
};
game.Tile13.prototype.walkable = true;
game.Tile13.prototype.frame = 14;
game.Tile14 = function () {
};
game.Tile14.prototype.walkable = true;
game.Tile14.prototype.frame = 15;
game.Tile15 = function () {
};
game.Tile15.prototype.walkable = true;
game.Tile15.prototype.frame = 16;
game.Tile16 = function () {
};
game.Tile16.prototype.walkable = true;
game.Tile16.prototype.frame = 17;
game.Doors = function (newmap, newcharx, newchary) {
this.newmap = newmap;
this.newcharx = newcharx;
this.newchary = newchary;
};
game.Doors.prototype.walkable = true;
game.Doors.prototype.frame = 3;
game.Doors.prototype.door = true;
game.Bullet = function () {
};
game.Bullet.prototype.speed = 12;
game.Bullet.prototype.gravity = 4;
game.Bullet.prototype.friction = 0.96;
game.Bullet.prototype.vx = 10;
game.Bullet.prototype.vy = -15;
game.Bullet.prototype.dirx = -1;
game.Bullet.prototype.diry = 0;
game.Bullet.prototype.width = 2;
game.Bullet.prototype.height = 2;
myMovingTiles = [[0], [[1, 56, 9], [1, 73, 9]], [], [[1, 89, 9]], [[1, 67, 9], [1, 89, 9]]];
game.MovingTilep1 = function () {
};
game.MovingTilep1.prototype.speed = 2;
game.MovingTilep1.prototype.dirx = 1;
game.MovingTilep1.prototype.diry = 0;
game.MovingTilep1.prototype.minx = -1;
game.MovingTilep1.prototype.maxx = 1;
game.MovingTilep1.prototype.width = game.tileW / 2;
game.MovingTilep1.prototype.height = game.tileH / 2;
char = {xtile:7, ytile:5, speed:10, jumpstart:-20, gravity:2, jump:false, shootspeed:400, onMovingTile:false};
_root.pan = 0;
normalmode = 0;
modeheck = true;
_root.int2 = 0;
states = ["stand", "walk", "turn", "jump", "squat", "fire", "run"];
jumptime = 0;
health = 0;
Frame 13
stop();
timer = 0;
varfr = varfr_arr[_root.level - 1];
leveltime = leveltime_arr[_root.level - 1] * 24;
myMap1 = eval ("_root.my" + _root.level);
buildMap(myMap1);
fall(_root.char);
if (upsidemode) {
_root._rotation = 180;
_root._x = 600;
_root._y = 400;
hud_mc._rotation = 180;
hud_mc._y = 12;
hud_mc._x = 302;
oldx = all_mc._x;
oldy = all_mc._y;
all_mc._rotation = 180;
all_mc._y = 375;
all_mc._x = 300;
}
Instance of Symbol 238 MovieClip "mountain" in Frame 13
onClipEvent (enterFrame) {
if (this._x < (-(this._width + 10))) {
this._x = _root.mountain1._x - 3;
}
}
Instance of Symbol 238 MovieClip "mountain1" in Frame 13
onClipEvent (enterFrame) {
if (this._x < -100) {
this._x = (_root.mountain._x + (_root.mountain._width * 2)) - 2;
}
}
Instance of Symbol 399 MovieClip "clif" in Frame 13
onClipEvent (enterFrame) {
if (this._x < -10) {
this._x = _root.clif2._x + this._width;
}
}
Instance of Symbol 399 MovieClip "clif1" in Frame 13
onClipEvent (enterFrame) {
if (this._x < -10) {
this._x = _root.clif._x + this._width;
}
}
Instance of Symbol 399 MovieClip "clif2" in Frame 13
onClipEvent (enterFrame) {
if (this._x < -10) {
this._x = _root.clif1._x + this._width;
}
}
Instance of Symbol 153 MovieClip [empty] "controller" in Frame 13
onClipEvent (enterFrame) {
_root.detectKeys();
}
Frame 14
stop();
if (upsidemode) {
_root._rotation = 0;
_root._x = 0;
_root._y = 0;
all_mc._rotation = 0;
all_mc._x = oldx;
all_mc._y = oldy;
}
Frame 15
stop();
if (upsidemode) {
_root._rotation = 0;
_root._x = 0;
_root._y = 0;
all_mc._rotation = 0;
all_mc._x = oldx;
all_mc._y = oldy;
}
Frame 16
stop();
_root.cancelCon = true;
Frame 17
stop();
Symbol 4 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.normalmode == 0) {
gotoAndStop (1);
} else if (_root.normalmode == 1) {
gotoAndStop (2);
} else if (_root.normalmode == 2) {
gotoAndStop (3);
}
};
Symbol 16 MovieClip Frame 19
gotoAndStop (1);
_root.keypress = false;
Symbol 25 MovieClip Frame 2
stop();
Symbol 26 MovieClip [char] Frame 1
stop();
Symbol 26 MovieClip [char] Frame 2
stop();
Symbol 34 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 40 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 46 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 52 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 56 MovieClip Frame 1
var my_str = _parent._name;
var my_array = my_str.split("_");
ss = int(my_array[2]);
nam = eval (("_root.tiles.t_9_" + (ss + 1)) + ".mc");
nam1 = eval (("_root.tiles.t_9_" + (ss + 2)) + ".mc");
nam2 = eval (("_root.tiles.t_9_" + (ss + 2)) + ".mc");
this.onEnterFrame = function () {
if (nam.water) {
nam.gotoAndStop(this._currentframe);
}
if (nam1.water) {
nam1.gotoAndStop(this._currentframe);
}
if (nam2.water) {
nam2.gotoAndStop(this._currentframe);
}
};
Symbol 60 MovieClip Frame 1
this.water = true;
Symbol 64 MovieClip Frame 1
this.water = true;
stop();
Symbol 77 MovieClip Frame 1
ad = true;
speed = 0.5;
fac = (factor = -70);
_xscale = (-_xscale);
this.onEnterFrame = function () {
if (ad) {
i = 0;
while (i <= 3) {
nam = eval ("_parent._parent.ladoo" + i);
if (this.hitTest(nam)) {
nam._y = 580;
ad = false;
_root.score = _root.score + 100;
this._visible = false;
}
i++;
}
if (this.hitTest(_parent._parent.char) and ad) {
ad = false;
_root.health = _root.health - 10;
this._visible = false;
play();
}
this._x = this._x + speed;
factor = factor + speed;
if ((factor == 0) or (fac == factor)) {
speed = -speed;
_xscale = (-_xscale);
}
}
};
stop();
Symbol 77 MovieClip Frame 2
_parent._parent.char._visible = false;
Symbol 77 MovieClip Frame 3
_parent._parent.char._visible = true;
Symbol 77 MovieClip Frame 4
_parent._parent.char._visible = false;
Symbol 77 MovieClip Frame 5
_parent._parent.char._visible = true;
stop();
Symbol 100 MovieClip Frame 1
_root.blink(0, _parent);
Symbol 100 MovieClip Frame 23
_root.blink(1, _parent);
Symbol 107 MovieClip Frame 1
var my_str = _parent._name;
var my_array = my_str.split("_");
ss = int(my_array[2]);
this.onEnterFrame = function () {
nam = eval (("_root.tiles.t_9_" + (ss - 1)) + ".mc");
this.gotoAndStop(nam._currentframe);
};
_root.blink(0, _parent);
Symbol 107 MovieClip Frame 23
_root.blink(1, _parent);
Symbol 109 MovieClip Frame 1
ad = true;
this.onEnterFrame = function () {
if (ad) {
if (this.hitTest(_parent._parent.char)) {
_root.health = _root.health - 10;
ad = false;
_root.normalmode = 1;
this._visible = false;
}
}
};
Symbol 111 MovieClip Frame 1
ad = true;
this.onEnterFrame = function () {
if (ad) {
if (this.hitTest(_parent._parent.char)) {
_root.health = _root.health - 10;
ad = false;
_root.normalmode = 2;
_root.time_mc.gotoAndPlay(2);
this._visible = false;
}
}
};
Symbol 121 MovieClip Frame 1
gotoAndStop(_parent._parent._parent._parent.level);
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 4
stop();
Symbol 143 MovieClip Frame 1
gotoAndStop(_root.level);
this.onEnterFrame = function () {
if (this.mc.hitTest(_parent._parent.char)) {
_root.nextFrame();
}
};
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 3
stop();
Symbol 143 MovieClip Frame 4
stop();
Symbol 144 MovieClip Frame 1
ad = true;
speed = 0.5;
fac = (factor = -140);
_xscale = (-_xscale);
this.onEnterFrame = function () {
if (ad) {
diff = Math.abs(_parent._parent.ladoo0._x - _parent._x);
diff1 = Math.abs(_parent._parent.char._x - _parent._x);
if (diff1 < 10) {
_root.health = _root.health - 10;
ad = false;
this._visible = false;
}
if (diff >= 50) {
} else {
ad = false;
_root.score = _root.score + 100;
this._visible = false;
}
this._x = this._x + speed;
factor = factor + speed;
if ((factor == 0) or (fac == factor)) {
speed = -speed;
_xscale = (-_xscale);
}
}
};
Symbol 145 MovieClip [tile] Frame 1
stop();
Symbol 145 MovieClip [tile] Frame 2
stop();
Symbol 145 MovieClip [tile] Frame 3
stop();
Symbol 145 MovieClip [tile] Frame 4
stop();
Symbol 145 MovieClip [tile] Frame 5
stop();
Symbol 145 MovieClip [tile] Frame 6
stop();
Symbol 145 MovieClip [tile] Frame 7
stop();
Symbol 145 MovieClip [tile] Frame 8
stop();
Symbol 145 MovieClip [tile] Frame 9
stop();
Symbol 145 MovieClip [tile] Frame 10
stop();
Symbol 145 MovieClip [tile] Frame 11
stop();
trace("demon");
Symbol 145 MovieClip [tile] Frame 12
stop();
Symbol 145 MovieClip [tile] Frame 13
stop();
Symbol 145 MovieClip [tile] Frame 14
stop();
Symbol 145 MovieClip [tile] Frame 15
stop();
Symbol 145 MovieClip [tile] Frame 16
stop();
Symbol 145 MovieClip [tile] Frame 17
stop();
Instance of Symbol 147 MovieClip in Symbol 149 MovieClip [ladoo] Frame 1
onClipEvent (load) {
if (_parent._parent.level == 4) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 149 MovieClip [ladoo] Frame 5
stop();
Symbol 193 MovieClip Frame 140
_root.gotoAndStop("lblloader");
Symbol 196 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 206 MovieClip Frame 1
stop();
_root.global_sound.setVolume(100);
Symbol 206 MovieClip Frame 2
stop();
_root.global_sound.setVolume(0);
Symbol 230 MovieClip Frame 1
onEnterFrame = function () {
if (this.hitTest(_parent._parent.pappu_mc.bottom_mc)) {
_parent._parent.pappu_mc.jumpLock = true;
_parent._parent.pappu_mc.onGround = false;
_parent._parent.ground1_mc.pit = true;
_parent._parent.ground2_mc.pit = true;
}
};
Symbol 238 MovieClip Frame 1
gotoAndStop(_root.level);
stop();
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 3
stop();
Symbol 238 MovieClip Frame 4
stop();
Symbol 259 Button
on (release) {
_root.intro = 0;
gotoAndStop (163);
}
Symbol 278 MovieClip Frame 129
gotoAndPlay (2);
Symbol 310 MovieClip Frame 1
if (_root.intro == 0) {
gotoAndStop(this._totalframes);
}
Symbol 310 MovieClip Frame 85
stop();
story_btn.onRelease = function () {
_root.gotoAndStop("story");
};
instructions_btn.onRelease = function () {
_root.gotoAndStop("instructions");
};
start_btn.onRelease = function () {
_root.gotoAndStop("select");
};
Symbol 311 MovieClip Frame 2
if (_root.intro == 0) {
gotoAndStop (163);
}
Symbol 311 MovieClip Frame 164
stop();
trace("ssssssssssssss");
Symbol 347 MovieClip Frame 17
stop();
back_btn.onRelease = function () {
_root.intro = 1;
_root.gotoAndStop("lblgameintro");
};
play_btn.onRelease = function () {
_root.gotoAndStop("select");
};
Instance of Symbol 206 MovieClip in Symbol 348 MovieClip Frame 1
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Symbol 366 MovieClip Frame 1
stop();
back_btn.onRelease = function () {
_root.intro = 1;
_root.gotoAndStop("lblgameintro");
};
play_btn.onRelease = function () {
_root.gotoAndStop("select");
};
Symbol 368 MovieClip Frame 38
stop();
stop();
Symbol 379 MovieClip Frame 17
stop();
_root.level = 1;
_parent.upsidemode = false;
back_btn.onRelease = function () {
_parent.upsidemode = true;
_parent.nextFrame();
};
play_btn.onRelease = function () {
_parent.nextFrame();
};
Symbol 381 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 50
stop();
play_btn.onRelease = function () {
_parent._parent.nextFrame();
};
Symbol 393 MovieClip Frame 50
stop();
play_btn.onRelease = function () {
_parent._parent.nextFrame();
};
Symbol 395 MovieClip Frame 50
stop();
play_btn.onRelease = function () {
_parent._parent.nextFrame();
};
Symbol 397 MovieClip Frame 40
stop();
play_btn.onRelease = function () {
_parent._parent.nextFrame();
};
Symbol 398 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 399 MovieClip Frame 1
stop();
stop();
Symbol 399 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 129
gotoAndPlay (2);
Symbol 409 MovieClip Frame 1
gotoAndStop(_root.level);
stop();
Symbol 409 MovieClip Frame 2
stop();
Symbol 409 MovieClip Frame 3
stop();
Symbol 409 MovieClip Frame 4
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 156
_root.normalmode = 0;
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 3
stop();
Symbol 432 MovieClip Frame 4
stop();
Symbol 432 MovieClip Frame 5
stop();
Symbol 432 MovieClip Frame 6
stop();
Symbol 432 MovieClip Frame 7
stop();
Symbol 432 MovieClip Frame 8
stop();
Symbol 432 MovieClip Frame 9
stop();
Symbol 432 MovieClip Frame 10
stop();
Symbol 432 MovieClip Frame 11
_root.gotoAndStop("gameOver");
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 1
levelScore = _root.score + 2000;
ss = _root.leveltime_arr[_root.level - 1] * 24;
timeScore = (ss - _root.timer) + 500;
_root.score = _root.score + (timeScore + levelScore);
if (_root.upsidemode) {
_root.score = _root.score * 2;
}
next_btn.onRelease = function () {
if (_root.level == 4) {
_root.gotoAndStop("gameOver");
} else {
_root.level++;
_root.gotoAndStop("lblgame");
}
};
Symbol 455 MovieClip Frame 38
stop();
stopAllSounds();
Symbol 481 MovieClip Frame 1
submit_btn.onRelease = function () {
trace((((_root.score + " ") + _root._gameid) + " ") + _root.uname);
_root.dataSubmit(_root.uname, _root.score, _root._gameid, _root, "gameOver", "connecting", "highScores");
};
username_txt.onSetFocus = function () {
if (username_txt.text == "Invalid Nickname!") {
username_txt.text = "";
}
};
Selection.setFocus("username_txt");
mode_btn.onRelease = function () {
_root.score = 0;
_root._playAgain(_root, "select");
};
playAgain_btn.onRelease = function () {
_root.score = 0;
mystr = "level|" + _root.level;
_root._playAgain(_root, "lblgame", mystr);
};
Symbol 482 Button
on (release) {
_root._newUser();
}
Symbol 483 MovieClip Frame 1
if (_root.cancelCon) {
gotoAndStop(this._totalframes);
_root.cancelCon = false;
}
Symbol 483 MovieClip Frame 38
stop();
stopAllSounds();
Symbol 504 Button
on (release) {
_root.cancelCon = true;
_root.cancelSubmit(_root, "gameOver");
}
Symbol 505 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 1
playAgain_btn.onRelease = function () {
_root.score = 0;
_root._playAgain(_root, "select");
};
_root.displayScores(this);
Symbol 546 MovieClip Frame 38
stop();