Frame 1
stop();
fscommand ("allowscale", false);
fscommand ("Fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
Instance of Symbol 15 MovieClip in Frame 1
onClipEvent (load) {
bytes = 0;
totalbytes = 0;
}
onClipEvent (enterFrame) {
bytes = Math.round(this._parent.getBytesLoaded() / 1024);
totalbytes = Math.round(this._parent.getBytesTotal() / 1024);
_xscale = Math.round((bytes / totalbytes) * 100);
_root.persenload = _xscale;
if (bytes >= totalbytes) {
_root.gotoAndPlay("awal");
}
}
Frame 5
stop();
stopAllSounds();
bgsound = new Sound();
bgsound.attachSound("music");
bgsound.setVolume(50);
bgsound.start(0, 999999);
level = 1;
emakanan = new Array(0, 400, 400, 350, 350, 400, 400, 200, 250, 100, 100);
divmakanan = new Array(0, 4, 4, 3.5, 3.5, 4, 4, 2, 2.5, 1, 1);
etelur = new Array(0, 10, 20, 20, 25, 40, 50, 25, 30, 20, 25);
scoreakhir = 0;
Instance of Symbol 22 MovieClip in Frame 5
onClipEvent (enterFrame) {
if ((_currentframe == 1) and (random(30) == 5)) {
gotoAndPlay (2);
}
}
Frame 10
stop();
Frame 14
stop();
Frame 17
stop();
Frame 20
stop();
Instance of Symbol 146 MovieClip in Frame 20
onClipEvent (load) {
gotoAndStop(_root.level);
}
Frame 21
stop();
Frame 22
stop();
jumlahtelur = 0;
yangpecah = 0;
yangmati = 0;
detik = 0;
menit = 0;
waktudetik = 0;
waktumenit = 0;
score = 0;
jumlahmakanan = emakanan[level];
pembagimakanan = divmakanan[level];
telurmenang = etelur[level];
makanan = jumlahmakanan / pembagimakanan;
Instance of Symbol 86 MovieClip "tlr1" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch1.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 86 MovieClip "tlr2" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch2.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 86 MovieClip "tlr3" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch3.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 86 MovieClip "tlr4" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch4.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 86 MovieClip "tlr5" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch5.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 86 MovieClip "tlr6" in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if (keluar == 1) {
_visible = 1;
_y = (_y + 1);
if (_y > 330) {
keluar = 0;
_root.yangpecah++;
_root.pch6.play();
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.jumlahtelur++;
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr1.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a1._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr2.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a2._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr3.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a3._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr4.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a4._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr5.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a5._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 161 MovieClip in Frame 22
onClipEvent (load) {
_visible = 0;
keluar = 0;
ya = _y;
}
onClipEvent (enterFrame) {
if ((((_root.tlr6.keluar == 0) and (keluar == 0)) and (random(200) == 3)) and (_root.a6._visible == 1)) {
keluar = 1;
}
if (keluar == 1) {
_visible = 1;
_y = (_y + 2);
if (_y > 475) {
keluar = 0;
}
if (hitTest(_root.bobo5.keranjang)) {
keluar = 0;
gotoAndPlay (2);
_root.bobo5.energi = _root.bobo5.energi - random(10);
}
} else {
_y = ya;
_visible = 0;
}
}
Instance of Symbol 166 MovieClip "a1" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t1.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m1.jumlah < 9) {
_root.m1.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr1.keluar = 1;
}
}
Instance of Symbol 166 MovieClip "a2" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t2.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m2.jumlah < 9) {
_root.m2.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr2.keluar = 1;
}
}
Instance of Symbol 166 MovieClip "a3" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t3.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m3.jumlah < 9) {
_root.m3.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr3.keluar = 1;
}
}
Instance of Symbol 166 MovieClip "a4" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t4.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m4.jumlah < 9) {
_root.m4.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr4.keluar = 1;
}
}
Instance of Symbol 166 MovieClip "a5" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t5.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m5.jumlah < 9) {
_root.m5.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr5.keluar = 1;
}
}
Instance of Symbol 166 MovieClip "a6" in Frame 22
onClipEvent (load) {
energibertelur = 1;
tunggu = 0;
}
onClipEvent (enterFrame) {
if ((random(10) == 3) and (_currentframe == 1)) {
play();
}
if (_currentframe == 3) {
_root.t6.gotoAndStop(energibertelur);
tunggu++;
if (tunggu > 4) {
tunggu = 0;
energibertelur = energibertelur + 1;
if (_root.m6.jumlah < 9) {
_root.m6.jumlah++;
} else {
gotoAndPlay (6);
}
}
}
if (_currentframe == 8) {
_root.yangmati++;
}
if (_currentframe == 10) {
_visible = 0;
}
if (energibertelur > 6) {
energibertelur = 1;
_root.tlr6.keluar = 1;
}
}
Instance of Symbol 171 MovieClip "m1" in Frame 22
onClipEvent (load) {
jumlah = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m2" in Frame 22
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m3" in Frame 22
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m4" in Frame 22
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m5" in Frame 22
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m6" in Frame 22
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
_root.jumlahmakanan--;
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 210 MovieClip "bobo5" in Frame 22
onClipEvent (load) {
energi = 100;
skala = _xscale;
speed = skala / 10;
langkahtunggu = 2;
_xa = _x;
langkah = 0;
langkas = 0;
}
onClipEvent (enterFrame) {
_xa = _x;
if (Key.isDown(39)) {
tunggu = 0;
_xscale = skala;
langkah = langkah + 1;
if (langkah >= langkahtunggu) {
langkah = 0;
langkas = langkas + 1;
if (langkas > 7) {
langkas = 1;
}
gotoAndStop((langkas * 2) - 1);
if (_xscale > 0) {
_x = (_x + speed);
if (_x >= 550) {
_x = 550;
}
} else {
_x = (_x - speed);
if (_x <= 50) {
_x = 50;
}
}
}
} else if (Key.isDown(37)) {
tunggu = 0;
_xscale = (-skala);
langkah = langkah + 1;
if (langkah >= langkahtunggu) {
langkah = 0;
langkas = langkas + 1;
if (langkas > 7) {
langkas = 1;
}
gotoAndStop((langkas * 2) - 1);
if (_xscale > 0) {
_x = (_x + speed);
if (_x >= 550) {
_x = 550;
}
} else {
_x = (_x - speed);
if (_x <= 50) {
_x = 50;
}
}
}
} else if (Key.isDown(38)) {
gotoAndPlay (16);
}
}
Instance of Symbol 115 MovieClip in Frame 22
onClipEvent (load) {
waktu = 0;
}
onClipEvent (enterFrame) {
waktu++;
if (waktu > 20) {
waktu = 0;
_root.detik++;
if (_root.detik > 59) {
_root.detik = 0;
_root.menit++;
}
}
if ((_root.bobo5.energi <= 0) and (_root.gagal._currentframe == 1)) {
_root.gagal.play();
_root.score = 25;
}
if ((_root.yangmati >= 6) and (_root.gagal._currentframe == 1)) {
_root.gagal.play();
_root.score = 25;
}
if ((_root.jumlahtelur >= _root.telurmenang) and (_root.berhasil._currentframe == 1)) {
_root.waktudetik = _root.detik;
_root.waktumenit = _root.menit;
if (_root.waktumenit < 6) {
_root.score = 50;
} else {
_root.score = 25;
}
_root.berhasil.play();
}
}
Instance of Symbol 55 MovieClip in Frame 22
onClipEvent (load) {
_root.makanan = _root.jumlahmakanan / _root.pembagimakanan;
}
onClipEvent (enterFrame) {
_root.makanan = _root.jumlahmakanan / _root.pembagimakanan;
}
Frame 27
stop();
score = score + _root.jumlahtelur;
score = score - _root.yangpecah;
score = score - (_root.yangmati * 10);
Instance of Symbol 171 MovieClip "m1" in Frame 27
onClipEvent (load) {
jumlah = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m2" in Frame 27
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m3" in Frame 27
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m4" in Frame 27
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m5" in Frame 27
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Instance of Symbol 171 MovieClip "m6" in Frame 27
onClipEvent (load) {
jumlah = random(5);
}
onClipEvent (enterFrame) {
gotoAndStop(jumlah);
if (hitTest(_root.bobo5.sensor)) {
if (jumlah > 1) {
jumlah = jumlah - 1;
}
}
}
Frame 30
stop();
score = score + _root.jumlahtelur;
score = score - _root.yangpecah;
score = score - (_root.yangmati * 10);
Frame 35
stop();
Symbol 8 MovieClip Frame 85
_root.gotoAndStop("cover");
Symbol 9 MovieClip Frame 35
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 67 Button
on (release) {
gotoAndStop ("restart");
}
Symbol 71 Button
on (release) {
gotoAndStop ("instruksi");
}
Symbol 77 MovieClip Frame 12
stop();
Symbol 78 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 80 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 90 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 120 Button
on (release) {
play();
}
Symbol 124 Button
on (release) {
_root.play();
}
Symbol 145 Button
on (release) {
_root.gotoAndStop("finalscore");
}
Symbol 146 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 25
_root.nextFrame();
Symbol 158 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 5
gotoAndStop (1);
Symbol 166 MovieClip Frame 10
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 7
gotoAndStop (1);
Symbol 171 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Instance of Symbol 215 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _root.bobo5.energi;
}
Instance of Symbol 215 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = _root.makanan;
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 40
_root.gotoAndStop("menang");
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 40
_root.gotoAndStop("gameover");
Symbol 245 Button
on (release) {
level++;
scoreakhir = scoreakhir + score;
gotoAndStop ("levelstatus");
}