Frame 1
stop();
fscommand ("showmenu", false);
stopAllSounds();
Instance of Symbol 40 MovieClip "pesan1" in Frame 1
onClipEvent (load) {
function resetUp() {
i = 1;
while (i <= 14) {
if (_root.keterangan.scorePlayer >= _root["itemUp" + i].gol) {
_root["silang" + i]._visible = false;
_root["silang" + i].gotoAndStop(1);
} else if (_root.keterangan.scorePlayer < _root["itemUp" + i].gol) {
_root["silang" + i]._visible = true;
_root["silang" + i].gotoAndStop(1);
}
i++;
}
}
}
Frame 2
stop();
i = 0;
while (i <= 21) {
_root["musuh" + i]._visible = true;
i++;
}
if (lala == undefined) {
_root.levelSekarang.levNow = 1;
gotoAndPlay (4);
stopAllSounds();
lala = "1";
}
stopAllSounds();
perangSound = new Sound();
if (_root.cekLevel.levelNow <= 6) {
perangSound.attachSound("perangSound1");
perangSound.start(0, 9999999);
} else {
perangSound.attachSound("perangSound2");
perangSound.start(0, 9999999);
}
perangSound.setVolume(80);
duplicateMovieClip (_root.latar, "latarTop", 100);
i = 1;
while (i <= 5) {
if (i <= 2) {
duplicateMovieClip (_root.musuh0, "musuh" + i, 10 + i);
namaMusuh = i + 3;
duplicateMovieClip (_root.musuh3, "musuh" + namaMusuh, 20 + i);
namaMusuh = i + 6;
duplicateMovieClip (_root.musuh6, "musuh" + namaMusuh, 30 + i);
namaMusuh = i + 9;
duplicateMovieClip (_root.musuh9, "musuh" + namaMusuh, 40 + i);
namaMusuh = i + 12;
duplicateMovieClip (_root.musuh12, "musuh" + namaMusuh, 50 + i);
}
namaMusuh = i + 15;
duplicateMovieClip (_root.musuh15, "musuh" + namaMusuh, 60 + i);
i++;
}
Instance of Symbol 108 MovieClip "musuh0" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if (this._name == "musuh0") {
muncul = true;
} else if ((this._name == "musuh1") and (_root.musuh0.tenagaMusuh._xscale <= 5)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh2") and (_root.musuh1.tenagaMusuh._xscale <= 5)) {
muncul = true;
} else if (this._name != "musuh0") {
_x = xAwal;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 5;
defMusuh = 1;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if (_root.cekLevel.levelNow <= 2) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
}
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (1);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (4);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 131 MovieClip "musuh3" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if ((this._name == "musuh3") and (_root.musuh2.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh4") and (_root.musuh3.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh5") and (_root.musuh4.tenagaMusuh._xscale <= 10)) {
muncul = true;
} else if ((this._name == "musuh3") and (_root.cekLevel.levelNow == 3)) {
muncul = true;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 8;
defMusuh = 4;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if ((_root.cekLevel.levelNow == 2) || (_root.cekLevel.levelNow == 3)) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (1);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (4);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 157 MovieClip "musuh6" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if ((this._name == "musuh6") and (_root.musuh5.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh7") and (_root.musuh6.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh8") and (_root.musuh7.tenagaMusuh._xscale <= 10)) {
muncul = true;
} else if ((this._name == "musuh6") and (_root.cekLevel.levelNow == 4)) {
muncul = true;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 15;
defMusuh = 8;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if ((_root.cekLevel.levelNow == 3) || (_root.cekLevel.levelNow == 4)) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (11);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (12);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 182 MovieClip "musuh9" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if ((this._name == "musuh9") and (_root.musuh8.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh10") and (_root.musuh9.tenagaMusuh._xscale <= 10)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh11") and (_root.musuh10.tenagaMusuh._xscale <= 10)) {
muncul = true;
} else if ((this._name == "musuh9") and (_root.cekLevel.levelNow == 5)) {
muncul = true;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 18;
defMusuh = 14;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if ((_root.cekLevel.levelNow == 4) || (_root.cekLevel.levelNow == 5)) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (11);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (12);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 207 MovieClip "musuh12" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if ((this._name == "musuh12") and (_root.musuh11.tenagaMusuh._xscale <= 7)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh13") and (_root.musuh12.tenagaMusuh._xscale <= 7)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh14") and (_root.musuh13.tenagaMusuh._xscale <= 7)) {
muncul = true;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 23;
defMusuh = 18;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if (_root.cekLevel.levelNow == 5) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (11);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (12);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 232 MovieClip "musuh15" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekNama() {
if (this._name == "musuh15") {
muncul = true;
} else if ((this._name == "musuh16") and (_root.musuh15.tenagaMusuh._xscale <= 5)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh17") and (_root.musuh16.tenagaMusuh._xscale <= 5)) {
muncul = true;
} else if ((this._name == "musuh18") and (_root.musuh17.tenagaMusuh._xscale <= 5)) {
muncul = true;
_x = (_root.batasBawahKanan._x + 50);
} else if ((this._name == "musuh19") and (_root.musuh18.tenagaMusuh._xscale <= 5)) {
muncul = true;
} else if ((this._name == "musuh20") and (_root.musuh19.tenagaMusuh._xscale <= 5)) {
muncul = true;
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = false;
xAwal = _x;
attMusuh = 28;
defMusuh = 20;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if (_root.cekLevel.levelNow == 6) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -70) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 70) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (1);
} else if (gerakMusuh == 6) {
gotoAndStop (11);
} else if (gerakMusuh == 7) {
gotoAndStop (11);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(8);
} else {
gerakMusuh = 1;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (4);
} else if (gerakMusuh == 6) {
gotoAndStop (12);
} else if (gerakMusuh == 7) {
gotoAndStop (12);
}
}
}
}
}
}
_root.cekLevel.cekMusuh();
}
}
Instance of Symbol 257 MovieClip "musuh21" in Frame 2
onClipEvent (load) {
function cekYplayer() {
selisihY = _y - py._y;
if ((_y < py._x) and (selisihY > 5)) {
_y = (_y - 3);
} else if ((_y < py._x) and (selisihY < -5)) {
_y = (_y + 3);
}
}
function cekHadap() {
if (_x > _root.player._x) {
hadapMusuh = "kiri";
} else {
hadapMusuh = "kanan";
}
}
hadapMusuh = "kanan";
kenaSerang = false;
serangLagi = true;
musuhMati = false;
muncul = true;
xAwal = _x;
attMusuh = 55;
defMusuh = 70;
var py = _root.player;
}
onClipEvent (enterFrame) {
if ((musuhMati == false) and (_root._currentframe == 2)) {
if (_root.cekLevel.levelNow == 7) {
if (kenaSerang == false) {
if (muncul == false) {
cekNama();
} else {
cekYplayer();
cekHadap();
jarak = Number(_x) - Number(py._x);
if (jarak <= -85) {
_x = (_x + 3);
hadapMusuh = "kanan";
gotoAndStop (2);
} else if (jarak >= 85) {
_x = (_x - 3);
hadapMusuh = "kiri";
gotoAndStop (3);
} else if ((hadapMusuh == "kanan") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(9);
} else {
gerakMusuh = 1;
}
if (_visible == false) {
_visible = true;
}
if (gerakMusuh == 1) {
gotoAndStop (1);
} else if (gerakMusuh == 2) {
gotoAndStop (5);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (7);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (9);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (11);
} else if (gerakMusuh == 6) {
gotoAndStop (15);
} else if (gerakMusuh == 7) {
gotoAndStop (15);
} else if (grakMusuh == 8) {
gotoAndStop (15);
}
}
} else if ((hadapMusuh == "kiri") && (muncul == true)) {
if (random(5) == 3) {
if (_root.player.mati != true) {
gerakMusuh = random(9);
} else {
gerakMusuh = 1;
}
if (_visible == false) {
_visible = true;
}
if (gerakMusuh == 1) {
gotoAndStop (4);
} else if (gerakMusuh == 2) {
gotoAndStop (6);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 3) {
gotoAndStop (8);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 4) {
gotoAndStop (10);
if (_x < (_root.player._x - 30)) {
_x = (_x + 6);
} else {
_x = (_x - 6);
}
} else if (gerakMusuh == 5) {
gotoAndStop (12);
} else if (gerakMusuh == 6) {
gotoAndStop (15);
} else if (gerakMusuh == 7) {
gotoAndStop (15);
} else if (gerakMusuh == 8) {
gotoAndStop (15);
}
}
}
}
}
}
}
}
Instance of Symbol 259 MovieClip "tenagaBoss" in Frame 2
onClipEvent (load) {
_visible = false;
_root.bossText._visible = false;
_root.tenagaBossNumb._visible = false;
}
onClipEvent (enterFrame) {
if (_root.cekLevel.levelNow == 7) {
_visible = true;
_root.bossText._visible = true;
_root.tenagaBossNumb._visible = true;
_root.tenagaBossNumb.tenagaBossNumber = Math.round(this._xscale);
_xscale = _root.musuh21.tenagaMusuh._xscale;
}
}
Instance of Symbol 376 MovieClip "player" in Frame 2
onClipEvent (load) {
function waktuBonus() {
if (_root.cekLevel.levelNow == 1) {
_root.keterangan.bonusTime = 60;
} else if (_root.cekLevel.levelNow == 2) {
_root.keterangan.bonusTime = 80;
} else if (_root.cekLevel.levelNow == 3) {
_root.keterangan.bonusTime = 80;
} else if (_root.cekLevel.levelNow == 4) {
_root.keterangan.bonusTime = 80;
} else if (_root.cekLevel.levelNow == 5) {
_root.keterangan.bonusTime = 80;
} else if (_root.cekLevel.levelNow == 6) {
_root.keterangan.bonusTime = 80;
}
}
function cekHadap() {
if (hadap == "kanan") {
gotoAndPlay (6);
jalan = true;
} else if (hadap == "kiri") {
gotoAndPlay (2);
jalan = true;
}
}
function stopMaju() {
i = 0;
while (i <= 21) {
if ((this.hitTest(_root["musuh" + i].sasaranMusuh) == true) and (_root["musuh" + i]._currentframe <= 15)) {
i = 21;
bolehMaju = false;
} else {
bolehMaju = true;
}
i++;
}
}
function kenaMusuh() {
i = 0;
while (i <= 21) {
if ((this.hitTest(_root["musuh" + i].sasaranMusuh) == true) and (hadap != _root["musuh" + i].hadapMusuh)) {
if (((hitungSerang == 0) and (_root["musuh" + i]._currentframe != 16)) and (_root["musuh" + i]._visible == true)) {
if ((_root["musuh" + i]._currentframe != 11) and (_root["musuh" + i].musuhMati == false)) {
hitungSerang = 1;
_root["musuh" + i].kenaSerang = true;
if (_root["musuh" + i].hadapMusuh == "kanan") {
_root["musuh" + i].gotoAndStop(13);
_root["musuh" + i]._x = _root["musuh" + i]._x - 5;
if ((_root["musuh" + i]._x < (_root.batasAtasKiri._x + 50)) && (hadap != "kiri")) {
_root["musuh" + i]._x = _root["musuh" + i]._x + 5;
}
} else {
_root["musuh" + i].gotoAndStop(14);
_root["musuh" + i]._x = _root["musuh" + i]._x + 5;
if ((_root["musuh" + i]._x > (_root.batasBawahKanan._x - 50)) && (hadap != "kanan")) {
_root["musuh" + i]._x = _root["musuh" + i]._x - 5;
}
}
if (_root.cekLevel.levelNow == 7) {
efekPerang.attachSound("suaraBoss");
efekPerang.start();
} else {
efekPerang.attachSound("efekPerang1");
efekPerang.start();
}
att = _root.keterangan.attPlayer / _root["musuh" + i].defMusuh;
_root["musuh" + i].tenagaMusuh._xscale = _root["musuh" + i].tenagaMusuh._xscale - att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 20;
} else if (_root["musuh" + i]._currentframe == 11) {
efekPerang.attachSound("efekPerang2");
efekPerang.start();
}
}
}
i++;
}
}
function cekGerak() {
if (tekan == 83) {
if ((hadap == "kanan") and (this._currentframe == 1)) {
gotoAndPlay (15);
kenaMusuh();
} else if ((hadap == "kiri") and (this._currentframe == 1)) {
gotoAndPlay (10);
kenaMusuh();
}
} else if (tekan == 65) {
tekan = 65;
if ((hadap == "kanan") and (this._currentframe == 1)) {
gotoAndPlay (20);
kenaMusuh();
} else if ((hadap == "kiri") and (this._currentframe == 1)) {
gotoAndPlay (25);
kenaMusuh();
}
} else if (tekan == 68) {
if ((hadap == "kanan") and (this._currentframe == 1)) {
gotoAndPlay (30);
kenaMusuh();
} else if ((hadap == "kiri") and (this._currentframe == 1)) {
gotoAndPlay (35);
kenaMusuh();
}
} else if (tekan == 87) {
if ((hadap == "kanan") and (this._currentframe == 1)) {
gotoAndStop (9);
} else if ((hadap == "kiri") and (this._currentframe == 1)) {
gotoAndStop (40);
}
}
}
hadap = "kiri";
jalan = false;
hitungSerang = 0;
playerKena = false;
bolehMaju = true;
mati = false;
gerak = true;
tekan = 0;
efekPerang = new Sound();
waktuBonus();
bonusJalan = true;
}
onClipEvent (enterFrame) {
if (playerKena == false) {
jalan = false;
if (Key.isDown(38)) {
if (tekan != 0) {
cekGerak();
} else if (tekan == 0) {
_y = (_y - 3);
cekHadap();
if (_y <= _root.batasAtasKiri._y) {
_y = _root.batasAtasKiri._y;
}
}
}
if (Key.isDown(40)) {
if (tekan != 0) {
cekGerak();
} else if (tekan == 0) {
_y = (_y + 3);
cekHadap();
if (_y >= _root.batasBawahKanan._y) {
_y = _root.batasBawahKanan._y;
}
}
}
if (Key.isDown(39)) {
stopMaju();
if (bolehMaju == true) {
if (tekan != 0) {
cekGerak();
} else if (tekan == 0) {
gotoAndPlay (6);
_x = (_x + 3);
}
}
hadap = "kanan";
jalan = true;
if (_x >= _root.batasBawahKanan._x) {
_x = _root.batasBawahKanan._x;
}
}
if (Key.isDown(37)) {
stopMaju();
if (bolehMaju == true) {
if (tekan != 0) {
cekGerak();
} else if (tekan == 0) {
gotoAndPlay (2);
_x = (_x - 3);
}
}
hadap = "kiri";
jalan = true;
if (_x <= _root.batasAtasKiri._x) {
_x = _root.batasAtasKiri._x;
}
}
if (Key.isDown(83)) {
jalan = true;
tekan = 83;
if (hadap == "kanan") {
gotoAndPlay (15);
} else if (hadap == "kiri") {
gotoAndPlay (10);
}
if (this._currentframe > 10) {
kenaMusuh();
}
} else if (Key.isDown(65)) {
jalan = true;
tekan = 65;
if (hadap == "kanan") {
gotoAndPlay (20);
} else if (hadap == "kiri") {
gotoAndPlay (25);
}
if (this._currentframe != 1) {
kenaMusuh();
}
} else if (Key.isDown(68)) {
jalan = true;
tekan = 68;
if (hadap == "kanan") {
gotoAndPlay (30);
} else if (hadap == "kiri") {
gotoAndPlay (35);
}
if (this._currentframe != 1) {
kenaMusuh();
}
} else if (Key.isDown(87)) {
jalan = true;
tekan = 87;
if (hadap == "kanan") {
gotoAndStop (9);
} else if (hadap == "kiri") {
gotoAndStop (40);
}
} else {
tekan = 0;
}
if ((hadap == "kanan") && (jalan == false)) {
gotoAndPlay (5);
} else if ((hadap == "kiri") && (jalan == false)) {
gotoAndPlay (1);
}
}
startTime = getTimer();
startTimer = Math.round(startTime / 1000);
if ((kurangTime != startTimer) and (bonusJalan == true)) {
_root.keterangan.bonusTime = _root.keterangan.bonusTime - 1;
kurangTime = startTimer;
}
}
Instance of Symbol 379 MovieClip "tenagaPlayer" in Frame 2
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.tenagaNumber = Math.round(this._xscale);
if (_xscale <= 0) {
if (hadap == "kanan") {
_root.player.gotoAndStop(44);
} else {
_root.player.gotoAndStop(43);
}
_root.player.mati = true;
}
}
Instance of Symbol 384 MovieClip "keterangan" in Frame 2
onClipEvent (load) {
function mulaiAwal() {
this.attPlayer = 5;
this.defPlayer = 5;
this.expPlayer = 100;
this.scorePlayer = 100;
_root.cekUpgrade.kepala = 1;
_root.cekUpgrade.badan = 1;
_root.cekUpgrade.kaki = 1;
_root.cekUpgrade.senjata = 1;
_root.tenagaPlayer._xscale = 100;
}
mulaiAwal();
}
Instance of Symbol 305 MovieClip "cekUpgrade" in Frame 2
onClipEvent (load) {
function silangKep(kepPilih) {
i = 1;
while (i <= 3) {
_root["silang" + i]._visible = true;
if (i == kepPilih) {
_root["silang" + i].gotoAndStop(2);
} else {
_root["silang" + i].gotoAndStop(1);
}
i++;
}
}
function silangBad(badPilih) {
i = 4;
while (i <= 5) {
_root["silang" + i]._visible = true;
if (i == badPilih) {
_root["silang" + i].gotoAndStop(2);
} else {
_root["silang" + i].gotoAndStop(1);
}
i++;
}
}
function silangKak(kakPilih) {
i = 6;
while (i <= 7) {
_root["silang" + i]._visible = true;
if (i == kakPilih) {
_root["silang" + i].gotoAndStop(2);
} else {
_root["silang" + i].gotoAndStop(1);
}
i++;
}
}
function silangWea(weaPilih) {
i = 9;
while (i <= 14) {
_root["silang" + i]._visible = true;
if (i == weaPilih) {
_root["silang" + i].gotoAndStop(2);
} else {
_root["silang" + i].gotoAndStop(1);
}
i++;
}
}
kepala = 1;
badan = 1;
kaki = 1;
senjata = 1;
_root.tenagaPlayer._xscale = 100;
}
Instance of Symbol 398 MovieClip "cekLevel" in Frame 2
onClipEvent (load) {
function cekMusuh() {
if (levComplete == false) {
if (levelNow == 1) {
jmlMusuh = 2;
mulaiMusuh = 0;
} else if (levelNow == 2) {
jmlMusuh = 5;
mulaiMusuh = 0;
} else if (levelNow == 3) {
jmlMusuh = 8;
mulaiMusuh = 3;
} else if (levelNow == 4) {
jmlMusuh = 11;
mulaiMusuh = 6;
} else if (levelNow == 5) {
jmlMusuh = 14;
mulaiMusuh = 9;
} else if (levelNow == 6) {
jmlMusuh = 20;
mulaiMusuh = 15;
}
i = mulaiMusuh;
while (i <= jmlMusuh) {
if (_root["musuh" + i].musuhMati == false) {
i = jmlMusuh;
levComplete == true;
gotoAndPlay (2);
}
i++;
}
}
}
levComplete = false;
levelNow = 6;
musuhKeluar = false;
}
onClipEvent (enterFrame) {
_root.alam.gotoAndStop(levelNow);
}
Instance of Symbol 421 MovieClip "alphaBack" in Frame 2
onClipEvent (load) {
posAlpha = "not";
}
Instance of Symbol 441 MovieClip "win" in Frame 2
onClipEvent (load) {
_visible = false;
}
Frame 3
function outSilang() {
i = 1;
while (i <= 14) {
if (_root["silang" + i]._currentframe != 2) {
if (_root.keterangan.scorePlayer >= _root["itemUp" + i].gol) {
_root["silang" + i]._visible = false;
_root["silang" + i].gotoAndStop(1);
} else if (_root.keterangan.scorePlayer < _root["itemUp" + i].gol) {
_root["silang" + i]._visible = true;
_root["silang" + i].gotoAndStop(1);
}
}
i++;
}
}
stop();
Mouse.show();
tombolReset = "aktif";
tombolNext = "aktif";
stopAllSounds();
upgradeSound = new Sound();
upgradeSound.attachSound("upgradeSound");
upgradeSound.stop();
upgradeSound.start(0, 9999);
outSilang();
_root.pesan1.resetUp();
heaPla = _root.tenagaPlayer._xscale;
kepPla = _root.cekUpgrade.kepala;
badPla = _root.cekUpgrade.badan;
kakPla = _root.cekUpgrade.kaki;
senPla = _root.cekUpgrade.senjata;
attPla = _root.keterangan.attPlayer;
defPla = _root.keterangan.defPlayer;
golPla = _root.keterangan.scorePlayer;
Instance of Symbol 303 MovieClip "itemUp3" in Frame 3
onClipEvent (load) {
kep = 4;
def = 15;
gol = 1000;
}
Instance of Symbol 291 MovieClip "itemUp4" in Frame 3
onClipEvent (load) {
bad = 2;
def = 5;
gol = 500;
}
Instance of Symbol 293 MovieClip "itemUp5" in Frame 3
onClipEvent (load) {
bad = 3;
def = 15;
gol = 1000;
}
Instance of Symbol 283 MovieClip "itemUp6" in Frame 3
onClipEvent (load) {
kak = 2;
def = 15;
gol = 500;
}
Instance of Symbol 285 MovieClip "itemUp7" in Frame 3
onClipEvent (load) {
kak = 3;
def = 18;
gol = 1000;
}
Instance of Symbol 263 MovieClip "itemUp9" in Frame 3
onClipEvent (load) {
weap = 2;
att = 10;
gol = 1000;
}
Instance of Symbol 265 MovieClip "itemUp10" in Frame 3
onClipEvent (load) {
weap = 3;
att = 15;
gol = 2000;
}
Instance of Symbol 267 MovieClip "itemUp11" in Frame 3
onClipEvent (load) {
weap = 4;
att = 20;
gol = 3000;
}
Instance of Symbol 269 MovieClip "itemUp12" in Frame 3
onClipEvent (load) {
weap = 5;
att = 25;
gol = 4000;
}
Instance of Symbol 271 MovieClip "itemUp13" in Frame 3
onClipEvent (load) {
weap = 6;
att = 30;
gol = 5000;
}
Instance of Symbol 234 MovieClip "itemUp14" in Frame 3
onClipEvent (load) {
weap = 7;
att = 40;
gol = 6000;
}
Instance of Symbol 466 MovieClip "itemUp8" in Frame 3
onClipEvent (load) {
gol = 200;
}
Instance of Symbol 301 MovieClip "itemUp1" in Frame 3
onClipEvent (load) {
kep = 3;
def = 5;
gol = 500;
}
Instance of Symbol 299 MovieClip "itemUp2" in Frame 3
onClipEvent (load) {
kep = 2;
def = 10;
gol = 750;
_root.pesan1.resetUp();
}
Instance of Symbol 483 MovieClip "playerUpgrade" in Frame 3
onClipEvent (load) {
timerCocok = 1;
klikUp = false;
_root.keterangan.bonusKeterangan.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
timeUp = getTimer();
timerUp = Math.round(timeUp / 1000);
if ((timerCocok != timerUp) || (klikUp == true)) {
gotoAndStop(random(8));
timerCocok = timerUp;
klikUp = false;
}
}
Frame 4
stop();
Mouse.show();
tombolStart = "aktif";
stopAllSounds();
_root.keterangan.mulaiAwal();
menuSound = new Sound();
menuSound.attachSound("mainMenuSound");
menuSound.stop();
menuSound.start(0, 9999);
Frame 5
stop();
Frame 6
stop();
Mouse.show();
i = 0;
while (i <= 21) {
_root["musuh" + i]._visible = false;
i++;
}
Frame 7
stop();
Symbol 10 Button
on (release) {
getURL ("http://www.arcadebomb.com", "_blank");
}
Symbol 15 MovieClip Frame 5
explodeFinished();
Symbol 31 MovieClip Frame 31
stop();
Symbol 34 MovieClip Frame 6
if ((_root.getBytesLoaded() / _root.getBytesTotal()) == 1) {
gotoAndPlay (7);
} else {
gotoAndPlay (1);
}
Symbol 34 MovieClip Frame 162
_parent.play();
Symbol 34 MovieClip Frame 163
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
_visible = false;
Symbol 40 MovieClip Frame 24
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
_visible = false;
Symbol 69 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 94 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 95 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 96 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 99 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 100 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 106 MovieClip Frame 14
stop();
Symbol 107 MovieClip Frame 11
Symbol 107 MovieClip Frame 24
stop();
Symbol 108 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 108 MovieClip Frame 2
stop();
Symbol 108 MovieClip Frame 3
stop();
Symbol 108 MovieClip Frame 4
stop();
Symbol 108 MovieClip Frame 5
stop();
Instance of Symbol 93 MovieClip in Symbol 108 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 108 MovieClip Frame 6
stop();
Symbol 108 MovieClip Frame 7
stop();
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 108 MovieClip Frame 8
stop();
Symbol 108 MovieClip Frame 9
stop();
Instance of Symbol 95 MovieClip in Symbol 108 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 108 MovieClip Frame 10
stop();
Symbol 108 MovieClip Frame 11
stop();
Instance of Symbol 96 MovieClip in Symbol 108 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 108 MovieClip Frame 12
stop();
Instance of Symbol 96 MovieClip in Symbol 108 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 108 MovieClip Frame 13
Symbol 108 MovieClip Frame 14
Symbol 108 MovieClip Frame 15
stop();
Symbol 108 MovieClip Frame 16
stop();
Symbol 108 MovieClip Frame 17
stop();
Symbol 122 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 123 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 124 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 125 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 126 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 127 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 130 MovieClip Frame 24
stop();
Symbol 131 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 131 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 3
stop();
Symbol 131 MovieClip Frame 4
stop();
Symbol 131 MovieClip Frame 5
stop();
Instance of Symbol 122 MovieClip in Symbol 131 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 131 MovieClip Frame 6
stop();
Symbol 131 MovieClip Frame 7
stop();
Instance of Symbol 123 MovieClip in Symbol 131 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 131 MovieClip Frame 8
stop();
Symbol 131 MovieClip Frame 9
stop();
Instance of Symbol 124 MovieClip in Symbol 131 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 131 MovieClip Frame 10
stop();
Symbol 131 MovieClip Frame 11
stop();
Instance of Symbol 125 MovieClip in Symbol 131 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 131 MovieClip Frame 12
stop();
Instance of Symbol 125 MovieClip in Symbol 131 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 131 MovieClip Frame 13
Symbol 131 MovieClip Frame 14
Symbol 131 MovieClip Frame 15
stop();
Symbol 131 MovieClip Frame 16
stop();
Symbol 131 MovieClip Frame 17
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 149 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 150 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 151 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 152 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 153 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 156 MovieClip Frame 11
Symbol 156 MovieClip Frame 24
stop();
Symbol 157 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 157 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 3
stop();
Symbol 157 MovieClip Frame 4
stop();
Symbol 157 MovieClip Frame 5
stop();
Instance of Symbol 148 MovieClip in Symbol 157 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 157 MovieClip Frame 6
stop();
Symbol 157 MovieClip Frame 7
stop();
Instance of Symbol 149 MovieClip in Symbol 157 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 157 MovieClip Frame 8
stop();
Symbol 157 MovieClip Frame 9
stop();
Instance of Symbol 150 MovieClip in Symbol 157 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 157 MovieClip Frame 10
stop();
Symbol 157 MovieClip Frame 11
stop();
Instance of Symbol 151 MovieClip in Symbol 157 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 157 MovieClip Frame 12
stop();
Instance of Symbol 151 MovieClip in Symbol 157 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 157 MovieClip Frame 13
Symbol 157 MovieClip Frame 14
Symbol 157 MovieClip Frame 15
stop();
Symbol 157 MovieClip Frame 16
stop();
Symbol 157 MovieClip Frame 17
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 174 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 175 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 176 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 177 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 178 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 181 MovieClip Frame 11
Symbol 181 MovieClip Frame 24
stop();
Symbol 182 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 182 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 182 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 5
stop();
Instance of Symbol 173 MovieClip in Symbol 182 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 182 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 7
stop();
Instance of Symbol 174 MovieClip in Symbol 182 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 182 MovieClip Frame 8
stop();
Symbol 182 MovieClip Frame 9
stop();
Instance of Symbol 175 MovieClip in Symbol 182 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 182 MovieClip Frame 10
stop();
Symbol 182 MovieClip Frame 11
stop();
Instance of Symbol 176 MovieClip in Symbol 182 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 182 MovieClip Frame 12
stop();
Instance of Symbol 176 MovieClip in Symbol 182 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 182 MovieClip Frame 13
Symbol 182 MovieClip Frame 14
Symbol 182 MovieClip Frame 15
stop();
Symbol 182 MovieClip Frame 16
stop();
Symbol 182 MovieClip Frame 17
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 199 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 200 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 201 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 202 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 203 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 206 MovieClip Frame 11
Symbol 206 MovieClip Frame 24
stop();
Symbol 207 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 207 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 3
stop();
Symbol 207 MovieClip Frame 4
stop();
Symbol 207 MovieClip Frame 5
stop();
Instance of Symbol 198 MovieClip in Symbol 207 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 207 MovieClip Frame 6
stop();
Symbol 207 MovieClip Frame 7
stop();
Instance of Symbol 199 MovieClip in Symbol 207 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 207 MovieClip Frame 8
stop();
Symbol 207 MovieClip Frame 9
stop();
Instance of Symbol 200 MovieClip in Symbol 207 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 207 MovieClip Frame 10
stop();
Symbol 207 MovieClip Frame 11
stop();
Instance of Symbol 201 MovieClip in Symbol 207 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 207 MovieClip Frame 12
stop();
Instance of Symbol 201 MovieClip in Symbol 207 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 207 MovieClip Frame 13
Symbol 207 MovieClip Frame 14
Symbol 207 MovieClip Frame 15
stop();
Symbol 207 MovieClip Frame 16
stop();
Symbol 207 MovieClip Frame 17
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 224 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 225 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 226 MovieClip Frame 10
_root.musuh.serangLagi = true;
Symbol 227 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 228 MovieClip Frame 7
_root.musuh0.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 231 MovieClip Frame 11
Symbol 231 MovieClip Frame 24
stop();
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
_parent.tenagaSup.tenagaText = Math.round(this._xscale);
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_parent.tenagaSup._visible = false;
_visible = false;
}
}
Symbol 232 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 3
stop();
Symbol 232 MovieClip Frame 4
stop();
Symbol 232 MovieClip Frame 5
stop();
Instance of Symbol 223 MovieClip in Symbol 232 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 232 MovieClip Frame 6
stop();
Symbol 232 MovieClip Frame 7
stop();
Instance of Symbol 224 MovieClip in Symbol 232 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 232 MovieClip Frame 8
stop();
Symbol 232 MovieClip Frame 9
stop();
Instance of Symbol 225 MovieClip in Symbol 232 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 232 MovieClip Frame 10
stop();
Symbol 232 MovieClip Frame 11
stop();
Instance of Symbol 226 MovieClip in Symbol 232 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 232 MovieClip Frame 12
stop();
Instance of Symbol 226 MovieClip in Symbol 232 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 232 MovieClip Frame 13
Symbol 232 MovieClip Frame 14
Symbol 232 MovieClip Frame 15
stop();
Symbol 232 MovieClip Frame 16
stop();
Symbol 232 MovieClip Frame 17
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 249 MovieClip Frame 9
_parent.serangLagi = true;
Symbol 250 MovieClip Frame 7
_parent.serangLagi = true;
Symbol 251 MovieClip Frame 15
_root.musuh.serangLagi = true;
Symbol 252 MovieClip Frame 8
_parent.kenaSerang = false;
_parent.serangLagi = true;
_root.player.hitungSerang = 0;
Symbol 255 MovieClip Frame 5
function xBoss() {
if (_root.musuh21.hitTest(_root.player.sasaran)) {
_root.musuh21._x = random(500);
xBoss();
} else {
gotoAndPlay (6);
}
}
_root.musuh21._visible = false;
_root.musuh21._x = random(500);
Symbol 255 MovieClip Frame 12
_root.musuh21.kenaSerang = false;
_root.player.hitungSerang = 0;
Symbol 256 MovieClip Frame 23
stop();
_root.win._visible = true;
_root.win.gotoAndPlay(2);
_root.player.gotoAndStop(1);
_root.player.gerak = false;
Symbol 257 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip "tenagaMusuh" in Symbol 257 MovieClip Frame 1
onClipEvent (load) {
function serangKenaPlayer() {
if (_parent.hitTest(_root.player.sasaran)) {
if ((_root.player._currentframe != 40) and (_root.player._currentframe != 9)) {
_root.player.playerKena = true;
if (_root.player.hadap == "kiri") {
_root.player.gotoAndStop(41);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
} else if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else {
_root.player.gotoAndStop(42);
if (_parent.hadapMusuh != _root.player.hadap) {
if (_root.player._x > _root.batasAtasKiri._x) {
_root.player._x = _root.player._x - 5;
}
} else if (_root.player._x < _root.batasBawahKanan._x) {
_root.player._x = _root.player._x + 5;
}
}
tenagaKurang = _parent.attMusuh / _root.keterangan.defPlayer;
hasil = tenagaKurang;
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale - hasil;
if (_root.keterangan.scorePlayer <= 0) {
_root.keterangan.scorePlayer = 0;
} else {
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 5;
}
}
}
}
}
onClipEvent (enterFrame) {
if ((this._xscale <= 0) && (_visible == true)) {
if (_parent.hadapMusuh == "kanan") {
_parent.gotoAndStop(16);
} else {
_parent.gotoAndStop(18);
}
_parent.kenaSerang = true;
_parent.musuhMati = true;
_root.player.hitungSerang = 0;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer + 50;
_visible = false;
}
}
Symbol 257 MovieClip Frame 2
stop();
Symbol 257 MovieClip Frame 3
stop();
Symbol 257 MovieClip Frame 4
stop();
Symbol 257 MovieClip Frame 5
stop();
Instance of Symbol 248 MovieClip in Symbol 257 MovieClip Frame 5
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 257 MovieClip Frame 6
stop();
Symbol 257 MovieClip Frame 7
stop();
Instance of Symbol 249 MovieClip in Symbol 257 MovieClip Frame 7
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 257 MovieClip Frame 8
stop();
Symbol 257 MovieClip Frame 9
stop();
Instance of Symbol 250 MovieClip in Symbol 257 MovieClip Frame 9
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 257 MovieClip Frame 10
stop();
Symbol 257 MovieClip Frame 11
stop();
Instance of Symbol 251 MovieClip in Symbol 257 MovieClip Frame 11
onClipEvent (enterFrame) {
_parent.tenagaMusuh.serangKenaPlayer();
}
Symbol 257 MovieClip Frame 12
stop();
Instance of Symbol 251 MovieClip in Symbol 257 MovieClip Frame 12
onClipEvent (enterFrame) {
_parent.tenagamusuh0.serangKenaPlayer();
}
Symbol 257 MovieClip Frame 13
Symbol 257 MovieClip Frame 14
Symbol 257 MovieClip Frame 15
stop();
Symbol 257 MovieClip Frame 16
stop();
Symbol 257 MovieClip Frame 17
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip "senPlay" in Symbol 273 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.cekUpgrade.senjata);
}
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 279 MovieClip "kaki2Uniform" in Symbol 280 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.cekUpgrade.kaki);
}
Symbol 286 MovieClip Frame 1
stop();
Instance of Symbol 286 MovieClip "kaki1Uniform" in Symbol 287 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.cekUpgrade.kaki);
}
Symbol 294 MovieClip Frame 1
stop();
Instance of Symbol 294 MovieClip "badanUniform" in Symbol 295 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.cekUpgrade.badan);
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Instance of Symbol 304 MovieClip "kepalaUniform" in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.cekUpgrade.kepala);
}
Instance of Symbol 305 MovieClip in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 320 MovieClip Frame 4
gotoAndStop (1);
Symbol 328 MovieClip Frame 6
gotoAndStop (1);
Symbol 339 MovieClip Frame 12
gotoAndStop (1);
Symbol 350 MovieClip Frame 10
gotoAndStop (1);
Symbol 356 MovieClip Frame 7
_parent.playerKena = false;
Symbol 375 MovieClip Frame 34
stop();
_root.alphaBack.gotoAndPlay(1);
_root.alphaBack.posAlpha = "gameOver";
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
stop();
Symbol 376 MovieClip Frame 5
stop();
Symbol 376 MovieClip Frame 6
stop();
Symbol 376 MovieClip Frame 9
stop();
Symbol 376 MovieClip Frame 10
stop();
Symbol 376 MovieClip Frame 15
stop();
Symbol 376 MovieClip Frame 20
stop();
Symbol 376 MovieClip Frame 25
stop();
Symbol 376 MovieClip Frame 30
stop();
Symbol 376 MovieClip Frame 35
stop();
Symbol 376 MovieClip Frame 40
stop();
Symbol 376 MovieClip Frame 41
stop();
Symbol 376 MovieClip Frame 42
stop();
Symbol 378 MovieClip Frame 1
_visible = false;
Symbol 397 MovieClip Frame 1
if ((_root.cekLevel.levelNow == 7) || (_root.alphaBack.posAlpha == "gameOver")) {
stop();
}
Symbol 397 MovieClip Frame 68
if (_root.cekLevel.levelNow != 7) {
_root.alphaBack.gotoAndPlay(2);
_root.alphaBack.posAlpha = "level";
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 4
_root.player.bonusJalan = false;
_root.keterangan.bonusKeterangan.gotoAndStop(2);
Symbol 398 MovieClip Frame 72
gotoAndStop (1);
Symbol 409 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 5
if (_root.alphaBack.posAlpha == "gantiLevel") {
stopAllSounds();
_root.cekLevel.levelNow++;
_root.cekLevel.levComplete = false;
_root.cekLevel.musuhKeluar = false;
gotoAndPlay (15);
} else if (_root.alphaBack.posAlpha == "level") {
_root.gotoAndPlay(3);
} else if (_root.alphaBack.posAlpha == "afterUpgrade") {
_root.gotoAndStop(2);
} else if (_root.alphaBack.posAlpha == "gameOver") {
_root.gotoAndStop(6);
}
Symbol 421 MovieClip Frame 10
gotoAndStop (1);
Instance of Symbol 409 MovieClip "loadLevel" in Symbol 421 MovieClip Frame 15
onClipEvent (load) {
this.gotoAndStop(_root.cekLevel.levelNow);
_parent.namaMusuh.gotoAndStop(_root.cekLevel.levelNow);
}
onClipEvent (enterFrame) {
stopAllSounds();
_root.playerUpgrade.gotoAndStop(1);
}
Instance of Symbol 412 MovieClip "levelSekarang" in Symbol 421 MovieClip Frame 15
onClipEvent (load) {
this.levNow = _root.cekLevel.levelNow;
}
Symbol 421 MovieClip Frame 75
gotoAndPlay (6);
_root.gotoAndPlay(2);
_root.alphaBack.posAlpha = "not";
Symbol 435 MovieClip Frame 1
stop();
Symbol 440 Button
on (release) {
_root.gotoAndPlay(4);
gotoAndStop (1);
}
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 3
stopAllSounds();
winSound = new Sound();
winSound.attachSound("winSound");
winSound.start(0, 9999);
Symbol 441 MovieClip Frame 52
stop();
Mouse.show();
Symbol 444 MovieClip Frame 1
stop();
Symbol 448 Button
on (release) {
if (_root.tombolReset == "aktif") {
_root.tenagaPlayer._xscale = _root.heaPla;
_root.cekUpgrade.kepala = _root.kepPla;
_root.cekUpgrade.badan = _root.badPla;
_root.cekUpgrade.kaki = _root.kakPla;
_root.cekUpgrade.senjata = _root.senPla;
_root.keterangan.attPlayer = _root.attPla;
_root.keterangan.defPlayer = _root.defPla;
_root.keterangan.scorePlayer = _root.golPla;
_root.pesan1.resetUp();
}
}
Symbol 450 Button
on (release) {
if (_root.tombolNext == "aktif") {
_root.alphaBack.posAlpha = "gantiLevel";
_root.alphaBack.gotoAndPlay(1);
_root.tombolNext = "deaktif";
_root.tombolReset = "deaktif";
}
}
Symbol 451 Button
on (release) {
var _a = _root.itemUp2;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) and (_root.kepPla != _a.kep)) {
_root.cekUpgrade.kepala = _a.kep;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangKep(2);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 452 Button
on (release) {
var _a = _root.itemUp4;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.badan == _root.badPla)) and (_root.badPla != _a.bad)) {
_root.cekUpgrade.badan = _a.bad;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangBad(4);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.badan == _root.badPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 453 Button
on (release) {
var _a = _root.itemUp3;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) and (_root.kepPla != _a.kep)) {
_root.cekUpgrade.kepala = _a.kep;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangKep(3);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 454 Button
on (release) {
var _a = _root.itemUp1;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) and (_root.kepPla != _a.kep)) {
_root.cekUpgrade.kepala = _a.kep;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangKep(1);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.kepala == _root.kepPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 455 Button
on (release) {
var _a = _root.itemUp5;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.badan == _root.badPla)) and (_root.badPla != _a.bad)) {
_root.cekUpgrade.badan = _a.bad;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangBad(5);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.badan == _root.badPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 456 Button
on (release) {
var _a = _root.itemUp6;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.kaki == _root.kakPla)) and (_root.kakPla != _a.kak)) {
_root.cekUpgrade.kaki = _a.kak;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangKak(6);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.kaki == _root.kakPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 457 Button
on (release) {
var _a = _root.itemUp7;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.kaki == _root.kakPla)) and (_root.kakPla != _a.kak)) {
_root.cekUpgrade.kaki = _a.kak;
_root.keterangan.defPlayer = _root.keterangan.defPlayer + _a.def;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangKak(7);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.kaki == _root.kakPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 458 Button
on (release) {
if ((_root.keterangan.scorePlayer >= 200) and (_root.tenagaPlayer._xscale <= 99)) {
_root.tenagaPlayer._xscale = _root.tenagaPlayer._xscale + 50;
if (_root.tenagaPlayer._xscale >= 100) {
_root.tenagaPlayer._xscale = 100;
}
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - 200;
_root.outSilang();
} else if (_root.keterangan.scorePlayer < 200) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
}
Symbol 459 Button
on (release) {
var _a = _root.itemUp9;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(9);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 460 Button
on (release) {
var _a = _root.itemUp10;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(10);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 461 Button
on (release) {
var _a = _root.itemUp11;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(11);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 462 Button
on (release) {
var _a = _root.itemUp12;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(12);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 463 Button
on (release) {
var _a = _root.itemUp13;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(13);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 464 Button
on (release) {
var _a = _root.itemUp14;
if (((_root.keterangan.scorePlayer >= _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) and (_root.senPla != _a.weap)) {
_root.cekUpgrade.senjata = _a.weap;
_root.keterangan.attPlayer = 5 + _a.att;
_root.keterangan.scorePlayer = _root.keterangan.scorePlayer - _a.gol;
_root.outSilang();
_root.cekUpgrade.silangWea(14);
} else if ((_root.keterangan.scorePlayer < _a.gol) and (_root.cekUpgrade.senjata == _root.senPla)) {
_root.pesan1._visible = true;
_root.pesan1.gotoAndPlay(3);
}
_root.playerUpgrade.klikUp = true;
}
Symbol 482 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 503 Button
on (release) {
if (_root.tombolStart == "aktif") {
_root.alphaBack.posAlpha = "gantiLevel";
_root.alphaBack.gotoAndPlay(2);
_root.cekLevel.levelNow = 0;
_root.tombolStart = "deAktif";
_root.keterangan.mulaiAwal();
}
}
Symbol 508 Button
on (release) {
getURL ("http://www.arcadebomb.com", "_blank");
}
Symbol 510 Button
on (release) {
gotoAndStop (7);
}
Symbol 512 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 530 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 533 Button
on (release) {
_root.gotoAndStop(4);
}