Frame 20
gotoAndPlay (19);
ifFrameLoaded (41) {
gotoAndPlay (21);
}
Frame 21
tempo1 = "4";
tempo2 = "4";
direction = "0";
hit = "0";
hit2 = "0";
punch = "0";
punch2 = "0";
round = "1";
health = "10";
time = "500";
speed = "0";
Frame 22
gotoAndPlay (21);
Frame 26
gotoAndPlay (25);
Frame 27
count = count + "1";
if (round == "1") {
tellTarget ("/runde") {
gotoAndStop (1);
};
} else if (round == "2") {
tellTarget ("/runde") {
gotoAndStop (5);
};
} else if (round == "3") {
tellTarget ("/runde") {
gotoAndStop (10);
};
}
if (count == "10") {
if (round == "1") {
tellTarget ("/sound") {
gotoAndPlay (10);
};
} else if (round == "2") {
tellTarget ("/sound") {
gotoAndPlay (15);
};
} else if (round == "3") {
tellTarget ("/sound") {
gotoAndPlay (20);
};
}
}
if (count == "90") {
tellTarget ("/sound") {
gotoAndPlay (5);
};
}
if (count == "100") {
tellTarget ("/sound") {
gotoAndPlay (25);
};
count = "0";
direction = "0";
hit = "0";
hit2 = "0";
punch = "0";
punch2 = "0";
time = "500";
gotoAndPlay (30);
}
Frame 28
gotoAndPlay (27);
Frame 30
setProperty("/melon", _x , getProperty("/melon", _x) + (tempo1 + speed));
setProperty("/melon2", _x , getProperty("/melon2", _x) - (tempo2 + speed));
if ("245" < getProperty("/melon", _x)) {
if (hit == "0") {
hit = "1";
tempo1 = "0";
tellTarget ("/melon") {
gotoAndPlay (50);
};
tellTarget ("/jet") {
gotoAndPlay (130);
};
}
}
if (getProperty("/melon2", _x) < "305") {
if (hit2 == "0") {
hit2 = "1";
tempo2 = "0";
tellTarget ("/melon2") {
gotoAndPlay (50);
};
tellTarget ("/jet") {
gotoAndPlay (150);
};
}
}
if (hit == "3") {
yzufall = random("3");
tempo1 = "4";
hit = "0";
setProperty("/melon", _x , -"100");
tellTarget ("/melon") {
gotoAndPlay (1);
};
}
if (hit2 == "3") {
yzufall2 = random("3");
tempo2 = "4";
hit2 = "0";
setProperty("/melon2", _x , "1200");
tellTarget ("/melon2") {
gotoAndPlay (1);
};
}
if (yzufall == "0") {
setProperty("/melon", _y , "150");
}
if (yzufall == "1") {
setProperty("/melon", _y , "210");
}
if (yzufall == "2") {
setProperty("/melon", _y , "300");
}
if (yzufall2 == "0") {
setProperty("/melon2", _y , "150");
}
if (yzufall2 == "1") {
setProperty("/melon2", _y , "210");
}
if (yzufall2 == "2") {
setProperty("/melon2", _y , "300");
}
if (("180" < getProperty("/melon", _x)) and (getProperty("/melon", _x) < "220")) {
if (yzufall == "0") {
if (direction == "5") {
direction = "0";
tempo1 = "0";
punch = "1";
tellTarget ("/melon") {
gotoAndPlay (25);
};
}
}
}
if (("140" < getProperty("/melon", _x)) and (getProperty("/melon", _x) < "180")) {
if (yzufall == "1") {
if (direction == "3") {
direction = "0";
tempo1 = "0";
punch = "1";
tellTarget ("/melon") {
gotoAndPlay (25);
};
}
}
}
if (("190" < getProperty("/melon", _x)) and (getProperty("/melon", _x) < "230")) {
if (yzufall == "2") {
if (direction == "1") {
direction = "0";
tempo1 = "0";
punch = "1";
tellTarget ("/melon") {
gotoAndPlay (25);
};
}
}
}
if (("330" < getProperty("/melon2", _x)) and (getProperty("/melon2", _x) < "370")) {
if (yzufall2 == "0") {
if (direction == "6") {
direction = "0";
tempo2 = "0";
punch2 = "1";
tellTarget ("/melon2") {
gotoAndPlay (25);
};
}
}
}
if (("370" < getProperty("/melon2", _x)) and (getProperty("/melon2", _x) < "410")) {
if (yzufall2 == "1") {
if (direction == "4") {
direction = "0";
tempo2 = "0";
punch2 = "1";
tellTarget ("/melon2") {
gotoAndPlay (25);
};
}
}
}
if (("320" < getProperty("/melon2", _x)) and (getProperty("/melon2", _x) < "360")) {
if (yzufall2 == "2") {
if (direction == "2") {
direction = "0";
tempo2 = "0";
punch2 = "1";
tellTarget ("/melon2") {
gotoAndPlay (25);
};
}
}
}
time = time - "1";
if (time == "0") {
stopAllSounds();
tellTarget ("/sound") {
gotoAndPlay (5);
};
speed = speed + "2";
round = round + "1";
time = "500";
punch = "0";
punch2 = "0";
yzufall2 = random("3");
tempo2 = "4" + speed;
hit2 = "0";
setProperty("/melon2", _x , "1200");
tellTarget ("/melon2") {
gotoAndPlay (1);
};
yzufall = random("3");
tempo1 = "4" + speed;
hit = "0";
setProperty("/melon", _x , -"100");
tellTarget ("/melon") {
gotoAndPlay (1);
};
if (round == "4") {
gotoAndPlay (40);
} else {
gotoAndPlay (27);
}
}
if (health == "0") {
gotoAndPlay (35);
}
Frame 31
gotoAndPlay (30);
Frame 35
setProperty("/melon", _x , -"100");
setProperty("/melon2", _x , "1200");
Frame 36
gotoAndPlay (35);
Frame 40
setProperty("/melon", _x , -"100");
setProperty("/melon2", _x , "1200");
round = "3";
Frame 41
gotoAndPlay (40);
Symbol 7 MovieClip Frame 15
gotoAndPlay (1);
Symbol 18 Button
on (release) {
gotoAndPlay (27);
}
Symbol 21 Button
on (release) {
gotoAndPlay (25);
}
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 6
gotoAndStop (1);
Symbol 29 MovieClip Frame 11
gotoAndStop (1);
Symbol 29 MovieClip Frame 16
gotoAndStop (1);
Symbol 29 MovieClip Frame 21
gotoAndStop (1);
Symbol 29 MovieClip Frame 26
gotoAndStop (1);
Symbol 40 MovieClip Frame 1
Set("/:direction", "0");
Symbol 40 MovieClip Frame 2
gotoAndPlay (1);
Symbol 40 MovieClip Frame 10
Set("/:direction", "1");
Symbol 40 MovieClip Frame 19
gotoAndPlay (1);
Symbol 40 MovieClip Frame 30
Set("/:direction", "2");
Symbol 40 MovieClip Frame 44
gotoAndPlay (1);
Symbol 40 MovieClip Frame 50
Set("/:direction", "3");
Symbol 40 MovieClip Frame 64
gotoAndPlay (1);
Symbol 40 MovieClip Frame 70
Set("/:direction", "4");
Symbol 40 MovieClip Frame 84
gotoAndPlay (1);
Symbol 40 MovieClip Frame 90
Set("/:direction", "5");
Symbol 40 MovieClip Frame 102
gotoAndPlay (1);
Symbol 40 MovieClip Frame 110
Set("/:direction", "6");
Symbol 40 MovieClip Frame 122
gotoAndPlay (1);
Symbol 40 MovieClip Frame 137
gotoAndPlay (1);
Symbol 40 MovieClip Frame 157
gotoAndPlay (1);
Symbol 42 Button
on (keyPress "e") {
if (punch == "0") {
tellTarget ("/jet") {
gotoAndPlay (90);
};
}
}
on (keyPress "o") {
if (punch2 == "0") {
tellTarget ("/jet") {
gotoAndPlay (110);
};
}
}
on (keyPress "d") {
if (punch == "0") {
tellTarget ("/jet") {
gotoAndPlay (50);
};
}
}
on (keyPress "k") {
if (punch2 == "0") {
tellTarget ("/jet") {
gotoAndPlay (70);
};
}
}
on (keyPress "c") {
if (punch == "0") {
tellTarget ("/jet") {
gotoAndPlay (10);
};
}
}
on (keyPress "m") {
if (punch2 == "0") {
tellTarget ("/jet") {
gotoAndPlay (30);
};
}
}
Symbol 45 Button
on (release) {
gotoAndPlay (27);
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 5
stop();
Symbol 62 MovieClip Frame 10
stop();
Symbol 70 MovieClip Frame 1
Set("/:punch", "0");
Symbol 70 MovieClip Frame 20
gotoAndPlay (1);
Symbol 70 MovieClip Frame 36
Set("/:hit", "3");
Set("/:punch", "0");
stop();
Symbol 70 MovieClip Frame 50
Set("/:health", /:health - "1");
Symbol 70 MovieClip Frame 61
Set("/:hit", "3");
stop();
Symbol 71 MovieClip Frame 1
Set("/:punch2", "0");
Symbol 71 MovieClip Frame 20
gotoAndPlay (1);
Symbol 71 MovieClip Frame 36
Set("/:hit2", "3");
Set("/:punch2", "0");
stop();
Symbol 71 MovieClip Frame 50
Set("/:health", /:health - "1");
Symbol 71 MovieClip Frame 61
Set("/:hit2", "3");
stop();
Symbol 79 Button
on (release) {
speed = "0";
round = "1";
time = "500";
yzufall2 = random("3");
tempo2 = "4" + speed;
hit2 = "0";
setProperty("/melon2", _x , "1200");
tellTarget ("/melon2") {
gotoAndPlay (1);
};
yzufall = random("3");
tempo1 = "4" + speed;
hit = "0";
setProperty("/melon", _x , -"100");
tellTarget ("/melon") {
gotoAndPlay (1);
};
tempo1 = "6";
tempo2 = "6";
direction = "0";
hit = "0";
hit2 = "0";
punch = "0";
punch2 = "0";
health = "10";
gotoAndPlay (27);
}
Symbol 80 Button
on (release) {
speed = "0";
round = "1";
time = "500";
yzufall2 = random("3");
tempo2 = "4" + speed;
hit2 = "0";
setProperty("/melon2", _x , "1200");
tellTarget ("/melon2") {
gotoAndPlay (1);
};
yzufall = random("3");
tempo1 = "4" + speed;
hit = "0";
setProperty("/melon", _x , -"100");
tellTarget ("/melon") {
gotoAndPlay (1);
};
tempo1 = "6";
tempo2 = "6";
direction = "0";
hit = "0";
hit2 = "0";
punch = "0";
punch2 = "0";
health = "10";
gotoAndPlay (25);
}