Frame 1
fscommand ("showmenu", "false");
fscommand ("trapallkeys", "true");
fscommand ("allowscale", "false");
Stage.showMenu = false;
Instance of Symbol 50 MovieClip in Frame 1
onClipEvent (load) {
_root.stop();
}
Instance of Symbol 53 MovieClip in Frame 2
onClipEvent (load) {
_root.stop();
}
Frame 307
stop();
Instance of Symbol 141 MovieClip in Frame 308
on (press) {
_parent.nextFrame();
}
on (rollOver) {
this._xscale = 115;
this._yscale = 115;
}
on (rollOut) {
this._xscale = 100;
this._yscale = 100;
}
Instance of Symbol 141 MovieClip in Frame 308
on (press) {
_parent.prevFrame();
}
on (rollOver) {
this._xscale = 115;
this._yscale = 115;
}
on (rollOut) {
this._xscale = 100;
this._yscale = 100;
}
Instance of Symbol 160 MovieClip in Frame 310
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Instance of Symbol 141 MovieClip in Frame 310
on (press) {
_parent.gotoAndStop("menu_lb");
}
on (rollOver) {
this._xscale = 115;
this._yscale = 115;
}
on (rollOut) {
this._xscale = 100;
this._yscale = 100;
}
Instance of Symbol 163 MovieClip in Frame 311
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (this._y >= -250) {
this._y = this._y - 2.5;
} else {
i = i + 1;
}
if (i == 50) {
_parent.gotoAndStop("menu_lb");
_root.layar_mc.gotoAndPlay(1);
}
}
Instance of Symbol 141 MovieClip in Frame 312
on (press) {
_parent.play();
}
on (rollOver) {
this._xscale = 115;
this._yscale = 115;
}
on (rollOut) {
this._xscale = 100;
this._yscale = 100;
}
Instance of Symbol 141 MovieClip in Frame 312
on (press) {
_parent.gotoAndStop("menu_lb");
}
on (rollOver) {
this._xscale = 115;
this._yscale = 115;
}
on (rollOut) {
this._xscale = 100;
this._yscale = 100;
}
Frame 313
_root.lv = 0;
_root.nyawa = 5;
_root.score = 0;
Instance of Symbol 184 MovieClip "2digit_mc" in Frame 313
onClipEvent (enterFrame) {
nilai = _root.lv;
if (length(nilai) == 1) {
this.gotoAndStop(1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 184 MovieClip "1digit_mc" in Frame 313
onClipEvent (enterFrame) {
nilai = _root.lv;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Instance of Symbol 204 MovieClip "2digit_mc" in Frame 313
onClipEvent (enterFrame) {
nilai = _root.army;
if (length(nilai) == 1) {
this.gotoAndStop(1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Frame 313
onClipEvent (enterFrame) {
nilai = _root.army;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Frame 314
stop();
_root.lv = _root.lv + 1;
_root.jmlarmy = 45 + (_root.lv * 5);
_root.army = 45 + (_root.lv * 5);
if (_root.army > 99) {
_root.army = 99;
}
_root.armylewat = 0;
_root.angin = random(10) - 5;
_root.control = 0;
_root.timebonus = 0;
Frame 315
if (_root.nyawa > 5) {
_root.nyawa = 5;
}
if ((random(150) == 1) and (_root.nowind != 1)) {
_root.angin = random(3 + (_root.lv * 2)) - (3 + _root.lv);
}
if (_root.angin > 9) {
_root.angin = 9;
}
if (_root.angin < -9) {
_root.angin = -9;
}
if (_root.armylewat >= _root.jmlarmy) {
_root.layar_mc.gotoAndPlay(1);
gotoAndPlay ("awal_lb");
}
if (_root.nyawa <= 0) {
_root.control = 0;
_root.layar_mc.gotoAndPlay(1);
gotoAndPlay ("gameover_lb");
}
_root.ntimebonus = Math.floor(_root.timebonus);
Instance of Symbol 246 MovieClip in Frame 315
onClipEvent (load) {
arah_ombak = 1;
}
onClipEvent (enterFrame) {
if (_root.stoptime != 1) {
this._x = this._x + arah_ombak;
if (this._x >= 395) {
arah_ombak = -1;
}
if (this._x <= 240) {
arah_ombak = 1;
}
}
}
Frame 316
gotoAndPlay ("loop_lb");
Frame 317
stop();
Instance of Symbol 204 MovieClip "7digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
}
Instance of Symbol 204 MovieClip "6digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
}
Instance of Symbol 204 MovieClip "5digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
}
Instance of Symbol 204 MovieClip "4digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
}
Instance of Symbol 204 MovieClip "3digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
}
Instance of Symbol 204 MovieClip "2digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Instance of Symbol 204 MovieClip "9digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
}
Instance of Symbol 204 MovieClip "8digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
}
Instance of Symbol 204 MovieClip "10digit_mc" in Frame 317
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
}
Symbol 33 Button
on (release) {
_parent._parent.play();
}
Symbol 34 MovieClip Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 34 MovieClip Frame 1
onClipEvent (enterFrame) {
bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (bar._xscale == 100) {
_parent.nextFrame();
}
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 1
gotoAndPlay (2);
Instance of Symbol 20 MovieClip in Symbol 50 MovieClip Frame 1
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 50 MovieClip Frame 81
stop();
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip Frame 81
onClipEvent (enterFrame) {
chance = random(90);
if (chance == 1) {
play();
}
}
Symbol 53 MovieClip Frame 1
gotoAndPlay (2);
Instance of Symbol 20 MovieClip in Symbol 53 MovieClip Frame 1
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Instance of Symbol 49 MovieClip in Symbol 53 MovieClip Frame 81
onClipEvent (enterFrame) {
chance = random(90);
if (chance == 1) {
play();
}
}
Instance of Symbol 20 MovieClip in Symbol 53 MovieClip Frame 81
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 53 MovieClip Frame 95
_parent.play();
Symbol 76 MovieClip Frame 191
stop();
Symbol 87 Button
on (press) {
gotoAndStop ("story_lb");
}
Symbol 92 Button
on (press) {
gotoAndStop ("credit_lb");
}
Symbol 96 Button
on (press) {
gotoAndStop ("option_lb");
}
Symbol 99 MovieClip Frame 45
stop();
Symbol 103 Button
on (release) {
getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=223", "_blank");
}
Symbol 107 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 109 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Symbol 119 MovieClip Frame 20
stop();
Symbol 170 MovieClip Frame 20
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 209 Button
on (press) {
gotoAndPlay ("loop_lb");
}
Symbol 211 MovieClip Frame 25
stop();
Symbol 217 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 217 MovieClip Frame 4
onClipEvent (enterFrame) {
this._rotation = this._rotation + 5;
}
Symbol 219 Button
on (press) {
if (bonus == "life") {
_root.life = _root.life + 1;
}
if (bonus == "2x") {
_root.pointx2 = 1;
_root.timebonus = 10;
}
if (bonus == "stoptime") {
_root.stoptime = 1;
_root.timebonus = 10;
}
if (bonus == "nowind") {
_root.angin = 0;
_root.nowind = 1;
_root.timebonus = 10;
}
gotoAndPlay ("klik");
_root.sound_mc.gotoAndPlay(3);
}
Symbol 228 MovieClip Frame 1
stop();
Instance of Symbol 204 MovieClip "2digit_mc" in Symbol 228 MovieClip Frame 2
onClipEvent (enterFrame) {
nilai = _root.ntimebonus;
if (length(nilai) == 1) {
this.gotoAndStop(1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Symbol 228 MovieClip Frame 2
onClipEvent (enterFrame) {
nilai = _root.ntimebonus;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Symbol 229 MovieClip Frame 1
this._y = -100;
acakbonus = random(4);
if ((_root.control != 0) and (random(1000) == 1)) {
if (acakbonus == 1) {
bonus = "life";
} else if (acakbonus == 2) {
bonus = "2x";
} else if (acakbonus == 3) {
bonus = "stoptime";
} else {
bonus = "nowind";
}
this._x = random(650);
kecepatan = (random(3) + _root.lv) + 2;
gotoAndPlay ("loop_lb");
}
Instance of Symbol 217 MovieClip "imagebonus_mc" in Symbol 229 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._parent.bonus == "life") {
this.gotoAndStop("life_lb");
} else if (this._parent.bonus == "2x") {
this.gotoAndStop("2x_lb");
} else if (this._parent.bonus == "stoptime") {
this.gotoAndStop("stoptime_lb");
} else if (this._parent.bonus == "nowind") {
this.gotoAndStop("nowind_lb");
}
}
Symbol 229 MovieClip Frame 2
gotoAndPlay (1);
Symbol 229 MovieClip Frame 3
if (_root.stoptime != 1) {
this._y = this._y + kecepatan;
this._x = this._x + _root.angin;
}
if (this._y > 500) {
gotoAndPlay (1);
}
if (this._x > 650) {
this._x = -35;
}
if (this._x < -35) {
this._x = 650;
}
Symbol 229 MovieClip Frame 4
gotoAndPlay ("loop_lb");
Instance of Symbol 228 MovieClip "text_mc" in Symbol 229 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this._parent.bonus == "life") {
this.gotoAndStop("life_lb");
} else if (this._parent.bonus == "2x") {
this.gotoAndStop("2x_lb");
} else if (this._parent.bonus == "stoptime") {
this.gotoAndStop("stoptime_lb");
} else if (this._parent.bonus == "nowind") {
this.gotoAndStop("nowind_lb");
}
}
Symbol 229 MovieClip Frame 17
if (_root.timebonus > 0.1) {
_root.timebonus = _root.timebonus - 0.1;
gotoAndPlay(_currentframe - 1);
}
Symbol 229 MovieClip Frame 35
gotoAndPlay (1);
_root.stoptime = 0;
_root.pointx2 = 0;
_root.nowind = 0;
Symbol 233 Button
on (press) {
if (_root.pointx2 != 1) {
if (this._y <= 75) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 100;
ket = "perfect";
}
if ((this._y <= 150) and (this._y > 75)) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 75;
ket = "great";
}
if ((this._y <= 225) and (this._y > 150)) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 50;
ket = "good";
}
if (this._y >= 225) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 25;
ket = "bad";
}
}
if (_root.pointx2 == 1) {
if (this._y <= 75) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 200;
ket = "perfect";
}
if ((this._y <= 150) and (this._y > 75)) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 150;
ket = "great";
}
if ((this._y <= 225) and (this._y > 150)) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 100;
ket = "good";
}
if (this._y >= 225) {
gotoAndPlay ("hit_lb");
_root.score = _root.score + 50;
ket = "bad";
}
}
_root.sound_mc.gotoAndPlay(2);
}
Symbol 243 MovieClip Frame 1
bataskiri = -30;
bataskanan = 650;
this._y = -60;
if ((((_root.control != 0) and (random(100 - (_root.lv * 5)) == 1)) and (_root.army > 0)) and (_root.stoptime != 1)) {
kecepatan = (random(3) + 2) + _root.lv;
nomer = _root.army;
_root.army = _root.army - 1;
arah = (random(3) * 2) - 3;
this._x = random(600);
gotoAndPlay ("loop_lb");
}
Instance of Symbol 204 MovieClip "2digit_mc" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = this._parent.nomer;
if (length(nilai) == 1) {
this.gotoAndStop(1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = this._parent.nomer;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Symbol 243 MovieClip Frame 2
gotoAndPlay (1);
Symbol 243 MovieClip Frame 3
if (_root.stoptime != 1) {
this._y = this._y + kecepatan;
if (_root.nowind != 1) {
this._x = this._x + (arah + _root.angin);
}
}
if (this._y >= 310) {
gotoAndPlay (5);
}
if (this._x > bataskanan) {
this._x = -bataskiri;
}
if (this._x < bataskiri) {
this._x = bataskanan;
}
Symbol 243 MovieClip Frame 4
gotoAndPlay ("loop_lb");
Instance of Symbol 204 MovieClip "2digit_mc" in Symbol 243 MovieClip Frame 5
onClipEvent (enterFrame) {
nilai = this._parent.nomer;
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Symbol 243 MovieClip Frame 20
gotoAndPlay (1);
_root.nyawa = _root.nyawa - 1;
_root.armylewat = _root.armylewat + 1;
Instance of Symbol 242 MovieClip "text_mc" in Symbol 243 MovieClip Frame 21
onClipEvent (enterFrame) {
if (this._parent.ket == "perfect") {
this.gotoAndStop("perfect_lb");
} else if (this._parent.ket == "great") {
this.gotoAndStop("great_lb");
} else if (this._parent.ket == "good") {
this.gotoAndStop("good_lb");
} else if (this._parent.ket == "bad") {
this.gotoAndStop("bad_lb");
}
}
Symbol 243 MovieClip Frame 50
gotoAndPlay (1);
_root.armylewat = _root.armylewat + 1;
Symbol 253 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.angin > 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 253 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.angin < 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.angin;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Symbol 257 MovieClip Frame 45
stop();
_root.control = 1;
Symbol 265 MovieClip Frame 1
stop();
Instance of Symbol 265 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nyawa + 1);
}
Instance of Symbol 204 MovieClip "7digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
}
Instance of Symbol 204 MovieClip "6digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
}
Instance of Symbol 204 MovieClip "5digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
}
Instance of Symbol 204 MovieClip "4digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
}
Instance of Symbol 204 MovieClip "3digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
}
Instance of Symbol 204 MovieClip "2digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Instance of Symbol 204 MovieClip "9digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
}
Instance of Symbol 204 MovieClip "8digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
}
Instance of Symbol 204 MovieClip "10digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.score;
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
}
Instance of Symbol 204 MovieClip "2digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.lv;
if (length(nilai) == 1) {
this.gotoAndStop(1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
}
Instance of Symbol 204 MovieClip "1digit_mc" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
nilai = _root.lv;
if (length(nilai) == 1) {
this.gotoAndStop(Number(String(nilai).charAt(0)) + 1);
}
if (length(nilai) == 2) {
this.gotoAndStop(Number(String(nilai).charAt(1)) + 1);
}
if (length(nilai) == 3) {
this.gotoAndStop(Number(String(nilai).charAt(2)) + 1);
}
if (length(nilai) == 4) {
this.gotoAndStop(Number(String(nilai).charAt(3)) + 1);
}
if (length(nilai) == 5) {
this.gotoAndStop(Number(String(nilai).charAt(4)) + 1);
}
if (length(nilai) == 6) {
this.gotoAndStop(Number(String(nilai).charAt(5)) + 1);
}
if (length(nilai) == 7) {
this.gotoAndStop(Number(String(nilai).charAt(6)) + 1);
}
if (length(nilai) == 8) {
this.gotoAndStop(Number(String(nilai).charAt(7)) + 1);
}
if (length(nilai) == 9) {
this.gotoAndStop(Number(String(nilai).charAt(8)) + 1);
}
if (length(nilai) == 10) {
this.gotoAndStop(Number(String(nilai).charAt(9)) + 1);
}
}
Symbol 271 MovieClip Frame 45
stop();
Symbol 274 Button
on (release) {
gname = "SaveTheArmyDR";
gscore = _root.score;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}