Frame 1
var CPMStarContentSpotID = "2958QED26D9D4";
System.security.allowDomain("server.cpmstar.com");
adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=" + CPMStarContentSpotID);
function simpanData() {
Cookies = SharedObject.getLocal("xaddictGame");
i = 1;
while (i <= 40) {
Cookies.data["xsudahMenang" + i] = _root["sudahMenang" + i];
Cookies.data["xjumlahCoins" + i] = _root["jumlahCoins" + i];
i++;
}
i = 1;
while (i <= 8) {
Cookies.data["xdapatMedal" + i] = _root["dapatMedal" + i];
i++;
}
}
function loadData() {
Cookies = SharedObject.getLocal("xaddictGame");
i = 1;
while (i <= 40) {
_root["sudahMenang" + i] = Cookies.data["xsudahMenang" + i];
_root["jumlahCoins" + i] = Cookies.data["xjumlahCoins" + i];
i++;
}
i = 1;
while (i <= 8) {
_root["dapatMedal" + i] = Cookies.data["xdapatMedal" + i];
i++;
}
}
function backMusic() {
myMusic.stop();
myMusic = new Sound(zmusik);
myMusic.attachSound("backMusic");
myMusic.start(0, 1);
myMusic.setVolume(volume1);
myMusic.onSoundComplete = function () {
backMusic();
};
}
function backJatuh() {
mySound = new Sound(zsound);
mySound.attachSound("backJatuh");
mySound.start(0, 1);
mySound.setVolume(volume2);
}
function backCoin() {
mySound = new Sound(zsound);
mySound.attachSound("backCoin");
mySound.start(0, 1);
mySound.setVolume(volume2 / 2);
}
function backShoot() {
mySound = new Sound(zsound);
mySound.attachSound("backShoot");
mySound.start(0, 1);
mySound.setVolume(volume2);
}
function backWin() {
mySound = new Sound(zsound);
mySound.attachSound("backWin");
mySound.start(0, 1);
mySound.setVolume(volume2);
}
function backLompat() {
mySound = new Sound(zsound);
mySound.attachSound("backLompat");
mySound.start(0, 1);
mySound.setVolume(volume2);
}
function backKena() {
mySound = new Sound(zsound);
mySound.attachSound("backKena");
mySound.start(0, 1);
mySound.setVolume(volume2);
}
stop();
fscommand ("showmenu", true);
fscommand ("fullscreen", false);
fscommand ("allowscale", true);
Stage.showMenu = true;
zmusik = attachMovie("xsound", "zmusik", 2000);
zsound = attachMovie("xsound", "zsound", 3000);
play_btn.enabled = false;
sedangSound = true;
volume1 = 125;
volume2 = 100;
this.onEnterFrame = function () {
persen = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
xpersen = persen + " % ADDICTING ";
bar_mc.gotoAndStop(persen);
if (persen >= 100) {
gotoAndStop ("completed");
delete this.onEnterFrame;
}
};
loadData();
if (_root.sudahMenang1 == undefined) {
i = 1;
while (i <= 40) {
_root["sudahMenang" + i] = false;
_root["jumlahCoins" + i] = 0;
i++;
}
simpanData();
}
if (_root.dapatMedal1 == undefined) {
i = 1;
while (i <= 8) {
_root["dapatMedal" + i] = false;
i++;
}
simpanData();
}
Instance of Symbol 186 MovieClip in Frame 1
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Instance of Symbol 77 MovieClip [API Connector (NewgroundsAPI)] in Frame 1
//component parameters
onClipEvent (construct) {
api_id = "13814:qeEqQOSA";
encryption_key = "VAayYZfdP9IwfHPr1w0WtT0gKDmlxsej";
version = "";
fake_session = true;
debug = true;
error_screens = true;
medal_popups = true;
}
Frame 10
stop();
enter_btn.onRelease = function () {
gotoAndStop (21);
};
Frame 21
play();
Frame 205
stop();
backMusic();
gotoAndStop (206);
Frame 206
stop();
arcede_btn.onRelease = function () {
tipeMain = "arcade";
gotoAndStop (208);
};
old_btn.onRelease = function () {
gotoAndStop (211);
};
credits_btn.onRelease = function () {
gotoAndStop (207);
};
more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
Instance of Symbol 186 MovieClip in Frame 206
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Frame 207
stop();
back_btn.onRelease = function () {
gotoAndStop (206);
};
Instance of Symbol 186 MovieClip in Frame 207
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Frame 208
stop();
start_btn.onRelease = function () {
gotoAndStop (209);
};
back_btn.onRelease = function () {
gotoAndStop (206);
};
Instance of Symbol 186 MovieClip in Frame 208
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Frame 209
function overLevel() {
myStr = new String(this);
if (myStr.length == 14) {
pilihLevel = Number(myStr.substr(myStr.length - 1, 1));
} else {
pilihLevel = Number(myStr.substr(myStr.length - 2, 2));
}
frame_mc._x = this._x;
frame_mc._y = this._y + 60;
frame_mc.xstage = "LEVEL " + pilihLevel;
frame_mc.coins = _root["jumlahCoins" + pilihLevel];
frame_mc._visible = true;
}
function outLevel() {
frame_mc._visible = false;
}
function clickLevel() {
myStr = new String(this);
if (myStr.length == 14) {
pilihLevel = Number(myStr.substr(myStr.length - 1, 1));
} else {
pilihLevel = Number(myStr.substr(myStr.length - 2, 2));
}
gotoAndStop (210);
}
stop();
back_btn.onRelease = function () {
gotoAndStop (206);
};
i = 1;
while (i <= 40) {
if (_root["sudahMenang" + i] == true) {
_root["level" + i].gotoAndStop(2);
} else {
_root["level" + i].gotoAndStop(1);
}
_root["level" + i].onRelease = clickLevel;
_root["level" + i].onRollOver = overLevel;
_root["level" + i].onRollOut = outLevel;
i++;
}
frame_mc._visible = false;
jumlahCoins = 0;
i = 1;
while (i <= 40) {
jumlahCoins = jumlahCoins + _root["jumlahCoins" + i];
i++;
}
totalCoins = "Total Addicting Coins: " + jumlahCoins;
if (jumlahCoins >= 1600) {
if ((_root.dapatMedal1 == false) || (_root.dapatMedal1 == undefined)) {
_root.dapatMedal1 = true;
var medal_name = "1600 coins";
com.newgrounds.API.unlockMedal(medal_name);
simpanData();
}
} else if (jumlahCoins >= 800) {
if ((_root.dapatMedal2 == false) || (_root.dapatMedal2 == undefined)) {
_root.dapatMedal2 = true;
var medal_name = "800 coins";
com.newgrounds.API.unlockMedal(medal_name);
simpanData();
}
} else if (jumlahCoins >= 400) {
if ((_root.dapatMedal3 == false) || (_root.dapatMedal3 == undefined)) {
_root.dapatMedal3 = true;
var medal_name = "400 coins";
com.newgrounds.API.unlockMedal(medal_name);
simpanData();
}
} else if (jumlahCoins >= 200) {
if ((_root.dapatMedal4 == false) || (_root.dapatMedal4 == undefined)) {
_root.dapatMedal4 = true;
var medal_name = "200 coins";
com.newgrounds.API.unlockMedal(medal_name);
simpanData();
}
}
Frame 210
function cekMainLagi() {
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
Key.removeListener(myListener);
removeMovieClip(complete_mc);
removeMovieClip(info_mc);
cekKeyboardKiri = false;
cekKeyboardAtas = false;
cekKeyboardKanan = false;
cekKeyboardBawah = false;
cekKeyboardKiri2 = false;
cekKeyboardAtas2 = false;
cekKeyboardKanan2 = false;
cekKeyboardBawah2 = false;
klikSpaceBar = false;
adaDibawah = false;
masihMain = true;
if (pilihLevel >= 33) {
jagoan_mc.speed = 15;
} else {
jagoan_mc.speed = 10;
}
jagoan_mc.speedY = 0;
jenisMusuh = 0;
dalamPeluru = 1000;
dalamMusuh = 1;
jagoan_mc._y = 435;
jagoan_mc._x = 320;
if (pilihLevel == 8) {
delayMusuh = 1500;
} else if (pilihLevel == 13) {
delayMusuh = 500;
} else if (pilihLevel == 14) {
delayMusuh = 500;
} else if (pilihLevel == 12) {
delayMusuh = 12000;
} else if (pilihLevel == 15) {
delayMusuh = 2500;
} else if (pilihLevel == 16) {
delayMusuh = 3500;
} else if (pilihLevel == 19) {
delayMusuh = 6000;
} else if (pilihLevel == 21) {
delayMusuh = 15000;
} else if (pilihLevel == 22) {
delayMusuh = 6000;
} else if (pilihLevel == 23) {
delayMusuh = 8000;
} else if (pilihLevel == 24) {
delayMusuh = 18000;
} else if (pilihLevel == 25) {
delayMusuh = 20000;
} else if (pilihLevel == 26) {
delayMusuh = 20000;
} else if (pilihLevel == 27) {
delayMusuh = 20000;
} else if (pilihLevel == 28) {
delayMusuh = 28000;
} else if (pilihLevel == 29) {
delayMusuh = 28000;
} else if (pilihLevel == 30) {
delayMusuh = 9000;
} else if (pilihLevel == 31) {
delayMusuh = 20000;
} else if (pilihLevel == 32) {
delayMusuh = 2000;
} else if (pilihLevel == 33) {
delayMusuh = 500;
} else if (pilihLevel == 34) {
delayMusuh = 500;
} else if (pilihLevel == 36) {
delayMusuh = 12000;
} else if (pilihLevel == 37) {
delayMusuh = 6000;
} else if (pilihLevel == 38) {
delayMusuh = 18000;
} else if (pilihLevel == 39) {
delayMusuh = 9000;
} else if (pilihLevel == 40) {
delayMusuh = 18000;
} else {
delayMusuh = 3000;
}
score = 0;
nyawa = 1;
sedangPause = false;
complete_mc = attachMovie("complete_mc", "complete_mc", 1000009);
complete_mc._x = 320;
complete_mc._y = 240;
complete_mc._visible = false;
info_mc = attachMovie("info_mc", "info_mc", 1000000);
info_mc._x = 320;
info_mc._y = 0;
cekPause();
cekSound();
info_mc.pause_mc.onRelease = function () {
if (sedangPause == false) {
sedangPause = true;
complete_mc._visible = true;
complete_mc.gotoAndStop(4);
complete_mc.continue_btn.onRelease = function () {
sedangPause = false;
complete_mc._visible = false;
cekPause();
};
complete_mc.quit_btn.onRelease = function () {
clearInterval(idJatuh);
cekLanjut();
};
complete_mc.more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
} else {
sedangPause = false;
complete_mc._visible = false;
}
cekPause();
};
info_mc.sound_mc.onRelease = function () {
if (sedangSound == false) {
sedangSound = true;
volume1 = 125;
volume2 = 100;
myMusic.setVolume(volume1);
} else {
sedangSound = false;
volume1 = 0;
volume2 = 0;
myMusic.setVolume(volume1);
}
cekSound();
};
info_mc.more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
if (pilihLevel == 31) {
jatuhMusuh2();
} else {
idJatuh = setInterval(jatuhMusuh2, 3000);
}
if (pilihLevel >= 36) {
if (pilihLevel == 38) {
idPeluru = setInterval(munculPeluru, 100);
} else {
idPeluru = setInterval(munculPeluru, 200);
}
}
klikTombol();
}
function cekPause() {
if (sedangPause == true) {
info_mc.pause_mc.gotoAndStop(2);
} else {
info_mc.pause_mc.gotoAndStop(1);
}
}
function cekSound() {
if (sedangSound == true) {
info_mc.sound_mc.gotoAndStop(1);
} else {
info_mc.sound_mc.gotoAndStop(2);
}
}
function xlevel1() {
if (jenisMusuh <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(560) + 40;
musuh._y = (-random(10)) - 10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel2() {
if (jenisMusuh <= 6) {
i = 1;
while (i <= 3) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (i == 1) {
musuh._x = random(125) + 50;
} else if (i == 2) {
musuh._x = random(125) + 250;
} else {
musuh._x = random(125) + 450;
}
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel3() {
if (jenisMusuh <= 6) {
randMusuh = random(100);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 50;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel4() {
if (jenisMusuh <= 6) {
randMusuh = random(100);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 50;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel5() {
if (jenisMusuh <= 6) {
randMusuh = random(50);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 10;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
randMusuh2 = random(75);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 325;
musuh._x = musuh._x + randMusuh2;
musuh._y = -10;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel6() {
if (jenisMusuh <= 8) {
if ((((jenisMusuh == 1) || (jenisMusuh == 3)) || (jenisMusuh == 5)) || (jenisMusuh == 7)) {
randMusuh = 50;
} else {
randMusuh = 0;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = (i - 1) * 30;
musuh._x = musuh._x + randMusuh;
musuh._y = -10 - random(200);
musuh.speed = random(5) + 1;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel7() {
if (jenisMusuh <= 8) {
if ((((jenisMusuh == 1) || (jenisMusuh == 3)) || (jenisMusuh == 5)) || (jenisMusuh == 7)) {
jenisJatuh = 1;
} else {
jenisJatuh = 0;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (jenisJatuh == 1) {
musuh._x = (i - 1) * 60;
musuh._y = -10 - random(200);
musuh.speed = random(5) + 1;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
} else if (jenisJatuh == 0) {
musuh._x = (i - 1) * 60;
musuh._x = musuh._x + 30;
musuh._y = -10 - random(200);
musuh.speed = random(5) + 1;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
}
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel8() {
if (jenisMusuh <= 12) {
if ((((((jenisMusuh == 1) || (jenisMusuh == 3)) || (jenisMusuh == 5)) || (jenisMusuh == 7)) || (jenisMusuh == 9)) || (jenisMusuh == 11)) {
jenisJatuh = 1;
} else {
jenisJatuh = 0;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (jenisJatuh == 1) {
musuh._x = (i - 1) * 75;
musuh._y = -50;
musuh.speed = 6;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
} else if (jenisJatuh == 0) {
musuh._x = (i - 1) * 75;
musuh._x = musuh._x + 30;
musuh._y = -50;
musuh.speed = 6;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
}
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel9() {
if (jenisMusuh <= 6) {
randMusuh = random(450) + 80;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel10() {
if (jenisMusuh <= 8) {
randMusuh = random(125) + 50;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(125) + 250;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh2;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh3 = random(125) + 450;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh3;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel11() {
if (jenisMusuh <= 8) {
randMusuh = random(100) + 50;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - (200 - random(200));
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(100) + 200;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh2;
musuh._y = i * 30;
musuh._y = musuh._y - (200 - random(200));
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh3 = random(100) + 350;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh3;
musuh._y = i * 30;
musuh._y = musuh._y - (200 - random(200));
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh3 = random(100) + 500;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh3;
musuh._y = i * 30;
musuh._y = musuh._y - (200 - random(200));
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel12() {
if (jenisMusuh <= 4) {
j = 1;
while (j <= 22) {
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = j * 30;
musuh._x = musuh._x - 30;
musuh._y = i * 30;
if (((((((((((j == 1) || (j == 3)) || (j == 5)) || (j == 7)) || (j == 9)) || (j == 11)) || (j == 13)) || (j == 15)) || (j == 17)) || (j == 19)) || (j == 21)) {
musuh._y = musuh._y - 600;
} else {
musuh._y = musuh._y - 900;
}
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -0.5;
} else if (rand == 1) {
musuh.speedX = 0.5;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
j++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 8000);
}
}
function xlevel13() {
if (jenisMusuh <= 16) {
randMusuh = random(400);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel14() {
if (jenisMusuh <= 8) {
randMusuh = random(125);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 10;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(125);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 325;
musuh._x = musuh._x + randMusuh2;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel15() {
if (jenisMusuh <= 12) {
randHilang = random(20) + 1;
i = 1;
while (i <= 22) {
if ((i != randHilang) && (i != (randHilang + 1))) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x - 10;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
}
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 15000);
}
}
function xlevel16() {
if (jenisMusuh <= 8) {
randHilang = random(20) + 1;
i = 1;
while (i <= 22) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x - 10;
musuh._y = -10;
musuh.speed = 1;
if (i == randHilang) {
musuh.bisaHilang = true;
musuh.hilang = 350;
} else {
musuh.bisaHilang = false;
}
musuh.onEnterFrame = enterMusuh5;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 15000);
}
}
function xlevel17() {
if (jenisMusuh <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (rand == 0) {
musuh._x = -50;
musuh.speed = 6;
} else {
musuh._x = 690;
musuh.speed = -6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel18() {
if (jenisMusuh <= 6) {
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
if ((i == 1) || (i == 3)) {
musuh._x = -50 - (i * 60);
musuh.speed = 6;
} else {
musuh._x = 690 + (i * 60);
musuh.speed = -6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel19() {
if (jenisMusuh <= 4) {
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (((i == 1) || (i == 3)) || (i == 5)) {
musuh._x = -50;
musuh.speed = random(4) + 2;
} else {
musuh._x = 690;
musuh.speed = (-random(4)) - 2;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel20() {
if (jenisMusuh <= 6) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x + 900;
musuh.speed = -5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x - 2200;
musuh.speed = 5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 12000);
}
}
function xlevel21() {
if (jenisMusuh <= 4) {
if ((jenisMusuh == 1) || (jenisMusuh == 3)) {
pindahKe = 165;
} else {
pindahKe = -165;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x + (900 + pindahKe);
musuh.speed = -5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x - (2200 - pindahKe);
musuh.speed = 5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel22() {
if (jenisMusuh <= 4) {
rand = random(2);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -6;
} else {
musuh._x = musuh._x - 700;
musuh.speed = 6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1300;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 1000;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1600;
musuh.speed = -6;
} else {
musuh._x = musuh._x - 1300;
musuh.speed = 6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 2000);
}
}
function xlevel23() {
if (jenisMusuh <= 4) {
rand = random(2);
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -8;
} else {
musuh._x = musuh._x - 1000;
musuh.speed = 8;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel24() {
if (jenisMusuh <= 2) {
if (jenisMusuh == 1) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -6;
musuh.speedY = 16;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 200;
musuh._x = musuh._x + 1000;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 3000;
musuh.speed = 6;
musuh.speedY = 16;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 3000;
musuh.speed = 6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 200;
musuh._x = musuh._x - 3100;
musuh.speed = 6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel25() {
if (jenisMusuh <= 2) {
if (jenisMusuh == 1) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 20;
musuh.speedYAwal = 20;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 76) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -4;
musuh.speedY = 15;
musuh.speedYAwal = 15;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 76) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x + 1000;
musuh.speed = -4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 9000);
}
}
function xlevel26() {
if (jenisMusuh <= 4) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -4;
musuh.speedY = 8;
musuh.speedYAwal = 8;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2800;
musuh.speed = 4;
musuh.speedY = 8;
musuh.speedYAwal = 8;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 72) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x + 1000;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel27() {
if (jenisMusuh <= 2) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 20;
musuh.speedYAwal = 20;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel28() {
if (jenisMusuh <= 2) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 18;
musuh.speedYAwal = 18;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel29() {
if (jenisMusuh <= 2) {
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.speedY = 3;
musuh.speedYAwal = 3;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -3;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -3;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -3;
musuh.speedY = 3;
musuh.speedYAwal = 3;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x + 1100;
musuh.speed = -3;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel30() {
if (jenisMusuh <= 3) {
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
musuh._x = musuh._x - 700;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 420;
musuh._x = i * 30;
musuh._x = musuh._x + 700;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 390;
musuh._x = i * 30;
musuh._x = musuh._x - 700;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 360;
musuh._x = i * 30;
musuh._x = musuh._x + 700;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel31() {
if (jenisMusuh <= 3) {
if (jenisMusuh == 1) {
delayDulu = true;
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
musuh._x = musuh._x - 700;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 350;
musuh._x = i * 30;
musuh._x = musuh._x + 700;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 250;
musuh._x = i * 30;
musuh._x = musuh._x - 700;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 150;
musuh._x = i * 30;
musuh._x = musuh._x + 700;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
} else if (jenisMusuh == 2) {
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 400;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 300;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 200;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 100;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 30;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
delayDulu = false;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh2, 6000);
} else if (jenisMusuh == 3) {
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 350;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 250;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 150;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 50;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 400;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 300;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 200;
musuh._x = i * 30;
musuh._x = musuh._x - 500;
if (jenisMusuh == 1) {
musuh.speed = 9;
} else if (jenisMusuh == 2) {
musuh.speed = 16;
} else {
musuh.speed = 32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 100;
musuh._x = i * 30;
musuh._x = musuh._x + 500;
if (jenisMusuh == 1) {
musuh.speed = -9;
} else if (jenisMusuh == 2) {
musuh.speed = -16;
} else {
musuh.speed = -32;
}
musuh.wdelay = 0;
musuh.onEnterFrame = enterMusuh6;
dalamMusuh++;
i++;
}
delayDulu = false;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh2, 4000);
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel32() {
if (jenisMusuh <= 15) {
if ((((((((((jenisMusuh == 1) || (jenisMusuh == 3)) || (jenisMusuh == 5)) || (jenisMusuh == 7)) || (jenisMusuh == 9)) || (jenisMusuh == 11)) || (jenisMusuh == 13)) || (jenisMusuh == 15)) || (jenisMusuh == 17)) || (jenisMusuh == 19)) {
rand = 0;
} else {
rand = 1;
}
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = jagoan_mc._y;
musuh._x = i * 30;
if (rand == 0) {
musuh._x = musuh._x - 700;
musuh.speed = 8;
} else {
musuh._x = musuh._x + 700;
musuh.speed = -8;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel33() {
if (jenisMusuh <= 100) {
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._xscale = (musuh._yscale = random(150) + 50);
musuh.rotasi = random(5) + 1;
musuh.xdelay = random(200);
musuh._visible = false;
rand = random(20);
if (rand == 0) {
randX = random(2);
if (randX == 0) {
musuh._x = (jagoan_mc._x + 200) + random(200);
} else {
musuh._x = (jagoan_mc._x - 200) - random(200);
}
randY = random(2);
if (randY == 0) {
musuh._y = (jagoan_mc._y + 200) + random(200);
} else {
musuh._y = (jagoan_mc._y - 200) - random(200);
}
musuh.gotoAndStop(1);
} else {
musuh._x = random(600) + 20;
musuh._y = random(400) + 20;
musuh.gotoAndStop(2);
}
musuh.onEnterFrame = enterMusuh7;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel34() {
if (jenisMusuh <= 200) {
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._xscale = (musuh._yscale = random(75) + 50);
musuh.rotasi = random(5) + 1;
rand = random(20);
if (rand == 0) {
musuh._x = random(600) + 20;
musuh._y = -50 - random(50);
musuh.gotoAndStop(1);
} else {
musuh._x = random(600) + 20;
musuh._y = -50 - random(50);
musuh.gotoAndStop(2);
}
musuh.speedX = 5;
musuh.speedY = random(4) + 2;
musuh.onEnterFrame = enterMusuh8;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 3000);
}
}
function xlevel35() {
if (jenisMusuh <= 1) {
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(640);
musuh._y = (-random(10)) - 10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
j = 1;
while (j <= 19) {
randMusuh = random(640);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = (i * 30) + 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -5;
} else if (rand == 1) {
musuh.speedX = 5;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
j++;
}
i = 1;
while (i <= 19) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(640);
musuh._y = ((-random(10)) - 10) - 600;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
j = 1;
while (j <= 19) {
randMusuh = random(640);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = (i * 30) + 30;
musuh._y = musuh._y - 800;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -5;
} else if (rand == 1) {
musuh.speedX = 5;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
j++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 9000);
}
}
function xlevel36() {
if (jenisMusuh <= 8) {
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = 740;
musuh._y = i * 30;
musuh.speed = -2.5;
musuh.onEnterFrame = enterMusuh9;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = -100;
musuh._y = i * 30;
musuh.speed = 2.5;
musuh.onEnterFrame = enterMusuh9;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 10000);
}
}
function xlevel37() {
if (jenisMusuh <= 8) {
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = 800;
musuh._y = i * 30;
musuh.speed = -3;
musuh.nyawa = jenisMusuh * 2;
musuh.onEnterFrame = enterMusuh10;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 6000);
}
}
function xlevel38() {
if (jenisMusuh <= 2) {
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = 700;
musuh._y = i * 30;
musuh.speed = -1;
musuh.nyawa = 12;
musuh.onEnterFrame = enterMusuh10;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = -50;
musuh._y = i * 30;
musuh.speed = 1;
musuh.nyawa = 12;
musuh.onEnterFrame = enterMusuh10;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._y = -50;
musuh.speed = 1;
musuh.nyawa = 12;
musuh.onEnterFrame = enterMusuh11;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._y = 600;
musuh.speed = -1;
musuh.nyawa = 12;
musuh.onEnterFrame = enterMusuh11;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 12000);
}
}
function xlevel39() {
if (jenisMusuh <= 8) {
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._y = -50 - random(100);
musuh.speed = 1;
musuh.nyawa = 2 * jenisMusuh;
musuh.onEnterFrame = enterMusuh11;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 9000);
}
}
function xlevel40() {
if (jenisMusuh <= 4) {
i = 1;
while (i <= 5) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = 700;
musuh._y = i * 30;
musuh.speed = 2;
musuh.nyawa = 10 * jenisMusuh;
musuh.onEnterFrame = enterMusuh12;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 10) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = -50;
musuh._y = i * 30;
musuh.speed = 2;
musuh.nyawa = 10 * jenisMusuh;
musuh.onEnterFrame = enterMusuh12;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 5) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._y = -50;
musuh.speed = 2;
musuh.nyawa = 10 * jenisMusuh;
musuh.onEnterFrame = enterMusuh12;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 10) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._y = 600;
musuh.speed = 2;
musuh.nyawa = 10 * jenisMusuh;
musuh.onEnterFrame = enterMusuh12;
dalamMusuh++;
i++;
}
} else {
clearInterval(idJatuh);
idWin = setInterval(cekWin, 20000);
}
}
function jatuhMusuh2() {
if (sedangPause == false) {
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh2, delayMusuh);
jenisMusuh++;
switch (pilihLevel) {
case 1 :
xlevel1();
return;
case 2 :
xlevel2();
return;
case 3 :
xlevel3();
return;
case 4 :
xlevel4();
return;
case 5 :
xlevel5();
return;
case 6 :
xlevel6();
return;
case 7 :
xlevel7();
return;
case 8 :
xlevel8();
return;
case 9 :
xlevel9();
return;
case 10 :
xlevel10();
return;
case 11 :
xlevel11();
return;
case 12 :
xlevel12();
return;
case 13 :
xlevel13();
return;
case 14 :
xlevel14();
return;
case 15 :
xlevel15();
return;
case 16 :
xlevel16();
return;
case 17 :
xlevel17();
return;
case 18 :
xlevel18();
return;
case 19 :
xlevel19();
return;
case 20 :
xlevel20();
return;
case 21 :
xlevel21();
return;
case 22 :
xlevel22();
return;
case 23 :
xlevel23();
return;
case 24 :
xlevel24();
return;
case 25 :
xlevel25();
return;
case 26 :
xlevel26();
return;
case 27 :
xlevel27();
return;
case 28 :
xlevel28();
return;
case 29 :
xlevel29();
return;
case 30 :
xlevel30();
return;
case 31 :
xlevel31();
return;
case 32 :
xlevel32();
return;
case 33 :
xlevel33();
return;
case 34 :
xlevel34();
return;
case 35 :
xlevel35();
return;
case 36 :
xlevel36();
return;
case 37 :
xlevel37();
return;
case 38 :
xlevel38();
return;
case 39 :
xlevel39();
return;
case 40 :
xlevel40();
return;
default :
trace("Out of range");
}
}
}
function enterMusuh12() {
if (sedangPause == false) {
this.deltaX = this._x - jagoan_mc._x;
this.deltaY = this._y - jagoan_mc._y;
this._rotation = (-Math.atan2(this.deltaX, this.deltaY)) / (Math.PI/180);
this._y = this._y - (this.speed * Math.cos(this._rotation * (Math.PI/180)));
this._x = this._x + (this.speed * Math.sin(this._rotation * (Math.PI/180)));
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
}
}
function enterMusuh11() {
if (sedangPause == false) {
this._y = this._y + this.speed;
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if (this.speed > 0) {
if (this._y >= 600) {
removeMovieClip(this);
}
} else if (this._y <= -100) {
removeMovieClip(this);
}
}
}
function enterMusuh10() {
if (sedangPause == false) {
this._x = this._x + this.speed;
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if (this.speed > 0) {
if (this._x >= 700) {
removeMovieClip(this);
}
} else if (this._x <= -100) {
removeMovieClip(this);
}
}
}
function enterMusuh9() {
if (sedangPause == false) {
this._x = this._x + this.speed;
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh8() {
if (sedangPause == false) {
this._rotation = this._rotation + this.rotasi;
this._y = this._y + this.speedY;
this._x = this._x + this.speedX;
this.speedX = this.speedX - 0.5;
this.speedY = this.speedY - 0.5;
if (this.speedY <= 0) {
this.speedY = 0;
}
if (this.speedX <= -5) {
this.speedX = -this.speedX;
this.speedY = random(5) + 1;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if (((this._x >= 4000) || (this._x <= -4000)) || (this._y >= 800)) {
removeMovieClip(this);
}
}
}
function enterMusuh7() {
if (sedangPause == false) {
this._rotation = this._rotation + this.rotasi;
if (this.xdelay <= 0) {
if (this.xdelay <= -100) {
removeMovieClip(this);
} else {
this.xdelay--;
if (this._visible == false) {
this.efek_mc.gotoAndPlay(1);
this._visible = true;
}
}
} else {
this.xdelay--;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh6() {
if (sedangPause == false) {
if (this._currentframe == 1) {
if (this.wdelay <= 0) {
if (delayDulu == false) {
this._x = this._x + this.speed;
}
} else {
this.wdelay = this.wdelay - 0.5;
this._x = this._x + this.speed;
}
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh5() {
if (sedangPause == false) {
if (this._y > 430) {
this._y = 450;
if (this._currentframe != 2) {
backJatuh();
}
this.gotoAndStop(2);
} else if (this._currentframe == 1) {
this._y = this._y + this.speed;
}
if (this.bisaHilang == true) {
this.hilang--;
if (this.hilang <= 0) {
this._visible = false;
if (this.hilang <= -200) {
this.hilang = 100;
this._visible = true;
}
}
}
if ((this.bisaHilang == false) || (this._currentframe == 2)) {
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
backCoin();
removeMovieClip(this);
}
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh4() {
if (sedangPause == false) {
this._y = this._y - this.speedY;
this.speedY--;
if (this.speedY < 0) {
if (this._y > 440) {
this._y = 450;
if (this.xdelay != undefined) {
if (this.xdelay >= 10) {
this.speedY = this.speedYAwal;
this.xdelay = 0;
} else {
this.xdelay++;
}
} else if (pilihLevel >= 26) {
this.speedY = 18;
} else if (this.speedYAwal != undefined) {
this.speedY = this.speedYAwal;
} else if (jenisMusuh >= 63) {
this.speedY = 18;
} else {
this.speedY = 12;
}
}
}
if (this._currentframe == 1) {
this._x = this._x + this.speed;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh3() {
if (sedangPause == false) {
if (this._currentframe == 1) {
this._x = this._x + this.speed;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh() {
if (sedangPause == false) {
if (this._y > 440) {
this._y = 450;
if (this._currentframe != 2) {
backJatuh();
}
this.gotoAndStop(2);
} else if (this._currentframe == 1) {
this._y = this._y + this.speed;
if (pilihLevel == 15) {
} else {
this.speed = this.speed + 0.25;
}
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function enterMusuh2() {
if (sedangPause == false) {
if (this._y > 440) {
this._y = 450;
if (this._currentframe != 2) {
backJatuh();
}
this.gotoAndStop(2);
} else if (this._currentframe == 1) {
this._y = this._y + this.speed;
if (pilihLevel == 12) {
} else {
this.speed = this.speed + 0.25;
}
}
if (this._currentframe == 2) {
this._x = this._x + this.speedX;
this._y = this._y + this.speedY;
this.speedY++;
if (this._y > 450) {
this._y = 450;
}
if (this.speedX > 0) {
this.speedX = this.speedX - 0.05;
if (this.speedX <= 0) {
this.speedX = 0;
}
} else if (this.speedX < 0) {
this.speedX = this.speedX + 0.05;
if (this.speedX >= 0) {
this.speedX = 0;
}
} else {
this.speedX = 0;
}
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
backCoin();
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
}
function munculPeluru() {
if (sedangPause == false) {
if (klikMouse == true) {
if (pilihLevel == 36) {
backShoot();
peluru = attachMovie("peluru_mc", "peluru_mc" + dalamPeluru, dalamPeluru);
peluru._x = jagoan_mc._x + posX;
peluru._y = jagoan_mc._y + posY;
peluru.speed = 7.5;
deltaX = peluru._x - _root._xmouse;
deltaY = peluru._y - _root._ymouse;
peluru._rotation = (-Math.atan2(deltaX, deltaY)) / (Math.PI/180);
peluru.onEnterFrame = enterPeluru;
dalamPeluru++;
if (dalamPeluru >= 1050) {
dalamPeluru = 1000;
}
} else if (((pilihLevel == 37) || (pilihLevel == 39)) || (pilihLevel == 40)) {
backShoot();
z = 1;
while (z <= 3) {
peluru = attachMovie("peluru_mc", "peluru_mc" + dalamPeluru, dalamPeluru);
peluru._x = jagoan_mc._x + posX;
peluru._y = jagoan_mc._y + posY;
peluru.speed = 7.5;
deltaX = peluru._x - _root._xmouse;
deltaY = peluru._y - _root._ymouse;
if (z == 1) {
peluru._rotation = ((-Math.atan2(deltaX, deltaY)) / (Math.PI/180)) - 10;
} else if (z == 2) {
peluru._rotation = ((-Math.atan2(deltaX, deltaY)) / (Math.PI/180)) + 10;
} else if (z == 3) {
peluru._rotation = (-Math.atan2(deltaX, deltaY)) / (Math.PI/180);
}
peluru.onEnterFrame = enterPeluru;
dalamPeluru++;
if (dalamPeluru >= 1050) {
dalamPeluru = 1000;
}
z++;
}
} else if (pilihLevel == 38) {
backShoot();
peluru = attachMovie("peluru_mc", "peluru_mc" + dalamPeluru, dalamPeluru);
peluru._x = jagoan_mc._x + posX;
peluru._y = jagoan_mc._y + posY;
peluru.speed = 7.5;
deltaX = peluru._x - _root._xmouse;
deltaY = peluru._y - _root._ymouse;
peluru._rotation = (-Math.atan2(deltaX, deltaY)) / (Math.PI/180);
peluru.onEnterFrame = enterPeluru;
dalamPeluru++;
if (dalamPeluru >= 1050) {
dalamPeluru = 1000;
}
}
}
}
}
function enterPeluru() {
if (sedangPause == false) {
angle = this._rotation;
this._y = this._y - (this.speed * Math.cos(this._rotation * (Math.PI/180)));
this._x = this._x + (this.speed * Math.sin(this._rotation * (Math.PI/180)));
i = 1;
while (i <= dalamMusuh) {
if (_root["musuh_mc" + i] != undefined) {
if (_root["musuh_mc" + i]._currentframe == 1) {
if (this.hitTest(_root["musuh_mc" + i])) {
if (this._currentframe == 1) {
if ((_root["musuh_mc" + i].nyawa <= 0) || (_root["musuh_mc" + i].nyawa == undefined)) {
_root["musuh_mc" + i].gotoAndStop(2);
backJatuh();
removeMovieClip(this);
} else {
_root["musuh_mc" + i].nyawa--;
removeMovieClip(this);
}
}
}
}
}
i++;
}
if ((((this._x >= 640) || (this._x <= 0)) || (this._y <= 0)) || (this._y >= 480)) {
removeMovieClip(this);
}
}
}
function cekNyawa() {
if (sedangPause == false) {
if (nyawa <= 0) {
nyawa = 0;
if (jagoan_mc.anim_mc._currentframe != 7) {
backKena();
clearInterval(idComplete);
idComplete = setInterval(cekComplete, 2000);
}
jagoan_mc.anim_mc.gotoAndStop(7);
jagoan_mc.speed = 0;
clearInterval(idJatuh);
clearInterval(idWin);
clearInterval(idPeluru);
}
}
}
function cekComplete() {
clearInterval(idComplete);
complete_mc._visible = true;
complete_mc.gotoAndStop(2);
complete_mc.try_btn.onRelease = function () {
cekMainLagi();
};
complete_mc.continue_btn.onRelease = function () {
cekLanjut();
};
complete_mc.more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
}
function cekMenang() {
delete myListener.onKeyDown;
delete myListener.onKeyUp;
Key.removeListener(myListener);
removeMovieClip(complete_mc);
removeMovieClip(info_mc);
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["peluru_mc" + zi]);
zi++;
}
clearInterval(idPeluru);
clearInterval(idJatuh);
gotoAndStop (212);
}
function cekWin() {
backWin();
clearInterval(idJatuh);
clearInterval(idWin);
_root["sudahMenang" + pilihLevel] = true;
complete_mc._visible = true;
if (pilihLevel == 40) {
complete_mc.gotoAndStop(3);
} else {
complete_mc.gotoAndStop(1);
}
if (score >= _root["jumlahCoins" + pilihLevel]) {
_root["jumlahCoins" + pilihLevel] = score;
}
simpanData();
cekMedals();
complete_mc.next_btn.onRelease = function () {
pilihLevel++;
cekMainLagi();
};
complete_mc.continue_btn.onRelease = function () {
cekLanjut();
};
complete_mc.more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
}
function cekMedals() {
zbykMenang = 0;
i = 1;
while (i <= 40) {
if (_root["sudahMenang" + i] == true) {
zbykMenang++;
}
i++;
}
if (zbykMenang >= 40) {
if ((_root.dapatMedal5 == false) || (_root.dapatMedal5 == undefined)) {
_root.dapatMedal5 = true;
var _local2 = "win 40";
com.newgrounds.API.unlockMedal(_local2);
simpanData();
}
} else if (zbykMenang >= 30) {
if ((_root.dapatMedal6 == false) || (_root.dapatMedal6 == undefined)) {
_root.dapatMedal6 = true;
var _local2 = "win 30";
com.newgrounds.API.unlockMedal(_local2);
simpanData();
}
} else if (zbykMenang >= 20) {
if ((_root.dapatMedal7 == false) || (_root.dapatMedal7 == undefined)) {
_root.dapatMedal7 = true;
var _local2 = "win 20";
com.newgrounds.API.unlockMedal(_local2);
simpanData();
}
} else if (zbykMenang >= 10) {
if ((_root.dapatMedal8 == false) || (_root.dapatMedal8 == undefined)) {
_root.dapatMedal8 = true;
var _local2 = "win 10";
com.newgrounds.API.unlockMedal(_local2);
simpanData();
}
}
}
function cekLanjut() {
delete myListener.onKeyDown;
delete myListener.onKeyUp;
Key.removeListener(myListener);
removeMovieClip(complete_mc);
removeMovieClip(info_mc);
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["peluru_mc" + zi]);
zi++;
}
gotoAndStop (209);
}
function klikTombol() {
myListener = new Object();
myListener.onKeyDown = function () {
if (Key.getCode() == 80) {
if (sedangPause == false) {
sedangPause = true;
complete_mc._visible = true;
complete_mc.gotoAndStop(4);
complete_mc.continue_btn.onRelease = function () {
sedangPause = false;
complete_mc._visible = false;
cekPause();
};
complete_mc.quit_btn.onRelease = function () {
clearInterval(idJatuh);
cekLanjut();
};
complete_mc.more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
} else {
sedangPause = false;
complete_mc._visible = false;
}
cekPause();
}
if (Key.getCode() == 32) {
if (complete_mc._visible == true) {
if (complete_mc._currentframe == 1) {
pilihLevel++;
cekMainLagi();
} else if (complete_mc._currentframe == 2) {
cekMainLagi();
}
}
}
if ((Key.getCode() == 37) || (Key.getCode() == 65)) {
if (pilihLevel >= 31) {
cekKeyboardKiri2 = true;
cekKeyboardKiri = false;
} else {
cekKeyboardKiri = true;
}
}
if ((Key.getCode() == 38) || (Key.getCode() == 87)) {
if (pilihLevel >= 31) {
cekKeyboardAtas2 = true;
cekKeyboardAtas = false;
} else if (pilihLevel >= 17) {
if (jagoan_mc.speedY == 0) {
if (jagoan_mc._y == 435) {
jagoan_mc.speedY = 13;
cekKeyboardAtas = true;
}
}
}
}
if ((Key.getCode() == 39) || (Key.getCode() == 68)) {
if (pilihLevel >= 31) {
cekKeyboardKanan2 = true;
cekKeyboardKanan = false;
} else {
cekKeyboardKanan = true;
}
}
if ((Key.getCode() == 40) || (Key.getCode() == 83)) {
if (pilihLevel >= 23) {
if (pilihLevel >= 31) {
cekKeyboardBawah2 = true;
cekKeyboardBawah = false;
} else {
cekKeyboardBawah = true;
}
}
}
};
myListener.onKeyUp = function () {
if ((Key.getCode() == 37) || (Key.getCode() == 65)) {
if (pilihLevel >= 31) {
cekKeyboardKiri2 = false;
} else {
cekKeyboardKiri = false;
}
}
if ((Key.getCode() == 39) || (Key.getCode() == 68)) {
if (pilihLevel >= 31) {
cekKeyboardKanan2 = false;
} else {
cekKeyboardKanan = false;
}
}
if ((Key.getCode() == 40) || (Key.getCode() == 83)) {
if (pilihLevel >= 31) {
cekKeyboardBawah2 = false;
} else {
cekKeyboardBawah = false;
}
}
if ((Key.getCode() == 38) || (Key.getCode() == 87)) {
cekKeyboardAtas2 = false;
}
};
Key.addListener(myListener);
}
stop();
cekMainLagi();
_root.onEnterFrame = function () {
if (sedangPause == false) {
if (nyawa <= 0) {
jagoan_mc.anim_mc.gotoAndStop(7);
} else {
if (cekKeyboardKiri == true) {
if (jagoan_mc._x >= 20) {
if (adaDibawah == false) {
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
}
}
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = 100;
}
if (jagoan_mc._y == 465) {
jagoan_mc._x = jagoan_mc._x - (jagoan_mc.speed / 2);
} else {
jagoan_mc._x = jagoan_mc._x - jagoan_mc.speed;
}
}
}
if (cekKeyboardKanan == true) {
if (jagoan_mc._x <= 620) {
if (adaDibawah == false) {
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
}
}
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = -100;
}
if (jagoan_mc._y == 465) {
jagoan_mc._x = jagoan_mc._x + (jagoan_mc.speed / 2);
} else {
jagoan_mc._x = jagoan_mc._x + jagoan_mc.speed;
}
}
}
if (cekKeyboardAtas == true) {
if (pilihLevel >= 17) {
if (adaDibawah == true) {
adaDibawah = false;
jagoan_mc._y = 435;
} else {
jagoan_mc._y = jagoan_mc._y - jagoan_mc.speedY;
if (pilihLevel >= 29) {
jagoan_mc.speedY = jagoan_mc.speedY - 0.25;
} else if (pilihLevel >= 27) {
jagoan_mc.speedY = jagoan_mc.speedY - 0.5;
} else {
jagoan_mc.speedY--;
}
if ((jagoan_mc._y > 390) && (jagoan_mc.speedY < 0)) {
jagoan_mc.anim_mc.gotoAndStop(6);
} else if (jagoan_mc.anim_mc._currentframe != 4) {
backLompat();
jagoan_mc.anim_mc.gotoAndStop(4);
}
if (jagoan_mc._y > 430) {
jagoan_mc._y = 435;
jagoan_mc.speedY = 0;
cekKeyboardAtas = false;
}
}
}
}
if (cekKeyboardBawah == true) {
if (pilihLevel >= 23) {
if (adaDibawah == false) {
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(3);
jagoan_mc.indi.gotoAndStop(2);
adaDibawah = true;
jagoan_mc._y = 465;
}
}
}
} else if (pilihLevel >= 23) {
if (adaDibawah == true) {
adaDibawah = false;
jagoan_mc._y = 435;
jagoan_mc.indi.gotoAndStop(1);
jagoan_mc.anim_mc.gotoAndStop(1);
jagoan_mc.speedY = 0;
}
}
if (pilihLevel >= 31) {
if ((((cekKeyboardKiri2 == false) && (cekKeyboardKanan2 == false)) && (cekKeyboardBawah2 == false)) && (cekKeyboardAtas2 == false)) {
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(1);
} else if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
}
} else if ((((cekKeyboardKiri == false) && (cekKeyboardKanan == false)) && (cekKeyboardBawah == false)) && (cekKeyboardAtas == false)) {
if (jagoan_mc.anim_mc._currentframe != 6) {
jagoan_mc.anim_mc.gotoAndStop(1);
}
}
if (cekKeyboardKiri2 == true) {
if (pilihLevel == 35) {
if (jagoan_mc._x >= -20) {
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = 100;
}
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
jagoan_mc._x = jagoan_mc._x - jagoan_mc.speed;
} else {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._x = jagoan_mc._x - (jagoan_mc.speed / 2);
}
}
} else if (jagoan_mc._x >= 20) {
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = 100;
}
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
jagoan_mc._x = jagoan_mc._x - jagoan_mc.speed;
} else {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._x = jagoan_mc._x - (jagoan_mc.speed / 2);
}
}
}
if (cekKeyboardKanan2 == true) {
if (pilihLevel == 35) {
if (jagoan_mc._x <= 660) {
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = -100;
}
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
jagoan_mc._x = jagoan_mc._x + jagoan_mc.speed;
} else {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._x = jagoan_mc._x + (jagoan_mc.speed / 2);
}
}
} else if (jagoan_mc._x <= 620) {
if (jagoan_mc.anim_mc._currentframe != 8) {
jagoan_mc._xscale = -100;
}
if (jagoan_mc._y == 435) {
jagoan_mc.anim_mc.gotoAndStop(2);
jagoan_mc._x = jagoan_mc._x + jagoan_mc.speed;
} else {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._x = jagoan_mc._x + (jagoan_mc.speed / 2);
}
}
}
if (cekKeyboardAtas2 == true) {
if (jagoan_mc._y >= 20) {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._y = jagoan_mc._y - (jagoan_mc.speed / 2);
}
}
if (cekKeyboardBawah2 == true) {
if (jagoan_mc._y >= 430) {
jagoan_mc.anim_mc.gotoAndStop(1);
jagoan_mc._y = 435;
} else {
if (pilihLevel >= 36) {
jagoan_mc.anim_mc.gotoAndStop(8);
} else {
jagoan_mc.anim_mc.gotoAndStop(5);
}
jagoan_mc._y = jagoan_mc._y + (jagoan_mc.speed / 2);
}
}
}
if (jagoan_mc.anim_mc._currentframe == 8) {
jagoan_mc._xscale = 100;
if (jagoan_mc._x <= _root._xmouse) {
if (jagoan_mc._y <= (_root._ymouse - 75)) {
posX = 30;
posY = 0;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(5);
} else if (jagoan_mc._y >= (_root._ymouse + 75)) {
posX = 30;
posY = -50;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(7);
} else {
posX = 30;
posY = -20;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(6);
}
} else if (jagoan_mc._x >= _root._xmouse) {
if (jagoan_mc._y <= (_root._ymouse - 75)) {
posX = -30;
posY = 10;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(3);
} else if (jagoan_mc._y >= (_root._ymouse + 75)) {
posX = -35;
posY = -32;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(1);
} else {
posX = -35;
posY = -10;
jagoan_mc.anim_mc.tembak_mc.gotoAndStop(2);
}
}
}
info_mc.xwave = jenisMusuh;
info_mc.xlife = nyawa;
info_mc.xcoins = score;
info_mc.xlevel = pilihLevel;
}
};
_root.onMouseDown = function () {
if (sedangPause == false) {
if (jagoan_mc.anim_mc._currentframe == 8) {
klikMouse = true;
}
}
};
_root.onMouseUp = function () {
klikMouse = false;
};
Frame 211
function jatuhMusuh() {
if (jenisMusuh <= 2) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(560) + 40;
musuh._y = (-random(10)) - 10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
} else if (jenisMusuh <= 4) {
i = 1;
while (i <= 2) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (i == 1) {
musuh._x = random(200) + 360;
} else {
musuh._x = random(200) + 40;
}
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 6) {
i = 1;
while (i <= 3) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (i == 1) {
musuh._x = random(125) + 50;
} else if (i == 2) {
musuh._x = random(125) + 250;
} else {
musuh._x = random(125) + 450;
}
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 8) {
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
if (i == 1) {
musuh._x = random(100) + 0;
} else if (i == 2) {
musuh._x = random(100) + 200;
} else if (i == 3) {
musuh._x = random(100) + 350;
} else {
musuh._x = random(100) + 500;
}
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 10) {
randMusuh = random(250);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 50;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 12) {
randMusuh = random(150);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 50;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 14) {
randMusuh = random(100);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 50;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 16) {
randMusuh = random(50);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 10;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
randMusuh2 = random(75);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 325;
musuh._x = musuh._x + randMusuh2;
musuh._y = -10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 18) {
randMusuh = random(50);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 10;
musuh._x = musuh._x + randMusuh;
musuh._y = -10;
musuh.speed = random(5) + 1;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
randMusuh2 = random(75);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = i * 30;
musuh._x = musuh._x + 325;
musuh._x = musuh._x + randMusuh2;
musuh._y = -10;
musuh.speed = random(5) + 1;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 20) {
randMusuh = random(450) + 80;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 22) {
randMusuh = random(200) + 50;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(200) + 350;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh2;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 24) {
randMusuh = random(125) + 50;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(125) + 250;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh2;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh3 = random(125) + 450;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh3;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 26) {
randMusuh = random(100) + 50;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh2 = random(100) + 200;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh2;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh3 = random(100) + 350;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh3;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
randMusuh4 = random(100) + 500;
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh4;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -3;
} else if (rand == 1) {
musuh.speedX = 3;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 28) {
delayMusuh = 9000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (rand == 0) {
musuh._x = -50;
musuh.speed = 6;
} else {
musuh._x = 690;
musuh.speed = -6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
} else if (jenisMusuh <= 30) {
delayMusuh = 6000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (rand == 0) {
musuh._x = -50;
musuh.speed = 9;
} else {
musuh._x = 690;
musuh.speed = -9;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
} else if (jenisMusuh <= 32) {
delayMusuh = 3000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (rand == 0) {
musuh._x = -50;
musuh.speed = 12;
} else {
musuh._x = 690;
musuh.speed = -12;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
} else if (jenisMusuh <= 34) {
delayMusuh = 3000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 2) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (i == 1) {
musuh._x = -50;
musuh.speed = random(4) + 2;
} else {
musuh._x = 690;
musuh.speed = (-random(4)) - 2;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 36) {
delayMusuh = 4000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if ((i == 1) || (i == 3)) {
musuh._x = -50;
musuh.speed = random(4) + 2;
} else {
musuh._x = 690;
musuh.speed = (-random(4)) - 2;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 38) {
delayMusuh = 5000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
rand = random(2);
if (((i == 1) || (i == 3)) || (i == 5)) {
musuh._x = -50;
musuh.speed = random(4) + 2;
} else {
musuh._x = 690;
musuh.speed = (-random(4)) - 2;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 40) {
delayMusuh = 6000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 2) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 42) {
delayMusuh = 5000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -6;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 44) {
delayMusuh = 4000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -8;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 8;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 46) {
delayMusuh = 3000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 8) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -10;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 10;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 48) {
delayMusuh = 6000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -12;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 12;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -12;
} else {
musuh._x = musuh._x - 700;
musuh.speed = 12;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 50) {
delayMusuh = 9000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 700;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1300;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 1000;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 52) {
delayMusuh = 9000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 700;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 300;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -6;
} else {
musuh._x = musuh._x - 700;
musuh.speed = 6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1300;
musuh.speed = -4;
} else {
musuh._x = musuh._x - 1000;
musuh.speed = 4;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1600;
musuh.speed = -6;
} else {
musuh._x = musuh._x - 1300;
musuh.speed = 6;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 54) {
delayMusuh = 9000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x + 900;
musuh.speed = -5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 6) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x - 1280;
musuh.speed = 5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 56) {
delayMusuh = 18000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x + 900;
musuh.speed = -5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 150;
musuh._x = musuh._x - 2200;
musuh.speed = 5;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 58) {
delayMusuh = 12000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
rand = random(2);
i = 1;
while (i <= 24) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 30;
if (rand == 1) {
musuh._x = musuh._x + 1000;
musuh.speed = -8;
} else {
musuh._x = musuh._x - 1000;
musuh.speed = 8;
}
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 60) {
delayMusuh = 20000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 200;
musuh._x = musuh._x + 1000;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 62) {
delayMusuh = 20000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -6;
musuh.speedY = 15;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 200;
musuh._x = musuh._x + 1000;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 64) {
delayMusuh = 18000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 900;
musuh.speed = -4;
musuh.speedY = 8;
musuh.speedYAwal = 8;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2800;
musuh.speed = 4;
musuh.speedY = 8;
musuh.speedYAwal = 8;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x + 1000;
musuh.speed = -6;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 66) {
delayMusuh = 25000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 15;
musuh.speedYAwal = 15;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 76) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 68) {
delayMusuh = 25000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 3;
musuh.speedYAwal = 3;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh <= 70) {
delayMusuh = 30000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.speedY = 3;
musuh.speedYAwal = 3;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x - 2500;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x - 2350;
musuh.speed = 4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -4;
musuh.speedY = 12;
musuh.speedYAwal = 12;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -4;
musuh.speedY = 6;
musuh.speedYAwal = 6;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -4;
musuh.speedY = 3;
musuh.speedYAwal = 3;
musuh.xdelay = 0;
musuh.onEnterFrame = enterMusuh4;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 12) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 450;
musuh._x = i * 200;
musuh._x = musuh._x + 1100;
musuh.speed = -4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
i = 1;
while (i <= 64) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._y = 480;
musuh._x = i * 30;
musuh._x = musuh._x + 1100;
musuh.speed = -4;
musuh.onEnterFrame = enterMusuh3;
dalamMusuh++;
i++;
}
} else if (jenisMusuh == 71) {
delayMusuh = 10000;
clearInterval(idJatuh);
idJatuh = setInterval(jatuhMusuh, delayMusuh);
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(640);
musuh._y = (-random(10)) - 10;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
j = 1;
while (j <= 20) {
randMusuh = random(640);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 200;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -5;
} else if (rand == 1) {
musuh.speedX = 5;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
j++;
}
i = 1;
while (i <= 20) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = random(640);
musuh._y = ((-random(10)) - 10) - 600;
musuh.speed = 2;
musuh.onEnterFrame = enterMusuh;
dalamMusuh++;
i++;
}
j = 1;
while (j <= 20) {
randMusuh = random(640);
i = 1;
while (i <= 4) {
musuh = attachMovie("musuh_mc", "musuh_mc" + dalamMusuh, dalamMusuh);
musuh._x = randMusuh;
musuh._y = i * 30;
musuh._y = musuh._y - 800;
musuh.speed = 3;
rand = random(2);
if (rand == 0) {
musuh.speedX = -5;
} else if (rand == 1) {
musuh.speedX = 5;
}
musuh.speedY = -20;
musuh.onEnterFrame = enterMusuh2;
dalamMusuh++;
i++;
}
j++;
}
} else {
cekMenang();
}
if (dalamMusuh >= 1000) {
dalamMusuh = 1;
}
jenisMusuh++;
}
function enterMusuh4() {
this._y = this._y - this.speedY;
this.speedY--;
if (this.speedY < 0) {
if (this._y > 440) {
this._y = 450;
if (jenisMusuh == 67) {
if (this.xdelay >= 10) {
this.speedY = this.speedYAwal;
this.xdelay = 0;
} else {
this.xdelay++;
}
} else if (jenisMusuh == 68) {
if (this.xdelay >= 10) {
this.speedY = this.speedYAwal;
this.xdelay = 0;
} else {
this.xdelay++;
}
} else if (jenisMusuh >= 67) {
this.speedY = this.speedYAwal;
} else if (jenisMusuh >= 63) {
this.speedY = 18;
} else {
this.speedY = 12;
}
}
}
if (this._currentframe == 1) {
this._x = this._x + this.speed;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
if (score >= 300) {
var _local2 = "Boring Coins";
com.newgrounds.API.unlockMedal(_local2);
}
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
function enterMusuh3() {
if (this._currentframe == 1) {
this._x = this._x + this.speed;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
if (score >= 300) {
var _local2 = "Boring Coins";
com.newgrounds.API.unlockMedal(_local2);
}
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
function enterMusuh() {
if (this._y > 430) {
this._y = 450;
this.gotoAndStop(2);
} else if (this._currentframe == 1) {
this._y = this._y + this.speed;
this.speed = this.speed + 0.25;
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
if (score >= 300) {
var _local2 = "Boring Coins";
com.newgrounds.API.unlockMedal(_local2);
}
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
function enterMusuh2() {
if (this._y > 440) {
this._y = 450;
this.gotoAndStop(2);
} else if (this._currentframe == 1) {
this._y = this._y + this.speed;
this.speed = this.speed + 0.25;
}
if (this._currentframe == 2) {
this._x = this._x + this.speedX;
this._y = this._y + this.speedY;
this.speedY++;
if (this._y > 450) {
this._y = 450;
}
if (this.speedX > 0) {
this.speedX = this.speedX - 0.05;
if (this.speedX <= 0) {
this.speedX = 0;
}
} else if (this.speedX < 0) {
this.speedX = this.speedX + 0.05;
if (this.speedX >= 0) {
this.speedX = 0;
}
} else {
this.speedX = 0;
}
}
if (this.hitTest(jagoan_mc.indi)) {
if (this._currentframe == 1) {
nyawa--;
cekNyawa();
removeMovieClip(this);
} else {
score++;
if (score >= 300) {
var _local2 = "Boring Coins";
com.newgrounds.API.unlockMedal(_local2);
}
removeMovieClip(this);
}
}
if ((this._x >= 4000) || (this._x <= -4000)) {
removeMovieClip(this);
}
}
function cekNyawa() {
if (nyawa <= 0) {
delete myListener.onKeyDown;
delete myListener.onKeyUp;
Key.removeListener(myListener);
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
clearInterval(idJatuh);
gotoAndStop (212);
}
}
function cekMenang() {
delete myListener.onKeyDown;
delete myListener.onKeyUp;
Key.removeListener(myListener);
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
clearInterval(idJatuh);
gotoAndStop (212);
}
stop();
myMusic.stop();
cekKeyboardKiri = false;
cekKeyboardAtas = false;
cekKeyboardKanan = false;
cekKeyboardBawah = false;
adaDibawah = false;
jagoan_mc.speed = 10;
jagoan_mc.speedY = 0;
jenisMusuh = 1;
dalamMusuh = 1;
delayMusuh = 3000;
score = 0;
nyawa = 25;
idJatuh = setInterval(jatuhMusuh, delayMusuh);
_root.onEnterFrame = function () {
if (cekKeyboardKiri == true) {
if (jagoan_mc._x >= 20) {
jagoan_mc._x = jagoan_mc._x - jagoan_mc.speed;
}
}
if (cekKeyboardKanan == true) {
if (jagoan_mc._x <= 620) {
jagoan_mc._x = jagoan_mc._x + jagoan_mc.speed;
}
}
if (cekKeyboardAtas == true) {
if (jenisMusuh >= 27) {
if (adaDibawah == true) {
adaDibawah = false;
jagoan_mc._y = 435;
} else {
jagoan_mc._y = jagoan_mc._y - jagoan_mc.speedY;
if (jenisMusuh >= 70) {
jagoan_mc.speedY = jagoan_mc.speedY - 0.25;
} else if (jenisMusuh >= 68) {
jagoan_mc.speedY = jagoan_mc.speedY - 0.5;
} else {
jagoan_mc.speedY--;
}
if (jagoan_mc._y > 430) {
jagoan_mc._y = 435;
jagoan_mc.speedY = 0;
}
}
}
}
if (cekKeyboardBawah == true) {
if (jenisMusuh >= 57) {
if (adaDibawah == false) {
if (jagoan_mc._y == 435) {
adaDibawah = true;
jagoan_mc._y = 465;
}
}
}
} else if (jenisMusuh >= 57) {
if (adaDibawah == true) {
adaDibawah = false;
jagoan_mc._y = 435;
jagoan_mc.speedY = 0;
}
}
xwave = jenisMusuh - 1;
xlife = nyawa;
xcoins = score;
};
back2_btn.onRelease = function () {
delete myListener.onKeyDown;
delete myListener.onKeyUp;
Key.removeListener(myListener);
zi = 1;
while (zi <= 1000) {
removeMovieClip(_root["musuh_mc" + zi]);
zi++;
}
clearInterval(idJatuh);
backMusic();
gotoAndStop (206);
};
myListener = new Object();
myListener.onKeyDown = function () {
if (Key.getCode() == 37) {
cekKeyboardKiri = true;
}
if (Key.getCode() == 38) {
if (jenisMusuh >= 27) {
if (jagoan_mc.speedY == 0) {
if (jagoan_mc._y == 435) {
jagoan_mc.speedY = 13;
cekKeyboardAtas = true;
}
}
}
}
if (Key.getCode() == 39) {
cekKeyboardKanan = true;
}
if (Key.getCode() == 40) {
if (jenisMusuh >= 57) {
cekKeyboardBawah = true;
}
}
};
myListener.onKeyUp = function () {
if (Key.getCode() == 37) {
cekKeyboardKiri = false;
}
if (Key.getCode() == 39) {
cekKeyboardKanan = false;
}
if (Key.getCode() == 40) {
cekKeyboardBawah = false;
}
};
Key.addListener(myListener);
Frame 212
stop();
volume1 = 125;
backMusic();
zcoins = score + " Coins";
start_btn.onRelease = function () {
gotoAndStop (206);
};
more_btn.onRelease = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
Instance of Symbol 186 MovieClip in Frame 212
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Symbol 13 MovieClip Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2892 % 511) * true);
return(\x03);
}
var \x01 = (-160 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 15 MovieClip Frame 10
stop();
Symbol 17 MovieClip Frame 37
_parent.setGotoFrame("done");
stop();
Symbol 29 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (737 % 511) * true);
return(\x03);
}
var \x01 = (9 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 29 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 29 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2142 % 511) * true);
return(\x03);
}
var \x01 = (78 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 29 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 35 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
// swfAction0xFC hexdata 0x03,0x00 // Unknown action
function \u0004\u0005() {
Set("\x03", (2309 % 511) * true);
return(\x03);
}
var \x01 = (253 + \x04\x05());
// swfAction0x03 // Unknown action
Symbol 35 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 35 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 38 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 38 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 38 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip();
_visible = false;
stop();
Symbol 59 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 63 Button
on (release) {
!!!ERROR
Symbol 69 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 71 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 72 Button
on (release) {
getURL (official_version_url, "_blank");
}
Symbol 76 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 77 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 22
Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector);
#endinitclip
Symbol 77 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 80 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 78 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 79 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 81 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 82 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 85 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 87 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 86 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 96 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 84 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 5 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 83 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 88 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 89 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 90 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 91 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 92 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 93 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 94 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 95 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 97 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 212 MovieClip [complete_mc] Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 212 MovieClip [complete_mc] Frame 1
on (release) {
getURL ("http://www.belugerinstudios.com", "_blank");
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 249 MovieClip [jagoan_mc] Frame 1
stop();
Symbol 276 MovieClip Frame 11
stop();
Symbol 277 MovieClip [musuh_mc] Frame 1
stop();
Symbol 331 MovieClip Frame 175
stop();
Symbol 342 MovieClip Frame 175
stop();
Symbol 351 MovieClip Frame 1
this.onPress = function () {
getURL ("http://www.belugerinstudios.com", "_blank");
};
Symbol 351 MovieClip Frame 185
stop();
Symbol 380 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 4
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 501 MovieClip Frame 9
stop();
this._parent.gotoAndStop(1);
Symbol 504 MovieClip Frame 21
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 1
stop();