Frame 1
function oeff() {
getURL ("http://www.newgrounds.com");
}
stop();
men = new ContextMenu();
men.hideBuiltInItems();
itm1 = new ContextMenuItem("Made for Newgrounds.", oeff);
men.customItems.push(itm1);
this.menu = men;
function feldmalen() {
if (inverted == false) {
f_gras = "0x009900";
f_wasser = "0x0000ff";
f_stein = "0x999999";
f_gift = "0xCCCC00";
f_sand = "0xFF8400";
f_lochrand = "0x009900";
f_schief = "0x00aa00";
f_default = "0xCCCC00";
f_lochinnen = "0x000000";
f_pfeil = "0x006600";
b_pfeil = 3;
a_pfeil = 100;
f_linie = "0x999999";
b_linie = 1;
a_linie = 0;
} else {
f_gras = "0xFF66FF";
f_wasser = "0xFFFF00";
f_stein = "0x666666";
f_gift = "0x3333FF";
f_sand = "0x0079FF";
f_lochrand = "0xFF66FF";
f_schief = "0xFF55FF";
f_default = "0x3333FF";
f_lochinnen = "0xFFFFFF";
f_pfeil = "0xFF99FF";
b_pfeil = 3;
a_pfeil = 100;
f_linie = "0x666666";
b_linie = 1;
a_linie = 0;
}
_root.feld.clear();
_root.clear();
i = 0;
while (i < 37) {
j = 0;
while (j < 21) {
with (_root.feld) {
lineStyle(b_linie, f_linie, a_linie);
switch (feld[i][j]) {
case 1 :
beginFill(f_gras, 100);
break;
case 2 :
beginFill(f_wasser, 100);
break;
case 3 :
beginFill(f_stein, 100);
break;
case 4 :
beginFill(f_gift, 100);
break;
case 5 :
beginFill(f_sand, 100);
break;
case 6 :
beginFill(f_lochrand, 100);
break;
case 7 :
beginFill(f_schief, 100);
break;
case 8 :
beginFill(f_schief, 100);
break;
case 9 :
beginFill(f_schief, 100);
break;
case 10 :
beginFill(f_schief, 100);
break;
default :
beginFill(f_default, 100);
}
moveTo(i * 15, j * 15);
lineTo((i * 15) + 15, j * 15);
lineTo((i * 15) + 15, (j * 15) + 15);
lineTo(i * 15, (j * 15) + 15);
lineTo(i * 15, j * 15);
endFill();
if (feld[i][j] == 6) {
beginFill(f_lochinnen, 100);
moveTo((i * 15) + 7.5, j * 15);
curveTo((i * 15) + 14, (j * 15) + 1, (i * 15) + 15, (j * 15) + 7.5);
curveTo((i * 15) + 14, (j * 15) + 14, (i * 15) + 7.5, (j * 15) + 15);
curveTo((i * 15) + 1, (j * 15) + 14, i * 15, (j * 15) + 7.5);
curveTo((i * 15) + 1, (j * 15) + 1, (i * 15) + 7.5, j * 15);
endFill();
}
if (feld[i][j] >= 7) {
a = feld[i][j];
lineStyle(b_pfeil, f_pfeil, a_pfeil);
if (a == 7) {
moveTo((i * 15) + 3, (j * 15) + 3);
lineTo((i * 15) + 12, (j * 15) + 7.5);
lineTo((i * 15) + 3, (j * 15) + 12);
lineTo((i * 15) + 3, (j * 15) + 3);
}
if (a == 8) {
moveTo((i * 15) + 12, (j * 15) + 3);
lineTo((i * 15) + 3, (j * 15) + 7.5);
lineTo((i * 15) + 12, (j * 15) + 12);
lineTo((i * 15) + 12, (j * 15) + 3);
}
if (a == 9) {
moveTo((i * 15) + 3, (j * 15) + 3);
lineTo((i * 15) + 7.5, (j * 15) + 12);
lineTo((i * 15) + 12, (j * 15) + 3);
lineTo((i * 15) + 3, (j * 15) + 3);
}
if (a == 10) {
moveTo((i * 15) + 3, (j * 15) + 12);
lineTo((i * 15) + 7.5, (j * 15) + 3);
lineTo((i * 15) + 12, (j * 15) + 12);
lineTo((i * 15) + 3, (j * 15) + 12);
}
}
}
j++;
}
i++;
}
}
maxschlaege = 20;
maxkraft = 7;
gesschlaege = 0;
brems = 0.99;
rollp = 0.1;
krafaktor = 50;
doublespeed = false;
inverted = false;
menuopen = false;
hovered = false;
dreh = 1;
Instance of Symbol 4 MovieClip "loadbar" in Frame 1
onClipEvent (enterFrame) {
prozent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (prozent < 100) {
_xscale = prozent;
} else {
_root.play();
}
}
Frame 132
stop();
Frame 153
switch (_root.zu) {
case 1 :
_root.gotoAndPlay("game");
break;
case 2 :
_root.gotoAndPlay("instructions");
break;
case 3 :
_root.gotoAndPlay("challenge");
break;
case 4 :
_root.gotoAndPlay("editor");
break;
default :
_root.gotoAndPlay("menu");
}
Frame 154
stop();
Frame 165
stop();
chall = 0;
Frame 171
chall++;
var feld = new Array();
i = 0;
while (i < 37) {
feld[i] = new Array();
i++;
}
i = 0;
while (i < 37) {
j = 0;
while (j < 20) {
feld[i][j] = 1;
j++;
}
i++;
}
i = 0;
while (i < 37) {
feld[i][0] = 3;
i++;
}
i = 0;
while (i < 37) {
feld[i][20] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[36][i] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[0][i] = 3;
i++;
}
i = 1;
while (i < (chall * 50)) {
wat = Math.round((Math.random() * 9) + 1);
feld[Math.round((Math.random() * 33) + 2)][Math.round((Math.random() * 17) + 2)] = ((wat == 6) ? 1 : (wat));
i++;
}
startx = 2;
starty = 2;
feld[2][2] = 1;
feld[2][3] = 1;
feld[3][2] = 1;
feld[3][3] = 1;
feld[34][18] = 6;
level = 22;
_root.gotoAndPlay("feldframe");
Frame 172
_root.stop();
Frame 173
_root.stop();
Frame 174
_root.stop();
Frame 175
_root.stop();
Frame 176
_root.stop();
Frame 177
_root.stop();
Frame 178
_root.stop();
Frame 179
_root.stop();
Instance of Symbol 120 MovieClip "challb" in Frame 180
onClipEvent (enterFrame) {
if (_root.level >= 22) {
this._visible = true;
} else {
this._visible = false;
}
left = 10 - _root.schlaege;
if ((left == 0) && (_root.ball.rollend == false)) {
_root.gotoAndStop("endloose");
}
this.challs.text = left;
}
Instance of Symbol 160 MovieClip in Frame 180
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop(2);
_root.menuopen = true;
} else {
this.gotoAndStop(1);
_root.menuopen = false;
}
}
Frame 181
var feld = new Array();
i = 0;
while (i < 37) {
feld[i] = new Array();
i++;
}
i = 0;
while (i < 37) {
j = 0;
while (j < 20) {
feld[i][j] = 1;
j++;
}
i++;
}
i = 0;
while (i < 37) {
feld[i][0] = 3;
i++;
}
i = 0;
while (i < 37) {
feld[i][20] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[36][i] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[0][i] = 3;
i++;
}
feld[1][0] = 2;
feld[2][0] = 2;
feld[1][1] = 2;
feld[2][1] = 2;
feld[1][2] = 2;
feld[1][3] = 2;
feld[1][4] = 2;
feld[1][5] = 3;
feld[2][5] = 3;
feld[3][5] = 3;
feld[4][5] = 3;
feld[5][5] = 3;
feld[1][6] = 4;
feld[1][7] = 4;
feld[2][6] = 4;
feld[2][7] = 4;
feld[1][8] = 3;
feld[4][2] = 6;
feld[9][5] = 5;
feld[9][4] = 5;
feld[10][5] = 5;
feld[10][4] = 5;
feld[15][15] = 4;
feld[16][14] = 4;
feld[17][15] = 4;
feld[18][14] = 4;
feld[15][17] = 4;
feld[16][16] = 4;
feld[17][17] = 4;
feld[18][16] = 4;
feld[11][1] = 4;
feld[12][1] = 4;
feld[13][1] = 4;
feld[13][2] = 4;
feld[13][3] = 4;
feld[13][4] = 4;
feld[13][5] = 4;
feld[13][6] = 4;
feld[14][1] = 3;
feld[14][2] = 3;
feld[14][3] = 3;
feld[14][4] = 3;
feld[14][5] = 3;
feld[14][6] = 3;
feld[11][2] = 8;
feld[11][3] = 8;
feld[11][4] = 8;
feld[11][5] = 8;
feld[12][2] = 8;
feld[12][3] = 8;
feld[12][4] = 8;
feld[12][5] = 8;
feld[4][19] = 7;
feld[6][19] = 7;
feld[8][19] = 7;
feld[10][19] = 7;
feld[12][19] = 7;
feld[14][19] = 7;
feld[18][19] = 10;
feld[19][19] = 10;
feld[20][19] = 10;
feld[21][19] = 10;
feld[18][18] = 10;
feld[19][18] = 10;
feld[20][18] = 10;
feld[21][18] = 10;
feld[18][17] = 10;
feld[19][17] = 10;
feld[20][17] = 10;
feld[21][17] = 10;
feld[18][16] = 10;
feld[19][16] = 10;
feld[20][16] = 10;
feld[21][16] = 10;
feld[22][19] = 10;
feld[23][19] = 10;
feld[24][19] = 10;
feld[25][19] = 10;
feld[22][18] = 10;
feld[23][18] = 10;
feld[24][18] = 10;
feld[25][18] = 10;
feld[22][17] = 10;
feld[23][17] = 10;
feld[24][17] = 10;
feld[25][17] = 10;
feld[22][16] = 10;
feld[23][16] = 10;
feld[24][16] = 10;
feld[25][16] = 10;
feld[35][5] = 8;
feld[34][5] = 8;
feld[33][5] = 8;
feld[32][5] = 8;
feld[35][4] = 8;
feld[34][4] = 8;
feld[33][4] = 8;
feld[32][4] = 8;
feld[15][1] = 9;
feld[15][2] = 9;
feld[15][3] = 9;
feld[15][4] = 9;
feld[15][5] = 9;
feld[15][6] = 9;
feld[16][1] = 9;
feld[16][2] = 9;
feld[16][3] = 9;
feld[16][4] = 9;
feld[16][5] = 9;
feld[16][6] = 9;
feld[17][1] = 9;
feld[17][2] = 9;
feld[17][3] = 9;
feld[17][4] = 9;
feld[17][5] = 9;
feld[17][6] = 9;
feld[15][7] = 8;
feld[15][8] = 8;
feld[15][9] = 8;
feld[15][10] = 8;
feld[15][11] = 8;
feld[14][7] = 8;
feld[14][8] = 8;
feld[14][9] = 8;
feld[14][10] = 8;
feld[14][11] = 8;
feld[16][7] = 8;
feld[16][8] = 8;
feld[16][9] = 8;
feld[16][10] = 8;
feld[16][11] = 8;
feld[17][7] = 8;
feld[17][8] = 8;
feld[17][9] = 8;
feld[17][10] = 8;
feld[17][11] = 8;
startx = 1;
starty = 19;
level = 1;
titel = "too easy to fail!";
Frame 182
stop();
feldmalen();
schlaege = 0;
if (_root.level == 22) {
challb.challl.text = chall;
}
Instance of Symbol 164 MovieClip "ball" in Frame 182
onClipEvent (load) {
_x = ((_root.startx * 15) + 7.5);
_y = ((_root.starty * 15) + 7.5);
speedx = 0;
speedy = 0;
rollend = false;
stax = _x;
stay = _y;
}
onClipEvent (mouseUp) {
if ((_root.menuopen == false) && (_root.hovered == false)) {
if (rollend == false) {
xdif = _root._xmouse - _x;
ydif = _root._ymouse - _y;
abstand = Math.sqrt((xdif * xdif) + (ydif * ydif));
if (_root.dreh == 1) {
xt = xdif / abstand;
yt = ydif / abstand;
} else {
if (_root.dreh == 3) {
xt = (-xdif) / abstand;
yt = (-ydif) / abstand;
}
if (_root.dreh == 2) {
winkel = Math.atan2(xdif, ydif);
xt = Math.sin(winkel + (Math.PI/2));
yt = Math.cos(winkel + (Math.PI/2));
}
if (_root.dreh == 4) {
winkel = Math.atan2(xdif, ydif);
xt = Math.sin(winkel + 4.71238898038469);
yt = Math.cos(winkel + 4.71238898038469);
}
}
if ((abstand / _root.krafaktor) < _root.maxkraft) {
kraft = abstand / _root.krafaktor;
} else {
kraft = _root.maxkraft;
}
speedx = xt * kraft;
speedy = yt * kraft;
rollend = true;
_root.dreh = 1;
_root.schlaege++;
clear();
stax = _x;
stay = _y;
}
}
}
onClipEvent (enterFrame) {
function feld(pos) {
fed = Math.floor(pos / 15);
return(fed);
}
function brems() {
this.speedx = this.speedx * 0.95;
this.speedy = this.speedy * 0.95;
}
function wasserfall() {
this.speedx = 0;
this.speedy = 0;
this.rollend = 0;
this._x = this.stax;
this._y = this.stay;
}
function giftfall() {
this.speedx = 0;
this.speedy = 0;
this.rollend = 0;
this._x = (_root.startx * 15) + 7.5;
this._y = (_root.starty * 15) + 7.5;
}
function einloch() {
_root.play();
_root.feld.clear();
_root.clear();
}
function roll() {
_x = (_x + speedx);
_y = (_y + speedy);
i = feld(_x);
j = feld(_y);
wo = _root.feld[i][j];
switch (wo) {
case 1 :
break;
case 2 :
wasserfall();
break;
case 3 :
break;
case 4 :
giftfall();
break;
case 5 :
brems();
break;
case 6 :
einloch();
break;
case 7 :
speedx = speedx + _root.rollp;
break;
case 8 :
speedx = speedx - _root.rollp;
break;
case 9 :
speedy = speedy + _root.rollp;
break;
case 10 :
speedy = speedy - _root.rollp;
break;
default :
}
if (_root.feld[feld(_x)][feld(_y - 7)] == 3) {
if (speedy < 0) {
speedy = -speedy;
}
}
if (_root.feld[feld(_x)][feld(_y + 7)] == 3) {
if (speedy > 0) {
speedy = -speedy;
}
}
if (_root.feld[feld(_x - 7)][feld(_y)] == 3) {
if (speedx < 0) {
speedx = -speedx;
}
}
if (_root.feld[feld(_x + 7)][feld(_y)] == 3) {
if (speedx > 0) {
speedx = -speedx;
}
}
if ((((_root.feld[feld(_x)][feld(_y - 7)] != 3) && (_root.feld[feld(_x)][feld(_y + 7)] != 3)) && (_root.feld[feld(_x + 7)][feld(_y)] != 3)) && (_root.feld[feld(_x - 7)][feld(_y)] != 3)) {
}
if ((Math.sqrt((speedx * speedx) + (speedy * speedy)) > 0.3) || (wo >= 7)) {
speedx = speedx * _root.brems;
speedy = speedy * _root.brems;
} else {
rollend = false;
speedx = 0;
speedy = 0;
_x = Math.round(_x);
_y = Math.round(_y);
}
}
if (rollend == true) {
roll();
roll();
if (_root.doublespeed == true) {
roll();
roll();
roll();
roll();
roll();
roll();
}
} else if ((_root.menuopen == false) && (_root.hovered == false)) {
clear();
abstand = Math.sqrt((_xmouse * _xmouse) + (_ymouse * _ymouse));
xte = _xmouse / abstand;
yte = _ymouse / abstand;
if ((abstand / _root.krafaktor) < _root.maxkraft) {
ix = abstand * xte;
iy = abstand * yte;
} else {
faktor = _root.maxkraft / (abstand / _root.krafaktor);
ix = (abstand * xte) * faktor;
iy = (abstand * yte) * faktor;
}
if (_root.dreh == 3) {
ix = -ix;
iy = -iy;
lineStyle(3, 16777215);
moveTo(0, 0);
lineTo((-ix) / 5, (-iy) / 5);
moveTo(((-ix) / 5) * 2, ((-iy) / 5) * 2);
lineTo(((-ix) / 5) * 3, ((-iy) / 5) * 3);
moveTo(((-ix) / 5) * 4, ((-iy) / 5) * 4);
lineTo(-ix, -iy);
}
if ((_root.dreh == 2) || (_root.dreh == 4)) {
lineStyle(3, 16777215);
moveTo(0, 0);
lineTo(ix / 5, iy / 5);
moveTo((ix / 5) * 2, (iy / 5) * 2);
lineTo((ix / 5) * 3, (iy / 5) * 3);
moveTo((ix / 5) * 4, (iy / 5) * 4);
lineTo(ix, iy);
winkel = Math.atan2(xte, yte);
if (_root.dreh == 2) {
xte = Math.sin(winkel + (Math.PI/2));
yte = Math.cos(winkel + (Math.PI/2));
}
if (_root.dreh == 4) {
xte = Math.sin(winkel + 4.71238898038469);
yte = Math.cos(winkel + 4.71238898038469);
}
if ((abstand / _root.krafaktor) < _root.maxkraft) {
ix = abstand * xte;
iy = abstand * yte;
} else {
faktor = _root.maxkraft / (abstand / _root.krafaktor);
ix = (abstand * xte) * faktor;
iy = (abstand * yte) * faktor;
}
}
lineStyle(3, 16777215);
moveTo(0, 0);
lineTo(ix, iy);
} else {
this.clear();
}
}
Frame 183
_root.punktanzeige.feld.text = ((_root.schlaege == 1) ? "HOLE-IN-ONE!" : (_root.schlaege + " strokes"));
Frame 248
if (_root.level == 21) {
_root.gotoAndPlay("editor");
}
if (_root.level == 22) {
left = 10 - _root.schlaege;
_root.gotoAndPlay("chall");
}
Frame 249
_root.gesschlaege = _root.gesschlaege + _root.schlaege;
_root.level++;
Frame 250
i = 0;
while (i < 37) {
j = 0;
while (j < 20) {
feld[i][j] = 1;
j++;
}
i++;
}
i = 0;
while (i < 37) {
feld[i][0] = 3;
i++;
}
i = 0;
while (i < 37) {
feld[i][20] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[36][i] = 3;
i++;
}
i = 0;
while (i < 20) {
feld[0][i] = 3;
i++;
}
Frame 251
if (_root.level == 2) {
startx = 35;
starty = 19;
feld[1][19] = 6;
feld[5][15] = 5;
feld[6][15] = 5;
feld[7][15] = 5;
feld[8][15] = 5;
feld[5][14] = 5;
feld[5][13] = 5;
feld[5][12] = 5;
feld[6][14] = 5;
feld[7][13] = 5;
feld[8][12] = 5;
feld[9][11] = 5;
feld[20][19] = 2;
feld[21][19] = 2;
feld[22][19] = 2;
feld[23][19] = 2;
feld[24][19] = 2;
feld[25][19] = 2;
feld[21][18] = 2;
feld[22][18] = 2;
feld[23][18] = 2;
feld[24][18] = 2;
feld[22][17] = 2;
feld[23][17] = 2;
feld[24][17] = 2;
feld[22][16] = 2;
feld[23][16] = 2;
feld[19][19] = 7;
feld[19][18] = 7;
feld[20][18] = 7;
feld[20][17] = 7;
feld[21][17] = 7;
feld[21][16] = 7;
feld[21][15] = 9;
feld[22][15] = 9;
feld[23][15] = 9;
feld[24][15] = 9;
feld[24][16] = 8;
feld[25][16] = 8;
feld[25][17] = 8;
feld[25][18] = 8;
feld[26][18] = 8;
feld[26][19] = 8;
feld[15][1] = 2;
feld[16][1] = 2;
feld[17][1] = 2;
feld[18][1] = 2;
feld[19][1] = 2;
feld[20][1] = 2;
feld[21][1] = 2;
feld[22][1] = 2;
feld[23][1] = 2;
feld[24][1] = 2;
feld[25][1] = 2;
feld[26][1] = 2;
feld[27][1] = 2;
feld[28][1] = 2;
feld[16][2] = 2;
feld[17][2] = 2;
feld[18][2] = 2;
feld[19][2] = 2;
feld[20][2] = 2;
feld[21][2] = 2;
feld[22][2] = 2;
feld[23][2] = 2;
feld[24][2] = 2;
feld[25][2] = 2;
feld[26][2] = 2;
feld[27][2] = 2;
feld[18][3] = 2;
feld[19][3] = 2;
feld[20][3] = 2;
feld[21][3] = 2;
feld[22][3] = 2;
feld[23][3] = 2;
feld[24][3] = 2;
feld[25][3] = 2;
feld[26][3] = 2;
feld[19][4] = 2;
feld[20][4] = 2;
feld[21][4] = 2;
feld[22][4] = 2;
feld[23][4] = 2;
feld[24][4] = 2;
feld[25][4] = 2;
feld[26][4] = 2;
feld[20][5] = 2;
feld[21][5] = 2;
feld[22][5] = 2;
feld[23][5] = 2;
feld[24][5] = 2;
feld[25][5] = 2;
feld[20][6] = 2;
feld[21][6] = 2;
feld[22][6] = 2;
feld[23][6] = 2;
feld[24][6] = 2;
feld[21][7] = 2;
feld[22][7] = 2;
feld[23][7] = 2;
feld[24][7] = 2;
feld[21][8] = 2;
feld[22][8] = 2;
feld[23][8] = 2;
feld[22][9] = 2;
feld[15][1] = 7;
feld[15][2] = 7;
feld[16][2] = 7;
feld[16][3] = 7;
feld[17][3] = 7;
feld[18][3] = 7;
feld[18][4] = 7;
feld[18][5] = 7;
feld[19][5] = 7;
feld[19][6] = 7;
feld[19][7] = 7;
feld[20][7] = 7;
feld[20][8] = 7;
feld[20][9] = 7;
feld[21][9] = 7;
feld[21][10] = 10;
feld[22][10] = 10;
feld[23][10] = 10;
feld[23][9] = 8;
feld[24][9] = 8;
feld[24][8] = 8;
feld[25][8] = 8;
feld[25][7] = 8;
feld[25][6] = 8;
feld[26][6] = 8;
feld[26][5] = 8;
feld[27][5] = 8;
feld[27][4] = 8;
feld[27][3] = 8;
feld[28][3] = 8;
feld[28][2] = 8;
feld[29][2] = 8;
feld[29][1] = 8;
titel = "follow the arrow";
_root.bahn1.text = _root.schlaege;
}
if (_root.level == 3) {
startx = 1;
starty = 19;
feld[35][1] = 6;
feld[10][19] = 3;
feld[10][18] = 3;
feld[10][17] = 3;
feld[10][16] = 3;
feld[10][15] = 3;
feld[10][14] = 3;
feld[10][13] = 3;
feld[10][12] = 3;
feld[10][11] = 3;
feld[10][10] = 3;
feld[20][9] = 3;
feld[20][1] = 3;
feld[20][2] = 3;
feld[20][3] = 3;
feld[20][4] = 3;
feld[20][5] = 3;
feld[20][6] = 3;
feld[20][7] = 3;
feld[20][8] = 3;
feld[20][9] = 3;
feld[20][10] = 3;
feld[20][11] = 3;
feld[1][10] = 9;
feld[2][10] = 9;
feld[3][10] = 9;
feld[4][10] = 9;
feld[5][10] = 9;
feld[6][10] = 9;
feld[7][10] = 9;
feld[8][10] = 9;
feld[9][10] = 9;
feld[11][11] = 10;
feld[12][11] = 10;
feld[13][11] = 10;
feld[14][11] = 10;
feld[15][11] = 10;
feld[16][11] = 10;
feld[17][11] = 10;
feld[18][11] = 10;
feld[19][11] = 10;
feld[21][10] = 9;
feld[22][10] = 9;
feld[23][10] = 9;
feld[24][10] = 9;
feld[25][10] = 9;
feld[26][10] = 9;
feld[27][10] = 9;
feld[28][10] = 9;
feld[29][10] = 9;
feld[30][10] = 9;
feld[31][10] = 9;
feld[32][10] = 9;
feld[33][10] = 9;
feld[34][10] = 9;
feld[35][10] = 9;
feld[1][1] = 4;
feld[2][1] = 4;
feld[1][2] = 4;
feld[19][1] = 4;
feld[18][1] = 4;
feld[19][2] = 4;
feld[30][14] = 4;
feld[32][14] = 4;
feld[31][16] = 4;
feld[30][18] = 4;
feld[31][18] = 4;
feld[32][18] = 4;
feld[29][17] = 4;
feld[33][17] = 4;
titel = "3 * up";
_root.bahn2.text = _root.schlaege;
}
if (_root.level == 4) {
startx = 34;
starty = 2;
feld[33][17] = 6;
i = 7;
while (i < 36) {
feld[i][7] = 3;
feld[i][13] = 3;
i++;
}
feld[7][8] = 3;
feld[7][9] = 3;
feld[7][10] = 3;
feld[7][11] = 3;
feld[7][12] = 3;
i = 2;
while (i < 15) {
feld[2][i] = 9;
feld[3][i] = 9;
feld[4][i] = 9;
feld[5][i] = 9;
i++;
}
i = 6;
while (i < 32) {
feld[i][2] = 8;
feld[i][3] = 8;
feld[i][4] = 8;
feld[i][5] = 8;
i++;
}
i = 2;
while (i < 32) {
feld[i][15] = 7;
feld[i][16] = 7;
feld[i][17] = 7;
feld[i][18] = 7;
i++;
}
feld[1][1] = 4;
feld[1][19] = 4;
feld[2][1] = 5;
feld[2][19] = 5;
feld[1][2] = 5;
feld[1][18] = 5;
titel = "easy one";
_root.bahn3.text = _root.schlaege;
}
if (_root.level == 5) {
startx = 34;
starty = 18;
i = 1;
while (i <= 35) {
j = 1;
while (j <= 19) {
feld[i][j] = 5;
j++;
}
i++;
}
feld[30][19] = 5;
feld[8][11] = 5;
feld[23][4] = 4;
feld[26][9] = 3;
feld[14][1] = 8;
feld[25][13] = 3;
feld[6][1] = 10;
feld[21][10] = 7;
feld[2][16] = 4;
feld[10][11] = 5;
feld[29][8] = 1;
feld[31][12] = 5;
feld[12][6] = 5;
feld[23][1] = 8;
feld[14][9] = 2;
feld[24][3] = 2;
feld[22][7] = 9;
feld[10][18] = 10;
feld[24][19] = 5;
feld[8][5] = 3;
feld[12][2] = 9;
feld[14][19] = 2;
feld[1][7] = 9;
feld[28][1] = 1;
feld[2][8] = 2;
feld[11][2] = 7;
feld[7][14] = 8;
feld[6][1] = 1;
feld[22][14] = 5;
feld[32][19] = 10;
feld[26][6] = 2;
feld[1][13] = 3;
feld[30][14] = 3;
feld[2][10] = 5;
feld[9][11] = 7;
feld[31][17] = 5;
feld[23][2] = 1;
feld[27][5] = 9;
feld[27][17] = 9;
feld[26][15] = 5;
feld[33][11] = 5;
feld[9][11] = 9;
feld[19][8] = 5;
feld[6][9] = 2;
feld[28][14] = 8;
feld[30][12] = 3;
feld[1][5] = 2;
feld[31][1] = 2;
feld[28][16] = 5;
feld[15][11] = 3;
feld[1][10] = 1;
feld[30][15] = 5;
feld[15][7] = 1;
feld[24][10] = 5;
feld[16][7] = 5;
feld[27][4] = 7;
feld[33][4] = 3;
feld[8][3] = 5;
feld[24][18] = 5;
feld[1][7] = 4;
feld[5][7] = 10;
feld[26][5] = 4;
feld[32][13] = 2;
feld[18][7] = 5;
feld[19][16] = 5;
feld[9][11] = 3;
feld[20][11] = 5;
feld[4][15] = 8;
feld[24][9] = 9;
feld[2][10] = 8;
feld[34][12] = 1;
feld[14][8] = 4;
feld[22][6] = 7;
feld[6][16] = 3;
feld[7][7] = 7;
feld[19][12] = 4;
feld[4][3] = 5;
feld[29][5] = 5;
feld[24][18] = 3;
feld[16][19] = 8;
feld[19][19] = 2;
feld[34][8] = 9;
feld[22][19] = 2;
feld[33][3] = 5;
feld[21][7] = 3;
feld[2][18] = 7;
feld[3][1] = 2;
feld[22][17] = 4;
feld[33][11] = 5;
feld[25][1] = 5;
feld[34][11] = 5;
feld[29][11] = 5;
feld[2][4] = 9;
feld[20][3] = 9;
feld[31][15] = 5;
feld[19][16] = 4;
feld[27][17] = 3;
feld[5][10] = 3;
feld[26][9] = 1;
feld[11][4] = 7;
feld[30][3] = 7;
feld[14][19] = 2;
feld[10][1] = 8;
feld[6][12] = 10;
feld[7][10] = 1;
feld[21][2] = 9;
feld[31][16] = 7;
feld[7][19] = 5;
feld[12][14] = 5;
feld[2][1] = 5;
feld[26][18] = 7;
feld[34][6] = 9;
feld[27][12] = 8;
feld[27][15] = 9;
feld[31][19] = 5;
feld[26][11] = 10;
feld[14][9] = 5;
feld[32][13] = 9;
feld[33][19] = 9;
feld[16][1] = 5;
feld[5][16] = 5;
feld[33][15] = 5;
feld[26][11] = 8;
feld[21][7] = 3;
feld[4][5] = 1;
feld[3][19] = 5;
feld[5][8] = 5;
feld[1][7] = 5;
feld[30][6] = 7;
feld[14][14] = 7;
feld[34][17] = 8;
feld[16][15] = 5;
feld[9][11] = 3;
feld[21][3] = 9;
feld[24][5] = 2;
feld[26][7] = 5;
feld[13][9] = 5;
feld[14][10] = 9;
feld[4][7] = 1;
feld[27][15] = 4;
feld[18][14] = 1;
feld[2][4] = 5;
feld[13][9] = 8;
feld[10][1] = 3;
feld[18][14] = 5;
feld[34][10] = 8;
feld[16][16] = 5;
feld[11][5] = 5;
feld[17][7] = 5;
feld[32][3] = 4;
feld[4][13] = 1;
feld[5][14] = 9;
feld[32][2] = 5;
feld[10][7] = 5;
feld[27][17] = 5;
feld[18][16] = 2;
feld[21][6] = 7;
feld[5][12] = 5;
feld[6][2] = 8;
feld[19][1] = 1;
feld[23][3] = 2;
feld[18][6] = 9;
feld[20][4] = 5;
feld[2][10] = 7;
feld[19][6] = 10;
feld[27][16] = 9;
feld[17][8] = 7;
feld[1][11] = 10;
feld[27][14] = 5;
feld[31][5] = 5;
feld[4][17] = 7;
feld[34][8] = 8;
feld[19][19] = 5;
feld[7][1] = 2;
feld[6][12] = 8;
feld[34][8] = 5;
feld[22][17] = 9;
feld[20][17] = 2;
feld[5][13] = 8;
feld[26][11] = 4;
feld[15][13] = 7;
feld[7][13] = 5;
feld[10][5] = 10;
feld[19][8] = 10;
feld[11][12] = 5;
feld[12][11] = 5;
feld[6][5] = 10;
feld[14][16] = 9;
feld[6][18] = 7;
feld[21][13] = 3;
feld[11][2] = 10;
feld[30][6] = 5;
feld[29][11] = 2;
feld[28][3] = 4;
feld[28][8] = 9;
feld[15][15] = 4;
feld[14][18] = 5;
feld[8][6] = 2;
feld[31][9] = 5;
feld[2][2] = 6;
titel = "desert";
_root.bahn4.text = _root.schlaege;
}
if (_root.level == 6) {
startx = 34;
starty = 18;
feld[2][2] = 6;
i = 2;
while (i < 16) {
feld[20 - i][i] = 9;
feld[20 - i][i - 1] = 9;
feld[21 - i][i + 1] = 8;
feld[22 - i][i + 1] = 8;
i++;
}
feld[1][15] = 3;
feld[2][15] = 3;
feld[3][15] = 3;
feld[4][15] = 3;
feld[6][17] = 3;
feld[6][18] = 3;
feld[6][19] = 5;
feld[17][1] = 3;
feld[16][1] = 3;
feld[16][2] = 3;
feld[15][1] = 3;
feld[15][2] = 3;
feld[15][3] = 3;
feld[14][1] = 3;
feld[14][2] = 3;
feld[14][3] = 3;
feld[14][4] = 3;
feld[13][1] = 3;
feld[13][2] = 3;
feld[13][3] = 3;
feld[13][4] = 3;
feld[13][5] = 3;
feld[12][1] = 3;
feld[12][2] = 3;
feld[12][3] = 3;
feld[12][4] = 3;
feld[12][5] = 3;
feld[12][6] = 3;
feld[11][1] = 3;
feld[11][2] = 3;
feld[11][3] = 3;
feld[11][4] = 3;
feld[11][5] = 3;
feld[11][6] = 3;
feld[11][7] = 3;
feld[15][19] = 3;
feld[15][18] = 3;
feld[15][17] = 3;
feld[15][16] = 3;
feld[15][15] = 3;
feld[15][14] = 3;
feld[15][13] = 3;
feld[15][12] = 3;
feld[15][11] = 3;
feld[15][10] = 3;
feld[15][9] = 3;
feld[14][10] = 5;
feld[14][11] = 5;
feld[14][12] = 5;
feld[14][13] = 5;
feld[14][14] = 5;
feld[14][15] = 5;
feld[14][16] = 5;
feld[14][17] = 5;
feld[14][18] = 5;
feld[14][19] = 5;
i = 16;
while (i < 36) {
feld[i][10] = 9;
feld[i][11] = 9;
feld[i][12] = 2;
feld[i][13] = 10;
feld[i][14] = 10;
i++;
}
feld[20][10] = 1;
feld[20][11] = 1;
feld[20][12] = 1;
feld[20][13] = 1;
feld[20][14] = 1;
feld[19][11] = 7;
feld[19][12] = 7;
feld[19][13] = 7;
feld[21][11] = 8;
feld[21][12] = 8;
feld[21][13] = 8;
titel = "up and down";
_root.bahn5.text = _root.schlaege;
}
if (_root.level == 7) {
startx = 2;
starty = 2;
feld[19][7] = 6;
i = 1;
while (i < 16) {
feld[4][i] = 3;
i++;
}
i = 4;
while (i < 30) {
feld[i][16] = 3;
i++;
}
i = 4;
while (i <= 16) {
feld[30][i] = 3;
i++;
}
i = 8;
while (i < 30) {
feld[i][4] = 3;
i++;
}
feld[8][4] = 3;
feld[8][5] = 3;
feld[8][6] = 3;
feld[8][7] = 3;
feld[8][8] = 3;
feld[8][9] = 3;
feld[8][10] = 3;
feld[8][11] = 3;
feld[8][12] = 3;
feld[12][8] = 3;
feld[12][9] = 3;
feld[12][10] = 3;
feld[12][11] = 3;
feld[12][12] = 3;
i = 12;
while (i <= 25) {
feld[i][13] = 7;
feld[i][14] = 7;
feld[i][15] = 7;
i++;
}
i = 8;
while (i <= 15) {
feld[29][i] = 10;
feld[26][i] = 10;
feld[27][i] = 10;
feld[28][i] = 10;
i++;
}
feld[11][5] = 8;
feld[12][5] = 8;
feld[13][5] = 8;
feld[14][5] = 8;
feld[15][5] = 8;
feld[11][6] = 8;
feld[12][6] = 8;
feld[13][6] = 8;
feld[14][6] = 8;
feld[15][6] = 8;
feld[11][7] = 8;
feld[12][7] = 8;
feld[13][7] = 8;
feld[14][7] = 8;
feld[15][7] = 8;
feld[13][12] = 3;
feld[14][12] = 3;
feld[15][12] = 3;
feld[16][12] = 3;
feld[17][12] = 3;
feld[18][12] = 3;
feld[19][12] = 3;
feld[20][12] = 3;
feld[21][12] = 3;
feld[22][12] = 3;
feld[23][12] = 3;
feld[24][12] = 3;
feld[25][12] = 3;
feld[13][11] = 4;
titel = "don't go back!";
_root.bahn6.text = _root.schlaege;
}
if (_root.level == 8) {
startx = 2;
starty = 2;
feld[34][2] = 6;
feld[34][7] = 6;
feld[34][12] = 6;
feld[34][17] = 6;
i = 4;
while (i < 33) {
feld[i][1] = 4;
feld[i][2] = 4;
feld[i][3] = 4;
feld[i][4] = 3;
feld[i][5] = 2;
feld[i][6] = 2;
feld[i][7] = 2;
feld[i][8] = 2;
feld[i][9] = 3;
feld[i][10] = 5;
feld[i][11] = 5;
feld[i][12] = 5;
feld[i][13] = 5;
feld[i][14] = 3;
feld[i][18] = 3;
feld[i][19] = 7;
i++;
}
titel = "5 ways";
_root.bahn7.text = _root.schlaege;
}
if (_root.level == 9) {
startx = 2;
starty = 2;
feld[34][2] = 6;
i = 4;
while (i < 33) {
j = 1;
while (j <= 9) {
feld[i][j] = 10;
j++;
}
i++;
}
i = 4;
while (i < 33) {
j = 11;
while (j <= 19) {
feld[i][j] = 9;
j++;
}
i++;
}
feld[4][1] = 7;
feld[5][1] = 7;
feld[6][1] = 7;
feld[7][1] = 7;
feld[8][1] = 7;
feld[9][1] = 7;
feld[10][1] = 7;
feld[11][1] = 7;
feld[4][2] = 7;
feld[5][2] = 7;
feld[6][2] = 7;
feld[7][2] = 7;
feld[8][2] = 7;
feld[9][2] = 7;
feld[10][2] = 7;
feld[4][3] = 7;
feld[5][3] = 7;
feld[6][3] = 7;
feld[7][3] = 7;
feld[8][3] = 7;
feld[9][3] = 7;
feld[4][4] = 7;
feld[5][4] = 7;
feld[6][4] = 7;
feld[7][4] = 7;
feld[8][4] = 7;
feld[4][5] = 7;
feld[5][5] = 7;
feld[6][5] = 7;
feld[7][5] = 7;
feld[4][6] = 7;
feld[5][6] = 7;
feld[6][6] = 7;
feld[4][7] = 7;
feld[5][7] = 7;
feld[4][8] = 7;
feld[4][19] = 7;
feld[5][19] = 7;
feld[6][19] = 7;
feld[7][19] = 7;
feld[8][19] = 7;
feld[9][19] = 7;
feld[10][19] = 7;
feld[11][19] = 7;
feld[4][18] = 7;
feld[5][18] = 7;
feld[6][18] = 7;
feld[7][18] = 7;
feld[8][18] = 7;
feld[9][18] = 7;
feld[10][18] = 7;
feld[4][17] = 7;
feld[5][17] = 7;
feld[6][17] = 7;
feld[7][17] = 7;
feld[8][17] = 7;
feld[9][17] = 7;
feld[4][16] = 7;
feld[5][16] = 7;
feld[6][16] = 7;
feld[7][16] = 7;
feld[8][16] = 7;
feld[4][15] = 7;
feld[5][15] = 7;
feld[6][15] = 7;
feld[7][15] = 7;
feld[4][14] = 7;
feld[5][14] = 7;
feld[6][14] = 7;
feld[4][13] = 7;
feld[5][13] = 7;
feld[4][12] = 7;
feld[25][1] = 8;
feld[26][1] = 8;
feld[27][1] = 8;
feld[28][1] = 8;
feld[29][1] = 8;
feld[30][1] = 8;
feld[31][1] = 8;
feld[32][1] = 8;
feld[26][2] = 8;
feld[27][2] = 8;
feld[28][2] = 8;
feld[29][2] = 8;
feld[30][2] = 8;
feld[31][2] = 8;
feld[32][2] = 8;
feld[27][3] = 8;
feld[28][3] = 8;
feld[29][3] = 8;
feld[30][3] = 8;
feld[31][3] = 8;
feld[32][3] = 8;
feld[28][4] = 8;
feld[29][4] = 8;
feld[30][4] = 8;
feld[31][4] = 8;
feld[32][4] = 8;
feld[29][5] = 8;
feld[30][5] = 8;
feld[31][5] = 8;
feld[32][5] = 8;
feld[30][6] = 8;
feld[31][6] = 8;
feld[32][6] = 8;
feld[31][7] = 8;
feld[32][7] = 8;
feld[32][8] = 8;
feld[25][19] = 8;
feld[26][19] = 8;
feld[27][19] = 8;
feld[28][19] = 8;
feld[29][19] = 8;
feld[30][19] = 8;
feld[31][19] = 8;
feld[32][19] = 8;
feld[26][18] = 8;
feld[27][18] = 8;
feld[28][18] = 8;
feld[29][18] = 8;
feld[30][18] = 8;
feld[31][18] = 8;
feld[32][18] = 8;
feld[27][17] = 8;
feld[28][17] = 8;
feld[29][17] = 8;
feld[30][17] = 8;
feld[31][17] = 8;
feld[32][17] = 8;
feld[28][16] = 8;
feld[29][16] = 8;
feld[30][16] = 8;
feld[31][16] = 8;
feld[32][16] = 8;
feld[29][15] = 8;
feld[30][15] = 8;
feld[31][15] = 8;
feld[32][15] = 8;
feld[30][14] = 8;
feld[31][14] = 8;
feld[32][14] = 8;
feld[31][13] = 8;
feld[32][13] = 8;
feld[32][12] = 8;
feld[12][1] = 4;
feld[13][1] = 2;
feld[14][1] = 5;
feld[15][1] = 4;
feld[16][1] = 2;
feld[17][1] = 5;
feld[18][1] = 4;
feld[19][1] = 5;
feld[20][1] = 2;
feld[21][1] = 4;
feld[22][1] = 5;
feld[23][1] = 2;
feld[24][1] = 4;
feld[12][19] = 4;
feld[13][19] = 2;
feld[14][19] = 5;
feld[15][19] = 4;
feld[16][19] = 2;
feld[17][19] = 5;
feld[18][19] = 4;
feld[19][19] = 5;
feld[20][19] = 2;
feld[21][19] = 4;
feld[22][19] = 5;
feld[23][19] = 2;
feld[24][19] = 4;
feld[2][2] = 5;
feld[2][18] = 3;
feld[34][18] = 3;
titel = "small bridge!";
_root.bahn8.text = _root.schlaege;
}
if (_root.level == 10) {
startx = 2;
starty = 2;
feld[6][1] = 6;
feld[5][1] = 3;
feld[6][2] = 3;
feld[4][1] = 3;
feld[1][4] = 3;
feld[5][2] = 3;
feld[2][5] = 3;
feld[6][3] = 3;
feld[3][6] = 3;
i = 1;
while (i <= 16) {
feld[i][i + 2] = 7;
feld[i][i + 1] = 7;
feld[i + 2][i] = 9;
feld[i + 1][i] = 9;
i++;
}
i = 17;
while (i >= 3) {
feld[38 - i][i - 2] = 7;
feld[38 - i][i - 1] = 7;
feld[38 - i][i + 1] = 10;
feld[38 - i][i + 2] = 10;
i--;
}
feld[17][19] = 7;
feld[18][19] = 7;
feld[17][18] = 7;
feld[18][17] = 9;
feld[19][17] = 7;
feld[19][18] = 7;
feld[20][17] = 7;
feld[20][16] = 7;
feld[20][19] = 10;
i = 10;
while (i < 36) {
feld[i][1] = 8;
feld[i][2] = 8;
feld[i][3] = 8;
feld[i][4] = 8;
i++;
}
i = 12;
while (i < 30) {
feld[i][5] = 3;
i++;
}
i = 8;
while (i < 12) {
feld[i][1] = 5;
feld[i][2] = 9;
feld[i][3] = 9;
feld[i][4] = 9;
feld[i][5] = 7;
i++;
}
feld[7][1] = 5;
feld[7][2] = 3;
feld[7][3] = 3;
feld[7][4] = 3;
feld[8][4] = 7;
feld[12][5] = 9;
feld[12][6] = 7;
feld[12][7] = 7;
feld[12][8] = 7;
feld[12][9] = 3;
feld[13][6] = 7;
feld[13][7] = 7;
feld[13][8] = 7;
feld[13][9] = 7;
feld[14][6] = 7;
feld[14][7] = 7;
feld[14][8] = 7;
feld[14][9] = 7;
feld[13][10] = 3;
feld[14][10] = 3;
feld[15][10] = 3;
feld[16][10] = 3;
feld[17][10] = 3;
feld[18][10] = 3;
feld[15][6] = 5;
feld[15][7] = 5;
feld[15][8] = 5;
feld[15][9] = 5;
feld[16][6] = 5;
feld[16][7] = 5;
feld[16][8] = 5;
feld[16][9] = 5;
feld[17][6] = 5;
feld[17][7] = 5;
feld[17][8] = 5;
feld[17][9] = 5;
feld[18][6] = 5;
feld[18][7] = 5;
feld[18][8] = 5;
feld[18][9] = 5;
feld[34][18] = 6;
feld[33][17] = 7;
feld[33][18] = 7;
feld[33][19] = 10;
feld[34][17] = 9;
feld[34][19] = 10;
feld[35][17] = 9;
feld[35][18] = 8;
feld[35][19] = 8;
feld[8][5] = 3;
feld[9][6] = 3;
feld[10][6] = 7;
feld[11][6] = 7;
feld[10][7] = 3;
feld[11][7] = 7;
feld[11][8] = 3;
feld[33][15] = 5;
feld[33][16] = 5;
feld[34][15] = 5;
feld[34][16] = 5;
feld[35][15] = 5;
feld[35][16] = 5;
feld[33][14] = 5;
feld[34][14] = 5;
feld[35][14] = 5;
feld[34][13] = 5;
feld[35][13] = 5;
feld[35][12] = 5;
feld[32][15] = 3;
feld[32][16] = 3;
feld[32][17] = 3;
feld[32][18] = 3;
feld[32][19] = 3;
titel = "try once!";
_root.bahn9.text = _root.schlaege;
}
if (_root.level == 11) {
startx = 2;
starty = 2;
feld[34][18] = 6;
feld[2][4] = 3;
feld[2][5] = 3;
feld[2][6] = 3;
feld[2][7] = 3;
feld[2][8] = 3;
feld[2][9] = 3;
feld[2][10] = 3;
feld[2][11] = 3;
feld[2][12] = 3;
feld[3][12] = 3;
feld[4][12] = 3;
feld[5][12] = 3;
feld[8][12] = 3;
feld[9][12] = 3;
feld[10][12] = 3;
feld[7][11] = 3;
feld[11][11] = 3;
feld[7][10] = 3;
feld[11][9] = 3;
feld[7][9] = 3;
feld[10][9] = 3;
feld[9][9] = 3;
feld[8][9] = 3;
feld[7][8] = 3;
feld[8][7] = 3;
feld[9][7] = 3;
feld[10][7] = 3;
feld[11][8] = 3;
feld[13][7] = 3;
feld[13][8] = 3;
feld[14][9] = 3;
feld[14][10] = 3;
feld[15][11] = 3;
feld[15][12] = 3;
feld[16][10] = 3;
feld[16][9] = 3;
feld[17][8] = 3;
feld[17][7] = 3;
feld[20][12] = 3;
feld[21][12] = 3;
feld[22][12] = 3;
feld[19][11] = 3;
feld[23][11] = 3;
feld[19][10] = 3;
feld[23][9] = 3;
feld[19][9] = 3;
feld[22][9] = 3;
feld[21][9] = 3;
feld[20][9] = 3;
feld[19][8] = 3;
feld[20][7] = 3;
feld[21][7] = 3;
feld[22][7] = 3;
feld[23][8] = 3;
feld[25][5] = 3;
feld[25][6] = 3;
feld[25][7] = 3;
feld[25][8] = 3;
feld[25][9] = 3;
feld[25][10] = 3;
feld[25][11] = 3;
feld[26][12] = 3;
feld[27][12] = 3;
feld[28][12] = 3;
feld[30][7] = 3;
feld[31][6] = 3;
feld[31][7] = 3;
feld[31][8] = 3;
feld[31][9] = 3;
feld[31][10] = 3;
feld[31][11] = 3;
feld[31][12] = 3;
feld[33][7] = 3;
feld[34][6] = 3;
feld[34][7] = 3;
feld[34][8] = 3;
feld[34][9] = 3;
feld[34][10] = 3;
feld[34][11] = 3;
feld[34][12] = 3;
titel = "Level 11";
_root.bahn10.text = _root.schlaege;
}
if (_root.level == 12) {
startx = 34;
starty = 18;
feld[2][2] = 6;
i = 6;
while (i < 30) {
feld[i][1] = 8;
feld[i][2] = 8;
feld[i][3] = 8;
feld[i][4] = 8;
feld[i][5] = 3;
feld[i][6] = 7;
feld[i][7] = 7;
feld[i][8] = 7;
feld[i][9] = 7;
feld[i][10] = 7;
feld[i][11] = 7;
feld[i][12] = 7;
feld[i][13] = 7;
feld[i][14] = 7;
feld[i][15] = 3;
feld[i][16] = 8;
feld[i][17] = 8;
feld[i][18] = 8;
feld[i][19] = 8;
i++;
}
feld[1][5] = 3;
feld[2][5] = 3;
feld[3][5] = 3;
feld[4][5] = 3;
feld[5][5] = 3;
feld[30][15] = 3;
feld[31][15] = 3;
feld[32][15] = 3;
feld[33][15] = 3;
feld[34][15] = 3;
feld[35][15] = 3;
feld[36][15] = 3;
feld[19][10] = 9;
i = 20;
while (i <= 35) {
feld[i][10] = 3;
i++;
}
i = 30;
while (i <= 35) {
j = 11;
while (j < 15) {
feld[i][j] = 4;
j++;
}
i++;
}
feld[35][1] = 2;
feld[35][9] = 2;
feld[1][6] = 2;
feld[1][19] = 2;
titel = "2 ways";
_root.bahn11.text = _root.schlaege;
}
if (_root.level == 13) {
startx = 2;
starty = 2;
feld[34][18] = 6;
i = 6;
while (i < 30) {
feld[i][1] = 7;
feld[i][2] = 7;
feld[i][3] = 7;
feld[i][4] = 7;
feld[i][5] = 7;
feld[i][6] = 3;
feld[i][7] = 8;
feld[i][8] = 8;
feld[i][9] = 8;
feld[i][10] = 8;
feld[i][11] = 8;
feld[i][12] = 8;
feld[i][13] = 8;
feld[i][14] = 3;
feld[i][15] = 7;
feld[i][16] = 7;
feld[i][17] = 7;
feld[i][18] = 7;
feld[i][19] = 7;
i++;
}
feld[28][5] = 3;
feld[29][5] = 3;
feld[30][5] = 3;
feld[31][5] = 3;
feld[32][5] = 3;
feld[32][4] = 3;
feld[32][3] = 3;
feld[33][3] = 3;
feld[32][6] = 3;
feld[32][7] = 3;
feld[32][8] = 3;
feld[32][9] = 3;
feld[32][10] = 3;
feld[33][10] = 3;
feld[35][6] = 3;
feld[35][7] = 3;
feld[27][6] = 1;
feld[26][6] = 1;
feld[25][6] = 1;
feld[24][6] = 1;
feld[1][6] = 3;
feld[2][6] = 3;
feld[3][6] = 3;
feld[4][6] = 3;
feld[5][6] = 3;
feld[30][14] = 3;
feld[31][14] = 3;
feld[32][14] = 3;
feld[33][14] = 3;
feld[34][14] = 3;
feld[35][14] = 3;
feld[30][3] = 10;
feld[31][3] = 10;
feld[30][4] = 10;
feld[31][4] = 10;
feld[28][3] = 10;
feld[29][3] = 10;
feld[28][4] = 10;
feld[29][4] = 10;
feld[26][3] = 10;
feld[27][3] = 10;
feld[26][4] = 10;
feld[27][4] = 10;
feld[30][1] = 7;
feld[31][1] = 7;
feld[32][1] = 7;
feld[32][2] = 7;
feld[30][2] = 7;
feld[31][2] = 7;
feld[33][1] = 7;
feld[33][2] = 7;
feld[34][1] = 9;
feld[35][1] = 9;
feld[34][2] = 9;
feld[35][2] = 9;
feld[34][3] = 5;
feld[35][3] = 5;
feld[33][4] = 5;
feld[34][4] = 5;
feld[35][4] = 5;
feld[33][5] = 5;
feld[34][5] = 5;
feld[35][5] = 5;
feld[33][6] = 5;
feld[34][6] = 5;
feld[33][7] = 5;
feld[34][7] = 5;
feld[33][8] = 5;
feld[34][8] = 5;
feld[35][8] = 5;
feld[33][9] = 5;
feld[34][9] = 5;
feld[35][9] = 5;
feld[34][10] = 5;
feld[35][10] = 5;
feld[28][7] = 10;
feld[29][7] = 10;
feld[28][8] = 10;
feld[29][8] = 10;
feld[28][9] = 10;
feld[29][9] = 10;
feld[28][10] = 10;
feld[29][10] = 10;
feld[28][11] = 10;
feld[29][11] = 10;
feld[28][12] = 10;
feld[29][12] = 10;
feld[28][13] = 10;
feld[29][13] = 10;
feld[5][8] = 3;
feld[5][10] = 3;
feld[5][12] = 3;
feld[6][8] = 9;
feld[6][10] = 9;
feld[6][12] = 9;
feld[5][7] = 8;
feld[5][9] = 5;
feld[5][11] = 1;
feld[5][13] = 5;
feld[5][14] = 5;
feld[5][15] = 5;
feld[5][16] = 3;
feld[4][8] = 3;
feld[4][10] = 3;
feld[4][12] = 3;
feld[4][13] = 3;
feld[4][14] = 3;
feld[4][15] = 3;
feld[4][16] = 3;
feld[3][8] = 3;
feld[2][8] = 3;
feld[2][9] = 3;
feld[2][10] = 3;
feld[2][11] = 3;
feld[2][12] = 3;
feld[2][13] = 3;
feld[2][14] = 3;
feld[2][15] = 3;
feld[2][16] = 3;
feld[2][17] = 3;
feld[2][18] = 3;
feld[3][18] = 3;
feld[4][18] = 3;
feld[5][18] = 3;
feld[2][7] = 8;
feld[3][7] = 8;
feld[4][7] = 8;
feld[1][7] = 9;
feld[1][8] = 9;
feld[1][9] = 9;
feld[1][10] = 9;
feld[1][11] = 9;
feld[1][12] = 9;
feld[1][13] = 9;
feld[1][14] = 9;
feld[1][15] = 9;
feld[1][16] = 9;
feld[1][17] = 9;
feld[1][18] = 9;
feld[1][19] = 7;
feld[2][19] = 7;
feld[3][19] = 7;
feld[4][19] = 7;
feld[5][19] = 7;
feld[5][11] = 8;
feld[4][11] = 8;
feld[3][11] = 9;
feld[3][12] = 9;
feld[3][13] = 9;
feld[3][14] = 9;
feld[3][15] = 9;
feld[3][16] = 9;
feld[3][17] = 7;
feld[4][17] = 7;
feld[5][17] = 7;
feld[4][9] = 5;
feld[3][9] = 5;
feld[3][10] = 5;
titel = "short or long way?";
_root.bahn12.text = _root.schlaege;
}
if (_root.level == 14) {
startx = 34;
starty = 18;
feld[2][18] = 6;
i = 1;
while (i <= 35) {
feld[i][1] = 2;
feld[i][2] = 1;
feld[i][3] = 7;
feld[i][4] = 3;
i++;
}
feld[2][2] = 5;
feld[1][2] = 2;
feld[1][3] = 2;
feld[2][3] = 1;
feld[1][4] = 2;
feld[2][4] = 1;
feld[3][4] = 10;
feld[34][2] = 5;
feld[35][2] = 2;
feld[34][3] = 1;
feld[35][3] = 2;
feld[33][3] = 9;
feld[34][4] = 1;
feld[35][4] = 2;
feld[33][4] = 9;
i = 5;
while (i < 17) {
feld[1][i] = 2;
feld[2][i] = 1;
feld[3][i] = 10;
feld[4][i] = 3;
feld[35][i] = 2;
feld[34][i] = 1;
feld[33][i] = 9;
feld[32][i] = 3;
i++;
}
feld[32][17] = 3;
feld[32][18] = 3;
feld[32][19] = 3;
feld[4][17] = 3;
feld[4][18] = 3;
feld[4][19] = 3;
feld[5][7] = 5;
feld[5][8] = 5;
feld[6][9] = 5;
feld[6][10] = 5;
feld[7][11] = 5;
feld[7][12] = 5;
feld[8][10] = 5;
feld[8][9] = 5;
feld[9][8] = 5;
feld[9][7] = 5;
feld[11][8] = 5;
feld[11][9] = 5;
feld[11][10] = 5;
feld[11][11] = 5;
feld[12][7] = 5;
feld[13][7] = 5;
feld[14][7] = 5;
feld[15][8] = 5;
feld[15][9] = 5;
feld[15][10] = 5;
feld[15][11] = 5;
feld[14][12] = 5;
feld[13][12] = 5;
feld[12][12] = 5;
feld[17][7] = 5;
feld[18][5] = 5;
feld[18][6] = 5;
feld[18][7] = 5;
feld[18][8] = 5;
feld[18][9] = 5;
feld[18][10] = 5;
feld[18][11] = 5;
feld[19][12] = 5;
feld[20][12] = 5;
feld[19][7] = 5;
feld[20][7] = 5;
feld[22][8] = 5;
feld[22][9] = 5;
feld[22][10] = 5;
feld[22][11] = 5;
feld[23][7] = 5;
feld[23][9] = 5;
feld[23][12] = 5;
feld[24][7] = 5;
feld[24][9] = 5;
feld[24][12] = 5;
feld[25][8] = 5;
feld[25][9] = 5;
feld[25][11] = 5;
feld[28][6] = 4;
feld[28][7] = 4;
feld[28][8] = 4;
feld[28][9] = 4;
feld[29][9] = 4;
feld[30][9] = 4;
feld[31][10] = 4;
feld[31][11] = 4;
feld[30][12] = 4;
feld[29][12] = 4;
feld[28][12] = 4;
feld[29][6] = 4;
feld[30][6] = 4;
feld[31][6] = 4;
feld[18][16] = 2;
feld[17][19] = 2;
feld[18][19] = 2;
feld[19][19] = 2;
feld[16][18] = 2;
feld[20][18] = 2;
feld[16][14] = 2;
feld[20][14] = 2;
titel = "dream of 3 strokes";
_root.bahn13.text = _root.schlaege;
}
if (_root.level == 15) {
startx = 2;
starty = 4;
feld[34][2] = 6;
i = 1;
while (i <= 13) {
feld[i][i] = 3;
feld[i + 15][i + 6] = 3;
feld[i + 18][i] = 3;
i++;
}
titel = "around the corner";
_root.bahn14.text = _root.schlaege;
}
if (_root.level == 16) {
startx = 2;
starty = 2;
feld[34][18] = 6;
i = 4;
while (i < 32) {
feld[i][1] = 2;
feld[i][2] = 3;
feld[i][3] = 4;
feld[i][4] = 5;
feld[i][5] = 7;
feld[i][6] = 9;
feld[i][7] = 8;
feld[i][8] = 10;
feld[i][9] = 2;
feld[i][10] = 3;
feld[i][11] = 4;
feld[i][12] = 5;
feld[i][13] = 8;
feld[i][14] = 9;
feld[i][15] = 7;
feld[i][16] = 10;
feld[i][17] = 2;
feld[i][18] = 3;
feld[i][19] = 4;
i++;
}
titel = "everything";
_root.bahn15.text = _root.schlaege;
}
if (_root.level == 17) {
startx = 2;
starty = 2;
feld[23][16] = 5;
feld[23][6] = 3;
feld[14][6] = 10;
feld[8][19] = 1;
feld[16][14] = 1;
feld[18][14] = 5;
feld[22][12] = 7;
feld[7][17] = 5;
feld[8][9] = 8;
feld[3][13] = 1;
feld[21][7] = 1;
feld[31][1] = 10;
feld[29][8] = 2;
feld[14][12] = 5;
feld[15][2] = 4;
feld[32][11] = 1;
feld[22][4] = 9;
feld[5][8] = 5;
feld[31][12] = 4;
feld[15][14] = 8;
feld[19][6] = 5;
feld[17][4] = 9;
feld[24][2] = 9;
feld[6][9] = 2;
feld[21][18] = 9;
feld[26][16] = 10;
feld[22][9] = 5;
feld[5][12] = 7;
feld[18][9] = 1;
feld[12][18] = 7;
feld[28][9] = 4;
feld[22][19] = 7;
feld[17][13] = 9;
feld[25][16] = 10;
feld[20][9] = 4;
feld[18][4] = 3;
feld[34][17] = 1;
feld[24][19] = 1;
feld[27][10] = 1;
feld[16][16] = 7;
feld[29][13] = 1;
feld[19][6] = 1;
feld[16][15] = 10;
feld[14][10] = 1;
feld[29][2] = 5;
feld[6][12] = 10;
feld[11][12] = 1;
feld[31][6] = 10;
feld[3][1] = 10;
feld[25][10] = 4;
feld[10][7] = 2;
feld[11][18] = 10;
feld[10][7] = 2;
feld[32][15] = 10;
feld[14][12] = 5;
feld[10][15] = 1;
feld[14][2] = 2;
feld[13][1] = 8;
feld[11][2] = 1;
feld[26][16] = 1;
feld[1][3] = 7;
feld[32][9] = 1;
feld[5][14] = 10;
feld[5][12] = 3;
feld[22][1] = 1;
feld[9][6] = 7;
feld[16][14] = 5;
feld[10][2] = 1;
feld[13][8] = 1;
feld[18][3] = 7;
feld[7][3] = 5;
feld[8][2] = 1;
feld[5][4] = 1;
feld[15][6] = 8;
feld[18][18] = 4;
feld[7][4] = 4;
feld[23][13] = 7;
feld[8][18] = 4;
feld[28][6] = 5;
feld[17][16] = 10;
feld[34][1] = 1;
feld[21][5] = 2;
feld[23][7] = 2;
feld[16][16] = 4;
feld[29][6] = 8;
feld[10][10] = 7;
feld[34][3] = 9;
feld[15][7] = 5;
feld[33][3] = 4;
feld[31][12] = 7;
feld[33][12] = 5;
feld[6][5] = 5;
feld[14][18] = 8;
feld[29][7] = 1;
feld[20][4] = 10;
feld[9][9] = 2;
feld[4][9] = 8;
feld[20][17] = 9;
feld[34][17] = 2;
feld[24][14] = 4;
feld[9][14] = 1;
feld[27][16] = 7;
feld[19][5] = 9;
feld[23][2] = 8;
feld[21][13] = 1;
feld[29][18] = 3;
feld[20][1] = 8;
feld[15][12] = 2;
feld[24][12] = 1;
feld[3][6] = 10;
feld[4][11] = 7;
feld[26][7] = 4;
feld[21][17] = 2;
feld[13][11] = 5;
feld[17][3] = 1;
feld[28][19] = 2;
feld[21][10] = 1;
feld[28][19] = 1;
feld[32][13] = 8;
feld[31][14] = 3;
feld[21][16] = 7;
feld[34][11] = 2;
feld[7][3] = 5;
feld[23][11] = 4;
feld[7][1] = 10;
feld[15][16] = 1;
feld[20][8] = 1;
feld[25][5] = 1;
feld[17][4] = 5;
feld[29][2] = 1;
feld[17][13] = 9;
feld[24][13] = 7;
feld[8][16] = 2;
feld[21][10] = 4;
feld[18][13] = 9;
feld[21][2] = 10;
feld[21][13] = 8;
feld[6][8] = 1;
feld[23][17] = 4;
feld[29][14] = 1;
feld[24][4] = 7;
feld[13][17] = 3;
feld[20][2] = 10;
feld[33][13] = 8;
feld[30][4] = 3;
feld[28][15] = 10;
feld[19][8] = 1;
feld[25][11] = 7;
feld[5][5] = 1;
feld[26][2] = 10;
feld[14][15] = 7;
feld[26][3] = 9;
feld[26][14] = 7;
feld[20][13] = 8;
feld[30][11] = 4;
feld[29][7] = 1;
feld[31][18] = 4;
feld[21][12] = 8;
feld[25][15] = 4;
feld[23][10] = 1;
feld[11][18] = 7;
feld[5][13] = 4;
feld[28][8] = 5;
feld[20][19] = 2;
feld[34][16] = 9;
feld[21][13] = 4;
feld[1][11] = 8;
feld[28][4] = 7;
feld[6][17] = 3;
feld[27][11] = 1;
feld[16][17] = 1;
feld[30][19] = 5;
feld[14][16] = 1;
feld[22][7] = 1;
feld[18][7] = 5;
feld[33][19] = 4;
feld[25][19] = 1;
feld[14][15] = 1;
feld[24][18] = 8;
feld[26][14] = 1;
feld[11][3] = 1;
feld[27][1] = 10;
feld[32][8] = 10;
feld[17][1] = 8;
feld[1][11] = 1;
feld[14][10] = 5;
feld[14][4] = 4;
feld[34][11] = 4;
feld[25][5] = 1;
feld[12][19] = 1;
feld[17][6] = 8;
feld[17][2] = 9;
feld[16][19] = 10;
feld[8][9] = 3;
feld[12][10] = 3;
feld[28][17] = 9;
feld[9][6] = 3;
feld[21][5] = 5;
feld[26][19] = 1;
feld[27][6] = 4;
feld[19][15] = 4;
feld[16][5] = 7;
feld[13][14] = 7;
feld[24][18] = 7;
feld[1][6] = 1;
feld[31][3] = 7;
feld[9][7] = 5;
feld[27][19] = 8;
feld[31][14] = 1;
feld[10][10] = 1;
feld[22][1] = 3;
feld[10][10] = 1;
feld[1][17] = 4;
feld[25][10] = 1;
feld[31][11] = 1;
feld[19][9] = 3;
feld[3][13] = 4;
feld[30][9] = 8;
feld[32][7] = 8;
feld[33][13] = 5;
feld[11][6] = 10;
feld[15][11] = 1;
feld[28][11] = 5;
feld[31][6] = 3;
feld[32][4] = 9;
feld[9][14] = 4;
feld[25][15] = 9;
feld[18][13] = 5;
feld[10][11] = 10;
feld[26][11] = 3;
feld[25][16] = 10;
feld[25][5] = 2;
feld[7][1] = 8;
feld[18][18] = 4;
feld[13][17] = 7;
feld[27][3] = 9;
feld[21][17] = 1;
feld[5][7] = 3;
feld[4][12] = 10;
feld[15][8] = 1;
feld[14][2] = 1;
feld[23][16] = 10;
feld[16][19] = 2;
feld[29][10] = 2;
feld[18][17] = 1;
feld[13][13] = 1;
feld[32][6] = 2;
feld[10][8] = 1;
feld[9][10] = 4;
feld[29][18] = 1;
feld[32][7] = 4;
feld[30][19] = 5;
feld[2][9] = 3;
feld[10][6] = 3;
feld[16][16] = 8;
feld[18][4] = 7;
feld[25][2] = 3;
feld[26][7] = 1;
feld[6][12] = 1;
feld[7][9] = 5;
feld[21][8] = 4;
feld[4][5] = 8;
feld[15][6] = 8;
feld[25][12] = 2;
feld[19][2] = 5;
feld[9][12] = 3;
feld[21][6] = 5;
feld[8][2] = 1;
feld[9][5] = 10;
feld[26][9] = 5;
feld[7][1] = 10;
feld[33][4] = 3;
feld[25][12] = 1;
feld[32][6] = 9;
feld[16][16] = 5;
feld[26][2] = 1;
feld[9][13] = 1;
feld[28][17] = 4;
feld[25][3] = 5;
feld[9][17] = 7;
feld[8][2] = 1;
feld[20][1] = 2;
feld[6][15] = 4;
feld[3][13] = 10;
feld[20][3] = 2;
feld[4][17] = 1;
feld[9][3] = 1;
feld[24][18] = 8;
feld[7][13] = 7;
feld[31][18] = 9;
feld[3][3] = 7;
feld[10][14] = 8;
feld[22][18] = 8;
feld[20][19] = 5;
feld[29][11] = 2;
feld[31][13] = 3;
feld[2][18] = 2;
feld[30][12] = 3;
feld[19][15] = 2;
feld[34][18] = 6;
feld[2][2] = 1;
titel = "it's possible with 2";
_root.bahn16.text = _root.schlaege;
}
if (_root.level == 18) {
startx = 2;
starty = 2;
feld[35][15] = 6;
feld[35][17] = 6;
feld[35][19] = 6;
feld[34][16] = 6;
feld[34][18] = 6;
feld[33][15] = 6;
feld[33][17] = 6;
feld[33][19] = 6;
feld[32][16] = 6;
feld[32][18] = 6;
feld[31][15] = 6;
feld[31][17] = 6;
feld[31][19] = 6;
feld[1][1] = 5;
feld[3][1] = 5;
feld[2][2] = 5;
feld[4][2] = 5;
feld[1][3] = 5;
feld[3][3] = 5;
feld[2][4] = 5;
feld[4][4] = 5;
feld[1][5] = 5;
feld[3][5] = 5;
feld[2][6] = 5;
feld[4][6] = 5;
feld[13][3] = 4;
feld[14][3] = 4;
feld[15][3] = 4;
feld[16][3] = 4;
feld[17][3] = 4;
feld[18][3] = 4;
feld[13][4] = 4;
feld[14][4] = 4;
feld[15][4] = 4;
feld[16][4] = 4;
feld[17][4] = 4;
feld[18][4] = 4;
feld[14][2] = 4;
feld[15][2] = 4;
feld[16][2] = 4;
feld[14][5] = 4;
feld[17][5] = 4;
feld[14][10] = 5;
feld[15][10] = 5;
feld[16][10] = 5;
feld[17][10] = 5;
feld[18][10] = 5;
feld[19][10] = 5;
feld[14][11] = 5;
feld[15][11] = 5;
feld[16][11] = 5;
feld[17][11] = 5;
feld[18][11] = 5;
feld[19][11] = 5;
feld[16][9] = 5;
feld[17][9] = 5;
feld[18][9] = 5;
feld[15][12] = 5;
feld[18][12] = 5;
feld[13][16] = 2;
feld[14][16] = 2;
feld[15][16] = 2;
feld[16][16] = 2;
feld[17][16] = 2;
feld[18][16] = 2;
feld[13][17] = 2;
feld[14][17] = 2;
feld[15][17] = 2;
feld[16][17] = 2;
feld[17][17] = 2;
feld[18][17] = 2;
feld[14][15] = 2;
feld[15][15] = 2;
feld[16][15] = 2;
feld[14][18] = 2;
feld[17][18] = 2;
i = 1;
while (i < 30) {
feld[i][7] = 3;
feld[i + 6][14] = 3;
i++;
}
titel = "final lap";
_root.bahn17.text = _root.schlaege;
}
if (_root.level == 19) {
_root.bahn18.text = _root.schlaege;
_root.clear();
_root.play();
} else {
_root.gotoAndPlay("feldframe");
}
Frame 253
stop();
Symbol 14 Button
on (release) {
getURL ("http://der-wahnsinn.newgrounds.com", "_blank");
}
Symbol 17 Button
on (release) {
getURL ("http://der-wahnsinn.newgrounds.com", "_blank");
}
Symbol 34 Button
on (release) {
_root.zu = 1;
_root.play();
}
Symbol 35 Button
on (release) {
_root.zu = 2;
_root.play();
}
Symbol 36 Button
on (release) {
_root.zu = 3;
_root.play();
}
Symbol 37 Button
on (release) {
_root.zu = 4;
_root.play();
}
Symbol 38 Button
on (release) {
getURL ("http://www.timonpeters.de/games/scores/minigolf.php", "_blank");
}
Symbol 39 Button
on (release) {
getURL ("http://www.wahnsinn.de.tl", "_blank");
}
Symbol 43 Button
on (release) {
_root.gotoAndPlay("instructions");
}
Symbol 46 Button
on (release) {
_root.gotoAndPlay("spiel");
}
Symbol 49 Button
on (release) {
getURL ("http://derwahnsinn.de.funpic.de/scores/minigolf.php", "_blank");
}
Symbol 50 Button
on (release) {
_root.play();
}
Symbol 55 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 61 Button
on (release) {
_root.play();
}
Symbol 74 Button
on (release) {
_root.prevFrame();
}
Symbol 125 Button
on (release) {
_root.dreh = 1;
}
on (rollOver) {
_root.hovered = true;
}
on (rollOut) {
_root.hovered = false;
}
Symbol 128 Button
on (release) {
_root.dreh = 2;
}
on (rollOver) {
_root.hovered = true;
}
on (rollOut) {
_root.hovered = false;
}
Symbol 131 Button
on (release) {
_root.dreh = 3;
}
on (rollOver) {
_root.hovered = true;
}
on (rollOut) {
_root.hovered = false;
}
Symbol 134 Button
on (release) {
_root.dreh = 4;
}
on (rollOver) {
_root.hovered = true;
}
on (rollOut) {
_root.hovered = false;
}
Symbol 147 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 149 Button
on (release) {
getURL ("http://der-wahnsinn.newgrounds.com", "_blank");
}
Symbol 153 Button
on (release) {
if (_root.doublespeed == true) {
_root.doublespeed = false;
} else {
_root.doublespeed = true;
}
}
Symbol 154 Button
on (release) {
if (_root.inverted == true) {
_root.inverted = false;
} else {
_root.inverted = true;
}
_root.feldmalen();
}
Symbol 156 Button
on (release) {
if (_root._quality == "HIGH") {
_root._quality = "LOW";
} else {
_root._quality = "HIGH";
}
}
Instance of Symbol 158 MovieClip in Symbol 160 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.doublespeed == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 158 MovieClip in Symbol 160 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.inverted == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 158 MovieClip in Symbol 160 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root._quality == "HIGH") {
this._visible = true;
} else {
this._visible = false;
}
}