Frame 1 (1.25 KiB) ●
var debug = false;
var gameID = 67;
var gameName = "bully-basher";
var locked = false;
stop();
getURL ("fscommand:" + "showmenu", "false");
getURL ("fscommand:" + "fullscreen", "false");
getURL ("fscommand:" + "trapallkeys", "true");
_root.DRScore = 0;
_global.ipb_get_gname = function () {
var _local4 = _root._url;
var _local5 = "";
var _local3 = "";
var _local6 = (_local4.lastIndexOf("\\") + 1);
if ((_local6 == -1) || (_local6 == 0)) {
_local6 = _local4.lastIndexOf("/") + 1;
}
var _local2 = _local6;
var _local7 = String(_local4).length;
while (_local2 < String(_local4).length) {
_local3 = _local4.charAt(_local2);
if (_local3 == ".") {
break;
}
_local5 = _local5 + _local3;
_local2++;
}
return(_local5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Frame 2 (8 B)
stop();
Frame 3 (39 B)
if (!okToPlay) {
gotoAndStop (2);
}
Frame 10 (16 B)
suaraaktif = 1;
Instance of Symbol 83 MovieClip in Frame 10 (114 B)
onClipEvent (load) {
_alpha = 0;
w = 0;
}
onClipEvent (enterFrame) {
w++;
if (w == 3) {
_alpha = 100;
}
}
Frame 11 (207 B)
stop();
level = 1;
gamelevel = 1;
nilai = 0;
levelscore = 0;
stopAllSounds();
bgsound = new Sound();
kualitas = 1;
bgsound.attachSound("bgmusik");
if (suaraaktif == 1) {
bgsound.start(0, 999);
}
Frame 14 (135 B)
stop();
stopAllSounds();
bgsound = new Sound();
bgsound.attachSound("bgmusik");
if (suaraaktif == 1) {
bgsound.start(0, 999);
}
Instance of Symbol 231 MovieClip in Frame 14 (53 B)
onClipEvent (load) {
gotoAndStop(_root.gamelevel);
}
Frame 17 (8 B)
stop();
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 38) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 39) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 40) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 37) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 276 MovieClip in Frame 17 (4.51 KiB) ●
onClipEvent (load) {
gerak = 0;
kanan = 0;
kiri = 0;
atas = 0;
bawah = 0;
skala = _xscale;
sensitif = 3;
jalancepat = 4;
jalanlambat = 3;
ditekan = false;
maxenergi = 100;
maxstamina = 100;
energi = maxenergi;
stamina = maxstamina;
}
onClipEvent (enterFrame) {
_xscale = skala;
if (Key.isDown(39)) {
ditekan = true;
if (kanan < sensitif) {
kanan++;
}
}
if (Key.isDown(37)) {
ditekan = true;
if (kiri < sensitif) {
kiri++;
}
}
if (Key.isDown(38)) {
ditekan = true;
if (atas < sensitif) {
atas++;
}
}
if (Key.isDown(40)) {
ditekan = true;
if (bawah < sensitif) {
bawah++;
}
}
if ((kanan >= sensitif) and (_currentframe < 5)) {
gotoAndStop (3);
}
if ((kiri >= sensitif) and (_currentframe < 5)) {
_xscale = skala;
gotoAndStop (4);
}
if (Key.isDown(68)) {
ditekan = true;
atas = 0;
bawah = 0;
kiri = 0;
kanan = 0;
if (_currentframe < 5) {
gotoAndStop (5);
}
}
stamina = 100;
if ((Key.isDown(65) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if ((Key.isDown(83) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if (!ditekan) {
if ((_currentframe >= 1) and (_currentframe <= 5)) {
if (kanan > 0) {
kanan--;
}
if (kiri > 0) {
kiri--;
}
if (atas > 0) {
atas--;
}
if (bawah > 0) {
bawah--;
}
gotoAndStop (1);
}
}
}
onClipEvent (keyUp) {
ditekan = false;
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 68) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 83) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Instance of Symbol 235 MovieClip in Frame 17 (117 B)
onClipEvent (keyDown) {
if (Key.getCode() == 65) {
gotoAndStop (2);
}
}
onClipEvent (keyUp) {
gotoAndStop (1);
}
Frame 19 (2.58 KiB) ●
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["papannilai" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
if (myPlayer > 50) {
myPlayer = 50;
}
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["papannilai" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["papannilai" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["papannilai" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["papannilai" + sNum].sboard.mcScoreHolder.desty = 0;
_root["papannilai" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
nomenu = 0;
stop();
stop();
var gameID = 72;
Dsource = "www";
papannilai1.sboard.dir = "stop";
papannilai2.sboard.dir = "stop";
papannilai1.sboard.mcScoreHolder.mcScore._visible = false;
papannilai2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
Frame 22 (1.7 KiB) ●
function getar() {
bergetar = 1;
}
function suara(s) {
if (_root.suaraaktif == 1) {
_root[s].play();
}
}
stop();
stopAllSounds();
suara1 = new Sound(bgm);
suara1.attachSound("bgmusik");
suara1.setVolume(40);
suara1.start(0, 999);
nilai = levelscore;
adamusuh = false;
aktif = 1;
musuhnbisayerang = true;
bergetar = 0;
wb = 0;
combo1 = 0;
combo2 = 0;
wcombo1 = 0;
wcombo2 = 0;
senscombo = 18;
com1 = 0;
com2 = 0;
gantimusuh = false;
energimusuh = 0;
this.onEnterFrame = function () {
if (aktif == 1) {
wcombo1++;
if (wcombo1 > senscombo) {
wcombo1 = 0;
if (combo1 > 0) {
if (combo1 > 1) {
com1 = combo1;
arena.cb2.play();
}
combo1 = 0;
}
}
wcombo2++;
if (wcombo2 > senscombo) {
wcombo2 = 0;
if (combo2 > 0) {
if (combo2 > 1) {
com2 = combo2;
arena.cb1.play();
}
if (combo2 == 1) {
_root.nilai = _root.nilai + 100;
}
if (combo2 == 2) {
_root.nilai = _root.nilai + 250;
}
if (combo2 == 3) {
_root.nilai = _root.nilai + 450;
}
if (combo2 == 4) {
_root.nilai = _root.nilai + 800;
}
if (combo2 == 5) {
_root.nilai = _root.nilai + 1150;
}
if (combo2 == 6) {
_root.nilai = _root.nilai + 1500;
}
if (combo2 == 7) {
_root.nilai = _root.nilai + 2000;
}
if (combo2 >= 8) {
_root.nilai = _root.nilai + 5000;
}
combo2 = 0;
}
}
}
if (bergetar == 1) {
wb++;
if (wb == 1) {
this._y = this._y + 3;
}
if (wb == 4) {
this._y = -2;
}
if (wb == 7) {
this._y = 1;
}
if (wb == 10) {
this._y = 0;
wb = 0;
bergetar = 0;
}
}
};
Instance of Symbol 665 MovieClip "arena" in Frame 22 (991 B)
onClipEvent (load) {
dt = 0;
posisi = (600 - tio._x) - 100;
xl = _x;
ganti = 100;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
this.cacheAsBitmap = true;
}
onClipEvent (enterFrame) {
if (tio._xscale > 0) {
posisi = (300 - tio._x) - 100;
} else {
posisi = (300 - tio._x) + 100;
}
if (_x < posisi) {
dt = (posisi - _x) / 2;
_x = (_x + dt);
}
if (_x > posisi) {
dt = (_x - posisi) / 2;
_x = (_x - dt);
}
if (_x > 0) {
_x = 0;
}
if (((musuh.energi > 0) and (musuh2.energi > 0)) and (random(100) == 34)) {
musuh._name = "msh";
musuh2._name = "musuh";
msh._name = "musuh2";
_root.gantimusuh = true;
}
if ((musuh.energi <= 0) and (musuh2.energi > 0)) {
musuh._name = "ms1";
musuh2._name = "musuh";
_root.gantimusuh = true;
}
if (((musuh.energi <= 0) or (musuh.energi == undefined)) and ((musuh2.energi <= 0) or (musuh2.energi == undefined))) {
_root.adamusuh = false;
} else {
_root.adamusuh = true;
}
}
Instance of Symbol 166 MovieClip in Frame 22 (119 B)
onClipEvent (enterFrame) {
if (_root.mprop._visible == true) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 703 MovieClip "mprop" in Frame 22 (109 B)
onClipEvent (load) {
_visible = _root.adamusuh;
}
onClipEvent (enterFrame) {
_visible = _root.adamusuh;
}
Instance of Symbol 705 MovieClip in Frame 22 (248 B)
onClipEvent (load) {
nilaiku = _root.nilai;
jr = _root.nilai - nilaiku;
}
onClipEvent (enterFrame) {
if (nilaiku < _root.nilai) {
jr = Math.floor((_root.nilai - nilaiku) / 2);
if (jr < 5) {
jr = 5;
}
nilaiku = nilaiku + jr;
}
}
Instance of Symbol 731 MovieClip in Frame 22 (286 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.aktif == 0) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 80) {
if (_root.aktif == 1) {
_root.aktif = 0;
} else {
_root.aktif = 1;
}
}
}
Instance of Symbol 735 MovieClip "suaramenang" in Frame 22 (83 B)
onClipEvent (load) {
suara = new Sound(this);
suara.attachSound("menangsound");
}
Frame 23 (1.7 KiB) ●
function getar() {
bergetar = 1;
}
function suara(s) {
if (_root.suaraaktif == 1) {
_root[s].play();
}
}
stop();
stopAllSounds();
suara1 = new Sound(bgm);
suara1.attachSound("bgmusik");
suara1.setVolume(40);
suara1.start(0, 999);
nilai = levelscore;
adamusuh = false;
aktif = 1;
musuhnbisayerang = true;
bergetar = 0;
wb = 0;
combo1 = 0;
combo2 = 0;
wcombo1 = 0;
wcombo2 = 0;
senscombo = 18;
com1 = 0;
com2 = 0;
gantimusuh = false;
energimusuh = 0;
this.onEnterFrame = function () {
if (aktif == 1) {
wcombo1++;
if (wcombo1 > senscombo) {
wcombo1 = 0;
if (combo1 > 0) {
if (combo1 > 1) {
com1 = combo1;
arena.cb2.play();
}
combo1 = 0;
}
}
wcombo2++;
if (wcombo2 > senscombo) {
wcombo2 = 0;
if (combo2 > 0) {
if (combo2 > 1) {
com2 = combo2;
arena.cb1.play();
}
if (combo2 == 1) {
_root.nilai = _root.nilai + 100;
}
if (combo2 == 2) {
_root.nilai = _root.nilai + 250;
}
if (combo2 == 3) {
_root.nilai = _root.nilai + 450;
}
if (combo2 == 4) {
_root.nilai = _root.nilai + 800;
}
if (combo2 == 5) {
_root.nilai = _root.nilai + 1150;
}
if (combo2 == 6) {
_root.nilai = _root.nilai + 1500;
}
if (combo2 == 7) {
_root.nilai = _root.nilai + 2000;
}
if (combo2 >= 8) {
_root.nilai = _root.nilai + 5000;
}
combo2 = 0;
}
}
}
if (bergetar == 1) {
wb++;
if (wb == 1) {
this._y = this._y + 3;
}
if (wb == 4) {
this._y = -2;
}
if (wb == 7) {
this._y = 1;
}
if (wb == 10) {
this._y = 0;
wb = 0;
bergetar = 0;
}
}
};
Instance of Symbol 915 MovieClip "arena" in Frame 23 (991 B)
onClipEvent (load) {
dt = 0;
posisi = (600 - tio._x) - 100;
xl = _x;
ganti = 100;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
this.cacheAsBitmap = true;
}
onClipEvent (enterFrame) {
if (tio._xscale > 0) {
posisi = (300 - tio._x) - 100;
} else {
posisi = (300 - tio._x) + 100;
}
if (_x < posisi) {
dt = (posisi - _x) / 2;
_x = (_x + dt);
}
if (_x > posisi) {
dt = (_x - posisi) / 2;
_x = (_x - dt);
}
if (_x > 0) {
_x = 0;
}
if (((musuh.energi > 0) and (musuh2.energi > 0)) and (random(100) == 34)) {
musuh._name = "msh";
musuh2._name = "musuh";
msh._name = "musuh2";
_root.gantimusuh = true;
}
if ((musuh.energi <= 0) and (musuh2.energi > 0)) {
musuh._name = "ms1";
musuh2._name = "musuh";
_root.gantimusuh = true;
}
if (((musuh.energi <= 0) or (musuh.energi == undefined)) and ((musuh2.energi <= 0) or (musuh2.energi == undefined))) {
_root.adamusuh = false;
} else {
_root.adamusuh = true;
}
}
Frame 24 (1.7 KiB) ●
function getar() {
bergetar = 1;
}
function suara(s) {
if (_root.suaraaktif == 1) {
_root[s].play();
}
}
stop();
stopAllSounds();
suara1 = new Sound(bgm);
suara1.attachSound("bgmusik");
suara1.setVolume(40);
suara1.start(0, 999);
nilai = levelscore;
adamusuh = false;
aktif = 1;
musuhnbisayerang = true;
bergetar = 0;
wb = 0;
combo1 = 0;
combo2 = 0;
wcombo1 = 0;
wcombo2 = 0;
senscombo = 18;
com1 = 0;
com2 = 0;
gantimusuh = false;
energimusuh = 0;
this.onEnterFrame = function () {
if (aktif == 1) {
wcombo1++;
if (wcombo1 > senscombo) {
wcombo1 = 0;
if (combo1 > 0) {
if (combo1 > 1) {
com1 = combo1;
arena.cb2.play();
}
combo1 = 0;
}
}
wcombo2++;
if (wcombo2 > senscombo) {
wcombo2 = 0;
if (combo2 > 0) {
if (combo2 > 1) {
com2 = combo2;
arena.cb1.play();
}
if (combo2 == 1) {
_root.nilai = _root.nilai + 100;
}
if (combo2 == 2) {
_root.nilai = _root.nilai + 250;
}
if (combo2 == 3) {
_root.nilai = _root.nilai + 450;
}
if (combo2 == 4) {
_root.nilai = _root.nilai + 800;
}
if (combo2 == 5) {
_root.nilai = _root.nilai + 1150;
}
if (combo2 == 6) {
_root.nilai = _root.nilai + 1500;
}
if (combo2 == 7) {
_root.nilai = _root.nilai + 2000;
}
if (combo2 >= 8) {
_root.nilai = _root.nilai + 5000;
}
combo2 = 0;
}
}
}
if (bergetar == 1) {
wb++;
if (wb == 1) {
this._y = this._y + 3;
}
if (wb == 4) {
this._y = -2;
}
if (wb == 7) {
this._y = 1;
}
if (wb == 10) {
this._y = 0;
wb = 0;
bergetar = 0;
}
}
};
Instance of Symbol 1122 MovieClip "arena" in Frame 24 (991 B)
onClipEvent (load) {
dt = 0;
posisi = (600 - tio._x) - 100;
xl = _x;
ganti = 100;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
this.cacheAsBitmap = true;
}
onClipEvent (enterFrame) {
if (tio._xscale > 0) {
posisi = (300 - tio._x) - 100;
} else {
posisi = (300 - tio._x) + 100;
}
if (_x < posisi) {
dt = (posisi - _x) / 2;
_x = (_x + dt);
}
if (_x > posisi) {
dt = (_x - posisi) / 2;
_x = (_x - dt);
}
if (_x > 0) {
_x = 0;
}
if (((musuh.energi > 0) and (musuh2.energi > 0)) and (random(100) == 34)) {
musuh._name = "msh";
musuh2._name = "musuh";
msh._name = "musuh2";
_root.gantimusuh = true;
}
if ((musuh.energi <= 0) and (musuh2.energi > 0)) {
musuh._name = "ms1";
musuh2._name = "musuh";
_root.gantimusuh = true;
}
if (((musuh.energi <= 0) or (musuh.energi == undefined)) and ((musuh2.energi <= 0) or (musuh2.energi == undefined))) {
_root.adamusuh = false;
} else {
_root.adamusuh = true;
}
}
Instance of Symbol 705 MovieClip in Frame 25 (136 B)
onClipEvent (load) {
nilaiku = _root.nilai;
}
onClipEvent (enterFrame) {
if (nilaiku < _root.nilai) {
nilaiku = nilaiku + 5;
}
}
Frame 26 (123 B)
contime = 10;
bgsound = new Sound();
bgsound.attachSound("bgmusik");
if (suaraaktif == 1) {
bgsound.start(0, 999);
}
Instance of Symbol 1127 MovieClip in Frame 26 (186 B)
onClipEvent (load) {
wc = 0;
}
onClipEvent (enterFrame) {
wc++;
if (wc > 25) {
wc = 0;
_root.contime--;
if (_root.contime < 0) {
_root.gotoAndStop("gameover");
}
}
}
Instance of Symbol 705 MovieClip in Frame 27 (46 B)
onClipEvent (load) {
nilaiku = _root.nilai;
}
Frame 27 (244 B)
stop();
totalnilai = _root.nilai;
nomenu = 0;
submit_btn.onRelease = function () {
gname = "bullybasherDR_v2";
_root.DRScore = totalnilai;
gscore = _root.DRScore;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
};
Frame 28 (244 B)
stop();
totalnilai = _root.nilai;
nomenu = 0;
submit_btn.onRelease = function () {
gname = "bullybasherDR_v2";
_root.DRScore = totalnilai;
gscore = _root.DRScore;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
};
Symbol 2 MovieClip Frame 1 (688 B)
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val = String(val);
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
trace(_local2);
return(_local2);
};
Symbol 13 MovieClip Frame 1 (8 B)
stop();
Symbol 1138 MovieClip Frame 1 (591 B)
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
Symbol 31 MovieClip Frame 42 (1 B)
Symbol 31 MovieClip Frame 55 (25 B)
stop();
_parent.play();
Symbol 72 MovieClip Frame 1 (16 B)
stop();
l = 0;
Instance of Symbol 16 MovieClip "mcNotice" in Symbol 72 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Symbol 72 MovieClip Frame 28 (445 B)
l++;
if (l < 4) {
gotoAndPlay ("loop");
} else if (_root.locked) {
if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
stop();
} else if (_root.debug) {
_root.okToPlay = true;
_root.gotoAndPlay("awal");
stop();
} else {
mcNotice._visible = true;
l = -99999;
gotoAndPlay ("loop");
}
} else {
_root.gotoAndPlay("awal");
}
Instance of Symbol 72 MovieClip "logo" in Symbol 73 MovieClip Frame 1 (89 B)
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Instance of Symbol 77 MovieClip in Symbol 83 MovieClip Frame 1 (57 B)
on (release) {
getURL ("http://wandah.com", "_blank");
}
Symbol 86 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 136 MovieClip in Symbol 137 MovieClip Frame 1 (2.92 KiB) ●
onClipEvent (enterFrame) {
nama = _parent._parent._parent._parent._name;
if ((_root.arena[nama]._currentframe != 4) or (random(10) == 3)) {
if (this.hitTest(_root.arena.tio.badan.sensor1)) {
_root.suara("suarapukul2");
if (_root.wcombo2 < _root.senscombo) {
_root.combo2++;
_root.wcombo2 = 0;
}
_root.arena[nama].energi = _root.arena[nama].energi - (5 + random(5));
if (_root.arena[nama].energi <= 0) {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(13);
} else {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(11);
}
}
if (this.hitTest(_root.arena.tio.badan.sensor2)) {
_root.suara("suarapukul2");
if (_root.wcombo2 < _root.senscombo) {
_root.combo2++;
_root.wcombo2 = 0;
}
_root.arena[nama].energi = _root.arena[nama].energi - (10 + random(5));
if (_root.arena[nama].energi <= 0) {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(13);
} else {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(12);
}
}
if (this.hitTest(_root.arena.tio.badan.sensor3)) {
_root.suara("suarapukul2");
if (_root.wcombo2 < _root.senscombo) {
_root.combo2++;
_root.wcombo2 = 0;
}
_root.arena[nama].energi = _root.arena[nama].energi - (15 + random(10));
if (_root.arena[nama].energi <= 0) {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(13);
} else {
if (random(5) == 4) {
_root.suara("suarakena1");
} else if (random(5) == 3) {
_root.suara("suarakena2");
} else if (random(5) == 2) {
_root.suara("suarakena3");
} else {
_root.suara("suarakena3");
}
_root.arena[nama].gotoAndStop(12);
}
}
}
if (_root.arena[nama]._currentframe == 4) {
if ((this.hitTest(_root.arena.tio.badan.sensor1) or this.hitTest(_root.arena.tio.badan.sensor2)) or this.hitTest(_root.arena.tio.badan.sensor3)) {
_root.suara("suarapukul2");
}
}
}
Instance of Symbol 136 MovieClip in Symbol 153 MovieClip Frame 1 (2.3 KiB) ●
onClipEvent (enterFrame) {
if ((_root.arena.tio._currentframe != 5) or (random(10) == 3)) {
if ((this.hitTest(_root.arena.musuh.badan.sensor1) or this.hitTest(_root.arena.musuh2.badan.sensor1)) or this.hitTest(_root.arena.musuh3.badan.sensor1)) {
_root.suara("suarapukul1");
if (_root.wcombo1 < _root.senscombo) {
_root.combo1++;
_root.wcombo1 = 0;
}
_root.arena.tio.energi = _root.arena.tio.energi - ((5 + random(5)) + _root.gamelevel);
if (_root.arena.tio.energi <= 0) {
_root.suara("suarakena3");
_root.arena.tio.gotoAndStop(17);
} else {
_root.suara("suarakena2");
_root.animfog.play();
_root.arena.tio.gotoAndStop(14);
}
}
if ((this.hitTest(_root.arena.musuh.badan.sensor2) or this.hitTest(_root.arena.musuh2.badan.sensor2)) or this.hitTest(_root.arena.musuh3.badan.sensor2)) {
_root.suara("suarapukul1");
if (_root.wcombo1 < _root.senscombo) {
_root.combo1++;
_root.wcombo1 = 0;
}
_root.arena.tio.energi = _root.arena.tio.energi - ((10 + random(10)) + _root.gamelevel);
if (_root.arena.tio.energi <= 0) {
_root.suara("suarakena3");
_root.arena.tio.gotoAndStop(17);
} else {
_root.suara("suarakena2");
_root.animfog.play();
_root.arena.tio.gotoAndStop(15);
}
}
if ((this.hitTest(_root.arena.musuh.badan.sensor3) or this.hitTest(_root.arena.musuh2.badan.sensor3)) or this.hitTest(_root.arena.musuh3.badan.sensor3)) {
_root.suara("suarapukul1");
if (_root.wcombo1 < _root.senscombo) {
_root.combo1++;
_root.wcombo1 = 0;
}
_root.arena.tio.energi = _root.arena.tio.energi - ((15 + random(10)) + _root.gamelevel);
if (_root.arena.tio.energi <= 0) {
_root.suara("suarakena3");
_root.arena.tio.gotoAndStop(17);
} else {
_root.suara("suarakena2");
_root.animfog.play();
_root.arena.tio.gotoAndStop(16);
}
}
}
if (_root.arena.tio._currentframe == 5) {
if (this.hitTest(_root.arena.musuh.badan.sensor1) or this.hitTest(_root.arena.musuh2.badan.sensor1)) {
_root.suara("suarapukul1");
}
if (this.hitTest(_root.arena.musuh.badan.sensor2) or this.hitTest(_root.arena.musuh2.badan.sensor2)) {
_root.suara("suarapukul1");
}
if (this.hitTest(_root.arena.musuh.badan.sensor3) or this.hitTest(_root.arena.musuh2.badan.sensor3)) {
_root.suara("suarapukul1");
}
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1 (105 B)
onClipEvent (load) {
if (_root.gamelevel == 3) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 173 Button (71 B)
on (release, keyPress "<Space>") {
gotoAndStop ("pilihlevel");
}
Symbol 176 Button (70 B)
on (release) {
getURL ("http://www.freeonlinegames.com", "_blank");
}
Symbol 180 Button (44 B)
on (release) {
gotoAndStop ("highscore");
}
Symbol 184 Button (78 B)
on (release) {
getURL ("http://www.freegamesforyourwebsite.com", "_blank");
}
Symbol 222 MovieClip Frame 20 (179 B)
no = random(6);
if (no == 2) {
_parent.gotoAndStop(2);
} else if (no == 3) {
_parent.gotoAndStop(3);
} else if (no == 4) {
_parent.gotoAndStop(4);
} else {
play();
}
Symbol 223 MovieClip Frame 17 (195 B)
no = random(6);
if (no == 2) {
_parent.gotoAndStop(2);
} else if (no == 3) {
_parent.gotoAndStop(3);
} else if (no == 4) {
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(1);
}
Symbol 224 MovieClip Frame 22 (195 B)
no = random(6);
if (no == 2) {
_parent.gotoAndStop(2);
} else if (no == 3) {
_parent.gotoAndStop(3);
} else if (no == 4) {
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(1);
}
Symbol 225 MovieClip Frame 21 (195 B)
no = random(6);
if (no == 2) {
_parent.gotoAndStop(2);
} else if (no == 3) {
_parent.gotoAndStop(3);
} else if (no == 4) {
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(1);
}
Symbol 226 MovieClip Frame 1 (8 B)
stop();
Symbol 231 MovieClip Frame 1 (8 B)
stop();
Symbol 232 Button (64 B)
on (release, keyPress "<Space>") {
gotoAndStop ("ins");
}
Symbol 235 MovieClip Frame 1 (8 B)
stop();
Symbol 238 MovieClip Frame 25 (17 B)
gotoAndPlay (1);
Symbol 241 MovieClip Frame 3 (8 B)
stop();
Symbol 242 MovieClip Frame 2 (32 B)
_root.musuhbisanyerang = false;
Symbol 242 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 242 MovieClip Frame 10 (31 B)
_root.musuhbisanyerang = true;
Symbol 242 MovieClip Frame 14 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 243 MovieClip Frame 2 (32 B)
_root.musuhbisanyerang = false;
Symbol 243 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 243 MovieClip Frame 10 (31 B)
_root.musuhbisanyerang = true;
Symbol 243 MovieClip Frame 13 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 244 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 244 MovieClip Frame 12 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 245 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 245 MovieClip Frame 18 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 248 MovieClip Frame 11 (29 B)
_root.suara("suaramemukul");
Symbol 248 MovieClip Frame 19 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 249 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 249 MovieClip Frame 12 (29 B)
_root.suara("suaramemukul");
Symbol 249 MovieClip Frame 23 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 250 MovieClip Frame 21 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 251 MovieClip Frame 30 (102 B)
_parent.kanan = 0;
_parent.kiri = 0;
_parent.atas = 0;
_parent.bawah = 0;
_parent.gotoAndStop(1);
Symbol 254 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 255 MovieClip Frame 17 (132 B)
if (_parent._xscale > 0) {
_parent._x = _parent._x - 40;
} else {
_parent._x = _parent._x + 40;
}
_parent.gotoAndStop(1);
Symbol 256 MovieClip Frame 10 (15 B)
_root.getar();
Symbol 256 MovieClip Frame 95 (132 B)
if (_parent._xscale > 0) {
_parent._x = _parent._x - 60;
} else {
_parent._x = _parent._x + 60;
}
_parent.gotoAndStop(1);
Symbol 275 MovieClip Frame 64 (26 B)
stop();
_root.ko.play();
Symbol 276 MovieClip Frame 1 (8 B)
stop();
Symbol 288 Button (194 B)
on (release, keyPress "<Space>") {
if (gamelevel == 1) {
gotoAndStop ("main");
}
if (gamelevel == 2) {
gotoAndStop ("main2");
}
if (gamelevel == 3) {
gotoAndStop ("main3");
}
}
Symbol 295 MovieClip Frame 1 (8 B)
stop();
Symbol 295 MovieClip Frame 2 (8 B)
stop();
Symbol 306 Button (73 B)
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 307 Button (75 B)
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}
Symbol 313 Button (66 B)
on (release, keyPress "<Space>") {
gotoAndStop ("cover");
}
Symbol 337 MovieClip Frame 1 (8 B)
stop();
Symbol 344 MovieClip Frame 1 (8 B)
stop();
Symbol 345 MovieClip Frame 1 (8 B)
stop();
Symbol 345 MovieClip Frame 61 (8 B)
stop();
Symbol 349 MovieClip Frame 1 (8 B)
stop();
Symbol 352 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 349 MovieClip in Symbol 352 MovieClip Frame 2 (51 B)
onClipEvent (load) {
gotoAndStop(_parent.bonus);
}
Symbol 352 MovieClip Frame 15 (8 B)
stop();
Symbol 365 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 365 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 366 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 368 MovieClip Frame 3 (8 B)
stop();
Symbol 369 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 369 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 370 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 370 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 371 MovieClip Frame 11 (29 B)
_root.suara("suaramemukul");
Symbol 371 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 372 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 372 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 373 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 373 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 374 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 374 MovieClip Frame 13 (29 B)
_root.suara("suaramemukul");
Symbol 374 MovieClip Frame 38 (24 B)
_parent.gotoAndStop(1);
Symbol 377 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 378 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 378 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 379 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 379 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 380 MovieClip Frame 9 (69 B)
_root.arena.ob1.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 381 MovieClip Frame 1 (8 B)
stop();
Symbol 381 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 393 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 393 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 394 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 396 MovieClip Frame 3 (8 B)
stop();
Symbol 397 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 397 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 398 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 398 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 399 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 399 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 400 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 401 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 401 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 402 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 402 MovieClip Frame 18 (24 B)
_parent.gotoAndStop(1);
Symbol 406 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 407 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 407 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 408 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 408 MovieClip Frame 39 (117 B)
_root.arena.bonus.play();
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "timbol";
stop();
Symbol 420 MovieClip Frame 11 (44 B)
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 421 MovieClip Frame 55 (24 B)
_parent.gotoAndStop(1);
Symbol 422 MovieClip Frame 1 (8 B)
stop();
Symbol 438 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 438 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 439 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 441 MovieClip Frame 3 (8 B)
stop();
Symbol 442 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 442 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 443 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 443 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 444 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 444 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 445 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 445 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 446 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 446 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 447 MovieClip Frame 22 (24 B)
_parent.gotoAndStop(1);
Symbol 451 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 452 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 452 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 453 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 453 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "joko";
stop();
Symbol 454 MovieClip Frame 7 (24 B)
_root.arena.ob2.play();
Symbol 455 MovieClip Frame 1 (8 B)
stop();
Symbol 455 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 461 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 461 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 462 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 464 MovieClip Frame 3 (8 B)
stop();
Symbol 465 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 465 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 466 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 466 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 467 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 467 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 468 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 468 MovieClip Frame 15 (24 B)
_parent.gotoAndStop(1);
Symbol 469 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 469 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 470 MovieClip Frame 37 (24 B)
_parent.gotoAndStop(1);
Symbol 471 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 472 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 472 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 473 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 473 MovieClip Frame 39 (115 B)
_root.arena.bonus.play();
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 477 MovieClip Frame 15 (45 B)
if (random(10) == 2) {
gotoAndPlay (1);
}
Symbol 478 MovieClip Frame 67 (24 B)
_parent.gotoAndStop(1);
Symbol 479 MovieClip Frame 1 (8 B)
stop();
Symbol 497 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 497 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 498 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 500 MovieClip Frame 3 (8 B)
stop();
Symbol 501 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 501 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 502 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 502 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 503 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 503 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 504 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 504 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 505 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 505 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 506 MovieClip Frame 40 (24 B)
_parent.gotoAndStop(1);
Symbol 510 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 511 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 511 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 512 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 512 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "joko";
stop();
Symbol 514 MovieClip Frame 25 (24 B)
_parent.gotoAndStop(1);
Symbol 515 MovieClip Frame 1 (8 B)
stop();
Symbol 524 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 524 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 525 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 527 MovieClip Frame 3 (8 B)
stop();
Symbol 528 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 528 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 529 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 529 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 530 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 530 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 531 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 531 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 532 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 532 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 533 MovieClip Frame 16 (24 B)
_parent.gotoAndStop(1);
Symbol 537 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 538 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 538 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 539 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 539 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 540 MovieClip Frame 9 (69 B)
_root.arena.ob3.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 541 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 542 MovieClip Frame 1 (8 B)
stop();
Symbol 554 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 554 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 555 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 557 MovieClip Frame 3 (8 B)
stop();
Symbol 558 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 558 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 559 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 559 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 560 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 560 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 561 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 561 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 562 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 562 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 563 MovieClip Frame 74 (24 B)
_parent.gotoAndStop(1);
Symbol 567 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 568 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 568 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 569 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 569 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 570 MovieClip Frame 7 (76 B)
_root.arena.ob4.anjing.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 571 MovieClip Frame 1 (24 B)
_root.arena.ob4.play();
Symbol 571 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 572 MovieClip Frame 1 (8 B)
stop();
Symbol 588 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 588 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 589 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 591 MovieClip Frame 3 (8 B)
stop();
Symbol 596 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 596 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 597 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 597 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 598 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 598 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 599 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 599 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 600 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 600 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 619 MovieClip Frame 27 (24 B)
_parent.gotoAndStop(1);
Symbol 623 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 624 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 624 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 625 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 625 MovieClip Frame 39 (124 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_root.arena.panah._visible = true;
_parent._name = "joko";
stop();
Symbol 646 MovieClip Frame 83 (45 B)
if (random(10) == 3) {
gotoAndPlay (1);
}
Symbol 647 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 648 MovieClip Frame 1 (8 B)
stop();
Symbol 652 MovieClip Frame 1 (8 B)
stop();
Symbol 656 MovieClip Frame 1 (8 B)
stop();
Symbol 663 MovieClip Frame 1 (8 B)
stop();
Symbol 663 MovieClip Frame 2 (65 B)
if (this.hitTest(_root.kotak)) {
_root.suara("suaragetar");
}
Symbol 664 MovieClip Frame 1 (8 B)
stop();
Symbol 664 MovieClip Frame 2 (65 B)
if (this.hitTest(_root.kotak)) {
_root.suara("suaragetar");
}
Instance of Symbol 276 MovieClip "tio" in Symbol 665 MovieClip Frame 1 (5.74 KiB) ● ●
onClipEvent (load) {
gerak = 0;
kanan = 0;
kiri = 0;
atas = 0;
bawah = 0;
skala = _xscale;
sensitif = 3;
jalancepat = 4;
jalanlambat = 3;
ditekan = false;
maxenergi = 100;
maxstamina = 100;
energi = maxenergi;
stamina = maxstamina;
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
trace(_x);
}
if (_root.aktif == 1) {
if (_x < 400) {
_x = 400;
}
if (_x > 4675) {
_x = 4675;
}
if ((stamina < maxstamina) and (energi > 0)) {
stamina++;
}
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if (Key.isDown(39)) {
ditekan = true;
if (kanan < sensitif) {
kanan++;
}
}
if (Key.isDown(37)) {
ditekan = true;
if (kiri < sensitif) {
kiri++;
}
}
if (Key.isDown(38)) {
ditekan = true;
if (atas < sensitif) {
atas++;
}
}
if (Key.isDown(40)) {
ditekan = true;
if (bawah < sensitif) {
bawah++;
}
}
if ((kanan >= sensitif) and (_currentframe < 5)) {
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (3);
_x = (_x + jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (4);
_x = (_x + jalanlambat);
}
} else {
_xscale = skala;
gotoAndStop (2);
_x = (_x + jalancepat);
}
}
if ((kiri >= sensitif) and (_currentframe < 5)) {
if (_root.adamusuh and (_root.arena.musuh._currentframe != 13)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (4);
_x = (_x - jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (3);
_x = (_x - jalanlambat);
}
} else {
_xscale = (-skala);
gotoAndStop (2);
_x = (_x - jalancepat);
}
}
if (Key.isDown(68)) {
ditekan = true;
atas = 0;
bawah = 0;
kiri = 0;
kanan = 0;
if (_currentframe < 5) {
gotoAndStop (5);
}
}
if ((Key.isDown(65) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if ((Key.isDown(83) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if (!ditekan) {
if ((_currentframe >= 1) and (_currentframe <= 5)) {
if (kanan > 0) {
kanan--;
}
if (kiri > 0) {
kiri--;
}
if (atas > 0) {
atas--;
}
if (bawah > 0) {
bawah--;
}
gotoAndStop (1);
}
}
}
}
onClipEvent (keyUp) {
ditekan = false;
}
Instance of Symbol 352 MovieClip "bonus" in Symbol 665 MovieClip Frame 1 (374 B)
onClipEvent (load) {
bonus = random(3);
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (_parent.tio._x + 100);
}
if ((_currentframe == 15) and this.hitTest(_parent.tio)) {
_parent.tio.energi = _parent.tio.energi + 50;
if (_parent.tio.energi > 200) {
_parent.tio.energi = 200;
}
bonus = random(3);
_root.suara("suarabonus");
play();
}
}
Instance of Symbol 381 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 50;
energi = maxenergi;
nokepala = 1;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 422 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 60;
energi = maxenergi;
nokepala = 2;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 455 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 60;
energi = maxenergi;
nokepala = 3;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 479 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 100;
energi = maxenergi;
nokepala = 4;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 481 MovieClip in Symbol 665 MovieClip Frame 1 (75 B)
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_visible = false;
}
}
Instance of Symbol 515 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 75;
energi = maxenergi;
nokepala = 5;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 542 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 100;
energi = maxenergi;
nokepala = 6;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 572 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 100;
energi = maxenergi;
nokepala = 7;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 648 MovieClip in Symbol 665 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 120;
energi = maxenergi;
nokepala = 8;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 481 MovieClip "panah" in Symbol 665 MovieClip Frame 1 (123 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
_x = _parent.tio._x;
}
}
Instance of Symbol 136 MovieClip in Symbol 665 MovieClip Frame 1 (173 B)
onClipEvent (enterFrame) {
if ((this.hitTest(_root.arena.tio) and (_root.arena.panah._visible == true)) and (_root.menang._currentframe == 1)) {
_root.menang.play();
}
}
Instance of Symbol 652 MovieClip "cb2" in Symbol 665 MovieClip Frame 1 (51 B)
onClipEvent (enterFrame) {
_x = _parent.tio._x;
}
Instance of Symbol 656 MovieClip "cb1" in Symbol 665 MovieClip Frame 1 (53 B)
onClipEvent (enterFrame) {
_x = _parent.musuh._x;
}
Symbol 668 MovieClip Frame 1 (8 B)
stop();
Symbol 668 MovieClip Frame 2 (55 B)
stopAllSounds();
_root.suaramenang.suara.start(0, 1);
Symbol 668 MovieClip Frame 162 (28 B)
_root.gotoAndStop("kalah");
Symbol 680 MovieClip Frame 1 (8 B)
stop();
Symbol 680 MovieClip Frame 2 (37 B)
_root.suaramenang.suara.start(0, 1);
Symbol 680 MovieClip Frame 172 (32 B)
_root.levelscore = _root.nilai;
Symbol 680 MovieClip Frame 176 (129 B)
_root.gamelevel++;
if (_root.gamelevel < 4) {
_root.gotoAndStop("pilihlevel");
} else {
_root.gotoAndStop("menang");
}
Symbol 684 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 684 MovieClip in Symbol 685 MovieClip Frame 1 (80 B)
onClipEvent (enterFrame) {
if (_root.arena.tio.energi < 25) {
play();
}
}
Instance of Symbol 685 MovieClip in Symbol 690 MovieClip Frame 1 (234 B)
onClipEvent (load) {
_x = 100;
}
onClipEvent (enterFrame) {
if (_x > (_root.arena.tio.energi * 2)) {
_x = (_x-1);
}
if (_x < (_root.arena.tio.energi * 2)) {
_x = (_x+1);
}
if (_x <= 0) {
_visible = false;
}
}
Instance of Symbol 688 MovieClip in Symbol 690 MovieClip Frame 1 (220 B)
onClipEvent (load) {
_x = (_root.arena.tio.stamina * 2);
}
onClipEvent (enterFrame) {
if (_root.arena.tio.energi <= 0) {
if (_x > 0) {
_x = (_x-1);
}
} else {
_x = (_root.arena.tio.stamina * 2);
}
}
Instance of Symbol 693 MovieClip in Symbol 694 MovieClip Frame 1 (322 B)
onClipEvent (load) {
_x = ((-_root.energimusuh) * 2);
}
onClipEvent (enterFrame) {
if (_x < ((-_root.energimusuh) * 2)) {
_x = (_x+1);
}
if (_x > ((-_root.energimusuh) * 2)) {
_x = ((-_root.energimusuh) * 2);
}
if (_root.gantimusuh) {
_x = ((-_root.energimusuh) * 2);
_root.gantimusuh = false;
}
}
Symbol 702 MovieClip Frame 1 (8 B)
stop();
Symbol 709 Button (45 B)
on (release) {
_root.gotoAndStop("cover");
}
Symbol 712 Button (70 B)
on (release) {
getURL ("http://www.freeonlinegames.com", "_blank");
}
Symbol 715 Button (71 B)
on (release) {
_root.suaraaktif = 1;
_root.bgm.suara.start(0, 999);
}
Symbol 718 Button (57 B)
on (release) {
_root.suaraaktif = 0;
stopAllSounds();
}
Symbol 719 MovieClip Frame 1 (8 B)
stop();
Symbol 722 Button (60 B)
on (release, keyPress "<Space>") {
_root.aktif = 1;
}
Symbol 725 Button (58 B)
on (release) {
_root.kualitas = 1;
_quality = "best";
}
Symbol 728 Button (57 B)
on (release) {
_root.kualitas = 0;
_quality = "low";
}
Symbol 729 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 719 MovieClip in Symbol 731 MovieClip Frame 1 (123 B)
onClipEvent (load) {
gotoAndStop(_root.suaraaktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.suaraaktif + 1);
}
Instance of Symbol 729 MovieClip in Symbol 731 MovieClip Frame 1 (119 B)
onClipEvent (load) {
gotoAndStop(_root.kualitas + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.kualitas + 1);
}
Symbol 734 MovieClip Frame 1 (8 B)
stop();
Symbol 737 MovieClip Frame 1 (8 B)
stop();
Symbol 739 MovieClip Frame 1 (8 B)
stop();
Symbol 741 MovieClip Frame 1 (8 B)
stop();
Symbol 743 MovieClip Frame 1 (8 B)
stop();
Symbol 745 MovieClip Frame 1 (8 B)
stop();
Symbol 747 MovieClip Frame 1 (8 B)
stop();
Symbol 748 MovieClip Frame 1 (8 B)
stop();
Symbol 750 MovieClip Frame 1 (8 B)
stop();
Symbol 752 MovieClip Frame 1 (8 B)
stop();
Symbol 754 MovieClip Frame 1 (8 B)
stop();
Symbol 772 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 773 MovieClip Frame 1 (8 B)
stop();
Symbol 781 MovieClip Frame 12 (58 B)
_root.arena.ob5._visible = true;
_parent.gotoAndStop(1);
Symbol 782 MovieClip Frame 1 (8 B)
stop();
Symbol 791 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 791 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 792 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 794 MovieClip Frame 3 (8 B)
stop();
Symbol 795 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 795 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 796 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 796 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 797 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 797 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 798 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 798 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 799 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 799 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 800 MovieClip Frame 22 (24 B)
_parent.gotoAndStop(1);
Symbol 804 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 805 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 805 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 806 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 806 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "joko";
stop();
Symbol 808 MovieClip Frame 25 (24 B)
_parent.gotoAndStop(1);
Symbol 809 MovieClip Frame 1 (8 B)
stop();
Symbol 820 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 820 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 821 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 823 MovieClip Frame 3 (8 B)
stop();
Symbol 824 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 824 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 825 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 825 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 826 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 826 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 827 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 827 MovieClip Frame 15 (24 B)
_parent.gotoAndStop(1);
Symbol 828 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 828 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 829 MovieClip Frame 37 (24 B)
_parent.gotoAndStop(1);
Symbol 830 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 831 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 831 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 832 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 832 MovieClip Frame 39 (115 B)
_root.arena.bonus.play();
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 834 MovieClip Frame 67 (24 B)
_parent.gotoAndStop(1);
Symbol 835 MovieClip Frame 1 (8 B)
stop();
Symbol 845 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 845 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 846 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 848 MovieClip Frame 3 (8 B)
stop();
Symbol 849 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 849 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 850 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 850 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 851 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 851 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 852 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 852 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 853 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 853 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 854 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 854 MovieClip Frame 38 (24 B)
_parent.gotoAndStop(1);
Symbol 858 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 859 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 859 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 860 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 860 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 861 MovieClip Frame 9 (69 B)
_root.arena.ob1.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 862 MovieClip Frame 1 (8 B)
stop();
Symbol 862 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 864 MovieClip Frame 9 (69 B)
_root.arena.ob1.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 865 MovieClip Frame 22 (24 B)
_parent.gotoAndStop(1);
Symbol 866 MovieClip Frame 1 (8 B)
stop();
Symbol 867 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 867 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "joko";
stop();
Symbol 868 MovieClip Frame 1 (8 B)
stop();
Symbol 869 MovieClip Frame 9 (69 B)
_root.arena.ob6.play();
if (random(5) == 3) {
gotoAndPlay (2);
}
Symbol 870 MovieClip Frame 1 (24 B)
_root.arena.ob4.play();
Symbol 870 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 871 MovieClip Frame 1 (8 B)
stop();
Symbol 885 MovieClip Frame 1 (8 B)
stop();
Symbol 885 MovieClip Frame 5 (66 B)
if (this.hitTest(_root.kotak)) {
_root.suara("suarakaleng");
}
Symbol 889 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 889 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 890 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 892 MovieClip Frame 3 (8 B)
stop();
Symbol 893 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 893 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 894 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 894 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 895 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 895 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 896 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 896 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 897 MovieClip Frame 10 (29 B)
_root.suara("suaramemukul");
Symbol 897 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 898 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 898 MovieClip Frame 16 (24 B)
_parent.gotoAndStop(1);
Symbol 902 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 903 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 903 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 904 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 904 MovieClip Frame 39 (124 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_root.arena.panah._visible = true;
_parent._name = "bejo";
stop();
Symbol 906 MovieClip Frame 9 (24 B)
_root.arena.ob1.play();
Symbol 906 MovieClip Frame 12 (58 B)
_root.arena.ob5._visible = true;
_parent.gotoAndStop(1);
Symbol 907 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 276 MovieClip "tio" in Symbol 915 MovieClip Frame 1 (5.74 KiB) ● ●
onClipEvent (load) {
gerak = 0;
kanan = 0;
kiri = 0;
atas = 0;
bawah = 0;
skala = _xscale;
sensitif = 3;
jalancepat = 4;
jalanlambat = 3;
ditekan = false;
maxenergi = 100;
maxstamina = 100;
energi = maxenergi;
stamina = maxstamina;
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
trace(_x);
}
if (_root.aktif == 1) {
if (_x < 400) {
_x = 400;
}
if (_x > 4675) {
_x = 4675;
}
if ((stamina < maxstamina) and (energi > 0)) {
stamina++;
}
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if (Key.isDown(39)) {
ditekan = true;
if (kanan < sensitif) {
kanan++;
}
}
if (Key.isDown(37)) {
ditekan = true;
if (kiri < sensitif) {
kiri++;
}
}
if (Key.isDown(38)) {
ditekan = true;
if (atas < sensitif) {
atas++;
}
}
if (Key.isDown(40)) {
ditekan = true;
if (bawah < sensitif) {
bawah++;
}
}
if ((kanan >= sensitif) and (_currentframe < 5)) {
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (3);
_x = (_x + jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (4);
_x = (_x + jalanlambat);
}
} else {
_xscale = skala;
gotoAndStop (2);
_x = (_x + jalancepat);
}
}
if ((kiri >= sensitif) and (_currentframe < 5)) {
if (_root.adamusuh and (_root.arena.musuh._currentframe != 13)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (4);
_x = (_x - jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (3);
_x = (_x - jalanlambat);
}
} else {
_xscale = (-skala);
gotoAndStop (2);
_x = (_x - jalancepat);
}
}
if (Key.isDown(68)) {
ditekan = true;
atas = 0;
bawah = 0;
kiri = 0;
kanan = 0;
if (_currentframe < 5) {
gotoAndStop (5);
}
}
if ((Key.isDown(65) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if ((Key.isDown(83) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if (!ditekan) {
if ((_currentframe >= 1) and (_currentframe <= 5)) {
if (kanan > 0) {
kanan--;
}
if (kiri > 0) {
kiri--;
}
if (atas > 0) {
atas--;
}
if (bawah > 0) {
bawah--;
}
gotoAndStop (1);
}
}
}
}
onClipEvent (keyUp) {
ditekan = false;
}
Instance of Symbol 352 MovieClip "bonus" in Symbol 915 MovieClip Frame 1 (345 B)
onClipEvent (load) {
bonus = random(3);
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (_parent.tio._x + 100);
}
if ((_currentframe == 15) and this.hitTest(_parent.tio)) {
_parent.tio.energi = _parent.tio.energi + 50;
if (_parent.tio.energi > 200) {
_parent.tio.energi = 200;
}
bonus = random(3);
play();
}
}
Instance of Symbol 481 MovieClip in Symbol 915 MovieClip Frame 1 (75 B)
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_visible = false;
}
}
Instance of Symbol 773 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 125;
energi = maxenergi;
nokepala = 5;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 782 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 100;
energi = maxenergi;
nokepala = 6;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 481 MovieClip "panah" in Symbol 915 MovieClip Frame 1 (123 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
_x = _parent.tio._x;
}
}
Instance of Symbol 136 MovieClip in Symbol 915 MovieClip Frame 1 (173 B)
onClipEvent (enterFrame) {
if ((this.hitTest(_root.arena.tio) and (_root.arena.panah._visible == true)) and (_root.menang._currentframe == 1)) {
_root.menang.play();
}
}
Instance of Symbol 809 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 120;
energi = maxenergi;
nokepala = 9;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 835 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 4;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 862 MovieClip in Symbol 915 MovieClip Frame 1 (3.09 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 13;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 866 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 130;
energi = maxenergi;
nokepala = 1;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 868 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 130;
energi = maxenergi;
nokepala = 8;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 871 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 7;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 422 MovieClip in Symbol 915 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 2;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 907 MovieClip in Symbol 915 MovieClip Frame 1 (3.09 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 16;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 652 MovieClip "cb2" in Symbol 915 MovieClip Frame 1 (51 B)
onClipEvent (enterFrame) {
_x = _parent.tio._x;
}
Instance of Symbol 656 MovieClip "cb1" in Symbol 915 MovieClip Frame 1 (53 B)
onClipEvent (enterFrame) {
_x = _parent.musuh._x;
}
Instance of Symbol 780 MovieClip "ob5" in Symbol 915 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Symbol 945 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 945 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 946 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 948 MovieClip Frame 3 (8 B)
stop();
Symbol 949 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 949 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 950 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 950 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 951 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 951 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 952 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 952 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 953 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 953 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 954 MovieClip Frame 38 (24 B)
_parent.gotoAndStop(1);
Symbol 956 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 957 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 957 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 958 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 958 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 960 MovieClip Frame 1 (8 B)
stop();
Symbol 960 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 962 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 962 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 963 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 965 MovieClip Frame 3 (8 B)
stop();
Symbol 966 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 966 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 967 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 967 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 968 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 968 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 969 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 969 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 970 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 970 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 971 MovieClip Frame 40 (24 B)
_parent.gotoAndStop(1);
Symbol 973 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 974 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 974 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 975 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 975 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 977 MovieClip Frame 1 (8 B)
stop();
Symbol 977 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 979 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 979 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 980 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 982 MovieClip Frame 3 (8 B)
stop();
Symbol 983 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 983 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 984 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 984 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 985 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 985 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 986 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 986 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 987 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 987 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 988 MovieClip Frame 40 (24 B)
_parent.gotoAndStop(1);
Symbol 990 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 991 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 991 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 992 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 992 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 994 MovieClip Frame 1 (8 B)
stop();
Symbol 994 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 996 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 996 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 997 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 999 MovieClip Frame 3 (8 B)
stop();
Symbol 1000 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1000 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1001 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1001 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1002 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1002 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1003 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1003 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1004 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 1004 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1005 MovieClip Frame 43 (24 B)
_parent.gotoAndStop(1);
Symbol 1007 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1008 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1008 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1009 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1009 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1011 MovieClip Frame 1 (8 B)
stop();
Symbol 1011 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 1013 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1013 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1014 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1016 MovieClip Frame 3 (8 B)
stop();
Symbol 1017 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1017 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1018 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 1018 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1019 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 1019 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1020 MovieClip Frame 3 (29 B)
_root.suara("suaramemukul");
Symbol 1020 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1021 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 1021 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1022 MovieClip Frame 46 (24 B)
_parent.gotoAndStop(1);
Symbol 1024 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1025 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1025 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1026 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1026 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1028 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 1029 MovieClip Frame 1 (8 B)
stop();
Symbol 1031 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1031 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1032 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1034 MovieClip Frame 3 (8 B)
stop();
Symbol 1035 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1035 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1036 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1036 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1037 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 1037 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1038 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1038 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1039 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 1039 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1040 MovieClip Frame 46 (24 B)
_parent.gotoAndStop(1);
Symbol 1042 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1043 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1043 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1044 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1044 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1046 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 1047 MovieClip Frame 1 (8 B)
stop();
Symbol 1049 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1049 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1050 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1052 MovieClip Frame 3 (8 B)
stop();
Symbol 1053 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1053 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1054 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1054 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1055 MovieClip Frame 9 (29 B)
_root.suara("suaramemukul");
Symbol 1055 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1056 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1056 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1057 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 1057 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1058 MovieClip Frame 16 (24 B)
_parent.gotoAndStop(1);
Symbol 1060 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1061 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1061 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1062 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1062 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1064 MovieClip Frame 60 (24 B)
_parent.gotoAndStop(1);
Symbol 1065 MovieClip Frame 1 (8 B)
stop();
Symbol 1067 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1067 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1068 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1070 MovieClip Frame 3 (8 B)
stop();
Symbol 1071 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1071 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1072 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1072 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1073 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1073 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1074 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1074 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1075 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 1075 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1076 MovieClip Frame 40 (24 B)
_parent.gotoAndStop(1);
Symbol 1078 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1079 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1079 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1080 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1080 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1082 MovieClip Frame 1 (8 B)
stop();
Symbol 1082 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 1084 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1084 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1085 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1087 MovieClip Frame 3 (8 B)
stop();
Symbol 1088 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1088 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1089 MovieClip Frame 5 (29 B)
_root.suara("suaramemukul");
Symbol 1089 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1090 MovieClip Frame 6 (29 B)
_root.suara("suaramemukul");
Symbol 1090 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1091 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1091 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1092 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 1092 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1093 MovieClip Frame 40 (24 B)
_parent.gotoAndStop(1);
Symbol 1095 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1096 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1096 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1097 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1097 MovieClip Frame 39 (88 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_parent._name = "bejo";
stop();
Symbol 1099 MovieClip Frame 1 (8 B)
stop();
Symbol 1099 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Symbol 1101 MovieClip Frame 20 (65 B)
if (random(10) == 4) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1101 MovieClip Frame 71 (45 B)
if (random(5) == 4) {
gotoAndPlay (21);
}
Symbol 1102 MovieClip Frame 19 (17 B)
gotoAndPlay (1);
Symbol 1104 MovieClip Frame 3 (8 B)
stop();
Symbol 1105 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1105 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1106 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1106 MovieClip Frame 14 (24 B)
_parent.gotoAndStop(1);
Symbol 1107 MovieClip Frame 7 (29 B)
_root.suara("suaramemukul");
Symbol 1107 MovieClip Frame 19 (24 B)
_parent.gotoAndStop(1);
Symbol 1108 MovieClip Frame 4 (29 B)
_root.suara("suaramemukul");
Symbol 1108 MovieClip Frame 13 (24 B)
_parent.gotoAndStop(1);
Symbol 1109 MovieClip Frame 8 (29 B)
_root.suara("suaramemukul");
Symbol 1109 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(1);
Symbol 1110 MovieClip Frame 15 (24 B)
_parent.gotoAndStop(1);
Symbol 1112 MovieClip Frame 11 (24 B)
_parent.gotoAndStop(1);
Symbol 1113 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1113 MovieClip Frame 30 (24 B)
_parent.gotoAndStop(1);
Symbol 1114 MovieClip Frame 13 (15 B)
_root.getar();
Symbol 1114 MovieClip Frame 39 (124 B)
_root.arena.tio.energi = _root.arena.tio.energi + 10;
_root.arena.panah._visible = true;
_parent._name = "bejo";
stop();
Symbol 1116 MovieClip Frame 1 (8 B)
stop();
Symbol 1116 MovieClip Frame 16 (17 B)
gotoAndStop (1);
Instance of Symbol 921 MovieClip in Symbol 1122 MovieClip Frame 1 (115 B)
onClipEvent (enterFrame) {
if (_parent.tembok._visible == false) {
_alpha = 20;
} else {
_alpha = 100;
}
}
Instance of Symbol 276 MovieClip "tio" in Symbol 1122 MovieClip Frame 1 (5.74 KiB) ● ●
onClipEvent (load) {
gerak = 0;
kanan = 0;
kiri = 0;
atas = 0;
bawah = 0;
skala = _xscale;
sensitif = 3;
jalancepat = 4;
jalanlambat = 3;
ditekan = false;
maxenergi = 100;
maxstamina = 100;
energi = maxenergi;
stamina = maxstamina;
}
onClipEvent (enterFrame) {
if (Key.isDown(49)) {
trace(_x);
}
if (_root.aktif == 1) {
if (_x < 400) {
_x = 400;
}
if (_x > 4675) {
_x = 4675;
}
if ((stamina < maxstamina) and (energi > 0)) {
stamina++;
}
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if (Key.isDown(39)) {
ditekan = true;
if (kanan < sensitif) {
kanan++;
}
}
if (Key.isDown(37)) {
ditekan = true;
if (kiri < sensitif) {
kiri++;
}
}
if (Key.isDown(38)) {
ditekan = true;
if (atas < sensitif) {
atas++;
}
}
if (Key.isDown(40)) {
ditekan = true;
if (bawah < sensitif) {
bawah++;
}
}
if ((kanan >= sensitif) and (_currentframe < 5)) {
if ((_root.adamusuh and (_root.arena.musuh._currentframe != 13)) and (_currentframe < 16)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (3);
_x = (_x + jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (4);
_x = (_x + jalanlambat);
}
} else {
_xscale = skala;
gotoAndStop (2);
_x = (_x + jalancepat);
}
}
if ((kiri >= sensitif) and (_currentframe < 5)) {
if (_root.adamusuh and (_root.arena.musuh._currentframe != 13)) {
if (_x < _root.arena.musuh._x) {
_xscale = skala;
gotoAndStop (4);
_x = (_x - jalanlambat);
} else {
_xscale = (-skala);
gotoAndStop (3);
_x = (_x - jalanlambat);
}
} else {
_xscale = (-skala);
gotoAndStop (2);
_x = (_x - jalancepat);
}
}
if (Key.isDown(68)) {
ditekan = true;
atas = 0;
bawah = 0;
kiri = 0;
kanan = 0;
if (_currentframe < 5) {
gotoAndStop (5);
}
}
if ((Key.isDown(65) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if ((Key.isDown(83) and (_currentframe < 8)) and (stamina > 10)) {
if (_xscale > 0) {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (7);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
} else {
if ((((kanan < 2) and (kiri < 2)) and (atas < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (6);
}
if ((((atas >= 2) and (kanan < 2)) and (kiri < 2)) and (bawah < 2)) {
stamina = stamina - 10;
gotoAndStop (8);
}
if ((((bawah >= 2) and (kanan < 2)) and (kiri < 2)) and (atas < 2)) {
stamina = stamina - 10;
gotoAndStop (9);
}
if ((((bawah >= 2) and (atas >= 2)) and (kanan < 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (10);
}
if ((((bawah < 2) and (atas < 2)) and (kanan >= 1)) and (kiri >= 1)) {
stamina = stamina - 10;
gotoAndStop (11);
}
if ((((bawah >= 2) and (atas < 2)) and (kanan >= 2)) and (kiri >= 2)) {
stamina = stamina - 10;
gotoAndStop (12);
}
if ((((bawah < 2) and (atas >= 2)) and (kanan >= 2)) and (kiri < 2)) {
stamina = stamina - 10;
gotoAndStop (13);
}
}
}
if (!ditekan) {
if ((_currentframe >= 1) and (_currentframe <= 5)) {
if (kanan > 0) {
kanan--;
}
if (kiri > 0) {
kiri--;
}
if (atas > 0) {
atas--;
}
if (bawah > 0) {
bawah--;
}
gotoAndStop (1);
}
}
}
}
onClipEvent (keyUp) {
ditekan = false;
}
Instance of Symbol 352 MovieClip "bonus" in Symbol 1122 MovieClip Frame 1 (345 B)
onClipEvent (load) {
bonus = random(3);
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_x = (_parent.tio._x + 100);
}
if ((_currentframe == 15) and this.hitTest(_parent.tio)) {
_parent.tio.energi = _parent.tio.energi + 50;
if (_parent.tio.energi > 200) {
_parent.tio.energi = 200;
}
bonus = random(3);
play();
}
}
Instance of Symbol 481 MovieClip in Symbol 1122 MovieClip Frame 1 (75 B)
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_visible = false;
}
}
Instance of Symbol 481 MovieClip "panah" in Symbol 1122 MovieClip Frame 1 (123 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
_x = _parent.tio._x;
}
}
Instance of Symbol 136 MovieClip in Symbol 1122 MovieClip Frame 1 (173 B)
onClipEvent (enterFrame) {
if ((this.hitTest(_root.arena.tio) and (_root.arena.panah._visible == true)) and (_root.menang._currentframe == 1)) {
_root.menang.play();
}
}
Instance of Symbol 960 MovieClip in Symbol 1122 MovieClip Frame 1 (3.09 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 13;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 977 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 5;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 994 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 6;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1011 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 9;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1029 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 4;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1047 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 1;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1065 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 8;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1082 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 150;
energi = maxenergi;
nokepala = 2;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1099 MovieClip in Symbol 1122 MovieClip Frame 1 (3.08 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 140;
energi = maxenergi;
nokepala = 7;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 1116 MovieClip in Symbol 1122 MovieClip Frame 1 (3.09 KiB) ●
onClipEvent (load) {
jarak = 0;
skala = _xscale;
wd = 0;
maxenergi = 200;
energi = maxenergi;
nokepala = 16;
gotoAndStop (15);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if (_name == "musuh") {
_root.energimusuh = energi;
_root.mprop.kepalamusuh.gotoAndStop(nokepala);
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 75) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((((Math.abs(jarak) < 50) and (_currentframe == 1)) and (random(10) == 3)) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 60) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 75) {
gotoAndStop (1);
}
}
} else if (_name == "musuh2") {
jarak = _x - _root.arena.tio._x;
if (_currentframe != 13) {
if (jarak > 0) {
_xscale = skala;
} else {
_xscale = (-skala);
}
}
if ((Math.abs(jarak) > 250) and (_currentframe == 1)) {
gotoAndStop (2);
}
if ((Math.abs(jarak) < 150) and (_currentframe == 1)) {
gotoAndStop (3);
}
if (_currentframe == 2) {
if (_xscale > 0) {
_x = (_x - 2);
} else {
_x = (_x + 2);
}
if (Math.abs(jarak) < 250) {
gotoAndStop (1);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 150) {
gotoAndStop (1);
}
}
} else {
jarak = _x - _root.arena.tio._x;
if ((_currentframe == 15) and (jarak < 250)) {
if ((_parent.musuh.energi <= 0) or (_parent.musuh.energi == undefined)) {
this._name = "musuh";
_root.gantimusuh = true;
gotoAndStop (16);
} else if ((_parent.musuh2.energi <= 0) or (_parent.musuh2.energi == undefined)) {
this._name = "musuh2";
_root.gantimusuh = true;
gotoAndStop (16);
}
}
if (_currentframe == 3) {
if (_xscale > 0) {
_x = (_x + 2);
} else {
_x = (_x - 2);
}
if (Math.abs(jarak) > 175) {
gotoAndStop (1);
}
}
}
if (_currentframe == 4) {
wd++;
if (wd > 10) {
wd = 0;
gotoAndStop (1);
}
}
if (Math.abs(jarak) < 75) {
if ((((_currentframe < 4) and (_root.arena.tio._currentframe > 5)) and (_root.arena.tio._currentframe < 14)) and (random(3) == 2)) {
gotoAndStop (4);
}
if (((_currentframe == 1) and (random(6) == 2)) and (_root.arena.tio._currentframe < 17)) {
if (random(15) == 2) {
gotoAndStop (10);
} else if (random(20) > 15) {
gotoAndStop (9);
} else if (random(10) > 7) {
gotoAndStop (8);
} else if (random(10) == 7) {
gotoAndStop (7);
} else if (random(5) == 4) {
gotoAndStop (6);
} else {
gotoAndStop (5);
}
}
}
}
}
Instance of Symbol 652 MovieClip "cb2" in Symbol 1122 MovieClip Frame 1 (51 B)
onClipEvent (enterFrame) {
_x = _parent.tio._x;
}
Instance of Symbol 656 MovieClip "cb1" in Symbol 1122 MovieClip Frame 1 (53 B)
onClipEvent (enterFrame) {
_x = _parent.musuh._x;
}
Instance of Symbol 1118 MovieClip in Symbol 1122 MovieClip Frame 1 (115 B)
onClipEvent (enterFrame) {
if (_parent.tembok._visible == false) {
_alpha = 20;
} else {
_alpha = 100;
}
}
Instance of Symbol 1120 MovieClip "tembok" in Symbol 1122 MovieClip Frame 1 (120 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.arena.tio)) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 1121 MovieClip in Symbol 1122 MovieClip Frame 1 (112 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.arena.tio)) {
_alpha = 10;
} else {
_alpha = 100;
}
}
Symbol 1123 MovieClip Frame 20 (45 B)
if (random(20) == 2) {
gotoAndPlay (1);
}
Symbol 1123 MovieClip Frame 50 (75 B)
if (random(10) == 5) {
gotoAndPlay (2);
} else {
gotoAndPlay (30);
}
Symbol 1128 Button (227 B)
on (release, keyPress "<Space>") {
_root.nilai = _root.levelscore;
if (gamelevel == 1) {
gotoAndStop ("main");
}
if (gamelevel == 2) {
gotoAndStop ("main2");
}
if (gamelevel == 3) {
gotoAndStop ("main3");
}
}
Symbol 1129 MovieClip Frame 5 (8 B)
stop();