Frame 1
stop();
Frame 2
winner = "0";
Frame 46
Set("/:speler1_hits", "0");
Set("/:speler2_hits", "0");
setProperty("/score_gordon/balk_zwart/rood/balk", _xscale , "1");
setProperty("/score_joling/balk_zwart/rood/balk", _xscale , "1");
stop();
Frame 47
stop();
Symbol 2 Button
on (release) {
gotoAndPlay (2);
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 3
stop();
Symbol 27 MovieClip Frame 4
stop();
Symbol 27 MovieClip Frame 5
stop();
Symbol 27 MovieClip Frame 6
stop();
Symbol 27 MovieClip Frame 7
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 5
gotoAndStop (1);
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 7
gotoAndStop (1);
Symbol 39 MovieClip Frame 1
Set("/:dekking1", "0");
stop();
Symbol 39 MovieClip Frame 4
gotoAndStop (1);
Symbol 39 MovieClip Frame 5
Set("/:dekking1", "1");
Symbol 39 MovieClip Frame 8
gotoAndStop (1);
Symbol 39 MovieClip Frame 37
stop();
Symbol 39 MovieClip Frame 52
tellTarget ("_level0") {
gotoAndStop ("gameover");
};
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 3
stop();
Symbol 47 MovieClip Frame 4
stop();
Symbol 47 MovieClip Frame 5
stop();
Symbol 47 MovieClip Frame 6
stop();
Symbol 47 MovieClip Frame 7
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 5
gotoAndStop (1);
Symbol 58 MovieClip Frame 1
Set("/:dekking2", "0");
stop();
Symbol 58 MovieClip Frame 4
gotoAndStop (1);
Symbol 58 MovieClip Frame 5
Set("/:dekking2", "1");
Symbol 58 MovieClip Frame 8
gotoAndStop (1);
Symbol 58 MovieClip Frame 37
stop();
Symbol 58 MovieClip Frame 52
tellTarget ("_level0") {
gotoAndStop ("gameover");
};
stop();
Symbol 84 MovieClip Frame 15
stop();
Symbol 88 MovieClip Frame 15
stop();
Symbol 90 Button
on (press, keyPress "a") {
l1 = "1";
if ("50" < getProperty("/speler1", _x)) {
setProperty("/speler1", _x , getProperty("/speler1", _x) - "10");
}
}
on (press, keyPress "A") {
l1 = "1";
if ("50" < getProperty("/speler1", _x)) {
setProperty("/speler1", _x , getProperty("/speler1", _x) - "10");
}
}
on (press, keyPress "d") {
r1 = "1";
if ((getProperty("/speler1", _x) < "400") and ("100" < (getProperty("/speler2", _x) - getProperty("/speler1", _x)))) {
setProperty("/speler1", _x , getProperty("/speler1", _x) + "10");
}
}
on (press, keyPress "D") {
r1 = "1";
if ((getProperty("/speler1", _x) < "400") and ("100" < (getProperty("/speler2", _x) - getProperty("/speler1", _x)))) {
setProperty("/speler1", _x , getProperty("/speler1", _x) + "10");
}
}
on (press, keyPress "s") {
tellTarget ("/speler1") {
gotoAndPlay ("punch");
};
distance = getProperty("/speler2", _x) - getProperty("/speler1", _x);
if (((distance < "170") and ("100" < distance)) and (/:dekking2 == "0")) {
tellTarget ("/speler2/hit") {
gotoAndPlay (1);
};
tellTarget ("/speler2/kop") {
gotoAndPlay (2);
};
if (((/:speler1_hits / "5") - int(/:speler1_hits / "5")) eq "0") {
tellTarget ("/speler2/kop/gordon") {
nextFrame();
};
}
if (getProperty("/speler2", _x) < "470") {
setProperty("/speler2", _x , getProperty("/speler2", _x) + "20");
}
Set("/:speler1_hits", /:speler1_hits + "1");
if ("25" < /:speler1_hits) {
Set("/:winner", "2");
}
setProperty("/score_gordon/balk_zwart/rood/balk", _xscale , /:speler1_hits * "4");
}
p1 = "1";
}
on (press, keyPress "S") {
tellTarget ("/speler1") {
gotoAndPlay ("punch");
};
distance = getProperty("/speler2", _x) - getProperty("/speler1", _x);
if (((distance < "170") and ("100" < distance)) and (/:dekking2 == "0")) {
tellTarget ("/speler2/hit") {
gotoAndPlay (1);
};
tellTarget ("/speler2/kop") {
gotoAndPlay (2);
};
if (((/:speler1_hits / "5") - int(/:speler1_hits / "5")) eq "0") {
tellTarget ("/speler2/kop/gordon") {
nextFrame();
};
}
if (getProperty("/speler2", _x) < "470") {
setProperty("/speler2", _x , getProperty("/speler2", _x) + "20");
}
Set("/:speler1_hits", /:speler1_hits + "1");
if ("25" < /:speler1_hits) {
Set("/:winner", "2");
}
setProperty("/score_gordon/balk_zwart/rood/balk", _xscale , /:speler1_hits * "4");
}
p1 = "1";
}
on (press, keyPress "w") {
tellTarget ("/speler1") {
gotoAndPlay ("defense");
};
d1 = "1";
}
on (press, keyPress "W") {
tellTarget ("/speler1") {
gotoAndPlay ("defense");
};
d1 = "1";
}
on (press, keyPress "4") {
l2 = "1";
if (("150" < getProperty("/speler2", _x)) and ("100" < (getProperty("/speler2", _x) - getProperty("/speler1", _x)))) {
setProperty("/speler2", _x , getProperty("/speler2", _x) - "10");
}
}
on (press, keyPress "6") {
r2 = "1";
if (getProperty("/speler2", _x) < "500") {
setProperty("/speler2", _x , getProperty("/speler2", _x) + "10");
}
}
on (press, keyPress "5") {
tellTarget ("/speler2") {
gotoAndPlay ("punch");
};
distance = getProperty("/speler2", _x) - getProperty("/speler1", _x);
if (((distance < "170") and ("100" < distance)) and (/:dekking1 == "0")) {
tellTarget ("/speler1/hit") {
gotoAndPlay (2);
};
tellTarget ("/speler1/kop") {
gotoAndPlay (2);
};
if (((/:speler2_hits / "5") - int(/:speler2_hits / "5")) eq "0") {
tellTarget ("/speler1/kop/joling") {
nextFrame();
};
}
if ("100" < getProperty("/speler1", _x)) {
setProperty("/speler1", _x , getProperty("/speler1", _x) - "20");
}
Set("/:speler2_hits", /:speler2_hits + "1");
if ("25" < /:speler2_hits) {
Set("/:winner", "1");
}
setProperty("/score_joling/balk_zwart/rood/balk", _xscale , /:speler2_hits * "4");
}
p1 = "1";
}
on (press, keyPress "8") {
tellTarget ("/speler2") {
gotoAndPlay ("defense");
};
d1 = "1";
}
Symbol 91 MovieClip Frame 2
if (/:winner eq "0") {
gotoAndPlay (1);
}
if (/:winner eq "1") {
tellTarget ("/speler1") {
gotoAndPlay ("knockout");
};
tellTarget ("/speler2") {
gotoAndPlay ("genadeslag");
};
stop();
}
if (/:winner eq "2") {
tellTarget ("/speler2") {
gotoAndPlay ("knockout");
};
tellTarget ("/speler1") {
gotoAndPlay ("genadeslag");
};
stop();
}
Symbol 97 Button
on (release) {
Set("/:winner", "0");
tellTarget ("_level0") {
gotoAndPlay (3);
}
}
Symbol 98 MovieClip Frame 30
stop();