Frame 1
if (null) {
}
gesamt = Math.round(_root.getBytesTotal());
geladen = Math.round(_root.getBytesLoaded());
prozent = Math.round((100 * geladen) / gesamt) add "%";
kilobyte = Math.round(geladen / 1024) add " Kilobytes";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.gotoAndPlay(8);
}
_root.balken._xscale = (geladen * 100) / gesamt;
Frame 2
if (null) {
}
gotoAndPlay (1);
Frame 8
if (null) {
}
stop();
Instance of Symbol 212 MovieClip "highscore_anzeige" in Frame 8
onClipEvent (load) {
if (null) {
}
this.loadVariables("highscore.txt?z=" + new Date().getTime());
this.text_box = "";
}
onClipEvent (data) {
if (null) {
}
if (this.count == undefined) {
this.text_box = "<b>No Highscores yet...</b>";
_parent.min_score = 0;
_parent.count = 0;
} else {
this.count = Number(this.count);
i = 1;
while (this.count >= i) {
_root["n" + i] = unescape(this["n" + i]);
_root["s" + i] = unescape(this["s" + i]);
this.text_box = this.text_box + (((("<b>" + unescape(this["n" + i])) + "</b>: ") + this["s" + i]) + "<br>");
this.vorher = this["s" + i];
if (i < this.count) {
}
i++;
}
delete i;
_root.min_score = Number(this["s" + this.count]);
_root.count = this.count;
_root.mx = this.mx;
}
}
Frame 11
if (null) {
}
score = 0;
xball = 380;
yball = 380;
ballhoch = 30;
addvar = 0.3;
brems = 0.05;
gravirom = 0.3;
beginx = 250;
beginy = 80;
szen = 10;
toclimb = 4;
maxspeed = 7;
diakonst = 40;
drunter = 20;
grundzeichnenhoch = 25;
rand = 1.5;
energie = 100;
energieplus = 26;
rahmen = 2;
lives = 5;
gemsleft = 22;
timeleft = 120;
timeplus = 30;
pausecnt = 20;
mpacks = 9;
barrier = 1;
movieclip.prototype.kill = function () {
for (a in this) {
this[a].removeMovieClip();
delete this[a];
}
delete a;
};
movieclip.prototype.steuern = function () {
if (Key.isDown(keylinks) and ((-xadd) < maxspeed)) {
xadd = xadd - addvar;
}
if (Key.isDown(keyoben) and ((-yadd) < maxspeed)) {
yadd = yadd - addvar;
}
if (Key.isDown(keyrechts) and (xadd < maxspeed)) {
xadd = xadd + addvar;
}
if (Key.isDown(keyunten) and (yadd < maxspeed)) {
yadd = yadd + addvar;
}
if (xadd >= brems) {
xadd = xadd - brems;
}
if ((-brems) >= xadd) {
xadd = xadd + brems;
}
if (yadd >= brems) {
yadd = yadd - brems;
}
if ((-brems) >= yadd) {
yadd = yadd + brems;
}
if (((-brems) < xadd) and (xadd < brems)) {
xadd = 0;
}
if (((-brems) < yadd) and (yadd < brems)) {
yadd = 0;
}
};
movieclip.prototype.drawTiles = function () {
i = 0;
while (i < 100) {
removeMovieClip("kachel" + i);
i++;
}
i = 0;
while (i < 100) {
removeMovieClip("kachel100" + i);
i++;
}
i = 0;
while (i < 100) {
removeMovieClip("good" + i);
i++;
}
d = 0;
step = 40;
var i = 0;
while (i < rows.length) {
var j = 0;
while (j < rows[i].length) {
d = (10 * i) + j;
attachMovie("boden" + type[i][j], "kachel" + d, ((d * 20) + 5) + (2 * int(rows[i][j] / 10)));
with (this["kachel" + d]) {
_x = (beginx + ((j * step) / 2)) - ((i * step) / 2);
_y = ((beginy + ((i * step) / 4)) + ((j * step) / 4)) - rows[i][j];
}
if (0 < goodie[(10 * area) + i][j]) {
attachMovie("goodie" + goodie[(10 * area) + i][j], "good" + d, ((d * 20) + 7) + (2 * int(rows[i][j] / 10)));
with (this["good" + d]) {
_x = (beginx + ((j * step) / 2)) - ((i * step) / 2);
_y = ((beginy + ((i * step) / 4)) + ((j * step) / 4)) - rows[i][j];
}
}
hell = 105 - (rows[i][j] / 3);
myColor = new Color("kachel" + d);
myColorTransform = new Object();
myColorTransform = {ra:hell, rb:"0", ga:hell, gb:"0", ba:hell, bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
if (grundzeichnenhoch < rows[i][j]) {
attachMovie("boden1", "kachel100" + d, (d * 20) + 3);
with (this["kachel100" + d]) {
_x = (beginx + ((j * step) / 2)) - ((i * step) / 2);
_y = ((beginy + ((i * step) / 4)) + ((j * step) / 4)) - 10;
}
hell = 30 + (rows[i][j] / 1.5);
myColor = new Color("kachel100" + d);
myColorTransform = new Object();
myColorTransform = {ra:hell, rb:"0", ga:hell, gb:"0", ba:hell, bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myColorTransform);
}
j++;
}
i++;
}
};
movieclip.prototype.setCursor = function (xcur, ycur) {
with (this.cursor) {
_x = (beginx + (xcur * 20)) - (ycur * 20);
_y = ((beginy + (ycur * 10)) + (xcur * 10)) - rows[ycur][xcur];
}
};
movieclip.prototype.getBallhochsoll = function (xtmp, ytmp) {
xtiletmp = int(xtmp / diakonst);
ytiletmp = int(ytmp / diakonst);
newtiletmp = (10 * ytiletmp) + xtiletmp;
xwinkeltmp = eval (("kachel" add newtiletmp) add ".xwinkel");
ywinkeltmp = eval (("kachel" add newtiletmp) add ".ywinkel");
ballhochsolltmp = (rows[ytiletmp][xtiletmp] + (Math.tan(xwinkeltmp) * (((xtiletmp * 40) + 20) - xtmp))) + (Math.tan(ywinkeltmp) * (((ytiletmp * 40) + 20) - ytmp));
return(ballhochsolltmp);
};
drawMap = function () {
i = 1;
while (16 >= i) {
karte.display.map["map" + i].gotoAndStop(mapArray[i - 1]);
i++;
}
karte.display.map["map" + area].gotoAndPlay(4);
};
Frame 12
if (null) {
}
mapArray = new Array();
mapArray = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
goodie = new Array();
goodie[10] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[11] = [0, 0, 0, 0, 2, 0, 0, 0, 0, 0];
goodie[12] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[13] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[14] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[15] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[16] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[17] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[18] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[19] = [-1, 0, 0, -1, -1, -1, 0, 0, 0, 0];
goodie[20] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[21] = [0, 0, 0, 1, 0, 0, 0, 0, 0, -1];
goodie[22] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[23] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[24] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[25] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[26] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[27] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[28] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[29] = [0, 0, 0, -1, -1, -1, 0, 0, 0, 0];
goodie[30] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[31] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[32] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[33] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2];
goodie[34] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[35] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[36] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[37] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[38] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[39] = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0];
goodie[40] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 1];
goodie[41] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[42] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[43] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[44] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[45] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[46] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[47] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[48] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 1];
goodie[49] = [0, 0, 0, 0, -1, -1, 0, 0, 0, 0];
goodie[50] = [-1, 0, 0, -1, -1, -1, 0, 0, 0, 0];
goodie[51] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[52] = [0, 0, 0, 0, 0, 0, 0, 0, 1, -1];
goodie[53] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[54] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[55] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[56] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[57] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[58] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[59] = [0, 0, 0, 0, -1, -1, -1, 0, 0, 0];
goodie[60] = [0, 0, 0, -1, -1, -1, 0, 0, 0, 0];
goodie[61] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[62] = [-1, 0, 0, 1, 0, 0, 0, 0, 0, -1];
goodie[63] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[64] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[65] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[66] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[67] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[68] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[69] = [0, 0, 0, 0, -1, -1, -1, 0, 0, 0];
goodie[70] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[71] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[72] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 2];
goodie[73] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[74] = [-1, 0, 0, 1, 0, 0, 0, 0, 0, -1];
goodie[75] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[76] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[77] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[78] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[79] = [0, 0, 0, 0, 0, -1, -1, -1, 0, 0];
goodie[80] = [0, 0, 0, 0, -1, -1, 0, 0, 0, 0];
goodie[81] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[82] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[83] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[84] = [-1, 0, 0, 0, 0, 0, 0, 1, 0, 0];
goodie[85] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[86] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[87] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[88] = [0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
goodie[89] = [0, 0, 0, 0, 0, -1, 0, 0, 0, 0];
goodie[90] = [0, 0, 0, 0, -1, -1, -1, 0, 0, 0];
goodie[91] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[92] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[93] = [0, 0, 0, 0, 0, 1, 0, 0, 0, -1];
goodie[94] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[95] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[96] = [0, 2, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[97] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[98] = [0, 2, 0, 2, 0, 0, 0, 0, 0, 0];
goodie[99] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[100] = [0, 0, 0, 0, -1, -1, -1, 0, 0, 0];
goodie[101] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[102] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[103] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[104] = [-1, 0, 0, 0, 1, 1, 0, 0, 0, -1];
goodie[105] = [-1, 0, 0, 0, 1, 1, 0, 0, 0, -1];
goodie[106] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[107] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[108] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[109] = [0, 0, 0, 0, -1, -1, 0, 0, 0, 0];
goodie[110] = [0, 0, 0, 0, -1, -1, -1, 0, 0, 0];
goodie[111] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[112] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[113] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 1];
goodie[114] = [-1, 0, 0, 0, 2, 0, 0, 0, 0, 0];
goodie[115] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[116] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[117] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[118] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[119] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[120] = [1, 0, 0, 0, 0, -1, 0, 0, 0, 0];
goodie[121] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[122] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[123] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[124] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 2];
goodie[125] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[126] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[127] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[128] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[129] = [0, 0, 0, 0, -1, -1, 0, 0, 0, 0];
goodie[130] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[131] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[132] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[133] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[134] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[135] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[136] = [0, 0, 0, 0, 0, 0, 0, 0, 1, -1];
goodie[137] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[138] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[139] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[140] = [-1, 0, 1, 0, -1, -1, 0, 2, 0, -1];
goodie[141] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[142] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[143] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[144] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[145] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[146] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[147] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[148] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[149] = [0, 0, 0, 0, 0, 0, 0, 0, 0, -1];
goodie[150] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[151] = [-1, 0, 0, 0, 0, 1, 0, 0, 0, 0];
goodie[152] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[153] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[154] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[155] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[156] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[157] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[158] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[159] = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[160] = [0, 0, 0, 0, -1, -1, 0, 0, 0, 0];
goodie[161] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[162] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[163] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[164] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[165] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[166] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[167] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[168] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
goodie[169] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
Frame 13
if (null) {
}
gotoAndPlay (145);
Frame 15
if (null) {
}
tcnt++;
if (330 < tcnt) {
this.tips._alpha = this.tips._alpha - 10;
}
if (340 < tcnt) {
this.tips.removeMovieClip();
}
steuern();
xtile = int(xball / diakonst);
ytile = int(yball / diakonst);
if (((xball + xadd) < 10) and (0 < ballhoch)) {
if (goodie[(10 * area) + ytile][xtile] == -1) {
goodiesHere = 0;
var i = 0;
while (i < rows.length) {
var j = 0;
while (j < rows[i].length) {
if (goodie[(10 * area) + i][j] == 1) {
goodiesHere++;
}
j++;
}
i++;
}
if (0 < goodiesHere) {
mapArray[area - 1] = 3;
} else {
mapArray[area - 1] = 2;
}
gotoAndPlay(Number(95 + ((area - 1) * 5)));
xball = xball + 380;
xreset = xball;
yreset = yball;
} else {
xadd = (-xadd) * 0.5;
xball = xball + (2 * xadd);
}
}
if ((390 < (xball + xadd)) and (0 < ballhoch)) {
if (goodie[(10 * area) + ytile][xtile] == -1) {
goodiesHere = 0;
var i = 0;
while (i < rows.length) {
var j = 0;
while (j < rows[i].length) {
if (goodie[(10 * area) + i][j] == 1) {
goodiesHere++;
}
j++;
}
i++;
}
if (0 < goodiesHere) {
mapArray[area - 1] = 3;
} else {
mapArray[area - 1] = 2;
}
gotoAndPlay(Number(95 + ((area + 1) * 5)));
xball = xball - 380;
xreset = xball;
yreset = yball;
} else {
xadd = (-xadd) * 0.5;
xball = xball + (2 * xadd);
}
}
if (((yball + yadd) < 10) and (0 < ballhoch)) {
if (goodie[(10 * area) + ytile][xtile] == -1) {
goodiesHere = 0;
var i = 0;
while (i < rows.length) {
var j = 0;
while (j < rows[i].length) {
if (goodie[(10 * area) + i][j] == 1) {
goodiesHere++;
}
j++;
}
i++;
}
if (0 < goodiesHere) {
mapArray[area - 1] = 3;
} else {
mapArray[area - 1] = 2;
}
gotoAndPlay(Number(95 + ((area - 4) * 5)));
yball = yball + 380;
xreset = xball;
yreset = yball;
} else {
yadd = (-yadd) * 0.5;
yball = yball + (2 * xadd);
}
}
if ((390 < (yball + yadd)) and (0 < ballhoch)) {
if (goodie[(10 * area) + ytile][xtile] == -1) {
goodiesHere = 0;
var i = 0;
while (i < rows.length) {
var j = 0;
while (j < rows[i].length) {
if (goodie[(10 * area) + i][j] == 1) {
goodiesHere++;
}
j++;
}
i++;
}
if (0 < goodiesHere) {
mapArray[area - 1] = 3;
} else {
mapArray[area - 1] = 2;
}
gotoAndPlay(Number(95 + ((area + 4) * 5)));
yball = yball - 380;
xreset = xball;
yreset = yball;
} else {
yadd = (-yadd) * 0.5;
yball = yball + (2 * xadd);
}
}
xball = xball + xadd;
yball = yball + yadd;
xtile = int(xball / diakonst);
ytile = int(yball / diakonst);
newtile = (10 * ytile) + xtile;
if (390 < xball) {
xball = 390;
}
if (xball < 10) {
xball = 10;
}
if (390 < yball) {
yball = 390;
}
if (yball < 10) {
yball = 10;
}
if (((xtile != int((xball + 8) / diakonst)) and (xadd >= 0)) and (ballhoch < (getBallhochsoll(xball + 8, yball + 4) - toclimb))) {
if (((getBallhochsoll(xball + 8, yball + 4) - drunter) - eval (("kachel" add (newtile + 1)) add ".hoch")) < ballhoch) {
xadd = (-xadd) * 0.51;
xball = xball + (2 * xadd);
}
}
if (((xtile != int((xball + 8) / diakonst)) and (xadd >= 0)) and (ballhoch < (getBallhochsoll(xball + 8, yball - 4) - toclimb))) {
if (((getBallhochsoll(xball + 8, yball - 4) - drunter) - eval (("kachel" add (newtile + 1)) add ".hoch")) < ballhoch) {
xadd = (-xadd) * 0.51;
xball = xball + (2 * xadd);
}
}
if (((xtile != int((xball - 8) / diakonst)) and (xadd < 0)) and (ballhoch < (getBallhochsoll(xball - 8, yball + 4) - toclimb))) {
if (((getBallhochsoll(xball - 8, yball + 4) - drunter) - eval (("kachel" add (newtile - 1)) add ".hoch")) < ballhoch) {
xadd = (-xadd) * 0.51;
xball = xball + (2 * xadd);
}
}
if (((xtile != int((xball - 8) / diakonst)) and (xadd < 0)) and (ballhoch < (getBallhochsoll(xball - 8, yball - 4) - toclimb))) {
if (((getBallhochsoll(xball - 8, yball - 4) - drunter) - eval (("kachel" add (newtile - 1)) add ".hoch")) < ballhoch) {
xadd = (-xadd) * 0.51;
xball = xball + (2 * xadd);
}
}
if (((ytile != int((yball + 8) / diakonst)) and (yadd >= 0)) and (ballhoch < (getBallhochsoll(xball + 4, yball + 8) - toclimb))) {
if (((getBallhochsoll(xball + 4, yball + 8) - drunter) - eval (("kachel" add (newtile + 10)) add ".hoch")) < ballhoch) {
yadd = (-yadd) * 0.51;
yball = yball + (2 * yadd);
}
}
if (((ytile != int((yball + 8) / diakonst)) and (yadd >= 0)) and (ballhoch < (getBallhochsoll(xball - 4, yball + 8) - toclimb))) {
if (((getBallhochsoll(xball - 4, yball + 8) - drunter) - eval (("kachel" add (newtile + 10)) add ".hoch")) < ballhoch) {
yadd = (-yadd) * 0.51;
yball = yball + (2 * yadd);
}
}
if (((ytile != int((yball - 8) / diakonst)) and (yadd < 0)) and (ballhoch < (getBallhochsoll(xball + 4, yball - 8) - toclimb))) {
if (((getBallhochsoll(xball + 4, yball - 8) - drunter) - eval (("kachel" add (newtile - 10)) add ".hoch")) < ballhoch) {
yadd = (-yadd) * 0.51;
yball = yball + (2 * yadd);
}
}
if (((ytile != int((yball - 8) / diakonst)) and (yadd < 0)) and (ballhoch < (getBallhochsoll(xball - 4, yball - 8) - toclimb))) {
if (((getBallhochsoll(xball - 4, yball - 8) - drunter) - eval (("kachel" add (newtile - 10)) add ".hoch")) < ballhoch) {
yadd = (-yadd) * 0.51;
yball = yball + (2 * yadd);
}
}
xwinkel = eval (("kachel" add newtile) add ".xwinkel");
ywinkel = eval (("kachel" add newtile) add ".ywinkel");
ballhochsoll = getBallhochsoll(xball, yball);
gravi = gravirom;
if (Math.abs(ballhoch - ballhochsoll) < 3.7) {
if (eval (("kachel" add newtile) add ".xrand") < Math.abs((40 * int(xball / 40)) - xball)) {
xadd = xadd + eval (("kachel" add newtile) add ".xmove");
}
if (eval (("kachel" add newtile) add ".yrand") < Math.abs((40 * int(yball / 40)) - yball)) {
yadd = yadd + eval (("kachel" add newtile) add ".ymove");
}
}
if ((eval ((("kachel" add newtile) add ".xmove") == 0) and eval ((("kachel" add newtile) add ".ymove") == 0)) and (ballhoch >= ballhochsoll)) {
xreset = xtile;
yreset = ytile;
}
if (eval (("kachel" add newtile) add ".ballfallfac") == 1) {
ballfall = -0.05 * (50 - (ballhoch - ballhochsoll));
ballhoch = ballhoch + (0.05 * (50 - (ballhoch - ballhochsoll)));
xball = xball + ((random(6) - 3) / 6);
yball = yball + ((random(6) - 3) / 6);
gravi = 0;
}
Frame 16
if (null) {
}
if ((ballhoch < (ballhochsoll - 10)) and (0 < ballhoch)) {
ballhochsoll = 10;
}
if (ballhoch < 0) {
ballhochsoll = -500;
}
if (ballhoch >= (ballhochsoll - 2)) {
ballfall = ballfall + gravi;
ballhoch = ballhoch - ballfall;
}
if (ballhoch < ballhochsoll) {
if (3 < ballfall) {
energie = energie - ((((ballfall - 1) * (ballfall - 1)) * (ballfall - 1)) / 2);
}
if (((xwinkel != undefined) or (ywinkel != undefined)) and (ballhoch < (ballhochsoll - 0.6))) {
if (xwinkel < 0) {
xadd = xadd - (ballfall / 2);
}
if (0 < xwinkel) {
xadd = xadd + (ballfall / 2);
}
if (ywinkel < 0) {
yadd = yadd - (ballfall / 2);
}
if (0 < ywinkel) {
yadd = yadd + (ballfall / 2);
}
ballfall = (-ballfall) * 0.5;
ballhoch = ballhoch - (2.3 * ballfall);
} else {
ballfall = (-ballfall) * 0.7;
ballhoch = ballhoch - (1.5 * ballfall);
}
if (Math.abs(ballfall) < 0.1) {
ballhoch = ballhochsoll;
ballfall = 0;
}
}
if ((((xwinkel * xadd) < 0) or ((ywinkel * yadd) < 0)) and Math.abs((ballhoch - ballhochsoll) < ((Math.abs(xadd) + Math.abs(yadd)) / 2))) {
ballfall = -(ballhochsoll - ballhoch);
ballhoch = ballhochsoll;
}
if (((0 < (xwinkel * xadd)) or (0 < (ywinkel * yadd))) and Math.abs((ballhoch - ballhochsoll) < ((Math.abs(xadd) + Math.abs(yadd)) / 2))) {
ballhoch = ballhochsoll;
}
scoredisp = "SCORE: " + score;
if ((ballhoch < -200) || (0 >= energie)) {
if (ballhoch < -200) {
energie = energie - 33.4;
}
if (0 >= energie) {
energie = 100;
lives--;
newb = 1;
}
xtile = int(xreset / diakonst);
ytile = int(yreset / diakonst);
if (0 < rows[ytile][xtile]) {
xball = (xtile * 40) + 20;
yball = (ytile * 40) + 20;
xadd = 0;
yadd = 0;
ballfall = 0;
ballhoch = rows[ytile][xtile] + 15;
} else {
xreset = random(400);
yreset = random(400);
}
}
if ((0 < goodie[(10 * area) + ytile][xtile]) and (rows[ytile][xtile] < (ballhoch + 10))) {
if (goodie[(10 * area) + ytile][xtile] == 1) {
goodie[(10 * area) + ytile][xtile] = 0;
timeleft = timeleft + timeplus;
eval ("good" add ((10 * ytile) + xtile)).gotoAndPlay(2);
}
if ((goodie[(10 * area) + ytile][xtile] == 2) and (energie < 100)) {
goodie[(10 * area) + ytile][xtile] = 0;
energie = energie + energieplus;
eval ("good" add ((10 * ytile) + xtile)).gotoAndPlay(2);
}
}
if (goodie[(10 * area) + ytile][xtile] == 3) {
eval ("good" add ((10 * ytile) + xtile)).gotoAndPlay(2);
}
if (ballhoch < ballhochsoll) {
ballhoch = ballhochsoll;
}
removeMovieClip("ball");
if ((getBallhochsoll(xball, yball) - 1) < ballhoch) {
attachMovie("ball", "ball", ((newtile * 20) + (int(ballhoch / 50) * 20)) + 14);
} else {
attachMovie("ball", "ball", (newtile * 20) + 8);
}
with (this.ball) {
_x = (beginx + (xball / 2)) - (yball / 2);
_y = (((beginy + (yball / 4)) + (xball / 4)) - 10) - ballhoch;
}
attachMovie("ballrahmen" add rahmen, "ballrahmen", 2000);
with (this.ballrahmen) {
_x = (beginx + (xball / 2)) - (yball / 2);
_y = (((beginy + (yball / 4)) + (xball / 4)) - 10) - ballhoch;
}
oldtile = newtile;
time = int(getTimer() / 1000);
fpscounter++;
if (time != timeold) {
timeleft--;
fps = fpscounter;
fpscounter = 0;
}
timeold = time;
if (newb != 1) {
gotoAndPlay (15);
} else if (0 < lives) {
attachMovie("newball", "newball", 10000);
newb = 0;
stop();
} else {
attachMovie("gameOver", "gameOver", 10000);
stop();
}
if (timeleft < 0) {
attachMovie("gameOver", "gameOver", 10000);
stop();
}
pausecnt++;
if (Key.isDown(80) && (20 < pausecnt)) {
pausecnt = 0;
attachMovie("paused", "paused", 10000);
stop();
}
if (Key.isDown(77) && (20 < pausecnt)) {
pausecnt = 0;
attachMovie("karte", "karte", 10000);
stop();
}
if (((gemsleft < 9) && (area == 10)) && (barrier == 1)) {
gotoAndPlay (145);
}
Frame 17
if (null) {
}
gotoAndPlay (15);
Frame 40
if (null) {
}
stop();
Instance of Symbol 226 MovieClip "score_sender" in Frame 40
onClipEvent (load) {
if (null) {
}
this.name = _root.playername;
this.score = Number(_root.score);
this.loadVariables("write_score.php?z=" + new Date().getTime(), "POST");
}
onClipEvent (data) {
if (null) {
}
_parent.play();
}
Frame 41
if (null) {
}
gotoAndPlay (8);
_root.kill();
Frame 101
if (null) {
}
d = 0;
area = 1;
grundzeichnenhoch = 25;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[1] = [10, 10, 10, 50, 50, 10, -500, -500, -500, -500];
rows[2] = [10, 10, 10, 50, -500, 10, -500, -500, -500, -500];
rows[3] = [10, 10, 10, 50, -500, 10, -500, -500, 10, 10];
rows[4] = [10, 10, 10, 45, -500, 10, -500, -500, -500, 10];
rows[5] = [65, 15, 10, 35, -500, 10, 10, 10, 10, 10];
rows[6] = [60, 20, -500, 25, 25, -500, -500, -500, -500, 15];
rows[7] = [60, -500, -500, -500, 15, -500, -500, -500, -500, -500];
rows[8] = [60, -500, -500, -500, 10, -500, -500, -500, -500, -500];
rows[9] = [66, -500, -500, 15, 10, 15, -500, -500, -500, -500];
type[0] = [1, 1, 1, 1, 1, 1, 2, 2, 2, 2];
type[1] = [1, 1, 1, 18, 1, 3, 1, 1, 1, 1];
type[2] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[3] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[4] = [1, 1, 1, 10, 1, 1, 1, 1, 1, 1];
type[5] = [10, 11, 1, 10, 1, 1, 1, 1, 1, 6];
type[6] = [1, 3, 1, 10, 10, 1, 1, 1, 1, 11];
type[7] = [7, 1, 1, 10, 10, 1, 1, 1, 1, 2];
type[8] = [18, 1, 13, 1, 1, 12, 1, 1, 1, 2];
type[9] = [11, 2, 2, 13, 1, 12, 2, 2, 2, 2];
drawTiles();
if (at1 != 1) {
areatip = "<b>Tip:</b><br>Better not drop down!";
tcnt = 0;
at1 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 106
if (null) {
}
d = 0;
area = 2;
grundzeichnenhoch = 25;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[1] = [-500, 10, 10, 50, 50, 45, 35, 30, 30, 30];
rows[2] = [-500, -500, -500, 50, -500, -500, -500, -500, -500, -500];
rows[3] = [10, 10, 10, 50, 10, 10, -500, -500, -500, -500];
rows[4] = [-500, -500, -500, 45, -500, 10, -500, -500, -500, 15];
rows[5] = [-500, -500, -500, 35, -500, 10, 10, 10, 10, 10];
rows[6] = [-500, -500, -500, 25, -500, -500, -500, -500, -500, 15];
rows[7] = [-500, -500, -500, 15, 15, -500, -500, -500, -500, -500];
rows[8] = [-500, -500, -500, 10, 10, -500, -500, -500, -500, -500];
rows[9] = [-500, -500, -500, 15, 10, 15, -500, -500, -500, -500];
type[0] = [1, 2, 2, 2, 13, 12, 2, 2, 2, 2];
type[1] = [1, 1, 1, 18, 1, 13, 13, 4, 1, 1];
type[2] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[3] = [15, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[4] = [1, 18, 1, 10, 1, 1, 1, 1, 1, 10];
type[5] = [1, 1, 1, 10, 1, 1, 1, 1, 1, 6];
type[6] = [1, 1, 1, 10, 1, 1, 1, 1, 1, 11];
type[7] = [1, 1, 1, 10, 10, 1, 1, 1, 1, 2];
type[8] = [1, 1, 13, 1, 1, 12, 1, 1, 1, 2];
type[9] = [1, 2, 2, 13, 1, 12, 2, 2, 2, 2];
drawTiles();
if (at2 != 1) {
areatip = "<b>Tip:</b><br>Wait for the best moment to pass the rotating arrow.";
tcnt = 0;
at2 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 111
if (null) {
}
d = 0;
area = 3;
grundzeichnenhoch = 25;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, 40, -500, -500, -500, -500, -500];
rows[1] = [30, 30, 35, 40, 40, -500, -500, -500, -500, -500];
rows[2] = [-500, -500, -500, -500, 40, -500, -500, -500, -500, -500];
rows[3] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, 20];
rows[4] = [-500, -500, 10, 10, 10, -500, -500, -500, -500, 15];
rows[5] = [10, 10, 10, -500, 10, 10, 10, 10, 10, 10];
rows[6] = [-500, -500, -500, -500, 10, -500, -500, -500, -500, -500];
rows[7] = [-500, -500, -500, -500, 15, -500, -500, -500, -500, -500];
rows[8] = [-500, -500, -500, -500, 25, -500, -500, -500, -500, -500];
rows[9] = [-500, -500, -500, -500, 30, -500, -500, -500, -500, -500];
type[0] = [1, 2, 2, 2, 7, 12, 2, 2, 2, 2];
type[1] = [1, 1, 12, 1, 2, 13, 13, 4, 1, 1];
type[2] = [1, 1, 1, 1, 7, 1, 1, 1, 1, 2];
type[3] = [15, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[4] = [1, 18, 1, 1, 1, 1, 1, 1, 1, 10];
type[5] = [15, 1, 1, 10, 1, 1, 1, 1, 1, 1];
type[6] = [1, 1, 1, 10, 1, 1, 1, 1, 1, 11];
type[7] = [1, 1, 1, 10, 11, 1, 1, 1, 1, 2];
type[8] = [1, 1, 13, 2, 11, 12, 1, 1, 1, 2];
type[9] = [1, 2, 2, 13, 5, 12, 2, 2, 2, 2];
drawTiles();
gotoAndPlay (15);
Frame 116
if (null) {
}
d = 0;
area = 4;
grundzeichnenhoch = 0;
rows = new Array();
type = new Array();
rows[0] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[1] = [60, 60, 60, 55, 45, 35, 25, 15, 60, 60];
rows[2] = [60, 60, 100, 60, 60, 60, 60, 100, 60, 60];
rows[3] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[4] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[5] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[6] = [60, 60, 100, 60, 60, 60, 60, 100, 60, 60];
rows[7] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[8] = [60, 60, 60, 60, 60, 60, 60, 60, 60, 60];
rows[9] = [20, 20, 20, 20, 60, 60, 20, 20, 20, 20];
type[0] = [19, 19, 19, 18, 19, 19, 19, 18, 19, 18];
type[1] = [19, 18, 18, 13, 13, 13, 13, 13, 19, 19];
type[2] = [19, 18, 9, 19, 19, 19, 19, 9, 19, 18];
type[3] = [19, 18, 19, 18, 18, 18, 18, 18, 18, 19];
type[4] = [19, 18, 19, 19, 19, 19, 19, 19, 19, 19];
type[5] = [19, 18, 18, 18, 18, 18, 18, 19, 18, 19];
type[6] = [19, 19, 9, 19, 19, 19, 18, 9, 18, 19];
type[7] = [18, 18, 19, 18, 19, 19, 18, 19, 18, 18];
type[8] = [18, 19, 19, 19, 19, 19, 19, 19, 19, 18];
type[9] = [1, 1, 1, 1, 19, 19, 1, 1, 1, 1];
drawTiles();
if (at4 != 1) {
areatip = "<b>Tip:</b><br>Find your way to the first floor!";
tcnt = 0;
at4 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 121
if (null) {
}
area = 5;
d = 0;
grundzeichnenhoch = 20;
rows = new Array();
type = new Array();
rows[0] = [70, -500, -500, 15, 10, 15, -500, 20, -500, -500];
rows[1] = [70, -500, -500, 15, 10, 10, -500, -500, 10, -500];
rows[2] = [70, -500, -500, 20, 15, 0, -500, 60, 60, 60];
rows[3] = [70, -500, -500, 30, 25, -500, -500, 55, 10, 10];
rows[4] = [65, -500, -500, 40, 35, -500, -500, 45, 10, 10];
rows[5] = [55, -500, -500, 45, 40, 40, 40, 40, 15, 15];
rows[6] = [45, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[7] = [35, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[8] = [25, -500, -500, -500, 20, 15, 20, -500, -500, -500];
rows[9] = [20, 20, 20, 20, 15, 10, 15, 20, 20, 20];
type[0] = [2, 2, 2, 13, 1, 12, 2, 2, 2, 2];
type[1] = [2, 1, 1, 13, 14, 1, 1, 1, 1, 10];
type[2] = [2, 12, 1, 26, 11, 12, 1, 1, 1, 18];
type[3] = [18, 1, 9, 26, 11, 1, 11, 10, 8, 1];
type[4] = [10, 1, 9, 26, 11, 1, 11, 10, 8, 1];
type[5] = [10, 1, 1, 13, 1, 1, 1, 18, 11, 11];
type[6] = [10, 1, 1, 1, 1, 1, 1, 1, 18, 18];
type[7] = [10, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[8] = [10, 1, 1, 1, 25, 10, 27, 1, 1, 2];
type[9] = [2, 2, 2, 2, 13, 1, 12, 2, 2, 2];
drawTiles();
gotoAndPlay (15);
Frame 126
if (null) {
}
d = 0;
area = 6;
grundzeichnenhoch = 25;
rows = new Array();
type = new Array();
rows[0] = [20, 20, 20, 15, 10, 15, 20, 20, 20, 20];
rows[1] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[2] = [60, 65, 70, 70, 70, 70, 70, 70, 65, 60];
rows[3] = [10, 10, 60, 10, 10, 10, 10, 10, 10, 15];
rows[4] = [10, 10, 50, 45, 35, 25, 15, 10, 10, 10];
rows[5] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 15];
rows[6] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[7] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[8] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[9] = [20, 20, 20, 20, 15, 10, 15, 20, 20, 20];
type[0] = [2, 2, 2, 13, 1, 12, 2, 2, 2, 2];
type[1] = [10, 1, 1, 1, 14, 1, 1, 1, 1, 2];
type[2] = [9, 12, 18, 1, 1, 1, 1, 1, 13, 9];
type[3] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 10];
type[4] = [1, 1, 18, 13, 13, 13, 13, 1, 1, 1];
type[5] = [11, 1, 1, 1, 1, 1, 1, 1, 1, 11];
type[6] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[7] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[8] = [2, 1, 1, 1, 1, 14, 1, 1, 1, 2];
type[9] = [2, 2, 2, 2, 13, 1, 12, 2, 2, 2];
drawTiles();
if (at6 != 1) {
areatip = "<b>Tip:</b><br>Noticed the gem? Sorry, no way to reach it from this position...";
tcnt = 0;
at6 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 131
if (null) {
}
d = 0;
area = 7;
grundzeichnenhoch = 70;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[1] = [-500, -500, -500, -500, -500, -500, -500, -500, 10, -500];
rows[2] = [60, 60, 60, 65, 70, 70, 70, 70, 65, 60];
rows[3] = [15, 15, 15, -500, -500, -500, -500, -500, -500, -500];
rows[4] = [10, 10, 10, 10, -500, -500, -500, -500, 10, 10];
rows[5] = [15, 15, 15, -500, -500, -500, -500, -500, 15, -500];
rows[6] = [-500, -500, -500, -500, -500, -500, -500, -500, 25, -500];
rows[7] = [-500, -500, -500, -500, -500, -500, -500, -500, 35, -500];
rows[8] = [-500, -500, -500, -500, 15, 15, -500, -500, 35, -500];
rows[9] = [-500, -500, -500, -500, 10, 10, 15, 25, 30, -500];
type[0] = [2, 2, 2, 13, 1, 12, 2, 2, 2, 2];
type[1] = [10, 10, 10, 1, 14, 1, 1, 1, 1, 10];
type[2] = [18, 9, 18, 12, 1, 1, 1, 1, 13, 18];
type[3] = [10, 10, 10, 1, 1, 1, 1, 1, 1, 1];
type[4] = [1, 1, 6, 6, 1, 1, 1, 1, 1, 1];
type[5] = [11, 11, 11, 1, 1, 1, 1, 1, 11, 11];
type[6] = [2, 1, 1, 1, 1, 1, 1, 1, 11, 1];
type[7] = [2, 1, 1, 1, 1, 1, 1, 1, 11, 1];
type[8] = [2, 1, 1, 1, 10, 10, 10, 1, 10, 11];
type[9] = [2, 2, 2, 2, 1, 14, 12, 12, 1, 11];
drawTiles();
if (at7 != 1) {
areatip = "<b>Tip:</b><br>You'll reach the far side! <br><b>Later...</b>";
tcnt = 0;
at7 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 136
if (null) {
}
d = 0;
area = 8;
grundzeichnenhoch = 30;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, 60, 60, -500, -500, -500, -500];
rows[1] = [-500, 60, 60, 60, 60, 60, 60, 60, 60, -500];
rows[2] = [-500, 65, 10, 10, 10, 10, 10, 10, 10, -500];
rows[3] = [-500, 70, -500, -500, -500, -500, -500, -500, 10, -500];
rows[4] = [10, 70, 15, -500, 30, -500, -500, 35, 20, 20];
rows[5] = [-500, 70, -500, -500, -500, -500, -500, -500, -500, -500];
rows[6] = [-500, 70, -500, -500, -500, -500, -500, -500, -500, -500];
rows[7] = [-500, 65, -500, -500, -500, -500, -500, -500, -500, -500];
rows[8] = [-500, 60, 55, 45, 40, 40, 45, 55, 60, -500];
rows[9] = [-500, -500, -500, -500, -500, 40, -500, -500, -500, -500];
type[0] = [1, 1, 1, 1, 19, 19, 1, 1, 1, 1];
type[1] = [1, 18, 18, 18, 19, 19, 18, 18, 18, 1];
type[2] = [1, 11, 1, 1, 1, 1, 1, 1, 1, 1];
type[3] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[4] = [1, 1, 12, 1, 12, 12, 1, 2, 1, 1];
type[5] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[6] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[7] = [1, 10, 1, 1, 1, 1, 1, 1, 1, 1];
type[8] = [1, 18, 13, 13, 1, 1, 12, 12, 18, 1];
type[9] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
drawTiles();
if (at8 != 1) {
areatip = "<b>Tip:</b><br>Just a little jump...";
tcnt = 0;
at8 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 141
if (null) {
}
d = 0;
area = 9;
mapArray[8] = 2;
grundzeichnenhoch = 20;
rows = new Array();
type = new Array();
rows[0] = [20, 20, 20, 20, 15, 10, 15, 20, 20, 20];
rows[1] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[2] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[3] = [20, 10, 10, 10, 75, 80, 10, 10, 10, 15];
rows[4] = [20, 10, 10, 10, 80, 80, 10, 10, 10, 10];
rows[5] = [20, 10, 10, 10, 75, 75, 10, 10, 10, 15];
rows[6] = [20, 10, 10, 10, 65, 110, 10, 10, 10, 20];
rows[7] = [20, 10, 10, 10, 60, 55, 45, 35, 25, 20];
rows[8] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[9] = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
type[0] = [2, 2, 2, 2, 13, 1, 12, 2, 2, 2];
type[1] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[2] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[3] = [2, 1, 1, 1, 11, 1, 1, 1, 1, 10];
type[4] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[5] = [2, 1, 1, 1, 10, 10, 1, 1, 1, 11];
type[6] = [2, 1, 1, 1, 10, 2, 2, 1, 1, 2];
type[7] = [2, 1, 1, 1, 2, 13, 13, 13, 13, 2];
type[8] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[9] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
drawTiles();
if (at9 != 1) {
areatip = "<b>Tip:</b><br>Oh, 3 Medipacks. You never know...";
tcnt = 0;
at9 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 146
if (null) {
}
area = 10;
d = 0;
grundzeichnenhoch = 40;
rows = new Array();
type = new Array();
rows[0] = [20, 20, 20, 20, 15, 10, 15, 20, 20, 20];
rows[1] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[2] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[3] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 25];
rows[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 25];
rows[5] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 30];
rows[6] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[7] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[8] = [20, 10, 10, 10, 10, 10, 10, 10, 10, 20];
rows[9] = [20, 20, 20, 20, 10, 10, 20, 20, 20, 20];
type[0] = [2, 2, 2, 2, 13, 1, 12, 2, 2, 2];
type[1] = [2, 1, 1, 1, 1, 14, 1, 1, 1, 2];
type[2] = [2, 1, 19, 19, 19, 19, 19, 19, 1, 2];
type[3] = [10, 1, 19, 19, 19, 19, 19, 19, 1, 1];
type[4] = [1, 15, 19, 19, 1, 1, 19, 19, 17, 1];
type[5] = [11, 1, 19, 19, 1, 1, 19, 19, 1, 36];
type[6] = [2, 1, 19, 19, 19, 19, 19, 19, 1, 2];
type[7] = [2, 1, 19, 19, 19, 19, 19, 19, 1, 2];
type[8] = [2, 1, 1, 1, 1, 1, 1, 1, 1, 2];
type[9] = [2, 2, 2, 2, 16, 16, 2, 2, 2, 2];
areatip = "<b>Tip:</b><br>Press 'M' to look at the map.<br>Press 'P' to pause the game.<br>Collect the first 15 gems to unlock the barrier and to proceed with the final areas.";
if (gemsleft < 9) {
rows[3] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 15];
rows[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
rows[5] = [15, 10, 10, 10, 10, 10, 10, 10, 10, 15];
type[3] = [10, 1, 19, 19, 19, 19, 19, 19, 1, 10];
type[4] = [1, 15, 19, 19, 1, 1, 19, 19, 17, 1];
type[5] = [11, 1, 19, 19, 1, 1, 19, 19, 1, 11];
barrier = 0;
areatip = "<b>Tip:</b><br>You can now enter the final areas...";
at10 = 0;
}
if (at10 != 1) {
tcnt = 0;
attachMovie("tips", "tips", 9999);
at10 = 1;
}
drawTiles();
gotoAndPlay (15);
Frame 151
if (null) {
}
area = 11;
d = 0;
grundzeichnenhoch = 25;
rows = new Array();
type = new Array();
rows[0] = [-500, 30, 25, 20, 15, 10, 15, -500, -500, -500];
rows[1] = [-500, 35, -500, -500, -500, -500, -500, -500, -500, -500];
rows[2] = [30, 40, 45, 55, 60, -500, -500, -500, -500, -500];
rows[3] = [15, -500, -500, -500, 65, -500, -500, -500, -500, 15];
rows[4] = [10, 10, 10, 10, 70, 10, 55, 60, 60, 60];
rows[5] = [15, -500, -500, -500, 65, -500, -500, -500, -500, 60];
rows[6] = [-500, -500, -500, -500, 60, -500, -500, -500, -500, 60];
rows[7] = [-500, -500, -500, -500, 60, -500, -500, -500, -500, 60];
rows[8] = [-500, -500, -500, -500, 60, 60, 60, 60, 60, 60];
rows[9] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
type[0] = [1, 1, 13, 1, 13, 14, 12, 1, 1, 1];
type[1] = [1, 11, 1, 1, 1, 14, 1, 1, 1, 1];
type[2] = [1, 1, 12, 12, 18, 1, 1, 1, 1, 1];
type[3] = [10, 1, 1, 1, 11, 1, 1, 1, 1, 10];
type[4] = [15, 1, 1, 1, 19, 3, 12, 18, 19, 19];
type[5] = [11, 1, 1, 1, 10, 1, 1, 1, 1, 19];
type[6] = [1, 1, 1, 1, 19, 1, 1, 1, 1, 19];
type[7] = [1, 1, 1, 1, 19, 1, 1, 1, 1, 19];
type[8] = [1, 1, 1, 1, 19, 19, 19, 19, 19, 19];
type[9] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
drawTiles();
gotoAndPlay (15);
Frame 156
if (null) {
}
d = 0;
area = 12;
grundzeichnenhoch = 0;
rows = new Array();
type = new Array();
rows[0] = [60, 60, 60, 10, 10, 40, 75, 70, 70, 70];
rows[1] = [10, 10, 50, 45, 40, 35, 10, 10, 10, 65];
rows[2] = [10, 10, 10, 10, 35, 25, 10, 10, 10, 55];
rows[3] = [50, 55, 55, 50, 25, 15, 50, 55, 55, 50];
rows[4] = [45, 10, 10, 50, 15, 10, 50, 10, 10, 10];
rows[5] = [35, 10, 10, 50, 50, 50, 50, 10, 10, 10];
rows[6] = [30, 30, 30, 35, 40, 40, 35, 30, 30, 30];
rows[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 25];
rows[8] = [-500, -500, -500, -500, 15, 15, -500, -500, 10, 15];
rows[9] = [-500, -500, -500, -500, 20, 20, -500, -500, 10, 10];
type[0] = [1, 1, 1, 1, 1, 1, 13, 1, 1, 1];
type[1] = [1, 1, 1, 13, 1, 10, 1, 1, 1, 10];
type[2] = [1, 1, 1, 1, 10, 10, 1, 1, 1, 10];
type[3] = [1, 12, 13, 19, 10, 10, 19, 12, 13, 1];
type[4] = [10, 1, 1, 19, 10, 1, 19, 1, 1, 1];
type[5] = [10, 1, 1, 19, 19, 19, 19, 1, 1, 1];
type[6] = [2, 2, 2, 12, 2, 2, 13, 2, 2, 2];
type[7] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 10];
type[8] = [1, 1, 1, 1, 11, 11, 1, 1, 1, 10];
type[9] = [1, 1, 1, 1, 7, 7, 1, 1, 1, 1];
drawTiles();
if (at12 != 1) {
areatip = "<b>Tip:</b><br>ROLLERCOASTER!!!";
tcnt = 0;
at12 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 161
if (null) {
}
d = 0;
area = 13;
grundzeichnenhoch = 10;
rows = new Array();
type = new Array();
rows[0] = [20, 20, 25, 20, 20, 20, 20, 20, 20, 20];
rows[1] = [20, 10, 20, 10, 10, 10, 10, 10, 10, 20];
rows[2] = [20, 10, 20, 20, 20, 20, 10, 20, 10, 10];
rows[3] = [20, 10, 10, 10, 15, 20, 10, 20, 20, 20];
rows[4] = [20, 10, 10, 20, 20, 20, 10, 10, 10, 10];
rows[5] = [25, 20, 10, 20, 10, 10, 10, 20, 20, 20];
rows[6] = [20, 10, 10, 25, 20, 20, 20, 20, 10, 10];
rows[7] = [20, 10, 20, 20, 10, 10, 10, 20, 20, 20];
rows[8] = [20, 10, 10, 10, 10, 20, 10, 10, 10, 10];
rows[9] = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
type[0] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
type[1] = [2, 1, 2, 1, 1, 1, 1, 1, 1, 2];
type[2] = [2, 1, 2, 2, 2, 2, 1, 2, 1, 1];
type[3] = [2, 1, 1, 8, 12, 2, 1, 2, 2, 2];
type[4] = [2, 1, 1, 2, 2, 2, 1, 1, 1, 1];
type[5] = [2, 2, 1, 2, 1, 1, 1, 2, 2, 2];
type[6] = [2, 1, 1, 2, 2, 2, 2, 2, 1, 1];
type[7] = [2, 1, 2, 2, 1, 1, 1, 2, 2, 2];
type[8] = [2, 1, 1, 1, 1, 2, 1, 1, 1, 1];
type[9] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
drawTiles();
if (at13 != 1) {
areatip = "<b>Tip:</b><br>Move on to the ramp and jump!!!";
tcnt = 0;
at13 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 166
if (null) {
}
d = 0;
area = 14;
grundzeichnenhoch = 10;
rows = new Array();
type = new Array();
rows[0] = [20, 25, 35, 45, 10, 10, 45, 35, 25, 20];
rows[1] = [20, 20, 10, 10, 10, 10, 20, 10, 10, 10];
rows[2] = [10, 10, 10, 20, 20, 10, 20, 10, 20, 20];
rows[3] = [20, 20, 20, 20, 25, 10, 20, 10, 10, 10];
rows[4] = [10, 10, 10, 20, 25, 10, 25, 20, 10, 20];
rows[5] = [20, 20, 10, 20, 10, 10, 10, 10, 10, 20];
rows[6] = [10, 10, 10, 20, 20, 20, 20, 20, 20, 20];
rows[7] = [20, 20, 20, 20, 10, 10, 10, 20, 10, 10];
rows[8] = [10, 10, 10, 10, 10, 20, 10, 10, 10, 20];
rows[9] = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
type[0] = [2, 32, 32, 32, 1, 1, 33, 33, 13, 2];
type[1] = [2, 2, 1, 1, 1, 1, 2, 1, 1, 1];
type[2] = [1, 1, 1, 2, 2, 1, 2, 1, 2, 2];
type[3] = [2, 2, 2, 2, 1, 1, 2, 1, 1, 1];
type[4] = [1, 1, 1, 2, 22, 1, 23, 2, 1, 2];
type[5] = [2, 2, 1, 2, 1, 1, 1, 1, 1, 2];
type[6] = [1, 1, 1, 2, 2, 2, 2, 2, 2, 2];
type[7] = [2, 2, 2, 2, 1, 1, 1, 2, 1, 1];
type[8] = [1, 1, 1, 1, 1, 2, 1, 1, 1, 2];
type[9] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
drawTiles();
if (at14 != 1) {
areatip = "<b>Tip:</b><br>Find your way through the maze and on its boundaries.";
tcnt = 0;
at14 = 1;
attachMovie("tips", "tips", 9999);
}
gotoAndPlay (15);
Frame 171
if (null) {
}
d = 0;
area = 15;
grundzeichnenhoch = 10;
rows = new Array();
type = new Array();
rows[0] = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
rows[1] = [10, 10, 10, 10, 10, 10, 20, 10, 10, 20];
rows[2] = [20, 20, 20, 20, 20, 10, 20, 10, 20, 20];
rows[3] = [10, 10, 10, 10, 20, 10, 20, 10, 10, 20];
rows[4] = [20, 20, 25, 10, 10, 20, 20, 20, 10, 20];
rows[5] = [15, 10, 10, 20, 10, 10, 10, 10, 10, 20];
rows[6] = [20, 20, 10, 20, 20, 20, 20, 20, 10, 20];
rows[7] = [10, 10, 20, 20, 10, 10, 10, 20, 10, 20];
rows[8] = [20, 10, 10, 10, 10, 20, 10, 10, 10, 20];
rows[9] = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
type[0] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
type[1] = [1, 1, 1, 1, 1, 1, 2, 1, 1, 2];
type[2] = [2, 2, 2, 2, 2, 1, 2, 1, 2, 2];
type[3] = [1, 1, 1, 1, 2, 1, 2, 1, 1, 2];
type[4] = [2, 2, 32, 1, 1, 2, 2, 6, 1, 2];
type[5] = [13, 1, 1, 2, 1, 1, 1, 1, 1, 2];
type[6] = [2, 2, 1, 2, 2, 2, 2, 2, 1, 2];
type[7] = [1, 1, 2, 2, 1, 1, 1, 2, 1, 2];
type[8] = [2, 1, 1, 1, 1, 2, 1, 1, 1, 2];
type[9] = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2];
drawTiles();
gotoAndPlay (15);
Frame 176
if (null) {
}
d = 0;
area = 16;
grundzeichnenhoch = 50;
rows = new Array();
type = new Array();
rows[0] = [-500, -500, -500, -500, 20, 20, -500, -500, -500, -500];
rows[1] = [-500, -500, -500, -500, 20, 20, -500, -500, -500, -500];
rows[2] = [-500, -500, -500, -500, 20, 20, -500, -500, -500, -500];
rows[3] = [-500, -500, 20, 15, 15, 15, 15, 20, -500, -500];
rows[4] = [-500, -500, 15, 10, 10, 10, 10, 15, -500, -500];
rows[5] = [-500, -500, 15, 10, 10, 10, 10, 15, -500, -500];
rows[6] = [-500, -500, 15, 10, 10, 10, 10, 15, -500, -500];
rows[7] = [-500, -500, 20, 15, 15, 15, 15, 20, -500, -500];
rows[8] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
rows[9] = [-500, -500, -500, -500, -500, -500, -500, -500, -500, -500];
type[0] = [1, 1, 1, 1, 19, 19, 1, 1, 1, 1];
type[1] = [1, 1, 1, 1, 19, 19, 1, 1, 1, 1];
type[2] = [1, 1, 1, 1, 19, 19, 1, 1, 1, 1];
type[3] = [1, 1, 25, 10, 10, 10, 10, 27, 1, 1];
type[4] = [1, 1, 13, 34, 19, 19, 19, 12, 1, 1];
type[5] = [1, 1, 13, 19, 19, 19, 19, 12, 1, 1];
type[6] = [1, 1, 13, 19, 19, 19, 19, 12, 1, 1];
type[7] = [1, 1, 26, 11, 11, 11, 11, 24, 1, 1];
type[8] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
type[9] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
if (gemsleft == 0) {
goodie[165] = [0, 0, 0, 0, 3, 0, 0, 0, 0, 0];
areatip = "<b>Tip:</b><br>Final area: Collect the last gem to finish!";
}
if (gemsleft != 0) {
areatip = "<b>Tip:</b><br>Final area: return once more after collecting all gems.";
}
tcnt = 0;
attachMovie("tips", "tips", 9999);
drawTiles();
gotoAndPlay (15);
Symbol 5 MovieClip [boden3] Frame 1
if (null) {
}
ballhoch = 10;
ballfallfac = 1;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 9 MovieClip [boden33] Frame 1
if (null) {
}
xwinkel = 0.241660973353061;
xmove = 0.15;
toclimbro = 10;
hoch = 50;
Symbol 11 MovieClip [boden13] Frame 1
if (null) {
}
xwinkel = 0.241660973353061;
xmove = 0.15;
toclimbro = 10;
toclimbro = 4;
toclimblu = 4;
toclimbru = 10;
toclimblo = 4;
Symbol 13 MovieClip [boden32] Frame 1
if (null) {
}
xwinkel = -0.241660973353061;
xmove = -0.15;
toclimb = 10;
hoch = 50;
Symbol 15 MovieClip [boden12] Frame 1
if (null) {
}
xwinkel = -0.241660973353061;
xmove = -0.15;
toclimb = 10;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 10;
Symbol 17 MovieClip [boden31] Frame 1
if (null) {
}
ywinkel = -0.241660973353061;
ymove = -0.15;
hoch = 50;
Symbol 19 MovieClip [boden11] Frame 1
if (null) {
}
ywinkel = -0.241660973353061;
ymove = -0.15;
toclimbro = 10;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 21 MovieClip [boden28] Frame 1
if (null) {
}
ywinkel = 0.805536577843537;
ymove = 0.19;
toclimbro = 4;
toclimblu = 10;
toclimbru = 4;
toclimblo = 4;
Symbol 23 MovieClip [boden30] Frame 1
if (null) {
}
ywinkel = 0.241660973353061;
ymove = 0.19;
hoch = 50;
Symbol 25 MovieClip [boden10] Frame 1
if (null) {
}
ywinkel = 0.241660973353061;
ymove = 0.19;
toclimbro = 4;
toclimblu = 10;
toclimbru = 4;
toclimblo = 4;
Symbol 30 MovieClip [boden4] Frame 1
if (null) {
}
xmove = 0.6;
ymove = 0;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 30 MovieClip [boden4] Frame 41
if (null) {
}
ymove = 0.6;
xmove = 0;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 30 MovieClip [boden4] Frame 81
if (null) {
}
xmove = -0.6;
ymove = 0;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 30 MovieClip [boden4] Frame 121
if (null) {
}
ymove = -0.6;
xmove = 0;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 32 MovieClip [boden36] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
hoch = 30;
Symbol 34 MovieClip [boden8] Frame 1
if (null) {
}
xmove = 0.3;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 36 MovieClip [boden7] Frame 1
if (null) {
}
ymove = 0.3;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 38 MovieClip [boden6] Frame 1
if (null) {
}
xmove = -0.3;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 40 MovieClip [boden5] Frame 1
if (null) {
}
ymove = -0.3;
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 42 MovieClip [boden23] Frame 1
if (null) {
}
toclimb = 4;
hoch = 50;
Symbol 44 MovieClip [boden22] Frame 1
if (null) {
}
toclimb = 4;
hoch = 50;
Symbol 46 MovieClip [boden21] Frame 1
if (null) {
}
toclimb = 4;
Symbol 48 MovieClip [boden9] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
hoch = 40;
Symbol 50 MovieClip [boden20] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 52 MovieClip [boden14] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 54 MovieClip [boden17] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 56 MovieClip [boden16] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 58 MovieClip [boden15] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
Symbol 60 MovieClip [boden29] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
hoch = 50;
Symbol 62 MovieClip [boden18] Frame 1
if (null) {
}
toclimbro = 4;
toclimblu = 4;
toclimbru = 4;
toclimblo = 4;
hoch = 50;
Symbol 64 MovieClip [boden27] Frame 1
if (null) {
}
xwinkel = -0.241660973353061;
ywinkel = 0.241660973353061;
xmove = -0.19;
ymove = 0.19;
Symbol 66 MovieClip [boden25] Frame 1
if (null) {
}
xwinkel = 0.241660973353061;
ywinkel = 0.241660973353061;
xmove = 0.19;
ymove = 0.19;
Symbol 68 MovieClip [boden26] Frame 1
if (null) {
}
xwinkel = 0.241660973353061;
ywinkel = -0.241660973353061;
xmove = 0.19;
ymove = -0.19;
Symbol 70 MovieClip [boden24] Frame 1
if (null) {
}
xwinkel = -0.241660973353061;
ywinkel = -0.241660973353061;
xmove = -0.19;
ymove = -0.19;
Symbol 86 MovieClip [goodie3] Frame 1
if (null) {
}
stop();
Symbol 86 MovieClip [goodie3] Frame 2
if (null) {
}
_root.stop();
Symbol 86 MovieClip [goodie3] Frame 3
if (null) {
}
_root.score = _root.score + 1000;
Symbol 86 MovieClip [goodie3] Frame 17
if (null) {
}
_root.attachMovie("done", "done", 10000);
this.removeMovieClip("");
Symbol 87 MovieClip [goodie1] Frame 1
if (null) {
}
stop();
Symbol 87 MovieClip [goodie1] Frame 2
if (null) {
}
_root.gemsleft--;
_root.score = _root.score + 100;
Symbol 87 MovieClip [goodie1] Frame 17
if (null) {
}
removeMovieClip("");
Symbol 90 MovieClip [goodie2] Frame 1
if (null) {
}
stop();
Symbol 90 MovieClip [goodie2] Frame 2
if (null) {
}
_root.mpacks--;
Symbol 90 MovieClip [goodie2] Frame 20
if (null) {
}
removeMovieClip("");
Symbol 99 MovieClip Frame 1
if (null) {
}
stop();
Symbol 99 MovieClip Frame 2
if (null) {
}
stop();
Symbol 99 MovieClip Frame 3
if (null) {
}
stop();
Symbol 99 MovieClip Frame 4
if (null) {
}
play();
Symbol 99 MovieClip Frame 40
if (null) {
}
gotoAndPlay (4);
Symbol 108 MovieClip [karte] Frame 1
if (null) {
}
black._alpha = 80;
_root.drawMap();
Instance of Symbol 99 MovieClip in Symbol 108 MovieClip [karte] Frame 1
/* no clip actions */
Instance of Symbol 99 MovieClip in Symbol 108 MovieClip [karte] Frame 1
onClipEvent (load) {
if (null) {
}
gotoAndStop (4);
}
Instance of Symbol 99 MovieClip in Symbol 108 MovieClip [karte] Frame 1
onClipEvent (load) {
if (null) {
}
gotoAndStop (3);
}
Instance of Symbol 99 MovieClip in Symbol 108 MovieClip [karte] Frame 1
onClipEvent (load) {
if (null) {
}
gotoAndStop (2);
}
Symbol 108 MovieClip [karte] Frame 2
if (null) {
}
_root.pausecnt++;
if (Key.isDown(77) && (20 < _root.pausecnt)) {
_root.pausecnt = 0;
_root.gotoAndPlay(15);
this.removeMovieClip("");
}
Symbol 108 MovieClip [karte] Frame 3
if (null) {
}
gotoAndPlay (2);
Symbol 112 MovieClip [paused] Frame 1
if (null) {
}
this.black._alpha = 50;
Symbol 112 MovieClip [paused] Frame 2
if (null) {
}
_root.pausecnt++;
if (Key.isDown(80) && (20 < _root.pausecnt)) {
_root.pausecnt = 0;
_root.gotoAndPlay(15);
this.removeMovieClip("");
}
Symbol 112 MovieClip [paused] Frame 3
if (null) {
}
gotoAndPlay (2);
Symbol 123 Button
on (release, keyPress "<Enter>") {
if (null) {
}
_root.gotoAndPlay(41);
}
Symbol 130 Button
on (release, keyPress "<Enter>") {
if (null) {
}
if ((_root.playername != "") && (_root.playername != undefined)) {
_root.gotoAndStop(40);
this.removeMovieClip();
} else {
attachMovie("entername", "entername", 2);
}
}
Symbol 133 MovieClip [gameOver] Frame 1
if (null) {
}
_root.scoredisp = "Score: " + _root.score;
timebonus = 0;
livesbonus = 0;
medibonus = 0;
tbonus = "Time-Bonus: " + timebonus;
lbonus = "Life-Bonus: " + livesbonus;
mbonus = "Medipack-Bonus: " + medibonus;
final = _root.score;
finalscore = "Final Result: " + final;
black._alpha = 80;
if ((_parent.count == _parent.mx) && (this.final < _parent.min_score)) {
this.stop();
} else {
this.gotoAndStop(3);
}
Symbol 133 MovieClip [gameOver] Frame 3
if (null) {
}
stop();
Symbol 146 MovieClip [done] Frame 1
if (null) {
}
_root.scoredisp = "Score: " + _root.score;
timebonus = int(_root.timeleft * 10);
livesbonus = _root.lives * 200;
medibonus = _root.mpacks * 50;
tbonus = "Time-Bonus: " + timebonus;
lbonus = "Life-Bonus: " + livesbonus;
mbonus = "Medipack-Bonus: " + medibonus;
final = ((_root.score + timebonus) + livesbonus) + medibonus;
finalscore = "Final Result: " + final;
black._alpha = 80;
_root.score = final;
if ((_parent.count == _parent.mx) && (this.final < _parent.min_score)) {
this.stop();
} else {
this.gotoAndStop(3);
}
Symbol 146 MovieClip [done] Frame 3
if (null) {
}
stop();
Symbol 148 MovieClip [newball] Frame 1
if (null) {
}
this.black._alpha = 80;
Symbol 148 MovieClip [newball] Frame 75
if (null) {
}
removeMovieClip("");
_root.gotoAndPlay(15);
Symbol 153 Button
on (release) {
if (null) {
}
this.RemoveMovieClip("");
}
Symbol 158 MovieClip [tips] Frame 1
if (null) {
}
stop();
Symbol 169 Button
on (release) {
if (null) {
}
keylinks = 37;
keyoben = 38;
keyrechts = 39;
keyunten = 40;
gotoAndPlay (11);
}
Symbol 171 Button
on (release) {
if (null) {
}
keylinks = 38;
keyoben = 39;
keyrechts = 40;
keyunten = 37;
gotoAndPlay (11);
}
Symbol 175 Button
on (release) {
if (null) {
}
play();
}
Symbol 186 MovieClip Frame 1
if (null) {
}
stop();
Symbol 186 MovieClip Frame 5
if (null) {
}
stop();
Instance of Symbol 177 MovieClip in Symbol 186 MovieClip Frame 5
onClipEvent (keyDown) {
if (null) {
}
_root.keyoben = Key.getCode();
_parent.play();
}
Symbol 186 MovieClip Frame 10
if (null) {
}
stop();
Instance of Symbol 181 MovieClip in Symbol 186 MovieClip Frame 10
onClipEvent (keyDown) {
if (null) {
}
_root.keyunten = Key.getCode();
_parent.play();
}
Symbol 186 MovieClip Frame 15
if (null) {
}
stop();
Instance of Symbol 183 MovieClip in Symbol 186 MovieClip Frame 15
onClipEvent (keyDown) {
if (null) {
}
_root.keylinks = Key.getCode();
_parent.play();
}
Symbol 186 MovieClip Frame 20
if (null) {
}
stop();
Instance of Symbol 185 MovieClip in Symbol 186 MovieClip Frame 20
onClipEvent (keyDown) {
if (null) {
}
_root.keyrechts = Key.getCode();
_parent.play();
}
Symbol 186 MovieClip Frame 25
if (null) {
}
_root.gotoAndPlay(11);
Symbol 223 MovieClip Frame 1
if (null) {
}
ausadd = (ausadd - ((ausschlag - _root.energie) / 4)) * 0.7;
ausschlag = ausschlag + ausadd;
if (100 < ausschlag) {
ausschlag = 100;
}
if (ausschlag < 0) {
ausschlag = 0;
}
tausschlag = _root.timeleft / 3;
if (100 < tausschlag) {
tausschlag = 100;
}
if (tausschlag < 0) {
tausschlag = 0;
}
Symbol 223 MovieClip Frame 2
if (null) {
}
setProperty("energiebalken", _width , ausschlag);
setProperty("tenergiebalken", _width , tausschlag);
Symbol 223 MovieClip Frame 3
if (null) {
}
gotoAndPlay (1);