Frame 1
fscommand ("showmenu", false);
stopAllSounds();
stop();
onEnterFrame = function () {
percent = int((getBytesLoaded() / getBytesTotal()) * 100);
_root.barLoading._xscale = percent;
if (getBytesTotal() == getBytesLoaded()) {
_root.barLoading._visible = false;
delete onEnterFrame;
gotoAndPlay (2);
}
};
Frame 2
if (false) {
}
Frame 3
if (false) {
}
Frame 4
if (false) {
}
Frame 5
if (false) {
}
Frame 6
if (false) {
}
Frame 7
if (false) {
}
Frame 8
if (false) {
}
Frame 9
if (false) {
}
Frame 10
if (false) {
}
Frame 11
if (false) {
}
Frame 12
if (false) {
}
Frame 13
if (false) {
}
Frame 14
if (false) {
}
Frame 15
if (false) {
}
Frame 16
if (false) {
}
Frame 17
if (false) {
}
Frame 18
if (false) {
}
Frame 34
if (false) {
}
Frame 35
if (false) {
}
Frame 65
if (false) {
}
Frame 132
gotoAndPlay (134);
Frame 141
stop();
menuLagu = "belom";
Instance of Symbol 371 MovieClip "semuaVar" in Frame 141
onClipEvent (load) {
soundVol = 100;
}
Frame 145
gotoAndStop ("main");
Symbol 2 Button
on (release) {
getURL ("http://www.freegamesjungle.com", "_blank");
}
Symbol 82 Button
on (release) {
_root.menuLagu = "belom";
_root.main.alphaa.pilihan = "menu";
_root.main.alphaa.alphaa.levelNow = 1;
}
Symbol 85 Button
on (release) {
getURL ("http://www.freegamesjungle.com/", "_blank");
}
Symbol 89 Button
on (release) {
_root.main.alphaa.pilihan = "credit";
_root.menuLagu = "sudah";
}
Symbol 92 Button
on (release) {
_root.main.alphaa.pilihan = "high";
_root.menuLagu = "sudah";
}
Symbol 95 Button
on (release) {
_root.menuLagu = "sudah";
_root.main.alphaa.pilihan = "instruc";
}
Symbol 101 Button
on (release) {
getURL ("http://www.flashgamesforwebsites.com/", "_blank");
}
Symbol 102 Button
on (release) {
getURL ("http://www.freegamesjungle.com/", "_blank");
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 1
stop();
stop();
Symbol 120 MovieClip Frame 5
_root.main.alphaa.mulaiBaca = true;
Symbol 133 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Instance of Symbol 133 MovieClip "padangRumput" in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 1) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "padangRumput") {
this._x = (_parent.padangRumput._x + _parent.padangRumput._width) - 14;
} else {
this._x = (_parent.padangRumputCopy._x + _parent.padangRumputCopy._width) - 5;
}
}
}
}
Symbol 158 MovieClip Frame 2
stop();
Instance of Symbol 136 MovieClip "taman" in Symbol 158 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 2) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "taman") {
this._x = (_parent.taman._x + _parent.taman._width) - 14;
} else {
this._x = (_parent.tamanCopy._x + _parent.tamanCopy._width) - 5;
}
}
}
}
Symbol 158 MovieClip Frame 3
stop();
Instance of Symbol 139 MovieClip "sungai" in Symbol 158 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 3) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "sungai") {
this._x = (_parent.sungai._x + _parent.sungai._width) - 9;
} else {
this._x = (_parent.sungaiCopy._x + _parent.sungaiCopy._width) - 4;
}
}
}
}
Symbol 158 MovieClip Frame 4
stop();
Instance of Symbol 142 MovieClip "pasir" in Symbol 158 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 4) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "pasir") {
this._x = (_parent.pasir._x + _parent.pasir._width) - 9;
} else {
this._x = (_parent.pasirCopy._x + _parent.pasirCopy._width) - 4;
}
}
}
}
Symbol 158 MovieClip Frame 5
stop();
Instance of Symbol 145 MovieClip "kota" in Symbol 158 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 5) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "kota") {
this._x = (_parent.kota._x + _parent.kota._width) - 9;
} else {
this._x = (_parent.kotaCopy._x + _parent.kotaCopy._width) - 4;
}
}
}
}
Symbol 158 MovieClip Frame 6
stop();
Instance of Symbol 153 MovieClip "pantai" in Symbol 158 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 6) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "pantai") {
this._x = (_parent.pantai._x + _parent.pantai._width) - 9;
} else {
this._x = (_parent.pantaiCopy._x + _parent.pantaiCopy._width) - 4;
}
}
}
}
Symbol 158 MovieClip Frame 7
stop();
Instance of Symbol 157 MovieClip "goa" in Symbol 158 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.main.alphaa.levelNow == 7) {
_x = (_x - 3.5);
if (this._x <= _parent.natureKembali) {
if (this._name != "goa") {
this._x = (_parent.goa._x + _parent.goa._width) - 9;
} else {
this._x = (_parent.goaCopy._x + _parent.goaCopy._width) - 4;
}
}
}
}
Symbol 159 MovieClip Frame 1
_visible = false;
Instance of Symbol 161 MovieClip "balon" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
aktif = 0;
}
onClipEvent (enterFrame) {
if (_visible) {
aktif++;
if (aktif >= 125) {
aktif = 0;
_visible = false;
}
}
}
Symbol 162 MovieClip Frame 19
gotoAndPlay (1);
Symbol 169 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 13
gotoAndPlay (1);
Symbol 201 MovieClip Frame 14
efek = new Sound();
efek.attachSound("plug");
efek.start(0, 1);
Symbol 201 MovieClip Frame 16
stop();
Symbol 204 MovieClip Frame 13
gotoAndPlay (1);
Symbol 204 MovieClip Frame 14
efek = new Sound();
efek.attachSound("plug");
efek.start(0, 1);
Symbol 204 MovieClip Frame 16
stop();
Symbol 207 MovieClip Frame 27
stop();
Symbol 207 MovieClip Frame 51
_root.main.alphaa.pilihan = "nextLevel";
_root.main.hasil.gotoAndStop(1);
Symbol 216 Button
on (release) {
_root.main.hasil.maskComplete.gotoAndPlay(28);
}
Symbol 219 Button
on (release) {
i = 0;
while (i < 8) {
removeMovieClip(_root.main["level1" + i]);
removeMovieClip(_root.main["level2" + i]);
removeMovieClip(_root.main["level3" + i]);
removeMovieClip(_root.main["level4" + i]);
removeMovieClip(_root.main["level5" + i]);
removeMovieClip(_root.main["level6" + i]);
removeMovieClip(_root.main["level7" + i]);
i++;
}
_root.main.level11._x = _root.main.batasBawah._x + 100;
_root.main.level21._x = _root.main.batasBawah._x + 100;
_root.main.level31._x = _root.main.batasBawah._x + 100;
_root.main.level41._x = _root.main.batasBawah._x + 100;
_root.main.level51._x = _root.main.batasBawah._x + 100;
_root.main.level61._x = _root.main.batasBawah._x + 100;
_root.main.level71._x = _root.main.batasBawah._x + 100;
_root.main.bunga0._x = _root.main.batasBawah._x + 100;
_root.main.bungaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaaa0._x = _root.main.batasBawah._x + 100;
i = 2;
while (i < 4) {
if (i < 4) {
_root.main["bunga" + i]._y = random(270) - 57;
_root.main["bungaa" + i]._y = random(270) - 57;
_root.main["bungaaa" + i]._y = random(270) - 57;
_root.main["bungaaaa" + i]._y = random(270) - 57;
_root.main["bungaaaaa" + i]._y = random(270) - 57;
if (i == 2) {
_root.main["bunga" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
} else {
_root.main["bunga" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
}
}
i++;
}
_root.main.alphaa.pilihan = "kembaliMenu";
}
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 8
stop();
Symbol 253 MovieClip Frame 13
gotoAndPlay (1);
Symbol 253 MovieClip Frame 14
efek = new Sound();
efek.attachSound("jahat");
efek.start(0, 1);
Symbol 253 MovieClip Frame 16
stop();
Symbol 258 MovieClip Frame 13
gotoAndPlay (1);
Symbol 258 MovieClip Frame 14
efek = new Sound();
efek.attachSound("protect");
efek.start(0, 1);
Symbol 258 MovieClip Frame 16
stop();
Symbol 262 MovieClip Frame 13
gotoAndPlay (1);
Symbol 262 MovieClip Frame 14
efek = new Sound();
efek.attachSound("dobel");
efek.start(0, 1);
Symbol 262 MovieClip Frame 16
stop();
Symbol 282 Button
on (release) {
n = inputName.text;
s = scoreAkhir;
if (Number(s) > Number(s1)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n5;
n5 = n4;
n4 = n3;
n3 = n2;
n2 = n1;
n1 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s5;
s5 = s4;
s4 = s3;
s3 = s2;
s2 = s1;
s1 = s;
} else if (Number(s) > Number(s2)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n5;
n5 = n4;
n4 = n3;
n3 = n2;
n2 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s5;
s5 = s4;
s4 = s3;
s3 = s2;
s2 = s;
} else if (Number(s) > Number(s3)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n5;
n5 = n4;
n4 = n3;
n3 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s5;
s5 = s4;
s4 = s3;
s3 = s;
} else if (Number(s) > Number(s4)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n5;
n5 = n4;
n4 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s5;
s5 = s4;
s4 = s;
} else if (Number(s) > Number(s5)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n5;
n5 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s5;
s5 = s;
} else if (Number(s) > Number(s6)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n6;
n6 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s6;
s6 = s;
} else if (Number(s) > Number(s7)) {
n10 = n9;
n9 = n8;
n8 = n7;
n7 = n;
s10 = s9;
s9 = s8;
s8 = s7;
s7 = s;
} else if (Number(s) > Number(s8)) {
n10 = n9;
n9 = n8;
n8 = n;
s10 = s9;
s9 = s8;
s8 = s;
} else if (Number(s) > Number(s9)) {
n10 = n9;
n9 = n;
s10 = s9;
s9 = s;
} else if (Number(s) > Number(s10)) {
n10 = n;
s10 = s;
}
finaldata = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((("s1=" + s1) + "&") + "s2=") + s2) + "&") + "s3=") + s3) + "&") + "s9=") + s9) + "&") + "s10=") + s10) + "&") + "s4=") + s4) + "&") + "s5=") + s5) + "&") + "s6=") + s6) + "&") + "s7=") + s7) + "&") + "s8=") + s8) + "&") + "n1=") + n1) + "&") + "n2=") + n2) + "&") + "n3=") + n3) + "&") + "n9=") + n9) + "&") + "n10=") + n10) + "&") + "n4=") + n4) + "&") + "n5=") + n5) + "&") + "n6=") + n6) + "&") + "n7=") + n7) + "&") + "n8=") + n8;
mbc = "http://www.freegamesjungle.com";
s = System.security;
s.allowDomain(mbc);
s.allowInsecureDomain(mbc);
this.loadVariables("http://hiscore.freegamesjungle.com/change.php", "POST");
gotoAndStop (2);
}
Symbol 285 Button
on (release) {
_root.main.alphaa.pilihan = "kembaliMenu";
}
Symbol 293 MovieClip Frame 10
mbc = "http://www.freegamesjungle.com";
s = System.security;
s.allowDomain(mbc);
s.allowInsecureDomain(mbc);
this.loadVariables("http://hiscore.freegamesjungle.com/list.txt");
stop();
Symbol 329 MovieClip Frame 1
stop();
mbc = "http://www.freegamesjungle.com";
s = System.security;
s.allowDomain(mbc);
s.allowInsecureDomain(mbc);
this.loadVariables("http://hiscore.freegamesjungle.com/list.txt");
Symbol 329 MovieClip Frame 2
stop();
Symbol 352 Button
on (release) {
_root.main.alphaa.pilihan = "kembaliMenu";
}
Symbol 369 MovieClip Frame 1
stop();
if (_root.menuLagu == "belom") {
stopAllSounds();
musik2 = new Sound();
musik2.attachSound("menu");
musik2.start(0, 9999999);
}
Instance of Symbol 109 MovieClip "speaker" in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
if (_root.semuaVar.soundVol == 0) {
gotoAndStop (2);
_root.musik2.setVolume(_root.semuaVar.soundVol);
} else {
gotoAndStop (1);
_root.musik2.setVolume(_root.semuaVar.soundVol);
}
}
on (press) {
if (_root.semuaVar.soundVol == 0) {
_root.semuaVar.soundVol = 100;
gotoAndStop (1);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
} else {
_root.semuaVar.soundVol = 0;
gotoAndStop (2);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
}
}
Instance of Symbol 120 MovieClip "alphaa" in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
function cekMusuh() {
if (levelNow == 2) {
i = 2;
while (i < 6) {
duplicateMovieClip (_root.main.level21, "level2" + i, 30 + i);
_root.main["level2" + i]._y = random(270) - 57;
_root.main["level2" + i]._x = _root.main["level2" + (i - 1)]._x + (random(100) + 50);
i++;
}
} else if (levelNow == 3) {
i = 2;
while (i < 8) {
duplicateMovieClip (_root.main.level31, "level3" + i, 30 + i);
_root.main["level3" + i]._y = random(270) - 57;
_root.main["level3" + i]._x = _root.main["level3" + (i - 1)]._x + (random(100) + 150);
i++;
}
} else if (levelNow == 4) {
i = 2;
while (i < 8) {
duplicateMovieClip (_root.main.level41, "level4" + i, 30 + i);
_root.main["level4" + i]._y = random(270) - 57;
_root.main["level4" + i]._x = _root.main["level4" + (i - 1)]._x + (random(100) + 150);
i++;
}
} else if (levelNow == 5) {
i = 2;
while (i < 8) {
duplicateMovieClip (_root.main.level51, "level5" + i, 30 + i);
_root.main["level5" + i]._y = random(270) - 57;
_root.main["level5" + i]._x = _root.main["level5" + (i - 1)]._x + (random(100) + 150);
i++;
}
} else if (levelNow == 6) {
i = 2;
while (i < 8) {
duplicateMovieClip (_root.main.level61, "level6" + i, 30 + i);
_root.main["level6" + i]._y = random(270) - 57;
_root.main["level6" + i]._x = _root.main["level6" + (i - 1)]._x + (random(100) + 150);
i++;
}
} else if (levelNow == 7) {
i = 2;
while (i < 8) {
duplicateMovieClip (_root.main.level71, "level7" + i, 30 + i);
_root.main["level7" + i]._y = random(270) - 57;
_root.main["level7" + i]._x = _root.main["level7" + (i - 1)]._x + (random(100) + 150);
i++;
}
}
}
pilihan = "blom";
levelNow = 0;
ingat = 0;
mulaiBaca = false;
}
onClipEvent (enterFrame) {
if (pilihan != "blom") {
if (pilihan == "menu") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
_root.main.gotoAndStop(2);
levelNow = 1;
pilihan = "blom";
mulaiBaca = false;
}
} else if (pilihan == "credit") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
_root.main.gotoAndStop(5);
pilihan = "blom";
mulaiBaca = false;
}
} else if (pilihan == "high") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
_root.main.gotoAndStop(6);
pilihan = "blom";
mulaiBaca = false;
}
} else if (pilihan == "jatuh") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
if (_root.main.nyawaMov.nyawa > 0) {
_root.main.player._x = -201;
_root.main.player._y = 217;
_root.main.player.mulai = false;
_root.main.player.akhir = false;
_root.main.player.klik = false;
_root.main.player.mulai = false;
_root.main.player.akhir = false;
_root.main.player.kedip = 0;
_root.main.player.mulaiKedip = false;
_root.main.player.jatuh = false;
_root.main.hati1.gotoAndStop(1);
_root.main.hati2.gotoAndStop(1);
_root.main.hati3.gotoAndStop(1);
_root.main.hati4.gotoAndStop(1);
_root.main[("level" + levelNow) + 1]._x = _root.main.batasBawah._x + (random(100) + 150);
i = 2;
while (i < 8) {
_root.main[("level" + levelNow) + i]._y = random(270) - 57;
_root.main[("level" + levelNow) + i]._x = _root.main[("level" + levelNow) + (i - 1)]._x + (random(100) + 150);
i++;
}
_root.main.bunga0._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main.bungaa0._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main.bungaaa0._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main.bungaaaa0._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main.bungaaaaa0._x = _root.main.batasBawah._x + (random(100) + 200);
i = 2;
while (i < 4) {
if (i < 4) {
_root.main["bunga" + i]._y = random(270) - 57;
_root.main["bungaa" + i]._y = random(270) - 57;
_root.main["bungaaa" + i]._y = random(270) - 57;
_root.main["bungaaaa" + i]._y = random(270) - 57;
_root.main["bungaaaaa" + i]._y = random(270) - 57;
if (i == 2) {
_root.main["bunga" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
} else {
_root.main["bunga" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
}
}
i++;
}
_root.main.jarak.masok = false;
_root.main.jarak.baca = false;
_root.main.jarak.penentu._x = -134;
_root.main.jarak.jarakMaju._xscale = -2;
_root.main.player.jatuh = false;
if ((_currentframe == 1) or (_currentframe == 2)) {
_root.main.nyawaMov.nyawa = Number(_root.main.nyawaMov.nyawa) - 1;
gotoAndStop (1);
mulaiBaca = false;
pilihan = "blom";
}
} else if (_root.main.nyawaMov.nyawa == 0) {
i = 0;
while (i < 8) {
removeMovieClip(_root.main["level1" + i]);
removeMovieClip(_root.main["level2" + i]);
removeMovieClip(_root.main["level3" + i]);
removeMovieClip(_root.main["level4" + i]);
removeMovieClip(_root.main["level5" + i]);
removeMovieClip(_root.main["level6" + i]);
removeMovieClip(_root.main["level7" + i]);
removeMovieClip(_root.main["bunga" + i]);
removeMovieClip(_root.main["bungaa" + i]);
removeMovieClip(_root.main["bungaaa" + i]);
removeMovieClip(_root.main["bungaaaa" + i]);
removeMovieClip(_root.main["bungaaaaa" + i]);
i++;
}
_root.main.level11._x = _root.main.batasBawah._x + 100;
_root.main.level21._x = _root.main.batasBawah._x + 100;
_root.main.level31._x = _root.main.batasBawah._x + 100;
_root.main.level41._x = _root.main.batasBawah._x + 100;
_root.main.level51._x = _root.main.batasBawah._x + 100;
_root.main.level61._x = _root.main.batasBawah._x + 100;
_root.main.level71._x = _root.main.batasBawah._x + 100;
_root.main.bunga0._x = _root.main.batasBawah._x + 100;
_root.main.bungaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaaa0._x = _root.main.batasBawah._x + 100;
ingat = _root.main.score.scoreText;
_root.main.gotoAndStop(3);
if ((_currentframe == 1) or (_currentframe == 2)) {
gotoAndStop (1);
mulaiBaca = false;
pilihan = "blom";
}
}
}
} else if (pilihan == "nextLevel") {
ingat = _root.main.score.scoreText;
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
mulaiBaca = false;
i = 0;
while (i < 8) {
removeMovieClip(_root.main["level1" + i]);
removeMovieClip(_root.main["level2" + i]);
removeMovieClip(_root.main["level3" + i]);
removeMovieClip(_root.main["level4" + i]);
removeMovieClip(_root.main["level5" + i]);
removeMovieClip(_root.main["level6" + i]);
removeMovieClip(_root.main["level7" + i]);
i++;
}
_root.main.level11._x = _root.main.batasBawah._x + 100;
_root.main.level21._x = _root.main.batasBawah._x + 100;
_root.main.level31._x = _root.main.batasBawah._x + 100;
_root.main.level41._x = _root.main.batasBawah._x + 100;
_root.main.level51._x = _root.main.batasBawah._x + 100;
_root.main.level61._x = _root.main.batasBawah._x + 100;
_root.main.level71._x = _root.main.batasBawah._x + 100;
_root.main.bunga0._x = _root.main.batasBawah._x + 100;
_root.main.bungaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaa0._x = _root.main.batasBawah._x + 100;
_root.main.bungaaaaa0._x = _root.main.batasBawah._x + 100;
i = 2;
while (i < 4) {
if (i < 4) {
_root.main["bunga" + i]._y = random(270) - 57;
_root.main["bungaa" + i]._y = random(270) - 57;
_root.main["bungaaa" + i]._y = random(270) - 57;
_root.main["bungaaaa" + i]._y = random(270) - 57;
_root.main["bungaaaaa" + i]._y = random(270) - 57;
if (i == 2) {
_root.main["bunga" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 200);
} else {
_root.main["bunga" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
_root.main["bungaaaaa" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
}
}
i++;
}
if (levelNow == 7) {
ingat = _root.main.score.scoreText;
_root.main.gotoAndStop(4);
pilihan = "blom";
} else {
levelNow++;
_root.main.natureTop.gotoAndStop(levelNow);
_root.main.natureTop.baca = false;
pilihan = "blom";
_root.main.player._x = -201;
_root.main.player._y = 217;
_root.main.player.mulai = false;
_root.main.player.akhir = false;
_root.main.jarak.masok = false;
_root.main.jarak.baca = false;
_root.main.jarak.penentu._x = -134;
_root.main.jarak.jarakMaju._xscale = -2;
cekMusuh();
_parent.player.menang.stop("levelCom");
_parent.musik.start(0, 99999999);
_parent.musik.setVolume(_root.semuaVar.soundVol);
}
}
} else if (pilihan == "kembaliMenu") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
_root.main.gotoAndStop(1);
if ((_currentframe == 1) or (_currentframe == 2)) {
gotoAndStop (1);
mulaiBaca = false;
pilihan = "blom";
}
}
} else if (pilihan == "instruc") {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
} else if (mulaiBaca == true) {
_root.main.gotoAndStop(7);
if ((_currentframe == 1) or (_currentframe == 2)) {
gotoAndStop (1);
mulaiBaca = false;
pilihan = "blom";
}
}
}
}
}
Symbol 369 MovieClip Frame 2
stop();
stopAllSounds();
musik = new Sound();
musik.attachSound("lagu");
musik.start(0, 9999999);
musik.setVolume(_root.semuaVar.soundVol);
nyawaMov.nyawa = 2;
i = 2;
while (i < 6) {
duplicateMovieClip (_root.main.level11, "level1" + i, 30 + i);
_root.main["level1" + i]._y = random(270) - 57;
_root.main["level1" + i]._x = _root.main["level1" + (i - 1)]._x + (random(100) + 50);
if (i < 4) {
duplicateMovieClip (_root.main.bunga0, "bunga" + i, 100 + i);
_root.main["bunga" + i]._y = random(270) - 57;
_root.main["bunga" + i]._x = _root.main["bunga" + (i - 1)]._x + (random(100) + 200);
duplicateMovieClip (_root.main.bungaa0, "bungaa" + i, 200 + i);
_root.main["bungaa" + i]._y = random(270) - 57;
_root.main["bungaa" + i]._x = _root.main["bungaa" + (i - 1)]._x + (random(100) + 280);
duplicateMovieClip (_root.main.bungaaa0, "bungaaa" + i, 300 + i);
_root.main["bungaaa" + i]._y = random(270) - 57;
if (i == 2) {
_root.main["bungaaa" + i]._x = _root.main.batasBawah._x + (random(100) + 300);
} else {
_root.main["bungaaa" + i]._x = _root.main["bungaaa" + (i - 1)]._x + (random(500) + 500);
}
duplicateMovieClip (_root.main.bungaaa0, "bungaaaa" + i, 400 + i);
_root.main["bungaaaa" + i]._y = random(270) - 57;
_root.main["bungaaaa" + i]._x = _root.main["bungaaaa" + (i - 1)]._x + (random(100) + 400);
duplicateMovieClip (_root.main.bungaaa0, "bungaaaaa" + i, 500 + i);
_root.main["bungaaaaa" + i]._y = random(270) - 57;
_root.main["bungaaaaa" + i]._x = _root.main["bungaaaaa" + (i - 1)]._x + (random(100) + 300);
}
i++;
}
Instance of Symbol 158 MovieClip "natureTop" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
baca = false;
}
onClipEvent (enterFrame) {
if ((_root.main.alphaa.levelNow == 1) and (baca == false)) {
natureStart = this.padangRumput._x + this.padangRumput._width;
natureKembali = this.padangRumput._x - this.padangRumput._width;
duplicateMovieClip (this.padangRumput, "padangRumputCopy", 2);
this.padangRumputCopy._x = (this.padangRumput._x + this.padangRumput._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 2) and (baca == false)) {
removeMovieClip(this.padangRumputCopy);
natureStart = this.taman._x + this.taman._width;
natureKembali = this.taman._x - this.taman._width;
duplicateMovieClip (this.taman, "tamanCopy", 4);
this.tamanCopy._x = (this.taman._x + this.taman._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 3) and (baca == false)) {
removeMovieClip(this.tamanCopy);
natureStart = this.sungai._x + this.sungai._width;
natureKembali = this.sungai._x - this.sungai._width;
duplicateMovieClip (this.sungai, "sungaiCopy", 6);
this.sungaiCopy._x = (this.sungai._x + this.sungai._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 4) and (baca == false)) {
removeMovieClip(this.sungaiCopy);
natureStart = this.pasir._x + this.pasir._width;
natureKembali = this.pasir._x - this.pasir._width;
duplicateMovieClip (this.pasir, "pasirCopy", 6);
this.pasirCopy._x = (this.pasir._x + this.pasir._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 5) and (baca == false)) {
removeMovieClip(this.pasirCopy);
natureStart = this.kota._x + this.kota._width;
natureKembali = this.kota._x - this.kota._width;
duplicateMovieClip (this.kota, "kotaCopy", 6);
this.kotaCopy._x = (this.kota._x + this.kota._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 6) and (baca == false)) {
removeMovieClip(this.kotaCopy);
natureStart = this.pantai._x + this.pantai._width;
natureKembali = this.pantai._x - this.pantai._width;
duplicateMovieClip (this.pantai, "pantaiCopy", 6);
this.pantaiCopy._x = (this.pantai._x + this.pantai._width) - 3;
baca = true;
} else if ((_root.main.alphaa.levelNow == 7) and (baca == false)) {
removeMovieClip(this.pantaiCopy);
natureStart = this.goa._x + this.goa._width;
natureKembali = this.goa._x - this.goa._width;
duplicateMovieClip (this.goa, "goaCopy", 6);
this.goaCopy._x = (this.goa._x + this.goa._width) - 3;
baca = true;
}
}
Instance of Symbol 162 MovieClip "player" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
function cekHati() {
i = 1;
while (i <= 3) {
if (_parent["hati" + i]._currentframe == 1) {
_parent["hati" + i].gotoAndPlay(2);
i = 3;
}
i++;
}
}
klik = false;
mulai = false;
akhir = false;
kedip = 0;
naikin = 2;
mulaiKedip = false;
jatuh = false;
}
onClipEvent (enterFrame) {
if (!jatuh) {
if ((mulaiKedip == true) and (kedip < 13)) {
if (_parent.hati2._currentframe == 1) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
kedip++;
} else {
jatuh = true;
}
} else if (kedip == 13) {
kedip = 0;
mulaiKedip = false;
_visible = true;
cekHati();
}
if (_x == 150) {
if (klik == true) {
if (_y > _root.main.batasAtas._y) {
_y = (_y - 5.5);
}
} else if (_y < _root.main.batasBawah._y) {
_y = (_y + 5.5);
}
if (hitPlayer.hitTest(_root.main.tanahBawah)) {
_root.main.hati1.gotoAndPlay(2);
_root.main.hati2.gotoAndPlay(2);
_root.main.hati3.gotoAndPlay(2);
jatuh = true;
}
} else if (akhir == true) {
if (_x > (_parent.batasBawah._x + 70)) {
_parent.musik.stop("lagu");
menang = new Sound();
menang.attachSound("levelCom");
menang.start(0, 9999999);
menang.setVolume(_root.semuaVar.soundVol);
_root.main.hasil.gotoAndPlay(2);
_parent.hasil.scoreHasil = _parent.score.scoreText;
_parent.hasil.levelKet = "Level " + _root.main.alphaa.levelNow;
akhir = false;
} else {
_x = (_x + 5);
if (_y < 150) {
_y = (_y + 1);
}
}
} else if ((mulai == false) and (akhir == false)) {
klik = false;
_x = (_x + 5);
_y = (_y - 3);
if (_x >= 150) {
_x = 150;
mulai = true;
}
}
} else if (jatuh) {
if (_root.main.hati3._currentframe == 1) {
_root.main.hati3.gotoAndPlay(2);
}
if (_y < (_parent.batasBawah._y + 50)) {
_x = (_x + 3);
_y = (_y + 10);
} else if (_currentframe < 20) {
gotoAndPlay (20);
} else if (_currentframe >= 37) {
_root.main.alphaa.pilihan = "jatuh";
_root.main.player.jatuh = false;
}
}
}
onClipEvent (mouseDown) {
klik = true;
}
onClipEvent (mouseUp) {
klik = false;
}
Instance of Symbol 73 MovieClip "tra" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_x = (_root.main.player._x - 30);
_y = (_root.main.player._y + 20);
speed = 5;
}
onClipEvent (enterFrame) {
endX = _root.main.player._x - 30;
endY = _root.main.player._y + 20;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 73 MovieClip "tra2" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_x = (_root.main.player._x - 50);
_y = (_root.main.player._y + 20);
speed = 8;
}
onClipEvent (enterFrame) {
endX = _root.main.player._x - 50;
endY = _root.main.player._y + 20;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 73 MovieClip "tra3" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_x = (_root.main.player._x - 70);
_y = (_root.main.player._y + 20);
speed = 10;
}
onClipEvent (enterFrame) {
endX = _root.main.player._x - 70;
endY = _root.main.player._y + 20;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 73 MovieClip "tra4" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_x = (_root.main.player._x - 90);
_y = (_root.main.player._y + 20);
speed = 12;
}
onClipEvent (enterFrame) {
endX = _root.main.player._x - 90;
endY = _root.main.player._y + 20;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 73 MovieClip "tra5" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_x = (_root.main.player._x - 110);
_y = (_root.main.player._y + 20);
speed = 14;
}
onClipEvent (enterFrame) {
endX = _root.main.player._x - 110;
endY = _root.main.player._y + 20;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Instance of Symbol 164 MovieClip "batasAtas" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 164 MovieClip "batasBawah" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 169 MovieClip "level11" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 1) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 175 MovieClip "level21" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 181 MovieClip "level31" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 3) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 187 MovieClip "level41" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 4) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 192 MovieClip "level51" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 5) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 196 MovieClip "level71" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 7) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 198 MovieClip "level61" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = random(6) + 5;
kenaPlayer = false;
}
onClipEvent (enterFrame) {
if ((_parent.alphaa.levelNow == 6) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitMusuh.hitTest(_parent.player.hitPlayer) == true) and (kenaPlayer == false)) and (_parent.player.kedip == 0)) {
if (_root.main.player.balon._visible) {
hisab = new Sound();
hisab.attachSound("srup");
hisab.start(0, 1);
hisab.setVolume(_root.semuaVar.soundVol);
_root.main.score.scoreText = _root.main.score.scoreText + 5;
_x = (_parent.batasAtas._x - 100);
} else {
_parent.player.mulaiKedip = true;
kenaPlayer = true;
aw = new Sound();
aw.attachSound("aww");
aw.start(0, 1);
aw.setVolume(_root.semuaVar.soundVol);
}
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
maju = random(6) + 5;
kenaPlayer = false;
}
} else if ((_x < (_parent.batasBawah._x + 60)) and (_x > (_parent.batasAtas._x - 60))) {
_x = (_x - maju);
}
}
}
Instance of Symbol 201 MovieClip "bungaa0" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = 3.5;
}
onClipEvent (enterFrame) {
if ((_parent._currentframe == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(10);
} else if ((this._currentframe == 16) and (this._x > _parent.batasBawah._x)) {
this.gotoAndPlay(1);
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
}
} else if ((_x < (_parent.batasBawah._x + 70)) and (_x > (_parent.batasAtas._x - 90))) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(10);
}
}
}
}
Instance of Symbol 204 MovieClip "bunga0" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = 3.5;
}
onClipEvent (enterFrame) {
if ((_parent._currentframe == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(10);
} else if ((this._currentframe == 16) and (this._x > _parent.batasBawah._x)) {
this.gotoAndPlay(1);
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = ((_root.main.batasBawah._x + random(100)) + random(100));
_y = (random(270) - 57);
}
} else if ((_x < (_parent.batasBawah._x + 70)) and (_x > (_parent.batasAtas._x - 90))) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(10);
}
}
}
}
Instance of Symbol 233 MovieClip "score" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
this.scoreText = Number(0);
}
Instance of Symbol 244 MovieClip "jarak" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
baca = false;
this.jarakMaju._xscale = 1;
masok = false;
}
onClipEvent (enterFrame) {
if ((this.penentu._x >= 128) and (this.penentu._x < 135)) {
masok = true;
} else if ((this.penentu._x >= 135) and (baca == false)) {
_parent.player.akhir = true;
_parent.player._x = _parent.player._x + 5;
baca = true;
}
if (this.penentu._x < 141) {
this.penentu._x = this.penentu._x + 0.2;
this.jarakMaju._xscale = this.jarakMaju._xscale + 0.075;
}
}
Instance of Symbol 109 MovieClip "speaker" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
if (_root.semuaVar.soundVol == 0) {
gotoAndStop (2);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
} else {
gotoAndStop (1);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
}
}
on (press) {
if (_root.semuaVar.soundVol == 0) {
_root.semuaVar.soundVol = 100;
gotoAndStop (1);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
} else {
_root.semuaVar.soundVol = 0;
gotoAndStop (2);
_root.main.musik2.setVolume(_root.semuaVar.soundVol);
}
}
Instance of Symbol 253 MovieClip "bungaaa0" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = 3.5;
}
onClipEvent (enterFrame) {
if ((_parent._currentframe == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText - Number(10);
} else if ((this._currentframe == 16) and (this._x > _parent.batasBawah._x)) {
this.gotoAndPlay(1);
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = (((_root.main.batasBawah._x + random(100)) + random(200)) + 300);
_y = (random(270) - 57);
}
} else if ((_x < (_parent.batasBawah._x + 70)) and (_x > (_parent.batasAtas._x - 90))) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText - Number(10);
}
}
}
}
Instance of Symbol 258 MovieClip "bungaaaa0" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = 3.5;
}
onClipEvent (enterFrame) {
if ((_parent._currentframe == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_root.main.player.balon._visible = true;
} else if ((this._currentframe == 16) and (this._x > _parent.batasBawah._x)) {
this.gotoAndPlay(1);
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = (((_root.main.batasBawah._x + random(100)) + random(100)) + 450);
_y = (random(270) - 57);
}
} else if ((_x < (_parent.batasBawah._x + 70)) and (_x > (_parent.batasAtas._x - 90))) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_root.main.player.balon._visible = true;
}
}
}
}
Instance of Symbol 262 MovieClip "bungaaaaa0" in Symbol 369 MovieClip Frame 2
onClipEvent (load) {
maju = 3.5;
}
onClipEvent (enterFrame) {
if ((_parent._currentframe == 2) and (_parent.player.mulai == true)) {
if (_parent.jarak.masok == false) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(20);
} else if ((this._currentframe == 16) and (this._x > _parent.batasBawah._x)) {
this.gotoAndPlay(1);
}
if (_x < (_root.main.batasAtas._x - 70)) {
_x = (((_root.main.batasBawah._x + random(100)) + random(100)) + 300);
_y = (random(270) - 57);
}
} else if ((_x < (_parent.batasBawah._x + 70)) and (_x > (_parent.batasAtas._x - 90))) {
_x = (_x - maju);
if (((this.hitTest(_parent.player.hitPlayer) == true) and (this._currentframe < 14)) and (_parent.player.akhir == false)) {
this.gotoAndPlay(14);
_parent.score.scoreText = _parent.score.scoreText + Number(20);
}
}
}
}
Symbol 369 MovieClip Frame 3
stop();
Instance of Symbol 329 MovieClip "boxOver" in Symbol 369 MovieClip Frame 3
onClipEvent (load) {
this.scoreAkhir = Number(_root.main.alphaa.ingat);
_root.main.boxOver.inputName.text = "";
Selection.setFocus("_root.main.boxOver.inputName");
}
Instance of Symbol 331 MovieClip in Symbol 369 MovieClip Frame 3
onClipEvent (load) {
_visible = true;
}
onClipEvent (enterFrame) {
if (_parent.boxOver._currentframe == 2) {
_visible = false;
}
}
Instance of Symbol 329 MovieClip "boxScore" in Symbol 369 MovieClip Frame 4
onClipEvent (load) {
this.scoreAkhir = Number(_root.main.alphaa.ingat);
this.scoreAkhir = Number(random(500));
_root.main.boxScore.inputName.text = "";
Selection.setFocus("_root.main.boxScore.inputName");
}
Instance of Symbol 341 MovieClip in Symbol 369 MovieClip Frame 4
onClipEvent (load) {
_visible = true;
}
onClipEvent (enterFrame) {
if (_parent.boxScore._currentframe == 2) {
_visible = false;
}
}
Instance of Symbol 329 MovieClip "boxScore" in Symbol 369 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(2);
}