Frame 1
function EMailTest(T) {
p = T.indexOf("@", 0);
if (p == -1) {
return(false);
}
p = T.indexOf(".", p);
if (p == -1) {
return(false);
}
return(true);
}
function ZahlAusgabe(z) {
if (z < 1000) {
txt = "" + z;
} else {
h = z % 1000;
ht = "" + h;
if (h < 100) {
ht = "0" + ht;
}
if (h < 10) {
ht = "0" + ht;
}
txt = (("" + int(z / 1000)) + ".") + ht;
}
return(txt);
}
loadVariablesNum ("ini.txt", 0);
SoundAn = true;
Schlechter = false;
RadioWert = 0;
InfosErlaubt = false;
NickName = "";
Anrede = "";
Name = "";
VorName = "";
Str = "";
PLZ = "";
Ort = "";
Land = "";
Mail = "";
punkte = 0;
HiScorePos = 1;
hiscore_loaded == "no";
BandFeld = Array(64);
BandRichtung = Array(64);
i = 0;
while (i < 64) {
BandFeld[i] = Array(64);
BandRichtung[i] = Array(64);
i++;
}
Zeile = Array();
var PfeilWert = Array();
FI = Array();
FK = Array();
PfeilNummer = Array();
i = 0;
while (i <= 60) {
PfeilNummer[i] = Array();
i++;
}
MaxX = 57;
MaxY = 57;
var RichtigGeliefert = Array(10);
var FalschGeliefert = Array(10);
var PacketX = Array();
var PacketY = Array();
var PacketRichtung = Array();
var PacketStartZeit = Array();
var PacketWert = Array();
var Level = 0;
Schatten = true;
Rand = true;
var schattenFarbe = 8552314;
var randRechtsFarbe = 16777200;
var randLinksFarbe = 16777200;
var OberflaecheFarbe = 15920079;
var PfeilFarbe = 13880497;
var BandStufenAnzahl = 4;
var w16 = 12.972027972028;
var w8 = (w16 * 0.5773502);
var w4 = (w8 / 2);
var NoetigePakete = 0;
var SpielGestartet = false;
var BandStop = false;
var StartZeit = getTimer();
var offsetX = 349;
var offsetY = -167;
var AktuellerFrame = 0;
var LetztesPacketStartFrame = 0;
var wegStueck = 0.25;
var MinAbstand = 1.02;
var MinAbstand90 = 0.9;
var MinYAbstand = 30;
var AufbauZaehler = 0;
var nr = 0;
var SchiffStufe = Array(7);
SchiffStufe[1] = 0;
SchiffStufe[2] = 0;
SchiffStufe[3] = 0;
var LKWStufe = Array(7);
LKWStufe[1] = 0;
LKWStufe[2] = 0;
LKWStufe[3] = 0;
var FliegerStufe = Array(7);
FliegerStufe[1] = 0;
FliegerStufe[2] = 0;
FliegerStufe[3] = 0;
Frame 11
_quality = "HIGHT";
Prozent = 0;
Loaded = _root.getBytesLoaded();
Total = _root.getBytesTotal();
if (Loaded < Total) {
Prozent = ("Das Spiel wird geladen: " + int((100 * Loaded) / Total)) + " %";
} else {
gotoAndPlay (35);
}
Frame 12
gotoAndPlay (11);
Frame 35
_quality = "HIGH";
loadMovie ("http://www.kontrabandcontent.co.uk/1/graphics/games/dachser_intro.swf", "introX");
loadMovieNum ("http://www.kontrabandcontent.co.uk/1/graphics/games/dachser_intro.swf", 1);
Level_input = 1;
h = 1;
stop();
onMouseDown = function () {
};
onEnterFrame = function () {
AltZeit = Zeit;
Zeit = getTimer();
DZeit = Zeit - AltZeit;
Zaehler++;
_Menue._visible = true;
_Menue.gotoAndStop("Start");
debug = (h + " ") + _level1._totalframes;
_level1.gotoAndStop(h);
h++;
};
Frame 36
gotoAndPlay (35);
Frame 53
MaxLevel = 10;
if (Level_input != 0) {
Level = Level_input - 1;
Level_input = 0;
}
Level++;
if (Level > MaxLevel) {
Level = 1;
}
gotoAndPlay (59);
Frame 59
function nichterlaubt(xx, yy) {
if ((PfeilWert[PfeilNummer[xx][yy]] == 1) && (BandFeld[xx][yy + 1] != 5)) {
return(true);
}
if ((PfeilWert[PfeilNummer[xx][yy]] == 2) && (BandFeld[xx + 1][yy] != 10)) {
return(true);
}
if ((PfeilWert[PfeilNummer[xx][yy]] == 3) && (BandFeld[xx][yy - 1] != -5)) {
return(true);
}
if ((PfeilWert[PfeilNummer[xx][yy]] == 4) && (BandFeld[xx - 1][yy] != -10)) {
return(true);
}
return(false);
}
function schleife() {
AltZeit = Zeit;
Zeit = getTimer();
z = 1;
while (z <= NoetigePakete) {
if (Animation[z]._visible) {
Animation[z]._y = Animation[z]._y - 2;
Animation[z]._alpha = Animation[z]._alpha - 10;
Animation[z]._xscale = Animation[z]._xscale + 5;
Animation[z]._yscale = Animation[z]._yscale + 5;
if (Animation[z]._alpha <= 5) {
Animation[z]._visible = false;
Animation[z]._alpha = 100;
Animation[z]._xscale = 100;
Animation[z]._yscale = 100;
}
}
z++;
}
if (LevelFertig || ((LevelSec == 0) && (LevelMin == 0))) {
z = 1;
while (z <= PacketAnzahl) {
Abladen(MRi, MRk, PacketWert[z], z, Packet[z]._x, Packet[z]._y);
Packet[z]._visible = false;
z++;
}
PacketAnzahl = 0;
LevelReport._visible = true;
LevelReport.Headline = "Active Report Level " + Level;
LevelReport.Anzahl1 = (((" " + RichtigGeliefert[1]) + " x richtig, ") + FalschGeliefert[1]) + " x falsch";
LevelReport.Anzahl2 = (((" " + RichtigGeliefert[2]) + " x richtig, ") + FalschGeliefert[2]) + " x falsch";
LevelReport.Anzahl3 = (((" " + RichtigGeliefert[3]) + " x richtig, ") + FalschGeliefert[3]) + " x falsch";
LevelReport.Anzahl4 = (((" " + RichtigGeliefert[4]) + " x richtig, ") + FalschGeliefert[4]) + " x falsch";
LevelReport.Anzahl5 = (((" " + RichtigGeliefert[5]) + " x richtig, ") + FalschGeliefert[5]) + " x falsch";
h = LevelPunkte;
h2 = h;
if (h < 10000) {
h2 = "0" + h2;
}
if (h < 1000) {
h2 = "0" + h2;
}
if (h < 100) {
h2 = "0" + h2;
}
if (h < 10) {
h2 = "0" + h2;
}
LevelReport.Summe = "" + h2;
LevelPunkte = ZahlAusgabe(h);
if (LevelReport._alpha < 90) {
LevelReport._alpha = LevelReport._alpha + 3;
}
if ((Level == MaxLevel) || ((LevelSec == 0) && (LevelMin == 0))) {
if ((LevelSec == 0) && (LevelMin == 0)) {
LevelReport.Status = "Sie haben den Level nicht gel\u00F6st.";
} else {
LevelReport.Status = "Sie haben den letzten Level gel\u00F6st.";
}
LevelReport.GameOver._visible = true;
LevelReport.starten._visible = false;
} else {
LevelReport.Status = "Sie haben den Level gel\u00F6st.";
LevelReport.eintragen._visible = false;
LevelReport.starten._visible = true;
LevelReport.GameOver._visible = false;
}
LevelReport.Zeit = LevelZeit;
} else if ((AktuellerFrame % 20) == 0) {
LevelSec--;
if (LevelSec == -1) {
if (LevelMin == 0) {
LevelSec = 0;
} else {
LevelSec = 59;
LevelMin--;
}
}
if (LevelMin < 10) {
if (LevelSec < 10) {
LevelZeit = (("0" + LevelMin) + ":0") + LevelSec;
} else {
LevelZeit = (("0" + LevelMin) + ":") + LevelSec;
}
} else if (LevelSec < 10) {
LevelZeit = (("" + LevelMin) + ":0") + LevelSec;
} else {
LevelZeit = (("" + LevelMin) + ":") + LevelSec;
}
}
AktuellerFrame++;
if ((Zeit - StartZeit) < (AktuellerFrame * 50)) {
hx = (hx + 1) % BandStufenAnzahl;
BandStufen[hxalt]._visible = false;
BandStufen[hx + 1]._visible = true;
hxalt = hx + 1;
}
if ((NoetigePakete * DurchLauf) == GeliefertePackete) {
LevelFertig = true;
}
z = 1;
while (z <= 3) {
if (SchiffStufe[z] > 0) {
SchiffStufe[z]++;
Schiff[z]._x = ProjektionX(18 + (10 * Math.cos(SchiffStufe[z] / 50)), 55 - (z * 4));
Schiff[z]._y = ProjektionY(18 + (10 * Math.cos(SchiffStufe[z] / 50)), 55 - (z * 4));
if (SchiffStufe[z] > 157) {
SchiffStufe[z] = 0;
}
}
if (LKWStufe[z] > 0) {
LKWStufe[z]++;
LKW[z]._x = ProjektionX(40 + (z * 4), 52 - (10 * Math.cos(LKWStufe[z] / 50)));
LKW[z]._y = ProjektionY(40 + (z * 4), 52 - (10 * Math.cos(LKWStufe[z] / 50)));
if (LKWStufe[z] > 157) {
LKWStufe[z] = 0;
}
}
if (FliegerStufe[z] > 0) {
FliegerStufe[z]++;
if (FliegerStufe[z] > 157) {
FliegerStufe[z] = 0;
}
}
z++;
}
weiter = true;
while (weiter) {
weiter = false;
z = 1;
while (z <= (PacketAnzahl - 1)) {
if (Packet[z]._y > Packet[z + 1]._y) {
weiter = true;
h = PacketX[z];
PacketX[z] = PacketX[z + 1];
PacketX[z + 1] = h;
h = PacketY[z];
PacketY[z] = PacketY[z + 1];
PacketY[z + 1] = h;
h = Packet[z]._x;
Packet[z]._x = Packet[z + 1]._x;
Packet[z + 1]._x = h;
h = Packet[z]._y;
Packet[z]._y = Packet[z + 1]._y;
Packet[z + 1]._y = h;
h = PacketWert[z];
PacketWert[z] = PacketWert[z + 1];
PacketWert[z + 1] = h;
h = PacketRichtung[z];
PacketRichtung[z] = PacketRichtung[z + 1];
PacketRichtung[z + 1] = h;
h = PacketStartZeit[z];
PacketStartZeit[z] = PacketStartZeit[z + 1];
PacketStartZeit[z + 1] = h;
if (PacketX[z] < 10) {
Packet[z].gotoAndStop(6);
} else {
Packet[z].gotoAndStop(PacketWert[z]);
}
if (PacketX[z + 1] < 10) {
Packet[z + 1].gotoAndStop(6);
} else {
Packet[z + 1].gotoAndStop(PacketWert[z + 1]);
}
}
z++;
}
}
hhh = 0;
Laser._visible = false;
z = 1;
while (z <= PacketAnzahl) {
i = PacketX[z];
k = PacketY[z];
Richtung = PacketRichtung[z];
MRi = Math.round(i);
MRk = Math.round(k);
PacketZ_y = Packet[z]._y;
if (PacketX[z] == 10) {
Ton_Scanner.start(0, 1);
}
if (MRi == 11) {
Laser._visible = true;
}
if (BandFeld[MRi][MRk] != Richtung) {
RichtungsAenderung = false;
if (Richtung > 0) {
if (Richtung == 10) {
if (i >= MRi) {
RichtungsAenderung = true;
}
} else if (k >= MRk) {
RichtungsAenderung = true;
}
} else if (Richtung == -10) {
if (i <= MRi) {
RichtungsAenderung = true;
}
} else if (k <= MRk) {
RichtungsAenderung = true;
}
if (RichtungsAenderung) {
h = BandFeld[MRi][MRk];
if (((h == 10) || (h == -3)) || (h == 6)) {
k = MRk;
PacketRichtung[z] = 10;
}
if (((h == -10) || (h == 12)) || (h == -9)) {
k = MRk;
PacketRichtung[z] = -10;
}
if (((h == 5) || (h == 9)) || (h == 3)) {
i = MRi;
PacketRichtung[z] = 5;
}
if (((h == -5) || (h == -12)) || (h == -6)) {
i = MRi;
PacketRichtung[z] = -5;
}
}
}
h = PacketRichtung[z];
hpi = 0;
hpk = 0;
Abstandi = 0.9;
Abstandk = 0.9;
if (h > 0) {
if (h == 10) {
hpi = wegStueck;
Abstandi = 1;
} else {
hpk = wegStueck;
Abstandk = 1;
}
} else if (h == -10) {
hpi = -wegStueck;
Abstandi = 1;
} else {
hpk = -wegStueck;
Abstandk = 1;
}
ihpi = i + hpi;
khpk = k + hpk;
erlaubt = true;
g = z - 1;
while (g > 0) {
if (Packet[g]._y < (PacketZ_y - 16)) {
break;
}
hhh++;
if (Math.abs(ihpi - PacketX[g]) <= Abstandi) {
if (Math.abs(khpk - PacketY[g]) <= Abstandk) {
erlaubt = false;
break;
}
}
g--;
}
if (erlaubt) {
g = z + 1;
while (g <= PacketAnzahl) {
if (Packet[g]._y > (PacketZ_y + 16)) {
break;
}
hhh++;
if (Math.abs(ihpi - PacketX[g]) <= Abstandi) {
if (Math.abs(khpk - PacketY[g]) <= Abstandk) {
erlaubt = false;
break;
}
}
g++;
}
}
if (erlaubt) {
i = i + hpi;
k = k + hpk;
} else {
hf = 10 + (Math.random() * 10);
i = i - (hpi / hf);
k = k - (hpk / hf);
}
PacketX[z] = i;
PacketY[z] = k;
Packet[z]._x = Packet[z]._x + ((ProjektionX(PacketX[z], PacketY[z]) - Packet[z]._x) / 4);
Packet[z]._y = Packet[z]._y + ((ProjektionY(PacketX[z], PacketY[z]) - Packet[z]._y) / 4);
if (PacketX[z] < 10) {
Packet[z].gotoAndStop(6);
} else {
Packet[z].gotoAndStop(PacketWert[z]);
}
if (BandFeld[MRi][MRk] == 0) {
Abladen(MRi, MRk, PacketWert[z], z, Packet[z]._x, Packet[z]._y);
zz = z;
while (zz < PacketAnzahl) {
PacketX[zz] = PacketX[zz + 1];
PacketY[zz] = PacketY[zz + 1];
Packet[zz]._x = Packet[zz + 1]._x;
Packet[zz]._y = Packet[zz + 1]._y;
PacketWert[zz] = PacketWert[zz + 1];
PacketRichtung[zz] = PacketRichtung[zz + 1];
PacketStartZeit[zz] = PacketStartZeit[zz + 1];
Packet[zz].gotoAndStop(PacketWert[zz + 1]);
zz++;
}
Packet[PacketAnzahl]._visible = false;
PacketAnzahl--;
z--;
}
z++;
}
if (PacketAnzahl < 10) {
neuesPacket();
}
}
function neuesPacket() {
if (LetztesPacketStartFrame > (AktuellerFrame - 100)) {
return(undefined);
}
if (PacketAnzahl >= NoetigePakete) {
return(undefined);
}
if (LevelFertig || ((LevelSec == 0) && (LevelMin == 0))) {
return(undefined);
}
var unterwegs = Array();
z = 1;
while (z <= PacketAnzahl) {
unterwegs[z] = PacketWert[z];
z++;
}
var x = 0;
var erlaubt = true;
var moeglichkeit = Array();
var zzz = 0;
z = 1;
while (z < 4) {
if ((SchiffStufe[3 + z] % 10) != 0) {
erlaubt = true;
x = 1;
while (x <= PacketAnzahl) {
if (erlaubt && (unterwegs[x] == (SchiffStufe[3 + z] % 10))) {
erlaubt = false;
unterwegs[x] = -1;
}
x++;
}
if (erlaubt) {
zzz++;
moeglichkeit[zzz] = SchiffStufe[3 + z] % 10;
}
}
if ((LKWStufe[3 + z] % 10) != 0) {
erlaubt = true;
x = 1;
while (x <= PacketAnzahl) {
if (erlaubt && (unterwegs[x] == (LKWStufe[3 + z] % 10))) {
erlaubt = false;
unterwegs[x] = -1;
}
x++;
}
if (erlaubt) {
zzz++;
moeglichkeit[zzz] = LKWStufe[3 + z] % 10;
}
}
if ((FliegerStufe[3 + z] % 10) != 0) {
erlaubt = true;
x = 1;
while (x <= PacketAnzahl) {
if (erlaubt && (unterwegs[x] == (FliegerStufe[3 + z] % 10))) {
erlaubt = false;
unterwegs[x] = -1;
}
x++;
}
if (erlaubt) {
zzz++;
moeglichkeit[zzz] = FliegerStufe[3 + z] % 10;
}
}
z++;
}
if (zzz == 0) {
return(undefined);
}
var nr = (1 + Math.floor(Math.random() * zzz));
var wert = moeglichkeit[nr];
LetztesPacketStartFrame = AktuellerFrame;
PacketAnzahl++;
Packet._x = 0;
Packet._y = 0;
z = PacketAnzahl;
if (PacketMovieAnzahl < PacketAnzahl) {
PacketMovieAnzahl++;
Packet.attachMovie("Packet", z, z);
}
PacketStartZeit[z] = AktuellerFrame;
PacketWert[z] = wert;
Packet[z].gotoAndStop(6);
Packet[z]._visible = true;
PacketX[z] = 7;
PacketY[z] = 28;
Packet[z]._x = ProjektionX(PacketX[z], PacketY[z]);
Packet[z]._y = ProjektionY(PacketX[z], PacketY[z]);
PacketRichtung[z] = BandFeld[PacketX[z]][PacketY[z]];
}
function Abladen(x, y, wert, pnr, px, py) {
var nr = 1;
var z = 0;
z = 1;
while (z <= NoetigePakete) {
if (!Animation[z]._visible) {
nr = z;
}
z++;
}
z = 1;
while (z < 4) {
if ((x == 28) && (y == (55 - (z * 4)))) {
if ((SchiffStufe[z] == 0) && (wert == (SchiffStufe[3 + z] % 10))) {
SchiffStufe[3 + z] = Math.floor(SchiffStufe[3 + z] / 10);
debug = SchiffStufe[3 + z];
if (SchiffStufe[3 + z] == 0) {
Ton_Schiff.start(0, 1);
Schiff[3 + z].gotoAndStop(6);
SchiffStufe[z] = 1;
} else {
Schiff[3 + z].gotoAndStop(SchiffStufe[3 + z] % 10);
}
Animation[nr]._visible = true;
Animation[nr]._alpha = 100;
Animation[nr]._xscale = 100;
Animation[nr]._x = px;
Animation[nr]._y = py;
h = int(100 - ((AktuellerFrame - PacketStartZeit[pnr]) / 20));
if (h < 25) {
h = 25;
}
Animation[nr].Score = h;
Punkte = Punkte + h;
LevelPunkte = LevelPunkte + h;
TSpielPunkte = ZahlAusgabe(Punkte);
RichtigGeliefert[wert]++;
GeliefertePackete++;
return(undefined);
}
}
if ((x == (40 + (z * 4))) && (y == 41)) {
if ((LKWStufe[z] == 0) && (wert == (LKWStufe[3 + z] % 10))) {
LKWStufe[3 + z] = Math.floor(LKWStufe[3 + z] / 10);
if (LKWStufe[3 + z] == 0) {
Ton_LKW.start(0, 1);
LKW[3 + z].gotoAndStop(6);
LKWStufe[z] = 1;
} else {
LKW[3 + z].gotoAndStop(LKWStufe[3 + z] % 10);
}
Animation[nr]._visible = true;
Animation[nr]._alpha = 100;
Animation[nr]._xscale = 100;
Animation[nr]._x = px;
Animation[nr]._y = py;
h = int(100 - ((AktuellerFrame - PacketStartZeit[pnr]) / 20));
if (h < 25) {
h = 25;
}
Animation[nr].Score = h;
Punkte = Punkte + h;
LevelPunkte = LevelPunkte + h;
TSpielPunkte = ZahlAusgabe(Punkte);
RichtigGeliefert[wert]++;
GeliefertePackete++;
return(undefined);
}
}
if ((x == 31) && (y == (2 + (z * 4)))) {
if ((FliegerStufe[z] == 0) && (wert == (FliegerStufe[3 + z] % 10))) {
FliegerStufe[3 + z] = Math.floor(FliegerStufe[3 + z] / 10);
if (FliegerStufe[3 + z] == 0) {
Ton_Flieger.start(0, 1);
Flieger[z].gotoAndPlay(2);
Flieger[3 + z].gotoAndStop(6);
FliegerStufe[z] = 1;
} else {
Flieger[3 + z].gotoAndStop(FliegerStufe[3 + z] % 10);
}
Animation[nr]._visible = true;
Animation[nr]._alpha = 100;
Animation[nr]._xscale = 100;
Animation[nr]._x = px;
Animation[nr]._y = py;
h = int(100 - ((AktuellerFrame - PacketStartZeit[pnr]) / 20));
if (h < 25) {
h = 25;
}
Animation[nr].Score = h;
Punkte = Punkte + h;
LevelPunkte = LevelPunkte + h;
RichtigGeliefert[wert]++;
GeliefertePackete++;
TSpielPunkte = ZahlAusgabe(Punkte);
return(undefined);
}
}
z++;
}
Ton_Falsch.start(0, 1);
Animation[nr]._visible = true;
Animation[nr]._alpha = 100;
Animation[nr]._xscale = 100;
Animation[nr]._x = px;
Animation[nr]._y = py;
h = int((-(AktuellerFrame - PacketStartZeit[pnr])) / 20);
Animation[nr].Score = h;
Punkte = Punkte + h;
LevelPunkte = LevelPunkte + h;
if (Punkte < 0) {
LevelPunkte = LevelPunkte - Punkte;
Punkte = 0;
}
TSpielPunkte = ZahlAusgabe(Punkte);
FalschGeliefert[wert]++;
Report.schrift.gotoAndPlay(2);
}
function init() {
var i;
var k;
zeit = getTimer();
var px;
var py;
hx = 1;
hxalt = 1;
PacketAnzahl = 0;
PacketMovieAnzahl = 0;
Pfeil._x = 0;
Pfeil._Y = 0;
Flora._x = 0;
Flora._y = 0;
BandStufen._x = 0;
BandStufen._y = 0;
Schiff._x = 0;
Schiff._y = 0;
LKW._x = 0;
LKW._y = 0;
Flieger._x = 0;
Flieger._y = 0;
Animation._x = 0;
Animation._y = 0;
var LichtReihe = Array();
LichtStart = Math.floor(Math.random() * 5);
z = 1;
while (z <= (NoetigePakete * DurchLauf)) {
LichtReihe[z] = 1 + ((LichtStart + z) % 5);
Animation.attachMovie("PunkteAni", z, z);
Animation[z]._visible = false;
z++;
}
LichtZaehler = 0;
z = 1;
while (z < 4) {
SchiffStufe[z] = 0;
if (Zeile[29].substr(55 - (z * 4), 1) != ".") {
Schiff.attachMovie("Mschiff", z, z);
Schiff[z]._x = ProjektionX(28, 55 - (z * 4));
Schiff[z]._y = ProjektionY(28, 55 - (z * 4));
}
LKWStufe[z] = 0;
if (Zeile[40 + (z * 4)].substr(40, 1) != ".") {
LKW.attachMovie("Mlkw", z, z);
LKW[z]._x = ProjektionX(40 + (z * 4), 42);
LKW[z]._y = ProjektionY(40 + (z * 4), 42);
LKW[z].gotoAndStop(z);
}
FliegerStufe[z] = 0;
if (Zeile[30].substr(2 + (z * 4), 1) != ".") {
Flieger.attachMovie("MFlieger", z, z + 10);
Flieger[z]._x = ProjektionX(32, 2 + (z * 4)) - 188;
Flieger[z]._y = ProjektionY(32, 2 + (z * 4)) + 122;
Flieger[z].gotoAndStop(1);
}
z++;
}
z = 4;
while (z < 7) {
SchiffStufe[z] = 0;
LKWStufe[z] = 0;
FliegerStufe[z] = 0;
z++;
}
d = 1;
while (d <= DurchLauf) {
z = 4;
while (z < 7) {
if (Zeile[29].substr(67 - (z * 4), 1) != ".") {
LichtZaehler++;
SchiffStufe[z] = (10 * SchiffStufe[z]) + LichtReihe[LichtZaehler];
}
if (Zeile[28 + (z * 4)].substr(40, 1) != ".") {
LichtZaehler++;
LKWStufe[z] = (10 * LKWStufe[z]) + LichtReihe[LichtZaehler];
}
if (Zeile[30].substr(-10 + (z * 4), 1) != ".") {
LichtZaehler++;
FliegerStufe[z] = (10 * FliegerStufe[z]) + LichtReihe[LichtZaehler];
}
z++;
}
d++;
}
z = 4;
while (z < 7) {
if (Zeile[29].substr(67 - (z * 4), 1) != ".") {
Schiff.attachMovie("lichter", z, z);
Schiff[z]._x = ProjektionX(29, 66 - (z * 4));
Schiff[z]._y = ProjektionY(29, 66 - (z * 4));
Schiff[z].gotoAndStop(SchiffStufe[z] % 10);
}
if (Zeile[28 + (z * 4)].substr(40, 1) != ".") {
LKW.attachMovie("lichter", z, z);
LKW[z]._x = ProjektionX(29 + (z * 4), 40);
LKW[z]._y = ProjektionY(29 + (z * 4), 40);
LKW[z].gotoAndStop(LKWStufe[z] % 10);
}
if (Zeile[30].substr(-10 + (z * 4), 1) != ".") {
Flieger.attachMovie("lichter", z, z);
Flieger[z]._x = ProjektionX(30, -9 + (z * 4));
Flieger[z]._y = ProjektionY(30, -9 + (z * 4));
Flieger[z].gotoAndStop(FliegerStufe[z] % 10);
}
z++;
}
z = 0;
while (z <= (BandStufenAnzahl + 1)) {
BandStufen.attachMovie("leer", z, z);
BandStufen[z]._x = 0;
BandStufen[z]._y = 0;
BandStufen[z].clear();
BandStufen[z]._visible = false;
z++;
}
BandStufen[0]._visible = true;
i = 1;
while (i <= BandStufenAnzahl) {
BandStufen[i].lineStyle(1, PfeilFarbe, 100);
i++;
}
PAnz = 0;
}
function init2(xxx) {
j = xxx;
i = FI[j];
k = FK[j];
BandStufen[z]._visible = true;
b = BandFeld[i][k];
if (b > 100) {
FloraAnzahl++;
Flora.attachMovie("Flora", FloraAnzahl, FloraAnzahl);
Flora[FloraAnzahl]._x = projektionX(i, k);
Flora[FloraAnzahl]._y = projektionY(i, k);
Flora[FloraAnzahl].gotoAndStop(b - 100);
} else if (((((b == 7) || (b == 11)) || (b == 13)) || (b == 14)) || (b == 15)) {
PAnz++;
Pfeil.attachMovie("Pfeil", 2 * PAnz, 2 * PAnz);
Pfeil[2 * PAnz]._x = projektionX(i, k);
Pfeil[2 * PAnz]._y = projektionY(i, k) + 8;
PfeilNummer[i][k] = 2 * PAnz;
if (BandFeld[i][k + 1] == 5) {
PfeilWert[2 * PAnz] = 1;
}
if (BandFeld[i + 1][k] == 10) {
PfeilWert[2 * PAnz] = 2;
}
if (BandFeld[i][k - 1] == -5) {
PfeilWert[2 * PAnz] = 3;
}
if (BandFeld[i - 1][k] == -10) {
PfeilWert[2 * PAnz] = 4;
}
Pfeil[2 * PAnz].gotoAndStop(PfeilWert[2 * PAnz]);
Pfeil.attachMovie("PfeilButton", (2 * PAnz) + 1, (2 * PAnz) + 1);
Pfeil[(2 * PAnz) + 1]._x = projektionX(i, k);
Pfeil[(2 * PAnz) + 1]._y = projektionY(i, k) + 8;
Pfeil[(2 * PAnz) + 1]._visible = true;
if (PfeilWert[2 * PAnz] == 1) {
BandFeld[i][k] = 5;
}
if (PfeilWert[2 * PAnz] == 2) {
BandFeld[i][k] = 10;
}
if (PfeilWert[2 * PAnz] == 3) {
BandFeld[i][k] = -5;
}
if (PfeilWert[2 * PAnz] == 4) {
BandFeld[i][k] = -10;
}
Ausgaenge = 0;
if (BandFeld[i][k + 1] == 5) {
Ausgaenge++;
}
if (BandFeld[i + 1][k] == 10) {
Ausgaenge++;
}
if (BandFeld[i][k - 1] == -5) {
Ausgaenge++;
}
if (BandFeld[i - 1][k] == -10) {
Ausgaenge++;
}
if (Ausgaenge < 2) {
PfeilNummer[i][k] = 0;
Pfeil[2 * PAnz].gotoAndStop(4 + PfeilWert[2 * PAnz]);
Pfeil[(2 * PAnz) + 1]._visible = false;
}
if (Schatten) {
MC = BandStufen[0];
MC.beginFill(schattenFarbe, 100);
h = 10;
move(MC, i - 0.5, k, h);
line(MC, i, k - 0.5, h);
line(MC, i + 1, k - 0.5, h);
line(MC, i + 1.5, k, h);
line(MC, i + 1.5, k + 1, h);
line(MC, i + 1, k + 1.5, h);
line(MC, i, k + 1.5, h);
line(MC, i - 0.5, k + 1, h);
MC.endFill();
}
MC = BandStufen[0];
if (Rand) {
MC.beginFill(randRechtsFarbe, 100);
h = 5;
move(MC, i - 0.5, k, h);
line(MC, i, k - 0.5, h);
line(MC, i + 1, k - 0.5, h);
line(MC, i + 1.5, k, h);
line(MC, i + 1.5, k + 1, h);
line(MC, i + 1, k + 1.5, h);
line(MC, i, k + 1.5, h);
line(MC, i - 0.5, k + 1, h);
MC.endFill();
}
MC = BandStufen[BandStufenAnzahl + 1];
MC.beginFill(OberflaecheFarbe, 100);
MC.lineStyle(1, PfeilFarbe, 100);
h = 0;
move(MC, i - 0.5, k, h);
line(MC, i, k - 0.5, h);
line(MC, i + 1, k - 0.5, h);
line(MC, i + 1.5, k, h);
line(MC, i + 1.5, k + 1, h);
line(MC, i + 1, k + 1.5, h);
line(MC, i, k + 1.5, h);
line(MC, i - 0.5, k + 1, h);
MC.endFill();
} else {
MC = BandStufen[0];
if (Schatten) {
h = 10;
MC.beginFill(schattenFarbe, 100);
move(MC, i, k, h);
line(MC, i + 1, k, h);
line(MC, i + 1, k + 1, h);
line(MC, i, k + 1, h);
MC.endFill();
}
h = 5;
if (Rand) {
MC.beginFill(randRechtsFarbe, 100);
move(MC, i + 1, k, 0);
line(MC, i + 1, k, h);
line(MC, i + 1, k + 1, h);
line(MC, i, k + 1, h);
line(MC, i, k + 1, 0);
MC.endFill();
}
h = 0;
MC.beginFill(OberflaecheFarbe, 100);
move(MC, i, k, h);
line(MC, i + 1, k, h);
line(MC, i + 1, k + 1, h);
line(MC, i, k + 1, h);
MC.endFill();
z = 1;
while (z <= BandStufenAnzahl) {
ZeichneLinie(i, k, BandFeld[i][k], z - 1, BandStufen[z]);
z++;
}
}
}
function projektionX(i, k) {
return((offsetX + (i * w16)) - (k * w16));
}
function projektionY(i, k) {
return((offsetY + (i * w8)) + (k * w8));
}
function rueckprojektionX(x, y) {
return(((0.5 * (x - offsetX)) / w16) + ((0.5 * (y - offsetY)) / w8));
}
function rueckprojektionY(x, y) {
return(((-0.5 * (x - offsetX)) / w16) + ((0.5 * (y - offsetY)) / w8));
}
function move(MC, i, k, h) {
MC.moveTo(Math.floor(offsetX + ((i - k) * w16)), Math.floor(h + (offsetY + ((i + k) * w8))));
return(undefined);
}
function line(MC, i, k, h) {
MC.lineTo(Math.floor(offsetX + ((i - k) * w16)), Math.floor(h + (offsetY + ((i + k) * w8))));
return(undefined);
}
function ZeichneLinie(i, k, Wert, Stufe, MC) {
Stufe = Stufe * (8 / BandStufenAnzahl);
Stufe = Stufe - 4;
if (Wert < 0) {
Stufe = Stufe * -1;
Stufe2 = (Stufe - 2.5) - 1.5;
} else {
Stufe2 = (Stufe + 2.5) + 1.5;
}
Stufe = Stufe * 0.125;
Stufe2 = Stufe2 * 0.125;
switch (Math.abs(Wert)) {
case 5 :
move(MC, i, (Stufe + k) + 0.5);
line(MC, i + 0.5, (Stufe2 + k) + 0.5);
line(MC, i + 1, (Stufe + k) + 0.5);
return(undefined);
case 10 :
move(MC, (Stufe + i) + 0.5, k);
line(MC, (Stufe2 + i) + 0.5, k + 0.5);
line(MC, (Stufe + i) + 0.5, k + 1);
return(undefined);
case 3 :
move(MC, i + 1, k + 1);
if (wert > 0) {
Stufe2 = Stufe + 0.3125;
} else {
Stufe2 = Stufe - 0.3125;
}
if (Stufe2 > 0) {
line(MC, i + 0.5, (k + Stufe2) + 0.5);
} else {
line(MC, (i - Stufe2) + 0.5, k + 0.5);
}
Stufe = Stufe * 2;
if (Stufe > 0) {
line(MC, i, k + Stufe);
} else {
line(MC, i - Stufe, k);
}
return(undefined);
case 12 :
move(MC, i, k);
if (wert > 0) {
Stufe2 = Stufe + 0.3125;
} else {
Stufe2 = Stufe - 0.3125;
}
if (Stufe2 > 0) {
line(MC, (i + 0.5) - Stufe2, k + 0.5);
} else {
line(MC, i + 0.5, (k + 0.5) + Stufe2);
}
Stufe = Stufe * 2;
if (Stufe > 0) {
line(MC, (i + 1) - Stufe, k + 1);
} else {
line(MC, i + 1, (k + 1) + Stufe);
}
return(undefined);
case 9 :
move(MC, i, k + 1);
if (wert > 0) {
Stufe2 = Stufe + 0.3125;
} else {
Stufe2 = Stufe - 0.3125;
}
if (Stufe2 > 0) {
line(MC, i + 0.5, (k + 0.5) + Stufe2);
} else {
line(MC, (i + 0.5) + Stufe2, k + 0.5);
}
Stufe = Stufe * 2;
if (Stufe > 0) {
line(MC, i + 1, k + Stufe);
} else {
line(MC, (i + 1) + Stufe, k);
}
return(undefined);
case 6 :
move(MC, i + 1, k);
if (wert > 0) {
Stufe2 = Stufe + 0.3125;
} else {
Stufe2 = Stufe - 0.3125;
}
if (Stufe2 <= 0) {
line(MC, i + 0.5, (k + 0.5) + Stufe2);
} else {
line(MC, (i + 0.5) + Stufe2, k + 0.5);
}
Stufe = Stufe * 2;
if (Stufe <= 0) {
line(MC, i, (k + 1) + Stufe);
} else {
line(MC, i + Stufe, k + 1);
}
return(undefined);
}
}
function ZeilenAufbau(nr) {
Zeile[0] = "..........................................................";
Zeile[1] = "..........................................................";
Zeile[2] = "..........................................................";
Zeile[3] = "..........................................................";
Zeile[4] = "..........................................................";
Zeile[5] = "..........................................................";
Zeile[6] = "..........................................................";
Zeile[49] = "..........................................................";
Zeile[50] = "..........................................................";
Zeile[51] = "..........................................................";
Zeile[52] = "..........................................................";
Zeile[53] = "..........................................................";
Zeile[54] = "..........................................................";
Zeile[55] = "..........................................................";
Zeile[56] = "..........................................................";
Zeile[57] = "..........................................................";
if (nr == 1) {
NoetigePakete = 3;
DurchLauf = 1;
LevelMin = 1;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X....1.1.1..........................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................X....1.1.1..........................";
Zeile[17] = "......................X...................................";
Zeile[18] = "......................X....1.1.1..........................";
Zeile[19] = "......................X...................................";
Zeile[20] = "......................X...................................";
Zeile[21] = "......................XOOOOOOOOOOOO.......................";
Zeile[22] = "......................X...........O.......................";
Zeile[23] = "......................X...........O.......................";
Zeile[24] = "..........OOOOOOOOOOOOX...........O.......................";
Zeile[25] = "..........X...........X...........O.......................";
Zeile[26] = "..........X..3.3.3.3..X...........O.......................";
Zeile[27] = "..........X...........X...........O.......................";
Zeile[28] = "..........X...........X...........O.......................";
Zeile[29] = "..........X...........X...........O............O..........";
Zeile[30] = "..........X...........X...........O............O..........";
Zeile[31] = "......................X...........O............O..........";
Zeile[32] = "......................X...........O..2.2.2.2...O..........";
Zeile[33] = "......................X...........O............O..........";
Zeile[34] = "......................X...........O............O..........";
Zeile[35] = "......................XXXXXXXXXXXXXXXXXXXXXXXXXX..........";
Zeile[36] = "..................................X.......................";
Zeile[37] = "..................................X.......................";
Zeile[38] = "...........................4.4.4..X.......................";
Zeile[39] = "..................................X.......................";
Zeile[40] = ".............................4.4..X.......................";
Zeile[41] = "..................................X.......................";
Zeile[42] = "...............................4..X.......................";
Zeile[43] = "..................................X.......................";
Zeile[44] = "..................................X.......................";
Zeile[45] = "..................................X.......................";
Zeile[46] = "..................................X.......................";
Zeile[47] = "..................................X.......................";
Zeile[48] = "..................................XXXXXXX.................";
}
if (nr == 2) {
NoetigePakete = 5;
DurchLauf = 1;
LevelMin = 1;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "...................5..X...................................";
Zeile[16] = "......................X...................................";
Zeile[17] = "...................5..X...................................";
Zeile[18] = "......................X...................................";
Zeile[19] = "...................5..X...................................";
Zeile[20] = "......................X...................................";
Zeile[21] = "......................X...................................";
Zeile[22] = "..OOOOOOOOOOOOOOOOOOOOXOOOOOOOOOOOOOO.....................";
Zeile[23] = "..X...................X.............O.....................";
Zeile[24] = "..X...................X.............O.....................";
Zeile[25] = "..X...................X.............O.....................";
Zeile[26] = "..XXXXXXXXXXXXXXXXXXXXXXXXXXX.......O.....................";
Zeile[27] = "......X.......X.......X.....X...C...O.....................";
Zeile[28] = "......X.......X.......X.....X.......O.....................";
Zeile[29] = "......X.......X.......X.....X...C...O..........O..........";
Zeile[30] = "......X.......X.......X.....X.......O..2.2.2...O..........";
Zeile[31] = "......................X.....X.......O..........O..........";
Zeile[32] = "......................X.....X.......O..........O..........";
Zeile[33] = "......................X.....XXXXXXXXXOOOOOOOOOOXOOOOOOOO..";
Zeile[34] = "......................X.............O..................O..";
Zeile[35] = "......................X.............O..................O..";
Zeile[36] = "......................X.............O..................O..";
Zeile[37] = "......................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..";
Zeile[38] = "................................X...O.....................";
Zeile[39] = "................................X...O.....................";
Zeile[40] = "................................X...O.....................";
Zeile[41] = "................................X...O.....................";
Zeile[42] = "...........................1.1..X...O.....................";
Zeile[43] = "................................X...O.....................";
Zeile[44] = "...........................1.1..X...XXXXX.................";
Zeile[45] = "................................X...O.....................";
Zeile[46] = "................................X...O.....................";
Zeile[47] = "................................X...O.....................";
Zeile[48] = "................................X...O.....................";
Zeile[49] = "...........................3.3..X...O.....................";
Zeile[50] = "................................X...O.....................";
Zeile[51] = "...........................3.3..X...O.....................";
Zeile[52] = "................................X...XXXXX.................";
Zeile[53] = "................................X...O.....................";
Zeile[54] = "................................X...O.....................";
Zeile[55] = "................................X...O.....................";
Zeile[56] = "................................XXXXX.....................";
}
if (nr == 3) {
NoetigePakete = 6;
DurchLauf = 1;
LevelMin = 1;
LevelSec = 31;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "...................2..X..2................................";
Zeile[16] = "......................X...................................";
Zeile[17] = ".................2.2..X..2.2..............................";
Zeile[18] = "......................X...................................";
Zeile[19] = "...............2.2.2..X..2.2.2............................";
Zeile[20] = "......................X...................................";
Zeile[21] = "......................X...................................";
Zeile[22] = "..XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.........................";
Zeile[23] = "..O.............................X.........................";
Zeile[24] = "..O.............................X.........................";
Zeile[25] = "..O.............................X.........................";
Zeile[26] = "..OOOOXOOOOOOOXOOOOOOOOOOOOXXXXXX..2......................";
Zeile[27] = "......X.......X............O....X.........................";
Zeile[28] = "......X.......X............O....X..2.2....................";
Zeile[29] = "......X.......X.....2.2.2..O....X..........O.......O......";
Zeile[30] = "......X.......X............O....X..2.2.2...O.......O......";
Zeile[31] = "......................2.2..O....X..........O.......O......";
Zeile[32] = "...........................O....X..........O.......O......";
Zeile[33] = "........................2..XOOOOXXXXXXXXXXXXXXXXXXXXXXXX..";
Zeile[34] = "...........................X....O......................X..";
Zeile[35] = "...........................X....O......................X..";
Zeile[36] = "...........................X....O......................X..";
Zeile[37] = "...........................XXXXXXOOOXOOOOOOOOOOOOOOOOOOO..";
Zeile[38] = "................................O...X.....................";
Zeile[39] = "................................O...X.....................";
Zeile[40] = "...........................2.2..O...X.....................";
Zeile[41] = "................................O...X.....................";
Zeile[42] = ".............................2..O...X.....................";
Zeile[43] = "................................O...X.....................";
Zeile[44] = "................................O...XXXXX.................";
Zeile[45] = "................................O...X.....................";
Zeile[46] = "................................O...X.....................";
Zeile[47] = "................................O...X.....................";
Zeile[48] = "................................O...X.....................";
Zeile[49] = "................................O...X.....................";
Zeile[50] = "................................O...X.....................";
Zeile[51] = "................................O...X.....................";
Zeile[52] = "................................O...XXXXX.................";
Zeile[53] = "................................O...X.....................";
Zeile[54] = "................................O...X.....................";
Zeile[55] = "................................O...X.....................";
Zeile[56] = "................................OOOOO.....................";
}
if (nr == 4) {
NoetigePakete = 6;
DurchLauf = 2;
LevelMin = 1;
LevelSec = 31;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................X...................................";
Zeile[17] = "......................X...................................";
Zeile[18] = "......................X...................................";
Zeile[19] = "......................X...................................";
Zeile[20] = "...2..2..2..2..2..2...X...2..2..2..2......................";
Zeile[21] = "......................X...................................";
Zeile[22] = "......................X...................................";
Zeile[23] = "...2..OOOOOOOOOOOOO...X...XXXXXXXXXXX.....................";
Zeile[24] = "......X...........O...X...O.........X.....................";
Zeile[25] = "......X...........XOOOXXXXX.........X.....................";
Zeile[26] = "...2..X...........X...X...X.........X.....................";
Zeile[27] = "......X...OOOOOOOOO...X...XXXXXXX...X.....................";
Zeile[28] = "......X...X...........X.........X...X.....................";
Zeile[29] = "...2..X...X...........X.........X...X..........O...O......";
Zeile[30] = "......X...X...........X.........X...X..........O...O......";
Zeile[31] = "....................OOXXX.......X...XXXXXXXXXXXX...O......";
Zeile[32] = "....................X...X....2..X..................O......";
Zeile[33] = ".................2..X...X.......X..................O......";
Zeile[34] = "....................X...X.......X..................O......";
Zeile[35] = "....................X...X....2..XXXXXXXXXXXXXXXXXXXX......";
Zeile[36] = ".................2..X...X.................................";
Zeile[37] = "....................X...X.................................";
Zeile[38] = "....................X...X....2..2..2..2..2..2..2..2.......";
Zeile[39] = ".................2..X...X.................................";
Zeile[40] = "....................X...X.................................";
Zeile[41] = "....................X...X.................................";
Zeile[42] = ".................2..X...X.................................";
Zeile[43] = "....................X...X.................................";
Zeile[44] = "....................X...XXXXXXXXXXXXXXXXX.................";
Zeile[45] = ".................2..X.....................................";
Zeile[46] = "....................X.....................................";
Zeile[47] = "....................X.....................................";
Zeile[48] = ".................2..XXXXXXXXXXXXXXXXXXXXX.................";
Zeile[49] = "..........................................................";
Zeile[50] = "..........................................................";
Zeile[51] = ".................2..2..2..2..2..2..2..2...................";
}
if (nr == 5) {
NoetigePakete = 9;
DurchLauf = 2;
LevelMin = 2;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................XXXXXX..............................";
Zeile[17] = "...........................X..............................";
Zeile[18] = "...........................X..............................";
Zeile[19] = "...........................X..............................";
Zeile[20] = "...........................X..............................";
Zeile[21] = "...........................X..............................";
Zeile[22] = "......OOOOOOOOOOOOOXOOOOOOOXOOOOOOOOO.....................";
Zeile[23] = "......X............X.......X........O.....................";
Zeile[24] = "......X............X.......X........O.....................";
Zeile[25] = "......X............X.......X..3..3..O.....................";
Zeile[26] = "......X............X.......X........O.....................";
Zeile[27] = "......XXXXXXXXXXXXXX.......X........O.....................";
Zeile[28] = "......X...X...X....X.......X..3.....O.....................";
Zeile[29] = "......X...X...X....X.......X........O......O...O...O......";
Zeile[30] = "......X...X...X....X.......X........O......O...O...O......";
Zeile[31] = "...................X.......X.....3..O......O...O...O......";
Zeile[32] = "...................X.......X........XOOOOOOXOOOXOOOX......";
Zeile[33] = "...................X.......X........O..............O......";
Zeile[34] = "...................X.......X..3..3..O..............O......";
Zeile[35] = "...................X.......X........O..............O......";
Zeile[36] = "...................X..4.4..X........O..............O......";
Zeile[37] = "...................X.......XXXXXXXXXXXXXXXXXXXXXXXXX......";
Zeile[38] = "...................X.......X........O.....................";
Zeile[39] = "...................X....4..X........O.....................";
Zeile[40] = "...................X.......X........O.....................";
Zeile[41] = "...................X.......X..5..5..O.....................";
Zeile[42] = "...................X..4....X........O.....................";
Zeile[43] = "...................X.......X........O.....................";
Zeile[44] = "...................X.......X..5..5..XXXXX.................";
Zeile[45] = "...................X..4.4..X........O.....................";
Zeile[46] = "...................X.......X........O.....................";
Zeile[47] = "...................X.......X........O.....................";
Zeile[48] = "...................XXXXXXXXXXXXXXXXXXXXXX.................";
Zeile[49] = "....................................X.....................";
Zeile[50] = "....................................X.....................";
Zeile[51] = "....................................X.....................";
Zeile[52] = "....................................XXXXX.................";
}
if (nr == 6) {
NoetigePakete = 9;
DurchLauf = 2;
LevelMin = 2;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "................OOOOOOXXXXXXX.............................";
Zeile[17] = "................X...........X.............................";
Zeile[18] = "................X...........X.............................";
Zeile[19] = "................X.......XXXXXXX...........................";
Zeile[20] = "................X.....XXX.....XXX.........................";
Zeile[21] = "................X....XX.........XX........................";
Zeile[22] = "................X...XX...........XX.......................";
Zeile[23] = "..OOOOOOOOOOOOOOO..XX.............XX......................";
Zeile[24] = "..X................O......44444....X......................";
Zeile[25] = "..X...............XX.....444444....XX.....................";
Zeile[26] = "..X...............O......44.........X.....................";
Zeile[27] = "..XXXXXXXXXXXXXXXXX......44444......X.....................";
Zeile[28] = "......X...X...X...O......444444.....X.....................";
Zeile[29] = "......X...X...X...O......44..444....XXXX...O...O...O......";
Zeile[30] = "......X...X...X...O......44...44....X..X...O...O...O......";
Zeile[31] = "..................OO.....44...44...OO..X...O...O...O......";
Zeile[32] = "...................O.....4444444...X...XXXXXXXXXXXXXXXXX..";
Zeile[33] = "...................OO...44.4444...OO...................X..";
Zeile[34] = "....................OO...........OO....................X..";
Zeile[35] = ".....................OO.........OO.....................X..";
Zeile[36] = "......................OOO.....OOO....OOOOOOOOOOOOOOOOOOO..";
Zeile[37] = "........................OOOOOOO......X....................";
Zeile[38] = "...........................O.........X....................";
Zeile[39] = "...........................O.........X....................";
Zeile[40] = "...........................O.........X....................";
Zeile[41] = "...........................OOOOOOO...X....................";
Zeile[42] = ".................................O...X....................";
Zeile[43] = ".................................O...X....................";
Zeile[44] = ".................................O...XXXX.................";
Zeile[45] = ".................................O...X....................";
Zeile[46] = ".................................O...X....................";
Zeile[47] = ".................................O...X....................";
Zeile[48] = ".................................O...XXXX.................";
Zeile[49] = ".................................O...X....................";
Zeile[50] = ".................................O...X....................";
Zeile[51] = ".................................O...X....................";
Zeile[52] = ".................................O...XXXX.................";
Zeile[53] = ".................................O...X....................";
Zeile[54] = ".................................O...X....................";
Zeile[55] = ".................................O...X....................";
Zeile[56] = ".................................OOOOO....................";
}
if (nr == 7) {
NoetigePakete = 9;
DurchLauf = 2;
LevelMin = 2;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "...................OOOXXXXXXXXXXX.........................";
Zeile[15] = "...................X............X.........................";
Zeile[16] = "...................X............X.........................";
Zeile[17] = "...................X............X.........................";
Zeile[18] = "...................XOOOOOOOOOOOOXXXXX.....................";
Zeile[19] = "...................X............O...X.....................";
Zeile[20] = "...................X..666...66..O...X.....................";
Zeile[21] = "...................X..6......6..O...X.....................";
Zeile[22] = "..OOOOOOOOOOOOOOOOOX............O...X.....................";
Zeile[23] = "..X................X............O...X.....................";
Zeile[24] = "..X................X....4..4....O...X.....................";
Zeile[25] = "..X................X..7......7..O...X.....................";
Zeile[26] = "..XXXXXXXXXXXXXXXXXX..7......7..O...X.....................";
Zeile[27] = "......X...X...X....X....4..4....O...X.....................";
Zeile[28] = "......X...X...X....X............O...X.....................";
Zeile[29] = "......X...X...X....X..6......6..O...X......O...O...O......";
Zeile[30] = "......X...X...X....X..66....66..O...X......O...O...O......";
Zeile[31] = "...................X............O...X......O...O...O......";
Zeile[32] = "...................X............O...X......O...O...O......";
Zeile[33] = "...................XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..";
Zeile[34] = "...................X............O...X..................X..";
Zeile[35] = "...................X............O...X..................X..";
Zeile[36] = "...................X............O...X..................X..";
Zeile[37] = "...................XXXXXXXXXXXXXXOOOXOOOOOOOOOOOOOOOOOOO..";
Zeile[38] = "................................O...X.....................";
Zeile[39] = "................................O...X.....................";
Zeile[40] = ".........................4.2.1..O...X.....................";
Zeile[41] = "................................O...X.....................";
Zeile[42] = ".......................1.2.3.2..O...X.....................";
Zeile[43] = "................................O...X.....................";
Zeile[44] = ".........................5.2.3..O...XXXXX.................";
Zeile[45] = "................................O...X.....................";
Zeile[46] = ".........................1......O...X.....................";
Zeile[47] = "................................O...X.....................";
Zeile[48] = "................................O...XXXXX.................";
Zeile[49] = "................................O...X.....................";
Zeile[50] = "................................O...X.....................";
Zeile[51] = "................................O...X.....................";
Zeile[52] = "................................O...XXXXX.................";
Zeile[53] = "................................O...X.....................";
Zeile[54] = "................................O...X.....................";
Zeile[55] = "................................O...X.....................";
Zeile[56] = "................................OOOOO.....................";
}
if (nr == 8) {
NoetigePakete = 9;
DurchLauf = 3;
LevelMin = 3;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................X...................................";
Zeile[17] = "......................X...................................";
Zeile[18] = "......................X...................................";
Zeile[19] = "..1..1..1..1..1..1..XXXXXXXXXXXXXXXXX.....................";
Zeile[20] = "....................O.......X.......X.....................";
Zeile[21] = "....................O.......X.......X.....................";
Zeile[22] = "..XXXXXXXXXXXXXXXXXXX.......X.......X.....................";
Zeile[23] = "..O.................O...OOOOXOOOO...X.....................";
Zeile[24] = "..O.................O...X.......O...X.....................";
Zeile[25] = "..O.................O...X.......O...X.....................";
Zeile[26] = "..OOOOXOOOXOOOXOOOOOX...X...1...O...X.....................";
Zeile[27] = "......X...X...X.....O...X.......O...X.....................";
Zeile[28] = "......X...X...X.....XOOOX...1...XXXXX.....................";
Zeile[29] = "......X...X...X.....O...X.......O...X......O...O...O......";
Zeile[30] = "......X...X...X.....O...X...1...O...X......O...O...O......";
Zeile[31] = "....................O...X.......O...X......O...O...O......";
Zeile[32] = "....................O...X.......O...X......O...O...O......";
Zeile[33] = "....................O...XXXXXXXXX...XXXXXXXXXXXXXXXXXXXX..";
Zeile[34] = "....................O.......O.......X..................X..";
Zeile[35] = "....................O.......O.......X..................X..";
Zeile[36] = "....................O.......O.......X..................X..";
Zeile[37] = "....................OOOOOOOOXOOOXOOOXOOOOOOOOOOOOOOOOOOO..";
Zeile[38] = "................................O...X.....................";
Zeile[39] = "....................3..3..3..3..O...X.....................";
Zeile[40] = "................................O...X.....................";
Zeile[41] = "................................O...X.....................";
Zeile[42] = ".......................3..3..3..O...X.....................";
Zeile[43] = "................................O...X.....................";
Zeile[44] = "................................O...XXXXX.................";
Zeile[45] = "..........................3..3..O...X.....................";
Zeile[46] = "................................O...X.....................";
Zeile[47] = "................................O...X.....................";
Zeile[48] = ".............................3..O...XXXXX.................";
Zeile[49] = "................................O...X.....................";
Zeile[50] = "................................O...X.....................";
Zeile[51] = ".............................3..O...X.....................";
Zeile[52] = "................................O...XXXXX.................";
Zeile[53] = "................................O...X.....................";
Zeile[54] = ".............................3..O...X.....................";
Zeile[55] = "................................O...X.....................";
Zeile[56] = "................................OOOOO.....................";
}
if (nr == 9) {
NoetigePakete = 9;
DurchLauf = 3;
LevelMin = 3;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................X...................................";
Zeile[17] = "......................X...................................";
Zeile[18] = "......................X...................................";
Zeile[19] = "......................X...................................";
Zeile[20] = "......................X...................................";
Zeile[21] = "......................X...................................";
Zeile[22] = "..OOOOXOOOXOOOXOOOOOOOXOOOOXXXXXXOOOOO....................";
Zeile[23] = "..X...X...O...X.......X....O....X....O....................";
Zeile[24] = "..X...X...O...X.......X.4..O....X.3..O....................";
Zeile[25] = "..X...X...O...X.......X....O....X....O....................";
Zeile[26] = "..X...X...O...X.......X....O....X....O....................";
Zeile[27] = "..XXXXXXXXXXXXXXXXXXXXXXXXXXOOOOXXXXXX....................";
Zeile[28] = "......X...X...X.......O....X....O....X....................";
Zeile[29] = "......X...X...X.......O....X.4..O.3..X.....O...O...O......";
Zeile[30] = "......X...X...X.......O....X....O....X.....O...O...O......";
Zeile[31] = "......................O....X....O....X.....O...O...O......";
Zeile[32] = "......................XOOOOXXXXXXOOOOXOOOOOXOOOXOOOXOOOO..";
Zeile[33] = "......................X....O....X....O.....X...O...X...O..";
Zeile[34] = "......................X.3..O....X.4..O.....X...O...X...O..";
Zeile[35] = "......................X....O....X....O.....X...O...X...O..";
Zeile[36] = "......................X....O....X....O.....X...O...X...O..";
Zeile[37] = "......................XXXXXXOOOOXXXXXXXXXXXXXXXXXXXXXXXX..";
Zeile[38] = "................................X....O....................";
Zeile[39] = "................................X....O....................";
Zeile[40] = "................................X....O....................";
Zeile[41] = "................................X....O....................";
Zeile[42] = "................................X....O....................";
Zeile[43] = "................................X....O....................";
Zeile[44] = "................................XOOOOXXXX.................";
Zeile[45] = "................................X....O....................";
Zeile[46] = "................................X....O....................";
Zeile[47] = "................................X....O....................";
Zeile[48] = "................................XXXXXXXXX.................";
Zeile[49] = "................................X....O....................";
Zeile[50] = "................................X....O....................";
Zeile[51] = "................................X....O....................";
Zeile[52] = "................................XOOOOXXXX.................";
Zeile[53] = "................................X....O....................";
Zeile[54] = "................................X....O....................";
Zeile[55] = "................................X....O....................";
Zeile[56] = "................................XXXXXX....................";
}
if (nr == 10) {
NoetigePakete = 9;
DurchLauf = 3;
LevelMin = 3;
LevelSec = 1;
Zeile[7] = "......................OOOOOOOO............................";
Zeile[8] = "......................X...................................";
Zeile[9] = "......................X...................................";
Zeile[10] = "......................X...................................";
Zeile[11] = "......................X...................................";
Zeile[12] = "......................X...................................";
Zeile[13] = "......................X...................................";
Zeile[14] = "......................X...................................";
Zeile[15] = "......................X...................................";
Zeile[16] = "......................X...................................";
Zeile[17] = "......................X...................................";
Zeile[18] = "......................X...................................";
Zeile[19] = "......................X...................................";
Zeile[20] = "......................X...................................";
Zeile[21] = "......................X...................................";
Zeile[22] = "......OOOOOOOOOOOOOOOOXXXXXXXXXXXXXXX.....................";
Zeile[23] = "......X...............X.............X.....................";
Zeile[24] = "......X...............X.............X.....................";
Zeile[25] = "......X...OOOOOOOOOOOOXXXXXXXXXXXX..X.....................";
Zeile[26] = "......X...X...........X..........X..X.....................";
Zeile[27] = "......X...X...........X..........X..X.....................";
Zeile[28] = "......X...X...OOOOOOOOXXXXXXXXX..X..X.....................";
Zeile[29] = "......X...X...X...............X..X..X......O...O...O......";
Zeile[30] = "......X...X...X...............X..X..X......O...O...O......";
Zeile[31] = "....................3.....1...X..X..XXXXXXXX...O...O......";
Zeile[32] = "..............................X..X.............O...O......";
Zeile[33] = "..............................X..X.............O...O......";
Zeile[34] = "....................4..5......X..XXXXXXXXXXXXXXX...O......";
Zeile[35] = "..............................X....................O......";
Zeile[36] = "....................2..1..5...X....................O......";
Zeile[37] = "..............................XXXXXXXXXXXXXXXXXXXXXX......";
Zeile[38] = "..............................X..X..X.....................";
Zeile[39] = ".......................6..2...X..X..X.....................";
Zeile[40] = "..............................X..X..X.....................";
Zeile[41] = "..............................X..X..X.....................";
Zeile[42] = "....................1..4..2...X..X..X.....................";
Zeile[43] = "..............................X..X..X.....................";
Zeile[44] = "..............................X..X..XXXXX.................";
Zeile[45] = "....................5.....4...X..X........................";
Zeile[46] = "..............................X..X........................";
Zeile[47] = "..............................X..X........................";
Zeile[48] = "....................6..6..1...X..XXXXXXXX.................";
Zeile[49] = "..............................X...........................";
Zeile[50] = "..............................X...........................";
Zeile[51] = "..............................X...........................";
Zeile[52] = "..............................XXXXXXXXXXX.................";
}
}
function LevelAufbau() {
var k;
i = AufbauZaehler;
k = 0;
while (k <= MaxX) {
PfeilNummer[i][k] = 0;
h = Zeile[i].substr(k, 1);
if (h == ".") {
BandRichtung[i][k] = 0;
BandFeld[i][k] = 0;
} else {
if (h == "1") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 101;
}
if (h == "2") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 102;
}
if (h == "3") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 103;
}
if (h == "4") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 104;
}
if (h == "5") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 105;
}
if (h == "6") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 106;
}
if (h == "7") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandFeld[i][k] = 107;
}
if (h == "X") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandRichtung[i][k] = 1;
Wert = 0;
if (Zeile[i].substr(k + 1, 1) != ".") {
Wert = Wert + 1;
}
if (Zeile[i + 1].substr(k, 1) != ".") {
Wert = Wert + 2;
}
if (Zeile[i].substr(k - 1, 1) != ".") {
Wert = Wert + 4;
}
if (Zeile[i - 1].substr(k, 1) != ".") {
Wert = Wert + 8;
}
BandFeld[i][k] = Wert * BandRichtung[i][k];
}
if (h == "O") {
nr++;
FI[nr] = i;
FK[nr] = k;
BandRichtung[i][k] = -1;
Wert = 0;
if (Zeile[i].substr(k + 1, 1) != ".") {
Wert = Wert + 1;
}
if (Zeile[i + 1].substr(k, 1) != ".") {
Wert = Wert + 2;
}
if (Zeile[i].substr(k - 1, 1) != ".") {
Wert = Wert + 4;
}
if (Zeile[i - 1].substr(k, 1) != ".") {
Wert = Wert + 8;
}
BandFeld[i][k] = Wert * BandRichtung[i][k];
}
if (h == "A") {
BandRichtung[i][k] = -1;
}
}
k++;
}
}
_quality = "MEDIUM";
_Menue._visible = false;
trace(BonusPunkte);
Ton_Weiche = new Sound(SoundWeiche);
Ton_Weiche.setVolume(100);
Ton_Weiche.attachSound("SoundWeiche");
Ton_Schiff = new Sound(SoundSchiff);
Ton_Schiff.setVolume(100);
Ton_Schiff.attachSound("SoundSchiff");
Ton_Flieger = new Sound(SoundFlieger);
Ton_Flieger.setVolume(10);
Ton_Flieger.attachSound("SoundFlieger");
Ton_LKW = new Sound(SoundLKW);
Ton_LKW.setVolume(100);
Ton_LKW.attachSound("SoundFlieger");
Ton_Falsch = new Sound(SoundFalsch);
Ton_Falsch.setVolume(100);
Ton_Falsch.attachSound("SoundFalsch");
Ton_Scanner = new Sound(SoundScanner);
Ton_Scanner.setVolume(100);
Ton_Scanner.attachSound("SoundScanner");
Ton_Back = new Sound(SoundBack);
Ton_Back.setVolume(10);
Ton_Back.attachSound("SoundBack");
if (SoundAn) {
Ton_Back.setVolume(10);
soundcontrol.gotoAndStop(1);
} else {
Ton_Back.setVolume(0);
soundcontrol.gotoAndStop(2);
}
Ton_Back.start(0, 1000);
LevelMin = 0;
LevelZeit = "00:00";
TSpielPunkte = ZahlAusgabe(Punkte);
LevelPunkte = 0;
LevelFertig = false;
LevelReport._visible = false;
LevelReport._alpha = 0;
LieferLKW.gotoAndStop(4);
Laser._visible = false;
GeliefertePackete = 0;
LetztesPacketStartFrame = -1000;
SpielGestartet = false;
xxx = 0;
AufbauZaehler = 0;
nr = 0;
RichtigGeliefert[1] = 0;
RichtigGeliefert[2] = 0;
RichtigGeliefert[3] = 0;
RichtigGeliefert[4] = 0;
RichtigGeliefert[5] = 0;
FalschGeliefert[1] = 0;
FalschGeliefert[2] = 0;
FalschGeliefert[3] = 0;
FalschGeliefert[4] = 0;
FalschGeliefert[5] = 0;
ZeilenAufbau(Level);
init();
stop();
onMouseDown = function () {
if (!SpielGestartet) {
return(undefined);
}
xxx = Math.floor(rueckprojektionX(_xmouse, _ymouse));
yyy = Math.floor(rueckprojektionY(_xmouse, _ymouse));
if (xxx > 0) {
if (xxx < 57) {
if (yyy > 0) {
if (yyy < 57) {
xx = xxx - 1;
while (xx <= (xxx + 1)) {
yy = yyy - 1;
while (yy <= (yyy + 1)) {
if (PfeilNummer[xx][yy] != 0) {
PfeilWert[PfeilNummer[xx][yy]] = PfeilWert[PfeilNummer[xx][yy]] + 1;
if (PfeilWert[PfeilNummer[xx][yy]] > 4) {
PfeilWert[PfeilNummer[xx][yy]] = 1;
}
while (nichterlaubt(xx, yy)) {
PfeilWert[PfeilNummer[xx][yy]] = PfeilWert[PfeilNummer[xx][yy]] + 1;
if (PfeilWert[PfeilNummer[xx][yy]] > 4) {
PfeilWert[PfeilNummer[xx][yy]] = 1;
}
}
Pfeil[PfeilNummer[xx][yy]].gotoAndStop(PfeilWert[PfeilNummer[xx][yy]]);
if (PfeilWert[PfeilNummer[xx][yy]] == 1) {
BandFeld[xx][yy] = 5;
}
if (PfeilWert[PfeilNummer[xx][yy]] == 2) {
BandFeld[xx][yy] = 10;
}
if (PfeilWert[PfeilNummer[xx][yy]] == 3) {
BandFeld[xx][yy] = -5;
}
if (PfeilWert[PfeilNummer[xx][yy]] == 4) {
BandFeld[xx][yy] = -10;
}
Ton_Weiche.setVolume(100);
Ton_Weiche.start(0, 1);
return(undefined);
}
yy++;
}
xx++;
}
}
}
}
}
};
onEnterFrame = function () {
if (SpielGestartet) {
schleife();
} else if (AufbauZaehler < MaxX) {
hz = 1;
while (hz <= 10) {
if (AufbauZaehler < MaxX) {
LevelAufbau();
AufbauZaehler++;
}
hz++;
}
} else if (xxx <= (nr + 1)) {
hz = 1;
while (hz <= 10) {
if (xxx <= nr) {
init2(xxx);
xxx++;
} else {
SpielGestartet = true;
xxx++;
StartZeit = getTimer();
IstFrame = 0;
AktuellerFrame = 0;
BandStufen[1]._visible = true;
BandStop = false;
}
hz++;
}
}
};
Frame 104
_quality = "HIGH";
_Menue._visible = true;
_Menue.gotoAndStop("Start");
if (Punkte < 2500) {
T = ("Sie haben " + Punkte) + " Punkte erreicht. F\u00FCr den Anfang nicht schlecht, aber das k\u00F6nnen Sie doch noch ein wenig besser, oder?";
}
if ((Punkte >= 2500) && (Punkte < 5000)) {
T = ("Sie haben bemerkenswerte " + Punkte) + " Punkte erreicht. Ein ausbausf\u00E4higes Ergebnis - noch ein wenig Training macht Sie zum Cheflogistiker!";
}
if ((Punkte >= 5000) && (Punkte < 7500)) {
T = ("Sie haben tolle " + Punkte) + " Punkte erreicht. Die Logistik-Trophy geh\u00F6rt schon fast Ihnen!";
}
if (Punkte >= 7500) {
T = ("Applaus, Applaus, Applaus, Sie haben unglaubliche " + Punkte) + " Punkte erreicht. Damit z\u00E4hlen Sie zum erlesenen Kreis der Most Valuable Global Players! ";
}
hiscore_saved = "no";
OKButton._visible = true;
z = 0;
abgeschickt = false;
stop();
onEnterFrame = function () {
z++;
debug = (("hiscore_sa " + hiscore_saved) + " -> ") + z;
if (hiscore_saved == "yes") {
gotoAndPlay (73);
}
};
Frame 114
_quality = "HIGH";
_Menue._visible = true;
_Menue.gotoAndStop("Spielregeln");
Frame 115
gotoAndPlay (114);
Frame 150
Frame 151
Symbol 51 MovieClip [MFlieger] Frame 145
stop();
Symbol 80 Button
on (release) {
getURL ("http://www.ad-artists.de", "_blank");
}
Symbol 85 Button
on (release) {
loadVariablesNum (_root.PfadCounter, 0);
_root.Punkte = int(_root.BonusPunkte);
_root.Level = 0;
unloadMovieNum (1);
_root.gotoAndPlay("Menue");
}
Symbol 88 Button
on (release) {
unloadMovieNum (1);
_root.gotoAndPlay("Regeln");
}
Symbol 91 Button
on (release) {
unloadMovieNum (1);
getURL ("javascript:self.close();");
}
Symbol 93 Button
on (release) {
h = 2 * intro._totalframes;
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 133 Button
on (release) {
_root.Ton_Back.stop();
_root.gotoAndPlay("Menue");
}
Symbol 137 Button
on (release) {
_root.Ton_Back.stop();
_root.gotoAndPlay("Unter3000");
}
Symbol 152 Button
on (release) {
_root.SoundAn = false;
_root.Ton_Back.setVolume(0);
gotoAndStop (2);
_root.soundAn = false;
}
Symbol 154 Button
on (release) {
_root.SoundAn = true;
_root.Ton_Back.setVolume(10);
gotoAndStop (1);
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
stop();
Symbol 166 Button
on (release) {
loadVariablesNum (_root.PfadCounter, 0);
Punkte = 0;
Level = 0;
unloadMovieNum (1);
gotoAndPlay (53);
}