Frame 1
function createObj(source, nx, ny, nz, frm, width, depth, nxtnum, flag) {
newn = "obj" add nxtnum;
if (eval (newn).exist != true) {
duplicateMovieClip (source, newn, (((23 - nz) * 100) + nxtnum) + 1);
}
eval (newn).exist = true;
eval (newn).flag = flag;
if (flag == 3) {
eval (newn).count = int(Math.random() * 149);
}
if (flag == 12) {
_root.happymake++;
}
eval (newn).who = nxtnum;
eval (newn).x = nx;
eval (newn).y = ny;
eval (newn).z = nz;
eval (newn).startx = nx;
eval (newn).starty = ny;
eval (newn).startz = nz;
eval (newn).width = width;
eval (newn).depth = depth;
eval (newn).type = frm;
eval (newn).image.gotoAndStop(frm);
eval (newn).lefts.gotoAndStop(frm);
eval (newn).rights.gotoAndStop(frm);
eval (newn).myColor = new Color(eval (newn));
eval (newn).myColorTransform = new Object();
}
function encode(num) {
keyval = int(Math.random() * 50) + 151;
v = (((Number(num) + 1) * (keyval - 51)) add chr(69 + int(Math.random() * 5))) add (keyval << 2);
return(v);
}
function decode(cd) {
ud = cd.toUpperCase();
r = ((((ud.indexOf("E") + ud.indexOf("F")) + ud.indexOf("G")) + ud.indexOf("H")) + ud.indexOf("I")) + 4;
k = ud.substr(r + 1) >> 2;
n2 = ud.substr(0, r);
v = int((n2 / (k - 51)) - 1);
return(v);
}
function loadLevel(lev) {
var _local1 = lev;
var _local2 = _root;
clearAll();
gotkey = false;
_local2.keypic.gotoAndStop(1);
_local2.lev = _local1;
_local2.happymake = 0;
bgroundlayer.gotoAndPlay(_local1);
nextnum = 1;
levelcode = encode(_local1);
starclip.gotoAndPlay(2);
if (_local1 == 1) {
stopAllSounds();
bgsound.gotoAndPlay(2);
message = (("LEVEL " add _local1) add "\r") add "Who are you?";
_local2.leveldisp.play();
ambience = 100;
createObj("obj", 0, 2, 15, 4, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 14, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 1.5, 14, 2, 3, 1, nextnum++, 1);
createObj("obj", 11, 2, 14, 1, 5, 1, nextnum++, 1);
createObj("obj", 0, 2, 13, 1, 1, 1, nextnum++, 1);
createObj("obj", 3, 1, 13, 3, 3, 1, nextnum++, 1);
createObj("obj", 7, 1.5, 13, 2, 3, 1, nextnum++, 1);
createObj("obj", 13, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", 13, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 9, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 7, 1, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, 4, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 3, 2, 1, 1, 5, 1, nextnum++, 1);
createObj("obj", 7, 1.5, 1, 2, 3, 1, nextnum++, 1);
createObj("obj", 10, 1, 1, 3, 3, 1, nextnum++, 1);
createObj("obj", 13, 2, 1, 1, 3, 1, nextnum++, 1);
createObj("obj", 0, 2, 0, 5, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
nextlev = 2;
} else if (_local1 == 2) {
message = (("LEVEL " add _local1) add "\r") add "Don't I know you?";
_local2.leveldisp.play();
createObj("obj", 2, 2, 17, 4, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 16, 5, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 15, 1, 9, 1, nextnum++, 1);
createObj("obj", 2, 2, 14, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 13, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 11, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 11, 1, 3, 1, nextnum++, 1);
createObj("obj", 2, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 3, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 9, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 9, 8, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 13, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 13, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 5, 1, 2, 1, nextnum++, 1);
createObj("obj", 13, 2, 4, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 9.5, 2, 3, 1, 4, 1, nextnum++, 1);
createObj("obj", 13, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 0, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 1.5, -1, 2, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 11, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, -4, 1, 8, 1, nextnum++, 1);
nextlev = 3;
} else if (_local1 == 3) {
message = (("LEVEL " add _local1) add "\r") add "A memory stirs";
_local2.leveldisp.play();
createObj("obj", 7, 2, 18, 4, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 17, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 1.5, 14, 2, 1, 1, nextnum++, 1);
createObj("obj", 11, 2, 13, 1, 9, 1, nextnum++, 1);
createObj("obj", 16, 2, 11, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 9, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 13, 1.5, 7, 2, 7, 1, nextnum++, 1);
createObj("obj", 10, 2, 5, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 1, 4, 3, 21, 1, nextnum++, 1);
createObj("obj", 10, 2, 4, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 3, 8, 1, 1, nextnum++, 1);
createObj("obj", 18, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 0, 1.5, 2, 2, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 1.5, 2, 2, 3, 1, nextnum++, 1);
createObj("obj", 0, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, 1, 5, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 0, 1, 5, 1, nextnum++, 1);
createObj("obj", 14, 2, 0, 1, 11, 1, nextnum++, 1);
createObj("obj", -2, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
nextlev = 4;
} else if (_local1 == 4) {
message = (("LEVEL " add _local1) add "\r") add "My old friend";
_local2.leveldisp.play();
stopAllSounds();
bgsound.gotoAndPlay(3);
createObj("obj", 10, 2, 12, 4, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, 12, 1, 5, 1, nextnum++, 1);
createObj("obj", 12, 2, 11, 1, 7, 1, nextnum++, 1);
createObj("obj", 20, 2, 11, 1, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 9, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 7, 1, 3, 1, nextnum++, 1);
createObj("obj", 10, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, 7, 5, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 7, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 1.5, 7, 2, 3, 1, nextnum++, 1);
createObj("obj", 21, 2, 7, 1, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, 6, 1, 3, 1, nextnum++, 1);
createObj("obj", 4, 2, 5, 1, 3, 1, nextnum++, 1);
createObj("obj", 1, 2, 3, 1, 3, 1, nextnum++, 1);
createObj("obj", 0, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 1, -1, 3, 5, 1, nextnum++, 1);
createObj("obj", 8, 1, -2, 3, 5, 1, nextnum++, 1);
createObj("obj", 15, 1, -2, 3, 5, 1, nextnum++, 1);
createObj("obj", 0, 1.5, -4, 2, 4, 1, nextnum++, 1);
createObj("obj", 5, 2, -4, 1, 4, 1, nextnum++, 1);
createObj("obj", 10, 2, -4, 1, 4, 1, nextnum++, 1);
createObj("obj", 15, 1.5, -4, 2, 4, 1, nextnum++, 1);
nextlev = 5;
} else if (_local1 == 5) {
message = (("LEVEL " add _local1) add "\r") add "Teach me to dream";
_local2.leveldisp.play();
_local2.rotlevel = true;
createObj("obj", 10, 2, 16, 4, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 15, 1, 1, 1, nextnum++, 1);
createObj("obj", -7, 2, 14, 5, 1, 1, nextnum++, 1);
createObj("obj", -2, 1, 14, 3, 7, 1, nextnum++, 1);
createObj("obj", 12, 2, 14, 1, 5, 1, nextnum++, 1);
createObj("obj", 15, 2, 13, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 1.5, 12, 2, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 11, 1, 1, 1, nextnum++, 1);
createObj("obj", 3, 2, 10, 1, 5, 1, nextnum++, 1);
createObj("obj", 7, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 17, 1.5, 9, 2, 5, 1, nextnum++, 1);
createObj("obj", 7, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 1, 5, 3, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 5, 1, 9, 1, nextnum++, 1);
createObj("obj", 15, 2, 5, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 5, 1, 3, 1, nextnum++, 1);
createObj("obj", 2, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 11, 1.5, 1, 2, 17, 1, nextnum++, 1);
createObj("obj", 19, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, -4, 1, 17, 1, nextnum++, 1);
createObj("obj", 19, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, -5, 1, 5, 1, nextnum++, 1);
nextlev = 6;
} else if (_local1 == 6) {
message = (("LEVEL " add _local1) add "\r") add "Where are you?";
_local2.leveldisp.play();
stopAllSounds();
bgsound.gotoAndPlay(4);
createObj("obj", 16, 2, 18, 4, 1, 1, nextnum++, 1);
createObj("obj", 9, 1.5, 17, 2, 9, 1, nextnum++, 1);
createObj("obj", 16, 2, 17, 1, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 14, 1, 5, 1, nextnum++, 1);
createObj("obj", 11, 2, 14, 1, 5, 1, nextnum++, 1);
createObj("obj", 14, 2, 14, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 10, 1, 5, 1, nextnum++, 1);
createObj("obj", 4, 2, 8, 5, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 8, 1, 5, 1, nextnum++, 1);
createObj("obj", 10, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 8, 8, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 4, 1, 11, 1, nextnum++, 1);
createObj("obj", 14, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 0, 1, 5, 1, nextnum++, 1);
createObj("obj", 0, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
nextlev = 7;
} else if (_local1 == 7) {
message = (("LEVEL " add _local1) add "\r") add "Jump into the night";
_local2.leveldisp.play();
createObj("obj", 21, 2, 18, 4, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 17, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 16, 1, 5, 1, nextnum++, 1);
createObj("obj", 21, 2, 16, 1, 3, 1, nextnum++, 1);
createObj("obj", 15, 1, 15, 3, 1, 1, nextnum++, 1);
createObj("obj", 15, 1.5, 13, 2, 1, 1, nextnum++, 1);
createObj("obj", 15, 1.5, 11, 2, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, 9, 1, 7, 1, nextnum++, 1);
createObj("obj", 13, 2, 9, 1, 7, 1, nextnum++, 1);
createObj("obj", -2, 2, 8, 4, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 8, 1, 7, 1, nextnum++, 1);
createObj("obj", 10, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 4, 5, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 4, 1, 1, 1, nextnum++, 3);
createObj("obj", 0, 2, 2, 8, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, 2, 1, 7, 1, nextnum++, 1);
createObj("obj", 8, 2, 0, 1, 1, 1, nextnum++, 3);
createObj("obj", 9, 2, -2, 1, 1, 1, nextnum++, 3);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 3);
createObj("obj", 8, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 4, 1.5, -5, 2, 9, 1, nextnum++, 1);
nextlev = 8;
} else if (_local1 == 8) {
message = (("LEVEL " add _local1) add "\r") add "What do I know?";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", 15, 2, 11, 4, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 10, 5, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 10, 1, 1, 1, nextnum++, 9);
createObj("obj", 8, 2, 10, 1, 5, 1, nextnum++, 1);
createObj("obj", 13, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 8, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 6, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 5, 1, 3, 1, nextnum++, 1);
createObj("obj", -2, 2, 4, 1, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 1, 2, 3, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 0, 1, 5, 1, nextnum++, 1);
createObj("obj", 2, 1.5, 0, 2, 1, 1, nextnum++, 3);
createObj("obj", 4, 1.5, 0, 2, 1, 1, nextnum++, 3);
createObj("obj", 12, 1.5, 0, 2, 12, 1, nextnum++, 1);
createObj("obj", 7, 1.5, -2, 2, 1, 1, nextnum++, 1);
createObj("obj", 7, 1.5, -3, 2, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, -4, 1, 3, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 2, -4, 1, 1, 1, nextnum++, 1);
nextlev = 9;
} else if (_local1 == 9) {
nextlev = 10;
message = (("LEVEL " add _local1) add "\r") add "Can I trust you?";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", 18, 2, 17, 4, 1, 1, nextnum++, 3);
createObj("obj", 8, 1, 16, 3, 7, 1, nextnum++, 1);
createObj("obj", 12, 2, 16, 1, 1, 1, nextnum++, 9);
createObj("obj", 18, 2, 16, 1, 1, 1, nextnum++, 1);
createObj("obj", 8, 1, 14, 3, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 13, 1, 1, 1, nextnum++, 9);
createObj("obj", 8, 1.5, 13, 2, 7, 1, nextnum++, 1);
createObj("obj", -2, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 11, 1, 1, 1, nextnum++, 8);
createObj("obj", -2, 2, 5, 1, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 4, 1, 1, 1, nextnum++, 8);
createObj("obj", 12, 2, 3, 5, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 2, 7, 1, 1, nextnum++, 4);
createObj("obj", 12, 2, 2, 1, 5, 1, nextnum++, 1);
createObj("obj", 5, 2, 1, 12, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 0, 7, 1, 1, nextnum++, 4);
createObj("obj", -2, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, -4, 1, 9, 1, nextnum++, 1);
createObj("obj", 7, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 1.5, -4, 2, 2, 1, nextnum++, 1);
} else if (_local1 == 10) {
nextlev = 11;
message = (("LEVEL " add _local1) add "\r") add "In the air, is dark";
_local2.leveldisp.play();
_local2.rotlevel = false;
stopAllSounds();
bgsound.gotoAndPlay(3);
createObj("obj", 6, 2, 17, 4, 1, 1, nextnum++, 9);
createObj("obj", 10, 2, 14, 1, 1, 1, nextnum++, 3);
createObj("obj", 10, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 10, 1, 9, 1, nextnum++, 3);
createObj("obj", -2, 2, 7, 1, 9, 1, nextnum++, 1);
createObj("obj", -2, 2, 6, 1, 1, 1, nextnum++, 8);
createObj("obj", 17, 1.5, 6, 2, 7, 1, nextnum++, 1);
createObj("obj", 21, 2, 6, 8, 1, 1, nextnum++, 1);
createObj("obj", 20, 2, 5, 12, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 3, 1, 9, 1, nextnum++, 1);
createObj("obj", 19, 2, 3, 7, 1, 1, nextnum++, 4);
createObj("obj", 7, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 12, 2, 2, 5, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -1, 1, 1, 1, nextnum++, 3);
createObj("obj", 19, 2, -1, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, -3, 1, 1, 1, nextnum++, 3);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, -4, 1, 9, 1, nextnum++, 1);
createObj("obj", 13, 2, -4, 7, 1, 1, nextnum++, 4);
createObj("obj", 17, 2, -4, 7, 1, 1, nextnum++, 4);
} else if (_local1 == 11) {
nextlev = 12;
message = (("LEVEL " add _local1) add "\r") add "This side up";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", 5, 1.5, 16, 2, 9, 1, nextnum++, 1);
createObj("obj", 10, 2, 16, 7, 1, 1, nextnum++, 4);
createObj("obj", 17, 2, 16, 1, 7, 1, nextnum++, 1);
createObj("obj", 1, 2, 15, 1, 1, 1, nextnum++, 8);
createObj("obj", 18, 2, 15, 1, 1, 1, nextnum++, 8);
createObj("obj", 15, 2, 11, 4, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 10, 1, 1, 1, nextnum++, 6);
createObj("obj", 4, 2, 10, 1, 1, 1, nextnum++, 5);
createObj("obj", 8, 1.5, 10, 2, 5, 1, nextnum++, 1);
createObj("obj", 16, 2, 10, 1, 3, 1, nextnum++, 1);
createObj("obj", 10, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 21, 2, 5, 5, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 3, 8, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 3, 1, 7, 1, nextnum++, 1);
createObj("obj", 15, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 20, 2, 3, 1, 7, 1, nextnum++, 1);
createObj("obj", 15, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, 0, 12, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -2, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, -4, 1, 9, 1, nextnum++, 1);
createObj("obj", 10, 2, -4, 1, 1, 1, nextnum++, 6);
createObj("obj", 15, 2, -4, 1, 5, 1, nextnum++, 5);
} else if (_local1 == 12) {
nextlev = 13;
message = (("LEVEL " add _local1) add "\r") add "Illusionary";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", 14, 2, 12, 4, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 9, 1, 9, 1, nextnum++, 3);
createObj("obj", 3, 2, 7, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 1.5, 4, 2, 5, 1, nextnum++, 1);
createObj("obj", 3, 2, 4, 1, 1, 1, nextnum++, 9);
createObj("obj", 9, 2, 4, 5, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 4, 8, 1, 1, nextnum++, 1);
createObj("obj", 11, 2, 4, 12, 1, 1, nextnum++, 1);
createObj("obj", 13, 2, 4, 9, 1, 1, nextnum++, 10);
createObj("obj", 10, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 5, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, -3, 9, 1, 1, nextnum++, 10);
createObj("obj", 9, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 9);
} else if (_local1 == 13) {
nextlev = 14;
message = (("LEVEL " add _local1) add "\r") add "Take me home";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", 0, 2, 18, 12, 1, 1, nextnum++, 1);
createObj("obj", 8, 2, 17, 4, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, 17, 5, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 16, 7, 1, 1, nextnum++, 4);
createObj("obj", 8, 2, 16, 1, 5, 1, nextnum++, 3);
createObj("obj", 17, 2, 16, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 1, 14, 3, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 12, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 10, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, 10, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 2, 10, 9, 1, 1, nextnum++, 11);
createObj("obj", 8, 2, 10, 1, 1, 1, nextnum++, 9);
createObj("obj", 16, 1.5, 10, 2, 5, 1, nextnum++, 1);
createObj("obj", 7, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 1, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 0, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 7, 2, 1, 7, 1, 1, nextnum++, 4);
createObj("obj", 7, 2, -3, 8, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
} else if (_local1 == 14) {
nextlev = 15;
message = (("LEVEL " add _local1) add "\r") add "STOP";
_local2.leveldisp.play();
_local2.rotlevel = false;
bgsound.gotoAndPlay(2);
createObj("obj", 6, 2, 16, 4, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 14, 1, 1, 1, nextnum++, 1);
createObj("obj", 8, 2, 14, 9, 1, 1, nextnum++, 11);
createObj("obj", 12, 2, 14, 9, 1, 1, nextnum++, 11);
createObj("obj", 14, 2, 12, 1, 1, 1, nextnum++, 8);
createObj("obj", 1, 2, 11, 5, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, 10, 1, 1, 1, nextnum++, 8);
createObj("obj", 5, 2, 5, 1, 5, 1, nextnum++, 3);
createObj("obj", 8, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 12, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 14, 2, 5, 13, 1, 1, nextnum++, 14);
createObj("obj", 16, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 20, 2, 5, 12, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 5, 2, -1, 9, 1, 1, nextnum++, 11);
createObj("obj", 3, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, -3, 13, 1, 1, nextnum++, 15);
createObj("obj", 7, 2, -3, 1, 1, 1, nextnum++, 1);
createObj("obj", 8, 2, -3, 1, 1, 1, nextnum++, 9);
createObj("obj", 14, 2, -3, 7, 1, 1, nextnum++, 4);
createObj("obj", -2, 2, -4, 1, 9, 1, nextnum++, 1);
} else if (_local1 == 15) {
nextlev = 16;
message = (("LEVEL " add _local1) add "\r") add "An expanse of thought";
_local2.leveldisp.play();
_local2.rotlevel = false;
createObj("obj", -1, 2, 13, 5, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 12, 13, 1, 1, nextnum++, 14);
createObj("obj", 21, 2, 11, 4, 1, 1, nextnum++, 8);
createObj("obj", -1, 2, 10, 1, 3, 1, nextnum++, 1);
createObj("obj", 4, 1, 10, 3, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 10, 12, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 7, 1, 3, 1, nextnum++, 1);
createObj("obj", 7, 2, 7, 7, 1, 1, nextnum++, 4);
createObj("obj", 11, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 4, 7, 1, 1, nextnum++, 4);
createObj("obj", 21, 2, 4, 9, 1, 1, nextnum++, 11);
createObj("obj", 0, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 2, 3, 7, 1, 1, nextnum++, 4);
createObj("obj", 21, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 7, 2, -1, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 2, -4, 9, 1, 1, nextnum++, 10);
createObj("obj", 8, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 20, 2, -4, 1, 11, 1, nextnum++, 1);
}
guybright = ambience;
keyleft = false;
keyright = false;
keyup = false;
keydown = false;
keyjump = false;
if (_local2.happymake == 0) {
smilepic.gotoAndStop(1);
_local2.happymake = "";
} else {
smilepic.gotoAndStop(2);
}
}
function clearAll() {
h = 1;
_root.gang = 0;
while (h < nextnum) {
nn = "obj" add h;
removeMovieClip(nn);
h++;
}
nextnum = 1;
}
Instance of Symbol 30 MovieClip in Frame 1
onClipEvent (load) {
loadMessage = "Loading movie...";
barColor = "0xFF0000";
}
Frame 2
function loadLevelb(lev) {
var _local1 = _root;
var _local2 = lev;
clearAll();
gotkey = false;
_local1.keypic.gotoAndStop(1);
_local1.lev = _local2;
_local1.happymake = 0;
bgroundlayer.gotoAndPlay(_local2);
nextnum = 1;
levelcode = encode(_local2);
starclip.gotoAndPlay(2);
if (_local2 == 16) {
nextlev = 17;
message = (("LEVEL " add _local2) add "\r") add "Make me smile again";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(3);
createObj("obj", 15, 2, 11, 9, 1, 1, nextnum++, 11);
createObj("obj", 17, 2, 11, 9, 1, 1, nextnum++, 10);
createObj("obj", 19, 2, 11, 5, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 9, 1, 1, 1, nextnum++, 9);
createObj("obj", 6, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 8, 2, 9, 13, 1, 1, nextnum++, 15);
createObj("obj", 11, 1.5, 9, 2, 5, 1, nextnum++, 1);
createObj("obj", 19, 2, 9, 8, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 8, 1, 1, 1, nextnum++, 8);
createObj("obj", 6, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 11, 2, 4, 10, 1, 1, nextnum++, 12);
createObj("obj", 21, 2, 4, 10, 1, 1, nextnum++, 12);
createObj("obj", 11, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 21, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, 2, 4, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 6, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, -3, 1, 15, 1, nextnum++, 1);
createObj("obj", 0, 2, -4, 1, 15, 1, nextnum++, 1);
createObj("obj", 21, 2, -5, 12, 1, 1, nextnum++, 1);
} else if (_local2 == 17) {
nextlev = 18;
message = (("LEVEL " add _local2) add "\r") add "Lift me higher";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 0, 2, 12, 12, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 12, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, 9, 10, 1, 1, nextnum++, 12);
createObj("obj", 4, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 7, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 9, 2, 9, 1, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 9, 2, 6, 4, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 18, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 9, 2, 4, 5, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 1, 7, 1, 1, nextnum++, 4);
createObj("obj", 18, 2, 1, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, -2, 10, 1, 1, nextnum++, 12);
createObj("obj", 4, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 8, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 12, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 15, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 18, 2, -2, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, -4, 1, 3, 1, nextnum++, 1);
createObj("obj", 20, 2, -4, 8, 1, 1, nextnum++, 1);
} else if (_local2 == 18) {
nextlev = 19;
message = (("LEVEL " add _local2) add "\r") add "You're disturbing me";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(4);
createObj("obj", 19, 2, 17, 4, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 15, 7, 1, 1, nextnum++, 4);
createObj("obj", 15, 2, 12, 1, 1, 1, nextnum++, 8);
createObj("obj", 16, 2, 12, 1, 1, 1, nextnum++, 9);
createObj("obj", 21, 2, 9, 8, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 7, 10, 1, 1, nextnum++, 12);
createObj("obj", 2, 2, 7, 13, 1, 1, nextnum++, 15);
createObj("obj", 3, 2, 7, 10, 1, 1, nextnum++, 12);
createObj("obj", 5, 2, 7, 13, 1, 1, nextnum++, 15);
createObj("obj", 6, 2, 7, 10, 1, 1, nextnum++, 12);
createObj("obj", 11, 1, 7, 3, 5, 1, nextnum++, 1);
createObj("obj", 0, 2, 4, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 3, 2, 3, 9, 1, 1, nextnum++, 10);
createObj("obj", 5, 2, 3, 13, 1, 1, nextnum++, 15);
createObj("obj", 6, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 12, 2, 3, 7, 1, 1, nextnum++, 4);
createObj("obj", 15, 2, 3, 12, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 0, 5, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, 0, 1, 5, 1, nextnum++, 1);
createObj("obj", 0, 1.5, -4, 2, 1, 1, nextnum++, 1);
} else if (_local2 == 19) {
nextlev = 20;
message = (("LEVEL " add _local2) add "\r") add "Be careful";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 18, 2, 15, 4, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, 12, 7, 1, 1, nextnum++, 4);
createObj("obj", 19, 2, 10, 13, 1, 1, nextnum++, 14);
createObj("obj", 20, 2, 10, 13, 1, 1, nextnum++, 14);
createObj("obj", 18, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 19, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 20, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 4, 2, 6, 10, 1, 1, nextnum++, 12);
createObj("obj", 7, 2, 6, 12, 1, 1, nextnum++, 1);
createObj("obj", 10, 2, 6, 10, 1, 1, nextnum++, 12);
createObj("obj", 21, 2, 6, 1, 1, 1, nextnum++, 8);
createObj("obj", 4, 2, 3, 7, 1, 1, nextnum++, 4);
createObj("obj", 10, 2, 3, 7, 1, 1, nextnum++, 4);
createObj("obj", 7, 2, 1, 1, 5, 1, nextnum++, 8);
createObj("obj", 7, 1, -1, 3, 15, 1, nextnum++, 1);
createObj("obj", 16, 1.5, -1, 2, 3, 1, nextnum++, 1);
createObj("obj", 20, 2, -1, 1, 3, 1, nextnum++, 3);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 20, 2, -4, 8, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, -5, 5, 1, 1, nextnum++, 1);
} else if (_local2 == 20) {
nextlev = 21;
message = (("LEVEL " add _local2) add "\r") add "Leap of faith";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 12, 2, 15, 4, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, 14, 7, 1, 1, nextnum++, 4);
createObj("obj", 8, 2, 12, 7, 1, 1, nextnum++, 4);
createObj("obj", 4, 1.5, 10, 2, 3, 1, nextnum++, 1);
createObj("obj", 16, 2, 10, 5, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 9, 13, 3, 1, nextnum++, 14);
createObj("obj", 4, 2, 8, 1, 1, 1, nextnum++, 9);
createObj("obj", 10, 2, 8, 10, 1, 1, nextnum++, 12);
createObj("obj", 16, 2, 8, 1, 5, 1, nextnum++, 1);
createObj("obj", -1, 2, 5, 12, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, 5, 9, 1, 1, nextnum++, 11);
createObj("obj", -1, 2, 2, 1, 1, 1, nextnum++, 9);
createObj("obj", 4, 2, 2, 1, 1, 1, nextnum++, 9);
createObj("obj", 10, 2, 2, 10, 1, 1, nextnum++, 12);
createObj("obj", 16, 2, 2, 1, 5, 1, nextnum++, 1);
createObj("obj", 19, 2, 2, 8, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, -1, 9, 1, 1, nextnum++, 11);
createObj("obj", 1, 2, -4, 1, 3, 1, nextnum++, 1);
createObj("obj", 4, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 10, 2, -4, 10, 1, 1, nextnum++, 12);
} else if (_local2 == 21) {
nextlev = 22;
message = (("LEVEL " add _local2) add "\r") add "Breaking down the past";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(2);
createObj("obj", 15, 2, 15, 10, 1, 1, nextnum++, 12);
createObj("obj", 4, 2, 13, 5, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, 13, 13, 1, 1, nextnum++, 15);
createObj("obj", 7, 2, 13, 9, 1, 1, nextnum++, 10);
createObj("obj", 9, 2, 13, 1, 1, 1, nextnum++, 9);
createObj("obj", 15, 2, 13, 1, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 13, 1, 1, 1, nextnum++, 8);
createObj("obj", 19, 2, 13, 10, 1, 1, nextnum++, 12);
createObj("obj", 7, 2, 10, 7, 1, 1, nextnum++, 4);
createObj("obj", 15, 2, 10, 10, 1, 1, nextnum++, 12);
createObj("obj", 17, 2, 10, 10, 1, 1, nextnum++, 12);
createObj("obj", 14, 2, 7, 1, 5, 1, nextnum++, 1);
createObj("obj", 20, 2, 7, 9, 1, 1, nextnum++, 11);
createObj("obj", 21, 2, 7, 12, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 6, 7, 1, 1, nextnum++, 4);
createObj("obj", 12, 2, 6, 1, 1, 1, nextnum++, 8);
createObj("obj", -2, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 1, 2, 2, 1, 1, 1, nextnum++, 6);
createObj("obj", 4, 2, 2, 1, 1, 1, nextnum++, 5);
createObj("obj", 7, 2, 2, 7, 1, 1, nextnum++, 4);
createObj("obj", 7, 2, 0, 8, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, 0, 7, 1, 1, nextnum++, 4);
createObj("obj", 19, 2, -3, 4, 1, 1, nextnum++, 6);
createObj("obj", 0, 2, -4, 1, 7, 1, nextnum++, 6);
createObj("obj", 12, 2, -4, 7, 1, 1, nextnum++, 4);
createObj("obj", 16, 2, -4, 7, 1, 1, nextnum++, 4);
createObj("obj", 19, 2, -4, 1, 1, 1, nextnum++, 5);
} else if (_local2 == 22) {
nextlev = 23;
message = (("LEVEL " add _local2) add "\r") add "Far and wide";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 13, 2, 18, 4, 1, 1, nextnum++, 1);
createObj("obj", 0, 1.5, 17, 2, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, 17, 1, 1, 1, nextnum++, 9);
createObj("obj", 9, 1.5, 17, 2, 5, 1, nextnum++, 1);
createObj("obj", 13, 2, 17, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 16, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, 10, 8, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 10, 10, 1, 1, nextnum++, 12);
createObj("obj", 14, 1.5, 10, 2, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 10, 1, 1, 1, nextnum++, 9);
createObj("obj", 21, 1.5, 10, 2, 1, 1, nextnum++, 1);
createObj("obj", 28, 2, 10, 12, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 7, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 14, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 21, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 28, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 8, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 14, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 21, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 22, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 28, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 28, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 7, 1.5, -4, 2, 1, 1, nextnum++, 1);
createObj("obj", 14, 1.5, -4, 2, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 21, 1.5, -4, 2, 1, 1, nextnum++, 1);
createObj("obj", 22, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 28, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 2, -5, 1, 1, 1, nextnum++, 8);
createObj("obj", 7, 2, -11, 10, 1, 1, nextnum++, 12);
createObj("obj", 8, 2, -11, 1, 1, 1, nextnum++, 9);
createObj("obj", 14, 2, -11, 5, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, -11, 1, 1, 1, nextnum++, 9);
createObj("obj", 21, 2, -11, 10, 1, 1, nextnum++, 12);
} else if (_local2 == 23) {
nextlev = 24;
message = (("LEVEL " add _local2) add "\r") add "To the heart";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(3);
createObj("obj", 21, 2, 15, 5, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 14, 1, 1, 1, nextnum++, 8);
createObj("obj", 21, 2, 8, 13, 1, 1, nextnum++, 14);
createObj("obj", -4, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 7, 4, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 7, 7, 1, 1, nextnum++, 4);
createObj("obj", -4, 2, 6, 13, 1, 1, nextnum++, 14);
createObj("obj", -3, 2, 6, 13, 1, 1, nextnum++, 14);
createObj("obj", -1, 2, 6, 13, 1, 1, nextnum++, 14);
createObj("obj", -4, 2, 4, 7, 1, 1, nextnum++, 4);
createObj("obj", -4, 2, 3, 1, 1, 1, nextnum++, 8);
createObj("obj", 25, 1, 3, 3, 9, 1, nextnum++, 1);
createObj("obj", 20, 2, 0, 10, 1, 1, nextnum++, 12);
createObj("obj", 22, 2, 0, 1, 1, 1, nextnum++, 9);
createObj("obj", 29, 1.5, 0, 2, 1, 1, nextnum++, 1);
createObj("obj", 29, 1.5, -3, 2, 1, 1, nextnum++, 1);
createObj("obj", -4, 2, -4, 9, 1, 1, nextnum++, 11);
createObj("obj", -2, 2, -4, 9, 1, 1, nextnum++, 11);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -5, 1, 1, 1, nextnum++, 8);
createObj("obj", 20, 2, -5, 10, 1, 1, nextnum++, 12);
createObj("obj", 22, 2, -5, 1, 1, 1, nextnum++, 9);
createObj("obj", 29, 1.5, -6, 2, 1, 1, nextnum++, 1);
createObj("obj", 17, 2, -8, 8, 1, 1, nextnum++, 1);
createObj("obj", 29, 1.5, -9, 2, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -11, 1, 5, 1, nextnum++, 1);
createObj("obj", 5, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 9, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 13, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 17, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 21, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 28, 2, -11, 7, 1, 1, nextnum++, 4);
createObj("obj", 29, 2, -11, 9, 1, 1, nextnum++, 11);
createObj("obj", 13, 2, -12, 12, 1, 1, nextnum++, 1);
} else if (_local2 == 24) {
nextlev = 25;
message = (("LEVEL " add _local2) add "\r") add "To the soul";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 0, 2, 11, 10, 1, 1, nextnum++, 12);
createObj("obj", 12, 2, 11, 4, 1, 1, nextnum++, 1);
createObj("obj", 24, 2, 11, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 1, 8, 3, 1, 1, nextnum++, 3);
createObj("obj", 12, 1, 8, 3, 1, 1, nextnum++, 3);
createObj("obj", 24, 1, 8, 3, 1, 1, nextnum++, 3);
createObj("obj", 0, 1.5, 5, 2, 1, 1, nextnum++, 1);
createObj("obj", 3, 1.5, 5, 2, 1, 1, nextnum++, 3);
createObj("obj", 9, 1.5, 5, 2, 1, 1, nextnum++, 3);
createObj("obj", 12, 2, 5, 12, 1, 1, nextnum++, 1);
createObj("obj", 15, 1.5, 5, 2, 1, 1, nextnum++, 3);
createObj("obj", 21, 1.5, 5, 2, 1, 1, nextnum++, 3);
createObj("obj", 24, 1.5, 5, 2, 1, 1, nextnum++, 3);
createObj("obj", 3, 2, 2, 1, 1, 1, nextnum++, 3);
createObj("obj", 6, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 1.5, 2, 2, 1, 1, nextnum++, 3);
createObj("obj", 15, 1.5, 2, 2, 1, 1, nextnum++, 3);
createObj("obj", 18, 2, 2, 1, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, 2, 1, 1, 1, nextnum++, 3);
createObj("obj", 3, 2, -1, 1, 1, 1, nextnum++, 3);
createObj("obj", 6, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 12, 1, -1, 3, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, -1, 1, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, -1, 1, 1, 1, nextnum++, 3);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 3, 2, -4, 1, 1, 1, nextnum++, 3);
createObj("obj", 12, 1, -4, 3, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, -4, 1, 1, 1, nextnum++, 3);
createObj("obj", 24, 2, -4, 8, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, -7, 5, 1, 1, nextnum++, 1);
} else if (_local2 == 25) {
nextlev = 26;
message = (("LEVEL " add _local2) add "\r") add "In the end";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 7, 2, 15, 1, 1, 1, nextnum++, 8);
createObj("obj", 9, 2, 15, 9, 1, 1, nextnum++, 11);
createObj("obj", 11, 2, 15, 9, 1, 1, nextnum++, 10);
createObj("obj", 13, 2, 15, 9, 1, 1, nextnum++, 11);
createObj("obj", 15, 2, 15, 9, 1, 1, nextnum++, 10);
createObj("obj", 17, 2, 15, 9, 1, 1, nextnum++, 11);
createObj("obj", 19, 2, 15, 1, 1, 1, nextnum++, 9);
createObj("obj", 22, 2, 12, 10, 1, 1, nextnum++, 12);
createObj("obj", 1, 2, 10, 5, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, 10, 7, 1, 1, nextnum++, 4);
createObj("obj", 6, 2, 10, 7, 1, 1, nextnum++, 4);
createObj("obj", 19, 2, 9, 1, 1, 1, nextnum++, 9);
createObj("obj", 25, 2, 9, 8, 1, 1, nextnum++, 1);
createObj("obj", 22, 2, 6, 10, 1, 1, nextnum++, 12);
createObj("obj", 18, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 19, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 0, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 6, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 12, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 18, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 3, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 9, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 15, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, -4, 12, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, -4, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -7, 4, 1, 1, nextnum++, 1);
createObj("obj", 18, 2, -8, 7, 1, 1, nextnum++, 4);
createObj("obj", 22, 2, -8, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -8, 1, 1, 1, nextnum++, 1);
} else if (_local2 == 26) {
nextlev = 27;
message = (("LEVEL " add _local2) add "\r") add "FOUL ONE";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(4);
createObj("obj", 7, 2, 17, 5, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, 15, 9, 1, 1, nextnum++, 10);
createObj("obj", 6, 2, 14, 13, 1, 1, nextnum++, 14);
createObj("obj", 5, 2, 13, 9, 1, 1, nextnum++, 11);
createObj("obj", 5, 2, 11, 1, 1, 1, nextnum++, 8);
createObj("obj", 19, 2, 7, 1, 1, 1, nextnum++, 9);
createObj("obj", 25, 2, 7, 8, 1, 1, nextnum++, 1);
createObj("obj", -5, 2, 6, 12, 1, 1, nextnum++, 1);
createObj("obj", -3, 2, 5, 1, 5, 1, nextnum++, 1);
createObj("obj", 2, 2, 5, 10, 1, 1, nextnum++, 12);
createObj("obj", 5, 2, 5, 10, 1, 1, nextnum++, 12);
createObj("obj", 8, 2, 5, 10, 1, 1, nextnum++, 12);
createObj("obj", 11, 2, 5, 10, 1, 1, nextnum++, 12);
createObj("obj", 14, 2, 5, 1, 1, 1, nextnum++, 8);
createObj("obj", 19, 2, 5, 13, 1, 1, nextnum++, 14);
createObj("obj", 19, 2, 4, 1, 1, 1, nextnum++, 8);
createObj("obj", 1, 2, 2, 10, 1, 1, nextnum++, 12);
createObj("obj", 4, 2, 2, 10, 1, 1, nextnum++, 12);
createObj("obj", 7, 2, 2, 10, 1, 1, nextnum++, 12);
createObj("obj", 10, 2, 2, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 3, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 6, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 9, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 16, 2, -1, 1, 5, 1, nextnum++, 1);
createObj("obj", 16, 2, -2, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, -7, 4, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, -8, 1, 1, 1, nextnum++, 9);
createObj("obj", 10, 2, -8, 1, 1, 1, nextnum++, 1);
createObj("obj", 11, 2, -8, 1, 1, 1, nextnum++, 9);
} else if (_local2 == 27) {
nextlev = 28;
message = (("LEVEL " add _local2) add "\r") add "Flee from here";
_local1.leveldisp.play();
_local1.rotlevel = true;
createObj("obj", 2, 1.5, 16, 2, 17, 1, nextnum++, 1);
createObj("obj", 11, 2, 16, 10, 1, 1, nextnum++, 12);
createObj("obj", 13, 2, 16, 10, 1, 1, nextnum++, 12);
createObj("obj", 15, 2, 16, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, 15, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, 11, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, 8, 9, 1, 1, nextnum++, 10);
createObj("obj", 24, 2, 8, 5, 1, 1, nextnum++, 1);
createObj("obj", 24, 2, 6, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, 5, 9, 1, 1, nextnum++, 11);
createObj("obj", 6, 2, 5, 8, 1, 1, nextnum++, 1);
createObj("obj", -3, 1.5, 2, 2, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, 2, 9, 1, 1, nextnum++, 11);
createObj("obj", 3, 1.5, 2, 2, 1, 1, nextnum++, 1);
createObj("obj", 24, 2, 2, 7, 1, 1, nextnum++, 4);
createObj("obj", -3, 1.5, -1, 2, 1, 1, nextnum++, 1);
createObj("obj", 3, 1.5, -1, 2, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 10, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 21, 1.5, -1, 2, 7, 1, nextnum++, 1);
createObj("obj", 18, 2, -2, 13, 1, 1, nextnum++, 14);
createObj("obj", 0, 1.5, -4, 2, 7, 1, nextnum++, 1);
createObj("obj", 7, 1.5, -4, 2, 1, 1, nextnum++, 1);
createObj("obj", 10, 1.5, -4, 2, 1, 1, nextnum++, 1);
createObj("obj", 13, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 22, 1, -6, 3, 9, 1, nextnum++, 1);
createObj("obj", 27, 2, -6, 4, 1, 1, nextnum++, 1);
createObj("obj", -3, 2, -7, 12, 1, 1, nextnum++, 1);
} else if (_local2 == 28) {
nextlev = 29;
message = (("LEVEL " add _local2) add "\r") add "Seed of end";
_local1.leveldisp.play();
_local1.rotlevel = false;
createObj("obj", 12, 2, 18, 1, 1, 1, nextnum++, 8);
createObj("obj", 13, 2, 18, 1, 1, 1, nextnum++, 9);
createObj("obj", 23, 1.5, 18, 2, 5, 1, nextnum++, 1);
createObj("obj", 27, 2, 18, 13, 1, 1, nextnum++, 15);
createObj("obj", 28, 2, 18, 5, 1, 1, nextnum++, 1);
createObj("obj", 12, 2, 12, 10, 1, 1, nextnum++, 12);
createObj("obj", -3, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 0, 2, 9, 9, 1, 1, nextnum++, 10);
createObj("obj", 3, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 6, 2, 9, 9, 1, 1, nextnum++, 10);
createObj("obj", 9, 2, 9, 9, 1, 1, nextnum++, 11);
createObj("obj", 12, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 15, 2, 9, 10, 1, 1, nextnum++, 12);
createObj("obj", 17, 2, 9, 1, 1, 1, nextnum++, 9);
createObj("obj", 23, 2, 9, 12, 1, 1, nextnum++, 1);
createObj("obj", -3, 2, 6, 1, 1, 1, nextnum++, 8);
createObj("obj", 12, 2, 6, 10, 1, 1, nextnum++, 12);
createObj("obj", 12, 2, 4, 8, 1, 1, nextnum++, 1);
createObj("obj", -2, 2, 1, 1, 1, 1, nextnum++, 1);
createObj("obj", -1, 2, 1, 1, 1, 1, nextnum++, 8);
createObj("obj", 11, 2, 0, 10, 1, 1, nextnum++, 12);
createObj("obj", 8, 2, -3, 10, 1, 1, nextnum++, 12);
createObj("obj", 11, 2, -3, 1, 1, 1, nextnum++, 8);
createObj("obj", 14, 2, -3, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 8);
createObj("obj", 22, 2, -7, 4, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, -9, 1, 1, 1, nextnum++, 1);
createObj("obj", 4, 2, -9, 13, 1, 1, nextnum++, 15);
createObj("obj", 5, 1.5, -9, 2, 1, 1, nextnum++, 1);
createObj("obj", 7, 2, -9, 13, 1, 1, nextnum++, 15);
createObj("obj", 8, 1, -9, 3, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, -9, 13, 1, 1, nextnum++, 15);
createObj("obj", 11, 2, -9, 9, 1, 1, nextnum++, 11);
createObj("obj", 13, 2, -9, 1, 1, 1, nextnum++, 9);
createObj("obj", 20, 2, -9, 9, 1, 1, nextnum++, 10);
createObj("obj", 22, 2, -9, 9, 1, 1, nextnum++, 10);
} else if (_local2 == 29) {
nextlev = 30;
message = (("LEVEL " add _local2) add "\r") add "The last resort";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(1);
createObj("obj", 2, 2, 16, 8, 1, 1, nextnum++, 1);
createObj("obj", 6, 1, 14, 3, 5, 1, nextnum++, 1);
createObj("obj", 9, 2, 14, 1, 1, 1, nextnum++, 9);
createObj("obj", 15, 2, 14, 9, 1, 1, nextnum++, 11);
createObj("obj", 15, 2, 13, 9, 1, 1, nextnum++, 10);
createObj("obj", 15, 2, 12, 9, 1, 1, nextnum++, 11);
createObj("obj", 20, 2, 12, 4, 1, 1, nextnum++, 1);
createObj("obj", 4, 1, 11, 3, 1, 1, nextnum++, 1);
createObj("obj", 15, 2, 11, 1, 1, 1, nextnum++, 9);
createObj("obj", 4, 2, 8, 1, 1, 1, nextnum++, 8);
createObj("obj", 4, 2, 2, 1, 3, 1, nextnum++, 1);
createObj("obj", 4, 2, 1, 1, 1, 1, nextnum++, 8);
createObj("obj", -4, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", -2, 2, -1, 10, 1, 1, nextnum++, 12);
createObj("obj", 0, 1.5, -1, 2, 1, 1, nextnum++, 1);
createObj("obj", 21, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 29, 2, -2, 7, 1, 1, nextnum++, 4);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 2, 2, -4, 12, 1, 1, nextnum++, 1);
createObj("obj", 0, 2, -5, 13, 1, 1, nextnum++, 14);
createObj("obj", 2, 2, -5, 13, 1, 1, nextnum++, 14);
createObj("obj", 13, 2, -6, 7, 1, 1, nextnum++, 4);
createObj("obj", 17, 2, -6, 7, 1, 1, nextnum++, 4);
createObj("obj", 21, 2, -6, 7, 1, 1, nextnum++, 4);
createObj("obj", 29, 2, -6, 7, 1, 1, nextnum++, 4);
createObj("obj", 1, 2, -7, 9, 1, 1, nextnum++, 11);
createObj("obj", -1, 2, -10, 1, 1, 1, nextnum++, 9);
createObj("obj", 5, 2, -10, 7, 1, 1, nextnum++, 4);
createObj("obj", 9, 2, -10, 7, 1, 1, nextnum++, 4);
createObj("obj", 13, 2, -10, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -10, 7, 1, 1, nextnum++, 4);
createObj("obj", 29, 2, -10, 7, 1, 1, nextnum++, 4);
createObj("obj", 25, 2, -11, 5, 1, 1, nextnum++, 1);
} else if (_local2 == 30) {
nextlev = 99;
message = (("LEVEL " add _local2) add "\r") add "Release me";
_local1.leveldisp.play();
_local1.rotlevel = false;
bgsound.gotoAndPlay(4);
createObj("obj", 16, 2, 18, 4, 1, 1, nextnum++, 1);
createObj("obj", 30, 2, 17, 5, 1, 1, nextnum++, 1);
createObj("obj", 5, 2, 16, 1, 13, 1, nextnum++, 3);
createObj("obj", 13, 2, 16, 9, 1, 1, nextnum++, 11);
createObj("obj", 16, 2, 16, 9, 1, 1, nextnum++, 10);
createObj("obj", 30, 2, 15, 1, 1, 1, nextnum++, 3);
createObj("obj", -1, 2, 13, 7, 1, 1, nextnum++, 4);
createObj("obj", 30, 2, 13, 7, 1, 1, nextnum++, 4);
createObj("obj", 14, 2, 11, 10, 1, 1, nextnum++, 12);
createObj("obj", 23, 2, 11, 10, 1, 1, nextnum++, 12);
createObj("obj", -1, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 14, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 23, 2, 9, 1, 1, 1, nextnum++, 8);
createObj("obj", 26, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", 30, 2, 9, 7, 1, 1, nextnum++, 4);
createObj("obj", -1, 2, 5, 7, 1, 1, nextnum++, 4);
createObj("obj", 10, 2, 4, 13, 1, 1, nextnum++, 14);
createObj("obj", 6, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 8, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 9, 2, 3, 13, 1, 1, nextnum++, 15);
createObj("obj", 10, 2, 3, 1, 1, 1, nextnum++, 3);
createObj("obj", 11, 2, 3, 13, 1, 1, nextnum++, 15);
createObj("obj", 12, 2, 3, 1, 1, 1, nextnum++, 1);
createObj("obj", 14, 1.5, 3, 2, 1, 1, nextnum++, 1);
createObj("obj", 16, 2, 3, 1, 1, 1, nextnum++, 9);
createObj("obj", 23, 2, 3, 10, 1, 1, nextnum++, 12);
createObj("obj", 25, 2, 3, 9, 1, 1, nextnum++, 11);
createObj("obj", 26, 2, 3, 9, 1, 1, nextnum++, 10);
createObj("obj", 28, 2, 3, 10, 1, 1, nextnum++, 12);
createObj("obj", -1, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 6, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 14, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", 23, 2, 2, 1, 1, 1, nextnum++, 8);
createObj("obj", -1, 2, -4, 1, 1, 1, nextnum++, 8);
createObj("obj", 0, 2, -4, 1, 1, 1, nextnum++, 1);
createObj("obj", 1, 2, -4, 1, 1, 1, nextnum++, 9);
createObj("obj", 14, 2, -5, 10, 1, 1, nextnum++, 12);
createObj("obj", 23, 2, -5, 10, 1, 1, nextnum++, 12);
createObj("obj", -5, 2, -10, 10, 1, 1, nextnum++, 12);
createObj("obj", -1, 2, -10, 1, 5, 1, nextnum++, 3);
createObj("obj", 3, 2, -10, 10, 1, 1, nextnum++, 12);
createObj("obj", -1, 2, -12, 10, 1, 1, nextnum++, 12);
} else {
message = "Congratulations.. You win.";
_local1.leveldisp.play();
gameover = true;
}
guybright = ambience;
keyleft = false;
keyright = false;
keyup = false;
keydown = false;
keyjump = false;
if (_local1.happymake == 0) {
smilepic.gotoAndStop(1);
_local1.happymake = "";
} else {
smilepic.gotoAndStop(2);
}
}
stop();
Frame 3
keyleft = false;
keyright = false;
keyup = false;
keydown = false;
keyjump = false;
yinc = 0;
r1 = 0;
r2 = 0;
r3 = 0;
nextnum = 2;
cr1 = Math.cos(r1);
sr1 = Math.sin(r1);
cr2 = Math.cos(r2);
sr2 = Math.sin(r2);
cr3 = Math.cos(r3);
sr3 = Math.sin(r3);
duplicateMovieClip ("guk", "guy", 3001);
duplicateMovieClip ("shadok", "shadow", 3000);
shadok.visible = false;
shadok.stop();
guk._visible = false;
guk.stop();
guy.x = 0;
guy.y = 1;
guy.z = -4;
obj.z = 0;
obj.y = 1;
obj.x = -40;
obj.width = 1;
obj.depth = 1;
obj._x = -100;
obj._y = 100;
obj.stop();
smx = 0;
smy = 0;
smz = 8;
mx = smx;
my = smy;
mz = smz;
d = 300;
keymessage = [];
keymessage[0] = "Key obtained - that's so crazy";
keymessage[1] = "You got a key";
keymessage[2] = "Shiny";
keymessage[3] = "It's so yellow";
keymessage[4] = "Really great fun with a key";
keymessage[5] = "Key tickler";
keymessage[6] = "Key was gotten";
keymessage[7] = "A great key";
keymessage[8] = "Crazy little key";
keymessage[9] = "Happy key";
keymessage[10] = "A key for to open things";
keymessage[11] = "You are no longer keyless";
keymessage[12] = "Posessive of the key";
keymessage[13] = "All our key are belong to you";
keymessage[14] = "Key in hand";
nokeymessage = [];
nokeymessage[0] = "You need a key";
nokeymessage[1] = "Locked until unlocked";
nokeymessage[2] = "Can't open without key";
nokeymessage[3] = "Your invisible, nonexistant key doesn't open this door";
nokeymessage[4] = "No key, no exit";
nokeymessage[5] = "This is not a keyless exit";
nokeymessage[6] = "Shoo.. go get a key";
nokeymessage[7] = "Look, you simply can't get through this exit without the key";
fall = new Sound();
fall.attachSound("fallsound");
exitsnd = new Sound();
exitsnd.attachSound("exitsound");
chord_c = new Sound();
chord_c.attachSound("chordc");
chord_ce = new Sound();
chord_ce.attachSound("chordce");
chord_f9 = new Sound();
chord_f9.attachSound("chordf9");
chord_g = new Sound();
chord_g.attachSound("chordg");
chord_am = new Sound();
chord_am.attachSound("chordam");
jump_1 = new Sound();
jump_1.attachSound("jump1");
jump_2 = new Sound();
jump_2.attachSound("jump2");
jump_3 = new Sound();
jump_3.attachSound("jump3");
sparkle = new Sound();
sparkle.attachSound("sparkle");
sound1 = new Sound();
sound1.attachSound("sound1");
guyColor = new Color(guy);
guyColorTransform = new Object();
lives = 3;
heartrate = 25;
if ((cont > 0) && (cont < 100)) {
if (cont < 16) {
loadLevel(cont);
} else {
loadLevelb(cont);
}
} else {
loadlevel(1);
}
Instance of Symbol 205 MovieClip "guk" in Frame 3
onClipEvent (keyDown) {
if ((Key.getCode() == 39) && (/:keyright == false)) {
Set("/:keyright", true);
Set("/:startrun", true);
}
if ((Key.getCode() == 37) && (/:keyleft == false)) {
Set("/:keyleft", true);
Set("/:startrun", true);
}
if ((Key.getCode() == 38) && (/:keyup == false)) {
Set("/:keyup", true);
Set("/:startrun", true);
}
if ((Key.getCode() == 40) && (/:keydown == false)) {
Set("/:keydown", true);
Set("/:startrun", true);
}
if ((Key.getCode() == 16) && (/:keyjump == false)) {
Set("/:keyjump", true);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
Set("/:keyright", false);
_root.collideright = false;
}
if (Key.getCode() == 37) {
Set("/:keyleft", false);
_root.collideleft = false;
}
if (Key.getCode() == 40) {
Set("/:keydown", false);
_root.collidedown = false;
}
if (Key.getCode() == 38) {
Set("/:keyup", false);
_root.collideup = false;
}
if (Key.getCode() == 16) {
Set("/:keyjump", false);
Set("/:yinc", 0);
}
}
Frame 7
gang = gang + 0.2;
if ((/:keyright == true) && (collideright != true)) {
dir = 1;
Set("/:dx", /:dx - 0.04);
}
if ((/:keyleft == true) && (collideleft != true)) {
dir = -1;
Set("/:dx", /:dx + 0.04);
}
if (/:keyjump == true) {
if ((yinc == 0) && (onme == true)) {
onme = false;
dy = 0.1;
yinc = 20;
jumping = true;
playchord = false;
c = int(Math.random() * 3) + 1;
if (c == 1) {
jump_1.start();
} else if (c == 2) {
jump_2.start();
} else if (c == 3) {
jump_3.start();
}
} else if (yinc > 1) {
dy = dy + (yinc / 2000);
yinc = yinc - 1;
} else if (yinc == 1) {
yinc = 0;
keyjump = false;
}
}
if (dx > 0.1) {
dx = 0.1;
}
if (dx < -0.1) {
dx = -0.1;
}
if ((/:keyup == true) && (collideup != true)) {
dir = 1;
Set("/:dz", /:dz - 0.04);
}
if ((/:keydown == true) && (collidedown != true)) {
dir = -1;
Set("/:dz", /:dz + 0.04);
}
if (dz > 0.1) {
dz = 0.1;
}
if (dz < -0.1) {
dz = -0.1;
}
if (dx > 0.03) {
dx = dx - 0.02;
} else if (dx < -0.03) {
dx = dx + 0.02;
} else {
dx = 0;
}
if (dz > 0.03) {
dz = dz - 0.02;
} else if (dz < -0.03) {
dz = dz + 0.02;
} else {
dz = 0;
}
if (jumping == false) {
if (onme == false) {
dy = dy - 0.01;
}
} else {
jumping = false;
}
if ((guy.y > 3) && (playfall != true)) {
fall.start();
playfall = true;
}
if (guy.y > 10) {
playfall = false;
dx = 0;
dy = 0;
dz = 0;
guy.x = lastx;
guy.y = lasty;
guy.z = lastz;
mx = lastmx;
my = lastmy;
mz = lastmz;
heartrate = heartrate - 2;
if (heartrate == 1) {
lives--;
heartrate = 25;
heart.gotoAndPlay(10);
guy.x = 0;
guy.y = 1;
guy.z = -4;
mx = smx;
my = smy;
mz = smz;
dx = 0;
dy = 0;
dz = 0;
starclip.play();
if (lives > 1) {
message = lives add " lives remaining";
} else {
message = ("Only " add lives) add " life remaining";
}
_root.leveldisp.play();
}
}
if (exiting == true) {
exitsnd.start();
if (nextlev < 16) {
loadLevel(nextlev);
} else {
loadLevelb(nextlev);
}
exiting = false;
}
if (gameover == true) {
gotoAndStop (10);
}
onme = false;
onshad = false;
guy.x = guy.x - dx;
guy.y = guy.y - dy;
guy.z = guy.z - dz;
mx = mx + dx;
mz = mz + dz;
guy._rotation = (-dx) * 90;
if ((dz > 0) && (guy.charc._currentframe == 1)) {
guy.charc.gotoAndStop(2);
}
if ((dz < 0) && (guy.charc._currentframe == 2)) {
guy.charc.gotoAndStop(1);
}
if (guy.y < 2.1) {
sd = int(24.25 - guy.z) * 100;
guy.swapDepths(sd);
shadow.swapDepths(sd - 1);
}
gotoAndPlay(_currentframe - 1);
Frame 10
gameover = false;
stop();
Symbol 9 Button
on (press) {
startDrag (this);
if (((getTimer() - lastClick) < 150) && ((getTimer() - lastClick) > 0)) {
if (hide != true) {
body._visible = false;
hide = true;
} else {
hide = false;
body._visible = true;
}
}
}
on (release, releaseOutside) {
lastClick = getTimer();
stopDrag();
}
Symbol 17 Button
on (release) {
if (hide != true) {
body._visible = false;
hide = true;
} else {
hide = false;
body._visible = true;
}
}
Symbol 30 MovieClip Frame 1
if (initial == undefined) {
loaderColor = new Color(body.colorBand.bar.colorClip);
loaderColor.setRGB(parseInt(barColor));
initial = "completed";
_root.stop();
body.colorBand._x = -323;
body.colorBand._y = -7;
textLength = loadMessage.length * 7;
start_x = -323;
stop_x = -44;
}
location = start_x + ((stop_x - start_x) * (_root.getBytesLoaded() / _root.getBytesTotal()));
if (body.colorBand._x < stop_x) {
body.colorBand._x = location;
} else {
_root.play();
}
Instance of Symbol 11 MovieClip "line" in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._width = _parent.textLength;
}
Instance of Symbol 13 MovieClip "grip1" in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._width = ((_parent.line._x - (_parent.line._width / 2)) - this._x) - 8;
}
Instance of Symbol 14 MovieClip "grip2" in Symbol 30 MovieClip Frame 1
onClipEvent (load) {
this._x = (_parent.line._x + (_parent.line._width / 2)) + 5;
this._width = 225 - this._x;
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 61 MovieClip Frame 3
stop();
Symbol 61 MovieClip Frame 4
stop();
Symbol 61 MovieClip Frame 5
stop();
Symbol 61 MovieClip Frame 6
stop();
Symbol 61 MovieClip Frame 7
stop();
Symbol 61 MovieClip Frame 8
stop();
Symbol 61 MovieClip Frame 9
stop();
Symbol 61 MovieClip Frame 10
stop();
Symbol 61 MovieClip Frame 11
stop();
Symbol 61 MovieClip Frame 12
stop();
Symbol 61 MovieClip Frame 13
stop();
Symbol 61 MovieClip Frame 14
stop();
Symbol 61 MovieClip Frame 15
stop();
Symbol 61 MovieClip Frame 16
stop();
Symbol 61 MovieClip Frame 17
stop();
Symbol 61 MovieClip Frame 18
stop();
Symbol 61 MovieClip Frame 19
stop();
Symbol 61 MovieClip Frame 20
stop();
Symbol 61 MovieClip Frame 21
stop();
Symbol 61 MovieClip Frame 22
stop();
Symbol 61 MovieClip Frame 23
stop();
Symbol 61 MovieClip Frame 24
stop();
Symbol 61 MovieClip Frame 25
stop();
Symbol 61 MovieClip Frame 26
stop();
Symbol 61 MovieClip Frame 27
stop();
Symbol 61 MovieClip Frame 28
stop();
Symbol 61 MovieClip Frame 29
stop();
Symbol 61 MovieClip Frame 30
stop();
Symbol 68 Button
on (release) {
title._visible = false;
cont = 0;
_root.play();
}
Symbol 71 Button
on (release) {
title._visible = false;
cont = decode(entercode);
_root.play();
}
Symbol 80 Button
on (release) {
play();
}
Symbol 88 Button
on (release) {
play();
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 2
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
disp.levdisp = _root.message;
Symbol 138 MovieClip Frame 75
gotoAndStop (1);
Symbol 140 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 146 Button
on (release) {
_root._quality = "MEDIUM";
}
Symbol 148 Button
on (release) {
_root._quality = "LOW";
}
Symbol 150 Button
on (release) {
_root._quality = "HIGH";
}
Symbol 151 Button
on (release) {
_root.bgroundlayer._visible = false;
_root.shape1._visible = false;
_root.shape2._visible = false;
_root.shape3._visible = false;
_root.starclip._visible = false;
}
Symbol 152 Button
on (release) {
_root.bgroundlayer._visible = true;
_root.shape1._visible = true;
_root.shape2._visible = true;
_root.shape3._visible = true;
_root.starclip._visible = true;
}
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
stop();
Symbol 161 MovieClip Frame 3
stop();
Symbol 161 MovieClip Frame 4
stop();
Symbol 161 MovieClip Frame 5
stop();
Symbol 161 MovieClip Frame 6
stop();
Symbol 161 MovieClip Frame 7
stop();
Symbol 161 MovieClip Frame 8
stop();
Symbol 161 MovieClip Frame 9
stop();
Symbol 161 MovieClip Frame 10
stop();
Symbol 161 MovieClip Frame 11
stop();
Symbol 161 MovieClip Frame 12
stop();
Symbol 161 MovieClip Frame 13
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stop();
Symbol 165 MovieClip Frame 4
stop();
Symbol 165 MovieClip Frame 5
stop();
Symbol 165 MovieClip Frame 6
stop();
Symbol 165 MovieClip Frame 7
stop();
Symbol 165 MovieClip Frame 8
stop();
Symbol 165 MovieClip Frame 9
stop();
Symbol 165 MovieClip Frame 10
stop();
Symbol 165 MovieClip Frame 11
stop();
Symbol 165 MovieClip Frame 12
stop();
Symbol 165 MovieClip Frame 13
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 197 MovieClip Frame 3
stop();
Symbol 197 MovieClip Frame 4
stop();
Symbol 197 MovieClip Frame 5
stop();
Symbol 197 MovieClip Frame 6
stop();
Symbol 197 MovieClip Frame 7
stop();
Symbol 197 MovieClip Frame 8
stop();
Symbol 197 MovieClip Frame 9
stop();
Symbol 197 MovieClip Frame 10
stop();
Symbol 197 MovieClip Frame 11
stop();
Symbol 197 MovieClip Frame 12
stop();
Symbol 197 MovieClip Frame 13
stop();
Symbol 198 MovieClip Frame 1
wx = x;
wy = y;
wz = z;
if (flag == 8) {
glideoff = Math.sin(_root.gang / 10) / 10;
z = z - glideoff;
} else if (flag == 9) {
glideoff = Math.sin(_root.gang / 10) / 10;
x = x + glideoff;
} else if (flag == 10) {
image.circlepart._rotation = (image.circlepart._rotation + 10) % 360;
} else if (flag == 11) {
image.circlepart._rotation = (image.circlepart._rotation - 10) % 360;
}
wx = wx + _root.mx;
wy = wy + _root.my;
wz = wz + _root.mz;
if (flag == 2) {
offx = gx - x;
offy = gy - y;
offz = gz - z;
offx = offx * offx;
offy = offy * offy;
offz = offz * offz;
gdist = Math.sqrt((offx + offy) + offz);
_root.guybright = ((_root.guybright + ((30 / gdist) * (100 - _root.ambience))) + _root.ambience) / 3;
}
if ((((wz > 3) && (wz < 10)) && (wx > -10.5)) && (wx < 10.5)) {
_x = (((_root.d * wx) / wz) + 275);
_y = (((_root.d * wy) / wz) + 200);
_xscale = (_root.d / wz);
_yscale = (_root.d / wz);
if (type < 4) {
tw = (width - 1) * 100;
image._width = tw + 1;
lefts._x = image._x - (tw / 2);
rights._x = image._x + (tw / 2);
} else {
_xscale = ((_root.d / wz) * width);
}
if ((width == 1) && (_root.rotlevel == true)) {
_rotation = ((-wx) * 20);
}
if ((flag == 14) || (flag == 15)) {
if (((((_root.guy.x < (x + (width / 2))) && ((x - (width / 2)) < _root.guy.x)) && (_root.guy.z < (z + (depth / 4)))) && ((z - (depth / 3)) < _root.guy.z)) && (hidden != true)) {
if (flag == 14) {
if (_root.guy.z < z) {
_root.guy.z = z - (depth / 2);
_root.mz = _root.mz - _root.dz;
_root.dz = 0;
_root.collideup = true;
} else if (z < _root.guy.z) {
_root.guy.z = z + (depth / 2);
_root.mz = _root.mz - _root.dz;
_root.dz = 0;
_root.collidedown = true;
}
} else if (flag == 15) {
if (_root.guy.x < x) {
_root.guy.x = x - (width / 2);
_root.mx = _root.mx - _root.dx;
_root.dx = 0;
_root.collideright = true;
} else if (x < _root.guy.x) {
_root.guy.x = x + (width / 2);
_root.mx = _root.mx - _root.dx;
_root.dx = 0;
_root.collideleft = true;
}
}
}
}
sh = 100 - ((wz - 4) * 18);
myColorTransform = {ra:sh, rb:"0", ga:sh, gb:"0", ba:sh, bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
gx = _root.guy.x;
gy = _root.guy.y;
gz = _root.guy.z;
if (flag == 3) {
if (_root.guy.y > 8) {
count = 110;
}
if ((count >= 20) && (count < 30)) {
image._alpha = 100 - ((count - 20) * 10);
lefts._alpha = 100 - ((count - 20) * 10);
rights._alpha = 100 - ((count - 20) * 10);
} else if (count == 30) {
hidden = true;
image._alpha = 0;
lefts._alpha = 0;
rights._alpha = 0;
} else if ((count >= 100) && (count < 110)) {
image._alpha = (count - 100) * 10;
lefts._alpha = (count - 100) * 10;
rights._alpha = (count - 100) * 10;
} else if (count == 110) {
hidden = false;
image._alpha = 100;
lefts._alpha = 100;
rights._alpha = 100;
} else if (count >= 150) {
count = 0;
}
count++;
}
if (((((gx < (x + (width / 2))) && ((x - (width / 2)) < gx)) && (gz < (z + (depth / 4)))) && ((z - (depth / 2)) < gz)) && (hidden != true)) {
if ((gy < (y + 0.5)) && (y < gy)) {
_root.onme = true;
_root.dy = 0;
_root.guy.y = y;
_root.onshad = true;
_root.shaddepth = y;
if ((((flag == 1) || (flag == 2)) || (flag == 5)) || (flag == 6)) {
_root.lastx = gx;
_root.lasty = y;
_root.lastz = gz;
_root.lastmx = _root.mx;
_root.lastmy = _root.my;
_root.lastmz = _root.mz;
}
if (flag == 4) {
_root.onme = false;
_root.dy = 0.23;
_root.jumping = true;
} else if (flag == 8) {
_root.guy.z = _root.guy.z - glideoff;
_root.mz = _root.mz + glideoff;
} else if (flag == 9) {
_root.guy.x = _root.guy.x + glideoff;
_root.mx = _root.mx - glideoff;
} else if (flag == 10) {
_root.dx = _root.dx - 0.06;
} else if (flag == 11) {
_root.dx = _root.dx + 0.06;
} else if (flag == 12) {
image.happyface._rotation = (image.happyface._rotation + (_root.dx * 200)) % 360;
if (((image.happyface._rotation > 170) && (image.happyface._rotation < 190)) && (image.happyface._currentframe == 1)) {
_root.happymake--;
image.happyface.gotoAndStop(2);
}
if (((image.happyface._rotation <= 170) || (image.happyface._rotation >= 190)) && (image.happyface._currentframe == 2)) {
_root.happymake++;
image.happyface.gotoAndStop(1);
}
} else if (flag == 13) {
x = gx;
z = gz;
image._alpha = image._alpha - 0.5;
if (image._alpha <= 0) {
_x = -400;
image._alpha = 100;
x = startx;
y = starty;
z = startz;
}
}
_y = (_y + (2 * Math.cos(_root.gang)));
} else if (y >= gy) {
_root.shaddepth = y;
_root.onshad = true;
}
if ((flag == 5) && (_root._yscale > 0)) {
_root._yscale = -100;
_root._y = 400;
} else if ((flag == 6) && (_root._yscale < 0)) {
_root._yscale = 100;
_root._y = 0;
}
if (((type == 4) && ((y + 0.1) >= gy)) && (z < gz)) {
if (((_root.gotkey == true) && (_root.happymake == 0)) || (_root.happymake == "")) {
_root.exiting = true;
_root.guy.x = 0;
_root.guy.y = 1;
_root.guy.z = -4;
_root.mx = _root.smx;
_root.my = _root.smy;
_root.mz = _root.smz;
_root.dx = 0;
_root.dy = 0;
_root.dz = 0;
_root.lastx = 0;
_root.lasty = 1;
_root.lastz = -4;
_root.lastmx = _root.mx;
_root.lastmy = _root.my;
_root.lastmz = _root.mz;
} else if (_root.gotkey == false) {
m = int(Math.random() * 8);
_root.message = _root.nokeymessage[m];
_root.leveldisp.play();
} else if (_root.happymake > 0) {
_root.message = "Don't leave. There is still unhappiness";
_root.leveldisp.play();
}
}
if ((((type == 5) && (gy >= (y - 0.1))) && (z < gz)) && (gz < (z + 0.2))) {
type = 1;
image.gotoAndStop(1);
lefts.gotoAndStop(1);
rights.gotoAndStop(1);
m = int(Math.random() * 15);
_root.message = _root.keymessage[m];
_root.leveldisp.play();
_root.gotkey = true;
_root.keypic.gotoAndStop(2);
_root.sparkle.start();
} else if ((((type == 8) && (gy >= (y - 0.1))) && (z < gz)) && (gz < (z + 0.2))) {
type = 1;
image.gotoAndStop(1);
lefts.gotoAndStop(1);
rights.gotoAndStop(1);
m = 1;
_root.message = ("Gained " add m) add " life";
_root.leveldisp.play();
_root.sparkle.start();
_root.lives = _root.lives + m;
} else if ((((type == 12) && (gy >= (y - 0.1))) && (z < gz)) && (gz < (z + 0.2))) {
type = 1;
image.gotoAndStop(1);
lefts.gotoAndStop(1);
rights.gotoAndStop(1);
_root.sparkle.start();
_root.heartrate = 25;
}
}
} else {
_x = -2600;
}
Symbol 200 MovieClip Frame 1
wx = x;
wy = y;
wz = z;
wx = _root.guy.x;
wy = _root.shaddepth;
wz = _root.guy.z;
wx = wx + _root.mx;
wy = wy + _root.my;
wz = wz + _root.mz;
if (((wz > 2) && (wz < 12)) && (_root.onshad == true)) {
_x = (((_root.d * wx) / wz) + 275);
_y = (((_root.d * wy) / wz) + 200);
_xscale = (_root.d / wz);
_yscale = (_root.d / wz);
_alpha = 50;
} else {
_x = -2600;
}
_y = (_y + (2 * Math.cos(_root.gang)));
Symbol 205 MovieClip Frame 1
wx = x;
wy = y;
wz = z;
wx = wx + _root.mx;
wy = wy + _root.my;
wz = wz + _root.mz;
if (wz > 0) {
_x = (((_root.d * wx) / wz) + 275);
_y = (((_root.d * wy) / wz) + 200);
_y = (_y + (2 * Math.cos(_root.gang)));
_xscale = (_root.d / wz);
_yscale = (_root.d / wz);
} else {
_x = -2600;
}
Symbol 205 MovieClip Frame 2
wx = x;
wy = y;
wz = z;
wx = wx + _root.mx;
wy = wy + _root.my;
wz = wz + _root.mz;
if (wz > 0) {
_x = (((_root.d * wx) / wz) + 275);
_y = (((_root.d * wy) / wz) + 200);
_y = (_y + (2 * Math.cos(_root.gang)));
_xscale = (_root.d / wz);
_yscale = (_root.d / wz);
} else {
_x = -2600;
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 212 MovieClip Frame 2
_x = (_x + ((_root.nextlev - 1) * 0.8));
_y = (_y + dy);
_rotation = (_rotation + ((_root.nextlev - 1) * 0.5));
if (int(Math.random() * 30) == 10) {
dy = (Math.random() * 3) - 1;
}
if (_x > 680) {
_x = -30;
_y = (Math.random() * 400);
balls.gotoAndPlay(_root.nextlev - 1);
dy = (Math.random() * _root.nextlev) - ((_root.nextlev - 1) / 2);
m = int(Math.random() * 8);
if (m == 6) {
_root.sound1.start();
}
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 2
_xscale = (100 + ((30 - _root.heartrate) * 2));
_yscale = (100 + ((30 - _root.heartrate) * 2));
if ((waiter++) >= _root.heartrate) {
waiter = 0;
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 231 MovieClip Frame 7
if ((waiter++) >= (_root.heartrate / 3)) {
waiter = 0;
gotoAndPlay (1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 231 MovieClip Frame 20
gotoAndPlay (1);
Symbol 235 Button
on (release) {
options.play();
}
Symbol 241 Button
on (release) {
nextLev = 1;
loadLevel(nextlev);
gotoAndPlay (6);
}