STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
233151
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2641 · P5281

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM10318287-26DC&rnd=10318287" width="1" height="1"></div>

armorgames fruit-defense-13717.swf

This is the info page for
Flash #264022

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 5 indix { } movieClip 12 api_mc { } movieClip 21 { } movieClip 22 transisi3 { frame 1 { stop(); } frame 2 { _root.backSiput(); play(); } frame 15 { _root.mauKemana(); } frame 30 { removeMovieClip(this); } } movieClip 27 transisi2 { frame 1 { stop(); } frame 2 { _root.backPintu(); play(); } frame 9 { _root.mauKemana(); } frame 15 { stop(); removeMovieClip(this); } } movieClip 33 { frame 1 { stop(); } } // unknown tag 88 length 54 movieClip 42 { frame 1 { stop(); } frame 2 { play(); } frame 20 { stop(); _root.cekLanjutPreloader(); } } movieClip 43 { } movieClip 47 { } movieClip 50 { } movieClip 52 { } movieClip 53 { frame 1 { this.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; } } movieClip 55 { } movieClip 56 transisi1 { frame 1 { stop(); } frame 20 { _root.cekKemanaAjaOke(); removeMovieClip(this); } } frame 1 { stop(); _urlStart = _url.indexOf('://') + 3; _urlEnd = _url.indexOf('/', _urlStart); domain = _url.substring(_urlStart, _urlEnd); LastDot = domain.lastIndexOf('.') - 1; domEnd = domain.lastIndexOf('.', LastDot) + 1; domain = domain.substring(domEnd, domain.length); posisiHostDiluar = true; if (domain == 'armorgames.com') { posisiHostDiluar = false; } else { posisiHostDiluar = true; } adBox.gotoAndStop(2); } frame 1 { function cekKemanaAjaOke() { if (posisiHostDiluar == true) { getURL('http://www.belugerinstudios.com', '_self'); } else { gotoAndPlay(21); } } function cekLanjutPreloader() { transisi1.pohon1.bar_mc.play_btn.onRelease = klikPohon; } function klikPohon() { this.enabled = false; loadMovie('', adBox); adBox._visible = false; transisi1.gotoAndPlay(2); gotoAndStop(21); } function simpanData(indi) { adaData = true; if (pilihMode == 'arcade') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { Cookies.data['xFData' + i] = eval(simpanSemua[i]); ++i; } } else { if (pilihMode == 'survival') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { Cookies.data['yFData' + i] = eval(simpanSemua[i]); ++i; } } else { if (pilihMode == 'hacked') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { Cookies.data['zFData' + i] = eval(simpanSemua[i]); ++i; } } else { if (pilihMode == 'madness') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { Cookies.data['wFData' + i] = eval(simpanSemua[i]); ++i; } } } } } } function simpanData2() { Cookies = SharedObject.getLocal('xyzFDData'); ssi = 1; while (ssi <= simpanSemua2.length) { Cookies.data['aFData' + ssi] = eval(simpanSemua2[ssi]); ++ssi; } } function simpanData3() { Cookies = SharedObject.getLocal('xyzFDData'); ssi = 1; while (ssi <= simpanSemua3.length) { Cookies.data['bFData' + ssi] = eval(simpanSemua3[ssi]); ++ssi; } } function loadData(indi) { if (pilihMode == 'arcade') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { _root[simpanSemua[i]] = Cookies.data['xFData' + i]; ++i; } } else { if (pilihMode == 'survival') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { _root[simpanSemua[i]] = Cookies.data['yFData' + i]; ++i; } } else { if (pilihMode == 'hacked') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { _root[simpanSemua[i]] = Cookies.data['zFData' + i]; ++i; } } else { if (pilihMode == 'madness') { Cookies = SharedObject.getLocal('xyzFDData' + indi); i = 1; while (i <= simpanSemua.length) { _root[simpanSemua[i]] = Cookies.data['wFData' + i]; ++i; } } } } } } function loadData2() { Cookies = SharedObject.getLocal('xyzFDData'); ssi = 1; while (ssi <= simpanSemua2.length) { _root[simpanSemua2[ssi]] = Cookies.data['aFData' + ssi]; ++ssi; } } function loadData3() { Cookies = SharedObject.getLocal('xyzFDData'); ssi = 1; while (ssi <= simpanSemua3.length) { _root[simpanSemua3[ssi]] = Cookies.data['bFData' + ssi]; ++ssi; } } function initData2() { sudahMenang = true; i = 1; while (i <= 90) { _root['dapatMedal' + i] = false; ++i; } i = 1; while (i <= 3) { _root['maxLevel' + i] = 1; ++i; } } function initData3() { i = 1; while (i <= 10) { _root['killPests' + i] = 0; ++i; } i = 1; while (i <= 10) { _root['guna' + i] = 0; ++i; } lastDefenseFull = 0; totalWinTime = 0; limaBombs = 0; winBerturut = 0; perfectGame = 0; takGunaTools = 0; takGunaFruit = 0; menangFinalBoss = 0; playGameKe = 0; } function initData() { posisiAwalUpgrade = 'buy'; xlevel = 1; xmoney = 0; scoreKe = 0; awalTutorial = false; awalTutorial2 = false; awalTutorial3 = false; awalTutorial4 = false; awalTutorial5 = false; awalTutorial6 = false; awalTutorial7 = false; maxMelee = 9; jumlahMelee1 = 0; jumlahMelee2 = 0; jumlahMelee3 = 0; jumlahMelee4 = 0; jumlahMelee5 = 0; jumlahMelee6 = 0; jumlahMelee7 = 0; jumlahMelee8 = 0; jumlahMelee9 = 0; meleePowerUps1 = 0; meleePowerUps2 = 0; meleePowerUps3 = 0; meleePowerUps4 = 0; meleePowerUps5 = 0; meleePowerUps6 = 0; meleePowerUps7 = 0; meleePowerUps8 = 0; meleePowerUps9 = 0; bisaMelee1 = true; bisaMelee2 = false; bisaMelee3 = false; bisaMelee4 = false; bisaMelee5 = false; bisaMelee6 = false; bisaMelee7 = false; bisaMelee8 = false; bisaMelee9 = false; maxRange = 3; jumlahRange1 = 0; jumlahRange2 = 0; jumlahRange3 = 0; rangePowerUps1 = 0; rangePowerUps2 = 0; rangePowerUps3 = 0; bisaRange1 = false; bisaRange2 = false; bisaRange3 = false; maxSpecialTools = 3; jumlahSpecialTools1 = 0; jumlahSpecialTools2 = 0; jumlahSpecialTools3 = 0; specialsToolsPowerUps1 = 0; specialsToolsPowerUps2 = 0; specialsToolsPowerUps3 = 0; bisaSpecialTools1 = false; bisaSpecialTools2 = false; bisaSpecialTools3 = false; jumlahBuah1 = 0; jumlahBuah2 = 0; jumlahBuah3 = 0; jumlahBuah4 = 0; jumlahBuah5 = 0; jumlahBuah6 = 0; jumlahBuah7 = 0; jumlahBuah8 = 0; jumlahBuah9 = 0; jumlahBuah10 = 0; jumlahBuah11 = 0; jumlahBuah12 = 0; buahPowerUps1 = 0; buahPowerUps2 = 0; buahPowerUps3 = 0; buahPowerUps4 = 0; buahPowerUps5 = 0; buahPowerUps6 = 0; buahPowerUps7 = 0; buahPowerUps8 = 0; buahPowerUps9 = 0; buahPowerUps10 = 0; buahPowerUps11 = 0; buahPowerUps12 = 0; bisaBuah1 = false; bisaBuah2 = false; bisaBuah3 = false; bisaBuah4 = false; bisaBuah5 = false; bisaBuah6 = false; bisaBuah7 = false; bisaBuah8 = false; bisaBuah9 = false; bisaBuah10 = false; bisaBuah11 = false; bisaBuah12 = false; jumlahMinion1 = 0; jumlahMinion2 = 0; jumlahMinion3 = 0; jumlahMinion4 = 0; jumlahMinion5 = 0; jumlahMinion6 = 0; jumlahMinion7 = 0; jumlahMinion8 = 0; minionsPowerUps1 = 0; minionsPowerUps2 = 0; minionsPowerUps3 = 0; minionsPowerUps4 = 0; minionsPowerUps5 = 0; minionsPowerUps6 = 0; minionsPowerUps7 = 0; minionsPowerUps8 = 0; bisaMinion1 = false; bisaMinion2 = false; bisaMinion3 = false; bisaMinion4 = false; bisaMinion5 = false; bisaMinion6 = false; bisaMinion7 = false; bisaMinion8 = false; jumlahSpecial1 = 0; jumlahSpecial2 = 0; jumlahSpecial3 = 0; jumlahSpecial4 = 0; jumlahSpecial5 = 0; jumlahSpecial6 = 0; specialsPowerUps1 = 0; specialsPowerUps2 = 0; specialsPowerUps3 = 0; specialsPowerUps4 = 0; specialsPowerUps5 = 0; specialsPowerUps6 = 0; bisaSpecial1 = false; bisaSpecial2 = false; bisaSpecial3 = false; bisaSpecial4 = false; bisaSpecial5 = false; bisaSpecial6 = false; jumlahHero1 = 0; jumlahHero2 = 0; jumlahHero3 = 0; bisaHero1 = false; bisaHero2 = false; bisaHero3 = false; jumlahToolsUp1 = 0; jumlahToolsUp2 = 0; jumlahToolsUp3 = 0; jumlahToolsUp4 = 0; jumlahToolsUp5 = 0; bisaToolsUp1 = false; bisaToolsUp2 = false; bisaToolsUp3 = false; bisaToolsUp4 = false; bisaToolsUp5 = false; jumlahPlantUp1 = 0; jumlahPlantUp2 = 0; jumlahPlantUp3 = 0; jumlahPlantUp4 = 0; jumlahPlantUp5 = 0; bisaPlantUp1 = false; bisaPlantUp2 = false; bisaPlantUp3 = false; bisaPlantUp4 = false; bisaPlantUp5 = false; jumlahMinionUp1 = 0; jumlahMinionUp2 = 0; jumlahMinionUp3 = 0; jumlahMinionUp4 = 0; jumlahMinionUp5 = 0; bisaMinionUp1 = false; bisaMinionUp2 = false; bisaMinionUp3 = false; bisaMinionUp4 = false; bisaMinionUp5 = false; jumlahSpecialUp1 = 0; jumlahSpecialUp2 = 0; jumlahSpecialUp3 = 0; jumlahSpecialUp4 = 0; jumlahSpecialUp5 = 0; bisaSpecialUp1 = false; bisaSpecialUp2 = false; bisaSpecialUp3 = false; bisaSpecialUp4 = false; bisaSpecialUp5 = false; jumlahTopi1 = 0; jumlahTopi2 = 0; jumlahTopi3 = 0; jumlahTopi4 = 0; jumlahTopi5 = 0; jumlahTopi6 = 0; jumlahTopi7 = 0; jumlahTopi8 = 0; jumlahTopi9 = 0; jumlahTopi10 = 0; jumlahTopi11 = 0; jumlahTopi12 = 0; jumlahSepatu1 = 0; jumlahSepatu2 = 0; jumlahSepatu3 = 0; jumlahSepatu4 = 0; jumlahSepatu5 = 0; jumlahSepatu6 = 0; jumlahSepatu7 = 0; jumlahSepatu8 = 0; jumlahSepatu9 = 0; jumlahSepatu10 = 0; jumlahSepatu11 = 0; jumlahSepatu12 = 0; topiPasang1 = 13; topiPasang2 = 13; topiPasang3 = 13; topiPasang4 = 13; topiPasang5 = 13; topiPasang6 = 13; topiPasang7 = 13; topiPasang8 = 13; topiPasang9 = 13; topiPasang10 = 13; topiPasang11 = 13; topiPasang12 = 13; sepatuPasang1 = 13; sepatuPasang2 = 13; sepatuPasang3 = 13; sepatuPasang4 = 13; sepatuPasang5 = 13; sepatuPasang6 = 13; sepatuPasang7 = 13; sepatuPasang8 = 13; sepatuPasang9 = 13; sepatuPasang10 = 13; sepatuPasang11 = 13; sepatuPasang12 = 13; setupArmy1 = 1; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; setupArmy11 = 200; setupArmy12 = 200; setupHero = 200; pilihanSpeed = 1; maxBox = 4; achievementsKe = 1; bisaJurus = false; bisaJurus2 = false; jadiPest = false; boxAcak = false; kiniLife = 1; cekHero = 0; belumCekUpgrade = false; belumCekResearch = false; pakaiSekali = false; tanahKhusus = false; musuhTakTerhingga = false; musuhMunculRandom = false; risetKe1 = false; risetKe2 = false; risetKe3 = false; risetKe4 = false; risetKe5 = false; risetKe6 = false; risetKe7 = false; risetKe8 = false; risetKe9 = false; risetKe10 = false; i = 1; while (i <= 10) { _root['sudahRiset' + i] = false; ++i; } i = 1; while (i <= 10) { j = 1; while (j <= 2) { _root['setupRiset' + i + j] = 200; ++j; } ++i; } } function initDataHacked() { posisiAwalUpgrade = 'buy'; xlevel = 1; xmoney = 100000; scoreKe = 0; awalTutorial = false; awalTutorial2 = false; awalTutorial3 = false; awalTutorial4 = false; awalTutorial5 = false; awalTutorial6 = false; awalTutorial7 = false; maxMelee = 9; jumlahMelee1 = 1; jumlahMelee2 = 1; jumlahMelee3 = 1; jumlahMelee4 = 1; jumlahMelee5 = 1; jumlahMelee6 = 1; jumlahMelee7 = 1; jumlahMelee8 = 1; jumlahMelee9 = 1; meleePowerUps1 = 0; meleePowerUps2 = 0; meleePowerUps3 = 0; meleePowerUps4 = 0; meleePowerUps5 = 0; meleePowerUps6 = 0; meleePowerUps7 = 0; meleePowerUps8 = 0; meleePowerUps9 = 0; bisaMelee1 = true; bisaMelee2 = true; bisaMelee3 = true; bisaMelee4 = true; bisaMelee5 = true; bisaMelee6 = true; bisaMelee7 = true; bisaMelee8 = true; bisaMelee9 = true; maxRange = 3; jumlahRange1 = 1; jumlahRange2 = 1; jumlahRange3 = 1; rangePowerUps1 = 0; rangePowerUps2 = 0; rangePowerUps3 = 0; bisaRange1 = true; bisaRange2 = true; bisaRange3 = true; maxSpecialTools = 3; jumlahSpecialTools1 = 1; jumlahSpecialTools2 = 1; jumlahSpecialTools3 = 1; specialsToolsPowerUps1 = 0; specialsToolsPowerUps2 = 0; specialsToolsPowerUps3 = 0; bisaSpecialTools1 = true; bisaSpecialTools2 = true; bisaSpecialTools3 = true; jumlahBuah1 = 1; jumlahBuah2 = 1; jumlahBuah3 = 1; jumlahBuah4 = 1; jumlahBuah5 = 1; jumlahBuah6 = 1; jumlahBuah7 = 1; jumlahBuah8 = 1; jumlahBuah9 = 1; jumlahBuah10 = 1; jumlahBuah11 = 1; jumlahBuah12 = 1; buahPowerUps1 = 0; buahPowerUps2 = 0; buahPowerUps3 = 0; buahPowerUps4 = 0; buahPowerUps5 = 0; buahPowerUps6 = 0; buahPowerUps7 = 0; buahPowerUps8 = 0; buahPowerUps9 = 0; buahPowerUps10 = 0; buahPowerUps11 = 0; buahPowerUps12 = 0; bisaBuah1 = true; bisaBuah2 = true; bisaBuah3 = true; bisaBuah4 = true; bisaBuah5 = true; bisaBuah6 = true; bisaBuah7 = true; bisaBuah8 = true; bisaBuah9 = true; bisaBuah10 = true; bisaBuah11 = true; bisaBuah12 = true; jumlahMinion1 = 1; jumlahMinion2 = 1; jumlahMinion3 = 1; jumlahMinion4 = 1; jumlahMinion5 = 1; jumlahMinion6 = 1; jumlahMinion7 = 1; jumlahMinion8 = 1; minionsPowerUps1 = 0; minionsPowerUps2 = 0; minionsPowerUps3 = 0; minionsPowerUps4 = 0; minionsPowerUps5 = 0; minionsPowerUps6 = 0; minionsPowerUps7 = 0; minionsPowerUps8 = 0; bisaMinion1 = true; bisaMinion2 = true; bisaMinion3 = true; bisaMinion4 = true; bisaMinion5 = true; bisaMinion6 = true; bisaMinion7 = true; bisaMinion8 = true; jumlahSpecial1 = 1; jumlahSpecial2 = 1; jumlahSpecial3 = 1; jumlahSpecial4 = 1; jumlahSpecial5 = 1; jumlahSpecial6 = 1; specialsPowerUps1 = 0; specialsPowerUps2 = 0; specialsPowerUps3 = 0; specialsPowerUps4 = 0; specialsPowerUps5 = 0; specialsPowerUps6 = 0; bisaSpecial1 = true; bisaSpecial2 = true; bisaSpecial3 = true; bisaSpecial4 = true; bisaSpecial5 = true; bisaSpecial6 = true; jumlahHero1 = 1; jumlahHero2 = 1; jumlahHero3 = 1; bisaHero1 = true; bisaHero2 = true; bisaHero3 = true; jumlahToolsUp1 = 1; jumlahToolsUp2 = 1; jumlahToolsUp3 = 1; jumlahToolsUp4 = 1; jumlahToolsUp5 = 1; bisaToolsUp1 = true; bisaToolsUp2 = true; bisaToolsUp3 = true; bisaToolsUp4 = true; bisaToolsUp5 = true; jumlahPlantUp1 = 1; jumlahPlantUp2 = 1; jumlahPlantUp3 = 1; jumlahPlantUp4 = 1; jumlahPlantUp5 = 1; bisaPlantUp1 = true; bisaPlantUp2 = true; bisaPlantUp3 = true; bisaPlantUp4 = true; bisaPlantUp5 = true; jumlahMinionUp1 = 1; jumlahMinionUp2 = 1; jumlahMinionUp3 = 1; jumlahMinionUp4 = 1; jumlahMinionUp5 = 1; bisaMinionUp1 = true; bisaMinionUp2 = true; bisaMinionUp3 = true; bisaMinionUp4 = true; bisaMinionUp5 = true; jumlahSpecialUp1 = 1; jumlahSpecialUp2 = 1; jumlahSpecialUp3 = 1; jumlahSpecialUp4 = 1; jumlahSpecialUp5 = 1; bisaSpecialUp1 = true; bisaSpecialUp2 = true; bisaSpecialUp3 = true; bisaSpecialUp4 = true; bisaSpecialUp5 = true; jumlahTopi1 = 1; jumlahTopi2 = 1; jumlahTopi3 = 1; jumlahTopi4 = 1; jumlahTopi5 = 1; jumlahTopi6 = 1; jumlahTopi7 = 1; jumlahTopi8 = 1; jumlahTopi9 = 1; jumlahTopi10 = 1; jumlahTopi11 = 1; jumlahTopi12 = 1; jumlahSepatu1 = 1; jumlahSepatu2 = 1; jumlahSepatu3 = 1; jumlahSepatu4 = 1; jumlahSepatu5 = 1; jumlahSepatu6 = 1; jumlahSepatu7 = 1; jumlahSepatu8 = 1; jumlahSepatu9 = 1; jumlahSepatu10 = 1; jumlahSepatu11 = 1; jumlahSepatu12 = 1; topiPasang1 = 13; topiPasang2 = 13; topiPasang3 = 13; topiPasang4 = 13; topiPasang5 = 13; topiPasang6 = 13; topiPasang7 = 13; topiPasang8 = 13; topiPasang9 = 13; topiPasang10 = 13; topiPasang11 = 13; topiPasang12 = 13; sepatuPasang1 = 13; sepatuPasang2 = 13; sepatuPasang3 = 13; sepatuPasang4 = 13; sepatuPasang5 = 13; sepatuPasang6 = 13; sepatuPasang7 = 13; sepatuPasang8 = 13; sepatuPasang9 = 13; sepatuPasang10 = 13; sepatuPasang11 = 13; sepatuPasang12 = 13; setupArmy1 = 1; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; setupArmy11 = 200; setupArmy12 = 200; setupHero = 200; pilihanSpeed = 1; maxBox = 4; bisaJurus = true; bisaJurus2 = true; jadiPest = false; boxAcak = false; kiniLife = 1; cekHero = 0; belumCekUpgrade = false; belumCekResearch = false; pakaiSekali = false; tanahKhusus = false; musuhTakTerhingga = false; musuhMunculRandom = false; risetKe1 = false; risetKe2 = false; risetKe3 = false; risetKe4 = false; risetKe5 = false; risetKe6 = false; risetKe7 = false; risetKe8 = false; risetKe9 = false; risetKe10 = false; i = 1; while (i <= 10) { _root['sudahRiset' + i] = false; ++i; } i = 1; while (i <= 10) { j = 1; while (j <= 2) { _root['setupRiset' + i + j] = 200; ++j; } ++i; } } function initSurvival() { xlevel = 101; xmoney = 0; setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; setupArmy11 = 200; setupArmy12 = 200; i = 1; while (i <= 5) { j = 1; while (j <= 6) { _root['tanahKosong' + i + j] = 0; _root['hibridaKosong' + i + j] = 0; ++j; } ++i; } } function cekKeHarga() { hargaMelee = new Array('', 10, 15, 20, 25, 30, 35, 40, 45, 50); hargaRange = new Array('', 40, 80, 120); hargaSpecialTools = new Array('', 100, 100, 150); hargaPlant = new Array('', 5, 10, 45, 20, 35, 40, 45, 75, 50, 75, 100, 250); hargaMinion = new Array('', 15, 20, 25, 30, 35, 40, 45, 50); hargaSpecials = new Array('', 200, 220, 240, 260, 280, 300); } function cekToolsAction() { xdamageMelee = new Array('', 5, 10, 15, 20, 25, 30, 35, 40, 45); xdamageRange = new Array('', 40, 120, 240); xdamageSpecialTools = new Array('', 200, 200, 400); if (levelBonus == true) { xusageMelee = new Array('', 75, 75, 90, 90, 120, 120, 135, 135, 150); } else { xusageMelee = new Array('', 25, 25, 30, 30, 40, 40, 45, 45, 50); } xusageMelee2 = new Array('', 35, 35, 40, 40, 50, 50, 55, 55, 60); if (levelBonus == true) { xusageRange = new Array('', 200, 300, 400); } else { xusageRange = new Array('', 20, 30, 40); } xusageRange2 = new Array('', 35, 45, 55); xusageSpecialTools = new Array('', 1, 1, 1); xdelayMelee = new Array('', 10, 10, 10, 10, 10, 10, 10, 10, 10); xdelayMelee2 = new Array('', 2, 2, 2, 2, 2, 2, 2, 2, 2); xdelayRange = new Array('', 15, 20, 25); xdelayRange2 = new Array('', 5, 10, 15); xdelaySpecialTools = new Array('', 0, 0, 0); } function cekAtributePohon2(indi) { if (indi == 1) { pohonLive = 30; pohonRange = 350; pohonDamage = 5; pohonTipeSerang = 'range'; pohonSerangMax = 20; } else { if (indi == 2) { pohonLive = 40; pohonRange = 400; pohonDamage = 10; pohonTipeSerang = 'range'; pohonSerangMax = 20; } else { if (indi == 3) { pohonLive = 50; pohonRange = 100; pohonDamage = 250; pohonTipeSerang = 'melee'; pohonSerangMax = 5; } else { if (indi == 4) { pohonLive = 2000; pohonRange = 0; pohonDamage = 0; pohonTipeSerang = 'melee'; pohonSerangMax = 0; } else { if (indi == 5) { pohonLive = 750; pohonRange = 100; pohonDamage = 50; pohonTipeSerang = 'melee'; pohonSerangMax = 30; } else { if (indi == 6) { pohonLive = 1000; pohonRange = 225; pohonDamage = 25; pohonTipeSerang = 'melee'; pohonSerangMax = 40; } else { if (indi == 7) { pohonLive = 100; pohonRange = 425; pohonDamage = 50; pohonTipeSerang = 'range'; pohonSerangMax = 25; } else { if (indi == 8) { pohonLive = 160; pohonRange = 425; pohonDamage = 4; pohonTipeSerang = 'range'; pohonSerangMax = 20; } else { if (indi == 9) { pohonLive = 600; pohonRange = 450; pohonDamage = 500; pohonTipeSerang = 'rangeJauh'; pohonSerangMax = 40; } else { if (indi == 10) { pohonLive = 500; pohonRange = 500; pohonDamage = 600; pohonTipeSerang = 'rangeJauh'; pohonSerangMax = 80; } else { if (indi == 11) { pohonLive = 400; pohonRange = 450; pohonDamage = 600; pohonTipeSerang = 'rangeJauh'; pohonSerangMax = 120; } else { if (indi == 12) { pohonLive = 300; pohonRange = 750; pohonDamage = 3000; pohonTipeSerang = 'rangeJauh'; pohonSerangMax = 20; } } } } } } } } } } } } } function cekAtributeMinions2(indi) { if (indi == 1) { minionsSpeed = 1.5; minionsDamage = 250; minionsRange = 50; minionsSerangMax = 9; minionsMaxSerang = 5; } else { if (indi == 2) { minionsSpeed = 1.4; minionsDamage = 275; minionsRange = 60; minionsSerangMax = 8; minionsMaxSerang = 6; } else { if (indi == 3) { minionsSpeed = 1.3; minionsDamage = 300; minionsRange = 70; minionsSerangMax = 7; minionsMaxSerang = 7; } else { if (indi == 4) { minionsSpeed = 1.2; minionsDamage = 325; minionsRange = 80; minionsSerangMax = 6; minionsMaxSerang = 8; } else { if (indi == 5) { minionsSpeed = 1.1; minionsDamage = 350; minionsRange = 90; minionsSerangMax = 5; minionsMaxSerang = 9; } else { if (indi == 6) { minionsSpeed = 1; minionsDamage = 375; minionsRange = 100; minionsSerangMax = 4; minionsMaxSerang = 10; } else { if (indi == 7) { minionsSpeed = 0.9; minionsDamage = 400; minionsRange = 110; minionsSerangMax = 3; minionsMaxSerang = 11; } else { if (indi == 8) { minionsSpeed = 0.8; minionsDamage = 425; minionsRange = 75; minionsSerangMax = 2; minionsMaxSerang = 12; } } } } } } } } } function cekAtributeSpecials2(indi) { if (indi == 1) { efekDamage = 400; deskripsiSpecial = 'No special descriptions'; } else { if (indi == 2) { efekDamage = 400; deskripsiSpecial = 'Make the opponent freeze for a while'; } else { if (indi == 3) { efekDamage = 400; deskripsiSpecial = 'Make your opponent poisoned to death'; } else { if (indi == 4) { efekDamage = 800; deskripsiSpecial = 'No special descriptions'; } else { if (indi == 5) { efekDamage = 800; deskripsiSpecial = 'Make the opponent run more slowly'; } else { if (indi == 6) { efekDamage = 1200; deskripsiSpecial = 'Make the opponent run back'; } } } } } } } function cekAtributeHero2(indi) { if (indi == 1) { heroDamage = 500; heroRange = 550; heroInformation = 'No special descriptions'; } else { if (indi == 2) { heroDamage = 650; heroRange = 550; heroInformation = 'Attack three directions'; } else { if (indi == 3) { heroDamage = 600; heroRange = 700; heroInformation = 'Increase fruit\'s live'; } } } } function cekSemuaLevel() { if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { levelBonus = true; } else { levelBonus = false; } if (xlevel == 8) { bigSnail = true; } else { bigSnail = false; } if (xlevel == 10) { speedSnail = true; } else { speedSnail = false; } if (xlevel == 16) { bigBossSnail = true; } else { bigBossSnail = false; } if (xlevel == 23) { wormCadabra = true; } else { wormCadabra = false; } if (xlevel == 25) { buahKumpul = true; } else { buahKumpul = false; } if (xlevel == 30) { adaAkar = true; } else { adaAkar = false; } if (xlevel >= 37 && xlevel <= 39) { adaTanahRusak = true; } else { adaTanahRusak = false; } if (xlevel == 31) { wormCadabraBoss = true; } else { wormCadabraBoss = false; } if (xlevel == 40) { adaTelorMuncul = true; } else { adaTelorMuncul = false; } if (xlevel == 41) { deathTreeGun = true; } else { deathTreeGun = false; } if (xlevel == 45) { adaKolam = true; } else { adaKolam = false; } if (xlevel == 45) { deathTreeBoss = true; } else { deathTreeBoss = false; } if (xlevel == 47) { flyingKecoa = true; } else { flyingKecoa = false; } if (xlevel == 49) { fungkyFlower = true; } else { fungkyFlower = false; } if (xlevel == 50) { jadiPest = true; } else { jadiPest = false; } if (xlevel >= 51 && xlevel <= 53) { awanHalang = true; } else { awanHalang = false; } if (xlevel == 51) { tingkatAwan = 1; } else { if (xlevel == 52) { tingkatAwan = 2; } else { if (xlevel == 53) { tingkatAwan = 3; } } } if (xlevel == 55) { arahBalik = true; } else { arahBalik = false; } if (xlevel == 56) { kecoaBoss = true; } else { kecoaBoss = false; } if (xlevel == 59) { bossFlower = true; } else { bossFlower = false; } if (xlevel == 60) { boxJatuh = true; } else { boxJatuh = false; } if (xlevel == 65) { serangMalam = true; } else { serangMalam = false; } if (xlevel == 66) { crazyKumbang = true; } else { crazyKumbang = false; } if (xlevel == 69) { ratSniper = true; } else { ratSniper = false; } if (xlevel == 70) { pakaiSekali = true; } else { pakaiSekali = false; } if (xlevel >= 72 && xlevel <= 90) { tanahKhusus = true; } else { tanahKhusus = false; } if (xlevel >= 72 && xlevel <= 81) { greenHouse = true; } else { greenHouse = false; } if (xlevel == 75) { boxAcak = true; } else { boxAcak = false; } if (xlevel == 77) { bossKumbang = true; bossTikus = true; } else { bossKumbang = false; bossTikus = false; } if (xlevel == 80) { musuhLoncat2 = true; } else { musuhLoncat2 = false; } if (xlevel >= 82 && xlevel <= 91) { rockyTown = true; } else { rockyTown = false; } if (xlevel == 83) { strongUlat = true; } else { strongUlat = false; } if (xlevel == 85) { bossDiam = true; } else { bossDiam = false; } if (xlevel == 90) { massivePohon = true; } else { massivePohon = false; } if (xlevel == 94) { rayapBanyak = true; } else { rayapBanyak = false; } if (xlevel >= 95) { musuhMunculRandom = true; } else { musuhMunculRandom = false; } if (xlevel >= 98) { gajahArmor = true; } else { gajahArmor = false; } if (xlevel >= 99) { bossRayap = true; bossUlat = true; bossGajah = true; } else { bossRayap = false; bossUlat = false; bossGajah = false; } if (xlevel >= 100) { munculMusuhBossRandom = true; bossFinal = true; } else { munculMusuhBossRandom = false; bossFinal = false; } if (xlevel >= 1) { kiniLife = 1; } if (xlevel >= 2) { bisaMelee2 = true; setupArmy2 = 2; } if (xlevel >= 3) { bisaBuah1 = true; setupArmy3 = 41; } if (xlevel >= 4) { } if (xlevel >= 5) { setupArmy1 = 21; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; maxBox = 1; } if (xlevel >= 6) { setupArmy1 = 1; setupArmy2 = 2; setupArmy3 = 3; setupArmy4 = 41; bisaMelee3 = true; maxBox = 4; } if (xlevel >= 7) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; bisaBuah2 = true; } if (xlevel >= 8) { } if (xlevel >= 9) { bisaMelee4 = true; } if (xlevel >= 10) { setupArmy1 = 2; setupArmy2 = 3; setupArmy3 = 4; maxBox = 3; } if (xlevel >= 11) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; bisaBuah3 = true; maxBox = 4; } if (xlevel >= 12) { } if (xlevel >= 13) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; maxBox = 5; } if (xlevel >= 14) { bisaRange1 = true; } if (xlevel >= 15) { setupArmy1 = 41; setupArmy2 = 41; setupArmy3 = 41; setupArmy4 = 42; setupArmy5 = 42; setupArmy6 = 42; setupArmy7 = 43; setupArmy8 = 43; setupArmy9 = 43; maxBox = 9; } if (xlevel >= 16) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; maxBox = 5; } if (xlevel >= 17) { bisaMelee5 = true; bisaBuah4 = true; } if (xlevel >= 18) { } if (xlevel >= 19) { kiniLife = 10; } if (xlevel >= 20) { setupArmy1 = 31; setupArmy2 = 31; setupArmy3 = 31; setupArmy4 = 31; setupArmy5 = 31; maxBox = 5; } if (xlevel >= 21) { bisaMelee6 = true; bisaBuah5 = true; setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; maxBox = 5; } if (xlevel >= 22) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; maxBox = 6; } if (xlevel >= 23) { } if (xlevel >= 24) { bisaRange2 = true; } if (xlevel >= 25) { setupArmy1 = 41; setupArmy2 = 42; setupArmy3 = 43; setupArmy4 = 48; setupArmy5 = 45; setupArmy6 = 131; setupArmy7 = 132; setupArmy8 = 133; setupArmy9 = 138; setupArmy10 = 135; maxBox = 10; } if (xlevel >= 26) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; maxBox = 6; bisaMelee7 = true; bisaBuah6 = true; } if (xlevel >= 27) { } if (xlevel >= 28) { kiniLife = 20; } if (xlevel >= 29) { bisaSpecialTools1 = true; } if (xlevel >= 30) { setupArmy1 = 6; setupArmy2 = 7; setupArmy3 = 21; setupArmy4 = 22; setupArmy5 = 31; setupArmy6 = 42; setupArmy7 = 43; setupArmy8 = 44; setupArmy9 = 45; setupArmy10 = 46; maxBox = 10; } if (xlevel >= 31) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; maxBox = 6; } if (xlevel >= 32) { bisaMinion1 = true; } if (xlevel >= 33) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 34) { bisaMelee8 = true; bisaBuah7 = true; } if (xlevel >= 35) { setupArmy1 = 71; setupArmy2 = 71; setupArmy3 = 71; setupArmy4 = 71; setupArmy5 = 71; maxBox = 5; } if (xlevel >= 36) { bisaMinion2 = true; setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 37) { } if (xlevel >= 38) { bisaSpecialTools2 = true; } if (xlevel >= 39) { } if (xlevel >= 40) { setupArmy1 = 7; setupArmy2 = 8; setupArmy3 = 47; setupArmy4 = 48; maxBox = 4; } if (xlevel >= 41) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 42) { bisaBuah8 = true; } if (xlevel >= 43) { } if (xlevel >= 44) { bisaSpecial1 = true; } if (xlevel >= 45) { setupArmy1 = 8; setupArmy2 = 48; maxBox = 2; } if (xlevel >= 46) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 47) { } if (xlevel >= 48) { bisaMinion3 = true; } if (xlevel >= 49) { } if (xlevel >= 50) { setupArmy1 = 161; setupArmy2 = 162; setupArmy3 = 163; setupArmy4 = 164; setupArmy5 = 165; setupArmy6 = 166; maxBox = 6; } if (xlevel >= 51) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 52) { bisaMinion4 = true; } if (xlevel >= 53) { bisaSpecial2 = true; } if (xlevel >= 54) { } if (xlevel >= 55) { setupArmy1 = 41; setupArmy2 = 42; setupArmy3 = 47; setupArmy4 = 48; setupArmy5 = 41; setupArmy6 = 42; setupArmy7 = 47; setupArmy8 = 48; maxBox = 8; } if (xlevel >= 56) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 57) { bisaBuah9 = true; } if (xlevel >= 58) { bisaMinion5 = true; } if (xlevel >= 59) { } if (xlevel >= 60) { setupArmy1 = 6; setupArmy2 = 7; setupArmy3 = 8; maxBox = 3; } if (xlevel >= 61) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 62) { } if (xlevel >= 63) { } if (xlevel >= 64) { bisaSpecial3 = true; } if (xlevel >= 65) { setupArmy1 = 7; setupArmy2 = 21; setupArmy3 = 31; setupArmy4 = 48; setupArmy5 = 74; setupArmy6 = 8; setupArmy7 = 22; setupArmy8 = 32; setupArmy9 = 49; setupArmy10 = 75; maxBox = 10; } if (xlevel >= 66) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; maxBox = 8; } if (xlevel >= 67) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 68) { bisaMelee9 = true; bisaJurus = true; } if (xlevel >= 69) { } if (xlevel >= 70) { setupArmy1 = 8; setupArmy2 = 22; setupArmy3 = 31; setupArmy4 = 48; setupArmy5 = 74; setupArmy6 = 9; setupArmy7 = 23; setupArmy8 = 32; setupArmy9 = 49; setupArmy10 = 75; maxBox = 10; } if (xlevel >= 71) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 72) { } if (xlevel >= 73) { bisaHero1 = true; } if (xlevel >= 74) { bisaRange3 = true; bisaJurus2 = true; } if (xlevel >= 75) { setupArmy1 = 1; setupArmy2 = 2; setupArmy3 = 3; setupArmy4 = 4; maxBox = 4; } if (xlevel >= 76) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 77) { } if (xlevel >= 78) { } if (xlevel >= 79) { bisaHero2 = true; } if (xlevel >= 80) { setupArmy1 = 175; setupArmy2 = 42; setupArmy3 = 43; setupArmy4 = 44; setupArmy5 = 45; setupArmy6 = 72; setupArmy7 = 73; setupArmy8 = 74; setupArmy9 = 75; maxBox = 9; } if (xlevel >= 81) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 82) { } if (xlevel >= 83) { } if (xlevel >= 84) { bisaMinion6 = true; bisaSpecial4 = true; } if (xlevel >= 85) { setupArmy1 = 175; setupArmy2 = 41; setupArmy3 = 42; setupArmy4 = 43; setupArmy5 = 44; setupArmy6 = 45; setupArmy7 = 46; setupArmy8 = 47; setupArmy9 = 48; setupArmy10 = 49; maxBox = 10; } if (xlevel >= 86) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 87) { bisaSpecialTools3 = true; } if (xlevel >= 88) { bisaMinion7 = true; bisaSpecial5 = true; } if (xlevel >= 89) { bisaBuah10 = true; bisaBuah11 = true; } if (xlevel >= 90) { setupArmy1 = 9; maxBox = 1; } if (xlevel >= 91) { setupArmy1 = 200; setupArmy2 = 200; setupArmy3 = 200; setupArmy4 = 200; setupArmy5 = 200; setupArmy6 = 200; setupArmy7 = 200; setupArmy8 = 200; setupArmy9 = 200; setupArmy10 = 200; maxBox = 10; } if (xlevel >= 92) { bisaHero3 = true; } if (xlevel >= 93) { } if (xlevel >= 94) { } if (xlevel >= 95) { } if (xlevel >= 96) { bisaMinion8 = true; bisaSpecial6 = true; } if (xlevel >= 97) { bisaBuah12 = true; } if (xlevel >= 98) { } if (xlevel >= 99) { } if (xlevel >= 100) { } } function dapatMedal(indi) { if (pilihMode == 'arcade' && sudahMenang == true) { if (_root['dapatMedal' + indi] == 0) { _root['dapatMedal' + indi] = 1; achievement = attachMovie('achievement_mc', 'achievement_mc' + achievementsKe, 80000 + achievementsKe); achievement._x = 140; achievement._y = 500; achievement.gotoAndPlay(2); achievement.penjelasan = listMedal[indi]; if (achievementsKe >= 100) { achievementsKe = 1; } simpanData2(); } } } function backIntro() { myMusic.stop(); myMusic = new Sound(zmusic); myMusic.attachSound('backIntro'); myMusic.start(0, 1); myMusic.setVolume(volume1); myMusic.onSoundComplete = backIntro; } function backMenu() { myMusic.stop(); myMusic = new Sound(zmusic); myMusic.attachSound('backMenu'); myMusic.start(0, 1); myMusic.setVolume(volume1); myMusic.onSoundComplete = backMenu; } function backStory() { myMusic.stop(); myMusic = new Sound(zmusic); myMusic.attachSound('backStory'); myMusic.start(0, 1); myMusic.setVolume(volume1); myMusic.onSoundComplete = backStory; } function backMusic1() { myMusic.stop(); myMusic = new Sound(zmusic); myMusic.attachSound('backMusic1'); myMusic.start(0, 1); myMusic.setVolume(volume1); myMusic.onSoundComplete = backMusic1; } function backMusic2() { myMusic.stop(); myMusic = new Sound(zmusic); myMusic.attachSound('backMusic2'); myMusic.start(0, 1); myMusic.setVolume(volume1); myMusic.onSoundComplete = backMusic2; } function backFinalWave() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backFinalWave'); mySound.start(0, 1); } function backGagal() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backGagal'); mySound.start(0, 1); } function backMenang() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backMenang'); mySound.start(0, 1); } function backPintu() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backPintu'); mySound.start(0, 1); } function backSiput() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backSiput'); mySound.start(0.1, 1); } function backPukul() { wrand = random(2); if (wrand == 0) { xrand = random(3) + 1; mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backPukul' + xrand); mySound.start(0, 1); } } function backPukulMaut() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backPukulMaut'); mySound.start(0, 1); } function backUang() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backUang'); mySound.start(0, 1); } function backKena() { mySound = new Sound(ymusic); mySound.setVolume(volume2 * 2); mySound.attachSound('backKena'); mySound.start(0, 1); } function backBomb() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backBomb'); mySound.start(0, 1); } function backMakan() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backMakan'); mySound.start(0, 1); } function backTanah() { mySound = new Sound(ymusic); mySound.setVolume(volume2 / 2); mySound.attachSound('backTanah'); mySound.start(0, 1); } function backKlik() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backKlik'); mySound.start(0, 1); } function backMinion() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backMinion'); mySound.start(0, 1); } function backRain() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backRain'); mySound.start(0, 1); } function backEarth() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backEarth'); mySound.start(0, 1); } function backAcid() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backAcid'); mySound.start(0, 1); } function backThunder() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backThunder'); mySound.start(0, 1); } function backSun() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backSun'); mySound.start(0, 1); } function backSnow() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backSnow'); mySound.start(0, 1); } function backMati() { wrand = random(4); if (wrand == 0) { xrand = random(4) + 1; mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backMati' + xrand); mySound.start(0, 1); } } function backSihir() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backSihir'); mySound.start(0, 1); } function backBall() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backBall'); mySound.start(0, 1); } function backGun() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backGun'); mySound.start(0, 1); } function backNail() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backNail'); mySound.start(0, 1); } function backMower() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backMower'); mySound.start(0, 1); } function backTraktor() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backTraktor'); mySound.start(0, 1); } function backHelicopter2() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backHelicopter2'); mySound.start(0, 1); } function backOke() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backOke'); mySound.start(0.1, 1); } function backFruit() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backFruit'); mySound.start(0, 1); } function backBoss() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backBoss'); mySound.start(0, 1); } function backHantu() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backHantu'); mySound.start(0, 1); } function backLaser() { mySound = new Sound(ymusic); mySound.setVolume(volume2); mySound.attachSound('backLaser'); mySound.start(0, 1); } stop(); fscommand('showmenu', false); fscommand('fullscreen', false); fscommand('showmenu', false); Stage.showMenu = false; transisi1 = attachMovie('transisi1', 'transisi1', 1000001); transisi1._x = -186.4; transisi1._y = -1378.8; ymusic = attachMovie('indix', 'ymusic', 6); zmusic = attachMovie('indix', 'zmusic', 7); this.onEnterFrame = function () { persen = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); transisi1.pohon1.bar_mc.xpersen = persen + ' %'; transisi1.pohon1.bar_mc.bar.gotoAndStop(persen); if (persen >= 100) { adBox.gotoAndStop(3); transisi1.gotoAndPlay(2); delete this.onEnterFrame; } }; volume1 = 50; volume2 = 100; qualityGame = 1; _quality = 'HIGH'; simpanSemua = new Array('', 'adaData', 'posisiAwalUpgrade', 'xlevel', 'xmoney', 'scoreKe', 'xsudahMenang', 'awalTutorial', 'awalTutorial2', 'awalTutorial3', 'awalTutorial4', 'maxMelee', 'jumlahMelee1', 'jumlahMelee2', 'jumlahMelee3', 'jumlahMelee4', 'jumlahMelee5', 'jumlahMelee6', 'jumlahMelee7', 'jumlahMelee8', 'jumlahMelee9', 'meleePowerUps1', 'meleePowerUps2', 'meleePowerUps3', 'meleePowerUps4', 'meleePowerUps5', 'meleePowerUps6', 'meleePowerUps7', 'meleePowerUps8', 'meleePowerUps9', 'bisaMelee1', 'bisaMelee2', 'bisaMelee3', 'bisaMelee4', 'bisaMelee5', 'bisaMelee6', 'bisaMelee7', 'bisaMelee8', 'bisaMelee9', 'maxRange', 'jumlahRange1', 'jumlahRange2', 'jumlahRange3', 'rangePowerUps1', 'rangePowerUps2', 'rangePowerUps3', 'bisaRange1', 'bisaRange2', 'bisaRange3', 'maxSpecialTools', 'jumlahSpecialTools1', 'jumlahSpecialTools2', 'jumlahSpecialTools3', 'specialsToolsPowerUps1', 'specialsToolsPowerUps2', 'specialsToolsPowerUps3', 'bisaSpecialTools1', 'bisaSpecialTools2', 'bisaSpecialTools3', 'jumlahBuah1', 'jumlahBuah2', 'jumlahBuah3', 'jumlahBuah4', 'jumlahBuah5', 'jumlahBuah6', 'jumlahBuah7', 'jumlahBuah8', 'jumlahBuah9', 'jumlahBuah10', 'jumlahBuah11', 'jumlahBuah12', 'buahPowerUps1', 'buahPowerUps2', 'buahPowerUps3', 'buahPowerUps4', 'buahPowerUps5', 'buahPowerUps6', 'buahPowerUps7', 'buahPowerUps8', 'buahPowerUps9', 'buahPowerUps10', 'buahPowerUps11', 'buahPowerUps12', 'bisaBuah1', 'bisaBuah2', 'bisaBuah3', 'bisaBuah4', 'bisaBuah5', 'bisaBuah6', 'bisaBuah7', 'bisaBuah8', 'bisaBuah9', 'bisaBuah10', 'bisaBuah11', 'bisaBuah12', 'jumlahMinion1', 'jumlahMinion2', 'jumlahMinion3', 'jumlahMinion4', 'jumlahMinion5', 'jumlahMinion6', 'jumlahMinion7', 'jumlahMinion8', 'minionsPowerUps1', 'minionsPowerUps2', 'minionsPowerUps3', 'minionsPowerUps4', 'minionsPowerUps5', 'minionsPowerUps6', 'minionsPowerUps7', 'minionsPowerUps8', 'bisaMinion1', 'bisaMinion2', 'bisaMinion3', 'bisaMinion4', 'bisaMinion5', 'bisaMinion6', 'bisaMinion7', 'bisaMinion8', 'jumlahSpecial1', 'jumlahSpecial2', 'jumlahSpecial3', 'jumlahSpecial4', 'jumlahSpecial5', 'jumlahSpecial6', 'specialsPowerUps1', 'specialsPowerUps2', 'specialsPowerUps3', 'specialsPowerUps4', 'specialsPowerUps5', 'specialsPowerUps6', 'bisaSpecial1', 'bisaSpecial2', 'bisaSpecial3', 'bisaSpecial4', 'bisaSpecial5', 'bisaSpecial6', 'jumlahHero1', 'jumlahHero2', 'jumlahHero3', 'bisaHero1', 'bisaHero2', 'bisaHero3', 'jumlahToolsUp1', 'jumlahToolsUp2', 'jumlahToolsUp3', 'jumlahToolsUp4', 'jumlahToolsUp5', 'bisaToolsUp1', 'bisaToolsUp2', 'bisaToolsUp3', 'bisaToolsUp4', 'bisaToolsUp5', 'jumlahPlantUp1', 'jumlahPlantUp2', 'jumlahPlantUp3', 'jumlahPlantUp4', 'jumlahPlantUp5', 'bisaPlantUp1', 'bisaPlantUp2', 'bisaPlantUp3', 'bisaPlantUp4', 'bisaPlantUp5', 'jumlahMinionUp1', 'jumlahMinionUp2', 'jumlahMinionUp3', 'jumlahMinionUp4', 'jumlahMinionUp5', 'bisaMinionUp1', 'bisaMinionUp2', 'bisaMinionUp3', 'bisaMinionUp4', 'bisaMinionUp5', 'jumlahSpecialUp1', 'jumlahSpecialUp2', 'jumlahSpecialUp3', 'jumlahSpecialUp4', 'jumlahSpecialUp5', 'bisaSpecialUp1', 'bisaSpecialUp2', 'bisaSpecialUp3', 'bisaSpecialUp4', 'bisaSpecialUp5', 'jumlahTopi1', 'jumlahTopi2', 'jumlahTopi3', 'jumlahTopi4', 'jumlahTopi5', 'jumlahTopi6', 'jumlahTopi7', 'jumlahTopi8', 'jumlahTopi9', 'jumlahTopi10', 'jumlahTopi11', 'jumlahTopi12', 'jumlahSepatu1', 'jumlahSepatu2', 'jumlahSepatu3', 'jumlahSepatu4', 'jumlahSepatu5', 'jumlahSepatu6', 'jumlahSepatu7', 'jumlahSepatu8', 'jumlahSepatu9', 'jumlahSepatu10', 'jumlahSepatu11', 'jumlahSepatu12', 'topiPasang1', 'topiPasang2', 'topiPasang3', 'topiPasang4', 'topiPasang5', 'topiPasang6', 'topiPasang7', 'topiPasang8', 'topiPasang9', 'topiPasang10', 'topiPasang11', 'topiPasang12', 'sepatuPasang1', 'sepatuPasang2', 'sepatuPasang3', 'sepatuPasang4', 'sepatuPasang5', 'sepatuPasang6', 'sepatuPasang7', 'sepatuPasang8', 'sepatuPasang9', 'sepatuPasang10', 'sepatuPasang11', 'sepatuPasang12', 'setupArmy1', 'setupArmy2', 'setupArmy3', 'setupArmy4', 'setupArmy5', 'setupArmy6', 'setupArmy7', 'setupArmy8', 'setupArmy9', 'setupArmy10', 'setupArmy11', 'setupArmy12', 'setupHero', 'pilihanSpeed', 'maxBox', 'bisaJurus', 'bisaJurus2', 'jadiPest', 'boxAcak', 'kiniLife', 'belumCekUpgrade', 'belumCekResearch', 'pakaiSekali', 'tanahKhusus', 'musuhTakTerhingga', 'musuhMunculRandom', 'risetKe1', 'risetKe2', 'risetKe3', 'risetKe4', 'risetKe5', 'risetKe6', 'risetKe7', 'risetKe8', 'risetKe9', 'risetKe10', 'sudahRiset1', 'sudahRiset2', 'sudahRiset3', 'sudahRiset4', 'sudahRiset5', 'sudahRiset6', 'sudahRiset7', 'sudahRiset8', 'sudahRiset9', 'sudahRiset10', 'setupRiset11', 'setupRiset21', 'setupRiset31', 'setupRiset41', 'setupRiset51', 'setupRiset61', 'setupRiset71', 'setupRiset81', 'setupRiset91', 'setupRiset101', 'setupRiset12', 'setupRiset22', 'setupRiset32', 'setupRiset42', 'setupRiset52', 'setupRiset62', 'setupRiset72', 'setupRiset82', 'setupRiset92', 'setupRiset102', 'awalTutorial5', 'awalTutorial6', 'awalTutorial7', 'tanahKosong11', 'tanahKosong12', 'tanahKosong13', 'tanahKosong14', 'tanahKosong15', 'tanahKosong16', 'tanahKosong21', 'tanahKosong22', 'tanahKosong23', 'tanahKosong24', 'tanahKosong25', 'tanahKosong26', 'tanahKosong31', 'tanahKosong32', 'tanahKosong33', 'tanahKosong34', 'tanahKosong35', 'tanahKosong36', 'tanahKosong41', 'tanahKosong42', 'tanahKosong43', 'tanahKosong44', 'tanahKosong45', 'tanahKosong46', 'tanahKosong51', 'tanahKosong52', 'tanahKosong53', 'tanahKosong54', 'tanahKosong55', 'tanahKosong56', 'hibridaKosong11', 'hibridaKosong12', 'hibridaKosong13', 'hibridaKosong14', 'hibridaKosong15', 'hibridaKosong16', 'hibridaKosong21', 'hibridaKosong22', 'hibridaKosong23', 'hibridaKosong24', 'hibridaKosong25', 'hibridaKosong26', 'hibridaKosong31', 'hibridaKosong32', 'hibridaKosong33', 'hibridaKosong34', 'hibridaKosong35', 'hibridaKosong36', 'hibridaKosong41', 'hibridaKosong42', 'hibridaKosong43', 'hibridaKosong44', 'hibridaKosong45', 'hibridaKosong46', 'hibridaKosong51', 'hibridaKosong52', 'hibridaKosong53', 'hibridaKosong54', 'hibridaKosong55', 'hibridaKosong56'); simpanSemua2 = new Array('', 'sudahMenang', 'dapatMedal1', 'dapatMedal2', 'dapatMedal3', 'dapatMedal4', 'dapatMedal5', 'dapatMedal6', 'dapatMedal7', 'dapatMedal8', 'dapatMedal9', 'dapatMedal10', 'dapatMedal11', 'dapatMedal12', 'dapatMedal13', 'dapatMedal14', 'dapatMedal15', 'dapatMedal16', 'dapatMedal17', 'dapatMedal18', 'dapatMedal19', 'dapatMedal20', 'dapatMedal21', 'dapatMedal22', 'dapatMedal23', 'dapatMedal24', 'dapatMedal25', 'dapatMedal26', 'dapatMedal27', 'dapatMedal28', 'dapatMedal29', 'dapatMedal30', 'dapatMedal31', 'dapatMedal32', 'dapatMedal33', 'dapatMedal34', 'dapatMedal35', 'dapatMedal36', 'dapatMedal37', 'dapatMedal38', 'dapatMedal39', 'dapatMedal40', 'dapatMedal41', 'dapatMedal42', 'dapatMedal43', 'dapatMedal44', 'dapatMedal45', 'dapatMedal46', 'dapatMedal47', 'dapatMedal48', 'dapatMedal49', 'dapatMedal50', 'dapatMedal51', 'dapatMedal52', 'dapatMedal53', 'dapatMedal54', 'dapatMedal55', 'dapatMedal56', 'dapatMedal57', 'dapatMedal58', 'dapatMedal59', 'dapatMedal60', 'dapatMedal61', 'dapatMedal62', 'dapatMedal63', 'dapatMedal64', 'dapatMedal65', 'dapatMedal66', 'dapatMedal67', 'dapatMedal68', 'dapatMedal69', 'dapatMedal70', 'dapatMedal71', 'dapatMedal72', 'dapatMedal73', 'dapatMedal74', 'dapatMedal75', 'dapatMedal76', 'dapatMedal77', 'dapatMedal78', 'dapatMedal79', 'dapatMedal80', 'dapatMedal81', 'dapatMedal82', 'dapatMedal83', 'dapatMedal84', 'dapatMedal85', 'dapatMedal86', 'dapatMedal87', 'dapatMedal88', 'dapatMedal89', 'dapatMedal90', 'maxLevel1', 'maxLevel2', 'maxLevel3'); simpanSemua3 = new Array('', 'killPests1', 'killPests2', 'killPests3', 'killPests4', 'killPests5', 'killPests6', 'killPests7', 'killPests8', 'killPests9', 'killPests10', 'guna1', 'guna2', 'guna3', 'guna4', 'guna5', 'guna6', 'guna7', 'guna8', 'guna9', 'guna10', 'lastDefenseFull', 'totalWinTime', 'limaBombs', 'winBerturut', 'perfectGame', 'takGunaTools', 'takGunaFruit', 'menangFinalBoss', 'playGameKe'); pilihMode = 'arcade'; loadData(7); loadData2(); loadData3(); if (adaData == undefined) { initData(); initData2(); initData3(); simpanData(7); simpanData2(); simpanData3(); } sudahMenang = true; listMedal = new Array(); i = 1; while (i <= 90) { listMedal[i] = ''; ++i; } listMedal[1] = 'Use the first melee tool'; listMedal[2] = 'Use the first range tool'; listMedal[3] = 'Use the first special tool'; listMedal[4] = 'Use the first fruit'; listMedal[5] = 'Use the first minion'; listMedal[6] = 'Use the first special'; listMedal[7] = 'Use the first hero'; listMedal[8] = 'Use the first powerup'; listMedal[9] = 'Use the first hybrid'; listMedal[10] = 'Use the first dress up'; listMedal[11] = 'Kill the first snail'; listMedal[12] = 'Kill the first worm'; listMedal[13] = 'Kill the first death tree'; listMedal[14] = 'Kill the first cockroach'; listMedal[15] = 'Kill the first toxic flower'; listMedal[16] = 'Kill the first evil beetle'; listMedal[17] = 'Kill the first rat'; listMedal[18] = 'Kill the first fruit caterpillar'; listMedal[19] = 'Kill the first termite'; listMedal[20] = 'Kill the first elephant'; listMedal[21] = 'Complete 10 levels'; listMedal[22] = 'Complete 20 levels'; listMedal[23] = 'Complete 30 levels'; listMedal[24] = 'Complete 40 levels'; listMedal[25] = 'Complete 50 levels'; listMedal[26] = 'Complete 60 levels'; listMedal[27] = 'Complete 70 levels'; listMedal[28] = 'Complete 80 levels'; listMedal[29] = 'Complete 90 levels'; listMedal[30] = 'Complete 100 levels'; listMedal[31] = 'Kill 100 snails'; listMedal[32] = 'Kill 100 worms'; listMedal[33] = 'Kill 100 death trees'; listMedal[34] = 'Kill 100 cockroachs'; listMedal[35] = 'Kill 100 toxic flowers'; listMedal[36] = 'Kill 100 evil beetles'; listMedal[37] = 'Kill 100 rats'; listMedal[38] = 'Kill 100 fruit caterpillars'; listMedal[39] = 'Kill 100 termites'; listMedal[40] = 'Kill 100 elephants'; listMedal[41] = 'Use 100 melee tools'; listMedal[42] = 'Use 100 range tools'; listMedal[43] = 'Use 100 special tools'; listMedal[44] = 'Use 100 fruits'; listMedal[45] = 'Use 100 minions'; listMedal[46] = 'Use 100 specials'; listMedal[47] = 'Use 100 heroes'; listMedal[48] = 'Use 100 powerups'; listMedal[49] = 'Use 100 hybrids'; listMedal[50] = 'Use 100 dress ups'; listMedal[51] = '100% last defense in 10 times'; listMedal[52] = '100% last defense in 20 times'; listMedal[53] = '100% last defense in 30 times'; listMedal[54] = '100% last defense in 40 times'; listMedal[55] = '100% last defense in 50 times'; listMedal[56] = '100% last defense in 60 times'; listMedal[57] = '100% last defense in 70 times'; listMedal[58] = '100% last defense in 80 times'; listMedal[59] = '100% last defense in 90 times'; listMedal[60] = '100% last defense in 100 times'; listMedal[61] = 'Kill 1000 pests'; listMedal[62] = 'Kill 2000 pests'; listMedal[63] = 'Kill 3000 pests'; listMedal[64] = 'Kill 4000 pests'; listMedal[65] = 'Kill 5000 pests'; listMedal[66] = 'Win 50 times'; listMedal[67] = 'Win 100 times'; listMedal[68] = 'Win 150 times'; listMedal[69] = 'Win 200 times'; listMedal[70] = 'Win 250 times'; listMedal[71] = '5 bombs remain in 10 times'; listMedal[72] = '5 bombs remain in 20 times'; listMedal[73] = '5 bombs remain in 30 times'; listMedal[74] = '5 bombs remain in 40 times'; listMedal[75] = '5 bombs remain in 50 times'; listMedal[76] = 'Win 10 games in a row'; listMedal[77] = 'Win 20 games in a row'; listMedal[78] = 'Win 30 games in a row'; listMedal[79] = 'Win 40 games in a row'; listMedal[80] = 'Win 50 games in a row'; listMedal[81] = 'Perfect 5 games in a row'; listMedal[82] = 'Perfect 10 games in a row'; listMedal[83] = 'Perfect 15 games in a row'; listMedal[84] = 'Perfect 20 games in a row'; listMedal[85] = 'Perfect 25 games in a row'; listMedal[86] = 'Doesn\'t use tool in 20 games'; listMedal[87] = 'Doesn\'t use fruit in 20 games'; listMedal[88] = 'Kill 10000 pests'; listMedal[89] = 'Defeat the final boss 3 times.'; listMedal[90] = 'Play 500 games'; } movieClip 63 { frame 1 { stop(); } frame 2 { play(); } frame 6 { gotoAndStop(1); } } movieClip 66 { frame 1 { stop(); } } movieClip 73 { } movieClip 74 { frame 1 { stop(); } } movieClip 115 buah1 { } movieClip 124 efek2 { frame 17 { removeMovieClip(this); } } movieClip 134 efek3 { frame 20 { _root.backBomb(); } frame 35 { removeMovieClip(this); } } movieClip 147 efek8 { frame 13 { removeMovieClip(this); } } movieClip 156 efek5 { frame 17 { removeMovieClip(this); } } movieClip 165 efek6 { frame 17 { removeMovieClip(this); } } movieClip 172 { } movieClip 173 { } movieClip 174 { } movieClip 175 { } movieClip 184 { frame 24 { _parent.gotoAndStop(1); } } movieClip 185 { frame 20 { _parent.gotoAndStop(2); } } movieClip 186 { frame 16 { _parent.gotoAndStop(3); } } movieClip 187 { frame 12 { _parent.gotoAndStop(4); } } movieClip 194 { frame 25 { removeMovieClip(_parent); } } movieClip 195 { frame 21 { removeMovieClip(_parent); } } movieClip 196 { frame 17 { removeMovieClip(_parent); } } movieClip 197 { frame 13 { removeMovieClip(_parent); } } movieClip 198 minions1 { frame 1 { stop(); } } movieClip 203 { frame 1 { stop(); } } movieClip 208 { frame 1 { stop(); } } movieClip 221 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } } movieClip 223 { frame 1 { stop(); } } movieClip 224 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } } movieClip 225 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } } movieClip 226 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); } } movieClip 239 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); } } movieClip 240 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); } } movieClip 241 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); } } movieClip 242 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); } } movieClip 255 { frame 36 { removeMovieClip(_parent); } } movieClip 256 { frame 29 { removeMovieClip(_parent); } } movieClip 257 { frame 22 { removeMovieClip(_parent); } } movieClip 258 { frame 15 { removeMovieClip(_parent); } } movieClip 259 musuh1 { frame 1 { stop(); } } movieClip 261 peluru1 { } movieClip 263 peluru2 { } movieClip 265 peluru8 { } movieClip 290 { frame 1 { stop(); } } movieClip 315 { frame 1 { stop(); } } movieClip 338 { frame 1 { stop(); } } movieClip 347 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 24 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 30 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 42 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 348 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 29 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 349 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 350 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 355 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 356 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 357 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 358 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 367 { } movieClip 368 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 369 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 370 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 371 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 372 pohon1 { frame 1 { stop(); } } movieClip 383 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 24 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 30 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 42 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 384 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 29 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 385 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 386 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 389 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 390 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 391 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 392 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 401 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 402 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 403 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 404 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 405 pohon2 { frame 1 { stop(); } } movieClip 414 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 24 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 415 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 416 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 417 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 428 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 429 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 430 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 431 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 438 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 24 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 30 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 439 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 440 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 441 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 442 pohon3 { frame 1 { stop(); } } movieClip 451 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 452 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 453 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 454 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 459 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 460 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 461 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 462 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 469 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 27 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 470 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 471 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 472 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 473 pohon8 { frame 1 { stop(); } } movieClip 488 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 24 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 30 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 489 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 490 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 491 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 498 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 499 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 500 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 501 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 508 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 509 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 510 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 511 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 512 pohon5 { frame 1 { stop(); } } movieClip 519 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 520 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 521 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 522 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 533 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 534 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 535 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 536 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 543 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 544 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 545 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 546 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 547 pohon6 { frame 1 { stop(); } } movieClip 554 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 12 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 18 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 555 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 556 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 557 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 560 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 561 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 562 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 563 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 568 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 569 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 570 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 571 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 572 pohon7 { frame 1 { stop(); } } movieClip 587 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 588 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 589 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 590 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 591 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 598 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 599 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 600 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 601 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 602 pohon4 { frame 1 { stop(); } } movieClip 604 { frame 9 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 605 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 606 { frame 5 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 607 { frame 3 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 616 { } movieClip 617 { frame 20 { _root.kenaTools(_parent, 2); } frame 29 { _parent.gotoAndStop(1); } } movieClip 618 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 619 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 620 { frame 5 { _root.kenaTools(_parent, 2); } frame 8 { _parent.gotoAndStop(1); } } movieClip 621 melee4 { frame 1 { stop(); } } // unknown tag 88 length 130 movieClip 625 { frame 1 { stop(); } frame 60 { stop(); } } movieClip 628 { frame 1 { gotoAndPlay(random(5) + 1); } frame 15 { stop(); } } movieClip 629 { frame 1 { stop(); } } movieClip 632 { } movieClip 642 { } movieClip 644 { frame 1 { stop(); } } movieClip 646 { } movieClip 649 { } movieClip 760 { frame 1 { stop(); } } movieClip 765 { } movieClip 767 { frame 1 { stop(); } } movieClip 769 { frame 1 { stop(); } } movieClip 771 { frame 1 { stop(); } } movieClip 773 { frame 1 { stop(); } } movieClip 776 { } movieClip 804 { frame 1 { stop(); } } movieClip 806 { frame 1 { stop(); } } movieClip 807 ui_mc { } movieClip 816 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 817 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 818 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 819 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 828 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 20 { _parent.gotoAndStop(1); } } movieClip 829 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 16 { _parent.gotoAndStop(2); } } movieClip 830 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 12 { _parent.gotoAndStop(3); } } movieClip 831 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 8 { _parent.gotoAndStop(4); } } movieClip 840 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 841 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 842 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 843 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 844 pohon9 { frame 1 { stop(); } } movieClip 848 { } movieClip 849 peluru9 { } movieClip 872 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 41 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 46 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 51 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 873 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 29 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 33 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 37 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 41 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 874 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 28 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 875 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 884 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { _parent.gotoAndStop(1); } } movieClip 885 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 20 { _parent.gotoAndStop(1); } } movieClip 886 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { _parent.gotoAndStop(1); } } movieClip 887 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { _parent.gotoAndStop(1); } } movieClip 894 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 895 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 896 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 897 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 898 pohon11 { frame 1 { stop(); } } movieClip 900 peluru11 { } // unknown tag 88 length 54 movieClip 904 { frame 45 { removeMovieClip(_parent); } } movieClip 905 efek011 { } movieClip 909 { frame 45 { removeMovieClip(_parent); } } movieClip 910 efek012 { } movieClip 912 { frame 45 { removeMovieClip(_parent); } } movieClip 913 efek013 { } movieClip 921 { frame 45 { removeMovieClip(_parent); } } movieClip 922 efek014 { } movieClip 939 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 940 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 29 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 941 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 942 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 955 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangLaser(_parent); } frame 30 { _parent.gotoAndStop(1); } } movieClip 956 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangLaser(_parent); } frame 25 { _parent.gotoAndStop(1); } } movieClip 957 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangLaser(_parent); } frame 19 { _parent.gotoAndStop(1); } } movieClip 958 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangLaser(_parent); } frame 13 { _parent.gotoAndStop(1); } } movieClip 969 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 970 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 971 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 972 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 973 pohon12 { frame 1 { stop(); } } movieClip 975 { } movieClip 976 kotak { } movieClip 985 efek1 { frame 17 { removeMovieClip(this); } } movieClip 990 efek0 { frame 13 { removeMovieClip(this); } } movieClip 993 { frame 1 { stop(); } } movieClip 996 { frame 1 { stop(); } } movieClip 1003 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1004 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1005 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1006 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1017 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1018 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1019 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1020 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu.gotoAndStop(_parent.sepatuKe); star.gotoAndStop(_parent.starKe); } } movieClip 1031 { frame 31 { removeMovieClip(_parent); } } movieClip 1032 { frame 25 { removeMovieClip(_parent); } } movieClip 1033 { frame 19 { removeMovieClip(_parent); } } movieClip 1034 { frame 13 { removeMovieClip(_parent); } } movieClip 1035 musuh2 { frame 1 { stop(); } } movieClip 1056 kembangApi { frame 1 { gotoAndPlay(random(25) + 1); randScale = random(50) + 50; this._xscale = randScale; this._yscale = randScale; this._rotation = random(360); } } movieClip 1059 { frame 1 { stop(); } } movieClip 1066 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 6 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 11 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 16 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 21 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1067 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 5 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 9 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 13 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 17 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1068 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 4 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 7 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 10 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 13 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1069 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 3 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 5 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 7 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 9 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1080 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 6 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 11 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 16 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 21 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 26 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1081 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 5 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 9 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 13 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 17 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 21 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1082 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 4 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 7 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 10 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 13 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 16 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1083 { frame 1 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 3 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 5 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 7 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 9 { tembakan.gotoAndStop(_parent.tembakanKe); } frame 11 { tembakan.gotoAndStop(_parent.tembakanKe); } } movieClip 1092 { frame 26 { removeMovieClip(_parent); } } movieClip 1093 { frame 21 { removeMovieClip(_parent); } } movieClip 1094 { frame 16 { removeMovieClip(_parent); } } movieClip 1095 { frame 11 { removeMovieClip(_parent); } } movieClip 1096 musuh3 { frame 1 { stop(); } } movieClip 1098 { frame 1 { stop(); } } movieClip 1101 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1102 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1103 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1104 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 2 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1111 { frame 21 { removeMovieClip(_parent); } } movieClip 1112 { frame 17 { removeMovieClip(_parent); } } movieClip 1113 { frame 13 { removeMovieClip(_parent); } } movieClip 1114 { frame 9 { removeMovieClip(_parent); } } movieClip 1115 musuh6 { frame 1 { stop(); } } movieClip 1117 { frame 1 { stop(); } } movieClip 1128 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 6 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 11 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 16 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 21 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 26 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1129 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 5 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 9 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 13 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 17 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 21 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1130 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 4 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 7 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 10 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 13 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 16 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1131 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 3 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 5 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 7 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 9 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 11 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1144 { frame 17 { stop(); } } movieClip 1151 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 6 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 11 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 16 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 21 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1152 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 5 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 9 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 13 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 17 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1153 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 4 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 7 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 10 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 13 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1154 { frame 1 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 3 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 5 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 7 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } frame 9 { sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); topi.gotoAndStop(_parent.topiKe); } } movieClip 1163 { frame 26 { removeMovieClip(_parent); } } movieClip 1164 { frame 21 { removeMovieClip(_parent); } } movieClip 1165 { frame 16 { removeMovieClip(_parent); } } movieClip 1166 { frame 11 { removeMovieClip(_parent); } } movieClip 1167 musuh5 { frame 1 { stop(); } } movieClip 1176 { frame 5 { _parent._parent.indi._x += 5; _parent._parent.indi._y += 5; } frame 9 { _parent._parent.indi._x -= 5; _parent._parent.indi._y -= 5; } frame 13 { _parent._parent.indi._x += 5; _parent._parent.indi._y += 5; } frame 17 { _parent._parent.indi._x -= 5; _parent._parent.indi._y -= 5; } } movieClip 1177 { } movieClip 1178 { } movieClip 1179 { } movieClip 1180 specialTools3 { frame 1 { stop(); } } movieClip 1185 { frame 1 { stop(); } } movieClip 1194 { } movieClip 1195 { frame 1 { stop(); } frame 30 { stop(); } } movieClip 1202 { frame 1 { heli.gotoAndStop(_parent.heliKe); if (_parent.kecoaBossBukan == true) { bayang.gotoAndStop(3); } else { if (_parent.kecoaBukan == true) { bayang.gotoAndStop(2); } else { bayang.gotoAndStop(1); } } } frame 6 { heli.gotoAndStop(_parent.heliKe); } frame 11 { heli.gotoAndStop(_parent.heliKe); } frame 16 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1204 { frame 1 { stop(); } } movieClip 1205 { frame 1 { heli.gotoAndStop(_parent.heliKe); if (_parent.kecoaBukan == true) { bayang.gotoAndStop(2); } else { bayang.gotoAndStop(1); } } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 9 { heli.gotoAndStop(_parent.heliKe); } frame 13 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1206 { frame 1 { heli.gotoAndStop(_parent.heliKe); if (_parent.kecoaBukan == true) { bayang.gotoAndStop(2); } else { bayang.gotoAndStop(1); } } frame 4 { heli.gotoAndStop(_parent.heliKe); } frame 7 { heli.gotoAndStop(_parent.heliKe); } frame 10 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1207 { frame 1 { heli.gotoAndStop(_parent.heliKe); if (_parent.kecoaBukan == true) { bayang.gotoAndStop(2); } else { bayang.gotoAndStop(1); } } frame 3 { heli.gotoAndStop(_parent.heliKe); } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 7 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1220 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 6 { heli.gotoAndStop(_parent.heliKe); } frame 11 { heli.gotoAndStop(_parent.heliKe); } frame 16 { heli.gotoAndStop(_parent.heliKe); } frame 21 { heli.gotoAndStop(_parent.heliKe); } frame 26 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1221 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 9 { heli.gotoAndStop(_parent.heliKe); } frame 13 { heli.gotoAndStop(_parent.heliKe); } frame 17 { heli.gotoAndStop(_parent.heliKe); } frame 21 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1222 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 4 { heli.gotoAndStop(_parent.heliKe); } frame 7 { heli.gotoAndStop(_parent.heliKe); } frame 10 { heli.gotoAndStop(_parent.heliKe); } frame 13 { heli.gotoAndStop(_parent.heliKe); } frame 16 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1223 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 3 { heli.gotoAndStop(_parent.heliKe); } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 7 { heli.gotoAndStop(_parent.heliKe); } frame 9 { heli.gotoAndStop(_parent.heliKe); } frame 11 { heli.gotoAndStop(_parent.heliKe); } } movieClip 1240 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 6 { heli.gotoAndStop(_parent.heliKe); } frame 11 { heli.gotoAndStop(_parent.heliKe); } frame 46 { removeMovieClip(_parent); } } movieClip 1241 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 9 { heli.gotoAndStop(_parent.heliKe); } frame 37 { removeMovieClip(_parent); } } movieClip 1242 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 4 { heli.gotoAndStop(_parent.heliKe); } frame 7 { heli.gotoAndStop(_parent.heliKe); } frame 28 { removeMovieClip(_parent); } } movieClip 1243 { frame 1 { heli.gotoAndStop(_parent.heliKe); } frame 3 { heli.gotoAndStop(_parent.heliKe); } frame 5 { heli.gotoAndStop(_parent.heliKe); } frame 19 { removeMovieClip(_parent); } } movieClip 1244 musuh4 { frame 1 { stop(); } } movieClip 1250 { frame 1 { stop(); } } movieClip 1255 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1256 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1257 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1258 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1265 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1266 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1267 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1268 { frame 1 { topi.gotoAndStop(_parent.topiKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); } } movieClip 1277 { frame 26 { removeMovieClip(_parent); } } movieClip 1278 { frame 21 { removeMovieClip(_parent); } } movieClip 1279 { frame 16 { removeMovieClip(_parent); } } movieClip 1280 { frame 11 { removeMovieClip(_parent); } } movieClip 1281 musuh7 { frame 1 { stop(); } } movieClip 1297 { frame 1 { stop(); } } movieClip 1302 { frame 1 { stop(); } } movieClip 1309 { frame 1 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 6 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 11 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 16 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } } movieClip 1310 { frame 1 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 5 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 9 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 13 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } } movieClip 1311 { frame 1 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 4 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 7 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 10 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } } movieClip 1312 { frame 1 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 3 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 5 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } frame 7 { buahAtas.gotoAndStop(_parent.buahBawa); topi.gotoAndStop(_parent.topiKe); } } movieClip 1319 { frame 21 { removeMovieClip(_parent); } } movieClip 1320 { frame 17 { removeMovieClip(_parent); } } movieClip 1321 { frame 13 { removeMovieClip(_parent); } } movieClip 1322 { frame 9 { removeMovieClip(_parent); } } movieClip 1323 musuh8 { frame 1 { stop(); } } movieClip 1332 { frame 17 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1333 { frame 13 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1334 { frame 9 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1335 { frame 5 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1336 { frame 20 { _root.kenaTools(_parent, 2); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1337 { frame 14 { _root.kenaTools(_parent, 2); } frame 20 { _parent.gotoAndStop(1); } } movieClip 1338 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1339 { frame 5 { _root.kenaTools(_parent, 2); } frame 7 { _parent.gotoAndStop(1); } } movieClip 1340 melee1 { frame 1 { stop(); } } movieClip 1349 { frame 13 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1350 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1351 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1352 { frame 4 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1353 { frame 20 { _root.kenaTools(_parent, 2); } frame 24 { _parent.gotoAndStop(1); } } movieClip 1354 { frame 10 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1355 { frame 9 { _root.kenaTools(_parent, 2); } frame 11 { _parent.gotoAndStop(1); } } movieClip 1356 { frame 5 { _root.kenaTools(_parent, 2); } frame 7 { _parent.gotoAndStop(1); } } movieClip 1357 melee2 { frame 1 { stop(); } } movieClip 1366 { frame 12 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1367 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1368 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1369 { frame 4 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1370 { frame 20 { _root.kenaTools(_parent, 2); } frame 25 { _parent.gotoAndStop(1); } } movieClip 1371 { frame 15 { _root.kenaTools(_parent, 2); } frame 18 { _parent.gotoAndStop(1); } } movieClip 1372 { frame 9 { _root.kenaTools(_parent, 2); } frame 11 { _parent.gotoAndStop(1); } } movieClip 1373 { frame 5 { _root.kenaTools(_parent, 2); } frame 7 { _parent.gotoAndStop(1); } } movieClip 1374 melee3 { frame 1 { stop(); } } movieClip 1383 { frame 12 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1384 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1385 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1386 { frame 4 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1387 { frame 20 { _root.kenaTools(_parent, 2); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1388 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1389 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1390 { frame 5 { _root.kenaTools(_parent, 2); } frame 8 { _parent.gotoAndStop(1); } } movieClip 1391 melee5 { frame 1 { stop(); } } movieClip 1398 { frame 13 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1399 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1400 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1401 { frame 4 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1402 { frame 20 { _root.kenaTools(_parent, 2); } frame 29 { _parent.gotoAndStop(1); } } movieClip 1403 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1404 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1405 { frame 5 { _root.kenaTools(_parent, 2); } frame 7 { _parent.gotoAndStop(1); } } movieClip 1406 melee6 { frame 1 { stop(); } } movieClip 1413 { frame 12 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1414 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1415 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1416 { frame 5 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1417 { frame 20 { _root.kenaTools(_parent, 2); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1418 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1419 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1420 { frame 5 { _root.kenaTools(_parent, 2); } frame 8 { _parent.gotoAndStop(1); } } movieClip 1421 melee7 { frame 1 { stop(); } } movieClip 1436 { frame 5 { _root.kenaTools(_parent, 1); } frame 17 { _root.kenaTools(_parent, 1); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1437 { frame 4 { _root.kenaTools(_parent, 1); } frame 13 { _root.kenaTools(_parent, 1); } frame 22 { _parent.gotoAndStop(1); } } movieClip 1438 { frame 3 { _root.kenaTools(_parent, 1); } frame 9 { _root.kenaTools(_parent, 1); } frame 15 { _parent.gotoAndStop(1); } } movieClip 1439 { frame 2 { _root.kenaTools(_parent, 1); } frame 5 { _root.kenaTools(_parent, 1); } frame 9 { _parent.gotoAndStop(1); } } movieClip 1440 { frame 20 { _root.kenaTools(_parent, 2); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1441 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1442 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1443 { frame 5 { _root.kenaTools(_parent, 2); } frame 8 { _parent.gotoAndStop(1); } } movieClip 1444 melee8 { frame 1 { stop(); } } movieClip 1453 { frame 12 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1454 { frame 10 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1455 { frame 7 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1456 { frame 5 { _root.kenaTools(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1457 { frame 20 { _root.kenaTools(_parent, 2); } frame 27 { _parent.gotoAndStop(1); } } movieClip 1458 { frame 15 { _root.kenaTools(_parent, 2); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1459 { frame 9 { _root.kenaTools(_parent, 2); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1460 { frame 5 { _root.kenaTools(_parent, 2); } frame 7 { _parent.gotoAndStop(1); } } movieClip 1461 melee9 { frame 1 { stop(); } } movieClip 1464 bolabase_mc { frame 1 { stop(); } frame 5 { removeMovieClip(this); } } movieClip 1474 { frame 7 { _root.kenaToolsRange(_parent, 1); } frame 16 { _parent.gotoAndStop(1); } } movieClip 1475 { frame 6 { _root.kenaToolsRange(_parent, 1); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1476 { frame 4 { _root.kenaToolsRange(_parent, 1); } frame 9 { _parent.gotoAndStop(1); } } movieClip 1477 { frame 3 { _root.kenaToolsRange(_parent, 1); } frame 6 { _parent.gotoAndStop(1); } } movieClip 1478 { frame 7 { _root.kenaToolsRange2(_parent, 1); } frame 16 { _parent.gotoAndStop(1); } } movieClip 1479 { frame 6 { _root.kenaToolsRange2(_parent, 1); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1480 { frame 4 { _root.kenaToolsRange2(_parent, 1); } frame 9 { _parent.gotoAndStop(1); } } movieClip 1481 { frame 3 { _root.kenaToolsRange2(_parent, 1); } frame 6 { _parent.gotoAndStop(1); } } movieClip 1482 range1 { frame 1 { stop(); } } movieClip 1495 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 31 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 36 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 1496 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 25 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 29 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 1497 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 19 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 22 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 1498 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 15 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } } movieClip 1505 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 20 { _parent.gotoAndStop(1); } } movieClip 1506 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 16 { _parent.gotoAndStop(2); } } movieClip 1507 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 12 { _parent.gotoAndStop(3); } } movieClip 1508 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); _root.cekSerangJauh(_parent); } frame 8 { _parent.gotoAndStop(4); } } movieClip 1515 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 6 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 26 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 1516 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 17 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 21 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 1517 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 4 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 10 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 13 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 16 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 1518 { frame 1 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 3 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 5 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 7 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 9 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); } frame 11 { topi.gotoAndStop(_parent.topiKe); sepatu1.gotoAndStop(_parent.sepatuKe); sepatu2.gotoAndStop(_parent.sepatuKe); removeMovieClip(_parent); } } movieClip 1519 pohon10 { frame 1 { stop(); } } movieClip 1522 peluru10 { } movieClip 1532 { frame 9 { _root.kenaToolsRange(_parent, 1); } frame 13 { _root.kenaToolsRange(_parent, 1); } frame 17 { _parent.gotoAndStop(1); } } movieClip 1533 { frame 7 { _root.kenaToolsRange(_parent, 1); } frame 10 { _root.kenaToolsRange(_parent, 1); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1534 { frame 5 { _root.kenaToolsRange(_parent, 1); } frame 7 { _root.kenaToolsRange(_parent, 1); } frame 9 { _parent.gotoAndStop(1); } } movieClip 1535 { frame 3 { _root.kenaToolsRange(_parent, 1); } frame 4 { _root.kenaToolsRange(_parent, 1); } frame 6 { _parent.gotoAndStop(1); } } movieClip 1536 { frame 9 { _root.kenaToolsRange2(_parent, 1); } frame 13 { _root.kenaToolsRange2(_parent, 1); } frame 17 { _parent.gotoAndStop(1); } } movieClip 1537 { frame 7 { _root.kenaToolsRange2(_parent, 1); } frame 10 { _root.kenaToolsRange2(_parent, 1); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1538 { frame 5 { _root.kenaToolsRange2(_parent, 1); } frame 7 { _root.kenaToolsRange2(_parent, 1); } frame 9 { _parent.gotoAndStop(1); } } movieClip 1539 { frame 3 { _root.kenaToolsRange2(_parent, 1); } frame 4 { _root.kenaToolsRange2(_parent, 1); } frame 6 { _parent.gotoAndStop(1); } } movieClip 1540 range2 { frame 1 { stop(); } } movieClip 1547 { frame 5 { _root.kenaToolsRange(_parent, 1); } frame 13 { _root.kenaToolsRange(_parent, 1); } frame 21 { _root.kenaToolsRange(_parent, 1); } frame 29 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1548 { frame 4 { _root.kenaToolsRange(_parent, 1); } frame 10 { _root.kenaToolsRange(_parent, 1); } frame 16 { _root.kenaToolsRange(_parent, 1); } frame 22 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1549 { frame 3 { _root.kenaToolsRange(_parent, 1); } frame 7 { _root.kenaToolsRange(_parent, 1); } frame 11 { _root.kenaToolsRange(_parent, 1); } frame 15 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1550 { frame 2 { _root.kenaToolsRange(_parent, 1); } frame 4 { _root.kenaToolsRange(_parent, 1); } frame 6 { _root.kenaToolsRange(_parent, 1); } frame 9 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1551 { frame 5 { _root.kenaToolsRange2(_parent, 1); } frame 13 { _root.kenaToolsRange2(_parent, 1); } frame 21 { _root.kenaToolsRange2(_parent, 1); } frame 29 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1552 { frame 4 { _root.kenaToolsRange2(_parent, 1); } frame 10 { _root.kenaToolsRange2(_parent, 1); } frame 16 { _root.kenaToolsRange2(_parent, 1); } frame 22 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1553 { frame 3 { _root.kenaToolsRange2(_parent, 1); } frame 7 { _root.kenaToolsRange2(_parent, 1); } frame 11 { _root.kenaToolsRange2(_parent, 1); } frame 15 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1554 { frame 2 { _root.kenaToolsRange2(_parent, 1); } frame 4 { _root.kenaToolsRange2(_parent, 1); } frame 6 { _root.kenaToolsRange2(_parent, 1); } frame 9 { _root.kenaToolsRange(_parent, 1); _parent.gotoAndStop(1); } } movieClip 1555 range3 { frame 1 { stop(); } } movieClip 1560 { } movieClip 1561 { } movieClip 1562 { } movieClip 1563 { } movieClip 1564 specialTools1 { frame 1 { stop(); } } movieClip 1569 { } movieClip 1570 { } movieClip 1571 { } movieClip 1572 { } movieClip 1573 specialTools2 { frame 1 { stop(); } } movieClip 1576 sekop_mc { } movieClip 1586 text_mc { frame 1 { stop(); } frame 10 { _root.backFruit(); } frame 11 { _root.backFruit(); } } movieClip 1595 asap1 { frame 9 { removeMovieClip(this); } } movieClip 1598 { } movieClip 1600 { frame 1 { stop(); } } movieClip 1608 { frame 1 { stop(); } } movieClip 1621 { } movieClip 1622 tanda_mc { frame 1 { stop(); } } movieClip 1626 { frame 1 { stop(); } } movieClip 1631 { frame 1 { stop(); } } movieClip 1632 { frame 1 { tambahan.gotoAndStop(_parent.tambahanKe); } frame 5 { tambahan.gotoAndStop(_parent.tambahanKe); } } movieClip 1634 { frame 1 { stop(); } } movieClip 1635 { frame 1 { tambahan.gotoAndStop(_parent.tambahanKe); } frame 4 { tambahan.gotoAndStop(_parent.tambahanKe); } } movieClip 1636 { frame 1 { tambahan.gotoAndStop(_parent.tambahanKe); } frame 3 { tambahan.gotoAndStop(_parent.tambahanKe); } } movieClip 1637 { frame 1 { tambahan.gotoAndStop(_parent.tambahanKe); } frame 2 { tambahan.gotoAndStop(_parent.tambahanKe); } } movieClip 1638 { frame 9 { removeMovieClip(_parent); } } movieClip 1639 { frame 7 { removeMovieClip(_parent); } } movieClip 1640 { frame 5 { removeMovieClip(_parent); } } movieClip 1641 { frame 3 { removeMovieClip(_parent); } } movieClip 1642 musuh9 { frame 1 { stop(); } } movieClip 1645 koin_mc { frame 11 { stop(); } } movieClip 1649 buahJalan { frame 1 { stop(); } } movieClip 1652 akar_mc { } movieClip 1655 kupu_mc { } movieClip 1656 kotak2 { frame 1 { stop(); } } movieClip 1659 peluru7 { } movieClip 1676 asap2 { frame 11 { removeMovieClip(this); } } movieClip 1681 rusak_mc { frame 1 { stop(); } } movieClip 1683 peluru8x { } movieClip 1691 boladuri { frame 1 { stop(); } } movieClip 1695 special1 { frame 80 { _root.cekSpecialMuncul(1); } frame 100 { _root.sedangEfek2(1); if (_root.specialsPowerUps1 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(1); } frame 299 { _root.sedangEfek2(1); removeMovieClip(this); } } movieClip 1708 hujanAir { frame 80 { removeMovieClip(this); } } movieClip 1716 { } movieClip 1717 efekRacun { frame 20 { removeMovieClip(this); } } movieClip 1720 kolam_mc { } movieClip 1731 efekAir { frame 11 { removeMovieClip(this); } } movieClip 1734 pelurugun_mc { frame 1 { stop(); } frame 5 { removeMovieClip(this); } } movieClip 1737 pelurunail_mc { frame 1 { stop(); } frame 5 { removeMovieClip(this); } } movieClip 1742 { } movieClip 1743 { } movieClip 1744 { } movieClip 1745 { } movieClip 1760 { frame 31 { _parent.gotoAndStop(1); } } movieClip 1761 { frame 26 { _parent.gotoAndStop(1); } } movieClip 1762 { frame 21 { _parent.gotoAndStop(1); } } movieClip 1763 { frame 16 { _parent.gotoAndStop(1); } } movieClip 1767 { frame 25 { removeMovieClip(_parent); } } movieClip 1769 { frame 21 { removeMovieClip(_parent); } } movieClip 1771 { frame 17 { removeMovieClip(_parent); } } movieClip 1773 { frame 13 { removeMovieClip(_parent); } } movieClip 1774 minions2 { frame 1 { stop(); } } movieClip 1776 { } movieClip 1777 awan_mc { } movieClip 1806 efekTembak { frame 15 { removeMovieClip(this); } } movieClip 1809 { } movieClip 1810 { } movieClip 1811 { } movieClip 1812 { } movieClip 1814 { frame 48 { _parent.gotoAndStop(1); } } movieClip 1815 { frame 41 { _parent.gotoAndStop(1); } } movieClip 1816 { frame 33 { _parent.gotoAndStop(1); } } movieClip 1817 { frame 25 { _parent.gotoAndStop(1); } } movieClip 1818 { frame 13 { removeMovieClip(_parent); } } movieClip 1819 { frame 11 { removeMovieClip(_parent); } } movieClip 1820 { frame 9 { removeMovieClip(_parent); } } movieClip 1821 { frame 7 { removeMovieClip(_parent); } } movieClip 1822 minions3 { frame 1 { stop(); } } movieClip 1828 { } movieClip 1829 { } movieClip 1830 { } movieClip 1832 { frame 18 { _parent.gotoAndStop(1); } } movieClip 1833 { frame 15 { _parent.gotoAndStop(1); } } movieClip 1834 { frame 12 { _parent.gotoAndStop(1); } } movieClip 1835 { frame 9 { _parent.gotoAndStop(1); } } movieClip 1840 { frame 25 { removeMovieClip(_parent); } } movieClip 1843 { frame 21 { removeMovieClip(_parent); } } movieClip 1846 { frame 17 { removeMovieClip(_parent); } } movieClip 1849 { frame 13 { removeMovieClip(_parent); } } movieClip 1850 minions4 { frame 1 { stop(); } } movieClip 1855 { } movieClip 1856 { } movieClip 1857 { } movieClip 1858 { } movieClip 1860 { frame 24 { _parent.gotoAndStop(1); } } movieClip 1861 { frame 20 { _parent.gotoAndStop(1); } } movieClip 1862 { frame 16 { _parent.gotoAndStop(1); } } movieClip 1863 { frame 12 { _parent.gotoAndStop(1); } } movieClip 1868 { frame 25 { removeMovieClip(_parent); } } movieClip 1871 { frame 21 { removeMovieClip(_parent); } } movieClip 1874 { frame 17 { removeMovieClip(_parent); } } movieClip 1877 { frame 13 { removeMovieClip(_parent); } } movieClip 1878 minions5 { frame 1 { stop(); } } movieClip 1889 box_mc { frame 1 { stop(); } frame 10 { play(); } frame 25 { stop(); } } movieClip 1891 special2 { frame 80 { _root.cekSpecialMuncul(2); } frame 100 { _root.sedangEfek2(2); if (_root.specialsPowerUps2 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(2); } frame 299 { _root.sedangEfek2(2); removeMovieClip(this); } } movieClip 1906 hujanEs { frame 60 { removeMovieClip(this); } } movieClip 1909 special3 { frame 80 { _root.cekSpecialMuncul(3); } frame 100 { _root.sedangEfek2(3); if (_root.specialsPowerUps3 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(3); } frame 299 { _root.sedangEfek2(3); removeMovieClip(this); } } movieClip 1911 { } movieClip 1912 malam_mc { } movieClip 1922 debu_mc { frame 22 { removeMovieClip(this); } } movieClip 1931 efek7 { frame 17 { removeMovieClip(this); } } movieClip 1932 koin_mc2 { frame 20 { stop(); } } movieClip 1934 pelurusniper_mc { frame 1 { stop(); } frame 5 { removeMovieClip(this); } } movieClip 1943 { frame 6 { _root.cekSerangHero(_parent); } frame 15 { _parent.gotoAndStop(1); } } movieClip 1944 { frame 5 { _root.cekSerangHero(_parent); } frame 12 { _parent.gotoAndStop(2); } } movieClip 1945 { frame 4 { _root.cekSerangHero(_parent); } frame 9 { _parent.gotoAndStop(3); } } movieClip 1946 { frame 3 { _root.cekSerangHero(_parent); } frame 6 { _parent.gotoAndStop(4); } } movieClip 1947 hero1 { frame 1 { stop(); } } movieClip 1949 peluru20 { } movieClip 1956 efek20 { frame 17 { removeMovieClip(this); } } movieClip 1961 box_tutup { frame 1 { stop(); } frame 10 { play(); } frame 25 { stop(); } } movieClip 1968 { frame 7 { _root.cekSerangHero(_parent); } frame 15 { _parent.gotoAndStop(1); } } movieClip 1969 { frame 6 { _root.cekSerangHero(_parent); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1970 { frame 5 { _root.cekSerangHero(_parent); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1971 { frame 4 { _root.cekSerangHero(_parent); } frame 8 { _parent.gotoAndStop(1); } } movieClip 1972 hero2 { frame 1 { stop(); } } movieClip 1991 hujanAcid { frame 68 { removeMovieClip(this); } } movieClip 1995 { } movieClip 1996 { } movieClip 1997 { frame 60 { gotoAndPlay(25); } } movieClip 1998 efekEs { } movieClip 2003 { frame 24 { stop(); } } movieClip 2004 efekEs2 { frame 30 { removeMovieClip(this); } } movieClip 2011 { } movieClip 2012 { } movieClip 2013 { } movieClip 2014 { } movieClip 2019 { frame 10 { _parent.gotoAndStop(1); } } movieClip 2020 { frame 10 { _parent.gotoAndStop(1); } } movieClip 2021 { frame 8 { _parent.gotoAndStop(1); } } movieClip 2022 { frame 6 { _parent.gotoAndStop(1); } } movieClip 2029 { } movieClip 2030 { frame 25 { removeMovieClip(_parent); } } movieClip 2031 { frame 21 { removeMovieClip(_parent); } } movieClip 2032 { frame 17 { removeMovieClip(_parent); } } movieClip 2033 { frame 13 { removeMovieClip(_parent); } } movieClip 2034 minions6 { frame 1 { stop(); } } movieClip 2037 special4 { frame 80 { _root.cekSpecialMuncul(4); } frame 100 { _root.sedangEfek2(4); if (_root.specialsPowerUps3 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(4); } frame 299 { _root.sedangEfek2(4); removeMovieClip(this); } } movieClip 2060 { } movieClip 2061 hujanPetir { frame 100 { removeMovieClip(this); } } movieClip 2070 efekPetir { frame 9 { removeMovieClip(this); } } movieClip 2077 { } movieClip 2078 { } movieClip 2079 { } movieClip 2080 { } movieClip 2093 { } movieClip 2094 { } movieClip 2095 { } movieClip 2096 { } movieClip 2107 { frame 31 { removeMovieClip(_parent); } } movieClip 2108 { frame 25 { removeMovieClip(_parent); } } movieClip 2109 { frame 19 { removeMovieClip(_parent); } } movieClip 2110 { frame 13 { removeMovieClip(_parent); } } movieClip 2111 musuh10 { frame 1 { stop(); } } movieClip 2118 { } movieClip 2119 { } movieClip 2120 { } movieClip 2121 { } movieClip 2131 { } movieClip 2144 { frame 30 { _parent.gotoAndStop(1); } } movieClip 2145 { frame 24 { _parent.gotoAndStop(1); } } movieClip 2146 { frame 18 { _parent.gotoAndStop(1); } } movieClip 2147 { frame 12 { _parent.gotoAndStop(1); } } movieClip 2154 { } movieClip 2155 { frame 25 { removeMovieClip(_parent); } } movieClip 2156 { frame 21 { removeMovieClip(_parent); } } movieClip 2157 { frame 17 { removeMovieClip(_parent); } } movieClip 2158 { frame 13 { removeMovieClip(_parent); } } movieClip 2159 minions7 { frame 1 { stop(); } } movieClip 2162 special5 { frame 80 { _root.cekSpecialMuncul(5); } frame 100 { _root.sedangEfek2(5); if (_root.specialsPowerUps3 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(5); } frame 299 { _root.sedangEfek2(5); removeMovieClip(this); } } movieClip 2165 { } movieClip 2166 hujanSinar { frame 84 { removeMovieClip(this); } } movieClip 2171 { frame 12 { _root.cekSerangHero(_parent); } frame 23 { _parent.gotoAndStop(1); } } movieClip 2172 { frame 10 { _root.cekSerangHero(_parent); } frame 19 { _parent.gotoAndStop(1); } } movieClip 2173 { frame 8 { _root.cekSerangHero(_parent); } frame 15 { _parent.gotoAndStop(1); } } movieClip 2174 { frame 6 { _root.cekSerangHero(_parent); } frame 11 { _parent.gotoAndStop(1); } } movieClip 2175 hero3 { frame 1 { stop(); } } movieClip 2184 { frame 24 { _parent.gotoAndStop(1); } } movieClip 2185 { frame 20 { _parent.gotoAndStop(2); } } movieClip 2186 { frame 16 { _parent.gotoAndStop(3); } } movieClip 2187 { frame 12 { _parent.gotoAndStop(4); } } movieClip 2194 { frame 25 { removeMovieClip(_parent); } } movieClip 2195 { frame 21 { removeMovieClip(_parent); } } movieClip 2196 { frame 17 { removeMovieClip(_parent); } } movieClip 2197 { frame 13 { removeMovieClip(_parent); } } movieClip 2198 minions8 { frame 1 { stop(); } } movieClip 2201 special6 { frame 80 { _root.cekSpecialMuncul(6); } frame 100 { _root.sedangEfek2(6); if (_root.specialsPowerUps3 == 5) { play(); } else { removeMovieClip(this); } } frame 200 { delaySpecial = true; } frame 279 { _root.cekSpecialMuncul(6); } frame 299 { _root.sedangEfek2(6); removeMovieClip(this); } } movieClip 2218 { frame 48 { gotoAndPlay(15); } } movieClip 2224 hujanGempa { frame 1 { stop(); } frame 5 { play(); } frame 25 { removeMovieClip(this); } } movieClip 2227 laser_mc { } movieClip 2236 { } movieClip 2237 { } movieClip 2238 { } movieClip 2239 { } movieClip 2252 { } movieClip 2253 { } movieClip 2254 { } movieClip 2255 { } movieClip 2264 { frame 26 { removeMovieClip(_parent); } } movieClip 2265 { frame 21 { removeMovieClip(_parent); } } movieClip 2266 { frame 16 { removeMovieClip(_parent); } } movieClip 2267 { frame 11 { removeMovieClip(_parent); } } movieClip 2268 musuh10x { frame 1 { stop(); } } movieClip 2279 efek9 { frame 11 { removeMovieClip(this); } } movieClip 2292 efek10 { frame 13 { removeMovieClip(this); } } movieClip 2293 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2294 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 6 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 11 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2295 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 5 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 9 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2296 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 4 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 10 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2314 { } movieClip 2315 { } movieClip 2316 { } movieClip 2319 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 25 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 31 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 37 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 43 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 49 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); _root.serangBossLaser(_parent); } frame 100 { _parent.gotoAndStop(1); } } movieClip 2320 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 6 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 11 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 21 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 26 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 31 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 36 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 41 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); _root.serangBossLaser(_parent); } frame 80 { _parent.gotoAndStop(2); } } movieClip 2321 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 5 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 9 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 17 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 21 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 25 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 29 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 33 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); _root.serangBossLaser(_parent); } frame 60 { _parent.gotoAndStop(3); } } movieClip 2322 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 4 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 10 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 22 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 25 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); _root.serangBossLaser(_parent); } frame 40 { _parent.gotoAndStop(4); } } movieClip 2337 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 25 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 31 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 37 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 64 { removeMovieClip(_parent); } } movieClip 2338 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 6 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 11 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 21 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 26 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 31 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 53 { removeMovieClip(_parent); } } movieClip 2339 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 5 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 9 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 17 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 21 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 25 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 42 { removeMovieClip(_parent); } } movieClip 2340 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 4 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 10 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 33 { removeMovieClip(_parent); } } movieClip 2349 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 7 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 19 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2350 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 6 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 11 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 16 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2351 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 5 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 9 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2352 { frame 1 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 5 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 9 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } frame 13 { kaca.gotoAndStop(_parent.kacaKe); senjata.gotoAndStop(_parent.senjataKe); } } movieClip 2353 musuhBoss { frame 1 { stop(); } } movieClip 2356 roket_mc { } movieClip 2360 { } movieClip 2365 tutorial_mc { frame 1 { stop(); } } movieClip 2372 { frame 1 { stop(); } } movieClip 2377 { } movieClip 2379 { } movieClip 2380 { } movieClip 2381 { } movieClip 2383 { } movieClip 2397 option_mc { frame 1 { function cekSpeedQuality() { i = 1; while (i <= 3) { this['speed' + i].angka = i; this['quality' + i].angka = i; this['speed' + i].gotoAndStop(1); this['quality' + i].gotoAndStop(1); this['speed' + i].onRelease = klikSpeed; this['quality' + i].onRelease = klikQuality; this['speed' + i].onRollOver = function () { over(); }; this['quality' + i].onRollOver = function () { over(); }; ++i; } this['speed' + _root.speedGame].gotoAndStop(2); this['quality' + _root.qualityGame].gotoAndStop(2); } function klikSpeed() { klik(); indi = new String(this); _root.speedGame = Number(indi.substr(indi.length - 1, 1)); cekSpeedQuality(); } function klikQuality() { klik(); indi = new String(this); _root.qualityGame = Number(indi.substr(indi.length - 1, 1)); if (_root.qualityGame == 1) { _quality = 'HIGH'; } else { if (_root.qualityGame == 2) { _quality = 'MEDIUM'; } else { if (_root.qualityGame == 3) { _quality = 'LOW'; } } } cekSpeedQuality(); } stop(); bar1_mc.bar_mc._x = Math.ceil(_root.volume1 / 0.4347826086956522 - 115); bar1_mc.bar_mc.onEnterFrame = function () { _root.volume1 = int(0.4347826086956522 * (this._x + 115)); _root.myMusic.setVolume(_root.volume1); bar1_mc.persen1 = _root.volume1 + ' %'; }; bar1_mc.indi_mc.onPress = function () { klik(); startDrag(bar1_mc.bar_mc, true, -115, 0, 115, 0); }; bar1_mc.indi_mc.onReleaseOutside = function () { over(); stopDrag(); }; bar1_mc.indi_mc.onRelease = bar1_mc.indi_mc.onReleaseOutside; bar2_mc.bar_mc._x = Math.ceil(_root.volume2 / 0.4347826086956522 - 115); bar2_mc.bar_mc.onEnterFrame = function () { _root.volume2 = int(0.4347826086956522 * (this._x + 115)); _root.volum3 = int(0.4347826086956522 * (this._x + 115)); _root.mySound.setVolume(_root.volume2); _root.mySound2.setVolume(_root.volum3); bar2_mc.persen2 = _root.volume2 + ' %'; }; bar2_mc.indi_mc.onPress = function () { klik(); backGunx(); sudahLepas = false; startDrag(bar2_mc.bar_mc, true, -115, 0, 115, 0); }; bar2_mc.indi_mc.onReleaseOutside = function () { over(); sudahLepas = true; stopDrag(); }; bar2_mc.indi_mc.onRelease = bar2_mc.indi_mc.onReleaseOutside; cekSpeedQuality(); } frame 2 { function cekSpeedQuality() { i = 1; while (i <= 3) { this['speed' + i].angka = i; this['quality' + i].angka = i; this['speed' + i].gotoAndStop(1); this['quality' + i].gotoAndStop(1); this['speed' + i].onRelease = klikSpeed; this['quality' + i].onRelease = klikQuality; this['speed' + i].onRollOver = function () { over(); }; this['quality' + i].onRollOver = function () { over(); }; ++i; } this['speed' + _root.speedGame].gotoAndStop(2); this['quality' + _root.qualityGame].gotoAndStop(2); } function klikSpeed() { klik(); indi = new String(this); _root.speedGame = Number(indi.substr(indi.length - 1, 1)); cekSpeedQuality(); } function klikQuality() { klik(); indi = new String(this); _root.qualityGame = Number(indi.substr(indi.length - 1, 1)); if (_root.qualityGame == 1) { _quality = 'HIGH'; } else { if (_root.qualityGame == 2) { _quality = 'MEDIUM'; } else { if (_root.qualityGame == 3) { _quality = 'LOW'; } } } cekSpeedQuality(); } stop(); bar1_mc.bar_mc._x = Math.ceil(_root.volume1 / 0.4347826086956522 - 115); bar1_mc.bar_mc.onEnterFrame = function () { _root.volume1 = int(0.4347826086956522 * (this._x + 115)); _root.myMusic.setVolume(_root.volume1); bar1_mc.persen1 = _root.volume1 + ' %'; }; bar1_mc.indi_mc.onPress = function () { klik(); startDrag(bar1_mc.bar_mc, true, -115, 0, 115, 0); }; bar1_mc.indi_mc.onReleaseOutside = function () { over(); stopDrag(); }; bar1_mc.indi_mc.onRelease = bar1_mc.indi_mc.onReleaseOutside; bar2_mc.bar_mc._x = Math.ceil(_root.volume2 / 0.4347826086956522 - 115); bar2_mc.bar_mc.onEnterFrame = function () { _root.volume2 = int(0.4347826086956522 * (this._x + 115)); _root.volum3 = int(0.4347826086956522 * (this._x + 115)); _root.mySound.setVolume(_root.volume2); _root.mySound2.setVolume(_root.volum3); bar2_mc.persen2 = _root.volume2 + ' %'; }; bar2_mc.indi_mc.onPress = function () { klik(); backGunx(); sudahLepas = false; startDrag(bar2_mc.bar_mc, true, -115, 0, 115, 0); }; bar2_mc.indi_mc.onReleaseOutside = function () { over(); sudahLepas = true; stopDrag(); }; bar2_mc.indi_mc.onRelease = bar2_mc.indi_mc.onReleaseOutside; cekSpeedQuality(); } } movieClip 2400 tutorial_mc2 { frame 1 { stop(); } } movieClip 2408 tutorial_mc3 { frame 1 { stop(); } } movieClip 2410 tutorial_mc4 { frame 1 { stop(); } } movieClip 2419 tutorial_mc5 { frame 1 { stop(); } } movieClip 2426 tutorial_mc6 { frame 1 { stop(); } } movieClip 2433 tutorial_mc7 { frame 1 { stop(); } frame 2 { _root.powerUps._visible = true; } } movieClip 2436 achievement_mc { frame 1 { stop(); } frame 2 { play(); } frame 90 { removeMovieClip(this); } } frame 21 { play(); } movieClip 2442 { } movieClip 2449 { } movieClip 2453 { frame 225 { stop(); } } movieClip 2454 { frame 1 { this.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; } } frame 250 { stop(); backStory(); gotoAndStop(251); } frame 251 { function cekContinue() { msgBox_mc5._visible = true; msgBox_mc5.back_btn.onRelease = function () { msgBox_mc5._visible = false; }; ii = 1; while (ii <= 7) { loadData(ii); if (_root.adaData == undefined || xlevel == 1) { msgBox_mc5['slot' + ii]._alpha = 25; msgBox_mc5['slot' + ii].enabled = false; } else { msgBox_mc5['slot' + ii]._alpha = 100; msgBox_mc5['slot' + ii].enabled = true; } ++ii; } msgBox_mc5.slot1.onRelease = function () { lanjutContinue(1); }; msgBox_mc5.slot2.onRelease = function () { lanjutContinue(2); }; msgBox_mc5.slot3.onRelease = function () { lanjutContinue(3); }; msgBox_mc5.slot4.onRelease = function () { lanjutContinue(4); }; msgBox_mc5.slot5.onRelease = function () { lanjutContinue(5); }; msgBox_mc5.slot6.onRelease = function () { lanjutContinue(6); }; msgBox_mc5.slot7.onRelease = function () { lanjutContinue(7); }; } function lanjutContinue(indi) { loadData(indi); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { levelBonus = true; } else { levelBonus = false; } cekSemuaLevel(); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { backMenu(); kemana = 'setup'; } } } function cekTransisi2() { transisi2 = attachMovie('transisi2', 'transisi2', 1000002); transisi2._x = -42.6; transisi2._y = -50.8; } function cekTransisi3() { transisi3 = attachMovie('transisi3', 'transisi3', 1000003); transisi3._x = 903.4; transisi3._y = -200.1; } function mauKemana() { if (kemana == 'submenu') { gotoAndStop(251); } else { if (kemana == 'mainmenu') { gotoAndStop(251); } else { if (kemana == 'playing') { gotoAndStop(260); } else { if (kemana == 'collection') { gotoAndStop(251); } else { if (kemana == 'startgame') { gotoAndStop(254); } else { if (kemana == 'highscores') { gotoAndStop(251); } else { if (kemana == 'gamecenter') { gotoAndStop(251); } else { if (kemana == 'techcenter') { gotoAndStop(251); } else { if (kemana == 'award') { gotoAndStop(251); } else { if (kemana == 'achievement') { gotoAndStop(259); } else { if (kemana == 'option') { gotoAndStop(252); } else { if (kemana == 'upgrade') { gotoAndStop(292); } else { if (kemana == 'setup') { gotoAndStop(328); } else { if (kemana == 'win') { gotoAndStop(329); } else { if (kemana == 'victory') { gotoAndStop(331); } else { if (kemana == 'lose') { gotoAndStop(330); } else { if (kemana == 'restart') { gotoAndStop(290); } else { if (kemana == 'restart2') { gotoAndStop(291); } else { if (kemana == 'research') { gotoAndStop(326); } else { if (kemana == 'upgrade2') { gotoAndStop('powerup'); } else { if (kemana == 'pestipedia') { gotoAndStop(257); } else { if (kemana == 'fruitipedia') { gotoAndStop(258); } else { if (kemana == 'credit') { gotoAndStop(253); } else { if (kemana == 'special') { gotoAndStop(255); } else { if (kemana == 'fd2') { gotoAndStop(332); } else { if (kemana == 'challenge') { gotoAndStop(256); } } } } } } } } } } } } } } } } } } } } } } } } } } } stop(); fscommand('showmenu', false); fscommand('fullscreen', false); fscommand('showmenu', false); Stage.showMenu = false; msgBox_mc5._visible = false; new_btn.onRelease = function () { kemanaGame = 'newgame'; if (sudahMenang == true) { this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; } else { pilihMode = 'arcade'; initData(); simpanData(7); cekSemuaLevel(); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'playing'; } }; continue_btn.onRelease = function () { kemanaGame = 'continue'; if (sudahMenang == true) { this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; } else { pilihMode = 'arcade'; cekContinue(); } }; option_btn.onRelease = function () { this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'option'; }; more_btn.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; high_btn.onRelease = function () { getURL('http://plus.google.com/u/0/104425856972539712808/posts', '_blank'); }; } movieClip 2462 { } movieClip 2536 { } frame 252 { function cekTombol(indi) { exit_btn.enabled = indi; } function cekSpeedQuality() { i = 1; while (i <= 3) { this['speed' + i].angka = i; this['quality' + i].angka = i; this['speed' + i].gotoAndStop(1); this['quality' + i].gotoAndStop(1); this['speed' + i].onRelease = klikSpeed; this['quality' + i].onRelease = klikQuality; this['speed' + i].onRollOver = function () { over(); }; this['quality' + i].onRollOver = function () { over(); }; ++i; } this['speed' + _root.speedGame].gotoAndStop(2); this['quality' + _root.qualityGame].gotoAndStop(2); } function klikSpeed() { klik(); indi = new String(this); _root.speedGame = Number(indi.substr(indi.length - 1, 1)); cekSpeedQuality(); } function klikQuality() { klik(); indi = new String(this); _root.qualityGame = Number(indi.substr(indi.length - 1, 1)); if (_root.qualityGame == 1) { _quality = 'HIGH'; } else { if (_root.qualityGame == 2) { _quality = 'MEDIUM'; } else { if (_root.qualityGame == 3) { _quality = 'LOW'; } } } cekSpeedQuality(); } stop(); clear_mc._visible = false; exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'mainmenu'; }; credit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'credit'; }; clear_btn.onRelease = function () { clear_mc._visible = true; clear_mc.yes_btn.onRelease = function () { adaData = undefined; initData(); initData3(); zz = 1; while (zz <= 7) { simpanData(zz); ++zz; } simpanData2(); simpanData3(); cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'mainmenu'; }; clear_mc.no_btn.onRelease = function () { clear_mc._visible = false; }; }; bar1_mc.bar_mc._x = Math.ceil(_root.volume1 / 0.4347826086956522 - 115); bar1_mc.bar_mc.onEnterFrame = function () { _root.volume1 = int(0.4347826086956522 * (this._x + 115)); _root.myMusic.setVolume(_root.volume1); bar1_mc.persen1 = _root.volume1 + ' %'; }; bar1_mc.indi_mc.onPress = function () { klik(); startDrag(bar1_mc.bar_mc, true, -115, 0, 115, 0); }; bar1_mc.indi_mc.onReleaseOutside = function () { over(); stopDrag(); }; bar1_mc.indi_mc.onRelease = bar1_mc.indi_mc.onReleaseOutside; bar2_mc.bar_mc._x = Math.ceil(_root.volume2 / 0.4347826086956522 - 115); bar2_mc.bar_mc.onEnterFrame = function () { _root.volume2 = int(0.4347826086956522 * (this._x + 115)); _root.volum3 = int(0.4347826086956522 * (this._x + 115)); _root.mySound.setVolume(_root.volume2); _root.mySound2.setVolume(_root.volum3); bar2_mc.persen2 = _root.volume2 + ' %'; }; bar2_mc.indi_mc.onPress = function () { klik(); backGunx(); sudahLepas = false; startDrag(bar2_mc.bar_mc, true, -115, 0, 115, 0); }; bar2_mc.indi_mc.onReleaseOutside = function () { over(); sudahLepas = true; stopDrag(); }; bar2_mc.indi_mc.onRelease = bar2_mc.indi_mc.onReleaseOutside; cekSpeedQuality(); } movieClip 2563 { } frame 253 { function cekTombol(indi) { exit_btn.enabled = indi; } stop(); close_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'mainmenu'; }; } frame 254 { function cekTombol(indi) { back_btn.enabled = indi; arcade_btn.enabled = indi; survival_btn.enabled = indi; sandbox_btn.enabled = indi; td_btn.enabled = indi; click_btn.enabled = indi; minions_btn.enabled = indi; exit_btn.enabled = indi; } stop(); balon_mc._visible = false; msgBox_mc5._visible = false; library_mc._visible = false; if (kemanaGame == 'newgame') { continueStart = 'START NEW GAME'; } else { continueStart = 'CONTINUE GAME'; } exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'mainmenu'; }; arcade_btn.onRelease = function () { pilihMode = 'arcade'; if (kemanaGame == 'newgame') { initData(); simpanData(7); cekSemuaLevel(); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'playing'; } else { cekContinue(); } }; arcade_btn.onRollOver = function () { balon_mc._visible = true; balon_mc.gotoAndStop(1); }; arcade_btn.onRollOut = function () { balon_mc._visible = false; }; survival_btn.onRelease = function () { pilihMode = 'survival'; if (kemanaGame == 'newgame') { initData(); initSurvival(); simpanData(7); cekSemuaLevel(); this.enabled = false; cekTransisi3(); transisi3.gotoAndPlay(2); backMenu(); kemana = 'setup'; } else { cekContinue(); } }; survival_btn.onRollOver = function () { balon_mc._visible = true; balon_mc.gotoAndStop(2); }; survival_btn.onRollOut = function () { balon_mc._visible = false; }; moneyless_btn.onRelease = function () { pilihMode = 'hacked'; if (kemanaGame == 'newgame') { initDataHacked(); simpanData(7); cekSemuaLevel(); this.enabled = false; cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'playing'; } else { cekContinue(); } }; moneyless_btn.onRollOver = function () { balon_mc._visible = true; balon_mc.gotoAndStop(3); }; moneyless_btn.onRollOut = function () { balon_mc._visible = false; }; madness_btn.onRelease = function () { pilihMode = 'madness'; if (kemanaGame == 'newgame') { initData(); simpanData(7); cekSemuaLevel(); this.enabled = false; cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'playing'; } else { cekContinue(); } }; madness_btn.onRollOver = function () { balon_mc._visible = true; balon_mc.gotoAndStop(4); }; madness_btn.onRollOut = function () { balon_mc._visible = false; }; achievements_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'achievement'; }; special_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'special'; }; library_btn.onRelease = function () { library_mc._visible = true; library_mc.fruitipedia_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'fruitipedia'; }; library_mc.pestipedia_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'pestipedia'; }; }; challenge_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'challenge'; }; hantu_btn.onRollOver = function () { backHantu(); }; } // unknown tag 88 length 54 movieClip 2632 { } movieClip 2643 { frame 1 { stop(); } } movieClip 2659 { } frame 255 { function klikLevel() { pilihMode = 'special'; myStr = new String(this); if (myStr.length == 14) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { if (myStr.length == 15) { indi = Number(myStr.substr(myStr.length - 2, 2)); } } xlevel = 5 * indi; cekSemuaLevel(); cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'playing'; } stop(); clearSemua(); i = 1; while (i <= 18) { _root['level' + i].xlevel = 'Level ' + 5 * i; _root['level' + i].onRelease = klikLevel; ++i; } exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; } movieClip 2668 { } movieClip 2671 { } frame 256 { function cekAwalChallenge() { i = 1; while (i <= 3) { _root['level' + i].gotoAndStop(i); _root['level' + i].onRelease = klikLevel; _root['reset' + i].onRelease = klikReset; _root['level' + i].maxLevel = 'Max Level: ' + _root['maxLevel' + i]; ++i; } } function klikLevel() { pilihMode = 'challenge'; myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); initData(); pilihChallenge = indi; xlevel = _root['maxLevel' + indi]; cekSemuaLevel(); cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'playing'; } function klikReset() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); _root['maxLevel' + indi] = 1; simpanData2(); cekAwalChallenge(); } stop(); clearSemua(); cekAwalChallenge(); exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; } movieClip 2689 { } movieClip 2694 { frame 1 { stop(); } } movieClip 2697 { } frame 257 { function cekTombol(indi) { exit_btn.enabled = indi; } function klikPest() { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } msgBox_mc4._visible = true; cekAtributeMusuh2(indi); msgBox_mc4.namaPest = musuhnama; msgBox_mc4.life = 'Life: ' + musuhlive; msgBox_mc4.speed = 'Speed: ' + musuhspeed; msgBox_mc4.range = 'Range: ' + musuhrange; msgBox_mc4.damage = 'Damage: ' + musuhdamage; msgBox_mc4.delayAttack = 'Delay Attack: ' + musuhserangMax; msgBox_mc4.exit_btn.onRelease = function () { msgBox_mc4._visible = false; }; } function cekAtributeMusuh2(indi) { if (indi == 1) { musuhnama = 'Snail'; musuhspeed = 1.5; musuhlive = 10; musuhdamage = 10; musuhrange = 75; musuhserangMax = 25; } else { if (indi == 2) { musuhnama = 'Worm'; musuhspeed = 2; musuhlive = 25; musuhdamage = 20; musuhrange = 75; musuhserangMax = 20; } else { if (indi == 3) { musuhnama = 'Death Tree'; musuhspeed = 1; musuhlive = 100; musuhdamage = 30; musuhrange = 75; musuhserangMax = 35; } else { if (indi == 4) { musuhnama = 'Cockroach'; musuhspeed = 3; musuhlive = 150; musuhdamage = 15; musuhrange = 100; musuhserangMax = 25; } else { if (indi == 5) { musuhnama = 'Hell Flower'; musuhspeed = 1; musuhlive = 5; musuhdamage = 10; musuhrange = 250; musuhserangMax = 30; } else { if (indi == 6) { musuhnama = 'Evil Beetle'; musuhspeed = 1.5; musuhlive = 150; musuhdamage = 25; musuhrange = 75; musuhserangMax = 0; } else { if (indi == 7) { musuhnama = 'Rat'; musuhspeed = 1.75; musuhlive = 250; musuhdamage = 100; musuhrange = 275; musuhserangMax = 10; } else { if (indi == 8) { musuhnama = 'Fruit Caterpillar'; musuhspeed = 1.25; musuhlive = 75; musuhdamage = 150; musuhrange = 75; musuhserangMax = 50; } else { if (indi == 9) { musuhnama = 'Termite'; musuhspeed = 3; musuhlive = 15; musuhdamage = 75; musuhrange = 75; musuhserangMax = 5; } else { if (indi == 10) { musuhnama = 'Elephant'; musuhspeed = 0.75; musuhlive = 10000; musuhdamage = 200; musuhrange = 75; musuhserangMax = 75; } else { if (indi == 11) { musuhnama = 'King of Pest'; musuhspeed = 1; musuhlive = 5000000000.0; musuhdamage = 2000; musuhrange = 300; musuhserangMax = 250; } } } } } } } } } } } } stop(); exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; msgBox_mc4._visible = false; i = 1; while (i <= 11) { _root['pestipedia' + i].onRelease = klikPest; ++i; } } movieClip 2703 { } movieClip 2704 { } movieClip 2705 { } movieClip 2706 { } movieClip 2707 { } movieClip 2708 { } movieClip 2709 { } movieClip 2711 { } movieClip 2712 { } movieClip 2715 { } movieClip 2722 { } frame 258 { function cekTombol(indi) { exit_btn.enabled = indi; } function klikBuah() { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } msgBox_mc4._visible = true; cekAtributePohon2(indi); msgBox_mc4.namaPest = musuhnama; msgBox_mc4.life = 'Life: ' + pohonLive; msgBox_mc4.speed = 'Type: ' + pohonTipeSerang; msgBox_mc4.range = 'Range: ' + pohonRange; msgBox_mc4.damage = 'Damage: ' + pohonDamage; msgBox_mc4.delayAttack = 'Delay Attack: ' + pohonSerangMax; msgBox_mc4.exit_btn.onRelease = function () { msgBox_mc4._visible = false; }; } function cekAtributePohon2(indi) { if (indi == 1) { musuhnama = 'Grape'; pohonLive = 30; pohonRange = 350; pohonDamage = 5; pohonTipeSerang = 'Range'; pohonSerangMax = 20; } else { if (indi == 2) { musuhnama = 'Banana'; pohonLive = 40; pohonRange = 400; pohonDamage = 10; pohonTipeSerang = 'Range'; pohonSerangMax = 20; } else { if (indi == 3) { musuhnama = 'Kiwi'; pohonLive = 50; pohonRange = 100; pohonDamage = 250; pohonTipeSerang = 'Melee'; pohonSerangMax = 5; } else { if (indi == 4) { musuhnama = 'Pineapple'; pohonLive = 2000; pohonRange = 0; pohonDamage = 0; pohonTipeSerang = 'Melee'; pohonSerangMax = 0; } else { if (indi == 5) { musuhnama = 'Apple'; pohonLive = 750; pohonRange = 100; pohonDamage = 50; pohonTipeSerang = 'Melee'; pohonSerangMax = 30; } else { if (indi == 6) { musuhnama = 'Avocado'; pohonLive = 1000; pohonRange = 225; pohonDamage = 25; pohonTipeSerang = 'Melee'; pohonSerangMax = 40; } else { if (indi == 7) { musuhnama = 'Mango'; pohonLive = 100; pohonRange = 425; pohonDamage = 50; pohonTipeSerang = 'Range'; pohonSerangMax = 25; } else { if (indi == 8) { musuhnama = 'Orange'; pohonLive = 160; pohonRange = 425; pohonDamage = 4; pohonTipeSerang = 'Range'; pohonSerangMax = 20; } else { if (indi == 9) { musuhnama = 'Melon'; pohonLive = 600; pohonRange = 450; pohonDamage = 500; pohonTipeSerang = 'Long Range'; pohonSerangMax = 40; } else { if (indi == 10) { musuhnama = 'Watermelon'; pohonLive = 500; pohonRange = 500; pohonDamage = 600; pohonTipeSerang = 'Long Range'; pohonSerangMax = 80; } else { if (indi == 11) { musuhnama = 'Coconut'; pohonLive = 400; pohonRange = 450; pohonDamage = 600; pohonTipeSerang = 'Long Range'; pohonSerangMax = 120; } else { if (indi == 12) { musuhnama = 'Blueberry'; pohonLive = 300; pohonRange = 750; pohonDamage = 3000; pohonTipeSerang = 'Long Range'; pohonSerangMax = 20; } } } } } } } } } } } } } stop(); exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; i = 1; while (i <= 12) { _root['frutipedia' + i].onRelease = klikBuah; ++i; } msgBox_mc4._visible = false; } movieClip 2728 { } movieClip 2731 { } movieClip 2733 { } movieClip 2735 { } movieClip 2737 { } movieClip 2739 { } movieClip 2741 { } movieClip 2743 { } movieClip 2745 { } movieClip 2747 { } movieClip 2749 { } movieClip 2751 { } frame 259 { function overAchievement() { myStr = new String(this); if (myStr.length == 20) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { if (myStr.length == 21) { indi = Number(myStr.substr(myStr.length - 2, 2)); } } if (_root['dapatMedal' + indi] == true) { informasi = listMedal[indi]; } else { informasi = 'Achievement Locked'; } } function outAchievement() { informasi = 'Achievement Unlocked: ' + dapatAchievements + '/90'; } stop(); exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; next_btn.onRelease = function () { nextFrame(); gotoAndStop(undefined); }; prev_btn.onRelease = function () { prevFrame(); gotoAndStop(undefined); }; dapatAchievements = 0; i = 1; while (i <= 30) { if (_root['dapatMedal' + i] == true) { ++dapatAchievements; _root['achievement' + i].gotoAndStop(2); } else { _root['achievement' + i].gotoAndStop(1); } _root['achievement' + i].onRollOver = overAchievement; _root['achievement' + i].onRollOut = outAchievement; ++i; } i = 31; while (i <= 60) { if (_root['dapatMedal' + i] == true) { ++dapatAchievements; _root['achievement' + i].gotoAndStop(3); } else { _root['achievement' + i].gotoAndStop(1); } _root['achievement' + i].onRollOver = overAchievement; _root['achievement' + i].onRollOut = outAchievement; ++i; } i = 61; while (i <= 90) { if (_root['dapatMedal' + i] == true) { ++dapatAchievements; _root['achievement' + i].gotoAndStop(4); } else { _root['achievement' + i].gotoAndStop(1); } _root['achievement' + i].onRollOver = overAchievement; _root['achievement' + i].onRollOut = outAchievement; ++i; } } movieClip 2762 { frame 1 { stop(); } } frame 260 { function cekUang() { if (xlevel == 1) { jumlahUang = 30; } else { if (xlevel == 2) { jumlahUang = 30; } else { if (xlevel == 3) { jumlahUang = 30; } else { if (xlevel == 4) { jumlahUang = 30; } else { if (xlevel == 5) { jumlahUang = 20; } else { if (xlevel == 6) { jumlahUang = 30; } else { if (xlevel == 7) { jumlahUang = 30; } else { if (xlevel == 8) { jumlahUang = 40; } else { if (xlevel == 9) { jumlahUang = 40; } else { if (xlevel == 10) { jumlahUang = 20; } else { if (xlevel == 11) { jumlahUang = 50; } else { if (xlevel == 12) { jumlahUang = 50; } else { if (xlevel == 13) { jumlahUang = 60; } else { if (xlevel == 14) { jumlahUang = 60; } else { if (xlevel == 15) { jumlahUang = 150; } else { if (xlevel == 16) { jumlahUang = 70; } else { if (xlevel == 17) { jumlahUang = 70; } else { if (xlevel == 18) { jumlahUang = 80; } else { if (xlevel == 19) { jumlahUang = 80; } else { if (xlevel == 20) { jumlahUang = 1000; } else { if (xlevel == 21) { jumlahUang = 90; } else { if (xlevel == 22) { jumlahUang = 90; } else { if (xlevel == 23) { jumlahUang = 100; } else { if (xlevel == 24) { jumlahUang = 100; } else { if (xlevel == 25) { jumlahUang = 0; } else { if (xlevel == 26) { jumlahUang = 100; } else { if (xlevel == 27) { jumlahUang = 110; } else { if (xlevel == 28) { jumlahUang = 110; } else { if (xlevel == 29) { jumlahUang = 110; } else { if (xlevel == 30) { jumlahUang = 500; } else { if (xlevel == 31) { jumlahUang = 120; } else { if (xlevel == 32) { jumlahUang = 120; } else { if (xlevel == 33) { jumlahUang = 130; } else { if (xlevel == 34) { jumlahUang = 130; } else { if (xlevel == 35) { jumlahUang = 140; } else { if (xlevel == 36) { jumlahUang = 140; } else { if (xlevel == 37) { jumlahUang = 150; } else { if (xlevel == 38) { jumlahUang = 150; } else { if (xlevel == 39) { jumlahUang = 160; } else { if (xlevel == 40) { jumlahUang = 160; } else { if (xlevel == 41) { jumlahUang = 170; } else { if (xlevel == 42) { jumlahUang = 180; } else { if (xlevel == 43) { jumlahUang = 190; } else { if (xlevel == 44) { jumlahUang = 200; } else { if (xlevel == 45) { jumlahUang = 25; } else { if (xlevel == 46) { jumlahUang = 200; } else { if (xlevel == 47) { jumlahUang = 210; } else { if (xlevel == 48) { jumlahUang = 210; } else { if (xlevel == 49) { jumlahUang = 220; } else { if (xlevel == 50) { jumlahUang = 0; } else { if (xlevel == 51) { jumlahUang = 220; } else { if (xlevel == 52) { jumlahUang = 230; } else { if (xlevel == 53) { jumlahUang = 230; } else { if (xlevel == 54) { jumlahUang = 240; } else { if (xlevel == 55) { jumlahUang = 80; } else { if (xlevel == 56) { jumlahUang = 240; } else { if (xlevel == 57) { jumlahUang = 250; } else { if (xlevel == 58) { jumlahUang = 250; } else { if (xlevel == 59) { jumlahUang = 260; } else { if (xlevel == 60) { jumlahUang = 150; } else { if (xlevel == 61) { jumlahUang = 260; } else { if (xlevel == 62) { jumlahUang = 270; } else { if (xlevel == 63) { jumlahUang = 270; } else { if (xlevel == 64) { jumlahUang = 280; } else { if (xlevel == 65) { jumlahUang = 300; } else { if (xlevel == 66) { jumlahUang = 280; } else { if (xlevel == 67) { jumlahUang = 290; } else { if (xlevel == 68) { jumlahUang = 300; } else { if (xlevel == 69) { jumlahUang = 310; } else { if (xlevel == 70) { jumlahUang = 500; } else { if (xlevel == 71) { jumlahUang = 320; } else { if (xlevel == 72) { jumlahUang = 330; } else { if (xlevel == 73) { jumlahUang = 340; } else { if (xlevel == 73) { jumlahUang = 350; } else { if (xlevel == 74) { jumlahUang = 360; } else { if (xlevel == 75) { jumlahUang = 150; } else { if (xlevel == 76) { jumlahUang = 370; } else { if (xlevel == 77) { jumlahUang = 380; } else { if (xlevel == 78) { jumlahUang = 390; } else { if (xlevel == 79) { jumlahUang = 400; } else { if (xlevel == 80) { jumlahUang = 200; } else { if (xlevel == 81) { jumlahUang = 410; } else { if (xlevel == 82) { jumlahUang = 420; } else { if (xlevel == 83) { jumlahUang = 430; } else { if (xlevel == 84) { jumlahUang = 440; } else { if (xlevel == 85) { jumlahUang = 450; } else { if (xlevel == 86) { jumlahUang = 460; } else { if (xlevel == 87) { jumlahUang = 470; } else { if (xlevel == 88) { jumlahUang = 480; } else { if (xlevel == 89) { jumlahUang = 490; } else { if (xlevel == 90) { jumlahUang = 100; } else { if (xlevel == 91) { jumlahUang = 500; } else { if (xlevel == 92) { jumlahUang = 510; } else { if (xlevel == 93) { jumlahUang = 520; } else { if (xlevel == 94) { jumlahUang = 530; } else { if (xlevel == 95) { jumlahUang = 540; } else { if (xlevel == 96) { jumlahUang = 550; } else { if (xlevel == 97) { jumlahUang = 560; } else { if (xlevel == 98) { jumlahUang = 570; } else { if (xlevel == 99) { jumlahUang = 580; } else { if (xlevel == 100) { jumlahUang = 600; } else { if (xlevel >= 101) { jumlahUang = 100 + (xlevel - 1); } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } jumlahUang *= 2; } function cekBarisKe() { if (xlevel == 1) { bykBaris = 1; } else { if (xlevel <= 4) { bykBaris = 3; } else { if (xlevel >= 72 && xlevel <= 81) { bykBaris = 4; } else { if (xlevel >= 5) { bykBaris = 5; } } } } } function cekDelayWave() { i = awalI; while (i <= akhirI) { _root['barisKe' + i] = 0; ++i; } if (xlevel <= 2) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel <= 4) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 5) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 6) { if (waveKini == 1) { barisAwal1 = 5; barisAwal2 = 5; barisAwal3 = 5; barisAwal4 = 5; barisAwal5 = 5; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } } else { if (xlevel == 7) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 1000; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 8) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 9) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 10) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 15; lanjutMax2 = 15; lanjutMax3 = 15; lanjutMax4 = 15; lanjutMax5 = 15; } else { if (xlevel == 11) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 12) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 13) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 14) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 15) { if (waveKini == 1) { barisAwal1 = 750; barisAwal2 = 750; barisAwal3 = 750; barisAwal4 = 750; barisAwal5 = 750; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } } else { if (xlevel == 16) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 17) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 5 + random(100); lanjutMax2 = 5 + random(100); lanjutMax3 = 5 + random(100); lanjutMax4 = 5 + random(100); lanjutMax5 = 5 + random(100); } else { if (xlevel == 18) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 19) { if (waveKini == 1) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } } else { if (xlevel == 20) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 21) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 22) { barisAwal1 = 1000; barisAwal2 = 1000; barisAwal3 = 1000; barisAwal4 = 1000; barisAwal5 = 1000; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 23) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 24) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 25) { barisAwal1 = 1500; barisAwal2 = 1000; barisAwal3 = 500; barisAwal4 = 1000; barisAwal5 = 1500; lanjutMax1 = 1000; lanjutMax2 = 1000; lanjutMax3 = 1000; lanjutMax4 = 1000; lanjutMax5 = 1000; } else { if (xlevel == 26) { if (waveKini == 5) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } } else { if (xlevel == 27) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 28) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 29) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 30) { barisAwal1 = 750; barisAwal2 = 750; barisAwal3 = 750; barisAwal4 = 750; barisAwal5 = 750; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 31) { barisAwal1 = 1000; barisAwal2 = 1000; barisAwal3 = 1000; barisAwal4 = 1000; barisAwal5 = 1000; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 32) { barisAwal1 = 50; barisAwal2 = 250; barisAwal3 = 500; barisAwal4 = 250; barisAwal5 = 50; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } else { if (xlevel == 33) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 34) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 35) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } else { if (xlevel == 36) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 37) { barisAwal1 = 40; barisAwal2 = 40; barisAwal3 = 40; barisAwal4 = 40; barisAwal5 = 40; lanjutMax1 = 40; lanjutMax2 = 40; lanjutMax3 = 40; lanjutMax4 = 40; lanjutMax5 = 40; } else { if (xlevel == 38) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 39) { barisAwal1 = 20; barisAwal2 = 20; barisAwal3 = 20; barisAwal4 = 20; barisAwal5 = 20; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } else { if (xlevel == 40) { barisAwal1 = 300; barisAwal2 = 300; barisAwal3 = 300; barisAwal4 = 300; barisAwal5 = 300; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 41) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 42) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 43) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 500; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 44) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 45) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 5; lanjutMax2 = 5; lanjutMax3 = 5; lanjutMax4 = 5; lanjutMax5 = 5; } else { if (xlevel == 46) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 47) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 48) { barisAwal1 = 25; barisAwal2 = 25; barisAwal3 = 25; barisAwal4 = 25; barisAwal5 = 25; lanjutMax1 = 25; lanjutMax2 = 25; lanjutMax3 = 25; lanjutMax4 = 25; lanjutMax5 = 25; } else { if (xlevel == 49) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 50) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 51) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 52) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 53) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 54) { barisAwal1 = 150; barisAwal2 = 100; barisAwal3 = 150; barisAwal4 = 100; barisAwal5 = 150; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 55) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 56) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 57) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 58) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 59) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 60) { if (waveKini == 1) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (waveKini == 2) { barisAwal1 = 80; barisAwal2 = 80; barisAwal3 = 80; barisAwal4 = 80; barisAwal5 = 80; lanjutMax1 = 80; lanjutMax2 = 80; lanjutMax3 = 80; lanjutMax4 = 80; lanjutMax5 = 80; } else { if (waveKini == 3) { barisAwal1 = 60; barisAwal2 = 60; barisAwal3 = 60; barisAwal4 = 60; barisAwal5 = 60; lanjutMax1 = 60; lanjutMax2 = 60; lanjutMax3 = 60; lanjutMax4 = 60; lanjutMax5 = 60; } else { if (waveKini == 4) { barisAwal1 = 40; barisAwal2 = 40; barisAwal3 = 40; barisAwal4 = 40; barisAwal5 = 40; lanjutMax1 = 40; lanjutMax2 = 40; lanjutMax3 = 40; lanjutMax4 = 40; lanjutMax5 = 40; } else { if (waveKini == 5) { barisAwal1 = 20; barisAwal2 = 20; barisAwal3 = 20; barisAwal4 = 20; barisAwal5 = 20; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } } } } } } else { if (xlevel == 61) { if (waveKini == 1) { barisAwal1 = 180; barisAwal2 = 180; barisAwal3 = 180; barisAwal4 = 180; barisAwal5 = 180; lanjutMax1 = 180; lanjutMax2 = 180; lanjutMax3 = 180; lanjutMax4 = 180; lanjutMax5 = 180; } else { if (waveKini == 2) { barisAwal1 = 160; barisAwal2 = 160; barisAwal3 = 160; barisAwal4 = 160; barisAwal5 = 160; lanjutMax1 = 160; lanjutMax2 = 160; lanjutMax3 = 160; lanjutMax4 = 160; lanjutMax5 = 160; } else { if (waveKini == 3) { barisAwal1 = 140; barisAwal2 = 140; barisAwal3 = 140; barisAwal4 = 140; barisAwal5 = 140; lanjutMax1 = 140; lanjutMax2 = 140; lanjutMax3 = 140; lanjutMax4 = 140; lanjutMax5 = 140; } else { if (waveKini == 4) { barisAwal1 = 120; barisAwal2 = 120; barisAwal3 = 120; barisAwal4 = 120; barisAwal5 = 120; lanjutMax1 = 120; lanjutMax2 = 120; lanjutMax3 = 120; lanjutMax4 = 120; lanjutMax5 = 120; } else { if (waveKini == 5) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } } } } } } else { if (xlevel == 62) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 63) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 64) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 75; lanjutMax2 = 75; lanjutMax3 = 75; lanjutMax4 = 75; lanjutMax5 = 75; } else { if (xlevel == 65) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 500; lanjutMax2 = 500; lanjutMax3 = 500; lanjutMax4 = 500; lanjutMax5 = 500; } else { if (xlevel == 66) { barisAwal1 = 250; barisAwal2 = 350; barisAwal3 = 250; barisAwal4 = 350; barisAwal5 = 250; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 67) { barisAwal1 = 350; barisAwal2 = 250; barisAwal3 = 350; barisAwal4 = 250; barisAwal5 = 350; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 68) { barisAwal1 = 150; barisAwal2 = 100; barisAwal3 = 150; barisAwal4 = 100; barisAwal5 = 150; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 69) { barisAwal1 = 300; barisAwal2 = 300; barisAwal3 = 300; barisAwal4 = 300; barisAwal5 = 300; lanjutMax1 = 300; lanjutMax2 = 300; lanjutMax3 = 300; lanjutMax4 = 300; lanjutMax5 = 300; } else { if (xlevel == 70) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel == 71) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 72) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 73) { barisAwal1 = 50; barisAwal2 = 50; barisAwal3 = 50; barisAwal4 = 50; barisAwal5 = 50; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 74) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 75) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 76) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 77) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 78) { barisAwal1 = 200; barisAwal2 = 150; barisAwal3 = 100; barisAwal4 = 150; barisAwal5 = 200; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } else { if (xlevel == 79) { barisAwal1 = 200; barisAwal2 = 150; barisAwal3 = 100; barisAwal4 = 150; barisAwal5 = 200; lanjutMax1 = 10; lanjutMax2 = 10; lanjutMax3 = 10; lanjutMax4 = 10; lanjutMax5 = 10; } else { if (xlevel == 80) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 81) { if (waveKini == 1) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } } else { if (xlevel == 82) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 83) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 750; lanjutMax2 = 750; lanjutMax3 = 750; lanjutMax4 = 750; lanjutMax5 = 750; } else { if (xlevel == 84) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 85) { barisAwal1 = 1000; barisAwal2 = 1000; barisAwal3 = 1000; barisAwal4 = 1000; barisAwal5 = 1000; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 86) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 200; lanjutMax2 = 200; lanjutMax3 = 200; lanjutMax4 = 200; lanjutMax5 = 200; } else { if (xlevel == 87) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 88) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 89) { barisAwal1 = 500; barisAwal2 = 500; barisAwal3 = 500; barisAwal4 = 500; barisAwal5 = 500; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 90) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 91) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 92) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 93) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 50; lanjutMax2 = 50; lanjutMax3 = 50; lanjutMax4 = 50; lanjutMax5 = 50; } else { if (xlevel == 94) { barisAwal1 = 200; barisAwal2 = 200; barisAwal3 = 200; barisAwal4 = 200; barisAwal5 = 200; lanjutMax1 = 20; lanjutMax2 = 20; lanjutMax3 = 20; lanjutMax4 = 20; lanjutMax5 = 20; } else { if (xlevel == 95) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 96) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 97) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 98) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 99) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } else { if (xlevel == 100) { barisAwal1 = 250; barisAwal2 = 250; barisAwal3 = 250; barisAwal4 = 250; barisAwal5 = 250; lanjutMax1 = 250; lanjutMax2 = 250; lanjutMax3 = 250; lanjutMax4 = 250; lanjutMax5 = 250; } else { if (xlevel >= 101) { barisAwal1 = 100; barisAwal2 = 100; barisAwal3 = 100; barisAwal4 = 100; barisAwal5 = 100; lanjutMax1 = 100; lanjutMax2 = 100; lanjutMax3 = 100; lanjutMax4 = 100; lanjutMax5 = 100; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } function cekMusuhWave() { if (xlevel == 1) { waveKini = 1; totalWave = 2; } else { if (xlevel == 2) { waveKini = 1; totalWave = 3; } else { if (xlevel == 3) { waveKini = 1; totalWave = 4; } else { if (xlevel == 4) { waveKini = 1; totalWave = 4; } else { if (xlevel == 5) { waveKini = 1; totalWave = 1; } else { if (xlevel == 6) { waveKini = 1; totalWave = 5; } else { if (xlevel == 7) { waveKini = 1; totalWave = 3; } else { if (xlevel == 8) { waveKini = 1; totalWave = 5; } else { if (xlevel == 9) { waveKini = 1; totalWave = 5; } else { if (xlevel == 10) { waveKini = 1; totalWave = 9; } else { if (xlevel == 11) { waveKini = 1; totalWave = 3; } else { if (xlevel == 12) { waveKini = 1; totalWave = 6; } else { if (xlevel == 13) { waveKini = 1; totalWave = 5; } else { if (xlevel == 14) { waveKini = 1; totalWave = 5; } else { if (xlevel == 15) { waveKini = 1; totalWave = 5; } else { if (xlevel == 16) { waveKini = 1; totalWave = 3; } else { if (xlevel == 17) { waveKini = 1; totalWave = 3; } else { if (xlevel == 18) { waveKini = 1; totalWave = 5; } else { if (xlevel == 19) { waveKini = 1; totalWave = 15; } else { if (xlevel == 20) { waveKini = 1; totalWave = 6; } else { if (xlevel == 21) { waveKini = 1; totalWave = 5; } else { if (xlevel == 22) { waveKini = 1; totalWave = 3; } else { if (xlevel == 23) { waveKini = 1; totalWave = 5; } else { if (xlevel == 24) { waveKini = 1; totalWave = 7; } else { if (xlevel == 25) { waveKini = 1; totalWave = 1; } else { if (xlevel == 26) { waveKini = 1; totalWave = 5; } else { if (xlevel == 27) { waveKini = 1; totalWave = 3; } else { if (xlevel == 28) { waveKini = 1; totalWave = 15; } else { if (xlevel == 29) { waveKini = 1; totalWave = 5; } else { if (xlevel == 30) { waveKini = 1; totalWave = 5; } else { if (xlevel == 31) { waveKini = 1; totalWave = 3; } else { if (xlevel == 32) { waveKini = 1; totalWave = 5; } else { if (xlevel == 33) { waveKini = 1; totalWave = 10; } else { if (xlevel == 34) { waveKini = 1; totalWave = 6; } else { if (xlevel == 35) { waveKini = 1; totalWave = 5; } else { if (xlevel == 36) { waveKini = 1; totalWave = 3; } else { if (xlevel == 37) { waveKini = 1; totalWave = 3; } else { if (xlevel == 38) { waveKini = 1; totalWave = 5; } else { if (xlevel == 39) { waveKini = 1; totalWave = 7; } else { if (xlevel == 40) { waveKini = 1; totalWave = 5; } else { if (xlevel == 41) { waveKini = 1; totalWave = 3; } else { if (xlevel == 42) { waveKini = 1; totalWave = 7; } else { if (xlevel == 43) { waveKini = 1; totalWave = 5; } else { if (xlevel == 44) { waveKini = 1; totalWave = 5; } else { if (xlevel == 45) { waveKini = 1; totalWave = 3; } else { if (xlevel == 46) { waveKini = 1; totalWave = 1; } else { if (xlevel == 47) { waveKini = 1; totalWave = 6; } else { if (xlevel == 48) { waveKini = 1; totalWave = 12; } else { if (xlevel == 49) { waveKini = 1; totalWave = 3; } else { if (xlevel == 50) { waveKini = 1; totalWave = 1; } else { if (xlevel == 51) { waveKini = 1; totalWave = 5; } else { if (xlevel == 52) { waveKini = 1; totalWave = 5; } else { if (xlevel == 53) { waveKini = 1; totalWave = 7; } else { if (xlevel == 54) { waveKini = 1; totalWave = 8; } else { if (xlevel == 55) { waveKini = 1; totalWave = 7; } else { if (xlevel == 56) { waveKini = 1; totalWave = 10; } else { if (xlevel == 57) { waveKini = 1; totalWave = 10; } else { if (xlevel == 58) { waveKini = 1; totalWave = 10; } else { if (xlevel == 59) { waveKini = 1; totalWave = 10; } else { if (xlevel == 60) { waveKini = 1; totalWave = 5; } else { if (xlevel == 61) { waveKini = 1; totalWave = 5; } else { if (xlevel == 62) { waveKini = 1; totalWave = 9; } else { if (xlevel == 63) { waveKini = 1; totalWave = 8; } else { if (xlevel == 64) { waveKini = 1; totalWave = 10; } else { if (xlevel == 65) { waveKini = 1; totalWave = 8; } else { if (xlevel == 66) { waveKini = 1; totalWave = 10; } else { if (xlevel == 67) { waveKini = 1; totalWave = 5; } else { if (xlevel == 68) { waveKini = 1; totalWave = 10; } else { if (xlevel == 69) { waveKini = 1; totalWave = 5; } else { if (xlevel == 70) { waveKini = 1; totalWave = 6; } else { if (xlevel == 71) { waveKini = 1; totalWave = 10; } else { if (xlevel == 72) { waveKini = 1; totalWave = 5; } else { if (xlevel == 73) { waveKini = 1; totalWave = 4; } else { if (xlevel == 74) { waveKini = 1; totalWave = 10; } else { if (xlevel == 75) { waveKini = 1; totalWave = 1; } else { if (xlevel == 76) { waveKini = 1; totalWave = 10; } else { if (xlevel == 77) { waveKini = 1; totalWave = 5; } else { if (xlevel == 78) { waveKini = 1; totalWave = 4; } else { if (xlevel == 79) { waveKini = 1; totalWave = 5; } else { if (xlevel == 80) { waveKini = 1; totalWave = 5; } else { if (xlevel == 81) { waveKini = 1; totalWave = 8; } else { if (xlevel == 82) { waveKini = 1; totalWave = 9; } else { if (xlevel == 83) { waveKini = 1; totalWave = 4; } else { if (xlevel == 84) { waveKini = 1; totalWave = 10; } else { if (xlevel == 85) { waveKini = 1; totalWave = 1; } else { if (xlevel == 86) { waveKini = 1; totalWave = 10; } else { if (xlevel == 87) { waveKini = 1; totalWave = 5; } else { if (xlevel == 88) { waveKini = 1; totalWave = 10; } else { if (xlevel == 89) { waveKini = 1; totalWave = 10; } else { if (xlevel == 90) { waveKini = 1; totalWave = 1; } else { if (xlevel == 91) { waveKini = 1; totalWave = 2; } else { if (xlevel == 92) { waveKini = 1; totalWave = 3; } else { if (xlevel == 93) { waveKini = 1; totalWave = 5; } else { if (xlevel == 94) { waveKini = 1; totalWave = 5; } else { if (xlevel == 95) { waveKini = 1; totalWave = 15; } else { if (xlevel == 96) { waveKini = 1; totalWave = 15; } else { if (xlevel == 97) { waveKini = 1; totalWave = 15; } else { if (xlevel == 98) { waveKini = 1; totalWave = 15; } else { if (xlevel == 99) { waveKini = 1; totalWave = 15; } else { if (xlevel == 100) { waveKini = 1; totalWave = 1; } else { if (xlevel >= 101) { waveKini = 1; if (xlevel <= 105) { totalWave = 2; } else { if (xlevel <= 110) { totalWave = 3; } else { if (xlevel <= 115) { totalWave = 4; } else { if (xlevel <= 120) { totalWave = 5; } else { if (xlevel <= 125) { totalWave = 6; } else { if (xlevel <= 130) { totalWave = 7; } else { if (xlevel <= 135) { totalWave = 8; } else { if (xlevel <= 140) { totalWave = 9; } else { totalWave = 10; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } stop(); if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { backMusic1(); } else { backMusic2(); } } frame 260 { function cekMusuhApaSaja10() { musuhTakTerhingga = false; } frame 260 { function cekMusuhApaSaja9() { musuhTakTerhingga = false; if (xlevel == 81) { if (waveKini == 1) { jumlahMusuh[1][2] = 5; } else { if (waveKini == 2) { jumlahMusuh[1][2] = 5; jumlahMusuh[2][3] = 5; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[3][4] = 5; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[8][4] = 5; } else { if (waveKini == 6) { jumlahMusuh[5][1] = 7; jumlahMusuh[6][2] = 7; jumlahMusuh[7][3] = 10; jumlahMusuh[8][4] = 7; jumlahMusuh[1][1] = 7; jumlahMusuh[2][2] = 7; jumlahMusuh[3][3] = 7; jumlahMusuh[4][4] = 7; } else { if (waveKini == 7) { jumlahMusuh[5][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[8][4] = 10; jumlahMusuh[1][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[9][1] = 30; jumlahMusuh[9][3] = 30; } else { if (waveKini == 7) { jumlahMusuh[5][1] = 12; jumlahMusuh[6][2] = 12; jumlahMusuh[7][3] = 12; jumlahMusuh[8][4] = 12; jumlahMusuh[1][1] = 12; jumlahMusuh[2][2] = 12; jumlahMusuh[3][3] = 12; jumlahMusuh[4][4] = 12; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 8) { jumlahMusuh[5][1] = 15; jumlahMusuh[6][2] = 15; jumlahMusuh[7][3] = 15; jumlahMusuh[8][4] = 15; jumlahMusuh[1][1] = 15; jumlahMusuh[2][2] = 15; jumlahMusuh[3][3] = 15; jumlahMusuh[4][4] = 15; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } } } } } } } } } } else { if (xlevel == 82) { wormCadabraBoss = false; bigBossSnail = false; deathTreeBoss = false; kecoaBoss = false; bossFlower = false; bossKumbang = false; bossTikus = false; if (waveKini == 1) { wormCadabraBoss = true; jumlahMusuh[1][2] = 1; jumlahMusuh[1][4] = 1; jumlahMusuh[2][1] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[4][5] = 10; } else { if (waveKini == 2) { bigBossSnail = true; jumlahMusuh[2][3] = 1; jumlahMusuh[2][5] = 1; jumlahMusuh[3][1] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 3) { deathTreeBoss = true; jumlahMusuh[3][2] = 1; jumlahMusuh[3][5] = 1; jumlahMusuh[4][1] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[6][5] = 10; } else { if (waveKini == 4) { kecoaBoss = true; jumlahMusuh[4][1] = 1; jumlahMusuh[4][3] = 1; jumlahMusuh[5][1] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[7][5] = 10; } else { if (waveKini == 5) { bossFlower = true; jumlahMusuh[5][1] = 1; jumlahMusuh[5][3] = 1; jumlahMusuh[6][1] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[8][5] = 10; } else { if (waveKini == 6) { bossKumbang = true; jumlahMusuh[6][1] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[7][1] = 10; jumlahMusuh[8][3] = 10; jumlahMusuh[9][5] = 10; } else { if (waveKini == 7) { bossTikus = true; jumlahMusuh[6][1] = 1; jumlahMusuh[6][5] = 1; jumlahMusuh[7][1] = 10; jumlahMusuh[8][3] = 10; jumlahMusuh[9][5] = 10; } else { if (waveKini == 8) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; jumlahMusuh[1][1] = 1; jumlahMusuh[2][2] = 1; jumlahMusuh[3][4] = 1; jumlahMusuh[4][5] = 1; jumlahMusuh[5][1] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[5][5] = 2; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; jumlahMusuh[7][1] = 2; jumlahMusuh[7][2] = 2; jumlahMusuh[7][3] = 2; jumlahMusuh[7][4] = 2; jumlahMusuh[7][5] = 2; jumlahMusuh[8][1] = 2; jumlahMusuh[8][2] = 2; jumlahMusuh[8][3] = 2; jumlahMusuh[8][4] = 2; jumlahMusuh[8][5] = 2; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 9) { bossFlower = true; bossKumbang = true; bossTikus = true; jumlahMusuh[5][1] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[7][5] = 1; jumlahMusuh[1][1] = 2; jumlahMusuh[1][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[8][1] = 2; jumlahMusuh[8][2] = 2; jumlahMusuh[8][3] = 2; jumlahMusuh[8][4] = 2; jumlahMusuh[8][5] = 2; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; jumlahMusuh[9][5] = 30; } } } } } } } } } } else { if (xlevel == 83) { strongUlat = true; if (waveKini == 1) { jumlahMusuh[8][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; jumlahMusuh[8][5] = 5; } } } } } else { if (xlevel == 84) { strongUlat = true; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 4) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 6) { jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[7][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 7) { jumlahMusuh[9][1] = 5; jumlahMusuh[9][2] = 5; jumlahMusuh[9][3] = 5; jumlahMusuh[9][4] = 5; jumlahMusuh[9][5] = 5; jumlahMusuh[8][3] = 5; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[9][5] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][4] = 5; } else { if (waveKini == 9) { jumlahMusuh[1][1] = 7; jumlahMusuh[2][2] = 7; jumlahMusuh[3][3] = 7; jumlahMusuh[4][4] = 7; jumlahMusuh[5][2] = 7; jumlahMusuh[6][3] = 7; jumlahMusuh[7][4] = 7; jumlahMusuh[9][5] = 7; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; } else { if (waveKini == 10) { jumlahMusuh[1][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[9][5] = 10; jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; jumlahMusuh[8][5] = 5; } } } } } } } } } } } } else { if (xlevel == 85) { musuhTakTerhingga = true; bigBossSnail = false; wormCadabraBoss = false; deathTreeBoss = false; kecoaBoss = false; bossFlower = false; if (waveKini == 1) { jumlahMusuh[1][1] = 1; jumlahMusuh[2][2] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[5][5] = 1; } } else { if (xlevel == 86) { if (waveKini == 1) { jumlahMusuh[10][1] = 4; jumlahMusuh[10][2] = 4; jumlahMusuh[10][3] = 4; jumlahMusuh[10][4] = 4; jumlahMusuh[10][5] = 4; } else { if (waveKini == 2) { jumlahMusuh[10][2] = 1; jumlahMusuh[10][4] = 1; jumlahMusuh[2][2] = 5; jumlahMusuh[2][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[10][2] = 1; jumlahMusuh[10][3] = 1; jumlahMusuh[10][4] = 1; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; } else { if (waveKini == 4) { jumlahMusuh[10][1] = 1; jumlahMusuh[10][2] = 1; jumlahMusuh[10][4] = 1; jumlahMusuh[10][5] = 1; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 5) { jumlahMusuh[10][1] = 1; jumlahMusuh[10][2] = 1; jumlahMusuh[10][3] = 1; jumlahMusuh[10][4] = 1; jumlahMusuh[10][5] = 1; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[10][3] = 2; jumlahMusuh[6][3] = 5; } else { if (waveKini == 7) { jumlahMusuh[10][2] = 2; jumlahMusuh[10][4] = 2; jumlahMusuh[7][2] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 8) { jumlahMusuh[10][2] = 2; jumlahMusuh[10][3] = 2; jumlahMusuh[10][4] = 2; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; } else { if (waveKini == 9) { jumlahMusuh[10][1] = 2; jumlahMusuh[10][2] = 2; jumlahMusuh[10][4] = 2; jumlahMusuh[10][5] = 2; jumlahMusuh[9][1] = 5; jumlahMusuh[9][2] = 5; jumlahMusuh[9][4] = 5; jumlahMusuh[9][5] = 5; } else { if (waveKini == 10) { jumlahMusuh[10][1] = 2; jumlahMusuh[10][2] = 2; jumlahMusuh[10][3] = 2; jumlahMusuh[10][4] = 2; jumlahMusuh[10][5] = 2; } } } } } } } } } } } else { if (xlevel == 87) { strongUlat = true; if (waveKini == 1) { jumlahMusuh[10][3] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[9][4] = 30; } else { if (waveKini == 2) { jumlahMusuh[10][2] = 3; jumlahMusuh[10][4] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[9][4] = 30; } else { if (waveKini == 3) { jumlahMusuh[10][2] = 3; jumlahMusuh[10][3] = 3; jumlahMusuh[10][4] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 4) { jumlahMusuh[10][1] = 3; jumlahMusuh[10][2] = 3; jumlahMusuh[10][4] = 3; jumlahMusuh[10][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][4] = 30; jumlahMusuh[9][5] = 30; } else { if (waveKini == 5) { jumlahMusuh[10][1] = 3; jumlahMusuh[10][2] = 3; jumlahMusuh[10][3] = 3; jumlahMusuh[10][4] = 3; jumlahMusuh[10][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; jumlahMusuh[9][5] = 30; } } } } } } else { if (xlevel == 88) { strongUlat = true; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 7) { jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[7][5] = 5; } else { if (waveKini == 8) { jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 9) { jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; jumlahMusuh[9][5] = 30; } else { if (waveKini == 10) { jumlahMusuh[10][1] = 4; jumlahMusuh[10][2] = 4; jumlahMusuh[10][3] = 4; jumlahMusuh[10][4] = 4; jumlahMusuh[10][5] = 4; } } } } } } } } } } } else { if (xlevel == 89) { bigSnail = true; wormCadabra = true; deathTreeGun = true; flyingKecoa = true; fungkyFlower = true; crazyKumbang = true; ratSniper = true; strongUlat = true; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 7) { jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[7][5] = 5; } else { if (waveKini == 8) { jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 9) { jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; jumlahMusuh[9][5] = 30; } else { if (waveKini == 10) { jumlahMusuh[10][1] = 4; jumlahMusuh[10][2] = 4; jumlahMusuh[10][3] = 4; jumlahMusuh[10][4] = 4; jumlahMusuh[10][5] = 4; } } } } } } } } } } } else { if (xlevel == 90) { if (waveKini == 1) { jumlahMusuh[1][1] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[5][1] = 4; jumlahMusuh[6][1] = 4; jumlahMusuh[7][1] = 4; jumlahMusuh[8][1] = 4; jumlahMusuh[9][1] = 4; jumlahMusuh[10][1] = 3; jumlahMusuh[1][2] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[6][2] = 4; jumlahMusuh[7][2] = 4; jumlahMusuh[8][2] = 4; jumlahMusuh[9][2] = 4; jumlahMusuh[10][2] = 3; jumlahMusuh[1][3] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[5][3] = 4; jumlahMusuh[6][3] = 4; jumlahMusuh[7][3] = 4; jumlahMusuh[8][3] = 4; jumlahMusuh[9][3] = 4; jumlahMusuh[10][3] = 3; jumlahMusuh[1][4] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[5][4] = 4; jumlahMusuh[6][4] = 4; jumlahMusuh[7][4] = 4; jumlahMusuh[8][4] = 4; jumlahMusuh[9][4] = 4; jumlahMusuh[10][4] = 3; jumlahMusuh[1][5] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][5] = 4; jumlahMusuh[4][5] = 4; jumlahMusuh[5][5] = 4; jumlahMusuh[6][5] = 4; jumlahMusuh[7][5] = 4; jumlahMusuh[8][5] = 4; jumlahMusuh[9][5] = 4; jumlahMusuh[10][5] = 3; } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja8() { musuhTakTerhingga = false; if (xlevel == 71) { wormCadabraBoss = false; bigBossSnail = false; deathTreeBoss = false; kecoaBoss = false; bossFlower = false; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 5) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[2][1] = 1; jumlahMusuh[3][2] = 1; jumlahMusuh[1][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[5][5] = 1; } else { if (waveKini == 6) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[1][5] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[4][5] = 4; } else { if (waveKini == 7) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[1][5] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[4][5] = 4; jumlahMusuh[5][1] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[5][3] = 4; jumlahMusuh[5][4] = 4; jumlahMusuh[5][5] = 4; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } else { if (waveKini == 9) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; } else { if (waveKini == 10) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[5][1] = 1; jumlahMusuh[4][2] = 1; jumlahMusuh[1][3] = 1; jumlahMusuh[2][4] = 1; jumlahMusuh[3][5] = 1; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } } } } } } } } } } } else { if (xlevel == 72) { if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; } else { if (waveKini == 3) { jumlahMusuh[2][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][1] = 5; jumlahMusuh[8][2] = 5; jumlahMusuh[8][3] = 5; jumlahMusuh[8][4] = 5; } } } } } } else { if (xlevel == 73) { if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][1] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[6][1] = 5; jumlahMusuh[7][1] = 5; jumlahMusuh[8][1] = 5; } else { if (waveKini == 2) { jumlahMusuh[1][4] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[7][2] = 5; } else { if (waveKini == 4) { jumlahMusuh[1][3] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][3] = 5; } } } } } else { if (xlevel == 74) { wormCadabraBoss = false; bigBossSnail = false; deathTreeBoss = false; kecoaBoss = false; bossFlower = false; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 3) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[2][4] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[1][2] = 1; jumlahMusuh[4][1] = 1; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; } else { if (waveKini == 6) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[2][1] = 1; jumlahMusuh[3][2] = 1; jumlahMusuh[1][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; } else { if (waveKini == 7) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[5][1] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[5][3] = 4; jumlahMusuh[5][4] = 4; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; } else { if (waveKini == 9) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[1][1] = 1; jumlahMusuh[2][2] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; } else { if (waveKini == 10) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[2][4] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[4][2] = 1; jumlahMusuh[5][1] = 1; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; } } } } } } } } } } } else { if (xlevel == 75) { if (waveKini == 1) { jumlahMusuh[1][3] = 24; } } else { if (xlevel == 76) { wormCadabraBoss = false; bigBossSnail = false; deathTreeBoss = false; kecoaBoss = false; bossFlower = false; if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[4][4] = 10; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[5][4] = 10; } else { if (waveKini == 3) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[3][1] = 1; jumlahMusuh[2][2] = 1; jumlahMusuh[4][3] = 1; jumlahMusuh[1][4] = 1; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[7][4] = 10; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[2][1] = 8; jumlahMusuh[2][2] = 8; jumlahMusuh[2][3] = 8; jumlahMusuh[2][4] = 8; jumlahMusuh[3][1] = 8; jumlahMusuh[3][2] = 8; jumlahMusuh[3][3] = 8; jumlahMusuh[3][4] = 8; } else { if (waveKini == 6) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[5][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[1][4] = 2; } else { if (waveKini == 7) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[4][1] = 8; jumlahMusuh[4][2] = 8; jumlahMusuh[4][3] = 8; jumlahMusuh[4][4] = 8; jumlahMusuh[5][1] = 8; jumlahMusuh[5][2] = 8; jumlahMusuh[5][3] = 8; jumlahMusuh[5][4] = 8; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 6; jumlahMusuh[1][2] = 6; jumlahMusuh[1][3] = 6; jumlahMusuh[1][4] = 6; jumlahMusuh[2][1] = 6; jumlahMusuh[2][2] = 6; jumlahMusuh[2][3] = 6; jumlahMusuh[2][4] = 6; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; } else { if (waveKini == 9) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; } else { if (waveKini == 10) { wormCadabraBoss = true; bigBossSnail = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; jumlahMusuh[1][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; } } } } } } } } } } } else { if (xlevel == 77) { bossKumbang = false; bossTikus = false; crazyKumbang = false; ratSniper = false; if (waveKini == 1) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[7][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 4) { crazyKumbang = true; ratSniper = true; jumlahMusuh[6][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; } else { if (waveKini == 5) { bossKumbang = true; bossTikus = true; jumlahMusuh[6][1] = 1; jumlahMusuh[7][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[7][4] = 1; } } } } } } else { if (xlevel == 78) { if (waveKini == 1) { jumlahMusuh[9][4] = 30; } else { if (waveKini == 2) { jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 3) { jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 4) { jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } } } } } else { if (xlevel == 79) { if (waveKini == 1) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[9][2] = 30; } else { if (waveKini == 2) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 3) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[9][1] = 30; jumlahMusuh[9][2] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][4] = 30; } } } } } } else { if (xlevel == 80) { if (waveKini == 1) { jumlahMusuh[6][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[9][3] = 5; jumlahMusuh[9][4] = 5; } else { if (waveKini == 5) { jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; jumlahMusuh[9][3] = 5; jumlahMusuh[9][4] = 5; jumlahMusuh[9][5] = 5; } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja7() { musuhTakTerhingga = false; if (xlevel == 61) { if (waveKini == 1) { jumlahMusuh[8][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[8][1] = 4; jumlahMusuh[8][5] = 4; } else { if (waveKini == 3) { jumlahMusuh[8][1] = 8; jumlahMusuh[8][3] = 8; jumlahMusuh[8][5] = 8; } else { if (waveKini == 4) { jumlahMusuh[8][1] = 12; jumlahMusuh[8][2] = 12; jumlahMusuh[8][4] = 12; jumlahMusuh[8][5] = 12; } else { if (waveKini == 5) { jumlahMusuh[8][1] = 16; jumlahMusuh[8][2] = 16; jumlahMusuh[8][3] = 16; jumlahMusuh[8][4] = 16; jumlahMusuh[8][5] = 16; } } } } } } else { if (xlevel == 62) { if (waveKini == 1) { jumlahMusuh[6][1] = 1; jumlahMusuh[8][2] = 1; jumlahMusuh[7][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[6][3] = 2; jumlahMusuh[8][4] = 2; jumlahMusuh[7][5] = 2; } else { if (waveKini == 3) { jumlahMusuh[6][1] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[7][5] = 3; } else { if (waveKini == 4) { jumlahMusuh[6][1] = 4; jumlahMusuh[8][2] = 4; jumlahMusuh[7][3] = 4; jumlahMusuh[6][4] = 4; jumlahMusuh[8][5] = 4; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[7][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; } else { if (waveKini == 7) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } else { if (waveKini == 8) { jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } else { if (waveKini == 9) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } } } } } } } } } } else { if (xlevel == 63) { if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[3][4] = 10; jumlahMusuh[3][5] = 10; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; } else { if (waveKini == 7) { jumlahMusuh[7][1] = 10; jumlahMusuh[7][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[7][5] = 10; } else { if (waveKini == 8) { jumlahMusuh[8][1] = 10; jumlahMusuh[8][2] = 10; jumlahMusuh[8][3] = 10; jumlahMusuh[8][4] = 10; jumlahMusuh[8][5] = 10; } } } } } } } } } else { if (xlevel == 64) { bigSnail = false; wormCadabra = false; deathTreeGun = false; flyingKecoa = false; fungkyFlower = false; if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; } else { if (waveKini == 2) { bigSnail = true; jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 4) { wormCadabra = true; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[3][4] = 10; jumlahMusuh[3][5] = 10; } else { if (waveKini == 6) { deathTreeGun = true; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 7) { jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; } else { if (waveKini == 8) { flyingKecoa = true; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 9) { jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 10) { fungkyFlower = true; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } } } } } } } } } } } else { if (xlevel == 65) { if (waveKini == 1) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } else { if (waveKini == 7) { jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; } else { if (waveKini == 8) { jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } } } } } } } } } else { if (xlevel == 66) { crazyKumbang = true; if (waveKini == 1) { jumlahMusuh[6][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[6][2] = 1; jumlahMusuh[6][4] = 1; } else { if (waveKini == 3) { jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; } else { if (waveKini == 4) { jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 6) { jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; } else { if (waveKini == 7) { jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } else { if (waveKini == 8) { jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } else { if (waveKini == 9) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } else { if (waveKini == 10) { jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } } } } } } } } } } } else { if (xlevel == 67) { crazyKumbang = true; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 2; jumlahMusuh[1][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[5][1] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[5][5] = 2; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; jumlahMusuh[7][1] = 2; jumlahMusuh[7][2] = 2; jumlahMusuh[7][3] = 2; jumlahMusuh[7][4] = 2; jumlahMusuh[7][5] = 2; jumlahMusuh[8][1] = 2; jumlahMusuh[8][2] = 2; jumlahMusuh[8][3] = 2; jumlahMusuh[8][4] = 2; jumlahMusuh[8][5] = 2; } } } } } } else { if (xlevel == 68) { crazyKumbang = true; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[4][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[7][4] = 5; jumlahMusuh[8][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[1][5] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[4][5] = 4; } else { if (waveKini == 7) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[1][5] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[4][5] = 4; jumlahMusuh[5][1] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[5][3] = 4; jumlahMusuh[5][4] = 4; jumlahMusuh[5][5] = 4; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } else { if (waveKini == 9) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; } else { if (waveKini == 10) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; jumlahMusuh[7][1] = 3; jumlahMusuh[7][2] = 3; jumlahMusuh[7][3] = 3; jumlahMusuh[7][4] = 3; jumlahMusuh[7][5] = 3; jumlahMusuh[8][1] = 3; jumlahMusuh[8][2] = 3; jumlahMusuh[8][3] = 3; jumlahMusuh[8][4] = 3; jumlahMusuh[8][5] = 3; } } } } } } } } } } } else { if (xlevel == 69) { ratSniper = true; if (waveKini == 1) { jumlahMusuh[7][1] = 1; } else { if (waveKini == 2) { jumlahMusuh[7][3] = 1; } else { if (waveKini == 3) { jumlahMusuh[7][5] = 2; } else { if (waveKini == 4) { jumlahMusuh[7][2] = 2; } else { if (waveKini == 5) { jumlahMusuh[7][4] = 3; } } } } } } else { if (xlevel == 70) { if (waveKini == 1) { jumlahMusuh[1][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[7][5] = 2; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[8][5] = 2; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[7][4] = 2; jumlahMusuh[8][5] = 2; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[6][3] = 4; jumlahMusuh[7][4] = 4; jumlahMusuh[8][5] = 4; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[6][3] = 4; jumlahMusuh[7][4] = 4; jumlahMusuh[8][5] = 4; } else { if (waveKini == 6) { jumlahMusuh[3][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[6][3] = 4; jumlahMusuh[7][4] = 4; jumlahMusuh[8][5] = 4; } } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja6() { musuhTakTerhingga = false; if (xlevel == 51) { if (waveKini == 1) { flyingKecoa = true; randPos = random(5) + 1; jumlahMusuh[4][randPos] = 1; jumlahMusuh[5][1] = 1; jumlahMusuh[5][2] = 1; jumlahMusuh[5][3] = 1; jumlahMusuh[5][4] = 1; jumlahMusuh[5][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 2) { fungkyFlower = true; randPos = random(5) + 1; jumlahMusuh[5][randPos] = 1; jumlahMusuh[4][1] = 1; jumlahMusuh[4][2] = 1; jumlahMusuh[4][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[4][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 3) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 4) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } else { if (waveKini == 5) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } } } } } } else { if (xlevel == 52) { if (waveKini == 1) { flyingKecoa = true; randPos = random(5) + 1; jumlahMusuh[4][randPos] = 1; jumlahMusuh[5][1] = 1; jumlahMusuh[5][2] = 1; jumlahMusuh[5][3] = 1; jumlahMusuh[5][4] = 1; jumlahMusuh[5][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 2) { fungkyFlower = true; randPos = random(5) + 1; jumlahMusuh[5][randPos] = 1; jumlahMusuh[4][1] = 1; jumlahMusuh[4][2] = 1; jumlahMusuh[4][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[4][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 3) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 4) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 5) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } } } } } } else { if (xlevel == 53) { if (waveKini == 1) { flyingKecoa = true; randPos = random(5) + 1; jumlahMusuh[4][randPos] = 1; jumlahMusuh[5][1] = 1; jumlahMusuh[5][2] = 1; jumlahMusuh[5][3] = 1; jumlahMusuh[5][4] = 1; jumlahMusuh[5][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 2) { fungkyFlower = true; randPos = random(5) + 1; jumlahMusuh[5][randPos] = 1; jumlahMusuh[4][1] = 1; jumlahMusuh[4][2] = 1; jumlahMusuh[4][3] = 1; jumlahMusuh[4][4] = 1; jumlahMusuh[4][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 3) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 4) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } else { if (waveKini == 5) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 6) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 2; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 2; jumlahMusuh[6][5] = 2; } else { if (waveKini == 7) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[6][1] = 3; jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; jumlahMusuh[6][5] = 3; } } } } } } } } else { if (xlevel == 54) { if (waveKini == 1) { jumlahMusuh[7][2] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 1; } else { if (waveKini == 2) { jumlahMusuh[7][1] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][5] = 1; } else { if (waveKini == 3) { jumlahMusuh[7][2] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 1; } else { if (waveKini == 4) { jumlahMusuh[7][1] = 1; jumlahMusuh[7][2] = 1; jumlahMusuh[7][4] = 1; jumlahMusuh[7][5] = 1; } else { if (waveKini == 5) { jumlahMusuh[7][1] = 1; jumlahMusuh[7][2] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 1; jumlahMusuh[7][5] = 1; } else { if (waveKini == 6) { jumlahMusuh[7][1] = 1; jumlahMusuh[7][2] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 1; jumlahMusuh[7][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 7) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[7][1] = 1; jumlahMusuh[7][2] = 1; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 1; jumlahMusuh[7][5] = 1; jumlahMusuh[6][1] = 1; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 1; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 1; } else { if (waveKini == 8) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; fungkyFlower = true; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; jumlahMusuh[7][1] = 1; jumlahMusuh[7][2] = 2; jumlahMusuh[7][3] = 1; jumlahMusuh[7][4] = 2; jumlahMusuh[7][5] = 1; jumlahMusuh[6][1] = 2; jumlahMusuh[6][2] = 1; jumlahMusuh[6][3] = 2; jumlahMusuh[6][4] = 1; jumlahMusuh[6][5] = 2; } } } } } } } } } else { if (xlevel == 55) { if (waveKini == 1) { jumlahMusuh[6][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[6][2] = 2; jumlahMusuh[6][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[6][2] = 3; jumlahMusuh[6][3] = 3; jumlahMusuh[6][4] = 3; } else { if (waveKini == 4) { jumlahMusuh[6][1] = 4; jumlahMusuh[6][2] = 4; jumlahMusuh[6][4] = 4; jumlahMusuh[6][5] = 4; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 6; jumlahMusuh[6][2] = 6; jumlahMusuh[6][3] = 6; jumlahMusuh[6][4] = 6; jumlahMusuh[6][5] = 6; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 8; jumlahMusuh[6][2] = 8; jumlahMusuh[6][3] = 8; jumlahMusuh[6][4] = 8; jumlahMusuh[6][5] = 8; } else { if (waveKini == 7) { jumlahMusuh[6][1] = 12; jumlahMusuh[6][2] = 12; jumlahMusuh[6][3] = 12; jumlahMusuh[6][4] = 12; jumlahMusuh[6][5] = 12; } } } } } } } } else { if (xlevel == 56) { kecoaBoss = false; flyingKecoa = false; if (waveKini == 1) { jumlahMusuh[4][2] = 1; jumlahMusuh[4][4] = 1; } else { if (waveKini == 2) { jumlahMusuh[4][1] = 2; jumlahMusuh[4][3] = 2; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[4][5] = 3; } else { if (waveKini == 4) { jumlahMusuh[4][2] = 4; jumlahMusuh[4][3] = 4; jumlahMusuh[4][4] = 4; } else { if (waveKini == 5) { flyingKecoa = true; jumlahMusuh[4][1] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 6) { flyingKecoa = true; jumlahMusuh[4][1] = 6; jumlahMusuh[4][2] = 6; jumlahMusuh[4][3] = 6; jumlahMusuh[4][4] = 6; } else { if (waveKini == 7) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; } else { if (waveKini == 8) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; } else { if (waveKini == 9) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; } else { if (waveKini == 10) { flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; flyingKecoa = true; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; } else { if (waveKini == 10) { kecoaBoss = true; jumlahMusuh[4][3] = 1; } } } } } } } } } } } } else { if (xlevel == 57) { fungkyFlower = true; if (waveKini == 1) { jumlahMusuh[5][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[5][2] = 1; jumlahMusuh[5][4] = 1; } else { if (waveKini == 3) { jumlahMusuh[5][2] = 1; jumlahMusuh[5][3] = 1; jumlahMusuh[5][4] = 1; } else { if (waveKini == 4) { jumlahMusuh[5][1] = 1; jumlahMusuh[5][2] = 1; jumlahMusuh[5][4] = 1; jumlahMusuh[5][5] = 1; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[5][5] = 2; } else { if (waveKini == 6) { jumlahMusuh[5][1] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[5][5] = 2; } else { if (waveKini == 7) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; } else { if (waveKini == 8) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[6][1] = 8; jumlahMusuh[6][2] = 8; jumlahMusuh[6][3] = 8; jumlahMusuh[6][4] = 8; jumlahMusuh[6][5] = 8; } else { if (waveKini == 9) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[7][1] = 9; jumlahMusuh[7][2] = 9; jumlahMusuh[7][3] = 9; jumlahMusuh[7][4] = 9; jumlahMusuh[7][5] = 9; } else { if (waveKini == 10) { jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; jumlahMusuh[7][1] = 10; jumlahMusuh[7][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[7][5] = 10; } } } } } } } } } } } else { if (xlevel == 58) { fungkyFlower = true; if (waveKini == 1) { jumlahMusuh[5][3] = 1; jumlahMusuh[6][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[5][2] = 1; jumlahMusuh[7][4] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[5][3] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[6][3] = 3; jumlahMusuh[7][4] = 3; } else { if (waveKini == 4) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[7][1] = 4; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[5][3] = 4; jumlahMusuh[5][4] = 4; jumlahMusuh[5][5] = 4; jumlahMusuh[6][1] = 4; jumlahMusuh[7][3] = 4; } else { if (waveKini == 6) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][3] = 6; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[7][5] = 6; } else { if (waveKini == 7) { jumlahMusuh[5][1] = 6; jumlahMusuh[7][2] = 7; jumlahMusuh[5][3] = 6; jumlahMusuh[6][3] = 7; jumlahMusuh[5][4] = 6; jumlahMusuh[5][5] = 7; jumlahMusuh[7][5] = 7; } else { if (waveKini == 8) { jumlahMusuh[5][1] = 8; jumlahMusuh[5][2] = 8; jumlahMusuh[5][3] = 8; jumlahMusuh[5][4] = 8; jumlahMusuh[5][5] = 8; jumlahMusuh[6][1] = 8; jumlahMusuh[6][2] = 8; jumlahMusuh[6][3] = 8; jumlahMusuh[6][4] = 8; jumlahMusuh[6][5] = 8; jumlahMusuh[7][1] = 8; jumlahMusuh[7][2] = 8; jumlahMusuh[7][3] = 8; jumlahMusuh[7][4] = 8; } else { if (waveKini == 9) { jumlahMusuh[5][1] = 9; jumlahMusuh[5][2] = 9; jumlahMusuh[5][3] = 9; jumlahMusuh[5][4] = 9; jumlahMusuh[5][5] = 9; jumlahMusuh[6][1] = 9; jumlahMusuh[6][2] = 9; jumlahMusuh[6][3] = 9; jumlahMusuh[6][4] = 9; jumlahMusuh[6][5] = 9; jumlahMusuh[7][2] = 9; jumlahMusuh[7][3] = 9; jumlahMusuh[7][4] = 9; jumlahMusuh[7][5] = 9; } else { if (waveKini == 10) { jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; jumlahMusuh[7][1] = 10; jumlahMusuh[7][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[7][5] = 10; } } } } } } } } } } } else { if (xlevel == 59) { bossFlower = false; fungkyFlower = true; if (waveKini == 1) { jumlahMusuh[5][3] = 1; jumlahMusuh[6][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[5][2] = 1; jumlahMusuh[7][5] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[5][3] = 2; jumlahMusuh[5][5] = 2; jumlahMusuh[6][3] = 3; jumlahMusuh[7][4] = 3; } else { if (waveKini == 4) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[7][3] = 4; } else { if (waveKini == 5) { jumlahMusuh[5][1] = 4; jumlahMusuh[5][2] = 4; jumlahMusuh[6][3] = 4; jumlahMusuh[5][4] = 4; jumlahMusuh[5][5] = 4; jumlahMusuh[6][1] = 4; jumlahMusuh[7][3] = 4; } else { if (waveKini == 6) { jumlahMusuh[5][1] = 5; jumlahMusuh[7][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][3] = 6; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[7][5] = 6; } else { if (waveKini == 7) { jumlahMusuh[5][1] = 6; jumlahMusuh[7][2] = 7; jumlahMusuh[5][3] = 6; jumlahMusuh[6][3] = 7; jumlahMusuh[5][4] = 6; jumlahMusuh[5][5] = 7; jumlahMusuh[7][5] = 7; } else { if (waveKini == 8) { jumlahMusuh[5][1] = 8; jumlahMusuh[5][2] = 8; jumlahMusuh[5][3] = 8; jumlahMusuh[5][4] = 8; jumlahMusuh[5][5] = 8; jumlahMusuh[6][1] = 8; jumlahMusuh[6][2] = 8; jumlahMusuh[6][3] = 8; jumlahMusuh[6][4] = 8; jumlahMusuh[6][5] = 8; jumlahMusuh[7][1] = 8; jumlahMusuh[7][2] = 8; jumlahMusuh[7][3] = 8; jumlahMusuh[7][4] = 8; } else { if (waveKini == 9) { jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; jumlahMusuh[7][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[7][5] = 10; } else { if (waveKini == 10) { bossFlower = true; jumlahMusuh[5][3] = 1; jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; jumlahMusuh[7][1] = 10; jumlahMusuh[7][2] = 10; jumlahMusuh[7][3] = 10; jumlahMusuh[7][4] = 10; jumlahMusuh[7][5] = 10; } } } } } } } } } } } else { if (xlevel == 60) { if (waveKini == 1) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[2][randPos]; randPos = random(5) + 1; ++jumlahMusuh[3][randPos]; randPos = random(5) + 1; ++jumlahMusuh[4][randPos]; randPos = random(5) + 1; ++jumlahMusuh[5][randPos]; } else { if (waveKini == 2) { randPos = random(5) + 1; jumlahMusuh[1][randPos] += 2; randPos = random(5) + 1; jumlahMusuh[2][randPos] += 2; randPos = random(5) + 1; jumlahMusuh[3][randPos] += 2; randPos = random(5) + 1; jumlahMusuh[4][randPos] += 2; randPos = random(5) + 1; jumlahMusuh[5][randPos] += 2; } else { if (waveKini == 3) { randPos = random(5) + 1; jumlahMusuh[1][randPos] += 3; randPos = random(5) + 1; jumlahMusuh[2][randPos] += 3; randPos = random(5) + 1; jumlahMusuh[3][randPos] += 3; randPos = random(5) + 1; jumlahMusuh[4][randPos] += 3; randPos = random(5) + 1; jumlahMusuh[5][randPos] += 3; } else { if (waveKini == 4) { randPos = random(5) + 1; jumlahMusuh[1][randPos] += 4; randPos = random(5) + 1; jumlahMusuh[2][randPos] += 4; randPos = random(5) + 1; jumlahMusuh[3][randPos] += 4; randPos = random(5) + 1; jumlahMusuh[4][randPos] += 4; randPos = random(5) + 1; jumlahMusuh[5][randPos] += 4; } else { if (waveKini == 5) { randPos = random(5) + 1; jumlahMusuh[1][randPos] += 5; randPos = random(5) + 1; jumlahMusuh[2][randPos] += 5; randPos = random(5) + 1; jumlahMusuh[3][randPos] += 5; randPos = random(5) + 1; jumlahMusuh[4][randPos] += 5; randPos = random(5) + 1; jumlahMusuh[5][randPos] += 5; } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja5() { musuhTakTerhingga = false; if (xlevel == 41) { deathTreeGun = true; if (waveKini == 1) { jumlahMusuh[3][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; } } } } else { if (xlevel == 42) { deathTreeGun = false; if (waveKini == 1) { deathTreeGun = true; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 2) { deathTreeGun = true; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { deathTreeGun = true; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; randPos = random(5) + 1; jumlahMusuh[3][randPos] = 1; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 4) { deathTreeGun = true; jumlahMusuh[3][1] = 1; jumlahMusuh[3][2] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[3][4] = 1; jumlahMusuh[3][5] = 1; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 5) { deathTreeGun = true; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 1; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 1; jumlahMusuh[3][5] = 2; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 5; } else { if (waveKini == 6) { deathTreeGun = true; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 4; jumlahMusuh[4][1] = 7; jumlahMusuh[4][2] = 12; jumlahMusuh[4][3] = 7; jumlahMusuh[4][4] = 12; jumlahMusuh[4][5] = 7; jumlahMusuh[5][1] = 7; jumlahMusuh[5][2] = 12; jumlahMusuh[5][3] = 7; jumlahMusuh[5][4] = 12; jumlahMusuh[5][5] = 7; } else { if (waveKini == 7) { deathTreeGun = true; jumlahMusuh[3][1] = 6; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 6; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 6; jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 14; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 14; jumlahMusuh[4][5] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 14; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 14; jumlahMusuh[5][5] = 10; } } } } } } } } else { if (xlevel == 43) { deathTreeGun = false; if (waveKini == 1) { jumlahMusuh[6][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[6][2] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { deathTreeGun = true; jumlahMusuh[6][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 5) { deathTreeGun = true; jumlahMusuh[6][1] = 10; jumlahMusuh[3][2] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[6][3] = 10; jumlahMusuh[3][4] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][5] = 10; } } } } } } else { if (xlevel == 44) { deathTreeGun = true; if (waveKini == 1) { jumlahMusuh[3][3] = 1; jumlahMusuh[4][3] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[3][2] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][2] = 1; jumlahMusuh[3][3] = 1; jumlahMusuh[3][4] = 1; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } } } } } } else { if (xlevel == 45) { if (waveKini == 1) { jumlahMusuh[9][1] = 30; jumlahMusuh[9][3] = 30; jumlahMusuh[9][5] = 30; } else { if (waveKini == 2) { jumlahMusuh[9][1] = 40; jumlahMusuh[9][3] = 40; jumlahMusuh[9][5] = 40; } else { if (waveKini == 3) { jumlahMusuh[9][1] = 50; jumlahMusuh[9][3] = 50; jumlahMusuh[9][5] = 50; } } } } else { if (xlevel == 46) { deathTreeBoss = true; if (waveKini == 1) { jumlahMusuh[3][3] = 1; jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[6][5] = 10; } } else { if (xlevel == 47) { flyingKecoa = true; if (waveKini == 1) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[4][3] = 1; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 2) { jumlahMusuh[5][1] = 5; jumlahMusuh[4][2] = 1; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[4][4] = 2; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 2; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[4][5] = 3; } else { if (waveKini == 6) { jumlahMusuh[6][1] = 10; jumlahMusuh[6][2] = 10; jumlahMusuh[6][3] = 10; jumlahMusuh[6][4] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[4][5] = 4; } } } } } } } else { if (xlevel == 48) { flyingKecoa = true; if (waveKini == 1) { jumlahMusuh[4][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[4][2] = 2; jumlahMusuh[4][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[5][1] = 5; jumlahMusuh[4][3] = 2; jumlahMusuh[5][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[6][1] = 5; jumlahMusuh[4][3] = 2; jumlahMusuh[6][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[4][1] = 2; jumlahMusuh[5][3] = 5; jumlahMusuh[4][5] = 2; } else { if (waveKini == 6) { jumlahMusuh[4][1] = 2; jumlahMusuh[6][3] = 5; jumlahMusuh[4][5] = 2; } else { if (waveKini == 7) { jumlahMusuh[5][2] = 5; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[5][5] = 5; } else { if (waveKini == 8) { jumlahMusuh[6][2] = 5; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[6][5] = 5; } else { if (waveKini == 9) { jumlahMusuh[4][1] = 4; jumlahMusuh[5][2] = 5; jumlahMusuh[4][3] = 4; jumlahMusuh[5][4] = 5; jumlahMusuh[4][5] = 4; } else { if (waveKini == 10) { jumlahMusuh[4][1] = 4; jumlahMusuh[6][2] = 5; jumlahMusuh[4][3] = 4; jumlahMusuh[6][4] = 5; jumlahMusuh[4][5] = 4; } else { if (waveKini == 11) { jumlahMusuh[4][1] = 5; jumlahMusuh[6][2] = 6; jumlahMusuh[4][3] = 5; jumlahMusuh[6][4] = 6; jumlahMusuh[4][5] = 5; } else { if (waveKini == 12) { jumlahMusuh[4][1] = 7; jumlahMusuh[6][2] = 8; jumlahMusuh[4][3] = 7; jumlahMusuh[6][4] = 8; jumlahMusuh[4][5] = 7; } } } } } } } } } } } } } else { if (xlevel == 49) { fungkyFlower = true; if (waveKini == 1) { jumlahMusuh[5][3] = 1; } else { if (waveKini == 2) { jumlahMusuh[5][2] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[5][1] = 3; jumlahMusuh[5][2] = 3; jumlahMusuh[5][3] = 3; jumlahMusuh[5][4] = 3; jumlahMusuh[5][5] = 3; } } } } else { if (xlevel == 50) { if (waveKini == 1) { jumlahMusuh[4][3] = 30; } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja4() { musuhTakTerhingga = false; if (xlevel == 31) { wormCadabraBoss = false; wormCadabra = false; if (waveKini == 1) { jumlahMusuh[4][1] = 5; jumlahMusuh[3][2] = 15; jumlahMusuh[2][3] = 5; jumlahMusuh[3][4] = 15; jumlahMusuh[4][5] = 5; } else { if (waveKini == 2) { wormCadabra = true; jumlahMusuh[2][1] = 10; jumlahMusuh[3][2] = 25; jumlahMusuh[4][3] = 10; jumlahMusuh[3][4] = 25; jumlahMusuh[2][5] = 10; } else { if (waveKini == 3) { wormCadabraBoss = true; jumlahMusuh[4][1] = 10; jumlahMusuh[3][2] = 25; jumlahMusuh[2][3] = 1; jumlahMusuh[3][4] = 25; jumlahMusuh[4][5] = 10; } } } } else { if (xlevel == 32) { if (waveKini == 1) { jumlahMusuh[3][1] = 3; jumlahMusuh[4][1] = 3; jumlahMusuh[5][5] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[4][2] = 3; jumlahMusuh[5][3] = 5; jumlahMusuh[3][4] = 3; jumlahMusuh[4][4] = 3; jumlahMusuh[3][5] = 3; jumlahMusuh[4][5] = 3; jumlahMusuh[5][5] = 3; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][3] = 7; jumlahMusuh[3][4] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 7; jumlahMusuh[4][1] = 7; jumlahMusuh[5][5] = 7; jumlahMusuh[3][2] = 7; jumlahMusuh[4][2] = 7; jumlahMusuh[5][3] = 10; jumlahMusuh[3][4] = 7; jumlahMusuh[4][4] = 7; jumlahMusuh[3][5] = 7; jumlahMusuh[4][5] = 7; jumlahMusuh[5][5] = 7; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 10; jumlahMusuh[4][1] = 10; jumlahMusuh[5][5] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[5][3] = 15; jumlahMusuh[3][4] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[3][5] = 10; jumlahMusuh[4][5] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 15; jumlahMusuh[4][1] = 15; jumlahMusuh[5][5] = 15; jumlahMusuh[3][2] = 15; jumlahMusuh[4][2] = 15; jumlahMusuh[5][3] = 20; jumlahMusuh[3][4] = 15; jumlahMusuh[4][4] = 15; jumlahMusuh[3][5] = 15; jumlahMusuh[4][5] = 15; jumlahMusuh[5][5] = 15; } } } } } } else { if (xlevel == 33) { if (waveKini == 1) { jumlahMusuh[3][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[5][3] = 4; } else { if (waveKini == 3) { jumlahMusuh[3][3] = 6; jumlahMusuh[4][4] = 6; jumlahMusuh[5][5] = 6; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 8; jumlahMusuh[4][3] = 8; jumlahMusuh[5][5] = 8; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 6) { jumlahMusuh[3][1] = 12; jumlahMusuh[4][3] = 12; jumlahMusuh[5][4] = 12; } else { if (waveKini == 7) { jumlahMusuh[3][2] = 14; jumlahMusuh[4][3] = 14; jumlahMusuh[5][5] = 14; } else { if (waveKini == 8) { jumlahMusuh[3][1] = 16; jumlahMusuh[4][2] = 16; jumlahMusuh[5][5] = 16; } else { if (waveKini == 9) { jumlahMusuh[3][1] = 18; jumlahMusuh[4][3] = 18; jumlahMusuh[5][5] = 18; } else { if (waveKini == 10) { jumlahMusuh[3][2] = 20; jumlahMusuh[4][4] = 20; jumlahMusuh[5][5] = 20; } } } } } } } } } } } else { if (xlevel == 34) { if (waveKini == 1) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 2) { jumlahMusuh[5][1] = 7; jumlahMusuh[5][2] = 7; jumlahMusuh[3][3] = 7; jumlahMusuh[4][4] = 7; jumlahMusuh[4][5] = 7; } else { if (waveKini == 3) { jumlahMusuh[5][1] = 9; jumlahMusuh[5][2] = 9; jumlahMusuh[3][3] = 9; jumlahMusuh[4][4] = 9; jumlahMusuh[4][5] = 9; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 11; jumlahMusuh[4][2] = 11; jumlahMusuh[5][3] = 11; jumlahMusuh[3][4] = 11; jumlahMusuh[3][5] = 11; } else { if (waveKini == 5) { jumlahMusuh[4][1] = 13; jumlahMusuh[4][2] = 13; jumlahMusuh[3][3] = 13; jumlahMusuh[5][4] = 13; jumlahMusuh[5][5] = 13; } else { if (waveKini == 6) { jumlahMusuh[4][1] = 15; jumlahMusuh[4][2] = 15; jumlahMusuh[3][3] = 15; jumlahMusuh[5][4] = 15; jumlahMusuh[5][5] = 15; } } } } } } } else { if (xlevel == 35) { if (waveKini == 1) { jumlahMusuh[6][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[6][1] = 5; jumlahMusuh[6][2] = 5; jumlahMusuh[6][3] = 5; jumlahMusuh[6][4] = 5; jumlahMusuh[6][5] = 5; } } } } } } else { if (xlevel == 36) { if (waveKini == 1) { jumlahMusuh[3][1] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[5][5] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][3] = 5; jumlahMusuh[3][4] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[5][5] = 2; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[5][5] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[5][3] = 10; jumlahMusuh[3][4] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[3][1] = 10; jumlahMusuh[4][1] = 10; jumlahMusuh[5][5] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[5][3] = 15; jumlahMusuh[3][4] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[3][5] = 10; jumlahMusuh[4][5] = 10; jumlahMusuh[5][5] = 10; } } } } else { if (xlevel == 37) { if (waveKini == 1) { jumlahMusuh[3][1] = 25; } else { if (waveKini == 2) { jumlahMusuh[4][2] = 25; } else { if (waveKini == 3) { jumlahMusuh[5][5] = 25; } } } } else { if (xlevel == 38) { if (waveKini == 1) { jumlahMusuh[3][1] = 25; } else { if (waveKini == 2) { jumlahMusuh[4][2] = 25; } else { if (waveKini == 3) { jumlahMusuh[3][5] = 25; jumlahMusuh[4][2] = 25; } else { if (waveKini == 4) { jumlahMusuh[4][3] = 25; jumlahMusuh[5][4] = 25; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 25; jumlahMusuh[4][3] = 25; jumlahMusuh[5][5] = 25; } } } } } } else { if (xlevel == 39) { if (waveKini == 1) { jumlahMusuh[3][3] = 25; } else { if (waveKini == 2) { jumlahMusuh[4][4] = 25; } else { if (waveKini == 3) { jumlahMusuh[5][5] = 25; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 25; jumlahMusuh[4][2] = 25; } else { if (waveKini == 5) { jumlahMusuh[4][3] = 25; jumlahMusuh[5][5] = 25; } else { if (waveKini == 6) { jumlahMusuh[3][1] = 25; jumlahMusuh[4][2] = 25; jumlahMusuh[5][4] = 25; } else { if (waveKini == 7) { jumlahMusuh[3][1] = 20; jumlahMusuh[4][3] = 20; jumlahMusuh[5][5] = 20; jumlahMusuh[5][1] = 20; jumlahMusuh[4][2] = 20; jumlahMusuh[3][4] = 20; } } } } } } } } else { if (xlevel == 40) { if (waveKini == 1) { jumlahMusuh[3][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[3][2] = 2; jumlahMusuh[4][3] = 1; jumlahMusuh[3][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 2; jumlahMusuh[5][2] = 1; jumlahMusuh[4][3] = 2; jumlahMusuh[5][4] = 1; jumlahMusuh[4][5] = 2; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 3; jumlahMusuh[4][2] = 2; jumlahMusuh[5][3] = 3; jumlahMusuh[3][4] = 2; jumlahMusuh[4][5] = 3; } else { if (waveKini == 5) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 4; jumlahMusuh[5][3] = 5; jumlahMusuh[3][4] = 4; jumlahMusuh[5][5] = 5; } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja3() { musuhTakTerhingga = false; if (xlevel == 21) { if (waveKini == 1) { jumlahMusuh[2][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[3][4] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 5) { jumlahMusuh[2][1] = 15; jumlahMusuh[2][2] = 15; jumlahMusuh[2][3] = 15; jumlahMusuh[2][4] = 15; jumlahMusuh[2][5] = 15; jumlahMusuh[3][1] = 15; jumlahMusuh[3][2] = 15; jumlahMusuh[3][3] = 15; jumlahMusuh[3][4] = 15; jumlahMusuh[3][5] = 15; } } } } } } else { if (xlevel == 22) { if (waveKini == 1) { jumlahMusuh[2][1] = 20; jumlahMusuh[2][2] = 20; jumlahMusuh[2][3] = 20; jumlahMusuh[2][4] = 20; jumlahMusuh[2][5] = 20; } else { if (waveKini == 2) { jumlahMusuh[3][1] = 20; jumlahMusuh[2][2] = 20; jumlahMusuh[3][3] = 20; jumlahMusuh[3][4] = 20; jumlahMusuh[3][5] = 20; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 20; jumlahMusuh[4][2] = 20; jumlahMusuh[4][3] = 20; jumlahMusuh[4][4] = 20; jumlahMusuh[4][5] = 20; } } } } else { if (xlevel == 23) { wormCadabra = true; if (waveKini == 1) { jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[1][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[1][5] = 5; } } } } } } else { if (xlevel == 24) { wormCadabra = true; if (waveKini == 1) { jumlahMusuh[2][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 6) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 7) { jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; jumlahMusuh[3][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[3][4] = 10; jumlahMusuh[3][5] = 10; jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; } } } } } } } } else { if (xlevel == 25) { musuhTakTerhingga = true; if (waveKini == 1) { jumlahMusuh[8][1] = 1; jumlahMusuh[8][2] = 1; jumlahMusuh[8][3] = 1; jumlahMusuh[8][4] = 1; jumlahMusuh[8][5] = 1; } } else { if (xlevel == 26) { wormCadabra = false; if (waveKini == 1) { wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 2) { wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 3) { wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; wormCadabra = true; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 1; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 4) { wormCadabra = true; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 7; jumlahMusuh[3][2] = 7; jumlahMusuh[3][3] = 7; jumlahMusuh[3][4] = 7; jumlahMusuh[3][5] = 7; jumlahMusuh[4][1] = 7; jumlahMusuh[4][2] = 7; jumlahMusuh[4][3] = 7; jumlahMusuh[4][4] = 7; jumlahMusuh[4][5] = 7; } else { if (waveKini == 5) { wormCadabra = true; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 1; jumlahMusuh[3][3] = 5; jumlahMusuh[2][4] = 1; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 10; jumlahMusuh[2][3] = 5; jumlahMusuh[3][4] = 10; jumlahMusuh[2][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 5; } } } } } } else { if (xlevel == 27) { wormCadabra = false; if (waveKini == 1) { jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 3) { wormCadabra = true; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } } } } else { if (xlevel == 28) { if (waveKini == 1) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[3][2] = 5; jumlahMusuh[3][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[4][3] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; } else { if (waveKini == 6) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; } else { if (waveKini == 7) { jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 8) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 9) { jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 10) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 11) { jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } else { if (waveKini == 12) { jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 13) { jumlahMusuh[3][1] = 10; jumlahMusuh[3][2] = 10; jumlahMusuh[3][3] = 10; jumlahMusuh[3][4] = 10; jumlahMusuh[3][5] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 14) { jumlahMusuh[4][1] = 10; jumlahMusuh[4][2] = 10; jumlahMusuh[4][3] = 10; jumlahMusuh[4][4] = 10; jumlahMusuh[4][5] = 10; jumlahMusuh[5][1] = 10; jumlahMusuh[5][2] = 10; jumlahMusuh[5][3] = 10; jumlahMusuh[5][4] = 10; jumlahMusuh[5][5] = 10; } else { if (waveKini == 15) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } } } } } } } } } } } } } } } } } else { if (xlevel == 29) { if (waveKini == 1) { wormCadabra = true; jumlahMusuh[2][3] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 2) { wormCadabra = true; jumlahMusuh[2][3] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 3) { wormCadabra = true; jumlahMusuh[2][3] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { wormCadabra = true; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 5) { wormCadabra = true; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; jumlahMusuh[5][1] = 5; jumlahMusuh[5][2] = 5; jumlahMusuh[5][3] = 5; jumlahMusuh[5][4] = 5; jumlahMusuh[5][5] = 5; } } } } } } else { if (xlevel == 30) { if (waveKini == 1) { jumlahMusuh[1][3] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[1][2] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[5][4] = 2; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[5][1] = 2; jumlahMusuh[1][2] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[5][5] = 2; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[4][1] = 2; jumlahMusuh[5][1] = 2; jumlahMusuh[1][2] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[4][2] = 2; jumlahMusuh[5][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[4][3] = 2; jumlahMusuh[5][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[4][4] = 2; jumlahMusuh[5][4] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][5] = 2; jumlahMusuh[4][5] = 2; jumlahMusuh[5][5] = 2; } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja2() { musuhTakTerhingga = false; if (xlevel == 11) { bigSnail = false; if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; } else { if (waveKini == 2) { jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 3) { bigSnail = true; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; } } } } else { if (xlevel == 12) { bigSnail = false; if (waveKini == 1) { jumlahMusuh[1][3] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[3][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[1][1] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][5] = 2; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][3] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 2; jumlahMusuh[1][2] = 2; jumlahMusuh[1][3] = 2; jumlahMusuh[1][4] = 2; jumlahMusuh[1][5] = 2; jumlahMusuh[2][1] = 2; jumlahMusuh[2][2] = 2; jumlahMusuh[2][4] = 2; jumlahMusuh[2][5] = 2; jumlahMusuh[3][1] = 2; jumlahMusuh[3][2] = 2; jumlahMusuh[3][3] = 2; jumlahMusuh[3][4] = 2; jumlahMusuh[3][5] = 2; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 3; jumlahMusuh[1][2] = 3; jumlahMusuh[1][3] = 3; jumlahMusuh[1][4] = 3; jumlahMusuh[1][5] = 3; jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][4] = 3; jumlahMusuh[2][5] = 3; jumlahMusuh[3][1] = 3; jumlahMusuh[3][2] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][4] = 3; jumlahMusuh[3][5] = 3; } else { if (waveKini == 6) { jumlahMusuh[1][1] = 4; jumlahMusuh[1][2] = 4; jumlahMusuh[1][3] = 4; jumlahMusuh[1][4] = 4; jumlahMusuh[1][5] = 4; jumlahMusuh[2][1] = 4; jumlahMusuh[2][2] = 4; jumlahMusuh[2][4] = 4; jumlahMusuh[2][5] = 4; jumlahMusuh[3][1] = 4; jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; } } } } } } } else { if (xlevel == 13) { if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; } else { if (waveKini == 2) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 3) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } } } } } } else { if (xlevel == 14) { bigSnail = false; if (waveKini == 1) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; } else { if (waveKini == 2) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 3) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 5) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } } } } } } else { if (xlevel == 15) { bigSnail = false; if (waveKini == 1) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 2) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 3) { bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; bigSnail = true; randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 4) { bigSnail = true; jumlahMusuh[1][1] = 1; jumlahMusuh[1][2] = 1; jumlahMusuh[1][3] = 1; jumlahMusuh[1][4] = 1; jumlahMusuh[1][5] = 1; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 5) { bigSnail = true; jumlahMusuh[1][1] = 2; jumlahMusuh[1][2] = 1; jumlahMusuh[3][3] = 5; jumlahMusuh[1][4] = 1; jumlahMusuh[1][5] = 2; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 10; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 10; jumlahMusuh[3][5] = 5; } } } } } } else { if (xlevel == 16) { bigSnail = false; bigBossSnail = false; if (waveKini == 1) { jumlahMusuh[1][2] = 100; jumlahMusuh[1][4] = 100; } else { if (waveKini == 2) { bigSnail = true; jumlahMusuh[1][1] = 1; jumlahMusuh[1][5] = 1; } else { if (waveKini == 3) { bigBossSnail = true; jumlahMusuh[1][3] = 1; } } } } else { if (xlevel == 17) { if (waveKini == 1) { i = 1; while (i <= 75) { randPosisi = random(5) + 1; ++jumlahMusuh[2][randPosisi]; ++i; } } else { if (waveKini == 2) { i = 1; while (i <= 75) { randPosisi = random(5) + 1; ++jumlahMusuh[3][randPosisi]; ++i; } } else { if (waveKini == 3) { i = 1; while (i <= 75) { randPosisi = random(5) + 1; ++jumlahMusuh[2][randPosisi]; ++i; } i = 1; while (i <= 75) { randPosisi = random(5) + 1; ++jumlahMusuh[3][randPosisi]; ++i; } } } } } else { if (xlevel == 18) { if (waveKini == 1) { jumlahMusuh[4][1] = 5; } else { if (waveKini == 2) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][3] = 5; } else { if (waveKini == 3) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 4) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 5) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } } } } } } else { if (xlevel == 19) { if (waveKini == 1) { jumlahMusuh[2][1] = 2; jumlahMusuh[2][3] = 2; } else { if (waveKini == 2) { jumlahMusuh[3][2] = 2; jumlahMusuh[3][4] = 2; } else { if (waveKini == 3) { jumlahMusuh[4][3] = 2; jumlahMusuh[4][5] = 2; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 2; jumlahMusuh[2][5] = 2; } else { if (waveKini == 4) { jumlahMusuh[3][1] = 3; jumlahMusuh[3][3] = 3; jumlahMusuh[3][5] = 3; } else { if (waveKini == 5) { jumlahMusuh[4][2] = 3; jumlahMusuh[4][3] = 3; jumlahMusuh[4][4] = 3; } else { if (waveKini == 6) { jumlahMusuh[2][1] = 3; jumlahMusuh[2][2] = 3; jumlahMusuh[2][3] = 3; jumlahMusuh[2][4] = 3; } else { if (waveKini == 7) { jumlahMusuh[3][2] = 4; jumlahMusuh[3][3] = 4; jumlahMusuh[3][4] = 4; jumlahMusuh[3][5] = 4; } else { if (waveKini == 8) { jumlahMusuh[4][1] = 4; jumlahMusuh[4][2] = 4; jumlahMusuh[4][4] = 4; jumlahMusuh[4][5] = 4; } else { if (waveKini == 9) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 10) { jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 11) { jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } else { if (waveKini == 12) { jumlahMusuh[2][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[2][5] = 5; } else { if (waveKini == 13) { jumlahMusuh[3][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 14) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; } else { if (waveKini == 15) { jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 5; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; jumlahMusuh[3][1] = 5; jumlahMusuh[3][2] = 5; jumlahMusuh[3][3] = 5; jumlahMusuh[3][4] = 5; jumlahMusuh[3][5] = 5; jumlahMusuh[4][1] = 5; jumlahMusuh[4][2] = 5; jumlahMusuh[4][3] = 5; jumlahMusuh[4][4] = 5; jumlahMusuh[4][5] = 5; } } } } } } } } } } } } } } } } } else { if (xlevel == 20) { bigSnail = true; if (waveKini == 1) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 2) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 3) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 4) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 5) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 6) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } } } } } } } } } } } } } } } } } } frame 260 { function cekMusuhApaSaja() { musuhTakTerhingga = false; if (xlevel == 1) { if (waveKini == 1) { jumlahMusuh[1][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[1][3] = 5; } } } else { if (xlevel == 2) { if (waveKini == 1) { jumlahMusuh[1][3] = 5; } else { if (waveKini == 2) { jumlahMusuh[1][2] = 5; jumlahMusuh[1][4] = 5; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 5; jumlahMusuh[1][4] = 5; } } } } else { if (xlevel == 3) { if (waveKini == 1) { jumlahMusuh[1][3] = 15; } else { if (waveKini == 2) { jumlahMusuh[1][2] = 15; jumlahMusuh[1][4] = 15; } else { if (waveKini == 3) { jumlahMusuh[1][3] = 40; } else { if (waveKini == 4) { jumlahMusuh[1][2] = 15; jumlahMusuh[1][3] = 20; jumlahMusuh[1][4] = 15; } } } } } else { if (xlevel == 4) { if (waveKini == 1) { jumlahMusuh[1][2] = 5; jumlahMusuh[1][4] = 5; } else { if (waveKini == 2) { jumlahMusuh[2][3] = 20; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 5; jumlahMusuh[2][3] = 10; jumlahMusuh[1][4] = 5; } else { if (waveKini == 4) { jumlahMusuh[2][2] = 10; jumlahMusuh[1][3] = 20; jumlahMusuh[2][4] = 10; } } } } } else { if (xlevel == 5) { if (waveKini == 1) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][5] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][4] = 10; } } else { if (xlevel == 6) { if (waveKini == 1) { jumlahMusuh[1][3] = 10; } else { if (waveKini == 2) { jumlahMusuh[1][3] = 15; jumlahMusuh[2][3] = 15; } else { if (waveKini == 3) { jumlahMusuh[1][2] = 10; jumlahMusuh[2][3] = 20; jumlahMusuh[1][4] = 10; } else { if (waveKini == 4) { jumlahMusuh[2][1] = 20; jumlahMusuh[2][3] = 30; jumlahMusuh[2][5] = 20; } else { if (waveKini == 5) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } } } } } } else { if (xlevel == 7) { if (waveKini == 1) { jumlahMusuh[1][2] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[2][1] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 2) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][5] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][4] = 10; } else { if (waveKini == 3) { jumlahMusuh[1][1] = 5; jumlahMusuh[1][2] = 5; jumlahMusuh[1][3] = 25; jumlahMusuh[1][4] = 5; jumlahMusuh[1][5] = 5; jumlahMusuh[2][1] = 5; jumlahMusuh[2][2] = 5; jumlahMusuh[2][3] = 25; jumlahMusuh[2][4] = 5; jumlahMusuh[2][5] = 5; } } } } else { if (xlevel == 8) { if (waveKini == 1) { randPos = random(5) + 1; jumlahMusuh[1][randPos] = 1; } else { if (waveKini == 2) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 3) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 4) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } else { if (waveKini == 5) { randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; randPos = random(5) + 1; ++jumlahMusuh[1][randPos]; } } } } } } else { if (xlevel == 9) { bigSnail = false; if (waveKini == 1) { randPos = random(5) + 1; jumlahMusuh[1][randPos] = 10; randPos = random(5) + 1; jumlahMusuh[2][randPos] = 10; } else { if (waveKini == 2) { jumlahMusuh[1][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[1][4] = 10; } else { if (waveKini == 3) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][5] = 10; jumlahMusuh[2][1] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 4) { jumlahMusuh[1][1] = 10; jumlahMusuh[1][2] = 10; jumlahMusuh[1][3] = 10; jumlahMusuh[1][4] = 10; jumlahMusuh[1][5] = 10; jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } else { if (waveKini == 5) { bigSnail = true; jumlahMusuh[1][1] = 1; jumlahMusuh[1][3] = 1; jumlahMusuh[1][5] = 1; jumlahMusuh[2][1] = 10; jumlahMusuh[2][2] = 10; jumlahMusuh[2][3] = 10; jumlahMusuh[2][4] = 10; jumlahMusuh[2][5] = 10; } } } } } } else { if (xlevel == 10) { if (waveKini == 1) { jumlahMusuh[1][3] = 12; } else { if (waveKini == 2) { jumlahMusuh[1][1] = 12; } else { if (waveKini == 3) { jumlahMusuh[1][4] = 12; } else { if (waveKini == 4) { jumlahMusuh[1][3] = 12; } else { if (waveKini == 5) { jumlahMusuh[1][2] = 12; } else { if (waveKini == 6) { jumlahMusuh[1][4] = 12; } else { if (waveKini == 7) { jumlahMusuh[1][5] = 12; } else { if (waveKini == 8) { jumlahMusuh[1][1] = 12; } else { if (waveKini == 9) { jumlahMusuh[1][5] = 12; } } } } } } } } } } } } } } } } } } } } } frame 260 { function munculKhusus() { if (levelBonus == false) { if (pilihMode == 'madness') { if (adaAkar == false) { boxJatuh = false; adaTelorMuncul = false; xrand3 = random(3); if (xrand3 == 0) { boxJatuh = true; } else { if (xrand3 == 1) { adaTelorMuncul = true; } } } } } } function buatBossDiam() { jumlahBoss = 0; i = awalI; while (i <= akhirI) { buatMusuh(i, i, 'khusus3', '', 'boss'); ++i; } } function buatBossFinal() { jumlahBoss = 0; buatMusuh(3, 3, 'khusus3', '', 'bossFinal'); } function cekAtributeHero(indi) { if (indi == 1) { hero.damage = 500; hero.range = 550; } else { if (indi == 2) { hero.damage = 650; hero.range = 550; } else { if (indi == 3) { hero.damage = 600; hero.range = 700; } } } } function buatHero() { if (cekHero != undefined && cekHero != 0) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna7; if (_root.guna7 >= 100) { dapatMedal(47); } } dapatMedal(7); } posHero = 3; hero = attachMovie('hero' + cekHero, 'hero', 5015 + posHero + 1000 * (posHero - 1)); hero._x = 35; hero._y = 135 + (posHero - 1) * 103; hero.jenis = cekHero; hero.posisi = posHero; cekAtributeHero(cekHero); if (_root['jumlahHero' + cekHero] >= 1) { hero.damage *= 2; } hero.jenisBuah = 20; hero.serangKe = 0; hero.miring = false; hero.serangKe = 0; hero.serangMax = 5; hero.onEnterFrame = enterHero; alarmBahaya1 = false; alarmBahaya2 = false; alarmBahaya3 = false; alarmBahaya4 = false; alarmBahaya5 = false; } function enterHero() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = awalI; while (i <= akhirI) { if (_root['alarmBahaya' + i] == true) { this.posisi = i; } ++i; } hero._y = 135 + (this.posisi - 1) * 103; hero.swapDepths(5015 + this.posisi + 1000 * (this.posisi - 1)); if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this.adaTarget = false; if (this.posisi == 1) { i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray1.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray1.length; } } } } ++i; } } else { if (this.posisi == 2) { i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray2.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray2.length; } } } } ++i; } } else { if (this.posisi == 3) { i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray3.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray3.length; } } } } ++i; } } else { if (this.posisi == 4) { i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray4.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray4.length; } } } } ++i; } } else { if (this.posisi == 5) { i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray5.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray5.length; } } } } ++i; } } } } } } if (this.adaTarget == true && this._currentframe <= 4) { this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { this.serangKe = this.serangMax - this.serangKe; if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } } else { if (this.adaTarget == false) { if (speedKe == 1) { this.gotoAndStop(1); } else { if (speedKe == 2) { this.gotoAndStop(2); } else { if (speedKe == 4) { this.gotoAndStop(3); } else { if (speedKe == 8) { this.gotoAndStop(4); } } } } } } } } } function cekSerangHero(indi) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (indi.jenis == 1) { bykPeluruHero = 1; } else { if (indi.jenis == 2) { bykPeluruHero = 3; } else { if (indi.jenis == 3) { bykPeluruHero = 1; } } } i = 1; while (i <= bykPeluruHero) { if (indi.jenis == 1) { peluru = attachMovie('peluru' + indi.jenisBuah, 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); } else { if (indi.jenis == 2) { peluru = attachMovie('pelurugun_mc', 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); } else { if (indi.jenis == 3) { peluru = attachMovie('koin_mc', 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); peluru._rotation = 45; } } } if (indi.jenis == 2) { peluru._x = indi._x + 50; } else { peluru._x = indi._x + 25; } peluru._y = indi._y - 50; if (jenisPeluru == 1) { peluru._y -= 0; } else { if (jenisPeluru == 2) { peluru._y += 15; } else { if (jenisPeluru == 4) { peluru._y += 11; } } } peluru.posisi = indi.posisi; peluru.speed = 10; peluru.speedY = 0; if (indi.jenis == 2) { if (i == 1) { peluru.speedY = -5; } else { if (i == 2) { peluru.speedY = 0; } else { if (i == 3) { peluru.speedY = 5; } } } } peluru.tuan = indi; peluru.turunSpeedY = 0; peluru.tembus = false; peluru.tembusKe = 100; peluru.damage = indi.damage; peluru.jenisBuah = indi.jenisBuah; peluru.posTarget = indi.posTarget; if (indi.jenisBuah == 11) { peluru.bomb = true; } else { peluru.bomb = false; } ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } if (indi.jenis == 3) { peluru.onEnterFrame = enterPeluruHero2; } else { peluru.onEnterFrame = enterPeluruHero; } ++i; } } } function enterPeluruHero2() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; this._y += this.speedY * speedKe; i = 5000; while (i <= dalamPohon) { if (this.hitTest(_root['pohon' + i])) { _root['pohon' + i].live += this.damage / 500; if (_root['pohon' + i].delayKedip < 9) { _root['pohon' + i].delayKedip = 9; } } if (this._x >= 850) { removeMovieClip(this); } ++i; } } } function enterPeluruHero() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; this._y += this.speedY * speedKe; adaKena = false; i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray1.length; } } } ++i; } i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray2.length; } } } ++i; } i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray3.length; } } } ++i; } i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray4.length; } } } ++i; } i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray5.length; } } } ++i; } if (adaKena == true) { cekEfek(2, this); if (this.ygKena.antiSenjata == true) { this.ygKena.live -= this.damage / 50; } else { this.ygKena.live -= this.damage; } this.ygKena.delayKedip = 1; if (this.bomb == true) { cekEfekLedak3(this); } if (this.ygKena.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x >= 850 || this._x <= -100) { removeMovieClip(this); } } } function buatMalam() { malam_mc = attachMovie('malam_mc', 'malam_mc', 80500); } function buatAwan() { if (tingkatAwan == 1) { tingkatanAwan = 3; } else { if (tingkatAwan == 2) { tingkatanAwan = 2; } else { if (tingkatAwan == 3) { tingkatanAwan = 1; } } } i = 1; while (i <= 2) { j = tingkatanAwan; while (j <= 4) { awan = attachMovie('awan_mc', 'awan_mc' + dalamAwan, dalamAwan); awan._x = 320 + (j - 1) * 150; awan._y = 140 + (i - 1) * 260; if (tingkatAwan == 1) { if (j == 1) { awan._alpha = 25; } else { if (j == 2) { awan._alpha = 50; } else { if (j == 3) { awan._alpha = 75; } else { if (j == 4) { awan._alpha = 100; } } } } } else { if (tingkatAwan == 2) { if (j == 1) { awan._alpha = 50; } else { if (j == 2) { awan._alpha = 75; } else { if (j == 3) { awan._alpha = 90; } else { if (j == 4) { awan._alpha = 100; } } } } } else { if (tingkatAwan == 3) { if (j == 1) { awan._alpha = 75; } else { if (j == 2) { awan._alpha = 80; } else { if (j == 3) { awan._alpha = 90; } else { if (j == 4) { awan._alpha = 100; } } } } } } } ++dalamAwan; ++j; } ++i; } } function initLevel() { keTotalMusuh = 10; cekBarisKe(); if (bykBaris == 1) { awalI = 3; akhirI = 3; } else { if (bykBaris == 3) { awalI = 2; akhirI = 4; } else { if (bykBaris == 4) { awalI = 1; akhirI = 4; } else { if (bykBaris == 5) { awalI = 1; akhirI = 5; } } } } } function init() { dalamEfek = 20000; keMusuhAtas = 29000; dalamKotak = 500000; dalamKotak2 = 75000; dalamTanah = 50; dalamPohon = 5000; dalamPohon2 = 50005; dalamHama0 = 50; dalamHama1 = 100; dalamHama2 = 500; dalamPeluru = 25000; dalamUnit1 = 1000; dalamAwal1 = dalamUnit1; xdalamAwal1 = dalamUnit1; dalamMax1 = 1100; dalamUnit2 = 2000; dalamAwal2 = dalamUnit2; xdalamAwal2 = dalamUnit2; dalamMax2 = 2100; dalamUnit3 = 3000; dalamAwal3 = dalamUnit3; xdalamAwal3 = dalamUnit3; dalamMax3 = 3100; dalamUnit4 = 4000; dalamAwal4 = dalamUnit4; xdalamAwal4 = dalamUnit4; dalamMax4 = 4100; dalamUnit5 = 5000; dalamAwal5 = dalamUnit5; xdalamAwal5 = dalamUnit5; dalamMax5 = 5100; dalamMinions = 900; dalamTools = 50000; dalamTools2 = 50050; dalamUI = 90000; dalamEfek2 = 100050; dalamEfek3 = 89050; dalamTanda = 80010; dalamAwan = 80200; bykGempa = 1; achievementsKe = 1; pegangMinions = false; pegangTools = false; sedangGempa = false; akanPasangTools = false; akanPasangFruit = false; masukArray1 = new Array(); masukArray2 = new Array(); masukArray3 = new Array(); masukArray4 = new Array(); masukArray5 = new Array(); if (pilihMode == 'challenge' && pilihChallenge == 1) { speedKe = 2; pilihanSpeed = 2; } else { if (pilihMode == 'challenge' && pilihChallenge == 2) { speedKe = 4; pilihanSpeed = 4; } else { if (pilihMode == 'challenge' && pilihChallenge == 3) { speedKe = 8; pilihanSpeed = 8; } else { speedKe = pilihanSpeed; } } } dalamMusuh = 1; i = 1; while (i <= 200) { _root['keDalamMusuh' + i] = 0; ++i; } musuhMasuk = new Array(); i = 1; while (i <= 5) { musuhMasuk[i] = new Array(); j = 1; while (j <= 20) { musuhMasuk[i][j] = 0; ++j; } ++i; } pohonMasuk = new Array(); i = 1; while (i <= 5) { pohonMasuk[i] = new Array(); j = 1; while (j <= 12) { pohonMasuk[i][j] = 0; ++j; } ++i; } _root.minionsKe = 0; _root.minionsMax = 400 + random(400); xkiniLife = kiniLife; totalLife = kiniLife; banyakKali = 0; cekUang(); cekMusuhWave(); initMusuh(); initWave(); masihMain = true; sedangPause = false; delaySpecial = false; adaTools = false; cekToolsAction(); meleeAction = new Array(); meleeAwal = new Array(); rangeAction = new Array(); rangeAwal = new Array(); specialToolsAction = new Array(); specialToolsAwal = new Array(); i = 1; while (i <= 9) { if (_root['meleePowerUps' + i] == 2) { meleeAction[i] = xusageMelee2[i]; meleeAwal[i] = xusageMelee2[i]; } else { meleeAction[i] = xusageMelee[i]; meleeAwal[i] = xusageMelee[i]; } ++i; } i = 1; while (i <= 3) { if (_root['rangePowerUps' + i] == 2) { rangeAction[i] = xusageRange2[i]; rangeAwal[i] = xusageRange2[i]; } else { rangeAction[i] = xusageMelee[i]; rangeAwal[i] = xusageMelee[i]; } ++i; } i = 1; while (i <= 3) { specialToolsAction[i] = xusageSpecialTools[i]; specialToolsAwal[i] = xusageSpecialTools[i]; ++i; } } function initAwalMusuh() { jumlahMusuh = new Array(); i = 1; while (i <= keTotalMusuh) { jumlahMusuh[i] = new Array(); j = awalI; while (j <= akhirI) { jumlahMusuh[i][j] = 0; ++j; } ++i; } } function initMusuh() { jumlahMusuh = new Array(); i = 1; while (i <= keTotalMusuh) { jumlahMusuh[i] = new Array(); j = awalI; while (j <= akhirI) { jumlahMusuh[i][j] = 0; ++j; } ++i; } if (xlevel <= 10) { cekMusuhApaSaja(); } else { if (xlevel <= 20) { cekMusuhApaSaja2(); } else { if (xlevel <= 30) { cekMusuhApaSaja3(); } else { if (xlevel <= 40) { cekMusuhApaSaja4(); } else { if (xlevel <= 50) { cekMusuhApaSaja5(); } else { if (xlevel <= 60) { cekMusuhApaSaja6(); } else { if (xlevel <= 70) { cekMusuhApaSaja7(); } else { if (xlevel <= 80) { cekMusuhApaSaja8(); } else { if (xlevel <= 90) { cekMusuhApaSaja9(); } else { if (xlevel <= 100) { cekMusuhApaSaja10(); } else { if (xlevel >= 101) { cekMusuhApaSaja10(); } } } } } } } } } } } } function initWave() { banyakMusuh = 0; musuhKini = 0; i = 1; while (i <= keTotalMusuh) { j = awalI; while (j <= akhirI) { if (jumlahMusuh[i][j] != undefined) { banyakMusuh += jumlahMusuh[i][j]; } ++j; } ++i; } cekDelayWave(); i = 1; while (i <= 5) { _root['barisMax' + i] = _root['barisAwal' + i]; ++i; } xtotalMusuh = 0; } function cekTotalMusuh(indi) { if (xtotalMusuh <= 0 && musuhKini >= banyakMusuh) { if (waveKini < totalWave) { munculKhusus(); ++waveKini; ui.wave_mc.gotoAndPlay(2); if (waveKini >= totalWave) { backFinalWave(); ui.wave_mc.keWave = 'Final Wave !'; } else { ui.wave_mc.keWave = 'Wave ' + waveKini; } initMusuh(); initWave(); cekTandaSeru(); } else { musuhFinal = indi; menangLevel(); } } } function cekTandaSeru() { adaMusuhBaris1 = false; adaMusuhBaris2 = false; adaMusuhBaris3 = false; adaMusuhBaris4 = false; adaMusuhBaris5 = false; i = 1; while (i <= keTotalMusuh) { if (jumlahMusuh[i][1] > 0) { adaMusuhBaris1 = true; } if (jumlahMusuh[i][2] > 0) { adaMusuhBaris2 = true; } if (jumlahMusuh[i][3] > 0) { adaMusuhBaris3 = true; } if (jumlahMusuh[i][4] > 0) { adaMusuhBaris4 = true; } if (jumlahMusuh[i][5] > 0) { adaMusuhBaris5 = true; } ++i; } if (adaMusuhBaris1 == true) { tanda_mc1.tandaseru_mc.gotoAndPlay(2); } if (adaMusuhBaris2 == true) { tanda_mc2.tandaseru_mc.gotoAndPlay(2); } if (adaMusuhBaris3 == true) { tanda_mc3.tandaseru_mc.gotoAndPlay(2); } if (adaMusuhBaris4 == true) { tanda_mc4.tandaseru_mc.gotoAndPlay(2); } if (adaMusuhBaris5 == true) { tanda_mc5.tandaseru_mc.gotoAndPlay(2); } } function cekHarga(indi) { hargaUnit = 0; cekKeHarga(); if (indi <= 9) { if (_root['meleePowerUps' + indi] == 1) { hargaUnit = Math.ceil(hargaMelee[indi] * 0.5); } else { hargaUnit = hargaMelee[indi]; } } else { if (indi <= 30) { if (_root['rangePowerUps' + (indi - 20)] == 1) { hargaUnit = Math.ceil(hargaRange[indi - 20] * 0.5); } else { hargaUnit = hargaRange[indi - 20]; } } else { if (indi <= 40) { hargaUnit = hargaSpecialTools[indi - 30]; } else { if (indi <= 70) { hargaUnit = hargaPlant[indi - 40]; } else { if (indi <= 90) { if (_root['minionsPowerUps' + (indi - 70)] == 1) { hargaUnit = Math.ceil(hargaMinion[indi - 70] * 0.5); } else { hargaUnit = hargaMinion[indi - 70]; } } else { if (indi <= 110) { if (_root['specialsPowerUps' + (indi - 90)] == 3) { hargaUnit = Math.ceil(hargaSpecials[indi - 90] * 0.5); } else { hargaUnit = hargaSpecials[indi - 90]; } } } } } } } } function buatUI() { ui = attachMovie('ui_mc', 'ui_mc', dalamUI); ui.onEnterFrame = enterUI; i = 1; while (i <= 12) { ui['army' + i]._visible = false; ui['gagal' + i]._visible = false; ui['key' + i].xkey = 'Key ' + i; ui['key' + i].gotoAndStop(2); ui['xjumlahUnit' + i] = ''; ++i; } i = 1; while (i <= maxBox) { ui['army' + i]._visible = true; ui['xjumlahUnit' + i] = _root['jumlahUnit' + i]; ui['army' + i].gotoAndStop(_root['setupArmy' + i]); ui['gagal' + i]._visible = false; ui['delayGagal' + i] = 100; ui['maxGagal' + i] = 100; cekHarga(_root['setupArmy' + i]); if (buahKumpul == true) { if (i >= 6) { ui['xjumlahUnit' + i] = 5; ui['army' + i].enabled = false; } else { ui['xjumlahUnit' + i] = 0; } } else { if (jadiPest == true) { ui['xjumlahUnit' + i] = 5; } else { ui['xjumlahUnit' + i] = hargaUnit; } } ui['army' + i].delayBar = 0; if (ui['army' + i]._currentframe >= 91 && ui['army' + i]._currentframe <= 110) { if (_root['specialsPowerUps' + (_root['setupArmy' + i] - 90)] == 4) { ui['army' + i].maxBar = hargaUnit * 0.05; } else { ui['army' + i].maxBar = hargaUnit * 0.1; } } else { ui['army' + i].maxBar = hargaUnit * 0.1; } ui['army' + i].keArmy = i; if (ui['army' + i]._currentframe != 200) { ui['army' + i].onRollOver = overArmy; ui['army' + i].onRollOut = outArmy; ui['army' + i].onRelease = klikArmy; } ui['army' + i].onEnterFrame = enterArmy; ui['army' + i].gelap._visible = false; ui['army' + i].kedip.gotoAndStop(1); ui['army' + i].bar._yscale = 0; ui['army' + i].gembok_mc._visible = false; ++i; } i = 1; while (i <= 10) { ui['army' + i].khususBisaLagi = false; if (ui['army' + i]._currentframe <= 9) { if (_root['meleePowerUps' + _root['setupArmy' + i]] == 3) { ui['army' + i].khususBisaLagi = true; } } else { if (ui['army' + i]._currentframe <= 30) { if (_root['rangePowerUps' + (_root['setupArmy' + i] - 20)] == 3) { ui['army' + i].khususBisaLagi = true; } } else { if (ui['army' + i]._currentframe <= 70) { if (_root['buahPowerUps' + (_root['setupArmy' + i] - 40)] == 5) { ui['army' + i].khususBisaLagi = true; } } } } ++i; } cekSpeed(); ui.satu_mc.onRelease = function () { pilihanSpeed = 1; cekSpeed(); }; ui.dua_mc.onRelease = function () { pilihanSpeed = 2; cekSpeed(); }; ui.empat_mc.onRelease = function () { pilihanSpeed = 4; cekSpeed(); }; ui.delapan_mc.onRelease = function () { pilihanSpeed = 8; cekSpeed(); }; if (pilihMode == 'challenge') { ui.satu_mc.enabled = false; ui.dua_mc.enabled = false; ui.empat_mc.enabled = false; ui.delapan_mc.enabled = false; } else { ui.satu_mc.enabled = true; ui.dua_mc.enabled = true; ui.empat_mc.enabled = true; ui.delapan_mc.enabled = true; } pegangSekop = false; adaPlantGak = false; i = 1; while (i <= maxBox) { if (ui['army' + i]._currentframe >= 41 && ui['army' + i]._currentframe <= 70) { adaPlantGak = true; } ++i; } if (adaPlantGak == true) { ui.sekop._visible = true; } else { ui.sekop._visible = false; } ui.sekop.gelap._visible = false; ui.sekop.onRelease = function () { buatSekop(); }; ui.menu_btn.onRelease = function () { sedangPause = true; option = attachMovie('option_mc', 'option_mc', 581818); option._x = 400; option._y = -175; i = 100050; while (i <= 100150) { _root['koin_mc' + i]._visible = false; ++i; } option.continue_btn.onRelease = function () { i = 100050; while (i <= 100150) { _root['koin_mc' + i]._visible = true; ++i; } removeMovieClip(option_mc); sedangPause = false; }; option.restart_btn.onRelease = function () { sedangPause = true; cekPause(); clearInterval(idDelaySelesai); cekTombol(false); cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'restart'; }; option.quit_btn.onRelease = function () { backStory(); sedangPause = true; cekPause(); clearInterval(idDelaySelesai); cekTombol(false); cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'restart2'; }; }; ui.more_btn.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; } function overArmy() { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } ui['key' + indi].gotoAndStop(1); } function outArmy() { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } ui['key' + indi].gotoAndStop(2); } function enterArmy() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.bar._yscale > 0) { if (buahKumpul == true) { this.bar._yscale = 0; } else { if (jadiPest == true) { this.bar._yscale = 0; } else { if (this.khususBisaLagi == true) { this.bar._yscale = 0; } } } if (this.delayBar >= this.maxBar) { this.delayBar = 0; if (speedKe == 1) { --this.bar._yscale; } else { if (speedKe == 2) { this.bar._yscale -= 2; } else { if (speedKe == 4) { this.bar._yscale -= 4; } else { if (speedKe == 8) { this.bar._yscale -= 8; } } } } if (this.bar._yscale <= 0) { backOke(); this.kedip.gotoAndPlay(2); this.bar._yscale = 0; } } else { if (pakaiSekali == false) { ++this.delayBar; } else { this._visible = false; myStr = new String(this); if (myStr.length == 19) { zzindi = Number(myStr.substr(myStr.length - 1, 1)); } else { zzindi = Number(myStr.substr(myStr.length - 2, 2)); } ui['xjumlahUnit' + zzindi] = ''; } } } i = 1; while (i <= maxBox) { if (ui['delayGagal' + i] >= ui['maxGagal' + i]) { ui['gagal' + i]._visible = false; ui['delayGagal' + i] = ui['maxGagal' + i]; } else { ui['gagal' + i]._visible = true; ++ui['delayGagal' + i]; } ++i; } ui.scoreKe = 'Score ' + scoreKe; if (pilihMode == 'survival') { ui.levelKe = 'Day: ' + xlevel; } else { ui.levelKe = 'Day ' + xlevel + '/100'; } } } function buatSekop() { if (ui.sekop.gelap._visible == false) { cekRemoveKotak(); ui.sekop.gelap._visible = true; sekop = attachMovie('sekop_mc', 'sekop_mc', dalamPohon2); sekop._yscale = 75; sekop._xscale = 75; sekop._x = _root._xmouse; sekop._y = _root._ymouse; startDrag(sekop_mc, false); pegangSekop = true; } else { pegangSekop = false; ui.sekop.gelap._visible = false; removeMovieClip(sekop_mc); stopDrag(); } } function enterUI() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this.totalWave = 'Wave: ' + waveKini + '/' + totalWave; if (musuhTakTerhingga == true) { this.totalMusuh = 'Enemy: ~'; } else { this.totalMusuh = 'Enemy: ' + musuhKini + '/' + banyakMusuh; } persenLife = (kiniLife / totalLife) * 100; if (persenLife <= 0) { persenLife = 0; } else { if (persenLife >= 100) { persenLife = 100; } } if (jumlahUang <= 0) { jumlahUang = 0; } this.jumlahUang = jumlahUang; this.life_mc._xscale = persenLife; this.lifeKe = kiniLife + ' / ' + totalLife; this.totalCoin = 'Coin: ' + xmoney; } } function cekSpeed() { ui.satu_mc.gotoAndStop(1); ui.dua_mc.gotoAndStop(1); ui.empat_mc.gotoAndStop(1); ui.delapan_mc.gotoAndStop(1); speedKe = pilihanSpeed; if (speedKe == 1) { ui.satu_mc.gotoAndStop(2); } else { if (speedKe == 2) { ui.dua_mc.gotoAndStop(2); } else { if (speedKe == 4) { ui.empat_mc.gotoAndStop(2); } else { if (speedKe == 8) { ui.delapan_mc.gotoAndStop(2); } } } } } function cekTerangSemua() { i = 1; while (i <= maxBox) { ui['army' + i].gelap._visible = false; ++i; } removeKotak2(); } function klikArmy(xxindi) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (xxindi != undefined) { this = ui['army' + xxindi]; } if (this.bar._yscale == 0) { if (xxindi != undefined) { indi = xxindi; } else { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } } backKlik(); cekRemoveKotak2(); if (ui['army' + indi]._currentframe <= 9) { keItems = ui['army' + indi]._currentframe; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilTools(keItems, 'melee', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 30) { keItems = ui['army' + indi]._currentframe - 20; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilTools(keItems, 'range', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 40) { keItems = ui['army' + indi]._currentframe - 30; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilTools(keItems, 'specialTools', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 70) { keItems = ui['army' + indi]._currentframe - 40; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilPlants(keItems, '', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 90) { keItems = ui['army' + indi]._currentframe - 70; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilMinions(keItems, '', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 110) { keItems = ui['army' + indi]._currentframe - 90; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambilSpecials(keItems, '', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 170) { keItems = ui['army' + indi]._currentframe - 160; if (jumlahUang >= ui['xjumlahUnit' + indi] || jadiPest == true) { if (ui['xjumlahUnit' + indi] > 0) { ambilPest(keItems, '', this); } else { ui['gagal' + indi].gotoAndStop(3); ui['delayGagal' + indi] = 0; } } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } else { if (ui['army' + indi]._currentframe <= 199) { keItems = ui['army' + indi]._currentframe - 170; if (jumlahUang >= ui['xjumlahUnit' + indi]) { ambiTanah(keItems, '', this); } else { ui['gagal' + indi].gotoAndStop(1); ui['delayGagal' + indi] = 0; } } } } } } } } } } else { myStr = new String(this); if (myStr.length == 19) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } ui['gagal' + indi].gotoAndStop(2); ui['delayGagal' + indi] = 0; } } } function ambilTools(indi, indi2, indi3) { if (indi3.gelap._visible == false) { cekTerangSemua(); indi3.gelap._visible = true; jenisTools = indi; tipeTools = indi2; buatTools(indi3); } else { indi3.gelap._visible = false; removeMovieClip(tools); pegangTools = false; stopDrag(); } } function ambilPlants(indi, indi2, indi3) { if (indi3.gelap._visible == false) { cekTerangSemua(); indi3.gelap._visible = true; jenisPlants = indi; xpohon = attachMovie('pohon' + jenisPlants, 'xpohon', dalamPohon2); xpohon.topiKe = _root['topiPasang' + jenisPlants]; xpohon.sepatuKe = _root['sepatuPasang' + jenisPlants]; xpohon._x = _root._xmouse; xpohon._y = _root._ymouse + 25; if (arahBalik == true) { xpohon.onEnterFrame = enterxpohon; } startDrag(xpohon, false); buatKotak(indi3); } else { indi3.gelap._visible = false; removeMovieClip(xpohon); stopDrag(); } } function ambiTanah(indi, indi2, indi3) { if (indi3.gelap._visible == false) { cekTerangSemua(); indi3.gelap._visible = true; jenisPlants = indi; xpohon = attachMovie('rusak_mc', 'xpohon', dalamPohon2); xpohon.gotoAndStop(2); xpohon.topiKe = _root['topiPasang' + jenisPlants]; xpohon.sepatuKe = _root['sepatuPasang' + jenisPlants]; xpohon._x = _root._xmouse; xpohon._y = _root._ymouse + 25; if (arahBalik == true) { xpohon.onEnterFrame = enterxpohon; } startDrag(xpohon, false); xbuatKotak(indi3); } else { indi3.gelap._visible = false; removeMovieClip(xpohon); stopDrag(); } } function enterxpohon() { if (j >= 4) { this._xscale = -100; } else { this._xscale = 100; } } function ambilMinions(indi, indi2, indi3) { if (indi3.gelap._visible == false) { cekTerangSemua(); buatKotak2(indi3); indi3.gelap._visible = true; jenisMinions = indi; xminions = attachMovie('minions' + jenisMinions, 'xminions', dalamPohon2); xminions.topiKe = _root['topiPasang' + jenisMinions]; xminions.sepatuKe = _root['sepatuPasang' + jenisMinions]; keKotak = awalI; xminions._x = _root._xmouse; xminions._y = _root._ymouse; xminions.onEnterFrame = enterxminions; startDrag(xminions, false); } else { removeKotak2(); indi3.gelap._visible = false; removeMovieClip(xminions); stopDrag(); } } function ambilPest(indi, indi2, indi3) { if (indi3.gelap._visible == false) { cekTerangSemua(); buatKotak3(indi3); indi3.gelap._visible = true; jenisMusuhx = indi; xmusuh = attachMovie('musuh' + jenisMusuhx, 'xminions', dalamPohon2); if (jenisMusuhx == 5) { xmusuh.sepatuKe = 13; } else { xmusuh.sepatuKe = 10; } xmusuh.heliKe = 30; xmusuh.tembakanKe = 10; xmusuh.starKe = 10; xmusuh.topiKe = 10; xmusuh.bigThing = false; xmusuh.pecahDua = false; xmusuh.antiSenjata = false; xmusuh.traktor.gotoAndStop(30); xmusuh.jenisMusuhx = jenisMusuhx; keKotak = awalI; xmusuh._x = _root._xmouse; xmusuh._y = _root._ymouse; xmusuh.onEnterFrame = enterxmusuh; startDrag(xminions, false); } else { removeKotak2(); indi3.gelap._visible = false; removeMovieClip(xmusuh); stopDrag(); } } function enterxmusuh() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (sorotKotak == true) { this._x = 750; if (this.jenisMusuhx == 6 || this.jenisMusuhx == 9) { this._y = 140 + (keKotak - 1) * 103; } else { this._y = 130 + (keKotak - 1) * 103; } } else { this._x = _root._xmouse; this._y = _root._ymouse; } } } function ambilSpecials(indi, indi2, indi3) { jumlahUang -= ui['xjumlahUnit' + indi]; indi3.bar._yscale = 100; buatSpecials(keItems); removeKotak2(); cekRemoveKotak(); removeMovieClip(xminions); } function buatSpecials(indi) { special = attachMovie('special' + indi, 'special', 70050); special._x = 400; special._y = 300; delaySpecial = true; } function cekAtributeSpecials(indi) { if (indi == 1) { efek.damage = 400; } else { if (indi == 2) { efek.damage = 400; } else { if (indi == 3) { efek.damage = 400; } else { if (indi == 4) { efek.damage = 800; } else { if (indi == 5) { efek.damage = 800; } else { if (indi == 6) { efek.damage = 1200; } } } } } } } function cekSpecialMuncul(indi) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna6; if (_root.guna6 >= 100) { dapatMedal(46); } } dapatMedal(6); if (indi == 1) { backRain(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanAir', 'efek' + dalamEfek, dalamEfek); efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons1 = efek.damage; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++j; } ++i; } } else { if (indi == 2) { backSnow(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanEs', 'efek' + dalamEfek, dalamEfek); efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons2 = efek.damage; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++j; } ++i; } } else { if (indi == 3) { backAcid(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanAcid', 'efek' + dalamEfek, dalamEfek); efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons3 = efek.damage; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++j; } ++i; } } else { if (indi == 4) { backThunder(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanPetir', 'efek' + dalamEfek, dalamEfek); efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons4 = efek.damage; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++j; } ++i; } } else { if (indi == 5) { backSun(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanSinar', 'efek' + dalamEfek, dalamEfek); efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons5 = efek.damage; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++j; } ++i; } } else { if (indi == 6) { backEarth(); i = 1; while (i <= 6) { j = 1; while (j <= 6) { efek = attachMovie('hujanGempa', 'rusak' + dalamTanah, dalamTanah); _root['xhujanGempa' + bykGempa] = efek; efek._x = 150 * (i - 1); efek._y = 150 * (j - 1); cekAtributeSpecials(indi); if (_root['specialsPowerUps' + indi] == 1) { efek.damage *= 1.5; } else { if (_root['specialsPowerUps' + indi] == 2) { efek.damage *= 3; } } if (_root['jumlahSpecial' + indi] >= 1) { efek.damage *= 1 + _root['jumlahSpecial' + indi] / 1; } _root.damageSpecialWeapons6 = efek.damage; efekGempa(); ++bykGempa; ++dalamTanah; ++j; } ++i; } } } } } } } delaySpecial = false; } function efekGempa() { sedangGempa = true; indiGempa = 0; gempaKe = 0; gempaMax = 150; } function enterxminions() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (sorotKotak == true) { this._x = 50; this._y = 120 + (keKotak - 1) * 103; } else { this._x = _root._xmouse; this._y = _root._ymouse; } } } function buatKotak2(indi3) { if (masihMain == true) { i = awalI; while (i <= akhirI) { xkotak = attachMovie('kotak2', 'xkotak' + i, dalamKotak2); xkotak._x = 0; xkotak._y = 140 + (i - 1) * 95; xkotak.indi3 = indi3; xkotak.onRollOver = overKotak2; xkotak.onRollOut = outKotak2; xkotak.onRelease = klikKotak2; xkotak.onReleaseOutside = outKotak2; ++dalamKotak2; ++i; } } } function removeKotak2() { i = awalI; while (i <= akhirI) { removeMovieClip(_root['xkotak' + i]); ++i; } } function overKotak2() { this.gotoAndStop(2); myStr = new String(this); keKotak = Number(myStr.substr(myStr.length - 1, 1)); sorotKotak = true; } function outKotak2() { this.gotoAndStop(1); sorotKotak = false; } function klikKotak2() { myStr = new String(this); keKotak = Number(myStr.substr(myStr.length - 1, 1)); jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; buatMinions(keKotak); removeKotak2(); cekRemoveKotak(); removeMovieClip(xminions); } function buatKotak3(indi3) { if (masihMain == true) { i = awalI; while (i <= akhirI) { xkotak = attachMovie('kotak2', 'xkotak' + i, dalamKotak2); xkotak._x = 0; xkotak._y = 140 + (i - 1) * 95; xkotak.indi3 = indi3; xkotak.onRollOver = overKotak2; xkotak.onRollOut = outKotak2; xkotak.onRelease = klikKotak3; ++dalamKotak2; ++i; } } } function klikKotak3() { myStr = new String(this); keKotak = Number(myStr.substr(myStr.length - 1, 1)); --ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; musuhKhusus = this.indi3.keArmy; buatMusuh(keKotak, '', 'khusus'); removeKotak2(); cekRemoveKotak(); removeMovieClip(xminions); } function buatKotak(indi3) { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { kotak = attachMovie('kotak', 'kotak' + i + j, dalamKotak); kotak._x = 110 + (j - 1) * 115; kotak._y = 140 + (i - 1) * 95; kotak.indi3 = indi3; kotak.onRollOver = overKotak; kotak.onRollOut = outKotak; kotak.onRelease = klikKotak; kotak.onReleaseOutside = outKotak; kotak._alpha = 0; ++dalamKotak; ++j; } ++i; } } function xbuatKotak(indi3) { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { kotak = attachMovie('kotak', 'kotak' + i + j, dalamKotak); kotak._x = 110 + (j - 1) * 115; kotak._y = 140 + (i - 1) * 95; kotak.indi3 = indi3; kotak.onRollOver = xoverKotak; kotak.onRollOut = xoutKotak; kotak.onRelease = xklikKotak; kotak.onReleaseOutside = xoutKotak; kotak._alpha = 0; ++dalamKotak; ++j; } ++i; } } function overKotak() { myStr = new String(this); i = Number(myStr.substr(myStr.length - 2, 1)); j = Number(myStr.substr(myStr.length - 1, 1)); if (_root['slot' + i + j] == 0) { xpohon2 = attachMovie('pohon' + jenisPlants, 'xpohon2', 5000 + j + 1000 * (i - 1)); xpohon2.topiKe = _root['topiPasang' + jenisPlants]; xpohon2.sepatuKe = _root['sepatuPasang' + jenisPlants]; xpohon2._x = 110 + (j - 1) * 115; xpohon2._y = 155 + (i - 1) * 103; xpohon2._alpha = 50; if (arahBalik == true) { if (j >= 4) { xpohon2._xscale = -100; } else { xpohon2._xscale = 100; } } } } function xoverKotak() { myStr = new String(this); i = Number(myStr.substr(myStr.length - 2, 1)); j = Number(myStr.substr(myStr.length - 1, 1)); if (_root['slot' + i + j] == 200) { xpohon2 = attachMovie('rusak_mc', 'xpohon2', 4950 + j + 1000 * (i - 1)); xpohon2.gotoAndStop(2); xpohon2.topiKe = _root['topiPasang' + jenisPlants]; xpohon2.sepatuKe = _root['sepatuPasang' + jenisPlants]; xpohon2._x = 110 + (j - 1) * 115; xpohon2._y = 155 + (i - 1) * 103; xpohon2._alpha = 50; if (arahBalik == true) { if (j >= 4) { xpohon2._xscale = -100; } else { xpohon2._xscale = 100; } } } } function outKotak() { removeMovieClip(xpohon2); } function xoutKotak() { removeMovieClip(xpohon2); } function klikKotak() { myStr = new String(this); i = Number(myStr.substr(myStr.length - 2, 1)); j = Number(myStr.substr(myStr.length - 1, 1)); cekHibrida(_root['slot' + i + j], jenisPlants); if (_root['slot' + i + j] == 0 || bisaTerus == true) { backTanah(); akanPasangFruit = true; if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna4; if (_root.guna4 >= 100) { dapatMedal(44); } } dapatMedal(4); jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; _root['slot' + i + j] = jenisPlants; this.indi3.bar._yscale = 100; if (bisaHibrida == true) { pohon = attachMovie('pohon' + jenisPlants, 'pohon' + dalamPohon, 4950 + j + 1000 * (i - 1)); pohon._x = 110 + (j - 1) * 115; pohon._y = 140 + (i - 1) * 103; _root['xpohonSini' + i + j] = pohon; _root['pohonSini' + i + j].pasangan = pohon; _root['xpohonSini' + i + j].pasangan = _root['pohonSini' + i + j]; } else { pohon = attachMovie('pohon' + jenisPlants, 'pohon' + dalamPohon, 5000 + j + 1000 * (i - 1)); pohon._x = 110 + (j - 1) * 115; pohon._y = 155 + (i - 1) * 103; _root['pohonSini' + i + j] = pohon; } pohon.miring = false; if (arahBalik == true) { if (j >= 4) { pohon._xscale = -100; pohon.miring = true; } else { pohon._xscale = 100; } } pohon.posisi = i; pohon.posisiI = i; pohon.posisiJ = j; pohon.ambilArrayPohon = 0; if (bisaHibrida == true) { pohonMasuk[pohon.posisi][j + 6] = dalamPohon; } else { pohonMasuk[pohon.posisi][j] = dalamPohon; } pohon.topiKe = _root['topiPasang' + jenisPlants]; pohon.sepatuKe = _root['sepatuPasang' + jenisPlants]; pohon.serangKe = 0; pohon.delayKedip = 0; pohon.delayRacun = 0; pohon.maxRacun = 50; pohon.jenisBuah = jenisPlants; cekAtributePohon(jenisPlants); pohon.onRelease = klikPohon; pohon.onRollOver = overPohon; pohon.onRollOut = outPohon; pohon.onEnterFrame = enterPohon; if (pilihMode == 'survival') { if (bisaHibrida == true) { _root['hibridaKosong' + i + j] = jenisPlants; } else { _root['tanahKosong' + i + j] = jenisPlants; } } ++dalamPohon; if (dalamPohon >= 6000) { dalamPohon = 5000; } cekRemoveKotak(); } } function xklikKotak() { myStr = new String(this); i = Number(myStr.substr(myStr.length - 2, 1)); j = Number(myStr.substr(myStr.length - 1, 1)); if (_root['slot' + i + j] == 200) { jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; _root['slot' + i + j] = 0; if (pilihMode == 'survival') { _root['tanahKosong' + i + j] = 0; _root['hibridaKosong' + i + j] = 0; } this.indi3.bar._yscale = 100; rusak = attachMovie('rusak_mc', 'rusak' + dalamTanah, dalamTanah); rusak.gotoAndStop(2); rusak._x = 110 + (j - 1) * 115; rusak._y = 155 + (i - 1) * 103; rusak.posisi = i; rusak.posisiI = i; rusak.posisiJ = j; rusak.ambilArrayPohon = 0; ++dalamTanah; cekRemoveKotak(); } } function cekHibrida(indi, indi2) { bisaTerus = false; bisaHibrida = false; g = 1; while (g <= 10) { if (_root['setupRiset' + g + 1] == indi + 40 && _root['setupRiset' + g + 2] == indi2 + 40) { bisaTerus = true; bisaHibrida = true; } else { if (_root['setupRiset' + g + 1] == indi2 + 40 && _root['setupRiset' + g + 2] == indi + 40) { bisaTerus = true; bisaHibrida = true; } } ++g; } } function buatPohonKhusus() { i = awalI; while (i <= akhirI) { j = 1; while (j <= 3) { if (i == 1 && j == 1) { jenisPlants = 3; munculPohon(); } else { if (i == 1 && j == 2) { jenisPlants = 6; munculPohon(); } else { if (i == 1 && j == 3) { jenisPlants = 1; munculPohon(); } } } if (i == 2 && j == 1) { jenisPlants = 2; munculPohon(); } else { if (i == 2 && j == 2) { jenisPlants = 1; munculPohon(); } else { if (i == 2 && j == 3) { jenisPlants = 2; munculPohon(); } } } if (i == 3 && j == 1) { jenisPlants = 3; munculPohon(); } else { if (i == 3 && j == 2) { jenisPlants = 4; munculPohon(); } else { if (i == 3 && j == 3) { jenisPlants = 2; munculPohon(); } } } if (i == 4 && j == 1) { jenisPlants = 3; munculPohon(); } else { if (i == 4 && j == 2) { jenisPlants = 5; munculPohon(); } else { if (i == 4 && j == 3) { jenisPlants = 6; munculPohon(); } } } if (i == 5 && j == 1) { jenisPlants = 5; munculPohon(); } else { if (i == 5 && j == 2) { jenisPlants = 2; munculPohon(); } else { if (i == 5 && j == 3) { jenisPlants = 6; munculPohon(); } } } ++j; } ++i; } } function buatPohonSurvival() { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { if (_root['tanahKosong' + i + j] >= 1) { _root['slot' + i + j] = 200; jenisPlants = _root['tanahKosong' + i + j]; munculPohon(); jenisPlants = _root['hibridaKosong' + i + j]; munculPohonHibrida(); } ++j; } ++i; } } function buatPohonKhusus2() { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { if (j == 1) { jenisPlants = 10; munculPohon(); } else { if (j == 2) { jenisPlants = 9; munculPohon(); } else { if (j == 3) { jenisPlants = 8; munculPohon(); } else { if (j == 4) { jenisPlants = 7; munculPohon(); } else { if (j == 5) { jenisPlants = 6; munculPohon(); } else { if (j == 6) { jenisPlants = 4; munculPohon(); } } } } } } ++j; } ++i; } } function munculPohon() { pohon = attachMovie('pohon' + jenisPlants, 'pohon' + dalamPohon, 5000 + j + 1000 * (i - 1)); pohon._x = 110 + (j - 1) * 115; pohon._y = 155 + (i - 1) * 103; _root['pohonSini' + i + j] = pohon; _root['slot' + i + j] = jenisPlants; pohon.posisi = i; pohon.posisiI = i; pohon.posisiJ = j; pohon.miring = false; pohon.ambilArrayPohon = 0; pohonMasuk[pohon.posisi][j] = dalamPohon; pohon.topiKe = _root['topiPasang' + jenisPlants]; pohon.sepatuKe = _root['sepatuPasang' + jenisPlants]; pohon.serangKe = 0; pohon.delayKedip = 0; pohon.delayRacun = 0; pohon.maxRacun = 50; pohon.jenisBuah = jenisPlants; cekAtributePohon(jenisPlants); pohon.onRelease = klikPohon; pohon.onRollOver = overPohon; pohon.onRollOut = outPohon; pohon.onEnterFrame = enterPohon; ++dalamPohon; if (dalamPohon >= 6000) { dalamPohon = 5000; } } function munculPohonHibrida() { if (_root['hibridaKosong' + i + j] >= 1) { pohon = attachMovie('pohon' + jenisPlants, 'pohon' + dalamPohon, 4950 + j + 1000 * (i - 1)); pohon._x = 110 + (j - 1) * 115; pohon._y = 140 + (i - 1) * 103; _root['xpohonSini' + i + j] = pohon; _root['pohonSini' + i + j].pasangan = pohon; _root['xpohonSini' + i + j].pasangan = _root['pohonSini' + i + j]; pohon.posisi = i; pohon.posisiI = i; pohon.posisiJ = j; pohon.miring = false; pohon.ambilArrayPohon = 0; pohonMasuk[pohon.posisi][j] = dalamPohon; pohon.topiKe = _root['topiPasang' + jenisPlants]; pohon.sepatuKe = _root['sepatuPasang' + jenisPlants]; pohon.serangKe = 0; pohon.delayKedip = 0; pohon.delayRacun = 0; pohon.maxRacun = 50; pohon.jenisBuah = jenisPlants; cekAtributePohon(jenisPlants); pohon.onRelease = klikPohon; pohon.onRollOver = overPohon; pohon.onRollOut = outPohon; pohon.onEnterFrame = enterPohon; ++dalamPohon; if (dalamPohon >= 6000) { dalamPohon = 5000; } } } function klikPohon() { if (pegangSekop == true) { this.pasangan.live = 0; this.live = 0; } } function overPohon() { if (pegangSekop == true) { this.pasangan._alpha = 40; this._alpha = 40; } } function outPohon() { if (pegangSekop == true) { this.pasangan._alpha = 100; this._alpha = 100; } } function cekRemoveKotak() { pegangSekop = false; ui.sekop.gelap._visible = false; removeMovieClip(sekop_mc); removeMovieClip(tools); pegangTools = false; removeMovieClip(xpohon); removeMovieClip(xpohon2); stopDrag(); i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { removeMovieClip(_root['kotak' + i + j]); delete _root['kotak' + i + j].onRollOver; delete _root['kotak' + i + j].onRollOut; delete _root['kotak' + i + j].onRelease; ++j; } ++i; } cekTerangSemua(); } function cekRemoveKotak2() { pegangSekop = false; ui.sekop.gelap._visible = false; removeMovieClip(sekop_mc); removeMovieClip(tools); pegangTools = false; removeMovieClip(xpohon); removeMovieClip(xpohon2); stopDrag(); i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { removeMovieClip(_root['kotak' + i + j]); delete _root['kotak' + i + j].onRollOver; delete _root['kotak' + i + j].onRollOut; delete _root['kotak' + i + j].onRelease; ++j; } ++i; } } function kenaToolsRange(indi, indi2) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (indi.keTools == 1) { backBall(); } else { if (indi.keTools == 2) { backGun(); } else { if (indi.keTools == 3) { backNail(); } } } if (indi.keTools == 1) { peluruRange = attachMovie('bolabase_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 40 + 2 * speedKe; peluruRange.speedY = 5; } else { if (indi.keTools == 2) { peluruRange = attachMovie('pelurugun_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 50 + 2 * speedKe; peluruRange.speedY = 0; } else { if (indi.keTools == 3) { peluruRange = attachMovie('pelurunail_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 60 + 2 * speedKe; peluruRange.speedY = 0; } } } peluruRange.keTools = indi.keTools; peluruRange._x = indi._x + 10; peluruRange._y = indi._y; peluruRange.indi2 = indi2; peluruRange.damage = indi.damage; if (indi2 == 2) { toolsSpecial = 0; } peluruRange.onEnterFrame = enterPeluruRange; ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } } } function kenaToolsRange2(indi, indi2) { if (masihMain == true) { if (indi.keTools == 1) { backBall(); backBall(); } else { if (indi.keTools == 2) { backGun(); backGun(); } else { if (indi.keTools == 3) { backNail(); backNail(); } } } i = 1; while (i <= 5) { if (indi.keTools == 1) { peluruRange = attachMovie('bolabase_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 40 + 5 * speedKe; peluruRange.speedY = 5; } else { if (indi.keTools == 2) { peluruRange = attachMovie('pelurugun_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 50 + 5 * speedKe; peluruRange.speedY = 0; } else { if (indi.keTools == 3) { peluruRange = attachMovie('pelurunail_mc', 'peluruRange' + dalamPeluru, dalamPeluru); peluruRange.speed = 60 + 5 * speedKe; peluruRange.speedY = 0; } } } if (i == 1) { peluruRange.speedY -= 5; } else { if (i == 2) { peluruRange.speedY -= 10; } else { if (i == 3) { peluruRange.speedY -= 0; } else { if (i == 4) { peluruRange.speedY += 5; } else { if (i == 5) { peluruRange.speedY += 10; } } } } } peluruRange.keTools = indi.keTools; peluruRange._x = indi._x + 10; peluruRange._y = indi._y; peluruRange.indi2 = indi2; peluruRange.damage = indi.damage; if (indi2 == 2) { toolsSpecial = 0; } peluruRange.onEnterFrame = enterPeluruRange; ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } ++i; } } } function enterPeluruRange() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed; this._y -= this.speedY * (speedKe / 2); if (this.keTools == 1) { this.speedY -= 0.75; } if (this.indi2 == 2) { this.efekSpecial = true; } else { this.efekSpecial = false; } i = 1; while (i <= 200) { if (_root['keDalamMusuh' + i] != undefined) { if (_root['keDalamMusuh' + i]._visible == true) { if (this.hitTest(_root['keDalamMusuh' + i].indiKena2) && _root['keDalamMusuh' + i].antiSenjata == false) { if (_root['keDalamMusuh' + i].live > 0) { if (this._currentframe == 1) { if (this.keTools == 2) { efekTembak(_root['keDalamMusuh' + i]); } _root['keDalamMusuh' + i].delayKedip = 1; if (efekSpecial == true) { _root['keDalamMusuh' + i].live -= this.damage * 50000000; } else { _root['keDalamMusuh' + i].live -= this.damage * 500000; } _root['keDalamMusuh' + i].indi.kaca.gotoAndPlay(2); if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (this.efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } this.gotoAndPlay(2); } } } else { if (this.hitTest(_root['keDalamMusuh' + i].indiKena) && _root['keDalamMusuh' + i].antiSenjata == false) { if (_root['keDalamMusuh' + i].live > 0) { if (this._currentframe == 1) { if (this.keTools == 2) { efekTembak(_root['keDalamMusuh' + i]); } _root['keDalamMusuh' + i].delayKedip = 1; if (this.efekSpecial == true) { _root['keDalamMusuh' + i].live -= this.damage * 5; } else { _root['keDalamMusuh' + i].live -= this.damage; } if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (this.efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } this.gotoAndPlay(2); } } } else { if (this.hitTest(_root['keDalamMusuh' + i].indiKena) && _root['keDalamMusuh' + i].antiSenjata == true) { cekAsap(this); removeMovieClip(this); } } } } } ++i; } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function kenaTools(indi, indi2) { if (indi2 == 2) { efekSpecial = true; indi.toolsSpecial = 0; } else { efekSpecial = false; } if (efekSpecial == true) { backPukulMaut(); } else { backPukul(); } i = 1; while (i <= 200) { if (_root['keDalamMusuh' + i] != undefined) { if (_root['keDalamMusuh' + i]._visible == true) { if (indi.hitTest(_root['keDalamMusuh' + i].indiKena2) && _root['keDalamMusuh' + i].antiSenjata == false) { _root['keDalamMusuh' + i].delayKedip = 1; if (efekSpecial == true) { _root['keDalamMusuh' + i].live -= indi.damage * 50000000; } else { _root['keDalamMusuh' + i].live -= indi.damage * 500000; } _root['keDalamMusuh' + i].indi.kaca.gotoAndPlay(2); if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } else { if (indi.hitTest(_root['keDalamMusuh' + i]) && _root['keDalamMusuh' + i].antiSenjata == false) { _root['keDalamMusuh' + i].delayKedip = 1; if (efekSpecial == true) { _root['keDalamMusuh' + i].live -= indi.damage * 25; } else { _root['keDalamMusuh' + i].live -= indi.damage; } if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } else { if (indi.hitTest(_root['keDalamMusuh' + i]) && _root['keDalamMusuh' + i].antiSenjata == true) { } } } } } ++i; } } function buatTools(indi3) { akanPasangTools = true; adaTools = true; pegangTools = true; if (tipeTools == 'melee') { tools = attachMovie('melee' + jenisTools, 'tools', dalamTools); tools.specialGak = false; } else { if (tipeTools == 'range') { tools = attachMovie('range' + jenisTools, 'tools', dalamTools); tools.specialGak = false; } else { if (tipeTools == 'specialTools') { tools = attachMovie('specialTools' + jenisTools, 'tools', dalamTools); tools.specialGak = true; if (jenisTools == 2) { tools.posisiKe = 'udara'; } else { if (jenisTools == 3) { tools.posisiKe = 'semua'; } else { tools.posisiKe = 'darat'; } } } } } cekToolsAction(); tools._x = _root._xmouse; tools._y = _root._ymouse; tools.indi3 = indi3; tools.keTools = jenisTools; tools.tipeTools = tipeTools; tools.toolsSpecial = 0; if (tipeTools == 'melee') { tools.damage = xdamageMelee[jenisTools]; if (_root['meleePowerUps' + jenisTools] == 4) { tools.damage *= 2; } if (_root['meleePowerUps' + jenisTools] == 5) { tools.toolsSpecialMax = xdelayMelee2[jenisTools]; } else { tools.toolsSpecialMax = xdelayMelee[jenisTools]; } } else { if (tipeTools == 'range') { tools.damage = xdamageRange[jenisTools]; if (_root['rangePowerUps' + jenisTools] == 4) { tools.damage *= 2; } if (_root['rangePowerUps' + jenisTools] == 5) { tools.toolsSpecialMax = xdelayRange2[jenisTools]; } else { tools.toolsSpecialMax = xdelayRange[jenisTools]; } } else { if (tipeTools == 'specialTools') { tools.damage = xdamageSpecialTools[jenisTools]; tools.toolsSpecialMax = xdelaySpecialTools[jenisTools]; } } } cekUpgradeTools(); toolsKe = 0; toolsMax = 1; tools.onEnterFrame = enterTools; startDrag(tools, true); } function cekUpgradeTools() { if (tipeTools == 'melee') { if (_root['jumlahMelee' + jenisTools] >= 1) { tools.damage *= 1 + _root['jumlahMelee' + jenisTools] / 1; } } else { if (tipeTools == 'range') { if (_root['jumlahRange' + jenisTools] >= 1) { tools.damage *= 1 + _root['jumlahRange' + jenisTools] / 1; } } else { if (tipeTools == 'specialTools') { if (_root['jumlahSpecialTools' + jenisTools] >= 1) { tools.damage *= 1 + _root['jumlahSpecialTools' + jenisTools] / 1; } } } } } function enterTools2() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed + 0.5 * speedKe; i = 1; while (i <= 200) { if (_root['keDalamMusuh' + i] != undefined) { if (_root['keDalamMusuh' + i].posisiKe == this.posisiKe || this.posisiKe == 'semua') { if (_root['keDalamMusuh' + i]._visible == true) { if (this.hitTest(_root['keDalamMusuh' + i].indiKena2) && _root['keDalamMusuh' + i].antiSenjata == false) { _root['keDalamMusuh' + i].delayKedip = 1; _root['keDalamMusuh' + i].live -= this.damage * 500000; _root['keDalamMusuh' + i].indi.kaca.gotoAndPlay(2); if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } else { if (this.hitTest(_root['keDalamMusuh' + i]) && _root['keDalamMusuh' + i].antiSenjata == false) { _root['keDalamMusuh' + i].delayKedip = 1; _root['keDalamMusuh' + i].live -= this.damage; if (_root['keDalamMusuh' + i].live <= 0) { if (_root['keDalamMusuh' + i]._currentframe < 20) { _root['keDalamMusuh' + i].delayPow = 4; if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } else { if (efekSpecial == true) { cekEfek(1, _root['keDalamMusuh' + i], 'special'); } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } else { if (this.hitTest(_root['keDalamMusuh' + i]) && _root['keDalamMusuh' + i].antiSenjata == true) { jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; specialToolsAction[this.keTools] = specialToolsAwal[this.keTools]; cekAsap(this); cekRemoveKotak(); removeMovieClip(this); } } } } } } ++i; } if (speedKe == 1) { this.gotoAndStop(2); } else { if (speedKe == 2) { this.gotoAndStop(3); } else { if (speedKe == 4) { this.gotoAndStop(4); } else { if (speedKe == 8) { this.gotoAndStop(5); } } } } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function enterTools() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.specialGak == true) { if (_root._ymouse >= 50 && _root._ymouse <= 575) { if (pressTools == true) { if (jenisTools == 1) { backMower(); } else { if (jenisTools == 2) { backHelicopter2(); } else { if (jenisTools == 3) { backTraktor(); } } } jenisTools = this.keTools; xtools = attachMovie('specialTools' + jenisTools, 'xtools' + dalamTools2, dalamTools2); xtools._x = this._x; xtools._y = this._y; xtools.speed = 2; xtools.posisiKe = this.posisiKe; xtools.damage = this.damage; xtools.onEnterFrame = enterTools2; ++dalamTools2; if (dalamTools2 >= 50150) { dalamTools2 = 50050; } this.indi3.gelap._visible = false; stopDrag(); --specialToolsAction[this.keTools]; if (specialToolsAction[this.keTools] <= 0) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna3; if (_root.guna3 >= 100) { dapatMedal(43); } } dapatMedal(3); jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; specialToolsAction[this.keTools] = specialToolsAwal[this.keTools]; cekAsap(this); cekRemoveKotak(); } } } } else { if (_root._ymouse >= 50 && _root._ymouse <= 575) { _root.toolsKe += 1 * speedKe; if (_root.toolsKe >= _root.toolsMax) { _root.toolsKe = _root.toolsMax - _root.toolsKe; _root.toolsMax = 1; if (pressTools == true) { if (this._currentframe == 1) { if (this.tipeTools == 'melee') { if (bisaJurus == true) { ++this.toolsSpecial; } --meleeAction[this.keTools]; if (meleeAction[this.keTools] <= 0) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna1; if (_root.guna1 >= 100) { dapatMedal(41); } } dapatMedal(1); jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; meleeAction[this.keTools] = meleeAwal[this.keTools]; cekAsap(this); cekRemoveKotak(); if (awalTutorial4 == false) { awalTutorial4 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc4', 'tutorial_mc', 190909); tutorial.onRelease = klikTutorial4; } } } else { if (tipeTools == 'range') { if (bisaJurus2 == true) { ++this.toolsSpecial; } --rangeAction[this.keTools]; if (rangeAction[this.keTools] <= 0) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna2; if (_root.guna2 >= 100) { dapatMedal(42); } } dapatMedal(2); jumlahUang -= ui['xjumlahUnit' + this.indi3.keArmy]; this.indi3.bar._yscale = 100; rangeAction[this.keTools] = rangeAwal[this.keTools]; cekAsap(this); cekRemoveKotak(); if (awalTutorial4 == false) { awalTutorial4 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc4', 'tutorial_mc', 190909); tutorial.onRelease = klikTutorial4; } } } } } if (this.toolsSpecial >= this.toolsSpecialMax) { if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } else { if (speedKe == 1) { this.gotoAndStop(2); } else { if (speedKe == 2) { this.gotoAndStop(3); } else { if (speedKe == 4) { this.gotoAndStop(4); } else { if (speedKe == 8) { this.gotoAndStop(5); } } } } } } } } } } } function klikTutorial4() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 2) { sedangTutorial = false; removeMovieClip(this); } } function buatAkar() { i = awalI; while (i <= akhirI) { randAkar = random(3) + 4; akar = attachMovie('akar_mc', 'akar' + i, 51 + i + 10 * (i - 1)); akar._x = 110 + (randAkar - 1) * 115; akar._y = 145 + (i - 1) * 103; _root['slot' + i + randAkar] = 200; ++dalamPohon; ++i; } } function buatTanahRusak() { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { akar = attachMovie('rusak_mc', 'rusak' + dalamTanah, dalamTanah); akar._x = 110 + (j - 1) * 115; akar._y = 145 + (i - 1) * 103; akar.gotoAndStop(1); _root['slot' + i + j] = 200; ++dalamTanah; ++j; } ++i; } } function buatTanahRusak2() { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { _root['slot' + i + j] = 200; ++j; } ++i; } } function buatKolam() { kolam = attachMovie('kolam_mc', 'rusak' + dalamTanah, dalamTanah); kolam._x = 400; kolam._y = 300; i = awalI; while (i <= akhirI) { j = 3; while (j <= 6) { _root['slot' + i + j] = 200; ++j; } ++i; } ++dalamTanah; } function buatBuah() { jenisBuah = 1; i = awalI; while (i <= akhirI) { ++banyakKali; buah = attachMovie('buah' + jenisBuah, 'buah' + i, 5010 + i + 1000 * (i - 1)); buah._x = 35; buah._y = 160 + (i - 1) * 103; buah.posisi = i; buah.damage = 500; buah.live = 100; buah.jenisBuah = 3; buah.onEnterFrame = enterBuah; ++dalamPohon; ++i; } } function buatTanda() { i = awalI; while (i <= akhirI) { tanda = attachMovie('tanda_mc', 'tanda_mc' + i, 90010 + i); tanda._x = 800; tanda._y = 120 + (i - 1) * 103; tanda.posisi = i; tanda.indi.onRollOver = overTanda; tanda.indi.onRollOut = outTanda; tanda.indi.onReleaseOutside = outTanda; tanda.onEnterFrame = enterTanda; ++i; } } function overTanda() { if (pressTools == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 6, 1)); posTanda = indi; _root['tanda_mc' + indi].gotoAndStop(2); i = 1; while (i <= keTotalMusuh) { _root['tanda_mc' + indi]['musuh' + i].gotoAndStop(i); if (musuhTakTerhingga == true) { if (jumlahMusuh[i][posTanda] > 0) { _root['tanda_mc' + indi]['jumlah' + i] = ''; } else { _root['tanda_mc' + indi]['jumlah' + i] = jumlahMusuh[i][posTanda]; } } else { _root['tanda_mc' + indi]['jumlah' + i] = jumlahMusuh[i][posTanda]; } ++i; } } } function outTanda() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 6, 1)); posTanda = 0; _root['tanda_mc' + indi].gotoAndStop(1); } function enterTanda() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = 1; while (i <= keTotalMusuh) { this['musuh' + i].gotoAndStop(i); if (musuhTakTerhingga == true) { if (jumlahMusuh[i][posTanda] > 0) { this['jumlah' + i] = ''; } else { this['jumlah' + i] = jumlahMusuh[i][posTanda]; } } else { this['jumlah' + i] = jumlahMusuh[i][posTanda]; } if (this['jumlah' + i] == '') { this['locked' + i]._visible = false; } else { if (this['jumlah' + i] > 0) { this['locked' + i]._visible = false; } else { this['locked' + i]._visible = true; } } ++i; } } } function enterBuah() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.live <= 0) { removeMovieClip(this); } } } function cekAtributePohon(indi) { if (indi == 1) { pohon.live = 30; pohon.range = 350; pohon.damage = 5; pohon.tipeSerang = 'range'; pohon.serangMax = 20; } else { if (indi == 2) { pohon.live = 40; pohon.range = 400; pohon.damage = 10; pohon.tipeSerang = 'range'; pohon.serangMax = 20; } else { if (indi == 3) { pohon.live = 50; pohon.range = 100; pohon.damage = 250; pohon.tipeSerang = 'melee'; pohon.serangMax = 5; } else { if (indi == 4) { pohon.live = 2000; pohon.range = 0; pohon.damage = 0; pohon.tipeSerang = 'melee'; pohon.serangMax = 0; } else { if (indi == 5) { pohon.live = 750; pohon.range = 100; pohon.damage = 50; pohon.tipeSerang = 'melee'; pohon.serangMax = 30; } else { if (indi == 6) { pohon.live = 1000; pohon.range = 225; pohon.damage = 25; pohon.tipeSerang = 'melee'; pohon.serangMax = 40; } else { if (indi == 7) { pohon.live = 100; pohon.range = 425; pohon.damage = 50; pohon.tipeSerang = 'range'; pohon.serangMax = 25; } else { if (indi == 8) { pohon.live = 160; pohon.range = 425; pohon.damage = 6; pohon.tipeSerang = 'range'; pohon.serangMax = 20; } else { if (indi == 9) { pohon.live = 600; pohon.range = 450; pohon.damage = 200; pohon.tipeSerang = 'rangeJauh'; pohon.serangMax = 40; } else { if (indi == 10) { pohon.live = 500; pohon.range = 500; pohon.damage = 600; pohon.tipeSerang = 'rangeJauh'; pohon.serangMax = 60; } else { if (indi == 11) { pohon.live = 400; pohon.range = 550; pohon.damage = 300; pohon.tipeSerang = 'rangeJauh'; pohon.serangMax = 80; } else { if (indi == 12) { pohon.live = 300; pohon.range = 750; pohon.damage = 3000; pohon.tipeSerang = 'rangeJauh'; pohon.serangMax = 20; } } } } } } } } } } } } if (_root['buahPowerUps' + indi] == 1) { pohon.serangMax *= 0.5; } else { if (_root['buahPowerUps' + indi] == 2) { pohon.range *= 1.25; } else { if (_root['buahPowerUps' + indi] == 3) { pohon.live *= 2; } else { if (_root['buahPowerUps' + indi] == 4) { pohon.damage *= 2; } } } } if (_root['jumlahBuah' + indi] >= 1) { if (indi == 4) { if (_root['jumlahBuah' + indi] == 1) { pohon.live *= 5; } else { pohon.live *= 1; } } else { pohon.live *= 1 + _root['jumlahBuah' + indi] / 1; pohon.damage *= 1 + _root['jumlahBuah' + indi] / 1; } } if (pohon.topiKe != 13) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna10; if (_root.guna10 >= 100) { dapatMedal(50); } } dapatMedal(10); pohon.live += pohon.live * (_root['topiPasang' + indi] / 3); } if (pohon.sepatuKe != 13) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna10; if (_root.guna10 >= 100) { dapatMedal(50); } } dapatMedal(10); pohon.damage += pohon.damage * (_root['sepatuPasang' + indi] / 3); } } function enterPohon() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this.adaTarget = false; if (this.posisi == 1) { i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray1.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray1.length; } } } } } ++i; } } else { if (this.posisi == 2) { i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray2.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray2.length; } } } } } ++i; } } else { if (this.posisi == 3) { i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray3.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray3.length; } } } } } ++i; } } else { if (this.posisi == 4) { i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray4.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray4.length; } } } } } ++i; } } else { if (this.posisi == 5) { i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget._x >= this._x && this.miring == false || this.xtarget._x <= this._x && this.miring == true) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x && this.miring == false) { this.posTarget = i; this.adaTarget = true; i = masukArray5.length; } else { if (this.xtarget._x >= this._x - this.range && this._x - 25 > this.xtarget._x && this.miring == true) { this.posTarget = i; this.adaTarget = true; i = masukArray5.length; } } } } } ++i; } } } } } } if (this.tipeSerang == 'melee') { if (this.adaTarget == true) { if (this.xtarget.posisiKe == 'udara') { this.adaTarget = false; } } } if (this.tipeSerang == 'rangeJauh') { if (this.adaTarget == true && this._currentframe <= 4) { this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { this.serangKe = this.serangMax - this.serangKe; if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } } else { if (this.adaTarget == false) { if (speedKe == 1) { this.gotoAndStop(1); } else { if (speedKe == 2) { this.gotoAndStop(2); } else { if (speedKe == 4) { this.gotoAndStop(3); } else { if (speedKe == 8) { this.gotoAndStop(4); } } } } } } } else { if (this.adaTarget == true) { this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { this.serangKe = this.serangMax - this.serangKe; if (this.tipeSerang == 'range') { cekRange(this, this.miring); } else { if (this.tipeSerang == 'melee') { cekMelee(this, this.xtarget); } } } if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } else { if (speedKe == 1) { this.gotoAndStop(1); } else { if (speedKe == 2) { this.gotoAndStop(2); } else { if (speedKe == 4) { this.gotoAndStop(3); } else { if (speedKe == 8) { this.gotoAndStop(4); } } } } } } if (this.kenaRacun == true) { if (this.delayRacun >= this.maxRacun) { efekRacun(this); this.live -= 100; this.delayKedip = 1; this.delayRacun = 0; } else { if (speedKe == 1) { ++this.delayRacun; } else { if (speedKe == 2) { this.delayRacun += 2; } else { if (speedKe == 4) { this.delayRacun += 3; } else { if (speedKe == 8) { this.delayRacun += 4; } } } } } } if (this.kenaSihir == true) { _root['slot' + this.posisiI + this.posisiJ] = 0; if (pilihMode == 'survival') { _root['tanahKosong' + this.posisiI + this.posisiJ] = 0; _root['hibridaKosong' + this.posisiI + this.posisiJ] = 0; } cekSihir(this); delete this.onEnterFrame; removeMovieClip(this); } if (this.live <= 0) { this.pasangan.live = 0; this.live = 0; _root['slot' + this.posisiI + this.posisiJ] = 0; if (pilihMode == 'survival') { _root['tanahKosong' + this.posisiI + this.posisiJ] = 0; _root['hibridaKosong' + this.posisiI + this.posisiJ] = 0; } if (speedKe == 1) { this.gotoAndStop(20); } else { if (speedKe == 2) { this.gotoAndStop(21); } else { if (speedKe == 4) { this.gotoAndStop(22); } else { if (speedKe == 8) { this.gotoAndStop(23); } } } } delete this.onEnterFrame; } } if (this.delayKedip >= 1) { if (this.delayKedip >= 5 && this.delayKedip <= 10) { this._alpha = 70; } else { this._alpha = 100; } if (speedKe == 1) { ++this.delayKedip; } else { if (speedKe == 2) { this.delayKedip += 2; } else { if (speedKe == 4) { this.delayKedip += 3; } else { if (speedKe == 8) { this.delayKedip += 4; } } } } if (this.delayKedip >= 15) { this.delayKedip = 0; } } } function cekSihir(indi) { efek = attachMovie('asap2', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y - 75; efek._yscale = 150; efek._xscale = 150; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } kupu = attachMovie('kupu_mc', 'efek' + dalamEfek, dalamEfek); kupu._x = indi._x; kupu._y = indi._y - 75; randKupu = random(2); if (randKupu == 1) { kupu.speedX = 2; kupu._xscale = 100; } else { kupu._xscale = -100; kupu.speedX = -2; } kupu.onEnterFrame = enterKupu; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function enterKupu() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speedX; this._y -= 0.5; if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function cekMelee(indi, indi2) { if (indi.jenisBuah == 3) { cekEfekLedak(indi); } else { cekEfek(2, indi); indi2.live -= indi.damage; indi2.delayKedip = 1; if (indi2.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == indi2.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == indi2.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == indi2.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == indi2.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == indi2.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } } } function cekEfekLedak(indi) { efek = attachMovie('efek' + indi.jenisBuah, 'efek' + dalamEfek, dalamEfek); efek._x = indi._x + 75; efek._y = indi._y - 75; efek.gotoAndPlay(20); efek._yscale = 75; efek._xscale = 75; efek.damage = indi.damage; efek.onEnterFrame = enterEfek; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } indi.live = 0; } function cekEfekLedak2(indi) { z = 1; while (z <= 5) { efek = attachMovie('efek' + indi.jenisBuah, 'efek' + dalamEfek, dalamEfek); efek._x = indi._x + 75 + (z - 1) * 200; efek._y = indi._y - 50; if (z == 1) { efek.gotoAndPlay(20); } else { if (z == 2) { efek.gotoAndPlay(15); } else { if (z == 3) { efek.gotoAndPlay(10); } else { if (z == 4) { efek.gotoAndPlay(5); } else { if (z == 5) { efek.gotoAndPlay(1); } } } } } efek._yscale = 45; efek._xscale = 45; efek.damage = indi.damage; efek.onEnterFrame = enterEfek; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } ++z; } } function cekEfekLedak3(indi) { efek = attachMovie('efek3', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x + 75; efek._y = indi._y - 50; efek.gotoAndPlay(20); efek._yscale = 45; efek._xscale = 45; efek.damage = indi.damage; efek.onEnterFrame = enterEfek; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } indi.live = 0; } function enterEfek() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = 1; while (i <= 200) { if (_root['keDalamMusuh' + i] != undefined) { if (_root['keDalamMusuh' + i]._visible == true) { if (this.hitTest(_root['keDalamMusuh' + i])) { if (this._currentframe >= 25) { _root['keDalamMusuh' + i].live -= this.damage; if (_root['keDalamMusuh' + i].live <= 0) { _root['keDalamMusuh' + i].delayPow = 3; cekEfek(1, _root['keDalamMusuh' + i]); posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } } } ++i; } } } function efekEs(indi) { efek = indi.attachMovie('efekEs', 'efek', 2); efek._x = 0; efek._y = 0; efek._yscale = 100; efek._xscale = 100; indi.beku = true; indi.bekuKe = 0; indi.bekuMax = 250; } function efekPetir(indi) { efek = attachMovie('efekPetir', 'efek' + dalamEfek, dalamEfek); efek._x = indi2._x; efek._y = indi2._y - 50; efek._yscale = 100; efek._xscale = 100; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function efekSinar(indi) { indi.kenaSinar = true; indi.sinarKe = 0; indi.sinarMax = 10000; } function sedangEfek2(indi) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = 1; while (i <= 200) { if (_root['keDalamMusuh' + i] != undefined) { if (_root['keDalamMusuh' + i]._visible == true) { if (indi == 1) { efekAir(_root['keDalamMusuh' + i]); } else { if (indi == 2) { efekEs(_root['keDalamMusuh' + i]); } else { if (indi == 3) { _root['keDalamMusuh' + i].kenaRacun = true; _root['keDalamMusuh' + i].delayRacun = 0; _root['keDalamMusuh' + i].maxRacun = 50; efekRacun(_root['keDalamMusuh' + i]); } else { if (indi == 4) { efekPetir(_root['keDalamMusuh' + i]); } else { if (indi == 5) { efekSinar(_root['keDalamMusuh' + i]); } } } } } _root['keDalamMusuh' + i].live -= _root['damageSpecialWeapons' + indi]; if (_root['keDalamMusuh' + i].live <= 0) { _root['keDalamMusuh' + i].delayPow = 3; cekEfek(1, _root['keDalamMusuh' + i]); posMusuhKe = _root['keDalamMusuh' + i].posisi; if (posMusuhKe == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray1.splice(z, 1); z = masukArray1.length; } ++z; } } else { if (posMusuhKe == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray2.splice(z, 1); z = masukArray2.length; } ++z; } } else { if (posMusuhKe == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (posMusuhKe == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (posMusuhKe == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == _root['keDalamMusuh' + i].namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } else { cekEfek(1, _root['keDalamMusuh' + i]); } } } ++i; } } } function cekRange(indi, indi2) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { jenisPeluru = indi.jenisBuah; if (jenisPeluru == 1) { bykPeluru = 1; } else { if (jenisPeluru == 2) { bykPeluru = 1; } else { if (jenisPeluru == 4) { bykPeluru = 1; } else { if (jenisPeluru == 7) { bykPeluru = 3; } else { if (jenisPeluru == 8) { bykPeluru = 1; } else { if (jenisPeluru == 9) { bykPeluru = 1; } } } } } } i = 1; while (i <= bykPeluru) { peluru = attachMovie('peluru' + jenisPeluru, 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); peluru._x = indi._x + 40; if (i == 1) { peluru._y = indi._y - 55; } else { if (i == 2) { peluru._y = indi._y - 50; } else { if (i == 3) { peluru._y = indi._y - 60; } else { if (i == 4) { peluru._y = indi._y - 45; } else { if (i == 5) { peluru._y = indi._y - 65; } else { peluru._y = indi._y - 55; } } } } } if (jenisPeluru == 1) { peluru._y -= 0; } else { if (jenisPeluru == 2) { peluru._y += 15; } else { if (jenisPeluru == 4) { peluru._y += 11; } } } peluru.posisi = indi.posisi; if (indi2 == true) { peluru.speed = -5; } else { peluru.speed = 5; } peluru.damage = indi.damage; peluru.jenisBuah = jenisPeluru; peluru.posTarget = indi.posTarget; ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } if (jenisPeluru == 7) { peluru._x = indi._x + 70; peluru._y = indi._y - 50; if (i == 1) { peluru.speed = 10; peluru.speedY = -6; } else { if (i == 2) { peluru.speed = 10; peluru.speedY = 0; } else { if (i == 3) { peluru.speed = 10; peluru.speedY = 6; } } } if (indi2 == true) { peluru.speed = -10; } else { peluru.speed = 10; } if (indi2 == true) { peluru._x -= 150; } peluru.onEnterFrame = enterPeluru3; } else { if (jenisPeluru == 8) { if (indi2 == true) { peluru.speed = -7.5; } else { peluru.speed = 7.5; } peluru.tembusKe = 20; peluru.tembus = true; } else { peluru.tembus = false; } if (indi2 == true) { peluru._x -= 100; } peluru.onEnterFrame = enterPeluru; } ++i; } } } function enterPeluru3() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; this._y += this.speedY * speedKe; adaKena = false; i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray1.length; } } } ++i; } i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray2.length; } } } ++i; } i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray3.length; } } } ++i; } i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray4.length; } } } ++i; } i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray5.length; } } } ++i; } if (adaKena == true) { backKena(); cekEfek(2, this); this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.bomb == true) { cekEfekLedak3(this); } if (this.ygKena.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function cekSerangLaser(indi) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { backLaser(); z = 1; while (z <= 2) { peluru = attachMovie('laser_mc', 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); peluru._x = indi._x + 25 - random(20) + 10; peluru._y = indi._y - 60 - random(20) + 10; peluru.damage = indi.damage; peluru.jenisBuah = 12; peluru.posTarget = indi.posTarget; peluru.tembus = false; peluru.speed = 70; peluru.tembusKe = 100; peluru._yscale = 50; peluru._xscale = 50; ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } peluru.onEnterFrame = enterPeluru4; ++z; } } } function enterPeluru4() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed; ++this.speed; adaKena = false; i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray1.length; } } } ++i; } i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray2.length; } } } ++i; } i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray3.length; } } } ++i; } i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray4.length; } } } ++i; } i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray5.length; } } } ++i; } if (adaKena == true) { this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.ygKena.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function cekSerangJauh(indi) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { peluru = attachMovie('peluru' + indi.jenisBuah, 'peluru' + dalamPeluru, dalamPeluru + indi.posisi * 500); jenisPeluru = indi.jenisBuah; peluru._x = indi._x + 10; if (indi.jenisBuah == 9) { peluru._y = indi._y - 80; } else { if (indi.jenisBuah == 10) { peluru._y = indi._y - 80; } else { if (indi.jenisBuah == 11) { peluru._y = indi._y - 85; } } } if (jenisPeluru == 1) { peluru._y -= 0; } else { if (jenisPeluru == 2) { peluru._y += 15; } else { if (jenisPeluru == 4) { peluru._y += 11; } } } peluru.posisi = indi.posisi; peluru.speed = 11; peluru.tuan = indi; if (indi.xtarget._x <= peluru.tuan._x + 300) { if (speedKe == 1) { peluru.speedY = 0.1; } else { if (speedKe == 2) { peluru.speedY = 0.2; } else { if (speedKe == 4) { peluru.speedY = 0.3; } else { if (speedKe == 8) { peluru.speedY = 0.4; } } } } if (speedKe == 1) { peluru.turunSpeedY = 0.2; } else { if (speedKe == 2) { peluru.turunSpeedY = 0.3; } else { if (speedKe == 4) { peluru.turunSpeedY = 0.4; } else { if (speedKe == 8) { peluru.turunSpeedY = 0.5; } } } } } else { if (speedKe == 1) { peluru.speedY = 6; } else { if (speedKe == 2) { peluru.speedY = 9; } else { if (speedKe == 4) { peluru.speedY = 12; } else { if (speedKe == 8) { peluru.speedY = 15; } } } } if (speedKe == 1) { peluru.turunSpeedY = 0.4; } else { if (speedKe == 2) { peluru.turunSpeedY = 1.2; } else { if (speedKe == 4) { peluru.turunSpeedY = 3.6; } else { if (speedKe == 8) { peluru.turunSpeedY = 10.8; } } } } } peluru.posisiBawah = indi._y; peluru.damage = indi.damage; peluru.jenisBuah = jenisPeluru; peluru.posTarget = indi.posTarget; if (indi.jenisBuah == 11) { peluru.bomb = true; } else { peluru.bomb = false; } ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } peluru.onEnterFrame = enterPeluru2; } } function enterPeluru2() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; this._y -= this.speedY * speedKe; this.speedY -= this.turunSpeedY; if (this._y >= this.posisiBawah) { removeMovieClip(this); } adaKena = false; if (this.posisi == 1) { i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray1.length; } } } ++i; } } else { if (this.posisi == 2) { i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray2.length; } } } ++i; } } else { if (this.posisi == 3) { i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray3.length; } } } ++i; } } else { if (this.posisi == 4) { i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray4.length; } } } ++i; } } else { if (this.posisi == 5) { i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray5.length; } } } ++i; } } } } } } if (adaKena == true) { cekEfek(2, this); this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.bomb == true) { cekEfekLedak3(this); } if (this.ygKena.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function enterPeluru() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; adaKena = false; if (this.posisi == 1) { i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray1.length; } } } ++i; } } else { if (this.posisi == 2) { i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray2.length; } } } ++i; } } else { if (this.posisi == 3) { i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray3.length; } } } ++i; } } else { if (this.posisi == 4) { i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray4.length; } } } ++i; } } else { if (this.posisi == 5) { i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget._visible == true) { if (this.hitTest(this.xtarget.indiKena)) { this.ygKena = this.xtarget; adaKena = true; i = masukArray5.length; } } } ++i; } } } } } } if (adaKena == true) { cekEfek(2, this); this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.ygKena.live <= 0) { if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } if (this.tembus == true) { if (this.tembusKe <= 0) { backKena(); removeMovieClip(this); } else { --this.tembusKe; } } else { backKena(); removeMovieClip(this); } } if (this._x >= 850 || this._x <= -50) { removeMovieClip(this); } } } function buatMinions(indi) { if (_root['minionsPowerUps' + jenisMinions] == 5) { bykMinionsKeluar = 3; } else { bykMinionsKeluar = 1; } backMinion(); z = 1; while (z <= bykMinionsKeluar) { posMinions = indi; if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna5; if (_root.guna5 >= 100) { dapatMedal(45); } } dapatMedal(5); minions = attachMovie('minions' + jenisMinions, 'minions' + dalamMinions, dalamMinions + (3000 + posMinions * 1000)); minions._x = 50 - 50 * (z - 1); minions._y = 120 + (posMinions - 1) * 103; minions.posisi = posMinions; minions.serangKe = 0; minions.kaliSerang = 0; cekAtributeMinions(jenisMinions); minions.serangAmbil = false; minions.serangLangsung = false; if (jenisMinions == 6) { minions.serangAmbil = true; } else { if (jenisMinions == 7) { minions.serangLangsung = true; } else { if (jenisMinions == 8) { minions.serangJalan = true; } } } minions.onEnterFrame = enterMinions; ++dalamMinions; if (dalamMinions >= 1000) { dalamMinions = 900; } ++z; } } function cekAtributeMinions(indi) { if (indi == 1) { minions.speed = 1.5; minions.damage = 250; minions.range = 50; minions.serangMax = 9; minions.maxSerang = 5; } else { if (indi == 2) { minions.speed = 1.4; minions.damage = 275; minions.range = 60; minions.serangMax = 8; minions.maxSerang = 6; } else { if (indi == 3) { minions.speed = 1.3; minions.damage = 300; minions.range = 70; minions.serangMax = 7; minions.maxSerang = 7; } else { if (indi == 4) { minions.speed = 1.2; minions.damage = 325; minions.range = 80; minions.serangMax = 6; minions.maxSerang = 8; } else { if (indi == 5) { minions.speed = 1.1; minions.damage = 350; minions.range = 90; minions.serangMax = 5; minions.maxSerang = 9; } else { if (indi == 6) { minions.speed = 1; minions.damage = 375; minions.range = 100; minions.serangMax = 4; minions.maxSerang = 10; } else { if (indi == 7) { minions.speed = 0.9; minions.damage = 400; minions.range = 110; minions.serangMax = 3; minions.maxSerang = 11; } else { if (indi == 8) { minions.speed = 0.8; minions.damage = 425; minions.range = 75; minions.serangMax = 2; minions.maxSerang = 12; } } } } } } } } if (_root['minionsPowerUps' + indi] == 2) { minions.speed *= 0.75; } else { if (_root['minionsPowerUps' + indi] == 3) { minions.maxSerang *= 1.25; } else { if (_root['minionsPowerUps' + indi] == 4) { minions.damage *= 1.5; } } } if (_root['jumlahMinion' + indi] >= 1) { minions.maxSerang *= 1 + _root['jumlahMinion' + indi] / 2; minions.damage *= 1 + _root['jumlahMinion' + indi] / 1; } } function enterMinions() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { pegangMinions = true; keSerangMinions = this; this.adaTarget = false; if (this.posisi == 1) { i = 0; while (i <= masukArray1.length) { this.xtarget = _root['musuh' + masukArray1[i]]; if (this.xtarget._x >= this._x) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x) { if (this.xtarget.antiSenjata == false) { this.ygKena = this.xtarget; this.posTarget = i; this.adaTarget = true; i = masukArray1.length; } else { if (this.xtarget.antiSenjata == true) { this.kaliSerang = this.maxSerang; cekAsap(this); } } } } } } ++i; } } else { if (this.posisi == 2) { i = 0; while (i <= masukArray2.length) { this.xtarget = _root['musuh' + masukArray2[i]]; if (this.xtarget._x >= this._x) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x) { if (this.xtarget.antiSenjata == false) { this.ygKena = this.xtarget; this.posTarget = i; this.adaTarget = true; i = masukArray2.length; } else { if (this.xtarget.antiSenjata == true) { this.kaliSerang = this.maxSerang; cekAsap(this); } } } } } } ++i; } } else { if (this.posisi == 3) { i = 0; while (i <= masukArray3.length) { this.xtarget = _root['musuh' + masukArray3[i]]; if (this.xtarget._x >= this._x) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x) { if (this.xtarget.antiSenjata == false) { this.ygKena = this.xtarget; this.posTarget = i; this.adaTarget = true; i = masukArray3.length; } else { if (this.xtarget.antiSenjata == true) { this.kaliSerang = this.maxSerang; cekAsap(this); } } } } } } ++i; } } else { if (this.posisi == 4) { i = 0; while (i <= masukArray4.length) { this.xtarget = _root['musuh' + masukArray4[i]]; if (this.xtarget._x >= this._x) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x) { if (this.xtarget.antiSenjata == false) { this.ygKena = this.xtarget; this.posTarget = i; this.adaTarget = true; i = masukArray4.length; } else { if (this.xtarget.antiSenjata == true) { this.kaliSerang = this.maxSerang; cekAsap(this); } } } } } } ++i; } } else { if (this.posisi == 5) { i = 0; while (i <= masukArray5.length) { this.xtarget = _root['musuh' + masukArray5[i]]; if (this.xtarget._x >= this._x) { if (this.xtarget.live > 0 && this.xtarget != undefined) { if (this.xtarget.buahBawa != 0 && this.xtarget.buahBawa == this.jenisBuah || this.xtarget.buahBawa == 0) { if (this.xtarget._x <= this._x + this.range && this._x + 25 < this.xtarget._x) { if (this.xtarget.antiSenjata == false) { this.ygKena = this.xtarget; this.posTarget = i; this.adaTarget = true; i = masukArray5.length; } else { if (this.xtarget.antiSenjata == true) { this.kaliSerang = this.maxSerang; cekAsap(this); } } } } } } ++i; } } } } } } if (this.adaTarget == true) { this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { backPukul(); this.serangKe = this.serangMax - this.serangKe; this.ygKena.live -= this.damage; if (this.serangAmbil == true) { this.ygKena._x = this._x + 30; } else { if (this.serangLangsung == true) { this.ygKena._x = this._x; } } if (this.ygKena.live <= 0) { if (this.serangAmbil == true) { this.ygKena._y = this._y - 50; } if (this.serangLangsung == true) { this.ygKena._y = this._y; } if (this.posisi == 1) { z = 0; while (z <= masukArray1.length) { if (masukArray1[z] == this.ygKena.namaMusuh) { masukArray1.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 2) { z = 0; while (z <= masukArray2.length) { if (masukArray2[z] == this.ygKena.namaMusuh) { masukArray2.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 3) { z = 0; while (z <= masukArray3.length) { if (masukArray3[z] == this.ygKena.namaMusuh) { masukArray3.splice(z, 1); z = masukArray3.length; } ++z; } } else { if (this.posisi == 4) { z = 0; while (z <= masukArray4.length) { if (masukArray4[z] == this.ygKena.namaMusuh) { masukArray4.splice(z, 1); z = masukArray4.length; } ++z; } } else { if (this.posisi == 5) { z = 0; while (z <= masukArray5.length) { if (masukArray5[z] == this.ygKena.namaMusuh) { masukArray5.splice(z, 1); z = masukArray5.length; } ++z; } } } } } } } ++this.kaliSerang; } if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } else { if (this._currentframe <= 4) { this._x += this.speed * speedKe; if (speedKe == 1) { this.gotoAndStop(1); } else { if (speedKe == 2) { this.gotoAndStop(2); } else { if (speedKe == 4) { this.gotoAndStop(3); } else { if (speedKe == 8) { this.gotoAndStop(4); } } } } } } if (this.kaliSerang >= this.maxSerang) { pegangMinions = false; if (speedKe == 1) { this.gotoAndStop(20); } else { if (speedKe == 2) { this.gotoAndStop(21); } else { if (speedKe == 4) { this.gotoAndStop(22); } else { if (speedKe == 8) { this.gotoAndStop(23); } } } } } if (this._x >= 850 || this._x <= -100) { pegangMinions = false; removeMovieClip(this); } } } function pilihMusuh(indi) { adaMusuhGak = false; masukMusuh = new Array(); keMasukMusuh = 0; zi = 1; while (zi <= keTotalMusuh) { if (jumlahMusuh[zi][indi] > 0) { masukMusuh[keMasukMusuh] = zi; ++keMasukMusuh; adaMusuhGak = true; } ++zi; } pilihanMusuh = random(keMasukMusuh); jenisMusuh = masukMusuh[pilihanMusuh]; } function buatBox(indi) { pilihMusuh(indi); posMusuh = indi; if (jumlahMusuh[jenisMusuh][indi] > 0 && adaMusuhGak == true) { --jumlahMusuh[jenisMusuh][indi]; box = attachMovie('box_mc', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama1 + (3000 + posMusuh * 1000)); if (jenisMusuh == 1) { randX = random(2); if (randX == 0) { box._x = 200; } else { box._x = 250; } } else { if (jenisMusuh == 2) { randX = random(2); if (randX == 0) { box._x = 250; } else { box._x = 300; } } else { if (jenisMusuh == 3) { randX = random(2); if (randX == 0) { box._x = 350; } else { box._x = 400; } } else { if (jenisMusuh == 4) { randX = random(2); if (randX == 0) { box._x = 400; } else { box._x = 450; } } else { if (jenisMusuh == 5) { randX = random(2); if (randX == 0) { box._x = 450; } else { box._x = 500; } } } } } } if (pilihMode == 'madness') { box._x = random(400) + 350; } box._y = -600 + (posMusuh - 1) * 100; box.batasBawah = 140 + (posMusuh - 1) * 103; box.pecahKiri = 100 + random(200); box.posMusuh = indi; box.speed = 1; if (pilihMode == 'madness') { box.live = 5 * xlevel; } else { box.live = 200; } box.maxLive = box.live; box.jenisMusuh = jenisMusuh; box.posMusuh = indi; box.namaMusuh = _root['dalamUnit' + posMusuh]; box.xjenisMusuh = jenisMusuh; box.antiSenjata = false; box.posisi = posMusuh; box.serangKe = 0; box.delayPow = 0; box.delayKedip = 0; box.posisiKe = 'darat'; box.gotoAndStop(jenisMusuh); if (posMusuh == 1) { masukArray1.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 2) { masukArray2.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 3) { masukArray3.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 4) { masukArray4.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 5) { masukArray5.push(_root['dalamUnit' + posMusuh]); } } } } } ++_root['dalamUnit' + posMusuh]; _root['keDalamMusuh' + dalamMusuh] = box; box.onEnterFrame = enterBox; ++dalamHama1; if (dalamHama1 >= 400) { dalamHama1 = 100; } ++dalamMusuh; if (dalamMusuh >= 201) { dalamMusuh = 1; } } } function enterBox() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._y += this.speed * speedKe; this.speed += 0.1; if (this._y >= this.batasBawah) { if (this._currentframe < 10) { cekDebu(this); this._y = this.batasBawah; ++jumlahMusuh[this.jenisMusuh][this.posMusuh]; buatMusuh(this.posMusuh, this, 'khusus2'); if (pilihMode != 'madness') { this.gotoAndPlay(10); } else { removeMovieClip(this); } delete this.onEnterFrame; } } } } function buatBox2(indi, indi2) { pilihMusuh(indi); posMusuh = indi; box = attachMovie('box_tutup', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama1 + (4000 + posMusuh * 1000)); box._yscale = 75; box._xscale = 75; box._x = 140 + 110 * (indi2 - 1); box._y = 170 + (posMusuh - 1) * 103; box.posMusuh = indi; box.speed = 0.5; if (pilihMode == 'madness') { box.live = 5 * xlevel; } else { box.live = 1500; } box.maxLive = box.live; jenisMusuh = random(8) + 1; box.jenisMusuh = jenisMusuh; box.posMusuh = indi; box.antiSenjata = false; box.namaMusuh = _root['dalamUnit' + posMusuh]; box.xjenisMusuh = jenisMusuh; box.posisi = posMusuh; box.buahBawa = 0; box.serangKe = 0; box.delayPow = 0; box.delayKedip = 0; box.posisiKe = 'darat'; if (posMusuh == 1) { masukArray1.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 2) { masukArray2.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 3) { masukArray3.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 4) { masukArray4.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 5) { masukArray5.push(_root['dalamUnit' + posMusuh]); } } } } } ++_root['dalamUnit' + posMusuh]; _root['keDalamMusuh' + dalamMusuh] = box; box.onEnterFrame = enterBox2; ++dalamHama1; if (dalamHama1 >= 400) { dalamHama1 = 100; } ++dalamMusuh; if (dalamMusuh >= 201) { dalamMusuh = 1; } } function buatTelor(indi) { pilihMusuh(indi); posMusuh = indi; if (jumlahMusuh[jenisMusuh][indi] > 0 && adaMusuhGak == true) { --jumlahMusuh[jenisMusuh][indi]; telor = attachMovie('boladuri', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama1 + (3000 + posMusuh * 1000)); telor._x = 850; telor._y = 110 + (posMusuh - 1) * 103; telor.pecahKiri = 100 + random(200); telor.posMusuh = indi; telor.speed = 0.5; if (pilihMode == 'madness') { telor.live = 5 * xlevel; } else { telor.live = 1500; } telor.maxLive = telor.live; telor.jenisMusuh = jenisMusuh; telor.posMusuh = indi; telor.antiSenjata = false; telor.namaMusuh = _root['dalamUnit' + posMusuh]; telor.xjenisMusuh = jenisMusuh; telor.posisi = posMusuh; telor.buahBawa = 0; telor.serangKe = 0; telor.delayPow = 0; telor.delayKedip = 0; telor.posisiKe = 'darat'; if (posMusuh == 1) { masukArray1.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 2) { masukArray2.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 3) { masukArray3.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 4) { masukArray4.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 5) { masukArray5.push(_root['dalamUnit' + posMusuh]); } } } } } ++_root['dalamUnit' + posMusuh]; _root['keDalamMusuh' + dalamMusuh] = telor; telor.onEnterFrame = enterBolaDuri; ++dalamHama1; if (dalamHama1 >= 400) { dalamHama1 = 100; } ++dalamMusuh; if (dalamMusuh >= 201) { dalamMusuh = 1; } } } function enterBox2() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.live <= 0) { if (this._currentframe == 1) { this._rotation = 0; cekTelorSisa(this); ++jumlahMusuh[this.jenisMusuh][this.posMusuh]; buatMusuh(this.posMusuh, this); if (pilihMode != 'madness') { cekBoxSisa(this); } removeMovieClip(this); } } if (this.delayKedip >= 1) { if (this.delayKedip >= 5 && this.delayKedip <= 10) { this._alpha = 70; } else { this._alpha = 100; } if (speedKe == 1) { ++this.delayKedip; } else { if (speedKe == 2) { this.delayKedip += 2; } else { if (speedKe == 4) { this.delayKedip += 3; } else { if (speedKe == 8) { this.delayKedip += 4; } } } } if (this.delayKedip >= 15) { this.delayKedip = 0; } } } } function enterBolaDuri() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x -= this.speed * speedKe; this._rotation -= this.speed * 2 * speedKe; if (this._x <= -25) { this.live = 0; } if (this._x <= this.pecahKiri || this.live <= 0) { this.gotoAndStop(this._currentframe + 10); this._rotation = 0; if (pilihMode != 'madness') { cekTelorSisa(this); } ++jumlahMusuh[this.jenisMusuh][this.posMusuh]; buatMusuh(this.posMusuh, this); removeMovieClip(this); } if (this.delayKedip >= 1) { if (this.delayKedip >= 5 && this.delayKedip <= 10) { this._alpha = 70; } else { this._alpha = 100; } if (speedKe == 1) { ++this.delayKedip; } else { if (speedKe == 2) { this.delayKedip += 2; } else { if (speedKe == 4) { this.delayKedip += 3; } else { if (speedKe == 8) { this.delayKedip += 4; } } } } if (this.delayKedip >= 15) { this.delayKedip = 0; } } } } function cekTelorSisa(indi) { boladuri = attachMovie('boladuri', 'rusak' + dalamTanah, dalamTanah); boladuri._x = indi._x; boladuri._y = indi._y; boladuri.gotoAndStop(indi._currentframe + 10); ++dalamTanah; } function cekBoxSisa(indi) { boxtutup = attachMovie('box_tutup', 'rusak' + dalamTanah, dalamTanah); boxtutup._x = indi._x; boxtutup._y = indi._y; boxtutup.gotoAndPlay(10); ++dalamTanah; } function enterTraktorMusuh() { if (speedKe == 1) { this.gotoAndStop(2); } else { if (speedKe == 2) { this.gotoAndStop(3); } else { if (speedKe == 4) { this.gotoAndStop(4); } else { if (speedKe == 8) { this.gotoAndStop(5); } } } } } function buatMusuh(indi, indi2, indi3, indi4, indi5) { if (masihMain == true) { if (indi3 == 'khusus') { jenisMusuh = musuhKhusus; } else { if (indi3 == 'khusus2') { adaMusuhGak = true; jenisMusuh = indi2.jenisMusuh; } else { if (indi3 == 'khusus3') { adaMusuhGak = true; jenisMusuh = indi2; } else { pilihMusuh(indi); } } } posMusuh = indi; if (jumlahMusuh[jenisMusuh][indi] > 0 && adaMusuhGak == true || jadiPest == true || indi5 == 'bossFinal') { ++xtotalMusuh; if (musuhTakTerhingga == false) { --jumlahMusuh[jenisMusuh][indi]; } if (jenisMusuh == 6 || jenisMusuh == 9) { randPosMusuh = 1; } else { if (jenisMusuh == 4 && flyingKecoa == true) { randPosMusuh = 1; } else { randPosMusuh = 0; } } if (indi5 == 'boss') { musuh = attachMovie('musuh' + jenisMusuh, 'musuh' + _root['dalamUnit' + posMusuh], dalamHama0 + (3000 + posMusuh * 1000)); musuh.bossKecil = true; musuh.bossBesar = false; musuh._x = 700; musuh._y = 130 + (posMusuh - 1) * 103; bigBossSnail = true; wormCadabraBoss = true; deathTreeBoss = true; kecoaBoss = true; bossFlower = true; ++jumlahBoss; } else { if (indi5 == 'bossFinal') { backBoss(); jenisMusuh = 10; musuh = attachMovie('musuhBoss', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama0 + (3000 + posMusuh * 1000)); musuh.bossBesar = true; musuh.tahap1 = true; musuh.jalanBalik = false; musuh.serangUnik = 100; musuh.serangUnikMax = 100; musuh.kacaKe = 1; musuh.senjataKe = 1; musuh._x = 1100; musuh._y = 200 + (posMusuh - 1) * 103; musuh._yscale = 90; musuh._xscale = 90; musuh.rangeJauh = false; musuh.serangBanyak = true; ++jumlahBoss; } else { if (randPosMusuh == 0) { if (jenisMusuh == 10 && gajahArmor == true) { musuh = attachMovie('musuh' + jenisMusuh + 'x', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama1 + (3000 + posMusuh * 1000)); } else { musuh = attachMovie('musuh' + jenisMusuh, 'musuh' + _root['dalamUnit' + posMusuh], dalamHama1 + (3000 + posMusuh * 1000)); } musuh.bossKecil = false; musuh.bossBesar = false; if (adaAkar == true) { musuh._x = _root['akar' + posMusuh]._x; } else { if (indi3 == 'khusus') { musuh._x = 750; } else { if (indi2 != undefined) { musuh._x = indi2._x; } else { musuh._x = 850; } } } musuh._y = 130 + (posMusuh - 1) * 103; } else { if (jenisMusuh == 10 && gajahArmor == true) { musuh = attachMovie('musuh' + jenisMusuh + 'x', 'musuh' + _root['dalamUnit' + posMusuh], dalamHama2 + (13000 + posMusuh * 1000)); } else { musuh = attachMovie('musuh' + jenisMusuh, 'musuh' + _root['dalamUnit' + posMusuh], dalamHama2 + (13000 + posMusuh * 1000)); } musuh.bossKecil = false; musuh.bossBesar = false; if (adaAkar == true) { musuh._x = _root['akar' + posMusuh]._x; } else { if (indi3 == 'khusus') { musuh._x = 750; } else { if (indi2 != undefined) { musuh._x = indi2._x; } else { musuh._x = 850; } } } musuh._y = 140 + (posMusuh - 1) * 103; } } } if (jenisMusuh == 9) { musuh._y -= 40; musuh._y += -random(50) + 25; musuh._x += random(20) + 10; } if (jenisMusuh == 6 || jenisMusuh == 9) { musuh.lewatSaja = true; } else { musuh.lewatSaja = false; } if (jenisMusuh == 6 || jenisMusuh == 9) { musuh.posisiKe = 'udara'; } else { musuh.posisiKe = 'darat'; } musuh.namaMusuh = _root['dalamUnit' + posMusuh]; musuh.xjenisMusuh = jenisMusuh; musuh.posisi = posMusuh; musuh.serangKe = 0; musuh.delayPow = 0; musuh.delayKedip = 0; cekAtributeMusuh(jenisMusuh); musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; if (munculMusuhBossRandom == true) { randMusuh = random(100); if (randMusuh <= 10) { bossGajah = true; } else { bossGajah = false; } randMusuh = random(100); if (randMusuh <= 10) { bossRayap = true; } else { if (randMusuh <= 50) { rayapBanyak = true; } else { rayapBanyak = false; } } randMusuh = random(100); if (randMusuh <= 10) { bossUlat = true; } else { if (randMusuh <= 50) { strongUlat = true; } else { strongUlat = false; } } randMusuh = random(100); if (randMusuh <= 10) { bossTikus = true; } else { if (randMusuh <= 50) { ratSniper = true; } else { ratSniper = false; } } randMusuh = random(100); if (randMusuh <= 10) { bossKumbang = true; } else { if (randMusuh <= 50) { crazyKumbang = true; } else { crazyKumbang = false; } } randMusuh = random(100); if (randMusuh <= 10) { bossFlower = true; } else { if (randMusuh <= 50) { fungkyFlower = true; } else { fungkyFlower = false; } } randMusuh = random(100); if (randMusuh <= 10) { kecoaBoss = true; } else { if (randMusuh <= 50) { flyingKecoa = true; } else { flyingKecoa = false; } } randMusuh = random(100); if (randMusuh <= 10) { deathTreeBoss = true; } else { if (randMusuh <= 50) { deathTreeGun = true; } else { deathTreeGun = false; } } randMusuh = random(100); if (randMusuh <= 10) { wormCadabraBoss = true; } else { if (randMusuh <= 50) { wormCadabra = true; } else { wormCadabra = false; } } randMusuh = random(100); if (randMusuh <= 10) { bigBossSnail = true; } else { if (randMusuh <= 50) { bigSnail = true; } else { bigSnail = false; } } } else { if (musuhMunculRandom == true) { randMusuh = random(100); if (randMusuh <= 50) { rayapBanyak = true; } else { rayapBanyak = false; } randMusuh = random(100); if (randMusuh <= 50) { strongUlat = true; } else { strongUlat = false; } randMusuh = random(100); if (randMusuh <= 50) { ratSniper = true; } else { ratSniper = false; } randMusuh = random(100); if (randMusuh <= 50) { crazyKumbang = true; } else { crazyKumbang = false; } randMusuh = random(100); if (randMusuh <= 50) { fungkyFlower = true; } else { fungkyFlower = false; } randMusuh = random(100); if (randMusuh <= 50) { flyingKecoa = true; } else { flyingKecoa = false; } randMusuh = random(100); if (randMusuh <= 50) { deathTreeGun = true; } else { deathTreeGun = false; } randMusuh = random(100); if (randMusuh <= 50) { wormCadabra = true; } else { wormCadabra = false; } randMusuh = random(100); if (randMusuh <= 50) { bigSnail = true; } else { bigSnail = false; } } } if (jenisMusuh == 10 && gajahArmor == true) { if (bossGajah == true) { backBoss(); musuh.live *= 200; musuh.speed *= 0.25; musuh.damage *= 2; musuh.bigThing = true; musuh._yscale = 200; musuh._xscale = 200; } else { musuh.live *= 50; musuh.speed *= 0.75; musuh.damage *= 2; musuh.bigThing = true; } } if (jenisMusuh == 9 && bossRayap == true) { backBoss(); musuh.live *= 1000; musuh.speed *= 0.5; musuh.damage *= 2; musuh.bigThing = true; musuh.tambahanKe = 5; musuh.indiKena.gotoAndStop(2); } else { if (jenisMusuh == 9 && rayapBanyak == true) { musuh.live *= 100; musuh.speed *= 0.75; musuh.damage *= 2; musuh.bigThing = true; musuh.tambahanKe = 1; musuh.indiKena.gotoAndStop(2); } else { if (jenisMusuh == 9) { musuh.bigThing = false; musuh.tambahanKe = 10; musuh.indiKena.gotoAndStop(1); } } } if (jenisMusuh == 8 && bossUlat == true) { backBoss(); musuh._yscale = 120; musuh._xscale = 120; musuh.topiKe = 5; musuh.live *= 100; musuh.speed *= 0.75; musuh.damage *= 3; musuh.bigThing = true; musuh.antiSenjata = true; buahKeMax = 0; gg = 12; while (gg >= 1) { if (_root['bisaBuah' + gg] == true) { buahKeMax = gg - 3; gg = 1; } --gg; } randBawaBuah = buahKeMax + random(4); musuh.buahBawa = randBawaBuah; } else { if (jenisMusuh == 8 && strongUlat == true) { musuh._yscale = 115; musuh._xscale = 115; musuh.topiKe = 1; musuh.live *= 2; musuh.speed *= 0.5; musuh.damage *= 2; musuh.bigThing = true; musuh.antiSenjata = true; buahKeMax = 0; gg = 12; while (gg >= 1) { if (_root['bisaBuah' + gg] == true) { buahKeMax = gg - 3; gg = 1; } --gg; } randBawaBuah = buahKeMax + random(4); musuh.buahBawa = randBawaBuah; } else { if (jenisMusuh == 8) { musuh._yscale = 90; musuh._xscale = 90; musuh.topiKe = 10; musuh.bigThing = false; musuh.sniperGila = false; musuh.antiSenjata = false; randBawaBuah = random(5) + 1; if (randBawaBuah == 1) { musuh.buahBawa = 1; } else { if (randBawaBuah == 2) { musuh.buahBawa = 2; } else { if (randBawaBuah == 3) { musuh.buahBawa = 3; } else { if (randBawaBuah == 4) { musuh.buahBawa = 8; } else { if (randBawaBuah == 5) { musuh.buahBawa = 5; } } } } } } else { musuh.buahBawa = 0; musuh.sniperGila = false; musuh.antiSenjata = false; } } } if (jenisMusuh == 7 && bossTikus == true) { backBoss(); musuh._yscale = 100; musuh._xscale = 100; musuh.topiKe = 5; musuh.bigThing = true; musuh.sniperGila = true; musuh.live *= 50; musuh.speed *= 0.25; musuh.range *= 1.75; musuh.damage *= 1.5; } else { if (jenisMusuh == 7 && ratSniper == true) { musuh._yscale = 100; musuh._xscale = 100; musuh.topiKe = 1; musuh.bigThing = true; musuh.sniperGila = true; musuh.live *= 10; musuh.speed *= 0.5; musuh.range *= 1.5; musuh.damage *= 1.25; } else { if (jenisMusuh == 7) { musuh._yscale = 90; musuh._xscale = 90; musuh.topiKe = 10; musuh.bigThing = false; musuh.sniperGila = false; } else { musuh.sniperGila = false; } } } if (jenisMusuh == 6 && bossKumbang == true && indi4 != 'duplikat') { backBoss(); musuh.topiKe = 1; musuh.live *= 250; musuh.speed *= 0.25; musuh.damage *= 2; musuh._yscale = 130; musuh._xscale = 130; musuh.bigThing = true; musuh.pecahDua = false; musuh.pecahTiga = true; } else { if (jenisMusuh == 6 && crazyKumbang == true && indi4 != 'duplikat') { musuh.topiKe = 10; musuh.live *= 10; musuh.speed *= 0.75; musuh.damage *= 2; musuh._yscale = 120; musuh._xscale = 120; musuh.bigThing = true; musuh.pecahDua = true; musuh.pecahTiga = false; } else { if (jenisMusuh == 6) { musuh.topiKe = 10; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; musuh.pecahDua = false; musuh.pecahTiga = false; } else { musuh.pecahDua = false; musuh.pecahTiga = false; } } } if (indi4 == 'duplikat') { cekAsap(musuh); } if (jenisMusuh == 5 && fungkyFlower == true) { musuh.sepatuKe = 6; musuh.topiKe = 10; musuh.live *= 50; musuh.speed *= 1.5; musuh.damage *= 0.5; musuh._y -= 15; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = true; musuh.meluncur = true; } else { if (jenisMusuh == 5 && bossFlower == true) { backBoss(); musuh.sepatuKe = 13; musuh.topiKe = 1; musuh.live *= 2000; musuh.speed *= 0.5; musuh.damage *= 0.5; musuh.range *= 1.5; musuh._yscale = 120; musuh._xscale = 120; musuh.bigThing = true; musuh.meluncur = true; musuh.serangBanyak = true; } else { if (jenisMusuh == 5) { musuh.sepatuKe = 13; musuh.topiKe = 10; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; musuh.meluncur = false; musuh.serangBanyak = false; } else { musuh.meluncur = false; musuh.serangBanyak = false; } } } if (jenisMusuh == 4 && flyingKecoa == true) { musuh.heliKe = 2; musuh.live *= 2.5; musuh.speed *= 0.75; musuh.damage *= 2; musuh._y -= 15; musuh._yscale = 95; musuh._xscale = 95; musuh.bigThing = true; musuh.lewatSaja = true; musuh.kecoaBukan = true; musuh.kecoaBossBukan = false; musuh.traktor.gotoAndStop(30); musuh.indiKena.gotoAndStop(1); musuh.posisiKe = 'udara'; } else { if (jenisMusuh == 4 && kecoaBoss == true) { backBoss(); musuh.heliKe = 30; musuh.live *= 0.5; musuh.speed *= 0.15; musuh.damage *= 100; musuh.range *= 0.75; musuh._y -= 100; musuh._yscale = 110; musuh._xscale = 110; musuh.bigThing = true; musuh.lewatSaja = false; musuh.meluncur = true; musuh.kecoaBukan = true; musuh.kecoaBossBukan = true; musuh.indiKena.gotoAndStop(2); musuh.traktor.onEnterFrame = enterTraktorMusuh; musuh.posisiKe = 'darat'; } else { if (jenisMusuh == 4) { musuh.heliKe = 30; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; musuh.lewatSaja = false; musuh.kecoaBukan = false; musuh.kecoaBossBukan = false; musuh.nyerangJuga = false; musuh.indiKena.gotoAndStop(1); musuh.traktor.gotoAndStop(30); musuh.posisiKe = 'darat'; } else { musuh.nyerangJuga = false; musuh.kecoaBukan = false; musuh.kecoaBossBukan = false; } } } if (jenisMusuh == 3 && deathTreeGun == true) { musuh.tembakanKe = 1; musuh.live *= 7.5; musuh.speed *= 0.75; musuh.range *= 4; musuh.damage *= 2; musuh._yscale = 100; musuh._xscale = 100; musuh.bigThing = true; musuh.rangeJauh = true; musuh.deathTreeBoss = false; musuh.jenisBuah = 8; } else { if (jenisMusuh == 3 && deathTreeBoss == true) { backBoss(); musuh.tembakanKe = 5; musuh.live *= 75; musuh.speed *= 0.25; musuh.range *= 5; musuh.damage *= 3; musuh._yscale = 110; musuh._xscale = 110; musuh.bigThing = true; musuh.rangeJauh = true; musuh.deathTreeBoss = true; musuh.jenisBuah = 8; } else { if (jenisMusuh == 3) { musuh.tembakanKe = 10; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; musuh.rangeJauh = false; } else { if (jenisMusuh == 7) { musuh.rangeJauh = true; } else { musuh.rangeJauh = false; } } } } if (jenisMusuh == 2 && wormCadabra == true) { musuh.topiKe = 1; musuh.starKe = 10; musuh.live *= 8; musuh.speed = 0; musuh._yscale = 100; musuh._xscale = 100; musuh.bigThing = true; musuh.sihir = true; musuh.delaySihir = 0; musuh.maxSihir = 100; musuh.maxSihir2 = 150; randSihir = random(2); } else { if (jenisMusuh == 2 && wormCadabraBoss == true) { backBoss(); musuh.topiKe = 2; musuh.starKe = 1; musuh.live *= 100; musuh.damage *= 20; musuh.speed *= 0.1; musuh.range *= 5; musuh._yscale = 120; musuh._xscale = 120; musuh.bigThing = true; musuh.sihir2 = true; } else { if (jenisMusuh == 2) { musuh.starKe = 10; musuh.topiKe = 10; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; musuh.sihir = false; } else { musuh.sihir2 = false; musuh.sihir = false; } } } if (jenisMusuh == 7) { musuh.gunner = true; } else { musuh.gunner = false; } if (jenisMusuh == 1 && bigSnail == true) { musuh.topiKe = 1; musuh.live *= 100; musuh.speed *= 0.25; musuh._yscale = 120; musuh._xscale = 120; musuh.bigThing = true; } else { if (jenisMusuh == 1 && bigBossSnail == true) { backBoss(); musuh.topiKe = 5; musuh.live *= 750; musuh.speed *= 0.1; musuh._yscale = 150; musuh._xscale = 150; musuh.bigThing = true; } else { if (jenisMusuh == 1) { musuh.topiKe = 10; musuh._yscale = 90; musuh._xscale = 90; musuh.bigThing = false; } } } if (jenisMusuh == 1 && speedSnail == true) { musuh.sepatuKe = 1; musuh.speedAwalan = musuh.speed; musuh.speed *= 4; } else { if (jenisMusuh == 1) { musuh.speedAwalan = musuh.speed; musuh.sepatuKe = 10; } else { musuh.speedAwalan = musuh.speed; } } if (jenisMusuh == 5) { musuh.beracun = true; } else { musuh.beracun = false; } if (indi3 == 'khusus') { musuh.adaDelayTelor = false; } else { if (indi2 != undefined) { musuh.adaDelayTelor = true; musuh.delayTelor = 0; musuh.maxTelor = 20; } else { musuh.adaDelayTelor = false; } } musuh.speedYY = 10; musuh.batasBawahYY = musuh._y; if (musuh.bossBesar == true) { musuh.tengahLive = musuh.live / 2; musuh.maxLive = musuh.live; } else { musuh.maxLive = musuh.live; } musuh.speedCepat = musuh.speed; musuh.speedLambat = musuh.speed / 3; if (musuh.bossBesar == true) { musuh._yscale = 70; musuh._xscale = 70; } musuh.onEnterFrame = enterMusuh; if (posMusuh == 1) { masukArray1.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 2) { masukArray2.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 3) { masukArray3.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 4) { masukArray4.push(_root['dalamUnit' + posMusuh]); } else { if (posMusuh == 5) { masukArray5.push(_root['dalamUnit' + posMusuh]); } } } } } ++_root['dalamUnit' + posMusuh]; _root['keDalamMusuh' + dalamMusuh] = musuh; ++dalamHama1; if (dalamHama1 >= 400) { dalamHama1 = 100; } ++dalamHama2; if (dalamHama2 >= 900) { dalamHama2 = 500; } ++dalamMusuh; if (dalamMusuh >= 201) { if (bossFinal == true) { dalamMusuh = 2; } else { if (bossDiam == true) { dalamMusuh = 6; } else { dalamMusuh = 1; } } } if (musuhTakTerhingga == false) { ++musuhKini; } } } } function cekAtributeMusuh(indi) { if (indi == 1) { musuh.speed = 1.5; musuh.live = 10; musuh.damage = 10; musuh.range = 75; musuh.serangMax = 25; } else { if (indi == 2) { musuh.speed = 2; musuh.live = 25; musuh.damage = 20; musuh.range = 75; musuh.serangMax = 20; } else { if (indi == 3) { musuh.speed = 1; musuh.live = 100; musuh.damage = 30; musuh.range = 75; musuh.serangMax = 35; } else { if (indi == 4) { musuh.speed = 3; musuh.live = 150; musuh.damage = 15; musuh.range = 100; musuh.serangMax = 25; } else { if (indi == 5) { musuh.speed = 1; musuh.live = 5; musuh.damage = 10; musuh.range = 250; musuh.serangMax = 30; } else { if (indi == 6) { musuh.speed = 1.5; musuh.live = 150; musuh.damage = 25; musuh.range = 75; musuh.serangMax = 0; } else { if (indi == 7) { musuh.speed = 1.75; musuh.live = 250; musuh.damage = 100; musuh.range = 275; musuh.serangMax = 10; } else { if (indi == 8) { musuh.speed = 1.25; musuh.live = 75; musuh.damage = 150; musuh.range = 75; musuh.serangMax = 50; } else { if (indi == 9) { musuh.speed = 3; musuh.live = 15; musuh.damage = 15; musuh.range = 75; musuh.serangMax = 5; } else { if (indi == 10) { musuh.speed = 0.75; musuh.live = 10000; musuh.damage = 200; musuh.range = 75; musuh.serangMax = 75; } } } } } } } } } } if (musuh.bossBesar == true) { musuh.speed = 1; musuh.live = 5000000000.0; musuh.damage = 2000; musuh.range = 300; musuh.serangMax = 250; } if (xlevel >= 63) { musuh.live *= 1.5; musuh.damage *= 1.5; } if (serangMalam == true) { musuh.live *= 5; musuh.damage *= 5; } if (musuh.bossKecil == true) { musuh.speed = 0; } if (pilihMode == 'survival') { musuh.live += 10 * (xlevel - 100); musuh.damage += 10 * (xlevel - 100); } } function cekPecahDua(indi) { if (indi.posisi + 1 <= bykBaris) { ++banyakMusuh; indi.jenisMusuh = indi.xjenisMusuh; ++jumlahMusuh[indi.xjenisMusuh][Number(indi.posisi + 1)]; keMusuhMana(indi, 'bawah'); } if (indi.posisi - 1 >= 1) { ++banyakMusuh; indi.jenisMusuh = indi.xjenisMusuh; ++jumlahMusuh[indi.xjenisMusuh][Number(indi.posisi - 1)]; keMusuhMana(indi, 'atas'); } } function keMusuhMana(indi, indi2) { if (indi2 == 'atas') { musuh_atas = attachMovie('musuh' + indi.jenisMusuh, 'musuh_atas' + keMusuhAtas, keMusuhAtas); musuh_atas._yscale = 90; musuh_atas._xscale = 90; musuh_atas._x = indi._x + random(50) - 25; musuh_atas._y = indi._y; if (speedKe == 1) { musuh_atas.speed = -10; } else { if (speedKe == 2) { musuh_atas.speed = -25; } else { if (speedKe == 4) { musuh_atas.speed = -40; } else { if (speedKe == 8) { musuh_atas.speed = -55; } } } } musuh_atas.topiKe = 10; musuh_atas.batasAtas = indi._y - 100; musuh_atas.indi = indi; musuh_atas.posisi = indi.posisi; musuh_atas.onEnterFrame = enterMusuhAtas; ++keMusuhAtas; if (keMusuhAtas >= 29500) { keMusuhAtas = 29000; } } else { if (indi2 == 'bawah') { musuh_atas = attachMovie('musuh' + indi.jenisMusuh, 'musuh_atas' + keMusuhAtas, keMusuhAtas); musuh_atas._yscale = 90; musuh_atas._xscale = 90; musuh_atas._x = indi._x + random(50) - 25; musuh_atas._y = indi._y; if (speedKe == 1) { musuh_atas.speed = 10; } else { if (speedKe == 2) { musuh_atas.speed = 25; } else { if (speedKe == 4) { musuh_atas.speed = 40; } else { if (speedKe == 8) { musuh_atas.speed = 55; } } } } musuh_atas.topiKe = 10; musuh_atas.batasBawah = indi._y + 100; musuh_atas.indi = indi; musuh_atas.posisi = indi.posisi; musuh_atas.onEnterFrame = enterMusuhBawah; ++keMusuhAtas; if (keMusuhAtas >= 29500) { keMusuhAtas = 29000; } } } } function enterMusuhAtas() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._y += this.speed; if (this._y <= this.batasAtas) { buatMusuh(Number(this.posisi - 1), this.indi, 'khusus2', 'duplikat'); removeMovieClip(this); } } } function enterMusuhBawah() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._y += this.speed; if (this._y >= this.batasBawah) { buatMusuh(Number(this.posisi + 1), this.indi, 'khusus2', 'duplikat'); removeMovieClip(this); } } } function cekBuahMenuju(indi) { efek = attachMovie('buahJalan', 'koin_mc' + dalamEfek2, dalamEfek2); efek.gotoAndStop(indi.buahBawa); efek._x = indi._x + 25; efek._y = indi._y - 50; if (indi.buahBawa == 8) { efek.aimX = 506; } else { efek.aimX = 350 + (indi.buahBawa - 1) * 52; } efek.aimY = 15; efek.kiniDelay = 0; efek.maxDelay = 16; efek.indi2 = indi2; efek.buahBawa = indi.buahBawa; if (speedKe == 1) { efek.speed = 10; } else { if (speedKe == 2) { efek.speed = 25; } else { if (speedKe == 4) { efek.speed = 40; } else { if (speedKe == 8) { efek.speed = 55; } } } } efek._yscale = 95; efek._xscale = 95; efek.onEnterFrame = enterBuahAtas; ++dalamEfek2; if (dalamEfek2 >= 100150) { dalamEfek2 = 100050; } } function enterBuahAtas() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.kiniDelay >= this.maxDelay) { this.deltaX = this._x - this.aimX; this.deltaY = this._y - this.aimY; this.xangle = -Math.atan2(this.deltaX, this.deltaY) / 0.0174532925199433; if (Math.sqrt(this.deltaX * this.deltaX + this.deltaY * this.deltaY) > this.speed) { this._xscale -= this.speed / 5; this._yscale -= this.speed / 5; if (this._xscale <= 45) { this._xscale = 45; } if (this._yscale <= 45) { this._yscale = 45; } this._y -= this.speed * Math.cos(this.xangle * 0.0174532925199433); this._x += this.speed * Math.sin(this.xangle * 0.0174532925199433); } else { this._x = this.aimX; this._y = this.aimY; if (this.buahBawa == 8) { --ui.xjumlahUnit9; if (ui.xjumlahUnit9 <= 0) { ui.xjumlahUnit9 = 0; } } else { --ui['xjumlahUnit' + (5 + this.buahBawa)]; if (ui['xjumlahUnit' + (5 + this.buahBawa)] <= 0) { ui['xjumlahUnit' + (5 + this.buahBawa)] = 0; } } cekMenangBuah(this); removeMovieClip(this); } } else { if (speedKe == 1) { ++this.kiniDelay; } else { if (speedKe == 2) { this.kiniDelay += 2; } else { if (speedKe == 4) { this.kiniDelay += 4; } else { if (speedKe == 8) { this.kiniDelay += 8; } } } } } } } function cekMenangBuah(indi) { jumlahBuahSisa = 0; i = 1; while (i <= 5) { jumlahBuahSisa += ui['xjumlahUnit' + (5 + i)]; ++i; } if (jumlahBuahSisa <= 0) { i = 1000; while (i <= 6000) { _root['musuh' + i].live = 0; ++i; } musuhFinal = indi; menangLevel(); } } function enterMusuh() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this.adaTarget = false; if (this.lewatSaja == false) { i = 12; while (i >= 0) { if (_root['pohon' + pohonMasuk[this.posisi][i]] != undefined && _root['pohon' + pohonMasuk[this.posisi][i]].live > 0) { if (this._x <= _root['pohon' + pohonMasuk[this.posisi][i]]._x) { this.adaTarget = false; } else { if (this._x <= _root['pohon' + pohonMasuk[this.posisi][i]]._x + this.range) { this.ygKena = _root['pohon' + pohonMasuk[this.posisi][i]]; this.adaTarget = true; } } } --i; } } if (this.live <= this.maxLive * 0.2) { if (this.sepatuKe != 10) { if (this.bigThing == true) { cekAsap(this); } if (this.bossBesar == false) { this.speed = this.speedAwalan; } this.sepatuKe = 10; } } if (this.live <= this.maxLive * 0.1) { if (this.topiKe != 10) { if (this.bigThing == true) { cekAsap2(this); } this.topiKe = 10; } } if (this.beku == true) { this.indi.stop(); if (this.bekuKe >= this.bekuMax) { this.beku = false; efek = this.attachMovie('efekEs2', 'efek', 2); efek._x = 0; efek._y = 0; efek._yscale = 100; efek._xscale = 100; } else { this.bekuKe += speedKe; } } else { this.indi.play(); } if (this.bossBesar == true) { if (this.jalanBalik == true) { if (this.serangUnik >= this.serangUnikMax) { this.serangUnik = 0; if (pegangTools == true) { cekRoket('tools', this); } else { if (pegangMinions == true) { cekRoket('minions', this); } } } else { this.serangUnik += speedKe; } } if (this.live <= this.tengahLive) { if (this.kacaKe == 1) { this.live = 10000000; this.tengahLive = this.live / 10; this.indiKena2.gotoAndStop(2); this.kacaKe = 10; } else { if (this.kacaKe == 10) { this.kacaKe = 20; } } } if (this.tahap1 == true) { if (this.jalanBalik == false) { if (this._x <= 600) { this.speed = -this.speed; this.jalanBalik = true; } } else { if (this.jalanBalik == true) { if (this._x >= 1100) { if (this.kacaKe == 10) { this.speed *= 5; this.speed = -this.speed; this.posisi = 3; this.swapDepths(dalamHama0 + (3000 + this.posisi * 1000)); this._y = 200 + (this.posisi - 1) * 103; this.jalanBalik = false; this.tahap1 = false; this.tahap2 = true; } else { this.speed = -this.speed; this.posisi = random(5) + 1; this.swapDepths(dalamHama0 + (3000 + this.posisi * 1000)); this._y = 200 + (this.posisi - 1) * 103; this.jalanBalik = false; } } } } } else { if (this.tahap2 == true) { if (this.jalanBalik == false) { if (this._x <= 250) { this.speed = -this.speed; this.jalanBalik = true; } } else { if (this.jalanBalik == true) { if (this._x >= 1200) { if (this.kacaKe == 20) { this.speed *= 0.05; this.speed = -this.speed; this.posisi = 3; this.swapDepths(dalamHama0 + (3000 + this.posisi * 1000)); this._y = 200 + (this.posisi - 1) * 103; this.jalanBalik = false; this.tahap1 = false; this.tahap2 = false; this.tahap3 = true; } else { this.speed = -this.speed; this.posisi = random(5) + 1; this.swapDepths(dalamHama0 + (3000 + this.posisi * 1000)); this._y = 200 + (this.posisi - 1) * 103; this.jalanBalik = false; } } } } } else { if (this.tahap3 == true) { } } } } if (this.live <= 0) { if (this._currentframe < 20) { backMati(); if (pilihMode == 'arcade' && sudahMenang == true) { ++_root['killPests' + this.xjenisMusuh]; totalKillPest = _root.killPests1 + _root.killPests2 + _root.killPests3 + _root.killPests4 + _root.killPests5 + _root.killPests6 + _root.killPests7 + _root.killPests8 + _root.killPests9 + _root.killPests10; if (totalKillPest >= 1000) { dapatMedal(61); } if (totalKillPest >= 2000) { dapatMedal(62); } if (totalKillPest >= 3000) { dapatMedal(63); } if (totalKillPest >= 4000) { dapatMedal(64); } if (totalKillPest >= 5000) { dapatMedal(65); } if (totalKillPest >= 10000) { dapatMedal(88); } } if (_root.killPests1 >= 100) { dapatMedal(31); } if (_root.killPests2 >= 100) { dapatMedal(32); } if (_root.killPests3 >= 100) { dapatMedal(33); } if (_root.killPests4 >= 100) { dapatMedal(34); } if (_root.killPests5 >= 100) { dapatMedal(35); } if (_root.killPests6 >= 100) { dapatMedal(36); } if (_root.killPests7 >= 100) { dapatMedal(37); } if (_root.killPests8 >= 100) { dapatMedal(38); } if (_root.killPests9 >= 100) { dapatMedal(39); } if (_root.killPests10 >= 100) { dapatMedal(40); } if (this.xjenisMusuh == 1) { dapatMedal(11); } else { if (this.xjenisMusuh == 2) { dapatMedal(12); } else { if (this.xjenisMusuh == 3) { dapatMedal(13); } else { if (this.xjenisMusuh == 4) { dapatMedal(14); } else { if (this.xjenisMusuh == 5) { dapatMedal(15); } else { if (this.xjenisMusuh == 6) { dapatMedal(16); } else { if (this.xjenisMusuh == 7) { dapatMedal(17); } else { if (this.xjenisMusuh == 8) { dapatMedal(18); } else { if (this.xjenisMusuh == 9) { dapatMedal(19); } else { if (this.xjenisMusuh == 10) { dapatMedal(20); } } } } } } } } } } if (this.bossKecil == true) { --jumlahBoss; if (jumlahBoss <= 0) { musuhFinal = this; menangLevel(); } } else { if (this.bossBesar == true) { --jumlahBoss; if (jumlahBoss <= 0) { musuhFinal = this; menangLevel(); } } } if (this.beku == true) { this.beku = false; efek = this.attachMovie('efekEs2', 'efek', 2); efek._x = 0; efek._y = 0; efek._yscale = 100; efek._xscale = 100; } if (this.pecahTiga == true) { cekPecahDua(this); } else { if (this.pecahDua == true) { cekPecahDua(this); } } if (this.buahBawa != 0) { if (buahKumpul == true) { cekBuahMenuju(this); } } if (this.bigThing == true) { cekCoin(this, 'big'); } else { cekCoin(this); } --xtotalMusuh; scoreKe += speedKe; cekTotalMusuh(this); } if (speedKe == 1) { this.gotoAndStop(20); } else { if (speedKe == 2) { this.gotoAndStop(21); } else { if (speedKe == 4) { this.gotoAndStop(22); } else { if (speedKe == 8) { this.gotoAndStop(23); } } } } } else { if (this._x <= -50) { --xtotalMusuh; scoreKe -= speedKe * this.damage; if (scoreKe <= 0) { scoreKe = 0; } cekTotalMusuh(this); kiniLife -= Math.ceil(this.damage * 0.1); if (kiniLife <= 0) { kiniLife = 0; kalahLevel(); } if (this.posisi == 1) { masukArray1.shift(); } else { if (this.posisi == 2) { masukArray2.shift(); } else { if (this.posisi == 3) { masukArray3.shift(); } else { if (this.posisi == 4) { masukArray4.shift(); } else { if (this.posisi == 5) { masukArray5.shift(); } } } } } removeMovieClip(this); } else { if (this.adaTarget == true) { if (this.rangeJauh == true || this.serangBanyak == true) { if (this.meluncur == true) { if (this.beku != true) { this._x -= this.speed * speedKe; } } this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { this.serangKe = this.serangMax - this.serangKe; jenisPeluru = this.jenisBuah; if (this.deathTreeBoss == true) { bykPeluru = 3; } else { if (this.serangBanyak == true) { bykPeluru = 3; } else { bykPeluru = 1; } } i = 1; while (i <= bykPeluru) { if (this.bossBesar == false) { if (this.serangBanyak == true) { peluru = attachMovie('pelurugun_mc', 'peluru' + dalamPeluru, dalamPeluru + this.posisi * 500); peluru.gunner = true; peluru._yscale = 50; peluru._xscale = 50; peluru._xscale = -peluru._xscale; } else { if (this.gunner == true) { if (this.sniperGila == true) { peluru = attachMovie('pelurusniper_mc', 'peluru' + dalamPeluru, dalamPeluru + this.posisi * 500); peluru.tembusKe = 20; peluru.tembus = true; } else { peluru = attachMovie('pelurugun_mc', 'peluru' + dalamPeluru, dalamPeluru + this.posisi * 500); peluru.tembus = false; } peluru.gunner = true; peluru._yscale = 50; peluru._xscale = 50; peluru._xscale = -peluru._xscale; } else { peluru = attachMovie('peluru' + jenisPeluru + 'x', 'peluru' + dalamPeluru, dalamPeluru + this.posisi * 500); peluru.gunner = false; peluru._xscale = -peluru._xscale; } } } if (i == 1) { peluru._x = this._x - 80; peluru._y = this._y - 45; peluru.speed = -5; peluru.speedY = 0; } else { if (i == 2) { peluru._x = this._x - 80; peluru._y = this._y - 40; peluru.speed = -5; peluru.speedY = 3; } else { if (i == 3) { peluru._x = this._x - 80; peluru._y = this._y - 50; peluru.speed = -5; peluru.speedY = -3; } } } if (bykPeluru == 3) { peluru.tiga = true; } else { peluru.tiga = false; } if (this.sniperGila == true) { peluru._x -= 10; peluru._y -= 10; peluru.speed *= 3; peluru.tiga = true; } else { if (this.gunner == true) { peluru._x -= 10; peluru.speed *= 2; } } if (this.serangBanyak == true) { peluru.beracun = true; } peluru.ygKena = this.ygKena; peluru.damage = this.damage; peluru.onEnterFrame = enterPeluruMusuh; ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } ++i; } } if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } else { if (this.meluncur == true) { if (this.beku != true) { this._x -= this.speed * speedKe; } } this.serangKe += 1 * speedKe; if (this.serangKe >= this.serangMax) { backMakan(); this.serangKe = this.serangMax - this.serangKe; this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.sihir2 == true) { backSihir(); this.ygKena.kenaSihir = true; } if (this.beracun == true) { this.ygKena.kenaRacun = true; } } if (speedKe == 1) { this.gotoAndStop(10); } else { if (speedKe == 2) { this.gotoAndStop(11); } else { if (speedKe == 4) { this.gotoAndStop(12); } else { if (speedKe == 8) { this.gotoAndStop(13); } } } } } } else { if (this.sihir == true) { if (this.delaySihir >= this.maxSihir2) { this._x -= 150; this.delaySihir = 0; cekAsap(this); this._visible = true; } else { if (this.delaySihir >= this.maxSihir && this._visible == true) { cekAsap(this); this._visible = false; } else { if (speedKe == 1) { ++this.delaySihir; } else { if (speedKe == 2) { this.delaySihir += 2; } else { if (speedKe == 4) { this.delaySihir += 3; } else { if (speedKe == 8) { this.delaySihir += 4; } } } } } } } else { if (this.adaDelayTelor == true) { if (this.delayTelor >= this.maxTelor) { this.adaDelayTelor = false; } else { this.delayTelor += speedKe; } } else { if (this.beku != true) { this._x -= this.speed * speedKe; } } if (speedKe == 1) { this.gotoAndStop(1); } else { if (speedKe == 2) { this.gotoAndStop(2); } else { if (speedKe == 4) { this.gotoAndStop(3); } else { if (speedKe == 8) { this.gotoAndStop(4); } } } } if (this.kecoaBukan == true) { this.indi.gotoAndStop(1); } else { if (this.kecoaBossBukan == true) { this.indi.gotoAndStop(1); } } } } if (this._x <= 75) { if (_root['buah' + this.posisi].live > 0) { if (this.posisiKe != 'udara') { --banyakKali; cekEfekLedak2(_root['buah' + this.posisi]); _root['buah' + this.posisi].live = 0; } } } } } } if (this.bossKecil == true) { if (this.live > 0) { this.traktor.gotoAndStop(1); this.indi.gotoAndStop(1); } } if (musuhLoncat2 == true) { this._y -= this.speedYY; this.speedYY -= 0.25; if (this._y >= this.batasBawahYY && this.speedYY <= 0) { this.speedYY = 10; } } i = awalI; while (i <= akhirI) { _root['alarmBahaya' + i] = false; ++i; } if (cekHero == 3) { if (this._x <= 700) { _root['alarmBahaya' + this.posisi] = true; } } else { if (this._x <= 550) { _root['alarmBahaya' + this.posisi] = true; } } if (this.kenaRacun == true) { if (this.delayRacun >= this.maxRacun) { efekRacun(this); this.live -= 100; this.delayKedip = 1; this.delayRacun = 0; } else { if (speedKe == 1) { ++this.delayRacun; } else { if (speedKe == 2) { this.delayRacun += 2; } else { if (speedKe == 4) { this.delayRacun += 3; } else { if (speedKe == 8) { this.delayRacun += 4; } } } } } } if (this.kenaSinar == true) { if (this.sinarKe >= this.sinarMax) { if (this.bossBesar == false) { this.speed = this.speedCepat; } this.kenaSinar = false; } else { if (this.bossBesar == false) { this.speed = this.speedLambat; } if (speedKe == 1) { ++this.sinarKe; } else { if (speedKe == 2) { this.sinarKe += 2; } else { if (speedKe == 4) { this.sinarKe += 3; } else { if (speedKe == 8) { this.sinarKe += 4; } } } } } } if (sedangGempa == true) { if (this.bossBesar == false) { this.speed = this.speedLambat; } this._x += 2 * speedKe; this.live -= 50; } else { if (this.bossBesar == false) { this.speed = this.speedCepat; } } if (this.delayKedip >= 1) { if (this.delayKedip >= 5 && this.delayKedip <= 10) { this._alpha = 70; } else { this._alpha = 100; } if (speedKe == 1) { ++this.delayKedip; } else { if (speedKe == 2) { this.delayKedip += 2; } else { if (speedKe == 4) { this.delayKedip += 3; } else { if (speedKe == 8) { this.delayKedip += 4; } } } } if (this.delayKedip >= 15) { this.delayKedip = 0; } } if (xlevel == 1) { if (this._x <= 770) { if (awalTutorial == false) { awalTutorial = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc', 'tutorial_mc', 190909); tutorial.onRelease = klikTutorial; } } } else { if (xlevel == 3) { if (this._x <= 800) { if (awalTutorial2 == false) { awalTutorial2 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc2', 'tutorial_mc', 190909); tutorial.onRelease = klikTutorial2; } } } } } function klikTutorial() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 5) { sedangTutorial = false; removeMovieClip(this); } } function klikTutorial2() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 3) { sedangTutorial = false; removeMovieClip(this); } } function cekRoket(indi, indi2) { peluru = attachMovie('roket_mc', 'peluru' + dalamPeluru, dalamPeluru); peluru.gunner = true; peluru._yscale = 75; peluru._xscale = 75; peluru._x = indi2._x; peluru._y = indi2._y - 250; peluru.speed = 20; peluru.damage = this.damage; if (indi == 'tools') { peluru.onEnterFrame = enterSerangTools; } else { if (indi == 'minions') { peluru.onEnterFrame = enterSerangMinions; } } ++dalamPeluru; if (dalamPeluru >= 26000) { dalamPeluru = 25000; } } function enterSerangTools() { this.aimX = tools._x; this.aimY = tools._y; deltaX = this._x - this.aimX; deltaY = this._y - this.aimY; angle = -Math.atan2(deltaX, deltaY) / 0.0174532925199433; this._rotation = angle; if (tools == undefined) { cekAsap(this); removeMovieClip(this); } if (Math.sqrt(deltaX * deltaX + deltaY * deltaY) > this.speed) { this._y -= this.speed * Math.cos(angle * 0.0174532925199433); this._x += this.speed * Math.sin(angle * 0.0174532925199433); } else { if (tools.tipeTools == 'melee') { tools.indi3.bar._yscale = 100; meleeAction[tools.keTools] = meleeAwal[tools.keTools]; cekAsap(tools); cekRemoveKotak(); } else { if (tipeTools == 'range') { tools.indi3.bar._yscale = 100; rangeAction[tools.keTools] = rangeAwal[tools.keTools]; cekAsap(tools); cekRemoveKotak(); } } cekAsap(this); removeMovieClip(this); } } function enterSerangMinions() { this.aimX = keSerangMinions._x; this.aimY = keSerangMinions._y; deltaX = this._x - this.aimX; deltaY = this._y - this.aimY; angle = -Math.atan2(deltaX, deltaY) / 0.0174532925199433; this._rotation = angle; if (keSerangMinions == undefined) { cekAsap(this); removeMovieClip(this); } if (Math.sqrt(deltaX * deltaX + deltaY * deltaY) > this.speed) { this._y -= this.speed * Math.cos(angle * 0.0174532925199433); this._x += this.speed * Math.sin(angle * 0.0174532925199433); } else { cekAsap(keSerangMinions); keSerangMinions.kaliSerang = keSerangMinions.maxSerang; cekAsap(this); removeMovieClip(this); } } function enterPeluruMusuh() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { this._x += this.speed * speedKe; this._y += this.speedY * speedKe; if (this.tiga == true) { i = 5000; while (i <= dalamPohon) { if (this.hitTest(_root['pohon' + i])) { if (this.gunner == true) { efekTembak(_root['pohon' + i]); } _root['pohon' + i].live -= this.damage; _root['pohon' + i].delayKedip = 1; if (this.sihir2 == true) { _root['pohon' + i].kenaSihir = true; } if (this.beracun == true) { _root['pohon' + i].kenaRacun = true; } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x <= 0) { removeMovieClip(this); } ++i; } } else { if (this.hitTest(this.ygKena)) { if (this.gunner == true) { efekTembak(this.ygKena); } this.ygKena.live -= this.damage; this.ygKena.delayKedip = 1; if (this.sihir2 == true) { backSihir(); this.ygKena.kenaSihir = true; } if (this.beracun == true) { this.ygKena.kenaRacun = true; } if (this.tembus == true) { if (this.tembusKe <= 0) { removeMovieClip(this); } else { --this.tembusKe; } } else { removeMovieClip(this); } } if (this._x <= 0) { removeMovieClip(this); } } } } function cekCoin(indi, indi2) { efek = attachMovie('koin_mc', 'koin_mc' + dalamEfek2, dalamEfek2); efek._x = indi._x; efek._y = indi._y; efek.aimX = 30; efek.aimY = 30; efek.kiniDelay = 0; efek.maxDelay = 16; efek.indi2 = indi2; efek.tambahan = indi.xjenisMusuh; if (speedKe == 1) { efek.speed = 20; } else { if (speedKe == 2) { efek.speed = 35; } else { if (speedKe == 4) { efek.speed = 50; } else { if (speedKe == 8) { efek.speed = 65; } } } } if (efek.indi2 == 'big') { efek._yscale = 125; efek._xscale = 125; } else { efek._yscale = 75; efek._xscale = 75; } efek.onEnterFrame = enterKoin; ++dalamEfek2; if (dalamEfek2 >= 100150) { dalamEfek2 = 100050; } } function enterKoin() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.kiniDelay >= this.maxDelay) { this.deltaX = this._x - this.aimX; this.deltaY = this._y - this.aimY; this.xangle = -Math.atan2(this.deltaX, this.deltaY) / 0.0174532925199433; if (Math.sqrt(this.deltaX * this.deltaX + this.deltaY * this.deltaY) > this.speed) { this._y -= this.speed * Math.cos(this.xangle * 0.0174532925199433); this._x += this.speed * Math.sin(this.xangle * 0.0174532925199433); } else { if (this.indi2 == 'big') { jumlahUang += 50; } else { jumlahUang += this.tambahan; } removeMovieClip(this); } } else { if (speedKe == 1) { ++this.kiniDelay; } else { if (speedKe == 2) { this.kiniDelay += 2; } else { if (speedKe == 4) { this.kiniDelay += 4; } else { if (speedKe == 8) { this.kiniDelay += 8; } } } } } } } function cekAsap(indi) { efek = attachMovie('asap1', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y; efek._yscale = 100; efek._xscale = 100; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function cekAsap2(indi) { efek = attachMovie('asap1', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x - 50; efek._y = indi._y - 50; efek._yscale = 100; efek._xscale = 100; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function cekDebu(indi) { efek = attachMovie('debu_mc', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y; efek._yscale = 100; efek._xscale = 100; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function efekRacun(indi) { efek = attachMovie('efekRacun', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y - 50; efek._yscale = 75; efek._xscale = 75; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function efekTembak(indi) { efek = attachMovie('efekTembak', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y - 25; efek._yscale = 50; efek._xscale = 50; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function efekAir(indi) { efek = attachMovie('efekAir', 'efek' + dalamEfek, dalamEfek); efek._x = indi._x; efek._y = indi._y - 50; efek._yscale = 100; efek._xscale = 100; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } function cekEfek(indi, indi2, indi3) { if (indi == 1) { if (indi2.delayPow >= 4) { indi2.delayPow = 0; rand = random(4); if (rand == 0) { efek = attachMovie('efek011', 'efek' + dalamEfek, dalamEfek); } else { if (rand == 1) { efek = attachMovie('efek012', 'efek' + dalamEfek, dalamEfek); } else { if (rand == 2) { efek = attachMovie('efek013', 'efek' + dalamEfek, dalamEfek); } else { if (rand == 3) { efek = attachMovie('efek014', 'efek' + dalamEfek, dalamEfek); } } } } if (indi3 == 'special') { efek._x = indi2._x + random(50) - 25; efek._y = indi2._y - 95 - random(20) + 10; efek._yscale = 120; efek._xscale = 120; } else { efek._x = indi2._x + random(50) - 25; efek._y = indi2._y - 75 - random(20) + 10; efek._yscale = 60; efek._xscale = 60; } ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } else { ++indi2.delayPow; efek = attachMovie('efek0', 'efek' + dalamEfek, dalamEfek); efek._x = indi2._x + random(50) - 25; efek._y = indi2._y - 50 - random(50) + 25; efek._yscale = 50; efek._xscale = 50; ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } } else { if (indi == 2) { efek = attachMovie('efek' + indi2.jenisBuah, 'efek' + dalamEfek, dalamEfek); if (indi2.tipeSerang == 'melee') { efek._x = indi2._x + 75 + random(10) - 5; efek._y = indi2._y - 50 + random(10) - 5; } else { efek._x = indi2._x + random(10) - 5; efek._y = indi2._y + random(10) - 5; } if (indi2.jenisBuah == 9) { efek._yscale = 40; efek._xscale = 40; } else { if (indi2.jenisBuah == 10) { efek._yscale = 45; efek._xscale = 45; } else { efek._yscale = 75; efek._xscale = 75; } } ++dalamEfek; if (dalamEfek >= 21000) { dalamEfek = 20000; } } } } function clearSemua() { delete myListener.onKeyDown; Key.removeListener(myListener); delete _root.onEnterFrame; delete _root.onMouseUp; delete _root.onMouseDown; removeMovieClip(ui_mc); removeMovieClip(xpohon); removeMovieClip(xpohon2); removeMovieClip(tools); removeMovieClip(sekop_mc); removeMovieClip(text_mc); removeMovieClip(xminions); removeMovieClip(special); removeMovieClip(malam_mc); removeMovieClip(koin_mc2); removeMovieClip(hero); removeMovieClip(option_mc); removeMovieClip(tutorial_mc); i = 5000; while (i <= 6000) { removeMovieClip(_root['pohon' + i]); ++i; } i = 1; while (i <= 5) { removeMovieClip(_root['buah' + i]); removeMovieClip(_root['akar' + i]); ++i; } i = 1; while (i <= 5) { j = 1; while (j <= 6) { removeMovieClip(_root['kotak' + i + j]); ++j; } ++i; } i = 20000; while (i <= 21000) { removeMovieClip(_root['efek' + i]); ++i; } i = 25000; while (i <= 26000) { removeMovieClip(_root['peluru' + i]); ++i; } i = 800; while (i <= 1100) { removeMovieClip(_root['minions' + i]); ++i; } i = 1000; while (i <= 6000) { removeMovieClip(_root['musuh' + i]); removeMovieClip(_root['boladuri' + i]); ++i; } i = 20000; while (i <= 21000) { removeMovieClip(_root['efek' + i]); ++i; } i = 50050; while (i <= 50150) { removeMovieClip(_root['xtools' + i]); ++i; } i = 1; while (i <= 5) { removeMovieClip(_root['tanda_mc' + i]); ++i; } i = 1; while (i <= 5) { removeMovieClip(_root['xkotak' + i]); ++i; } i = 50; while (i <= 150) { removeMovieClip(_root['rusak' + i]); ++i; } i = 100050; while (i <= 100150) { removeMovieClip(_root['koin_mc' + i]); ++i; } i = 80200; while (i <= 80250) { removeMovieClip(_root['awan_mc' + i]); ++i; } i = 25000; while (i <= 26000) { removeMovieClip(_root['peluruRange' + i]); ++i; } } function cekPause() { if (sedangPause == true) { i = 1000; while (i <= 6000) { _root['musuh' + i].indi.stop(); ++i; } i = 5000; while (i <= 6000) { _root['pohon' + i].indi.stop(); ++i; } i = 900; while (i <= 1000) { _root['minions' + i].indi.stop(); ++i; } } else { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = 1000; while (i <= 6000) { _root['musuh' + i].indi.play(); ++i; } i = 5000; while (i <= 6000) { _root['pohon' + i].indi.play(); ++i; } i = 900; while (i <= 1000) { _root['minions' + i].indi.play(); ++i; } } } } function cekCoinMuncul() { efek = attachMovie('koin_mc2', 'koin_mc2', dalamEfek3); efek._x = musuhFinal._x; efek._y = musuhFinal._y - 50; efek.aimX = 550; efek.aimY = 600; efek.kiniDelay = 0; efek.maxDelay = 25; efek.indi2 = indi2; efek.tambahan = indi.xjenisMusuh; if (speedKe == 1) { efek.speed = 25; } else { if (speedKe == 2) { efek.speed = 40; } else { if (speedKe == 4) { efek.speed = 55; } else { if (speedKe == 8) { efek.speed = 70; } } } } efek._yscale = 125; efek._xscale = 125; efek.onEnterFrame = enterKoinMuncul; } function enterKoinMuncul() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this.kiniDelay >= this.maxDelay) { this.deltaX = this._x - this.aimX; this.deltaY = this._y - this.aimY; this.xangle = -Math.atan2(this.deltaX, this.deltaY) / 0.0174532925199433; if (Math.sqrt(this.deltaX * this.deltaX + this.deltaY * this.deltaY) > this.speed) { this._y -= this.speed * Math.cos(this.xangle * 0.0174532925199433); this._x += this.speed * Math.sin(this.xangle * 0.0174532925199433); } else { if (pilihMode == 'challenge') { } else { backUang(); if (pilihMode == 'survival') { xmoney += 50 * (xlevel - 50); } else { if (xlevel >= 62) { xmoney += 50 * xlevel; } else { xmoney += 25 * xlevel; } } ui_mc.koinSebar.gotoAndStop(2); } cekText(1); if (pilihMode == 'arcade' && sudahMenang == true) { ++playGameKe; if (playGameKe >= 500) { dapatMedal(90); } } if (pilihMode == 'arcade' && sudahMenang == true) { if (kiniLife >= totalLife) { ++lastDefenseFull; } if (lastDefenseFull >= 10) { dapatMedal(51); } if (lastDefenseFull >= 20) { dapatMedal(52); } if (lastDefenseFull >= 30) { dapatMedal(53); } if (lastDefenseFull >= 40) { dapatMedal(54); } if (lastDefenseFull >= 50) { dapatMedal(55); } if (lastDefenseFull >= 60) { dapatMedal(56); } if (lastDefenseFull >= 70) { dapatMedal(57); } if (lastDefenseFull >= 80) { dapatMedal(58); } if (lastDefenseFull >= 90) { dapatMedal(59); } if (lastDefenseFull >= 100) { dapatMedal(60); } ++totalWinTime; if (totalWinTime >= 50) { dapatMedal(66); } if (totalWinTime >= 100) { dapatMedal(67); } if (totalWinTime >= 150) { dapatMedal(68); } if (totalWinTime >= 200) { dapatMedal(69); } if (totalWinTime >= 250) { dapatMedal(70); } if (banyakKali >= 5) { ++limaBombs; } if (limaBombs >= 10) { dapatMedal(71); } if (limaBombs >= 20) { dapatMedal(72); } if (limaBombs >= 30) { dapatMedal(73); } if (limaBombs >= 40) { dapatMedal(74); } if (limaBombs >= 50) { dapatMedal(75); } ++winBerturut; if (winBerturut >= 10) { dapatMedal(76); } if (winBerturut >= 20) { dapatMedal(77); } if (winBerturut >= 30) { dapatMedal(78); } if (winBerturut >= 40) { dapatMedal(79); } if (winBerturut >= 50) { dapatMedal(80); } if (banyakKali >= 5) { ++perfectGame; } if (perfectGame >= 5) { dapatMedal(81); } if (perfectGame >= 10) { dapatMedal(82); } if (perfectGame >= 15) { dapatMedal(83); } if (perfectGame >= 20) { dapatMedal(84); } if (perfectGame >= 25) { dapatMedal(85); } if (akanPasangTools == false) { ++takGunaTools; if (takGunaTools >= 20) { dapatMedal(86); } } if (akanPasangFruit == false) { ++takGunaFruit; if (takGunaFruit >= 20) { dapatMedal(87); } } } if (pilihMode == 'survival') { idDelaySelesai = setInterval(cekKemana, delayKeSelesai, 'win'); } else { if (pilihMode == 'special') { idDelaySelesai = setInterval(cekKemana, delayKeSelesai, 'special'); } else { if (xlevel == 100) { idDelaySelesai = setInterval(cekKemana, delayKeSelesai, 'victory'); } else { idDelaySelesai = setInterval(cekKemana, delayKeSelesai, 'win'); } } } removeMovieClip(this); } } else { if (speedKe == 1) { ++this.kiniDelay; } else { if (speedKe == 2) { this.kiniDelay += 2; } else { if (speedKe == 4) { this.kiniDelay += 4; } else { if (speedKe == 8) { this.kiniDelay += 8; } } } } } } } function menangLevel() { if (masihMain == true) { i = 1; while (i <= 12) { ui['army' + i].enabled = false; ++i; } ui.sekop.enabled = false; i = 1000; while (i <= 6000) { _root['musuh' + i].live = 0; ++i; } i = 1; while (i <= 5) { removeMovieClip(_root['tanda_mc' + i]); ++i; } masihMain = false; if (speedKe == 1) { delayKeSelesai = 2750; } else { if (speedKe == 2) { delayKeSelesai = 2250; } else { if (speedKe == 4) { delayKeSelesai = 1750; } else { if (speedKe == 8) { delayKeSelesai = 1250; } } } } cekCoinMuncul(); } } function kalahLevel() { if (masihMain == true) { i = 1; while (i <= 12) { ui['army' + i].enabled = false; ++i; } ui.sekop.enabled = false; masihMain = false; cekText(2); if (speedKe == 1) { delayKeSelesai = 2750; } else { if (speedKe == 2) { delayKeSelesai = 2250; } else { if (speedKe == 4) { delayKeSelesai = 1750; } else { if (speedKe == 8) { delayKeSelesai = 1250; } } } } if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { } else { if (xlevel >= 62) { if (xlevel == 100) { xmoney += 50 * xlevel; } else { if (waveKini == totalWave) { xmoney += 8 * xlevel; } else { if (waveKini == totalWave - 1) { xmoney += 4 * xlevel; } } } } } if (pilihMode == 'arcade' && sudahMenang == true) { ++playGameKe; if (playGameKe >= 500) { dapatMedal(90); } simpanData3(); } winBerturut = 0; perfectGame = 0; idDelaySelesai = setInterval(cekKemana, delayKeSelesai, 'lose'); } } function cekText(indi) { text_mc = attachMovie('text_mc', 'text_mc', 80550); if (indi == 1) { text_mc.gotoAndStop(1); } else { if (indi == 2) { text_mc.gotoAndStop(2); } else { if (indi == 3) { text_mc.gotoAndStop(3); } else { if (indi == 4) { text_mc.gotoAndStop(4); } } } } text_mc._x = 400; text_mc._y = -300; if (speedKe == 1) { text_mc.speed = 50; } else { if (speedKe == 2) { text_mc.speed = 60; } else { if (speedKe == 4) { text_mc.speed = 70; } else { if (speedKe == 8) { text_mc.speed = 80; } } } } text_mc.delayKini = 0; if (speedKe == 1) { text_mc.delayMax = 45; } else { if (speedKe == 2) { text_mc.delayMax = 35; } else { if (speedKe == 4) { text_mc.delayMax = 25; } else { if (speedKe == 8) { text_mc.delayMax = 15; } } } } text_mc.onEnterFrame = enterText; } function enterText() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this._y < 250) { this._y += this.speed; --this.speed; } else { if (this.delayKini >= this.delayMax) { this._y += this.speed; if (this._y >= 900) { if (this._currentframe <= 2) { removeMovieClip(this); } else { cekText2(); } } } else { ++this.delayKini; } } } } function cekText2() { removeMovieClip(text_mc); text_mc = attachMovie('text_mc', 'text_mc', 80550); if (xlevel >= 97) { text_mc.gotoAndStop(11); } else { text_mc.gotoAndStop(10); } text_mc._x = 400; text_mc._y = 275; text_mc._yscale = 0; text_mc._xscale = 0; text_mc._alpha = 0; if (speedKe == 1) { text_mc.speed = 50; } else { if (speedKe == 2) { text_mc.speed = 60; } else { if (speedKe == 4) { text_mc.speed = 70; } else { if (speedKe == 8) { text_mc.speed = 80; } } } } text_mc.delayKini = 0; if (speedKe == 1) { text_mc.delayMax = 45; } else { if (speedKe == 2) { text_mc.delayMax = 35; } else { if (speedKe == 4) { text_mc.delayMax = 25; } else { if (speedKe == 8) { text_mc.delayMax = 15; } } } } text_mc.onEnterFrame = enterText2; } function enterText2() { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { if (this._xscale < 100) { this._xscale += this.speed / 10; this._yscale += this.speed / 10; this._alpha += this.speed / 10; ++this.speed; } else { if (this.delayKini >= this.delayMax / 1.5) { this._xscale += this.speed / 20; this._yscale += this.speed / 20; this._alpha -= this.speed / 10; if (this._alpha <= 0) { sudahMulaiLevel = true; cekTandaSeru(); removeMovieClip(this); } } else { this._alpha += this.speed / 10; if (this._alpha >= 100) { this._alpha = 100; } ++this.delayKini; } } } } function cekKemana(indi) { sedangPause = true; cekPause(); clearInterval(idDelaySelesai); cekTombol(false); cekTransisi3(); transisi3.gotoAndPlay(2); kemana = indi; } stop(); if (levelBonus == false) { if (pilihMode == 'madness') { boxJatuh = false; adaTelorMuncul = false; rand = random(2); if (rand == 0) { adaAkar = true; } else { adaAkar = false; } rand = random(2); if (rand == 0) { tingkatAwan = random(3) + 1; awanHalang = true; } else { awanHalang = false; } munculKhusus(); } } sedangTutorial = false; scoreKini = scoreKe; if (xlevel == 1) { background_mc.gotoAndStop(1); } else { if (xlevel <= 4) { background_mc.gotoAndStop(2); } else { if (xlevel <= 28) { background_mc.gotoAndStop(3); } else { if (xlevel <= 71) { background_mc.gotoAndStop(4); } else { if (xlevel <= 81) { background_mc.gotoAndStop(5); } else { if (xlevel <= 89) { background_mc.gotoAndStop(6); } else { background_mc.gotoAndStop(4); } } } } } } initLevel(); initAwalMusuh(); init(); if (bossDiam == true) { buatBossDiam(); } if (bossFinal == true) { if (pilihMode != 'survival') { buatBossFinal(); } } if (pilihMode == 'survival') { if (xlevel >= 140) { musuhMunculRandom = false; munculMusuhBossRandom = true; } else { if (xlevel >= 120) { musuhMunculRandom = true; munculMusuhBossRandom = false; } else { musuhMunculRandom = false; munculMusuhBossRandom = false; } } } initMusuh(); buatUI(); if (boxAcak == false) { buatBuah(); } if (jadiPest == true) { } else { if (awanHalang == true) { } else { if (boxAcak == true) { } else { buatTanda(); } } } i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { _root['slot' + i + j] = 0; ++j; } ++i; } if (adaAkar == true) { buatAkar(); } if (adaTanahRusak == true) { buatTanahRusak(); } else { if (adaKolam == true) { buatKolam(); } } if (tanahKhusus == true) { buatTanahRusak2(); } if (serangMalam == true) { buatMalam(); } sudahMulaiLevel = false; if (levelBonus == true) { cekText(3); } else { cekText(4); } if (jadiPest == true) { buatPohonKhusus(); } if (massivePohon == true) { buatPohonKhusus2(); } if (pilihMode == 'survival') { buatPohonSurvival(); } if (awanHalang == true) { buatAwan(); } if (cekHero != 0) { buatHero(); } if (boxAcak == true) { i = awalI; while (i <= akhirI) { j = 1; while (j <= 6) { buatBox2(i, j); ++j; } ++i; } } _root.onEnterFrame = function () { if (sudahMulaiLevel == true) { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { i = awalI; while (i <= akhirI) { _root['barisKe' + i] += 1 * speedKe; if (_root['barisKe' + i] >= _root['barisMax' + i]) { _root['barisKe' + i] = _root['barisMax' + i] - _root['barisKe' + i]; _root['barisMax' + i] = _root['lanjutMax' + i]; if (boxAcak == true) { } else { if (boxJatuh == true) { buatBox(i); } else { if (adaTelorMuncul == true) { buatTelor(i); } else { if (jadiPest == false) { buatMusuh(i); } } } } } ++i; } if (sedangGempa == true) { if (gempaKe >= gempaMax && indiGempa == 0) { i = 1; while (i <= bykGempa) { _root['xhujanGempa' + i].gotoAndPlay(5); ++i; } sedangGempa = false; } else { gempaKe += speedKe; ++indiGempa; if (indiGempa == 1) { geserGempaX = 2; } else { if (indiGempa == 2) { geserGempaY = -2; } else { if (indiGempa == 3) { geserGempaX = -2; } else { if (indiGempa == 4) { geserGempaY = 2; indiGempa = 0; } } } } xpohon._x += geserGempaX; xpohon2._x += geserGempaX; tools._x += geserGempaX; sekop_mc._x += geserGempaX; text_mc._x += geserGempaX; xminions._x += geserGempaX; special._x += geserGempaX; malam_mc._x += geserGempaX; koin_mc2._x += geserGempaX; hero._x += geserGempaX; xpohon._y += geserGempaY; xpohon2._y += geserGempaY; tools._y += geserGempaY; sekop_mc._y += geserGempaY; text_mc._y += geserGempaY; xminions._y += geserGempaY; special._y += geserGempaY; malam_mc._y += geserGempaY; koin_mc2._y += geserGempaY; hero._y += geserGempaY; i = 5000; while (i <= 6000) { _root['pohon' + i]._x += geserGempaX; _root['pohon' + i]._y += geserGempaY; ++i; } i = 1; while (i <= 5) { _root['buah' + i]._x += geserGempaX; _root['buah' + i]._y += geserGempaY; _root['akar' + i]._x += geserGempaX; _root['akar' + i]._y += geserGempaY; ++i; } i = 1; while (i <= 5) { j = 1; while (j <= 6) { _root['kotak' + i + j]._x += geserGempaX; _root['kotak' + i + j]._y += geserGempaY; ++j; } ++i; } i = 900; while (i <= 1000) { _root['minions' + i]._x += geserGempaX; _root['minions' + i]._y += geserGempaY; ++i; } i = 1000; while (i <= 6000) { _root['musuh' + i]._x += geserGempaX; _root['musuh' + i]._y += geserGempaY; _root['boladuri' + i]._x += geserGempaX; _root['boladuri' + i]._y += geserGempaY; ++i; } i = awalI; while (i <= akhirI) { _root['xkotak' + i]._x += geserGempaX; _root['xkotak' + i]._y += geserGempaY; ++i; } i = 50; while (i <= 150) { _root['rusak' + i]._x += geserGempaX; _root['rusak' + i]._y += geserGempaY; ++i; } } } } } }; _root.onMouseUp = function () { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { pressTools = false; } }; _root.onMouseDown = function () { if (sedangPause == false && delaySpecial == false && sedangTutorial == false) { pressTools = true; } }; myListener = new Object(); myListener.onKeyDown = function () { if (Key.getCode() == 49) { if (ui.army1._currentframe != 200) { klikArmy(1); } } if (Key.getCode() == 50) { if (ui.army2._currentframe != 200) { klikArmy(2); } } if (Key.getCode() == 51) { if (ui.army3._currentframe != 200) { klikArmy(3); } } if (Key.getCode() == 52) { if (ui.army4._currentframe != 200) { klikArmy(4); } } if (Key.getCode() == 53) { if (ui.army5._currentframe != 200) { klikArmy(5); } } if (Key.getCode() == 54) { if (ui.army6._currentframe != 200) { klikArmy(6); } } if (Key.getCode() == 55) { if (ui.army7._currentframe != 200) { klikArmy(7); } } if (Key.getCode() == 56) { if (ui.army8._currentframe != 200) { klikArmy(8); } } if (Key.getCode() == 57) { if (ui.army9._currentframe != 200) { klikArmy(9); } } if (Key.getCode() == 48) { if (ui.army10._currentframe != 200) { klikArmy(10); } } }; Key.addListener(myListener); } movieClip 2789 { frame 1 { stop(); } } frame 290 { stop(); clearSemua(); kiniLife = xkiniLife; goldRemain = jumlahUang; bonusScore = goldRemain * 0; scoreKe += bonusScore; scoreKe = scoreKini; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { kemana = 'setup'; } } } frame 291 { stop(); clearSemua(); cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'mainmenu'; } frame 292 { function klikTutorial5() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 5) { sedangTutorial = false; removeMovieClip(this); } } stop(); if (xlevel == 62) { if (awalTutorial5 == false) { awalTutorial5 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc5', 'tutorial_mc', 90909); tutorial.onRelease = klikTutorial5; } } posisiAwalUpgrade = 'buy'; belumCekUpgrade = true; if (xlevel >= 73) { gembokHero._visible = false; heroes_btn.enabled = true; } else { gembokHero._visible = true; heroes_btn.enabled = false; } if (xlevel >= 76) { gembokPower._visible = false; powerups_btn.enabled = true; } else { gembokPower._visible = true; powerups_btn.enabled = false; } if (xlevel >= 86) { gembokDressUp._visible = false; dressup_btn.enabled = true; } else { gembokDressUp._visible = true; dressup_btn.enabled = false; } if (pilihMode == 'hacked') { gembokHero._visible = false; heroes_btn.enabled = true; gembokPower._visible = false; powerups_btn.enabled = true; gembokDressUp._visible = false; dressup_btn.enabled = true; } next_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'setup'; }; tools_btn.onRelease = function () { gotoAndStop('tools'); }; plants_btn.onRelease = function () { gotoAndStop('plants'); }; minions_btn.onRelease = function () { gotoAndStop('minions'); }; specials_btn.onRelease = function () { gotoAndStop('specials'); }; heroes_btn.onRelease = function () { gotoAndStop('heroes'); }; powerups_btn.onRelease = function () { gotoAndStop('powerup'); }; dressup_btn.onRelease = function () { gotoAndStop('dressup'); }; _root.onEnterFrame = function () { moneyKe = 'Coin: ' + xmoney; xscoreKe = 'Score: ' + scoreKe; }; } frame 292 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyMelee._visible = true; sellMelee._visible = false; buyRange._visible = true; sellRange._visible = false; buySpecialTools._visible = true; sellSpecialTools._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyMelee._visible = false; sellMelee._visible = true; buyRange._visible = false; sellRange._visible = true; buySpecialTools._visible = false; sellSpecialTools._visible = true; } } } function cekMelee() { keMelee = meleeTools._currentframe; halamanMelee = keMelee + '/' + maxMelee; namaMelee = xnamaMelee[keMelee]; jumlahMelee = _root['jumlahMelee' + keMelee]; costMelee = 'Cost: ' + xcostMelee[keMelee]; if (_root['jumlahMelee' + keMelee] == 1) { detailMelee = 'Damage: ' + xdamageMelee[keMelee] * 2 + '\nUsage: ' + xusageMelee[keMelee] + ' Attacks' + '\nFatal Blows Delay: ' + xdelayMelee[keMelee] + ' Times'; } else { detailMelee = 'Damage: ' + xdamageMelee[keMelee] + '\nUsage: ' + xusageMelee[keMelee] + ' Attacks' + '\nFatal Blows Delay: ' + xdelayMelee[keMelee] + ' Times'; } if (_root['jumlahMelee' + keMelee] == 1) { upgradedMelee._visible = true; upgradedMelee.gotoAndStop(1); buyMelee._visible = false; } else { if (_root['bisaMelee' + keMelee] == false) { upgradedMelee._visible = true; upgradedMelee.gotoAndStop(2); buyMelee._visible = false; } else { upgradedMelee._visible = false; buyMelee._visible = true; } } } function cekRange() { keRange = rangeTools._currentframe; halamanRange = keRange + '/' + maxRange; namaRange = xnamaRange[keRange]; jumlahRange = _root['jumlahRange' + keRange]; costRange = 'Cost: ' + xcostRange[keRange]; if (_root['jumlahRange' + keRange] == 1) { detailRange = 'Damage: ' + xdamageRange[keRange] * 2 + '\nUsage: ' + xusageRange[keRange] + ' Attacks' + '\nMassive Ammo Delay: ' + xdelayRange[keRange] + ' Times'; } else { detailRange = 'Damage: ' + xdamageRange[keRange] + '\nUsage: ' + xusageRange[keRange] + ' Attacks' + '\nMassive Ammo Delay: ' + xdelayRange[keRange] + ' Times'; } if (_root['jumlahRange' + keRange] == 1) { upgradedRange._visible = true; upgradedRange.gotoAndStop(1); buyRange._visible = false; } else { if (_root['bisaRange' + keRange] == false) { upgradedRange._visible = true; upgradedRange.gotoAndStop(2); buyRange._visible = false; } else { upgradedRange._visible = false; buyRange._visible = true; } } } function cekSpecialTools() { keSpecialTools = specialTools._currentframe; halamanSpecialTools = keSpecialTools + '/' + maxSpecialTools; namaSpecialTools = xnamaSpecialTools[keSpecialTools]; jumlahSpecialTools = _root['jumlahSpecialTools' + keSpecialTools]; costSpecialTools = 'Cost: ' + xcostSpecialTools[keSpecialTools]; if (_root['jumlahSpecialTools' + keSpecialTools] == 1) { detailSpecialTools = 'Damage: ' + xdamageSpecialTools[keSpecialTools] * 2 + '\nUsage: ' + xusageSpecialTools[keSpecialTools] + ' Attacks' + '\nSpecial Delay: ' + xdelaySpecialTools[keSpecialTools] + ' Times'; } else { detailSpecialTools = 'Damage: ' + xdamageSpecialTools[keSpecialTools] + '\nUsage: ' + xusageSpecialTools[keSpecialTools] + ' Attacks' + '\nSpecial Delay: ' + xdelaySpecialTools[keSpecialTools] + ' Times'; } if (_root['jumlahSpecialTools' + keSpecialTools] == 1) { upgradedSpecialTools._visible = true; upgradedSpecialTools.gotoAndStop(1); buySpecialTools._visible = false; } else { if (_root['bisaSpecialTools' + keSpecialTools] == false) { upgradedSpecialTools._visible = true; upgradedSpecialTools.gotoAndStop(2); buySpecialTools._visible = false; } else { upgradedSpecialTools._visible = false; buySpecialTools._visible = true; } } } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; xnamaMelee = new Array('', 'Boxing Glove', 'Small Stick', 'Long Stick', 'Baseball Bat', 'Hoe', 'Mattock', 'Crowbar', 'Axe', 'Hammer'); xnamaRange = new Array('', 'Ball', 'Handgun', 'Nail Gun'); xnamaSpecialTools = new Array('', 'Mower', 'RC Helicopter', 'Tractor'); xcostMelee = new Array('', 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000); xcostRange = new Array('', 2500, 5000, 7500); xcostSpecialTools = new Array('', 5000, 7500, 10000); cekToolsAction(); cekMelee(); nextMelee.onRelease = function () { if (meleeTools._currentframe + 1 <= maxMelee) { meleeTools.gotoAndStop(meleeTools._currentframe + 1); cekMelee(); } }; prevMelee.onRelease = function () { meleeTools.gotoAndStop(meleeTools._currentframe - 1); cekMelee(); }; buyMelee.onRelease = function () { if (xmoney >= xcostMelee[keMelee]) { if (_root['jumlahMelee' + keMelee] < 1) { xmoney -= xcostMelee[keMelee]; ++_root['jumlahMelee' + keMelee]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekMelee(); }; sellMelee.onRelease = function () { if (_root['jumlahMelee' + keMelee] > 0) { xmoney += Math.ceil(xcostMelee[keMelee] * 0.75); --_root['jumlahMelee' + keMelee]; } cekMelee(); }; cekRange(); nextRange.onRelease = function () { if (rangeTools._currentframe + 1 <= maxRange) { rangeTools.gotoAndStop(rangeTools._currentframe + 1); cekRange(); } }; prevRange.onRelease = function () { rangeTools.gotoAndStop(rangeTools._currentframe - 1); cekRange(); }; buyRange.onRelease = function () { if (xmoney >= xcostRange[keRange]) { if (_root['jumlahRange' + keRange] < 1) { xmoney -= xcostRange[keRange]; ++_root['jumlahRange' + keRange]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekRange(); }; sellRange.onRelease = function () { if (_root['jumlahRange' + keRange] > 0) { xmoney += Math.ceil(xcostRange[keRange] * 0.75); --_root['jumlahRange' + keRange]; } cekRange(); }; cekSpecialTools(); nextSpecialTools.onRelease = function () { if (specialTools._currentframe + 1 <= maxSpecialTools) { specialTools.gotoAndStop(specialTools._currentframe + 1); cekSpecialTools(); } }; prevSpecialTools.onRelease = function () { specialTools.gotoAndStop(specialTools._currentframe - 1); cekSpecialTools(); }; buySpecialTools.onRelease = function () { if (xmoney >= xcostSpecialTools[keSpecialTools]) { if (_root['jumlahSpecialTools' + keSpecialTools] < 1) { xmoney -= xcostSpecialTools[keSpecialTools]; ++_root['jumlahSpecialTools' + keSpecialTools]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekSpecialTools(); }; sellSpecialTools.onRelease = function () { if (_root['jumlahSpecialTools' + keSpecialTools] > 0) { xmoney += Math.ceil(xcostSpecialTools[keSpecialTools] * 0.75); --_root['jumlahSpecialTools' + keSpecialTools]; } cekSpecialTools(); }; } movieClip 2821 { frame 1 { stop(); } } movieClip 2826 { frame 1 { stop(); } } movieClip 2842 { frame 1 { stop(); } } movieClip 2860 { frame 1 { stop(); } } movieClip 2869 { } movieClip 2873 { } movieClip 2877 { } movieClip 2881 { } movieClip 2885 { } movieClip 2889 { } movieClip 2893 { } movieClip 2896 { } movieClip 2900 { frame 1 { stop(); this._visible = false; } frame 2 { play(); this._visible = true; } } frame 296 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyBuah1._visible = true; sellBuah1._visible = false; buyBuah2._visible = true; sellBuah2._visible = false; buyBuah3._visible = true; sellBuah3._visible = false; buyBuah4._visible = true; sellBuah4._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyBuah1._visible = false; sellBuah1._visible = true; buyBuah2._visible = false; sellBuah2._visible = true; buyBuah3._visible = false; sellBuah3._visible = true; buyBuah4._visible = false; sellBuah4._visible = true; } } } function cekPlants() { i = 1; while (i <= 12) { _root['jumlahBuah' + i] = _root['jumlahBuah' + i]; _root['costBuah' + i] = 'Cost: ' + xcostBuah[i]; cekAtributePohon2(i); if (i == 4) { if (_root['jumlahBuah' + i] == 1) { _root['detailBuah' + i] = 'Life: ' + pohonLive * 5 + '\nDamage: ' + pohonDamage * 2 + '\nRange: ' + pohonRange + '\nAttack Delay: ' + pohonSerangMax; } else { _root['detailBuah' + i] = 'Life: ' + pohonLive + '\nDamage: ' + pohonDamage + '\nRange: ' + pohonRange + '\nAttack Delay: ' + pohonSerangMax; } } else { if (_root['jumlahBuah' + i] == 1) { _root['detailBuah' + i] = 'Life: ' + pohonLive * 2 + '\nDamage: ' + pohonDamage * 2 + '\nRange: ' + pohonRange + '\nAttack Delay: ' + pohonSerangMax; } else { _root['detailBuah' + i] = 'Life: ' + pohonLive + '\nDamage: ' + pohonDamage + '\nRange: ' + pohonRange + '\nAttack Delay: ' + pohonSerangMax; } } ++i; } i = 1; while (i <= 12) { _root['buyBuah' + i].onRelease = buyFruit; _root['sellBuah' + i].onRelease = sellFruit; ++i; } i = 1; while (i <= 12) { if (_root['jumlahBuah' + i] == 1) { _root['upgradedBuah' + i]._visible = true; _root['upgradedBuah' + i].gotoAndStop(1); _root['buyBuah' + i]._visible = false; } else { if (_root['bisaBuah' + i] == false) { _root['upgradedBuah' + i]._visible = true; _root['upgradedBuah' + i].gotoAndStop(2); _root['buyBuah' + i]._visible = false; } else { _root['upgradedBuah' + i]._visible = false; _root['buyBuah' + i]._visible = true; } } ++i; } } function buyFruit() { myStr = new String(this); if (myStr.length == 16) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } if (xmoney >= xcostBuah[indi]) { if (_root['jumlahBuah' + indi] < 1) { xmoney -= xcostBuah[indi]; ++_root['jumlahBuah' + indi]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekPlants(); } function sellFruit() { myStr = new String(this); if (myStr.length == 17) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } if (_root['jumlahBuah' + indi] > 0) { xmoney += Math.ceil(xcostBuah[indi] * 0.75); --_root['jumlahBuah' + indi]; } cekPlants(); } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; next_btn.onRelease = function () { nextFrame(); gotoAndStop(undefined); }; prev_btn.onRelease = function () {}; xcostBuah = new Array('', 2000, 2250, 2500, 2750, 3000, 3250, 3500, 3750, 4000, 4250, 4500, 4750); xlifeBuah = new Array('', 1000, 1500, 500, 1250, 5000, 7500, 6000, 25000, 750, 1000, 1250, 500); xrangeBuah = new Array('', 275, 300, 75, 350, 75, 75, 275, 0, 450, 450, 450, 500); xdamageBuah = new Array('', 10, 20, 500, 30, 35, 40, 15, 0, 50, 75, 100, 200); xdelayBuah = new Array('', 30, 25, 5, 20, 20, 30, 35, 0, 40, 40, 120, 240); cekPlants(); } frame 297 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyBuah5._visible = true; sellBuah5._visible = false; buyBuah6._visible = true; sellBuah6._visible = false; buyBuah7._visible = true; sellBuah7._visible = false; buyBuah8._visible = true; sellBuah8._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyBuah5._visible = false; sellBuah5._visible = true; buyBuah6._visible = false; sellBuah6._visible = true; buyBuah7._visible = false; sellBuah7._visible = true; buyBuah8._visible = false; sellBuah8._visible = true; } } } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; next_btn.onRelease = function () { nextFrame(); gotoAndStop(undefined); }; prev_btn.onRelease = function () { prevFrame(); gotoAndStop(undefined); }; cekPlants(); } frame 298 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyBuah9._visible = true; sellBuah9._visible = false; buyBuah10._visible = true; sellBuah10._visible = false; buyBuah11._visible = true; sellBuah11._visible = false; buyBuah12._visible = true; sellBuah12._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyBuah9._visible = false; sellBuah9._visible = true; buyBuah10._visible = false; sellBuah10._visible = true; buyBuah11._visible = false; sellBuah11._visible = true; buyBuah12._visible = false; sellBuah12._visible = true; } } } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; next_btn.onRelease = function () {}; prev_btn.onRelease = function () { prevFrame(); gotoAndStop(undefined); }; cekPlants(); } frame 301 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyMinion1._visible = true; sellMinion1._visible = false; buyMinion2._visible = true; sellMinion2._visible = false; buyMinion3._visible = true; sellMinion3._visible = false; buyMinion4._visible = true; sellMinion4._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyMinion1._visible = false; sellMinion1._visible = true; buyMinion2._visible = false; sellMinion2._visible = true; buyMinion3._visible = false; sellMinion3._visible = true; buyMinion4._visible = false; sellMinion4._visible = true; } } } function cekMinions() { i = 1; while (i <= 8) { _root['jumlahMinion' + i] = _root['jumlahMinion' + i]; _root['costMinion' + i] = 'Cost: ' + xcostMinion[i]; cekAtributeMinions2(i); if (_root['jumlahMinion' + i] == 1) { _root['detailMinion' + i] = 'Usage: ' + minionsMaxSerang * 2 + ' Attacks' + '\nDamage: ' + minionsDamage * 2 + '\nRange: ' + minionsRange + '\nAttack Delay: ' + minionsSerangMax; } else { _root['detailMinion' + i] = 'Usage: ' + minionsMaxSerang + ' Attacks' + '\nDamage: ' + minionsDamage + '\nRange: ' + minionsRange + '\nAttack Delay: ' + minionsSerangMax; } ++i; } i = 1; while (i <= 8) { _root['buyMinion' + i].onRelease = buyMinion; _root['sellMinion' + i].onRelease = sellMinion; ++i; } i = 1; while (i <= 8) { if (_root['jumlahMinion' + i] == 1) { _root['upgradedMinion' + i]._visible = true; _root['upgradedMinion' + i].gotoAndStop(1); _root['buyMinion' + i]._visible = false; } else { if (_root['bisaMinion' + i] == false) { _root['upgradedMinion' + i]._visible = true; _root['upgradedMinion' + i].gotoAndStop(2); _root['buyMinion' + i]._visible = false; } else { _root['upgradedMinion' + i]._visible = false; _root['buyMinion' + i]._visible = true; } } ++i; } } function buyMinion() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (xmoney >= xcostMinion[indi]) { if (_root['jumlahMinion' + indi] < 1) { xmoney -= xcostMinion[indi]; ++_root['jumlahMinion' + indi]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekMinions(); } function sellMinion() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['jumlahMinion' + indi] > 0) { xmoney += Math.ceil(xcostMinion[indi] * 0.75); --_root['jumlahMinion' + indi]; } cekMinions(); } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; next_btn.onRelease = function () { nextFrame(); gotoAndStop(undefined); }; prev_btn.onRelease = function () {}; xcostMinion = new Array('', 500, 750, 1000, 1250, 1500, 1750, 2000, 2250); xlifeMinion = new Array('', 10, 15, 20, 25, 30, 35, 40, 45); xdamageMinion = new Array('', 50, 55, 60, 65, 70, 75, 80, 85); xrangeMinion = new Array('', 50, 50, 50, 50, 50, 50, 50, 50); xdelayMinion = new Array('', 10, 10, 7, 7, 5, 5, 3, 3); cekMinions(); } movieClip 2969 { } frame 302 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyMinion5._visible = true; sellMinion5._visible = false; buyMinion6._visible = true; sellMinion6._visible = false; buyMinion7._visible = true; sellMinion7._visible = false; buyMinion8._visible = true; sellMinion8._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyMinion5._visible = false; sellMinion5._visible = true; buyMinion6._visible = false; sellMinion6._visible = true; buyMinion7._visible = false; sellMinion7._visible = true; buyMinion8._visible = false; sellMinion8._visible = true; } } } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; next_btn.onRelease = function () {}; prev_btn.onRelease = function () { prevFrame(); gotoAndStop(undefined); }; cekMinions(); } frame 306 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buySpecial1._visible = true; sellSpecial1._visible = false; buySpecial2._visible = true; sellSpecial2._visible = false; buySpecial3._visible = true; sellSpecial3._visible = false; buySpecial4._visible = true; sellSpecial4._visible = false; buySpecial5._visible = true; sellSpecial5._visible = false; buySpecial6._visible = true; sellSpecial6._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buySpecial1._visible = false; sellSpecial1._visible = true; buySpecial2._visible = false; sellSpecial2._visible = true; buySpecial3._visible = false; sellSpecial3._visible = true; buySpecial4._visible = false; sellSpecial4._visible = true; buySpecial5._visible = false; sellSpecial5._visible = true; buySpecial6._visible = false; sellSpecial6._visible = true; } } } function cekSpecials() { i = 1; while (i <= 8) { _root['jumlahSpecial' + i] = _root['jumlahSpecial' + i]; _root['costSpecial' + i] = 'Cost: ' + xcostSpecial[i]; cekAtributeSpecials2(i); if (_root['jumlahSpecial' + i] == 1) { _root['detailSpecial' + i] = 'Damage: ' + efekDamage * 2 + '\nSpecial Information: ' + deskripsiSpecial; } else { _root['detailSpecial' + i] = 'Damage: ' + efekDamage + '\nSpecial Information: ' + deskripsiSpecial; } ++i; } i = 1; while (i <= 8) { _root['buySpecial' + i].onRelease = buySpecial; _root['sellSpecial' + i].onRelease = sellSpecial; ++i; } i = 1; while (i <= 8) { if (_root['jumlahSpecial' + i] == 1) { _root['upgradedSpecial' + i]._visible = true; _root['upgradedSpecial' + i].gotoAndStop(1); _root['buySpecial' + i]._visible = false; } else { if (_root['bisaSpecial' + i] == false) { _root['upgradedSpecial' + i]._visible = true; _root['upgradedSpecial' + i].gotoAndStop(2); _root['buySpecial' + i]._visible = false; } else { _root['upgradedSpecial' + i]._visible = false; _root['buySpecial' + i]._visible = true; } } ++i; } } function buySpecial() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (xmoney >= xcostSpecial[indi]) { if (_root['jumlahSpecial' + indi] < 1) { xmoney -= xcostSpecial[indi]; ++_root['jumlahSpecial' + indi]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekSpecials(); } function sellSpecial() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['jumlahSpecial' + indi] > 0) { xmoney += Math.ceil(xcostSpecial[indi] * 0.75); --_root['jumlahSpecial' + indi]; } cekSpecials(); } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; xcostSpecial = new Array('', 3500, 4000, 4500, 5000, 5500, 6000); xdamageSpecial = new Array('', 100, 125, 150, 175, 200, 225, 250, 275); xrangeSpecial = new Array('', 150, 200, 250, 300, 350, 400); xattackSpecial = new Array('', 4, 4, 5, 5, 6, 6, 7, 7); cekSpecials(); } frame 311 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyHero1._visible = true; sellHero1._visible = false; buyHero2._visible = true; sellHero2._visible = false; buyHero3._visible = true; sellHero3._visible = false; } else { if (posisiAwalUpgrade == 'sell') { buyHero1._visible = false; sellHero1._visible = true; buyHero2._visible = false; sellHero2._visible = true; buyHero3._visible = false; sellHero3._visible = true; } } } function cekHeros() { i = 1; while (i <= 3) { _root['jumlahHero' + i] = _root['jumlahHero' + i]; _root['costHero' + i] = 'Cost: ' + xcostHero[i]; cekAtributeHero2(i); if (_root['jumlahHero' + i] == 1) { if (i == 3) { _root['detailHero' + i] = 'Heal: ' + heroDamage * 2 + '\nRange: ' + heroRange + '\nHero Information: ' + heroInformation; } else { _root['detailHero' + i] = 'Damage: ' + heroDamage * 2 + '\nRange: ' + heroRange + '\nHero Information: ' + heroInformation; } } else { if (i == 3) { _root['detailHero' + i] = 'Heal: ' + heroDamage + '\nRange: ' + heroRange + '\nHero Information: ' + heroInformation; } else { _root['detailHero' + i] = 'Damage: ' + heroDamage + '\nRange: ' + heroRange + '\nHero Information: ' + heroInformation; } } ++i; } i = 1; while (i <= 3) { _root['buyHero' + i].onRelease = buyHero; _root['sellHero' + i].onRelease = sellHero; ++i; } i = 1; while (i <= 3) { if (_root['jumlahHero' + i] == 1) { _root['upgradedHero' + i]._visible = true; _root['upgradedHero' + i].gotoAndStop(1); _root['buyHero' + i]._visible = false; } else { if (_root['bisaHero' + i] == false) { _root['upgradedHero' + i]._visible = true; _root['upgradedHero' + i].gotoAndStop(2); _root['buyHero' + i]._visible = false; } else { _root['upgradedHero' + i]._visible = false; _root['buyHero' + i]._visible = true; } } ++i; } } function buyHero() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (xmoney >= xcostHero[indi]) { if (_root['jumlahHero' + indi] < 1) { xmoney -= xcostHero[indi]; ++_root['jumlahHero' + indi]; } } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO UPGRADE THIS'; msgBox_mc2.gotoAndPlay(2); } cekHeros(); } function sellHero() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['jumlahHero' + indi] > 0) { xmoney += Math.ceil(xcostHero[indi] * 0.75); --_root['jumlahHero' + indi]; } cekHeros(); } stop(); cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; xcostHero = new Array('', 5000, 5000, 5000); xpowerHero = new Array('', 100, 100, 100); xrangeHero = new Array('', 300, 300, 300); xdelayHero = new Array('', 30, 30, 30); xattackHero = new Array('', 10, 10, 10); cekHeros(); } movieClip 3050 { } movieClip 3055 { } movieClip 3060 { } frame 316 { stop(); posisiAwalUpgrade = 'buy'; belumCekUpgrade = true; if (xlevel >= 68) { gembokHero._visible = false; heroes_btn.enabled = true; } else { gembokHero._visible = true; heroes_btn.enabled = false; } if (xlevel >= 76) { gembokPower._visible = false; powerups_btn.enabled = true; } else { gembokPower._visible = true; powerups_btn.enabled = false; } if (xlevel >= 86) { gembokDressUp._visible = false; dressup_btn.enabled = true; } else { gembokDressUp._visible = true; dressup_btn.enabled = false; } next_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'setup'; }; tools_btn.onRelease = function () { gotoAndStop('tools'); }; plants_btn.onRelease = function () { gotoAndStop('plants'); }; minions_btn.onRelease = function () { gotoAndStop('minions'); }; specials_btn.onRelease = function () { gotoAndStop('specials'); }; heroes_btn.onRelease = function () { gotoAndStop('heroes'); }; powerups_btn.onRelease = function () { gotoAndStop('powerup'); }; dressup_btn.onRelease = function () { gotoAndStop('dressup'); }; if (pilihMode == 'hacked') { gembokHero._visible = false; heroes_btn.enabled = true; gembokPower._visible = false; powerups_btn.enabled = true; gembokDressUp._visible = false; dressup_btn.enabled = true; } _root.onEnterFrame = function () { moneyKe = 'Coin: ' + xmoney; xscoreKe = 'Score: ' + scoreKe; }; } frame 316 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } cekSpecials(); } function cekSpecials() { i = 1; while (i <= 5) { _root['toolsUp' + i].onRelease = klikToolsUp; _root['plantsUp' + i].onRelease = klikPlantsUp; _root['minionsUp' + i].onRelease = klikMinionsUp; _root['specialsUp' + i].onRelease = klikSpecialsUp; _root['toolsUp' + i].onRollOver = overToolsUp; _root['plantsUp' + i].onRollOver = overPlantsUp; _root['minionsUp' + i].onRollOver = overMinionsUp; _root['specialsUp' + i].onRollOver = overSpecialsUp; _root['toolsUp' + i].onRollOut = outToolsUp; _root['plantsUp' + i].onRollOut = outPlantsUp; _root['minionsUp' + i].onRollOut = outMinionsUp; _root['specialsUp' + i].onRollOut = outSpecialsUp; _root['toolsUp' + i].onEnterFrame = enterPowerUps; _root['plantsUp' + i].onEnterFrame = enterPowerUps; _root['minionsUp' + i].onEnterFrame = enterPowerUps; _root['specialsUp' + i].onEnterFrame = enterPowerUps; if (posisiAwalUpgrade == 'buy') { judulToolsUp = 'Buy Tools Power Ups'; judulPlantsUp = 'Buy Plants Power Ups'; judulMinionsUp = 'Buy Minions Power Ups'; judulSpecialsUp = 'Buy Specials Power Ups'; } else { if (posisiAwalUpgrade == 'sell') { judulToolsUp = 'Sell Tools Power Ups'; judulPlantsUp = 'Sell Plants Power Ups'; judulMinionsUp = 'Sell Minions Power Ups'; judulSpecialsUp = 'Sell Specials Power Ups'; } } ++i; } i = 1; while (i <= 5) { if (_root['jumlahToolsUp' + i] == 1) { } if (_root['jumlahPlantUp' + i] == 1) { } if (_root['jumlahMinionUp' + i] == 1) { } if (_root['jumlahSpecialUp' + i] == 1) { } ++i; } } function klikToolsUp() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (posisiAwalUpgrade == 'buy') { if (_root['jumlahToolsUp' + indi] < 1) { if (xmoney >= xcostTools[indi]) { xmoney -= xcostTools[indi]; ++_root['jumlahToolsUp' + indi]; } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO BUY THIS'; msgBox_mc2.gotoAndPlay(2); } } } else { if (posisiAwalUpgrade == 'sell') { if (_root['jumlahToolsUp' + indi] > 0) { xmoney += Math.ceil(xcostTools[indi] * 0.75); --_root['jumlahToolsUp' + indi]; } } } cekSpecials(); } function klikPlantsUp() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (posisiAwalUpgrade == 'buy') { if (_root['jumlahPlantUp' + indi] < 1) { if (xmoney >= xcostPlants[indi]) { xmoney -= xcostPlants[indi]; ++_root['jumlahPlantUp' + indi]; } } } else { if (posisiAwalUpgrade == 'sell') { if (_root['jumlahPlantUp' + indi] > 0) { xmoney += Math.ceil(xcostPlants[indi] * 0.75); --_root['jumlahPlantUp' + indi]; } } } cekSpecials(); } function klikMinionsUp() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (posisiAwalUpgrade == 'buy') { if (_root['jumlahMinionUp' + indi] < 1) { if (xmoney >= xcostMinions[indi]) { xmoney -= xcostMinions[indi]; ++_root['jumlahMinionUp' + indi]; } } } else { if (posisiAwalUpgrade == 'sell') { if (_root['jumlahMinionUp' + indi] > 0) { xmoney += Math.ceil(xcostMinions[indi] * 0.75); --_root['jumlahMinionUp' + indi]; } } } cekSpecials(); } function klikSpecialsUp() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (posisiAwalUpgrade == 'buy') { if (_root['jumlahSpecialUp' + indi] < 1) { if (xmoney >= xcostMinions[indi]) { xmoney -= xcostSpecials[indi]; ++_root['jumlahSpecialUp' + indi]; } } } else { if (posisiAwalUpgrade == 'sell') { if (_root['jumlahSpecialUp' + indi] > 0) { xmoney += Math.ceil(xcostSpecials[indi] * 0.75); --_root['jumlahSpecialUp' + indi]; } } } cekSpecials(); } function overToolsUp() { myStr = new String(this); indiTools = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(1); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostTools[indiTools]; msgBox_mc3.penjelasan = xpenjelasanTools[indiTools]; } function overPlantsUp() { myStr = new String(this); indiPlants = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostPlants[indiPlants]; msgBox_mc3.penjelasan = xpenjelasanPlants[indiPlants]; } function overMinionsUp() { myStr = new String(this); indiMinions = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(3); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostMinions[indiMinions]; msgBox_mc3.penjelasan = xpenjelasanMinions[indiMinions]; } function overSpecialsUp() { myStr = new String(this); indiSpecials = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(4); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostSpecials[indiSpecials]; msgBox_mc3.penjelasan = xpenjelasanSpecials[indiSpecials]; } function outToolsUp() { msgBox_mc3.gotoAndStop(1); msgBox_mc3._visible = false; } function outPlantsUp() { msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = false; } function outMinionsUp() { msgBox_mc3.gotoAndStop(3); msgBox_mc3._visible = false; } function outSpecialsUp() { msgBox_mc3.gotoAndStop(4); msgBox_mc3._visible = false; } function enterPowerUps() { msgBox_mc3._x = _root._xmouse; msgBox_mc3._y = _root._ymouse; } stop(); msgBox_mc3._visible = false; cekBuySell(); buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; xcostTools = new Array('', 2000, 3000, 4000, 5000, 6000); xcostPlants = new Array('', 2000, 3000, 4000, 5000, 6000); xcostMinions = new Array('', 2000, 3000, 4000, 5000, 6000); xcostSpecials = new Array('', 2000, 3000, 4000, 5000, 6000); xpenjelasanTools = new Array('', 'Cut tool prices by 50%', 'Increase the tool usage', 'Tool can directly recharge without delay', 'Increase the tool\'s damage', 'Accelerate the fatal blows/massive ammo'); xpenjelasanPlants = new Array('', 'Increase the intensity of attacks', 'Increase the fruit\'s range', 'Increase the fruit\'s live', 'Increase the fruit\'s damage', 'Fruit can directly recharge without delay'); xpenjelasanMinions = new Array('', 'Cut minion prices by 50%', 'Decrease the minion\'s speed', 'Increase the minion\'s usage', 'Increase the minion\'s damage', 'Release three minions at a time'); xpenjelasanSpecials = new Array('', 'Increase the special\'s damage one-half times', 'Increase the special\'s damage thrice', 'Cut special prices by 50%', 'Speed up the recharge of the special', 'Special can attack twice in a row'); cekSpecials(); } movieClip 3094 { } movieClip 3097 { } movieClip 3100 { } movieClip 3103 { } movieClip 3106 { } movieClip 3109 { } movieClip 3112 { } movieClip 3115 { } movieClip 3118 { } movieClip 3121 { } movieClip 3124 { } movieClip 3127 { } movieClip 3130 { } movieClip 3133 { } movieClip 3136 { } movieClip 3139 { } movieClip 3142 { } movieClip 3145 { } movieClip 3148 { } movieClip 3151 { } movieClip 3164 { frame 1 { stop(); } } frame 321 { stop(); posisiAwalUpgrade = 'buy'; belumCekUpgrade = true; if (xlevel >= 68) { gembokHero._visible = false; heroes_btn.enabled = true; } else { gembokHero._visible = true; heroes_btn.enabled = false; } if (xlevel >= 76) { gembokPower._visible = false; powerups_btn.enabled = true; } else { gembokPower._visible = true; powerups_btn.enabled = false; } if (xlevel >= 86) { gembokDressUp._visible = false; dressup_btn.enabled = true; } else { gembokDressUp._visible = true; dressup_btn.enabled = false; } next_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'setup'; }; tools_btn.onRelease = function () { gotoAndStop('tools'); }; plants_btn.onRelease = function () { gotoAndStop('plants'); }; minions_btn.onRelease = function () { gotoAndStop('minions'); }; specials_btn.onRelease = function () { gotoAndStop('specials'); }; heroes_btn.onRelease = function () { gotoAndStop('heroes'); }; powerups_btn.onRelease = function () { gotoAndStop('powerup'); }; dressup_btn.onRelease = function () { gotoAndStop('dressup'); }; if (pilihMode == 'hacked') { gembokHero._visible = false; heroes_btn.enabled = true; gembokPower._visible = false; powerups_btn.enabled = true; gembokDressUp._visible = false; dressup_btn.enabled = true; } _root.onEnterFrame = function () { moneyKe = 'Coin: ' + xmoney; xscoreKe = 'Score: ' + scoreKe; }; } frame 321 { function cekBuySell() { if (posisiAwalUpgrade == 'buy') { buy_btn._visible = false; sell_btn._visible = true; } else { if (posisiAwalUpgrade == 'sell') { buy_btn._visible = true; sell_btn._visible = false; } } if (posisiAwalUpgrade == 'buy') { buyHelmet.gotoAndStop(1); buyShoe.gotoAndStop(1); } else { if (posisiAwalUpgrade == 'sell') { buyHelmet.gotoAndStop(2); buyShoe.gotoAndStop(2); } } } function cekHelmet() { if (halHelmet == 1) { i = 1; while (i <= 6) { _root['topi' + i].gotoAndStop(i); _root['jumlahTopiKe' + i] = _root['jumlahTopi' + i]; _root['topi' + i].onRelease = klikTopi; _root['hargaTopi' + i] = xcostTopi[i]; ++i; } } else { if (halHelmet == 2) { i = 1; while (i <= 6) { _root['topi' + i].gotoAndStop(6 + i); _root['jumlahTopiKe' + i] = _root['jumlahTopi' + (6 + i)]; _root['topi' + i].onRelease = klikTopi; _root['hargaTopi' + i] = xcostTopi[6 + i]; ++i; } } } } function cekShoe() { if (halShoe == 1) { i = 1; while (i <= 6) { _root['sepatu' + i].gotoAndStop(i); _root['belakang' + i].gotoAndStop(i); _root['jumlahSepatuKe' + i] = _root['jumlahSepatu' + i]; _root['sepatu' + i].onRelease = klikSepatu; _root['hargaSepatu' + i] = xcostTopi[i]; ++i; } } else { if (halShoe == 2) { i = 1; while (i <= 6) { _root['sepatu' + i].gotoAndStop(6 + i); _root['belakang' + i].gotoAndStop(6 + i); _root['jumlahSepatuKe' + i] = _root['jumlahSepatu' + (6 + i)]; _root['sepatu' + i].onRelease = klikSepatu; _root['hargaSepatu' + i] = xcostTopi[6 + i]; ++i; } } } } function klikTopi() { indi = this._currentframe; if (_root['jumlahTopi' + indi] < 1) { if (xmoney >= xcostTopi[indi]) { xmoney -= xcostTopi[indi]; ++_root['jumlahTopi' + indi]; } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO BUY THIS'; msgBox_mc2.gotoAndPlay(2); } } cekHelmet(); } function klikSepatu() { indi = this._currentframe; if (_root['jumlahSepatu' + indi] < 1) { if (xmoney >= xcostSepatu[indi]) { xmoney -= xcostSepatu[indi]; ++_root['jumlahSepatu' + indi]; } else { msgBox_mc2.informasi = 'YOU DON\'T HAVE ENOUGH COINS TO BUY THIS'; msgBox_mc2.gotoAndPlay(2); } } cekShoe(); } function cekPlant() { if (halPlant == 1) { buahDressUp.gotoAndStop(1); i = 1; while (i <= 6) { buahDressUp['pohon' + i].topi.gotoAndStop(_root['topiPasang' + i]); buahDressUp['pohon' + i].sepatu1.gotoAndStop(_root['sepatuPasang' + i]); buahDressUp['pohon' + i].sepatu2.gotoAndStop(_root['sepatuPasang' + i]); buahDressUp['pohon' + i].onRelease = klikPohon; ++i; } } else { if (halPlant == 2) { buahDressUp.gotoAndStop(2); i = 7; while (i <= 12) { buahDressUp['pohon' + i].topi.gotoAndStop(_root['topiPasang' + i]); buahDressUp['pohon' + i].sepatu1.gotoAndStop(_root['sepatuPasang' + i]); buahDressUp['pohon' + i].sepatu2.gotoAndStop(_root['sepatuPasang' + i]); buahDressUp['pohon' + i].onRelease = klikPohon; ++i; } } } } function klikPohon() { myStr = new String(this); if (myStr.length == 26) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } pilihBuah = indi; gotoAndStop('dressup2'); } stop(); xcostTopi = new Array('', 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000); xcostSepatu = new Array('', 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000); cekBuySell(); dress_btn.onRelease = function () { pilihBuah = 1; gotoAndStop('dressup2'); }; next_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'setup'; }; buy_btn.onRelease = function () { posisiAwalUpgrade = 'buy'; cekBuySell(); }; sell_btn.onRelease = function () { posisiAwalUpgrade = 'sell'; cekBuySell(); }; halHelmet = 1; halShoe = 1; halPlant = 1; cekHelmet(); cekShoe(); cekPlant(); nextHelmet.onRelease = function () { if (halHelmet < 2) { ++halHelmet; } cekHelmet(); }; prevHelmet.onRelease = function () { if (halHelmet > 1) { --halHelmet; } cekHelmet(); }; nextShoe.onRelease = function () { if (halShoe < 2) { ++halShoe; } cekShoe(); }; prevShoe.onRelease = function () { if (halShoe > 1) { --halShoe; } cekShoe(); }; nextPlant.onRelease = function () { if (halPlant < 2) { ++halPlant; } cekPlant(); }; prevPlant.onRelease = function () { if (halPlant > 1) { --halPlant; } cekPlant(); }; } movieClip 3181 { frame 1 { stop(); } } movieClip 3184 { frame 1 { stop(); } } movieClip 3187 { frame 1 { stop(); } } movieClip 3188 { } movieClip 3189 { } movieClip 3190 { } movieClip 3191 { } movieClip 3192 { } movieClip 3193 { } movieClip 3194 { } movieClip 3195 { } movieClip 3196 { } movieClip 3197 { frame 1 { stop(); } } movieClip 3199 { } movieClip 3200 { } movieClip 3201 { frame 1 { stop(); } } frame 322 { function awalPasangDress() { i = 1; while (i <= 12) { if (arrayTopi[i] == _root['topiPasang' + pilihBuah]) { awalTopi = i; i = 12; } ++i; } i = 1; while (i <= 12) { if (arraySepatu[i] == _root['sepatuPasang' + pilihBuah]) { awalSepatu = i; i = 12; } ++i; } } function cekDressUpPlant() { pohonDress.gotoAndStop(pilihBuah); pohonDress['pohon' + pilihBuah].topi.gotoAndStop(_root['topiPasang' + pilihBuah]); pohonDress['pohon' + pilihBuah].sepatu1.gotoAndStop(_root['sepatuPasang' + pilihBuah]); pohonDress['pohon' + pilihBuah].sepatu2.gotoAndStop(_root['sepatuPasang' + pilihBuah]); if (pilihBuah == 4) { topiDress.gotoAndStop(_root['topiPasang' + pilihBuah]); nextHelmet._visible = true; prevHelmet._visible = true; sepatuDress1.gotoAndStop(100); sepatuDress2.gotoAndStop(13); nextShoe._visible = false; prevShoe._visible = false; } else { topiDress.gotoAndStop(_root['topiPasang' + pilihBuah]); sepatuDress1.gotoAndStop(_root['sepatuPasang' + pilihBuah]); sepatuDress2.gotoAndStop(_root['sepatuPasang' + pilihBuah]); nextHelmet._visible = true; prevHelmet._visible = true; nextShoe._visible = true; prevShoe._visible = true; } } stop(); back_btn.onRelease = function () { gotoAndStop('dressup'); }; keTopi = 2; arrayTopi = new Array('', 13); keSepatu = 2; arraySepatu = new Array('', 13); awalTopi = 1; awalSepatu = 1; i = 1; while (i <= 12) { if (_root['jumlahTopi' + i] >= 1) { arrayTopi[keTopi] = i; ++keTopi; } ++i; } i = 1; while (i <= 12) { if (_root['jumlahSepatu' + i] >= 1) { arraySepatu[keSepatu] = i; ++keSepatu; } ++i; } cekDressUpPlant(); awalPasangDress(); nextPlant.onRelease = function () { ++pilihBuah; if (pilihBuah >= 13) { pilihBuah = 1; } cekDressUpPlant(); awalPasangDress(); }; prevPlant.onRelease = function () { --pilihBuah; if (pilihBuah <= 0) { pilihBuah = 12; } cekDressUpPlant(); awalPasangDress(); }; nextHelmet.onRelease = function () { ++awalTopi; if (awalTopi >= arrayTopi.length) { awalTopi = 1; } _root['topiPasang' + pilihBuah] = arrayTopi[awalTopi]; cekDressUpPlant(); }; prevHelmet.onRelease = function () { --awalTopi; if (awalTopi <= 0) { awalTopi = arrayTopi.length - 1; } _root['topiPasang' + pilihBuah] = arrayTopi[awalTopi]; cekDressUpPlant(); }; nextShoe.onRelease = function () { ++awalSepatu; if (awalSepatu >= arraySepatu.length) { awalSepatu = 1; } _root['sepatuPasang' + pilihBuah] = arraySepatu[awalSepatu]; cekDressUpPlant(); }; prevShoe.onRelease = function () { --awalSepatu; if (awalSepatu <= 0) { awalSepatu = arraySepatu.length - 1; } _root['sepatuPasang' + pilihBuah] = arraySepatu[awalSepatu]; cekDressUpPlant(); }; } movieClip 3223 { frame 1 { stop(); } } movieClip 3239 { frame 1 { stop(); } } movieClip 3240 { frame 1 { stop(); } } movieClip 3244 { frame 1 { stop(); } } frame 326 { function klikTutorial6() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 4) { sedangTutorial = false; removeMovieClip(this); } } function initResetStart() { i = 1; while (i <= 10) { if (_root['sudahRiset' + i] == false) { _root['start' + i]._visible = true; _root['reset' + i]._visible = false; _root['start' + i].onRelease = klikStart; _root['done' + i]._visible = false; } else { _root['start' + i]._visible = false; _root['reset' + i]._visible = true; _root['reset' + i].onRelease = klikReset; _root['done' + i]._visible = true; } ++i; } i = 1; while (i <= 12) { j = 1; while (j <= 2) { _root['riset' + i + j].gelap._visible = false; _root['riset' + i + j].bar._visible = false; if (_root['sudahRiset' + i] == false) { _root['setupRiset' + i + j] = 200; _root['riset' + i + j].gotoAndStop(200); _root['riset' + i + j].gembok_mc._visible = true; _root['cjumlahBuah' + i + j] = ''; } else { _root['riset' + i + j].gotoAndStop(_root['setupRiset' + i + j]); _root['riset' + i + j].gembok_mc._visible = false; _root['cjumlahBuah' + i + j] = hargaPlant[_root['riset' + i + j]._currentframe - 40]; } _root['riset' + i + j].onRelease = klikRiset; ++j; } ++i; } } function initLain() { i = 1; while (i <= 12) { _root['plant' + i].gelap._visible = false; _root['plant' + i].bar._visible = false; _root['riset' + i + 1].gelap._visible = false; _root['riset' + i + 1].bar._visible = false; _root['riset' + i + 2].gelap._visible = false; _root['riset' + i + 2].bar._visible = false; ++i; } z = 1; while (z <= 12) { if (_root['bisaBuah' + z] == true) { _root['plant' + z].gembok_mc._visible = false; } else { _root['plant' + z].gembok_mc._visible = true; } if (_root['bisaBuah' + z] == true) { _root['xjumlahBuah' + z] = hargaPlant[z]; } else { _root['xjumlahBuah' + z] = ''; } ++z; } i = 1; while (i <= 12) { if (_root['bisaBuah' + i] == true) { _root['plant' + i].gotoAndStop(40 + i); _root['plant' + i].onRelease = klikPlant; } ++i; } } function klikPlant() { pilihBuah = this._currentframe; i = 1; while (i <= 10) { if (_root['sudahRiset' + i] == false) { if (_root['riset' + i + 1]._currentframe == 200) { _root['riset' + i + 1].gotoAndStop(pilihBuah); _root['setupRiset' + i + 1] = pilihBuah; _root['riset' + i + 1].gembok_mc._visible = false; } else { if (_root['riset' + i + 2]._currentframe == 200) { _root['riset' + i + 2].gotoAndStop(pilihBuah); _root['setupRiset' + i + 2] = pilihBuah; _root['riset' + i + 2].gembok_mc._visible = false; } } i = 10; } ++i; } } function klikStart() { myStr = new String(this); if (myStr.length == 14) { indiRiset = Number(myStr.substr(myStr.length - 1, 1)); } else { indiRiset = Number(myStr.substr(myStr.length - 2, 2)); } if (_root['riset' + indiRiset + 1]._currentframe != 200 && _root['riset' + indiRiset + 2]._currentframe != 200) { if (_root['riset' + indiRiset + 1]._currentframe != _root['riset' + indiRiset + 2]._currentframe) { xmoney -= 5000; cekGakBisa(false); riset_mc._visible = true; riset_mc.gotoAndPlay(2); } } } function selesaiRiset() { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna9; if (_root.guna9 >= 100) { dapatMedal(49); } } dapatMedal(9); cekGakBisa(true); riset_mc._visible = false; riset_mc.gotoAndStop(1); _root['sudahRiset' + indiRiset] = true; initResetStart(); } function klikReset() { myStr = new String(this); if (myStr.length == 14) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } _root['setupRiset' + indi + 1] = 200; _root['setupRiset' + indi + 2] = 200; _root['sudahRiset' + indi] = false; initResetStart(); } function klikRiset() { myStr = new String(this); if (myStr.length == 15) { indiI = Number(myStr.substr(myStr.length - 2, 1)); indiJ = Number(myStr.substr(myStr.length - 1, 1)); } else { indiI = Number(myStr.substr(myStr.length - 3, 2)); indiJ = Number(myStr.substr(myStr.length - 1, 1)); } if (_root['sudahRiset' + indiI] == false) { if (_root['riset' + indiI + indiJ]._currentframe != 200) { _root['riset' + indiI + indiJ].gotoAndStop(200); _root['setupRiset' + indiI + indiJ] = 200; _root['riset' + indiI + indiJ].gembok_mc._visible = true; } } } function cekGakBisa(indi) { i = 1; while (i <= 12) { _root['plant' + i].enabled = indi; ++i; } i = 1; while (i <= 10) { _root['start' + i].enabled = indi; _root['reset' + i].enabled = indi; ++i; } i = 1; while (i <= 10) { j = 1; while (j <= 2) { _root['riset' + i + j].enabled = indi; ++j; } ++i; } next_btn.enabled = indi; initLain(); } stop(); if (xlevel == 81) { if (awalTutorial6 == false) { awalTutorial6 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc6', 'tutorial_mc', 90909); tutorial.onRelease = klikTutorial6; } } belumCekResearch = true; next_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'setup'; }; how_btn.onRelease = function () { gotoAndStop('xlanjut2'); }; riset_mc._visible = false; initResetStart(); initLain(); _root.onEnterFrame = function () { moneyKe = 'Coin: ' + xmoney; xscoreKe = 'Score: ' + scoreKe; }; } movieClip 3282 { } movieClip 3318 { } movieClip 3320 { frame 1 { stop(); } frame 2 { play(); } frame 30 { _root.backOke(); } frame 50 { stop(); _root.selesaiRiset(); } } frame 327 { stop(); back_btn.onRelease = function () { gotoAndStop('xlanjut1'); }; } frame 328 { function klikTutorial7() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 4) { powerUps._visible = false; sedangTutorial = false; removeMovieClip(this); } } function klikTutorial3() { this.gotoAndStop(this._currentframe + 1); if (this._currentframe >= 5) { sedangTutorial = false; removeMovieClip(this); } } function cekJumlahHero() { if (_root['xjumlahHero' + (_root.xhero._currentframe - 110)] == undefined) { xjumlahHero = 0; } else { xjumlahHero = _root['xjumlahHero' + (_root.xhero._currentframe - 110)]; } } function cekSetupHero() { _root.setupHero = _root.xhero._currentframe; _root.xhero.gotoAndStop(_root.setupHero); } function cekSetupArmy() { z = 1; while (z <= maxBox) { _root['setupArmy' + z] = _root['army' + z]._currentframe; _root['army' + z].gotoAndStop(_root['setupArmy' + z]); ++z; } } function cekJumlahArmy() { cekKeHarga(); z = 1; while (z <= 12) { if (_root['bisaMelee' + z] == true) { _root['xjumlahMelee' + z] = hargaMelee[z]; } else { _root['xjumlahMelee' + z] = ''; } if (_root['bisaRange' + z] == true) { _root['xjumlahRange' + z] = hargaRange[z]; } else { _root['xjumlahRange' + z] = ''; } if (_root['bisaSpecialTools' + z] == true) { _root['xjumlahSpecialTools' + z] = hargaSpecialTools[z]; } else { _root['xjumlahSpecialTools' + z] = ''; } if (_root['bisaBuah' + z] == true) { _root['xjumlahBuah' + z] = hargaPlant[z]; } else { _root['xjumlahBuah' + z] = ''; } if (_root['bisaMinion' + z] == true) { _root['xjumlahMinion' + z] = hargaMinion[z]; } else { _root['xjumlahMinion' + z] = ''; } if (_root['bisaSpecial' + z] == true) { _root['xjumlahSpecial' + z] = hargaSpecials[z]; } else { _root['xjumlahSpecial' + z] = ''; } if (z <= maxBox) { if (_root['army' + z]._currentframe <= 9) { if (_root['bisaMelee' + _root['army' + z]._currentframe] == true) { _root['jumlahUnit' + z] = hargaMelee[_root['army' + z]._currentframe]; } else { _root['jumlahUnit' + z] = ''; } } else { if (_root['army' + z]._currentframe <= 30) { if (_root['bisaRange' + Number(_root['army' + z]._currentframe - 20)] == true) { _root['jumlahUnit' + z] = hargaRange[_root['army' + z]._currentframe - 20]; } else { _root['jumlahUnit' + z] = ''; } } else { if (_root['army' + z]._currentframe <= 40) { if (_root['bisaSpecialTools' + Number(_root['army' + z]._currentframe - 30)] == true) { _root['jumlahUnit' + z] = hargaSpecialTools[_root['army' + z]._currentframe - 30]; } else { _root['jumlahUnit' + z] = ''; } } else { if (_root['army' + z]._currentframe <= 70) { if (_root['bisaBuah' + Number(_root['army' + z]._currentframe - 40)] == true) { _root['jumlahUnit' + z] = hargaPlant[_root['army' + z]._currentframe - 40]; } else { _root['jumlahUnit' + z] = ''; } } else { if (_root['army' + z]._currentframe <= 90) { if (_root['bisaMinion' + Number(_root['army' + z]._currentframe - 70)] == true) { _root['jumlahUnit' + z] = hargaMinion[_root['army' + z]._currentframe - 70]; } else { _root['jumlahUnit' + z] = ''; } } else { if (_root['army' + z]._currentframe <= 110) { if (_root['bisaSpecial' + Number(_root['army' + z]._currentframe - 90)] == true) { _root['jumlahUnit' + z] = hargaSpecials[_root['army' + z]._currentframe - 90]; } else { _root['jumlahUnit' + z] = ''; } } else { _root['jumlahUnit' + z] = 0; } } } } } } } _root['xjumlahHero' + z] = ''; ++z; } z = 1; while (z <= maxBox) { if (_root['jumlahUnit' + z] <= 0) { } ++z; } } function cekArmyBisa() { if (xlevel >= 72 && xlevel <= 90) { adaUnitArmy = 1; } else { adaUnitArmy = 0; } i = awalBox; while (i <= maxBox) { if (_root['army' + i]._currentframe == 200) { ++adaUnitArmy; } ++i; } if (adaUnitArmy == maxBox) { gakBisaLanjut = true; msgBox_mc2.informasi = 'YOU DON\'T SELECT ANY ITEMS, PLACE AT LEAST ONE ITEM TO PROCEED.'; } else { gakBisaLanjut = false; } if (gakBisaLanjut == false) { if (xlevel == 16) { adaBombKiwi = false; i = awalBox; while (i <= maxBox) { if (_root['army' + i]._currentframe == 43) { adaBombKiwi = true; } ++i; } if (adaBombKiwi == false) { gakBisaLanjut = true; msgBox_mc2.informasi = 'SNAIL BOSS IS INCOMING IN THIS LEVEL, YOU MUST TO PLACE KIWI TO PROCEED.'; } else { gakBisaLanjut = false; } } } if (gakBisaLanjut == false) { if (adaTanahRusak == true) { adaTanaman = false; i = awalBox; while (i <= maxBox) { if (_root['army' + i]._currentframe >= 41 && _root['army' + i]._currentframe <= 70) { adaTanaman = true; } ++i; } if (adaTanaman == true) { gakBisaLanjut = true; msgBox_mc2.informasi = 'SOIL HAS BEEN DAMAGES, YOU CAN\'T USE ANY FRUITS, REMOVE IT TO PROCEED.'; } else { gakBisaLanjut = false; } } } } function overMelee() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['meleePowerUps' + indi] >= 1) { msgBox_mc4._visible = true; msgBox_mc4.gotoAndStop(1); msgBox_mc4.toolsPowerUps.gotoAndStop(_root['meleePowerUps' + indi]); msgBox_mc4._x = this._x + 135; msgBox_mc4._y = this._y + 135; } } function outMelee() { msgBox_mc4._visible = false; } function overRange() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['rangePowerUps' + indi] >= 1) { msgBox_mc4._visible = true; msgBox_mc4.gotoAndStop(1); msgBox_mc4.toolsPowerUps.gotoAndStop(_root['rangePowerUps' + indi]); msgBox_mc4._x = this._x + 135; msgBox_mc4._y = this._y + 135; } } function outRange() { msgBox_mc4._visible = false; } function overPlant() { myStr = new String(this); if (myStr.length == 14) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } if (_root['buahPowerUps' + indi] >= 1) { msgBox_mc4._visible = true; msgBox_mc4.gotoAndStop(2); msgBox_mc4.plantsPowerUps.gotoAndStop(_root['buahPowerUps' + indi]); msgBox_mc4._x = this._x + 135; msgBox_mc4._y = this._y + 135; } } function outPlant() { msgBox_mc4._visible = false; } function overMinion() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['minionsPowerUps' + indi] >= 1) { msgBox_mc4._visible = true; msgBox_mc4.gotoAndStop(3); msgBox_mc4.minionsPowerUps.gotoAndStop(_root['minionsPowerUps' + indi]); msgBox_mc4._x = this._x + 135; msgBox_mc4._y = this._y - 100; } } function outMinion() { msgBox_mc4._visible = false; } function overSpecial() { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['specialsPowerUps' + indi] >= 1) { msgBox_mc4._visible = true; msgBox_mc4.gotoAndStop(4); msgBox_mc4.specialsPowerUps.gotoAndStop(_root['specialsPowerUps' + indi]); msgBox_mc4._x = this._x + 135; msgBox_mc4._y = this._y - 100; } } function outSpecial() { msgBox_mc4._visible = false; } function pasangItem(indi, indi2) { bisaLanjut = true; i = awalBox; while (i <= maxBox) { if (_root['army' + i]._currentframe == indi._currentframe) { bisaLanjut = false; } ++i; } if (bisaLanjut == true) { i = awalBox; while (i <= maxBox) { if (_root['army' + i]._currentframe == 200) { indi.bar._visible = true; _root['army' + i].gotoAndStop(indi._currentframe); cekSetupArmy(); _root['jumlahUnit' + i] = indi2; i = 12; } ++i; } } } function pasangHero(indi, indi2) { bisaLanjut = true; if (_root.xhero._currentframe == indi._currentframe) { bisaLanjut = false; } if (bisaLanjut == true) { if (_root.xhero._currentframe == 200) { indi.bar._visible = true; _root.xhero.gotoAndStop(indi._currentframe); cekSetupHero(); } } } function klikMelee() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['xjumlahMelee' + indi] > 0) { pasangItem(this, _root['xjumlahMelee' + indi]); } } else { if (sedangPilihToolsPowerUps == true) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna8; if (_root.guna8 >= 100) { dapatMedal(48); } } dapatMedal(8); myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); _root['meleePowerUps' + indi] = pilihToolsPowerUps; initAwalanPowerUps(); cekArmyBisa2(true); } } } function klikRange() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['xjumlahRange' + indi] > 0) { pasangItem(this, _root['xjumlahRange' + indi]); } } else { if (sedangPilihToolsPowerUps == true) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna8; if (_root.guna8 >= 100) { dapatMedal(48); } } dapatMedal(8); myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); _root['rangePowerUps' + indi] = pilihToolsPowerUps; initAwalanPowerUps(); cekArmyBisa2(true); } } } function klikSpecialTool() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['xjumlahSpecialTools' + indi] > 0) { pasangItem(this, _root['xjumlahSpecialTools' + indi]); } } } function klikPlant() { if (sedangDragPowerUps == false) { myStr = new String(this); if (myStr.length == 14) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } if (_root['xjumlahBuah' + indi] > 0) { pasangItem(this, _root['xjumlahBuah' + indi]); } } else { if (sedangPilihPlantsPowerUps == true) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna8; if (_root.guna8 >= 100) { dapatMedal(48); } } dapatMedal(8); myStr = new String(this); if (myStr.length == 14) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } _root['buahPowerUps' + indi] = pilihPlantsPowerUps; initAwalanPowerUps(); cekArmyBisa2(true); } } } function klikMinion() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['xjumlahMinion' + indi] > 0) { pasangItem(this, _root['xjumlahMinion' + indi]); } } else { if (sedangPilihMinionsPowerUps == true) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna8; if (_root.guna8 >= 100) { dapatMedal(48); } } dapatMedal(8); myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); _root['minionsPowerUps' + indi] = pilihMinionsPowerUps; initAwalanPowerUps(); cekArmyBisa2(true); } } } function klikSpecial() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); if (_root['xjumlahSpecial' + indi] > 0) { pasangItem(this, _root['xjumlahSpecial' + indi]); } } else { if (sedangPilihSpecialsPowerUps == true) { if (pilihMode == 'arcade' && sudahMenang == true) { ++_root.guna8; if (_root.guna8 >= 100) { dapatMedal(48); } } dapatMedal(8); myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); _root['specialsPowerUps' + indi] = pilihSpecialsPowerUps; initAwalanPowerUps(); cekArmyBisa2(true); } } } function klikHero() { if (sedangDragPowerUps == false) { if (xhero._currentframe == 200) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); pasangHero(this); } } } function klikArmy() { myStr = new String(this); if (myStr.length == 13) { indi = Number(myStr.substr(myStr.length - 1, 1)); } else { indi = Number(myStr.substr(myStr.length - 2, 2)); } cekBalikItems(this); this.gotoAndStop(200); cekSetupArmy(); _root['jumlahUnit' + indi] = 0; } function klikArmyHero() { xjumlahHero = 0; _root['hero' + (xhero._currentframe - 110)].bar._visible = false; _root.xhero.gotoAndStop(200); _root.setupHero = 200; cekSetupHero(); } function cekBalikItems(indi) { if (indi != undefined) { if (indi._currentframe <= 9) { _root['melee' + indi._currentframe].bar._visible = false; } else { if (indi._currentframe <= 30) { _root['range' + (indi._currentframe - 20)].bar._visible = false; } else { if (indi._currentframe <= 40) { _root['specialTool' + (indi._currentframe - 30)].bar._visible = false; } else { if (indi._currentframe <= 70) { _root['plant' + (indi._currentframe - 40)].bar._visible = false; } else { if (indi._currentframe <= 90) { _root['minion' + (indi._currentframe - 70)].bar._visible = false; } else { if (indi._currentframe <= 110) { _root['special' + (indi._currentframe - 90)].bar._visible = false; } } } } } } } else { z = 1; while (z <= 12) { if (_root['army' + z]._currentframe <= 9) { _root['melee' + _root['army' + z]._currentframe].bar._visible = false; } else { if (_root['army' + z]._currentframe <= 30) { _root['range' + (_root['army' + z]._currentframe - 20)].bar._visible = false; } else { if (_root['army' + z]._currentframe <= 40) { _root['specialTool' + (_root['army' + z]._currentframe - 30)].bar._visible = false; } else { if (_root['army' + z]._currentframe <= 70) { _root['plant' + (_root['army' + z]._currentframe - 40)].bar._visible = false; } else { if (_root['army' + z]._currentframe <= 90) { _root['minion' + (_root['army' + z]._currentframe - 70)].bar._visible = false; } else { if (_root['army' + z]._currentframe <= 110) { _root['special' + (_root['army' + z]._currentframe - 90)].bar._visible = false; } } } } } } ++z; } } } function initAwalanPowerUps() { stopDrag(); powerUps._visible = false; sedangDragPowerUps = false; sedangPilihToolsPowerUps = false; sedangPilihPlantsPowerUps = false; sedangPilihMinionsPowerUps = false; sedangPilihSpecialsPowerUps = false; toolsPowerUps._x = posAwalToolsX; toolsPowerUps._y = posAwalToolsY; plantsPowerUps._x = posAwalPlantsX; plantsPowerUps._y = posAwalPlantsY; minionsPowerUps._x = posAwalMinionsX; minionsPowerUps._y = posAwalMinionsY; specialsPowerUps._x = posAwalSpecialsX; specialsPowerUps._y = posAwalSpecialsY; i = 1; while (i <= 12) { _root['melee' + i].gelap._visible = false; _root['range' + i].gelap._visible = false; ++i; } i = 1; while (i <= 12) { _root['plant' + i].gelap._visible = false; ++i; } i = 1; while (i <= 12) { _root['minion' + i].gelap._visible = false; ++i; } i = 1; while (i <= 12) { _root['special' + i].gelap._visible = false; ++i; } } function klikPowerTools() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); pilihToolsPowerUps = indi; toolsPowerUps.gotoAndStop(indi); startDrag(toolsPowerUps, true); sedangDragPowerUps = true; sedangPilihToolsPowerUps = true; i = 1; while (i <= 12) { _root['melee' + i].gelap._visible = true; _root['range' + i].gelap._visible = true; ++i; } } else { stopDrag(); sedangDragPowerUps = false; sedangPilihToolsPowerUps = false; toolsPowerUps._x = posAwalToolsX; toolsPowerUps._y = posAwalToolsY; i = 1; while (i <= 12) { _root['melee' + i].gelap._visible = false; _root['range' + i].gelap._visible = false; ++i; } } } function klikPowerPlants() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); pilihPlantsPowerUps = indi; plantsPowerUps.gotoAndStop(indi); startDrag(plantsPowerUps, true); sedangDragPowerUps = true; sedangPilihPlantsPowerUps = true; i = 1; while (i <= 12) { _root['plant' + i].gelap._visible = true; ++i; } } else { stopDrag(); sedangDragPowerUps = false; sedangPilihPlantsPowerUps = false; plantsPowerUps._x = posAwalPlantsX; plantsPowerUps._y = posAwalPlantsY; i = 1; while (i <= 12) { _root['plant' + i].gelap._visible = false; ++i; } } } function klikPowerMinions() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); pilihMinionsPowerUps = indi; minionsPowerUps.gotoAndStop(indi); startDrag(minionsPowerUps, true); sedangDragPowerUps = true; sedangPilihMinionsPowerUps = true; i = 1; while (i <= 12) { _root['minion' + i].gelap._visible = true; ++i; } } else { stopDrag(); sedangDragPowerUps = false; sedangPilihMinionsPowerUps = false; minionsPowerUps._x = posAwalMinionsX; minionsPowerUps._y = posAwalMinionsY; i = 1; while (i <= 12) { _root['minion' + i].gelap._visible = false; ++i; } } } function klikPowerSpecials() { if (sedangDragPowerUps == false) { myStr = new String(this); indi = Number(myStr.substr(myStr.length - 1, 1)); pilihSpecialsPowerUps = indi; specialsPowerUps.gotoAndStop(indi); startDrag(specialsPowerUps, true); sedangDragPowerUps = true; sedangPilihSpecialsPowerUps = true; i = 1; while (i <= 12) { _root['special' + i].gelap._visible = true; ++i; } } else { stopDrag(); sedangDragPowerUps = false; sedangPilihSpecialsPowerUps = false; specialsPowerUps._x = posAwalSpecialsX; specialsPowerUps._y = posAwalSpecialsY; i = 1; while (i <= 12) { _root['special' + i].gelap._visible = false; ++i; } } } function cekArmyBisa2(indi) { i = awalBox; while (i <= maxBox) { _root['army' + i].enabled = indi; ++i; } } function overToolsUp() { if (sedangDragPowerUps == false) { myStr = new String(this); indiTools = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostTools[indiTools]; msgBox_mc3.penjelasan = xpenjelasanTools[indiTools]; } else { msgBox_mc3._visible = false; } } function overPlantsUp() { if (sedangDragPowerUps == false) { myStr = new String(this); indiPlants = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostPlants[indiPlants]; msgBox_mc3.penjelasan = xpenjelasanPlants[indiPlants]; } else { msgBox_mc3._visible = false; } } function overMinionsUp() { if (sedangDragPowerUps == false) { myStr = new String(this); indiMinions = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostMinions[indiMinions]; msgBox_mc3.penjelasan = xpenjelasanMinions[indiMinions]; } else { msgBox_mc3._visible = false; } } function overSpecialsUp() { if (sedangDragPowerUps == false) { myStr = new String(this); indiSpecials = Number(myStr.substr(myStr.length - 1, 1)); msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = true; msgBox_mc3.harga = 'Price: ' + xcostSpecials[indiSpecials]; msgBox_mc3.penjelasan = xpenjelasanSpecials[indiSpecials]; } else { msgBox_mc3._visible = false; } } function outToolsUp() { msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = false; } function outPlantsUp() { msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = false; } function outMinionsUp() { msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = false; } function outSpecialsUp() { msgBox_mc3.gotoAndStop(2); msgBox_mc3._visible = false; } stop(); if (xlevel == 76) { if (awalTutorial7 == false) { awalTutorial7 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc7', 'tutorial_mc', 90909); tutorial.onRelease = klikTutorial7; } } if (xlevel == 7) { if (awalTutorial3 == false) { awalTutorial3 = true; sedangTutorial = true; tutorial = attachMovie('tutorial_mc3', 'tutorial_mc', 90909); tutorial.onRelease = klikTutorial3; } } msgBox_mc3._visible = false; msgBox_mc4._visible = false; if (pilihMode == 'survival') { levelKe = 'Day: ' + xlevel; } else { levelKe = 'Day: ' + xlevel + '/100'; } moneyKe = 'Coin: ' + xmoney; xscoreKe = 'Score: ' + scoreKe; if (tanahKhusus == true) { awalBox = 2; } else { awalBox = 1; } if (xlevel >= 68) { fatalBlow._visible = true; } else { fatalBlow._visible = false; } if (xlevel >= 74) { massiveAmmo._visible = true; } else { massiveAmmo._visible = false; } if (xlevel >= 76) { powerTools._alpha = 100; powerPlants._alpha = 100; powerMinions._alpha = 100; powerSpecials._alpha = 100; powerTools.enabled = true; powerPlants.enabled = true; powerMinions.enabled = true; powerSpecials.enabled = true; } else { powerTools._alpha = 10; powerPlants._alpha = 10; powerMinions._alpha = 10; powerSpecials._alpha = 10; powerTools.enabled = false; powerPlants.enabled = false; powerMinions.enabled = false; powerSpecials.enabled = false; } if (xlevel >= 62) { lockUpgrade._visible = false; upgrade_btn.enabled = true; } else { lockUpgrade._visible = true; upgrade_btn.enabled = false; } if (xlevel >= 81) { lockResearch._visible = false; research_btn.enabled = true; } else { lockResearch._visible = true; research_btn.enabled = false; } if (xlevel == 81) { if (belumCekResearch == false) { lockStart._visible = true; start_btn.enabled = false; } else { lockStart._visible = false; start_btn.enabled = true; } } else { if (xlevel == 62) { if (belumCekUpgrade == false) { lockStart._visible = true; start_btn.enabled = false; } else { lockStart._visible = false; start_btn.enabled = true; } } else { lockStart._visible = false; start_btn.enabled = true; } } if (pilihMode == 'hacked') { lockResearch._visible = false; research_btn.enabled = true; lockUpgrade._visible = false; upgrade_btn.enabled = true; lockStart._visible = false; start_btn.enabled = true; powerTools._alpha = 100; powerPlants._alpha = 100; powerMinions._alpha = 100; powerSpecials._alpha = 100; powerTools.enabled = true; powerPlants.enabled = true; powerMinions.enabled = true; powerSpecials.enabled = true; massiveAmmo._visible = true; fatalBlow._visible = true; } new_mc._visible = false; if (pilihMode == 'arcade' || pilihMode == 'challenge' || pilihMode == 'madness') { new_mc.hacked._visible = false; } else { new_mc.msgBox_mc6._visible = false; new_mc.tandaNew.enabled = false; new_mc.penjelasan = ''; new_mc.hacked._visible = true; } news_btn.onRelease = function () { sedangPause = true; option = attachMovie('option_mc', 'option_mc', 81818); option._x = 400; option._y = -150; option.gotoAndStop(2); i = 100050; while (i <= 100150) { _root['koin_mc' + i]._visible = false; ++i; } option.continue_btn.onRelease = function () { i = 100050; while (i <= 100150) { _root['koin_mc' + i]._visible = true; ++i; } removeMovieClip(option_mc); sedangPause = false; }; option.news_btn.onRelease = function () { if (new_mc._visible == false) { new_mc.gotoAndStop(xlevel - 1); new_mc._visible = true; } else { new_mc._visible = false; } new_mc.msgBox_mc6._visible = false; new_mc.penjelasan = ''; removeMovieClip(option_mc); }; option.quit_btn.onRelease = function () { backStory(); removeMovieClip(option_mc); sedangPause = true; cekPause(); clearInterval(idDelaySelesai); cekTombol(false); cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'restart2'; }; }; new_mc.onRelease = function () { new_mc._visible = false; }; upgrade_btn.onRelease = function () { removeMovieClip(option_mc); delete _root.onEnterFrame; cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'upgrade'; }; research_btn.onRelease = function () { removeMovieClip(option_mc); delete _root.onEnterFrame; cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'research'; }; i = 1; while (i <= 12) { _root['army' + i]._visible = false; _root['army' + i].gotoAndStop(200); _root['jumlahUnit' + i] = ''; ++i; } i = awalBox; while (i <= maxBox) { _root['army' + i]._visible = true; _root['army' + i].gotoAndStop(Number(_root['setupArmy' + i])); _root['army' + i].onRelease = klikArmy; _root['army' + i].gelap._visible = false; _root['army' + i].bar._visible = false; _root['army' + i].gembok_mc._visible = false; ++i; } xhero.gelap._visible = false; xhero.bar._visible = false; i = 1; while (i <= 12) { _root['melee' + i].gelap._visible = false; _root['range' + i].gelap._visible = false; _root['specialTool' + i].gelap._visible = false; _root['plant' + i].gelap._visible = false; _root['minion' + i].gelap._visible = false; _root['special' + i].gelap._visible = false; _root['hero' + i].gelap._visible = false; _root['melee' + i].bar._visible = false; _root['range' + i].bar._visible = false; _root['specialTool' + i].bar._visible = false; _root['plant' + i].bar._visible = false; _root['minion' + i].bar._visible = false; _root['special' + i].bar._visible = false; _root['hero' + i].bar._visible = false; ++i; } i = 1; while (i <= 12) { if (_root['army' + i]._currentframe <= 9) { _root['melee' + _root['army' + i]._currentframe].bar._visible = true; } else { if (_root['army' + i]._currentframe <= 30) { _root['range' + (_root['army' + i]._currentframe - 20)].bar._visible = true; } else { if (_root['army' + i]._currentframe <= 40) { _root['specialTool' + (_root['army' + i]._currentframe - 30)].bar._visible = true; } else { if (_root['army' + i]._currentframe <= 70) { _root['plant' + (_root['army' + i]._currentframe - 40)].bar._visible = true; } else { if (_root['army' + i]._currentframe <= 90) { _root['minion' + (_root['army' + i]._currentframe - 70)].bar._visible = true; } else { if (_root['army' + i]._currentframe <= 110) { _root['special' + (_root['army' + i]._currentframe - 90)].bar._visible = true; } } } } } } ++i; } cekJumlahArmy(); _root.xhero.gotoAndStop(_root.setupHero); _root.xhero.gembok_mc._visible = false; cekJumlahHero(); xhero.onRelease = klikArmyHero; if (_root.xhero._currentframe != 200) { _root['hero' + (xhero._currentframe - 110)].bar._visible = true; } start_btn.onRelease = function () { i = awalBox; while (i <= maxBox) { _root['setupArmy' + i] = _root['army' + i]._currentframe; ++i; } if (xhero._currentframe != 200) { cekHero = xhero._currentframe - 110; } else { cekHero = 0; } cekArmyBisa(); if (gakBisaLanjut == true) { msgBox_mc2.gotoAndPlay(2); } else { removeMovieClip(option_mc); delete _root.onEnterFrame; cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'playing'; } }; reset_btn.onRelease = function () { cekBalikItems(); i = awalBox; while (i <= maxBox) { _root['army' + i].gotoAndStop(200); _root['army' + i].bar._visible = false; _root['jumlahUnit' + i] = 0; ++i; } i = 1; while (i <= 3) { _root['hero' + i].bar._visible = false; ++i; } cekSetupArmy(); xjumlahHero = 0; _root.xhero.gotoAndStop(200); _root.setupHero = 200; cekSetupHero(); }; random_btn.onRelease = function () {}; z = 1; while (z <= 12) { if (_root['bisaMelee' + z] == true) { _root['melee' + z].gembok_mc._visible = false; } else { _root['melee' + z].gembok_mc._visible = true; } if (_root['bisaRange' + z] == true) { _root['range' + z].gembok_mc._visible = false; } else { _root['range' + z].gembok_mc._visible = true; } if (_root['bisaSpecialTools' + z] == true) { _root['specialTool' + z].gembok_mc._visible = false; } else { _root['specialTool' + z].gembok_mc._visible = true; } if (_root['bisaBuah' + z] == true) { _root['plant' + z].gembok_mc._visible = false; } else { _root['plant' + z].gembok_mc._visible = true; } if (_root['bisaMinion' + z] == true) { _root['minion' + z].gembok_mc._visible = false; } else { _root['minion' + z].gembok_mc._visible = true; } if (_root['bisaSpecial' + z] == true) { _root['special' + z].gembok_mc._visible = false; } else { _root['special' + z].gembok_mc._visible = true; } if (_root['bisaHero' + z] == true) { _root['hero' + z].gembok_mc._visible = false; } else { _root['hero' + z].gembok_mc._visible = true; } ++z; } i = 1; while (i <= 9) { if (_root['bisaMelee' + i] == true) { _root['melee' + i].gotoAndStop(i); _root['melee' + i].onRelease = klikMelee; _root['melee' + i].onRollOver = overMelee; _root['melee' + i].onRollOut = outMelee; } ++i; } i = 1; while (i <= 3) { if (_root['bisaRange' + i] == true) { _root['range' + i].gotoAndStop(20 + i); _root['range' + i].onRelease = klikRange; _root['range' + i].onRollOver = overRange; _root['range' + i].onRollOut = outRange; } ++i; } i = 1; while (i <= 3) { if (_root['bisaSpecialTools' + i] == true) { _root['specialTool' + i].gotoAndStop(30 + i); _root['specialTool' + i].onRelease = klikSpecialTool; } ++i; } i = 1; while (i <= 12) { if (_root['bisaBuah' + i] == true) { _root['plant' + i].gotoAndStop(40 + i); _root['plant' + i].onRelease = klikPlant; _root['plant' + i].onRollOver = overPlant; _root['plant' + i].onRollOut = outPlant; } ++i; } i = 1; while (i <= 8) { if (_root['bisaMinion' + i] == true) { _root['minion' + i].gotoAndStop(70 + i); _root['minion' + i].onRelease = klikMinion; _root['minion' + i].onRollOver = overMinion; _root['minion' + i].onRollOut = outMinion; } ++i; } i = 1; while (i <= 6) { if (_root['bisaSpecial' + i] == true) { _root['special' + i].gotoAndStop(90 + i); _root['special' + i].onRelease = klikSpecial; _root['special' + i].onRollOver = overSpecial; _root['special' + i].onRollOut = outSpecial; } ++i; } i = 1; while (i <= 3) { if (_root['bisaHero' + i] == true) { _root['hero' + i].gotoAndStop(110 + i); _root['hero' + i].onRelease = klikHero; } ++i; } if (tanahKhusus == true) { army1._visible = true; army1.gotoAndStop(175); army1.gelap._visible = false; army1.bar._visible = false; army1.gembok_mc._visible = false; } posAwalToolsX = toolsPowerUps._x; posAwalToolsY = toolsPowerUps._y; posAwalPlantsX = plantsPowerUps._x; posAwalPlantsY = plantsPowerUps._y; posAwalMinionsX = minionsPowerUps._x; posAwalMinionsY = minionsPowerUps._y; posAwalSpecialsX = specialsPowerUps._x; posAwalSpecialsY = specialsPowerUps._y; initAwalanPowerUps(); powerTools.onRelease = function () { cekArmyBisa2(false); powerUps._visible = true; powerUps.gotoAndStop(1); i = 1; while (i <= 5) { if (_root['jumlahToolsUp' + i] > 0) { powerUps['toolsUp' + i]._alpha = 100; powerUps['toolsUp' + i].enabled = true; powerUps['toolsUp' + i].onRelease = klikPowerTools; powerUps['toolsUp' + i].onRollOver = overToolsUp; powerUps['toolsUp' + i].onRollOut = outToolsUp; } else { powerUps['toolsUp' + i]._alpha = 10; powerUps['toolsUp' + i].enabled = false; } ++i; } }; powerPlants.onRelease = function () { cekArmyBisa2(false); powerUps._visible = true; powerUps.gotoAndStop(2); i = 1; while (i <= 5) { if (_root['jumlahPlantUp' + i] > 0) { powerUps['plantsUp' + i]._alpha = 100; powerUps['plantsUp' + i].enabled = true; powerUps['plantsUp' + i].onRelease = klikPowerPlants; powerUps['plantsUp' + i].onRollOver = overPlantsUp; powerUps['plantsUp' + i].onRollOut = outPlantsUp; } else { powerUps['plantsUp' + i]._alpha = 10; powerUps['plantsUp' + i].enabled = false; } ++i; } }; powerMinions.onRelease = function () { cekArmyBisa2(false); powerUps._visible = true; powerUps.gotoAndStop(3); i = 1; while (i <= 5) { if (_root['jumlahMinionUp' + i] > 0) { powerUps['minionsUp' + i]._alpha = 100; powerUps['minionsUp' + i].enabled = true; powerUps['minionsUp' + i].onRelease = klikPowerMinions; powerUps['minionsUp' + i].onRollOver = overMinionsUp; powerUps['minionsUp' + i].onRollOut = outMinionsUp; } else { powerUps['minionsUp' + i]._alpha = 10; powerUps['minionsUp' + i].enabled = false; } ++i; } }; powerSpecials.onRelease = function () { cekArmyBisa2(false); powerUps._visible = true; powerUps.gotoAndStop(4); i = 1; while (i <= 5) { if (_root['jumlahSpecialUp' + i] > 0) { powerUps['specialsUp' + i]._alpha = 100; powerUps['specialsUp' + i].enabled = true; powerUps['specialsUp' + i].onRelease = klikPowerSpecials; powerUps['specialsUp' + i].onRollOver = overSpecialsUp; powerUps['specialsUp' + i].onRollOut = outSpecialsUp; } else { powerUps['specialsUp' + i]._alpha = 10; powerUps['specialsUp' + i].enabled = false; } ++i; } }; powerUps.exit_btn.onRelease = function () { initAwalanPowerUps(); cekArmyBisa2(true); }; powerUps.reset_btn.onRelease = function () { if (powerUps._currentframe == 1) { meleePowerUps1 = 0; meleePowerUps2 = 0; meleePowerUps3 = 0; meleePowerUps4 = 0; meleePowerUps5 = 0; meleePowerUps6 = 0; meleePowerUps7 = 0; meleePowerUps8 = 0; meleePowerUps9 = 0; rangePowerUps1 = 0; rangePowerUps2 = 0; rangePowerUps3 = 0; } else { if (powerUps._currentframe == 2) { buahPowerUps1 = 0; buahPowerUps2 = 0; buahPowerUps3 = 0; buahPowerUps4 = 0; buahPowerUps5 = 0; buahPowerUps6 = 0; buahPowerUps7 = 0; buahPowerUps8 = 0; buahPowerUps9 = 0; buahPowerUps10 = 0; buahPowerUps11 = 0; buahPowerUps12 = 0; } else { if (powerUps._currentframe == 3) { minionsPowerUps1 = 0; minionsPowerUps2 = 0; minionsPowerUps3 = 0; minionsPowerUps4 = 0; minionsPowerUps5 = 0; minionsPowerUps6 = 0; minionsPowerUps7 = 0; minionsPowerUps8 = 0; } else { if (powerUps._currentframe == 4) { specialsPowerUps1 = 0; specialsPowerUps2 = 0; specialsPowerUps3 = 0; specialsPowerUps4 = 0; specialsPowerUps5 = 0; specialsPowerUps6 = 0; } } } } initAwalanPowerUps(); cekArmyBisa2(true); }; powerUps.buy_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'upgrade2'; }; xcostTools = new Array('', 2000, 3000, 4000, 5000, 6000); xcostPlants = new Array('', 2000, 3000, 4000, 5000, 6000); xcostMinions = new Array('', 2000, 3000, 4000, 5000, 6000); xcostSpecials = new Array('', 2000, 3000, 4000, 5000, 6000); xpenjelasanTools = new Array('', 'Cut tool prices by 50%', 'Increase the tool usage', 'Tool can directly recharge without delay', 'Increase the tool\'s damage', 'Accelerate the fatal blows/massive ammo'); xpenjelasanPlants = new Array('', 'Increase the intensity of attacks', 'Increase the fruit\'s range', 'Increase the fruit\'s live', 'Increase the fruit\'s damage', 'Fruit can directly recharge without delay'); xpenjelasanMinions = new Array('', 'Cut minion prices by 50%', 'Decrease the minion\'s speed', 'Increase the minion\'s usage', 'Increase the minion\'s damage', 'Release three minions at a time'); xpenjelasanSpecials = new Array('', 'Increase the special\'s damage one-half times', 'Increase the special\'s damage thrice', 'Cut special prices by 50%', 'Speed up the recharge of the special', 'Special can attack twice in a row'); _root.onEnterFrame = function () { msgBox_mc3._x = _root._xmouse; msgBox_mc3._y = _root._ymouse; }; } movieClip 3348 { } movieClip 3349 { } movieClip 3417 { } movieClip 3432 { } movieClip 3435 { } movieClip 3438 { } // unknown tag 88 length 143 movieClip 3526 { frame 1 { stop(); } } movieClip 3528 { frame 1 { stop(); } } movieClip 3564 { frame 1 { stop(); } } movieClip 3566 { frame 1 { stop(); } } movieClip 3631 { frame 1 { stop(); } } movieClip 3644 { frame 1 { stop(); } } movieClip 3645 { frame 1 { stop(); } } movieClip 3646 { frame 1 { stop(); } } movieClip 3647 { frame 1 { stop(); } } movieClip 3648 { frame 1 { stop(); } } movieClip 3650 { frame 1 { stop(); } } frame 329 { function simpanContinue(indi) { new_mc.tandaNew.enabled = true; simpanData(indi); msgBox_mc5._visible = false; } function lanjutContinue(indi) { loadData(indi); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { levelBonus = true; } else { levelBonus = false; } cekSemuaLevel(); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { backMenu(); kemana = 'setup'; } } } stop(); backMenang(); if (pilihMode == 'arcade' && sudahMenang == true) { simpanData3(); } msgBox_mc5._visible = false; new_mc.tandaNew.enabled = true; save_btn.onRelease = function () { new_mc.tandaNew.enabled = false; msgBox_mc5._visible = true; msgBox_mc5.gotoAndStop(1); ii = 1; while (ii <= 7) { msgBox_mc5['slot' + ii]._alpha = 100; msgBox_mc5['slot' + ii].enabled = true; ++ii; } ii = 7; while (ii <= 7) { msgBox_mc5['slot' + ii]._alpha = 25; msgBox_mc5['slot' + ii].enabled = false; ++ii; } msgBox_mc5.back_btn.onRelease = function () { new_mc.tandaNew.enabled = true; msgBox_mc5._visible = false; }; msgBox_mc5.slot1.onRelease = function () { simpanContinue(1); }; msgBox_mc5.slot2.onRelease = function () { simpanContinue(2); }; msgBox_mc5.slot3.onRelease = function () { simpanContinue(3); }; msgBox_mc5.slot4.onRelease = function () { simpanContinue(4); }; msgBox_mc5.slot5.onRelease = function () { simpanContinue(5); }; msgBox_mc5.slot6.onRelease = function () { simpanContinue(6); }; }; load_btn.onRelease = function () { new_mc.tandaNew.enabled = false; msgBox_mc5._visible = true; msgBox_mc5.gotoAndStop(2); msgBox_mc5.back_btn.onRelease = function () { loadData(7); new_mc.tandaNew.enabled = true; msgBox_mc5._visible = false; }; ii = 1; while (ii <= 7) { loadData(ii); if (_root.adaData == undefined || xlevel == 1) { msgBox_mc5['slot' + ii]._alpha = 25; msgBox_mc5['slot' + ii].enabled = false; } else { msgBox_mc5['slot' + ii]._alpha = 100; msgBox_mc5['slot' + ii].enabled = true; } ++ii; } msgBox_mc5.slot1.onRelease = function () { lanjutContinue(1); }; msgBox_mc5.slot2.onRelease = function () { lanjutContinue(2); }; msgBox_mc5.slot3.onRelease = function () { lanjutContinue(3); }; msgBox_mc5.slot4.onRelease = function () { lanjutContinue(4); }; msgBox_mc5.slot5.onRelease = function () { lanjutContinue(5); }; msgBox_mc5.slot6.onRelease = function () { lanjutContinue(6); }; msgBox_mc5.slot7.onRelease = function () { lanjutContinue(7); }; }; clearSemua(); close_btn.onRelease = function () { gotoAndStop(251); }; continue_btn.onRelease = function () { this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { backMenu(); kemana = 'setup'; } } }; if (xlevel == 1) { ++xlevel; } else { ++xlevel; } if (xlevel >= 11) { dapatMedal(21); } if (xlevel >= 21) { dapatMedal(22); } if (xlevel >= 31) { dapatMedal(23); } if (xlevel >= 41) { dapatMedal(24); } if (xlevel >= 51) { dapatMedal(25); } if (xlevel >= 61) { dapatMedal(26); } if (xlevel >= 71) { dapatMedal(27); } if (xlevel >= 81) { dapatMedal(28); } if (xlevel >= 91) { dapatMedal(29); } new_mc.gotoAndStop(xlevel - 1); if (pilihMode == 'survival' || pilihMode == 'hacked') { xsetupArmy1 = setupArmy1; xsetupArmy2 = setupArmy2; xsetupArmy3 = setupArmy3; xsetupArmy4 = setupArmy4; xsetupArmy5 = setupArmy5; xsetupArmy6 = setupArmy6; xsetupArmy7 = setupArmy7; xsetupArmy8 = setupArmy8; xsetupArmy9 = setupArmy9; xsetupArmy10 = setupArmy10; } cekSemuaLevel(); if (pilihMode == 'survival' || pilihMode == 'hacked') { setupArmy1 = xsetupArmy1; setupArmy2 = xsetupArmy2; setupArmy3 = xsetupArmy3; setupArmy4 = xsetupArmy4; setupArmy5 = xsetupArmy5; setupArmy6 = xsetupArmy6; setupArmy7 = xsetupArmy7; setupArmy8 = xsetupArmy8; setupArmy9 = xsetupArmy9; setupArmy10 = xsetupArmy10; } if (banyakKali == 0) { bombBonus = 'NO BOMB BONUS:'; } else { if (banyakKali == 1) { bombBonus = banyakKali + 'x BOMB BONUS:'; } else { bombBonus = banyakKali + 'x BOMB BONUS:'; } } goldRemain = jumlahUang; bonusScore = goldRemain * banyakKali; scoreKe += bonusScore; scoreKe = Math.ceil(scoreKe); xscoreKe = scoreKe; xxmoney = xmoney; if (pilihMode == 'survival') { levelKe = 'Day: ' + xlevel; } else { levelKe = 'Day: ' + xlevel + '/100'; } simpanData(7); penjelasanBaru = new Array(); penjelasanBaru[2] = 'Small stick is stronger than boxing gloves.'; penjelasanBaru[3] = 'Grape can attack the pest with bullets.'; penjelasanBaru[4] = 'Worm is stronger and faster than a snail.'; penjelasanBaru[5] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[6] = 'Long stick can attack in three lines at once, and more powerful than previous tools.'; penjelasanBaru[7] = 'Banana has a bullet that is stronger than grape.'; penjelasanBaru[8] = 'Snailalala is a very strong snail, stronger than ordinary snail, but runs slower.'; penjelasanBaru[9] = 'Baseball bat can attack faster than previous tools.'; penjelasanBaru[10] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[11] = 'Kiwi can explode if the pest touching him.'; penjelasanBaru[12] = 'Death Tree is much more powerful and more dangerous than the worm, but runs slower.'; penjelasanBaru[13] = ''; penjelasanBaru[14] = 'Baseball and baseball bat can attack from a distance by using a baseball.'; penjelasanBaru[15] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[16] = ''; penjelasanBaru[17] = 'Pineapple is a wall, unable to attack, but very high life.'; penjelasanBaru[18] = 'Cockroach is the faster and more powerful than the worm and death tree.'; penjelasanBaru[19] = ''; penjelasanBaru[20] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[21] = 'Apple is also useful as a wall like a pineapple, but he can attack.'; penjelasanBaru[22] = ''; penjelasanBaru[23] = 'Wormadabra has a magic that can make him disappear.'; penjelasanBaru[24] = 'Handgun has a higher damage than the baseball bat and bat'; penjelasanBaru[25] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[26] = 'Avocado like apples, but he can attack from a greater distance.'; penjelasanBaru[27] = 'Hell Flower can release toxins that can kill the fruit slowly.'; penjelasanBaru[28] = ''; penjelasanBaru[29] = 'Mower run from left to right to kill all pests in its path, it can only attack on ground pest.'; penjelasanBaru[30] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[31] = ''; penjelasanBaru[32] = 'Gray cloud can attack the pest in its path in the same line.'; penjelasanBaru[33] = ''; penjelasanBaru[34] = 'Mango can throw three bullets at once into three different directions.'; penjelasanBaru[35] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[36] = 'Butterfly is stronger, slower and more damage than the gray cloud.'; penjelasanBaru[37] = ''; penjelasanBaru[38] = 'RC Helicopter run from left to right to kill all pests in its path, it can only attack on flying pest.'; penjelasanBaru[39] = ''; penjelasanBaru[40] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[41] = 'Death Tree Gun can attack by using a bullet that was rotten.'; penjelasanBaru[42] = 'Orange has a bullet that can penetrate his pest, one bullet can strike more than one pest.'; penjelasanBaru[43] = 'Evil Beetle is a pest that can fly, he can\'t be attacked by melee-type fruit, like kiwi, apple, and avocado.'; penjelasanBaru[44] = 'Water Rain can attack all pests on the screen.'; penjelasanBaru[45] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[46] = ''; penjelasanBaru[47] = 'Flying Cockroach is cockroaches that can fly using propellers.'; penjelasanBaru[48] = 'Small Sun is stronger, slower and more damage than the butterfly.'; penjelasanBaru[49] = 'Funky Flower can run faster by using a sliding boots, he would also release more toxins.'; penjelasanBaru[50] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[51] = ''; penjelasanBaru[52] = 'Dwarf is stronger, slower and more damage than the small sun.'; penjelasanBaru[53] = 'Snowfall can attack all pests on the screen, and make them frozen and can\'t move.'; penjelasanBaru[54] = 'Rat Gunner is armed by the gun, he can attack from a distance.'; penjelasanBaru[55] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[56] = ''; penjelasanBaru[57] = 'Melon can throw bullets that have a high enough damage, the intensity of shoot is lower than past fruits.'; penjelasanBaru[58] = 'Clay Soldier is stronger, slower and more damage than the dwarf.'; penjelasanBaru[59] = ''; penjelasanBaru[60] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[61] = 'Fruit Caterpillar can only be attacked by fruit she had brought, or with tools and specials.'; penjelasanBaru[62] = ''; penjelasanBaru[63] = ''; penjelasanBaru[64] = 'Acid Rain can attack all pests on the screen, and poisoned them and make his life slowly decreases.'; penjelasanBaru[65] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[66] = 'Crazy Evil Beetle can duplicate itself into a new pests if he is dead.'; penjelasanBaru[67] = ''; penjelasanBaru[68] = 'Hammer is the most powerful melee tools, while Fatal Blows is a special moves at a certain period.'; penjelasanBaru[69] = 'Rat Sniper is armed by a sniper, the bullets can penetrate more than two fruits at once.'; penjelasanBaru[70] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[71] = '5 Star Bosses are snail boss, worm boss, dead tree boss, toxic flower boss and cockroache boss.'; penjelasanBaru[72] = ''; penjelasanBaru[73] = 'Farmer is a hero who can be firing the strawberry bullets, he will attack the nearest pest automatically.'; penjelasanBaru[74] = 'Nail Gun is the most powerful range tools, while Massive Shoot is crazy bullets shoot at a certain period.'; penjelasanBaru[75] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[76] = ''; penjelasanBaru[77] = ''; penjelasanBaru[78] = 'Termite is a pest that can fly and faster than the Evil Beetle, he can\'t be attacked by melee-type fruit.'; penjelasanBaru[79] = 'Gunner is a hero who can be firing the triple gun bullets, he will attack the nearest pest automatically.'; penjelasanBaru[80] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[81] = ''; penjelasanBaru[82] = ''; penjelasanBaru[83] = 'Strong Caterpillar is stronger than usual caterpillar, he was impervious to all tools attacks except the hero.'; penjelasanBaru[84] = 'Angry Root is stronger, slower and more damage than the clay soldier. Thunderbolt is more damages than others.'; penjelasanBaru[85] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[86] = 'Elephant is the strongest pest, he had the highest life and damage, but fairly slow pest.'; penjelasanBaru[87] = 'Tractor is the most powerful special tools, can attack flying and ground pests.'; penjelasanBaru[88] = 'Masked Leaf is stronger, slower and more damage than the angry root. Sunlight can make pests walk more slowly.'; penjelasanBaru[89] = 'Watermelon has a higher damage than a melon, while the coconut has a bullet bomb that could explode.'; penjelasanBaru[90] = 'Special level is a different level than usual levels, each special level is unique.'; penjelasanBaru[91] = ''; penjelasanBaru[92] = 'Healer is a hero who can be increase the live of fruit with fertilizer, he will heal the fruit automatically.'; penjelasanBaru[93] = ''; penjelasanBaru[94] = 'A bunch of Termites have a better life than a regular termites, but they are also moving fast enough.'; penjelasanBaru[95] = ''; penjelasanBaru[96] = 'Durianman is stronger, slower and more damage than the masked leaf. Earthquake can make pests walking backwards.'; penjelasanBaru[97] = 'Blueberry can shoot laser bullets in repeatedly and cause devastating effect to the pests.'; penjelasanBaru[98] = 'Armored Elephant is stronger than usual elephant, but he runs more slowly.'; penjelasanBaru[99] = ''; penjelasanBaru[100] = ''; new_mc.msgBox_mc6._visible = false; new_mc.penjelasan = ''; new_mc.tandaNew.onRollOver = function () { if (penjelasanBaru[xlevel] == '') { new_mc.msgBox_mc6._visible = false; new_mc.penjelasan = ''; } else { new_mc.msgBox_mc6._visible = true; new_mc.penjelasan = penjelasanBaru[xlevel]; } }; new_mc.tandaNew.onRollOut = function () { new_mc.msgBox_mc6._visible = false; new_mc.penjelasan = ''; }; if (pilihMode == 'arcade' || pilihMode == 'challenge' || pilihMode == 'madness') { new_mc.hacked._visible = false; } else { new_mc.msgBox_mc6._visible = false; new_mc.tandaNew.enabled = false; new_mc.penjelasan = ''; new_mc.hacked._visible = true; } if (pilihMode == 'challenge') { ++_root['maxLevel' + pilihChallenge]; simpanData2(); save_btn._visible = false; load_btn._visible = false; } else { save_btn._visible = true; load_btn._visible = true; } submit_mc._visible = false; submit_btn.onRelease = function () { new_mc.tandaNew.enabled = false; submit_mc.xscoreKe = scoreKe; submit_mc.text_txt.text = 'Fruit Fans'; submit_mc._visible = true; }; more_btn.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; submit_mc.submit_btn.onRelease = function () { new_mc.tandaNew.enabled = true; namaPlayer = submit_mc.text_txt.text; playerScore = submit_mc.xscoreKe; trace(namaPlayer); trace(playerScore); getURL('http://www.belugerinstudios.com/action.php?act=submitscore&game=FL1208250919&name=' + namaPlayer + '&score=' + playerScore + '&key=', '_blank'); this.enabled = false; submit_btn.enabled = false; submit_mc._visible = false; }; submit_mc.cancel_btn.onRelease = function () { new_mc.tandaNew.enabled = true; submit_mc._visible = false; }; } movieClip 3664 { } movieClip 3691 { frame 1 { stop(); } } movieClip 3694 { frame 1 { stop(); } } frame 330 { function simpanContinue(indi) { simpanData(indi); msgBox_mc5._visible = false; } function lanjutContinue(indi) { loadData(indi); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel == 5 || xlevel == 10 || xlevel == 15 || xlevel == 20 || xlevel == 25 || xlevel == 30 || xlevel == 35 || xlevel == 40 || xlevel == 45 || xlevel == 50 || xlevel == 55 || xlevel == 60 || xlevel == 65 || xlevel == 70 || xlevel == 75 || xlevel == 80 || xlevel == 85 || xlevel == 90) { levelBonus = true; } else { levelBonus = false; } cekSemuaLevel(); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { kemana = 'setup'; } } } stop(); backGagal(); msgBox_mc5._visible = false; quit_btn.onRelease = function () { backStory(); sedangPause = true; cekPause(); clearInterval(idDelaySelesai); cekTombol(false); cekTransisi3(); transisi3.gotoAndPlay(2); kemana = 'restart2'; }; save_btn.onRelease = function () { msgBox_mc5._visible = true; msgBox_mc5.gotoAndStop(1); ii = 1; while (ii <= 7) { msgBox_mc5['slot' + ii]._alpha = 100; msgBox_mc5['slot' + ii].enabled = true; ++ii; } ii = 7; while (ii <= 7) { msgBox_mc5['slot' + ii]._alpha = 25; msgBox_mc5['slot' + ii].enabled = false; ++ii; } msgBox_mc5.back_btn.onRelease = function () { msgBox_mc5._visible = false; }; msgBox_mc5.slot1.onRelease = function () { simpanContinue(1); }; msgBox_mc5.slot2.onRelease = function () { simpanContinue(2); }; msgBox_mc5.slot3.onRelease = function () { simpanContinue(3); }; msgBox_mc5.slot4.onRelease = function () { simpanContinue(4); }; msgBox_mc5.slot5.onRelease = function () { simpanContinue(5); }; msgBox_mc5.slot6.onRelease = function () { simpanContinue(6); }; }; if (pilihMode == 'special') { load_btn.enabled = false; lockLoad._visible = true; } else { if (pilihMode == 'challenge') { load_btn.enabled = false; lockLoad._visible = true; } else { load_btn.enabled = true; lockLoad._visible = false; } } load_btn.onRelease = function () { msgBox_mc5._visible = true; msgBox_mc5.gotoAndStop(2); msgBox_mc5.back_btn.onRelease = function () { loadData(7); msgBox_mc5._visible = false; }; ii = 1; while (ii <= 7) { loadData(ii); if (_root.adaData == undefined || xlevel == 1) { msgBox_mc5['slot' + ii]._alpha = 25; msgBox_mc5['slot' + ii].enabled = false; } else { msgBox_mc5['slot' + ii]._alpha = 100; msgBox_mc5['slot' + ii].enabled = true; } ++ii; } msgBox_mc5.slot1.onRelease = function () { lanjutContinue(1); }; msgBox_mc5.slot2.onRelease = function () { lanjutContinue(2); }; msgBox_mc5.slot3.onRelease = function () { lanjutContinue(3); }; msgBox_mc5.slot4.onRelease = function () { lanjutContinue(4); }; msgBox_mc5.slot5.onRelease = function () { lanjutContinue(5); }; msgBox_mc5.slot6.onRelease = function () { lanjutContinue(6); }; msgBox_mc5.slot7.onRelease = function () { lanjutContinue(7); }; }; clearSemua(); close_btn.onRelease = function () { gotoAndStop(251); }; continue_btn.onRelease = function () { this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); if (xlevel <= 6) { kemana = 'playing'; } else { if (levelBonus == true) { kemana = 'playing'; } else { backMenu(); kemana = 'setup'; } } }; kiniLife = xkiniLife; goldRemain = jumlahUang; bonusScore = goldRemain * 0; scoreKe += bonusScore; scoreKe = scoreKini; xscoreKe = scoreKe; xxmoney = xmoney; more_btn.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; } movieClip 3696 { } frame 331 { stop(); myMusic.stop(); backMenang(); ++menangFinalBoss; if (menangFinalBoss >= 3) { dapatMedal(89); } dapatMedal(30); clearSemua(); goldRemain = jumlahUang; bonusScore = goldRemain * banyakKali; scoreKe += bonusScore; scoreKe = Math.ceil(scoreKe); xscoreKe = scoreKe; xxmoney = xmoney; sudahMenang = true; initData(); simpanData(7); simpanData2(); simpanData3(); exit_btn.onRelease = function () { cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'fd2'; }; submit_mc._visible = false; submit_btn.onRelease = function () { submit_mc.xscoreKe = scoreKe; submit_mc.text_txt.text = 'Fruit Fans'; submit_mc._visible = true; }; more_btn.onRelease = function () { getURL('http://armor.ag/MoreGames', '_blank'); }; submit_mc.submit_btn.onRelease = function () { namaPlayer = submit_mc.text_txt.text; playerScore = submit_mc.xscoreKe; trace(namaPlayer); trace(playerScore); getURL('http://www.belugerinstudios.com/action.php?act=submitscore&game=FL1208250919&name=' + namaPlayer + '&score=' + playerScore + '&key=', '_blank'); this.enabled = false; submit_btn.enabled = false; submit_mc._visible = false; }; submit_mc.cancel_btn.onRelease = function () { submit_mc._visible = false; }; } frame 332 { stop(); backMenu(); exit_btn.onRelease = function () { kemanaGame = 'newgame'; cekTombol(false); this.enabled = false; cekTransisi2(); transisi2.gotoAndPlay(2); kemana = 'startgame'; }; } movieClip 3719 { } movieClip 3720 { } movieClip 3721 { }




https://swfchan.com/53/264022/info.shtml
Created: 25/4 -2026 14:59:15 Last modified: 25/4 -2026 14:59:15 Server time: 26/04 -2026 12:34:39