Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "mochibot";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("bf3296bf", this, 10301, true);
_fglv = new LoadVars();
_fglv.gid = 5;
_fglv.url = _root._url;
_fglv.sendAndLoad("http://www.freegamesforyourwebsite.com/stats.php", _fglv, "POST");
delete _fglv;
_root.debug = true;
_root.gameID = 25;
_root.gameName = "gangsterlife";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) >= 100) {
play();
delete this.onEnterFrame;
}
};
Instance of Symbol 128 MovieClip in Frame 1
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=5&area=loader", "_blank");
}
Frame 2
stop();
Frame 3
if (!okToPlay) {
gotoAndStop (3);
}
Frame 4
Frame 7
Frame 10
stop();
var gameID = 25;
dataku = SharedObject.getLocal("datagta");
namapemain = dataku.data.nama;
nama1 = namapemain[0];
if (nama1 == undefined) {
datanama = new Array("<empty>", "<empty>", "<empty>", "<empty>", "<empty>");
datapoint = new Array(0, 0, 0, 0, 0);
jumlahtotalpendudukditabrak = new Array(0, 0, 0, 0, 0);
dataenergi = new Array(100, 100, 100, 100, 100);
datacarenergi = new Array(500, 500, 500, 500, 500);
datamisi = new Array(0, 0, 0, 0, 0);
datapistol = new Array(0, 0, 0, 0, 0);
datapistolammo = new Array(0, 0, 0, 0, 0);
datamgun = new Array(0, 0, 0, 0, 0);
datamgunammo = new Array(0, 0, 0, 0, 0);
datakunci = new Array(0, 0, 0, 0, 0);
dataku = SharedObject.getLocal("datagta");
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
delete datanama;
delete datapoint;
delete jumlahtotalpendudukditabrak;
delete dataenergi;
delete datacarenergi;
delete datamisi;
delete datakunci;
}
stopAllSounds();
musik = new Sound();
musik.attachSound("punk");
musik.setVolume(50);
musik.start(0, 9999);
Instance of Symbol 1209 MovieClip in Frame 10
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=5&area=menu", "_blank");
}
Frame 15
stop();
Frame 22
gameno = 0;
dataku = SharedObject.getLocal("datagta");
namapemain = dataku.data.nama;
nama1 = namapemain[0];
nama2 = namapemain[1];
nama3 = namapemain[2];
nama4 = namapemain[3];
nama5 = namapemain[4];
hapus.onRelease = function () {
var _local1 = SharedObject.getLocal("datagta");
for (var _local2 in _local1.data) {
delete _local1.data[_local2];
}
_local1.flush();
};
Frame 27
gameno = 0;
dataku = SharedObject.getLocal("datagta");
namapemain = dataku.data.nama;
nama1 = namapemain[0];
nama2 = namapemain[1];
nama3 = namapemain[2];
nama4 = namapemain[3];
nama5 = namapemain[4];
Frame 32
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
datanama[gameno - 1] = nama;
datapoint[gameno - 1] = 0;
jumlahtotalpendudukditabrak[gameno - 1] = 0;
dataenergi[gameno - 1] = 100;
datacarenergi[gameno - 1] = 250;
datamisi[gameno - 1] = 0;
datapistol[gameno - 1] = 0;
datapistolammo[gameno - 1] = 0;
datamgun[gameno - 1] = 0;
datamgunammo[gameno - 1] = 0;
datakukunci[gameno - 1] = 0;
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
nama = datanama[gameno - 1];
score = datapoint[gameno - 1];
totalpendudukditabrak = jumlahtotalpendudukditabrak[gameno - 1];
energi = dataenergi[gameno - 1];
carenergi = datacarenergi[gameno - 1];
misi = datamisi[gameno - 1];
pistol = datapistol[gameno - 1];
pistolammo = datapistolammo[gameno - 1];
mgun = datamgun[gameno - 1];
mgunammo = datamgunammo[gameno - 1];
gamelocked = datakunci[gameno - 1];
gotoAndStop ("todaysetting");
delete datanama;
delete datapoint;
delete jumlahtotalpendudukditabrak;
delete dataenergi;
delete datacarenergi;
delete datamisi;
Frame 37
stop();
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
nama = datanama[gameno - 1];
score = datapoint[gameno - 1];
totalpendudukditabrak = jumlahtotalpendudukditabrak[gameno - 1];
energi = dataenergi[gameno - 1];
carenergi = datacarenergi[gameno - 1];
misi = datamisi[gameno - 1];
pistol = datapistol[gameno - 1];
pistolammo = datapistolammo[gameno - 1];
mgun = datamgun[gameno - 1];
mgunammo = datamgunammo[gameno - 1];
gamelocked = datakunci[gameno - 1];
peringkat = "";
if (score >= 0) {
peringkat = "JAIL BIRD";
}
if (score > 7500) {
peringkat = "Ex-Con";
}
if (score > 10000) {
peringkat = "FELON";
}
if (score > 15000) {
peringkat = "HUSTLER";
}
if (score > 20000) {
peringkat = "WISE-GUY";
}
if (score > 30000) {
peringkat = "GANGSTER";
}
if (score > 50000) {
peringkat = "GOD FATHER";
}
Frame 42
headline = "";
if (_root.misi == 0) {
headline = "Criminals brake out from jail";
}
if (_root.misi == 2) {
headline = "Gangsters made violations";
}
if (_root.misi == 3) {
headline = "Drug Gangster Arrested";
}
if (_root.misi == 4) {
headline = "Citty Bank robbed";
}
if (_root.misi == 5) {
headline = "Mayor killed on way home";
}
if (_root.misi == 6) {
headline = "24 man died at Gangsters war";
}
if (_root.misi == 7) {
headline = "Expert Syndicate on the road";
}
function updateScoreboard(sNum) {
var _local1 = this;
var _local2 = _root;
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
var _local1 = this;
var _local2 = _root;
if (success) {
_local2["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _local2["mcScoreboard" + 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++;
}
_local2["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_local2["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_local2["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_local2["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
var _local1 = this;
if ((_local1.desty < 0) && (_local1._parent.dir == "up")) {
_local1.desty = _local1.desty + 10;
if (_local1.desty > 0) {
_local1.desty = 0;
}
}
if ((_local1.desty > (_local1._parent.mcBlock._height - (_local1.mcScore._height * _local1.item))) && (_local1._parent.dir == "down")) {
_local1.desty = _local1.desty - 10;
if (_local1.desty < (_local1._parent.mcBlock._height - (_local1.mcScore._height * _local1.item))) {
_local1.desty = _local1._parent.mcBlock._height - (_local1.mcScore._height * _local1.item);
}
}
_local1.speedy = (_local1.desty - _local1._y) + (_local1.speedy * 0.4);
_local1._y = _local1._y + _local1.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _local2.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _local2.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _local2.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _local2.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
var gameID = 25;
Dsource = "www";
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
Instance of Symbol 1313 MovieClip in Frame 42
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/click.php?gid=5&area=gameover", "_blank");
}
Frame 47
pendudukditabrak = 0;
posisikarakter = 1;
dapatparsel = 0;
if (nama == "wandah") {
pistol = 1;
pistolammo = 50;
mgun = 1;
mgunammo = 100;
score = 1000;
}
Instance of Symbol 1342 MovieClip in Frame 47
onClipEvent (load) {
if ((_root.misi < 7) and (_root.gamelocked == 0)) {
_visible = 1;
} else {
_visible = 0;
}
}
Frame 70
removeMovieClip("tiles");
removeMovieClip("gedung");
removeMovieClip("frame");
removeMovieClip("mobil1");
removeMovieClip("mobil2");
removeMovieClip("mobil3");
removeMovieClip("mobil4");
removeMovieClip("mobil5");
removeMovieClip("orang1");
removeMovieClip("orang2");
removeMovieClip("orang3");
removeMovieClip("orang4");
removeMovieClip("orang5");
removeMovieClip("orang6");
removeMovieClip("obyek1");
removeMovieClip("obyek2");
removeMovieClip("obyek3");
removeMovieClip("obyek4");
removeMovieClip("obyek5");
removeMovieClip("obyek6");
removeMovieClip("obyek7");
removeMovieClip("obyek8");
removeMovieClip("polisi");
removeMovieClip("polisi1");
removeMovieClip("polisi2");
removeMovieClip("burung");
removeMovieClip("mobilmusuh");
removeMovieClip("kurs");
Mouse.show();
stopAllSounds();
gotoAndStop ("cover");
Frame 75
removeMovieClip("tiles");
removeMovieClip("gedung");
removeMovieClip("frame");
removeMovieClip("mobil1");
removeMovieClip("mobil2");
removeMovieClip("mobil3");
removeMovieClip("mobil4");
removeMovieClip("mobil5");
removeMovieClip("orang1");
removeMovieClip("orang2");
removeMovieClip("orang3");
removeMovieClip("orang4");
removeMovieClip("orang5");
removeMovieClip("orang6");
removeMovieClip("obyek1");
removeMovieClip("obyek2");
removeMovieClip("obyek3");
removeMovieClip("obyek4");
removeMovieClip("obyek5");
removeMovieClip("obyek6");
removeMovieClip("obyek7");
removeMovieClip("obyek8");
removeMovieClip("polisi");
removeMovieClip("polisi1");
removeMovieClip("polisi2");
removeMovieClip("burung");
removeMovieClip("mobilmusuh");
removeMovieClip("kurs");
Mouse.show();
stopAllSounds();
_root.energi = 100;
_root.carenergi = 250;
_root.score = _root.score - 500;
if (_root.score < 0) {
_root.score = 0;
}
_root.pistol = 0;
_root.pistolammo = 0;
_root.mgun = 0;
_root.mgunammo = 0;
_root.posisikarakter = 1;
gotoAndPlay ("startmission");
Frame 125
myMap1 = [[[1, "ru2"], [1, "ru2"], [1, "ru2"], [1, "ru2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "s18"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "s19"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "ru3"], [1, "ru3"], [1, "ru3"], [0, "ub1"], [1, "jp3"], [1, "jp3"], [0, "ub1"], [1, "g06"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [0, "s17"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "ru4"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "bk1"], [0, "s07"], [0, "ub1"], [0, "ub1"], [0, "s15"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "ru1"], [1, "g19"], [1, "jp1"], [1, "jp1"], [1, "g11"], [1, "jp1"], [1, "jp1"], [1, "jp1"], [1, "jp1"], [0, "pk1"], [1, "g04"], [1, "jp1"], [1, "jp1"], [1, "g21"], [1, "jp1"], [1, "jp1"], [1, "g06"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "jp4"], [0, "j21"], [0, "dr1"], [0, "jho"], [0, "j31"], [0, "jho"], [0, "jho"], [0, "j31"], [0, "jho"], [0, "jho"], [0, "jho"], [0, "jho"], [0, "jho"], [0, "j31"], [0, "jho"], [0, "dr2"], [0, "j22"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "jp4"], [0, "jve"], [1, "g14"], [0, "ub1"], [0, "jve"], [1, "g04"], [0, "ub1"], [0, "jve"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [0, "jve"], [1, "jp2"], [1, "g09"], [0, "jve"], [1, "g11"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "jp4"], [0, "jve"], [0, "pk4"], [1, "g14"], [0, "jve"], [0, "ub1"], [1, "g12"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ms3"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "jp2"], [1, "jp4"], [0, "jve"], [0, "s16"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "jp4"], [0, "jve"], [1, "g15"], [0, "ub1"], [0, "jve"], [1, "g04"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "jp2"], [1, "jp4"], [0, "jve"], [1, "g11"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "jp4"], [0, "jve"], [0, "ub1"], [1, "g15"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ftn"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "g09"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [0, "pk1"], [1, "g05"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "jp4"], [0, "jve"], [1, "ru2"], [1, "ru4"], [0, "j24"], [0, "jho"], [0, "jho"], [0, "j33"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [0, "ms4"], [1, "jp4"], [0, "jve"], [1, "g11"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "jp4"], [0, "jve"], [1, "ru3"], [1, "ru2"], [1, "ru1"], [0, "ub1"], [1, "g21"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [1, "jp1"], [1, "jp1"], [0, "jve"], [0, "pk3"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "s01"], [1, "ru4"], [1, "ru3"], [0, "s08"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "jp4"], [0, "j21"], [0, "jho"], [0, "j34"], [0, "j22"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "jp4"], [0, "jve"], [1, "g19"], [1, "ru2"], [0, "s14"], [1, "ru2"], [0, "ub1"], [0, "s06"], [1, "jp2"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "g11"], [0, "ub1"], [0, "jve"], [1, "g20"], [0, "jve"], [1, "jp2"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [1, "g21"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "jp4"], [0, "jve"], [0, "pk5"], [0, "sve"], [0, "jve"], [0, "ms1"], [0, "jve"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "jp4"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "j32"], [0, "jho"], [0, "j23"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "jp4"], [0, "jve"], [1, "g18"], [0, "pk2"], [1, "g18"], [0, "s09"], [1, "g13"], [0, "jve"], [1, "jp1"], [1, "jp1"], [1, "jp1"], [0, "jve"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "g11"], [0, "sh1"], [0, "sea"]], [[1, "ru3"], [1, "jp4"], [0, "j24"], [0, "jho"], [0, "jho"], [0, "j31"], [0, "jho"], [0, "jho"], [0, "j04"], [0, "jho"], [0, "jho"], [0, "jho"], [0, "j33"], [1, "g09"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "ru1"], [1, "g16"], [0, "m10"], [1, "g03"], [0, "jve"], [1, "jp3"], [1, "jp3"], [0, "jve"], [0, "ub1"], [1, "jp3"], [1, "jp3"], [0, "jve"], [0, "pk4"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "g09"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "ru4"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "jve"], [1, "g02"], [0, "ub1"], [0, "jve"], [1, "g06"], [0, "s20"], [1, "jp4"], [0, "jve"], [1, "g19"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru4"], [1, "ru1"], [1, "g06"], [0, "ben"], [0, "ub1"], [0, "jve"], [0, "pk5"], [0, "ub1"], [0, "jve"], [1, "jp2"], [1, "g16"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "ub1"], [0, "jve"], [1, "jp2"], [0, "s05"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "ru2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "jve"], [0, "ub1"], [1, "g06"], [0, "jve"], [1, "jp2"], [0, "ub1"], [1, "jp4"], [0, "jve"], [0, "ms2"], [1, "g08"], [0, "jve"], [1, "jp2"], [1, "g17"], [0, "ub1"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "ru1"], [0, "ub1"], [0, "s02"], [0, "ub1"], [0, "jve"], [0, "pk4"], [0, "ub1"], [0, "jve"], [0, "pk5"], [1, "g21"], [0, "ub1"], [0, "j32"], [0, "jho"], [0, "jho"], [0, "j04"], [0, "jho"], [0, "jho"], [0, "j22"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "ru1"], [1, "g04"], [0, "pk3"], [1, "g07"], [0, "jve"], [1, "g04"], [0, "ub1"], [0, "jve"], [0, "ub1"], [0, "ub1"], [1, "g16"], [0, "jve"], [1, "jp3"], [0, "m11"], [0, "jve"], [0, "s11"], [1, "ru3"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "ru1"], [0, "j21"], [0, "jho"], [0, "jho"], [0, "j33"], [0, "ub1"], [1, "g01"], [0, "jve"], [1, "jp2"], [0, "s10"], [1, "jp4"], [0, "jve"], [0, "m12"], [0, "m13"], [0, "jve"], [1, "ru2"], [1, "ru4"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [0, "ub1"], [0, "jve"], [1, "g16"], [0, "ms5"], [0, "jve"], [1, "jp2"], [0, "hac"], [0, "jve"], [1, "jp2"], [1, "g09"], [1, "jp4"], [0, "jve"], [1, "jp1"], [1, "jp1"], [0, "jve"], [1, "ru4"], [1, "ru1"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "g19"], [0, "jve"], [0, "pk5"], [1, "jp4"], [0, "jve"], [0, "ub1"], [1, "g21"], [0, "jve"], [1, "g10"], [0, "pk1"], [1, "g10"], [0, "jve"], [1, "g15"], [1, "jp1"], [0, "jve"], [1, "ru1"], [1, "ru2"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [0, "ub1"], [0, "jve"], [0, "s13"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "j21"], [0, "j34"], [0, "jho"], [0, "ms7"], [0, "jho"], [0, "j33"], [1, "g15"], [0, "ub1"], [0, "jve"], [1, "ru2"], [1, "ru1"], [0, "s04"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "g19"], [0, "jve"], [0, "ub1"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "jve"], [1, "g04"], [0, "s12"], [1, "g04"], [0, "ub1"], [0, "jve"], [1, "ru1"], [1, "ru3"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "pr2"], [0, "ub1"], [0, "jve"], [1, "g02"], [1, "jp4"], [0, "jve"], [1, "jp2"], [0, "jve"], [1, "ru2"], [1, "ru4"], [1, "ru4"], [1, "ru4"], [0, "jve"], [1, "ru2"], [1, "ru4"], [0, "jve"], [0, "pk4"], [1, "g11"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[0, "ub1"], [0, "ub1"], [0, "jve"], [0, "ms0"], [1, "g21"], [0, "jve"], [1, "g17"], [0, "jve"], [1, "ru3"], [1, "ru2"], [1, "ru2"], [1, "ru2"], [0, "jve"], [1, "ru4"], [1, "ru1"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "pr2"], [0, "ub1"], [0, "j24"], [0, "jho"], [0, "jho"], [0, "j34"], [0, "jho"], [0, "j23"], [1, "ru2"], [0, "s03"], [1, "ru4"], [1, "ru4"], [0, "jve"], [1, "ru1"], [1, "ru2"], [0, "jve"], [0, "ub1"], [0, "ub1"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "ru3"], [1, "ru1"], [1, "ru1"], [1, "ru2"], [0, "jve"], [1, "ru2"], [1, "ru1"], [0, "jve"], [0, "pk4"], [1, "g11"], [0, "jve"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "ru2"], [1, "ru2"], [1, "ru3"], [1, "ru2"], [1, "ru1"], [1, "ru2"], [1, "ru3"], [1, "ru2"], [1, "ru1"], [1, "g06"], [1, "ru3"], [0, "j24"], [0, "jho"], [0, "jho"], [0, "j34"], [0, "jho"], [0, "jho"], [0, "j23"], [0, "sh1"], [0, "sea"]], [[1, "ru2"], [1, "ru2"], [1, "ru4"], [1, "ru2"], [1, "ru2"], [1, "ru2"], [1, "ru1"], [1, "ru2"], [1, "ru2"], [1, "ru3"], [0, "ms9"], [1, "ru1"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [1, "jp3"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru2"], [1, "ru4"], [1, "ru2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ms6"], [0, "ms8"], [0, "sh1"], [0, "sea"]], [[1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru1"], [1, "ru2"], [1, "ru4"], [1, "ru2"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "ub1"], [0, "sh1"], [0, "sea"]]];
function kejar(ob, speed, xa, ya) {
var _local1 = ob;
dx = xa - _local1._x;
dy = ya - _local1._y;
radians = Math.atan(dy / dx);
if (dx < 0) {
_local1._rotation = 180 + ((radians * 180) / 3.141593);
} else {
_local1._rotation = (radians * 180) / 3.141593;
}
if ((dx < -2) or (dx > 2)) {
_local1._x = _local1._x + (speed * Math.cos((_local1._rotation * Math.PI) / 180));
}
if ((dy < -2) or (dy > 2)) {
_local1._y = _local1._y + (speed * Math.sin((_local1._rotation * Math.PI) / 180));
}
}
function ceknyawa() {
var _local1 = _root;
if (naikmobil == 1) {
if ((carenergi <= 0) and (_local1.char.clip._currentframe == 1)) {
carenergi = 0;
mati = 1;
aktif = 0;
_local1.char.clip.gotoAndPlay(2);
_local1.attachMovie("gameover", "gameover", 40001, {_x:260, _y:200});
}
} else if (naikmobil == 0) {
if ((energi <= 0) and (_local1.char.clip._currentframe == 1)) {
energi = 0;
mati = 1;
aktif = 0;
_local1.char.clip.body.badan.gotoAndPlay(10);
_local1.attachMovie("gameover", "gameover", 40001, {_x:260, _y:200});
}
}
}
function tulis(s, v) {
teks2 = "";
teks = new String(s);
panjang = teks.length;
waktuteks = 0;
i = 1;
_root.onEnterFrame = function () {
waktuteks++;
if ((waktuteks > v) and (i < (panjang + 1))) {
waktuteks = 0;
teks2 = teks.slice(0, i);
i++;
}
if (Key.isDown(32)) {
teks2 = teks;
i = panjang + 1;
}
};
}
function buildMap(map) {
_root.attachMovie("empty", "tiles", 1);
_root.attachMovie("empty", "gedung", 1000);
game.halfvisx = int(game.visx / 2);
game.halfvisy = int(game.visy / 2);
game.clip = _root.tiles;
gameg.clip = _root.gedung;
game.mapwidth = map[0].length;
game.mapheight = map.length;
if (game.halfvisx > char.xtile) {
var fixx = (char.xtile - game.halfvisx);
} else if (char.xtile > (game.mapwidth - game.halfvisx)) {
var fixx = (game.mapwidth - char.xtile);
}
if (game.halfvisy > char.ytile) {
var fixy = (char.ytile - game.halfvisy);
} else if (char.ytile > ((game.mapheight - game.halfvisy) - 1)) {
var fixy = ((game.mapheight - char.ytile) - 1);
}
game.clip._x = (game.centerx - ((char.xtile - fixx) * game.tileW)) - (game.tileW / 2);
game.clip._y = (game.centery - ((char.ytile - fixy) * game.tileH)) - (game.tileH / 2);
gameg.clip._x = (game.centerx - ((char.xtile - fixx) * game.tileW)) - (game.tileW / 2);
gameg.clip._y = (game.centery - ((char.ytile - fixy) * game.tileH)) - (game.tileH / 2);
var _local2 = (char.ytile - game.halfvisy) - fixy;
while (_local2 <= (((char.ytile + game.halfvisy) + 1) - fixy)) {
var _local1 = (char.xtile - game.halfvisx) - fixx;
while (_local1 <= (((char.xtile + game.halfvisx) + 1) - fixx)) {
var _local3 = (("t_" + _local2) + "_") + _local1;
var name2 = ((("g_" + _local2) + "_") + _local1);
if ((((_local2 >= 0) and (_local1 >= 0)) and (_local2 <= (map.length - 1))) and (_local1 <= (map[0].length - 1))) {
game[_local3] = new game["Tile" + map[_local2][_local1][0]]();
gameg[name2] = new game["Tile" + map[_local2][_local1][0]]();
} else {
game[_local3] = new game.Tile4();
}
game.clip.attachMovie("tile", _local3, (1 + (_local2 * 100)) + (_local1 * 2));
gameg.clip.attachMovie("tilegedung", name2, 2000 + ((1 + (_local2 * 100)) + (_local1 * 2)));
game.clip[_local3]._x = _local1 * game.tileW;
game.clip[_local3]._y = _local2 * game.tileH;
gameg.clip[name2]._x = _local1 * game.tileW;
gameg.clip[name2]._y = _local2 * game.tileH;
game.clip[_local3].gotoAndStop(game[_local3].frame);
game.clip[_local3].gambar.gotoAndStop(map[_local2][_local1][1]);
gameg.clip[name2].gotoAndStop(gameg[name2].frame);
gameg.clip[name2].gotoAndStop(map[_local2][_local1][1]);
_local1++;
}
_local2++;
}
_root.attachMovie("frame", "frame", 20000);
gameg.clip.attachMovie("char", "char", 10);
char.clip = gameg.clip.char;
char.x = (char.xtile * game.tileW) + (game.tileW / 2);
char.y = (char.ytile * game.tileW) + (game.tileW / 2);
char.width = char.clip._width / 2;
char.height = char.clip._height / 2;
char.clip._x = char.x;
char.clip._y = char.y;
if (naikmobil == 1) {
char.clip.body.gotoAndStop(1);
} else {
char.clip.body.gotoAndStop(15);
}
char.xstep = char.x;
char.ystep = char.y;
xlama = char.clip._x;
ylama = char.clip._y;
}
function changeTile(xold, yold, xnew, ynew, map) {
var _local2 = xnew;
var _local3 = ynew;
var nameold = ((("t_" + yold) + "_") + xold);
var _local1 = (("t_" + _local3) + "_") + _local2;
var namegold = ((("g_" + yold) + "_") + xold);
var namegnew = ((("g_" + _local3) + "_") + _local2);
if ((((_local3 >= 0) and (_local2 >= 0)) and (_local3 <= (map.length - 1))) and (_local2 <= (map[0].length - 1))) {
game[_local1] = new game["Tile" + map[_local3][_local2][0]]();
game.clip[nameold]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frame);
game.clip[_local1].gambar.gotoAndStop(map[_local3][_local2][1]);
game.clip[_local1]._x = _local2 * game.tileW;
game.clip[_local1]._y = _local3 * game.tileH;
gameg[namegnew] = new game["Tile" + map[_local3][_local2][0]]();
gameg.clip[namegold]._name = namegnew;
gameg.clip[namegnew].gotoAndStop(gameg[namegnew].frame);
gameg.clip[namegnew].gotoAndStop(map[_local3][_local2][1]);
gameg.clip[namegnew]._x = _local2 * game.tileW;
gameg.clip[namegnew]._y = _local3 * game.tileH;
} else {
game[_local1] = new game.Tile4();
game.clip[nameold]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frame);
}
}
function changeMap(ob) {
var _local1 = ob;
var _local2 = (("t_" + _local1.ytile) + "_") + _local1.xtile;
game.currentMap = game[_local2].newMap;
_local1.ytile = game[_local2].newchary;
_local1.xtile = game[_local2].newcharx;
_local1.frame = _local1.clip._currentframe;
buildMap(_root["myMap" + game.currentMap]);
}
function getMyCorners(x, y, ob) {
var _local1 = ob;
_local1.downY = Math.floor(((y + _local1.height) - 2) / game.tileH);
_local1.upY = Math.floor(((y - _local1.height) - 2) / game.tileH);
_local1.leftX = Math.floor(((x - _local1.width) + 2) / game.tileW);
_local1.rightX = Math.floor(((x + _local1.width) - 2) / game.tileW);
_local1.upleft = game[(("t_" + _local1.upY) + "_") + _local1.leftX].walkable;
_local1.downleft = game[(("t_" + _local1.downY) + "_") + _local1.leftX].walkable;
_local1.upright = game[(("t_" + _local1.upY) + "_") + _local1.rightX].walkable;
_local1.downright = game[(("t_" + _local1.downY) + "_") + _local1.rightX].walkable;
}
function moveChar(ob, dirx, diry) {
var _local1 = ob;
var _local2 = _root;
getMyCorners(_local1.x, _local1.y + diry, _local1);
if (diry < 0) {
if (_local1.upleft and _local1.upright) {
_local1.y = _local1.y + diry;
} else {
_local2.suaranyenggol.start(0, 1);
_local1.speed = _local1.speed * 0.95;
if (_local1.clip._rotation > -90) {
_local1.clip._rotation = _local1.clip._rotation + 5;
} else {
_local1.clip._rotation = _local1.clip._rotation - 5;
}
}
}
if (diry > 0) {
if (_local1.downleft and _local1.downright) {
_local1.y = _local1.y + diry;
} else {
_local2.suaranyenggol.start(0, 1);
_local1.speed = _local1.speed * 0.95;
if (_local1.clip._rotation > 90) {
_local1.clip._rotation = _local1.clip._rotation + 5;
} else {
_local1.clip._rotation = _local1.clip._rotation - 5;
}
}
}
getMyCorners(_local1.x + dirx, _local1.y, _local1);
if (dirx < -0.1) {
if (_local1.downleft and _local1.upleft) {
_local1.x = _local1.x + dirx;
} else {
_local2.suaranyenggol.start(0, 1);
_local1.speed = _local1.speed * 0.95;
if ((_local1.clip._rotation < 180) and (_local1.clip._rotation > 0)) {
_local1.clip._rotation = _local1.clip._rotation - 5;
} else {
_local1.clip._rotation = _local1.clip._rotation + 5;
}
}
}
if (dirx > 0) {
if (_local1.upright and _local1.downright) {
_local1.x = _local1.x + dirx;
} else {
_local2.suaranyenggol.start(0, 1);
_local1.speed = _local1.speed * 0.95;
if (_local1.clip._rotation > 0) {
_local1.clip._rotation = _local1.clip._rotation + 5;
} else {
_local1.clip._rotation = _local1.clip._rotation - 5;
}
}
}
_local1.clip._x = _local1.x;
_local1.clip._y = _local1.y;
_local1.xtile = Math.floor(_local1.x / game.tileW);
_local1.ytile = Math.floor(_local1.y / game.tileH);
if (game[(("t_" + _local1.ytile) + "_") + _local1.xtile].door and (_local1 == _local2.char)) {
changeMap(_local1);
}
if (_local1.x > ((game.halfvisx * game.tileW) + (game.tileW / 2))) {
if (_local1.x < (((game.mapwidth - game.halfvisx) * game.tileW) - (game.tileW / 2))) {
game.clip._x = game.centerx - _local1.x;
gameg.clip._x = game.centerx - _local1.x;
if (_local1.xstep < (_local1.x - game.tileW)) {
var xtile = (Math.floor(_local1.xstep / game.tileW) + 1);
var xnew = ((xtile + game.halfvisx) + 1);
var xold = ((xtile - game.halfvisx) - 1);
var fixy = Math.round(((game.centery - _local1.y) - game.clip._y) / game.tileH);
var _local3 = ((_local1.ytile - game.halfvisy) - 1) + fixy;
while (_local3 <= (((_local1.ytile + game.halfvisy) + 1) + fixy)) {
changeTile(xold, _local3, xnew, _local3, _local2["myMap" + game.currentMap]);
_local3++;
}
_local1.xstep = _local1.xstep + game.tileW;
} else if (_local1.xstep > _local1.x) {
var xtile = Math.floor(_local1.xstep / game.tileW);
var xold = ((xtile + game.halfvisx) + 1);
var xnew = ((xtile - game.halfvisx) - 1);
var fixy = Math.round(((game.centery - _local1.y) - game.clip._y) / game.tileH);
var _local3 = ((_local1.ytile - game.halfvisy) - 1) + fixy;
while (_local3 <= (((_local1.ytile + game.halfvisy) + 1) + fixy)) {
changeTile(xold, _local3, xnew, _local3, _local2["myMap" + game.currentMap]);
_local3++;
}
_local1.xstep = _local1.xstep - game.tileW;
}
geserx = true;
} else {
geserx = false;
}
} else {
geserx = false;
}
if (_local1.y > ((game.halfvisy * game.tileH) + (game.tileH / 2))) {
if (_local1.y < (((game.mapheight - game.halfvisy) * game.tileH) - (game.tileH / 2))) {
game.clip._y = game.centery - _local1.y;
gameg.clip._y = game.centery - _local1.y;
if (_local1.ystep < (_local1.y - game.tileH)) {
var ytile = (Math.floor(_local1.ystep / game.tileH) + 1);
var ynew = ((ytile + game.halfvisy) + 1);
var yold = ((ytile - game.halfvisy) - 1);
var fixx = Math.round(((game.centerx - _local1.x) - game.clip._x) / game.tileW);
var _local3 = ((_local1.xtile - game.halfvisx) - 1) + fixx;
while (_local3 <= (((_local1.xtile + game.halfvisx) + 1) + fixx)) {
changeTile(_local3, yold, _local3, ynew, _local2["myMap" + game.currentMap]);
_local3++;
}
_local1.ystep = _local1.ystep + game.tileH;
} else if (_local1.ystep > _local1.y) {
var ytile = Math.floor(_local1.ystep / game.tileH);
var yold = ((ytile + game.halfvisy) + 1);
var ynew = ((ytile - game.halfvisy) - 1);
var fixx = Math.round(((game.centerx - _local1.x) - game.clip._x) / game.tileW);
var _local3 = ((_local1.xtile - game.halfvisx) - 1) + fixx;
while (_local3 <= (((_local1.xtile + game.halfvisx) + 1) + fixx)) {
changeTile(_local3, yold, _local3, ynew, _local2["myMap" + game.currentMap]);
_local3++;
}
_local1.ystep = _local1.ystep - game.tileH;
}
gesery = true;
} else {
gesery = false;
}
} else {
gesery = false;
}
if (geserx) {
_local2.orang1._x = _local2.orang1._x - _local1.speedx;
_local2.orang2._x = _local2.orang2._x - _local1.speedx;
_local2.orang3._x = _local2.orang3._x - _local1.speedx;
_local2.orang4._x = _local2.orang4._x - _local1.speedx;
_local2.orang5._x = _local2.orang5._x - _local1.speedx;
if (_local2.mobil1.keluar >= 1) {
_local2.mobil1._x = _local2.mobil1._x - _local1.speedx;
}
if (_local2.mobil2.keluar >= 1) {
_local2.mobil2._x = _local2.mobil2._x - _local1.speedx;
}
if (_local2.mobil3.keluar >= 1) {
_local2.mobil3._x = _local2.mobil3._x - _local1.speedx;
}
if (_local2.mobil4.keluar >= 1) {
_local2.mobil4._x = _local2.mobil4._x - _local1.speedx;
}
if (_local2.mobil5.keluar >= 1) {
_local2.mobil5._x = _local2.mobil5._x - _local1.speedx;
}
if (_local2.mobilmusuh._visible == 1) {
_local2.mobilmusuh._x = _local2.mobilmusuh._x - _local1.speedx;
}
if (_local2.burung.keluar == 1) {
_local2.burung._x = _local2.burung._x - _local1.speedx;
}
if (_local2.polisi.keluar >= 1) {
_local2.polisi._x = _local2.polisi._x - _local1.speedx;
}
if (_local2.polisi1.keluar >= 1) {
_local2.polisi1._x = _local2.polisi1._x - _local1.speedx;
}
if (_local2.polisi2.keluar >= 1) {
_local2.polisi2._x = _local2.polisi2._x - _local1.speedx;
}
if (_local2.obyek1._visible == 1) {
_local2.obyek1._x = _local2.obyek1._x - _local1.speedx;
}
if (_local2.obyek2._visible == 1) {
_local2.obyek2._x = _local2.obyek2._x - _local1.speedx;
}
if (_local2.obyek3._visible == 1) {
_local2.obyek3._x = _local2.obyek3._x - _local1.speedx;
}
if (_local2.obyek4._visible == 1) {
_local2.obyek4._x = _local2.obyek4._x - _local1.speedx;
}
if (_local2.obyek5._visible == 1) {
_local2.obyek5._x = _local2.obyek5._x - _local1.speedx;
}
if (_local2.obyek6._visible == 1) {
_local2.obyek6._x = _local2.obyek6._x - _local1.speedx;
}
if (_local2.obyek7._visible == 1) {
_local2.obyek7._x = _local2.obyek7._x - _local1.speedx;
}
if (_local2.obyek8._visible == 1) {
_local2.obyek8._x = _local2.obyek8._x - _local1.speedx;
}
if (_local2.hummer._visible == 1) {
_local2.hummer._x = _local2.hummer._x - _local1.speedx;
}
}
if (gesery) {
_local2.orang1._y = _local2.orang1._y - _local1.speedy;
_local2.orang2._y = _local2.orang2._y - _local1.speedy;
_local2.orang3._y = _local2.orang3._y - _local1.speedy;
_local2.orang4._y = _local2.orang4._y - _local1.speedy;
_local2.orang5._y = _local2.orang5._y - _local1.speedy;
if (_local2.mobil1.keluar >= 1) {
_local2.mobil1._y = _local2.mobil1._y - _local1.speedy;
}
if (_local2.mobil2.keluar >= 1) {
_local2.mobil2._y = _local2.mobil2._y - _local1.speedy;
}
if (_local2.mobil3.keluar >= 1) {
_local2.mobil3._y = _local2.mobil3._y - _local1.speedy;
}
if (_local2.mobil4.keluar >= 1) {
_local2.mobil4._y = _local2.mobil4._y - _local1.speedy;
}
if (_local2.mobil5.keluar >= 1) {
_local2.mobil5._y = _local2.mobil5._y - _local1.speedy;
}
if (_local2.mobilmusuh._visible == 1) {
_local2.mobilmusuh._y = _local2.mobilmusuh._y - _local1.speedy;
}
if (_local2.burung.keluar == 1) {
_local2.burung._y = _local2.burung._y - _local1.speedy;
}
if (_local2.polisi.keluar >= 1) {
_local2.polisi._y = _local2.polisi._y - _local1.speedy;
}
if (_local2.polisi1.keluar >= 1) {
_local2.polisi1._y = _local2.polisi1._y - _local1.speedy;
}
if (_local2.polisi2.keluar >= 1) {
_local2.polisi2._y = _local2.polisi2._y - _local1.speedy;
}
if (_local2.obyek1._visible == 1) {
_local2.obyek1._y = _local2.obyek1._y - _local1.speedy;
}
if (_local2.obyek2._visible == 1) {
_local2.obyek2._y = _local2.obyek2._y - _local1.speedy;
}
if (_local2.obyek3._visible == 1) {
_local2.obyek3._y = _local2.obyek3._y - _local1.speedy;
}
if (_local2.obyek4._visible == 1) {
_local2.obyek4._y = _local2.obyek4._y - _local1.speedy;
}
if (_local2.obyek5._visible == 1) {
_local2.obyek5._y = _local2.obyek5._y - _local1.speedy;
}
if (_local2.obyek6._visible == 1) {
_local2.obyek6._y = _local2.obyek6._y - _local1.speedy;
}
if (_local2.obyek7._visible == 1) {
_local2.obyek7._y = _local2.obyek7._y - _local1.speedy;
}
if (_local2.obyek8._visible == 1) {
_local2.obyek8._y = _local2.obyek8._y - _local1.speedy;
}
if (_local2.hummer._visible == 1) {
_local2.hummer._y = _local2.hummer._y - _local1.speedy;
}
}
return(true);
}
function gerak() {
var _local2 = _root;
var _local1 = _local2.char;
var _local3 = false;
if (keyboard == 0) {
if (((Key.isDown(37) or Key.isDown(39)) or Key.isDown(68)) or Key.isDown(65)) {
if (Key.isDown(39) or Key.isDown(68)) {
if (steering < maxsteering) {
steering++;
}
if (_local1.speed > 1) {
_local1.clip._rotation = _local1.clip._rotation + steering;
miring++;
if (miring > 5) {
_local1.clip.body.gotoAndStop(6);
} else if (miring > 10) {
_local1.clip.body.gotoAndStop(7);
}
}
if (_local1.speed < -1) {
_local1.clip._rotation = _local1.clip._rotation - steering;
miring++;
if (miring > 5) {
_local1.clip.body.gotoAndStop(6);
} else if (miring > 10) {
_local1.clip.body.gotoAndStop(7);
}
}
} else if (Key.isDown(37) or Key.isDown(65)) {
if (steering < maxsteering) {
steering++;
}
if (_local1.speed > 1) {
_local1.clip._rotation = _local1.clip._rotation - steering;
miring++;
if (miring > 5) {
_local1.clip.body.gotoAndStop(2);
} else if (miring > 10) {
_local1.clip.body.gotoAndStop(3);
}
}
if (_local1.speed < -1) {
_local1.clip._rotation = _local1.clip._rotation + steering;
miring++;
if (miring > 5) {
_local1.clip.body.gotoAndStop(2);
} else if (miring > 10) {
_local1.clip.body.gotoAndStop(3);
}
}
}
} else {
miring = 0;
steering = 0;
if ((_local1.clip.body._currentframe != 1) and (_local1.clip.body._currentframe < 4)) {
_local1.clip.body.gotoAndPlay(4);
} else if ((_local1.clip.body._currentframe != 1) and (_local1.clip.body._currentframe > 5)) {
_local1.clip.body.gotoAndPlay(8);
}
}
if (Key.isDown(38) or Key.isDown(87)) {
if (_local1.speed < _local2.kecepatan) {
_local1.speed = _local1.speed + gas;
}
} else if (Key.isDown(40) or Key.isDown(83)) {
if (_local1.speed > -6) {
_local1.speed = _local1.speed - gas;
}
} else {
_local1.speed = _local1.speed * 0.95;
}
}
_local1.speedx = _local1.speed * Math.cos((_local1.clip._rotation * Math.PI) / 180);
_local1.speedy = _local1.speed * Math.sin((_local1.clip._rotation * Math.PI) / 180);
_local3 = _local2.moveChar(_local1, _local1.speedx, _local1.speedy);
px = _local2.char.xtile;
py = _local2.char.ytile;
}
function gerakdenganmouse() {
var _local2 = _root;
var _local1 = _local2.char;
var _local3 = false;
if (keyboard == 0) {
if (Key.isDown(39) or Key.isDown(68)) {
_local1.clip._rotation = _local1.clip._rotation + 5;
} else if (Key.isDown(37) or Key.isDown(65)) {
_local1.clip._rotation = _local1.clip._rotation - 5;
}
if (Key.isDown(38) or Key.isDown(87)) {
if (_local1.speed < 5) {
_local1.speed = _local1.speed + 0.3;
if (_local1.clip.body.badan._currentframe != 2) {
_local1.clip.body.badan.gotoAndStop(2);
}
}
} else if (Key.isDown(40) or Key.isDown(83)) {
if (_local1.speed > -5) {
_local1.speed = _local1.speed - 0.3;
if (_local1.clip.body.badan._currentframe != 2) {
_local1.clip.body.badan.gotoAndStop(2);
}
}
} else {
_local1.speed = 0;
if (_local1.clip.body.badan._currentframe < 6) {
_local1.clip.body.badan.gotoAndStop(1);
}
}
}
if (posisikarakter > 1) {
dx = _local2._xmouse - game.centerx;
dy = _local2._ymouse - game.centery;
radians = Math.atan(dy / dx);
if (dx < 0) {
_local1.clip._rotation = 180 + ((radians * 180) / 3.141593);
} else {
_local1.clip._rotation = (radians * 180) / 3.141593;
}
}
_local1.speedx = _local1.speed * Math.cos((_local1.clip._rotation * Math.PI) / 180);
_local1.speedy = _local1.speed * Math.sin((_local1.clip._rotation * Math.PI) / 180);
_local3 = _local2.moveChar(_local1, _local1.speedx, _local1.speedy);
px = _local2.char.xtile;
py = _local2.char.ytile;
}
fscommand ("allowscale", false);
fscommand ("allowscale", false);
fscommand ("fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
stop();
game = {tileW:175, tileH:175, currentMap:1, visx:3, visy:3, centerx:260, centery:200};
gameg = {};
game.Tile0 = function () {
};
game.Tile0.prototype.walkable = true;
game.Tile0.prototype.frame = 1;
game.Tile1 = function () {
};
game.Tile1.prototype.walkable = true;
game.Tile1.prototype.frame = 2;
gameg.Tile0 = function () {
};
gameg.Tile0.prototype.walkable = true;
gameg.Tile0.prototype.frame = 1;
gameg.Tile1 = function () {
};
gameg.Tile1.prototype.walkable = true;
gameg.Tile1.prototype.frame = 2;
game.Doors = function (newmap, newcharx, newchary) {
var _local1 = this;
_local1.newmap = newmap;
_local1.newcharx = newcharx;
_local1.newchary = newchary;
};
game.Doors.prototype.walkable = true;
game.Doors.prototype.frame = 3;
game.Doors.prototype.door = true;
game.Tile2 = function () {
};
game.Tile2.prototype = new game.Doors(2, 1, 4);
game.Tile3 = function () {
};
game.Tile3.prototype = new game.Doors(1, 12, 10);
game.Tile4 = function () {
};
game.Tile4.prototype.walkable = false;
game.Tile4.prototype.frame = 20;
lebar = map[0].length;
tinggi = map.length;
stop();
aktif = 1;
xspeed = 0;
yspeed = 0;
speeds = 0;
kecepatan = 9;
gas = 0.25;
barutabrakan = 0;
keyboard = 0;
steering = 0;
maxsteering = 5;
alphabuilding = true;
pendudukditabrak = 0;
nitro = 0;
keterangan = "";
dapatbonus = 0;
dragrace = 0;
dragdriver = 0;
jumlahdrug = 0;
waktumisi = 0;
stopAllSounds();
teks2 = "";
if (misi == 0) {
aktif = 0;
char = {xtile:1, ytile:30, speed:0};
tujuanx = 3;
tujuany = 30;
mati = 0;
naikmobil = 0;
attachMovie("intro", "intro", 40000, {_x:260, _y:200});
}
if (misi == 2) {
aktif = 0;
char = {xtile:16, ytile:14, speed:0};
tujuanx = 13;
tujuany = 21;
mati = 0;
energimisi2 = 100;
naikmobil = 1;
attachMovie("skenario2", "intro", 40000, {_x:260, _y:200});
}
if (misi == 3) {
aktif = 0;
char = {xtile:13, ytile:21, speed:0};
mati = 0;
naikmobil = 1;
waktumisi3 = 9;
dapatparsel = 0;
attachMovie("skenario3", "intro", 40000, {_x:260, _y:200});
}
if (misi == 4) {
aktif = 1;
char = {xtile:14, ytile:14, speed:0};
mati = 0;
naikmobil = 1;
waktumisi4 = 600;
}
if (misi == 5) {
aktif = 1;
char = {xtile:14, ytile:14, speed:0};
mati = 0;
naikmobil = 1;
waktumisi5 = 600;
}
if (misi == 55) {
aktif = 1;
char = {xtile:10, ytile:34, speed:0};
mati = 0;
naikmobil = 1;
pistol = 1;
pistolammo = 50;
mgun = 1;
mgunammo = 250;
posisikarakter = 3;
}
gangsterkilled = 0;
if (misi == 6) {
aktif = 1;
char = {xtile:16, ytile:14, speed:0};
mati = 0;
naikmobil = 1;
attachMovie("skenario6", "intro", 40000, {_x:260, _y:200});
}
if (misi == 700) {
aktif = 1;
char = {xtile:14, ytile:14, speed:0};
mati = 0;
naikmobil = 1;
jumlahdrug = 0;
misibebas = 0;
namamisi = "";
}
bobammo = 1;
buildMap(_root["myMap" + game.currentMap]);
suara = new Sound();
suara.attachSound("bgsound1");
suara.setVolume(100);
suara.start(0, 9999999);
Instance of Symbol 442 MovieClip [empty] "controller" in Frame 125
onClipEvent (load) {
wlz = 0;
wkb = 0;
pakainitro = 0;
nitrotime = 0;
wbon = 0;
}
onClipEvent (enterFrame) {
if ((_root.aktif == 1) and (_root.mati == 0)) {
if ((_root.carenergi <= 0) and (_root.mati == 0)) {
_root.carenergi = 0;
_root.mati = 1;
_root.aktif = 0;
_root.char.clip.gotoAndPlay(2);
}
if ((_root.energi <= 0) and (_root.mati == 0)) {
_root.energi = 0;
_root.mati = 1;
_root.aktif = 0;
_root.char.clip.body.badan.gotoAndPlay(10);
}
_root.waktumisi++;
if ((_root.char.speed > (-_root.gas)) and (_root.char.speed < _root.gas)) {
_root.char.speed = 0;
}
if (_root.barutabrakan == 1) {
wlz++;
if (wlz > 30) {
wlz = 0;
_root.barutabrakan = 0;
}
}
if (_root.keyboard == 1) {
wkb++;
if (wkb > 30) {
wkb = 0;
_root.keyboard = 0;
}
}
if (Key.isDown(192)) {
_root.posisikarakter = 1;
}
if (Key.isDown(49) and (_root.pistol == 1)) {
_root.posisikarakter = 2;
}
if (Key.isDown(50) and (_root.mgun == 1)) {
_root.posisikarakter = 3;
}
if (_root.naikmobil == 0) {
_root.gerakdenganmouse();
} else {
_root.gerak();
}
if (_root.misi == 4) {
_root.frame.arah._visible = 0;
_root.waktumisi4--;
if (_root.waktumisi4 <= 0) {
_root.waktumisi4 = 0;
_root.attachMovie("skenario4", "skenario", 40000, {_x:260, _y:200});
_root.misi = 41;
}
}
if (_root.misi == 5) {
_root.frame.arah._visible = 0;
_root.waktumisi5--;
if (_root.waktumisi5 <= 0) {
_root.waktumisi5 = 0;
_root.attachMovie("skenario5", "skenario", 40000, {_x:260, _y:200});
_root.misi = 41;
}
}
if (_root.misi == 58) {
_root.frame.arah._visible = 0;
_root.waktumisi5--;
if (_root.waktumisi5 <= 0) {
_root.waktumisi5 = 0;
_root.attachMovie("skenario5d", "skenario", 40000, {_x:260, _y:200});
_root.misi = 59;
_root.tujuanx = 16;
_root.tujuany = 14;
_root.frame.arah._visible = 1;
}
}
if ((_root.misi == 57) and (_root.char.xtile > 16)) {
_root.misi = 571;
_root.attachMovie("misi5gagal", "skenario", 40000, {_x:260, _y:200});
}
if ((_root.misi == 63) and (_root.gangsterkilled >= 20)) {
_root.misi = 64;
_root.attachMovie("skenario6b", "skenario", 40000, {_x:260, _y:200});
}
if (_root.misi >= 700) {
if (_root.misibebas == 0) {
_root.frame.arah._visible = 0;
} else {
_root.frame.arah._visible = 1;
}
if (Key.isDown(32)) {
if ((((_root.char.xtile > 2) and (_root.char.xtile < 18)) and (_root.char.ytile > 2)) and (_root.char.ytile < 35)) {
_root.posisikarakter = 1;
if (_root.naikmobil == 1) {
_root.aktif = 0;
_root.hummer._x = 260;
_root.hummer._y = 200;
_root.hummer._rotation = _root.char.clip._rotation;
_root.hummer._visible = 1;
_root.hummer.gotoAndPlay(20);
_root.char.clip._visible = 0;
_root.naikmobil = 0;
} else if (_root.naikmobil == 0) {
if (_root.char.clip.hitTest(_root.hummer.sensor)) {
_root.aktif = 0;
_root.hummer._x = 260;
_root.hummer._y = 200;
_root.char.clip._visible = 0;
_root.naikmobil = 1;
_root.hummer.gotoAndPlay(2);
}
}
}
}
}
if (((_root.nitro > 0) and Key.isDown(78)) and (pakainitro == 0)) {
_root.nitro--;
pakainitro = 1;
_root.kecepatan = 16;
_root.gas = 0.5;
_root.keterangan = "nitro activated";
}
if (pakainitro == 1) {
waktunitro++;
if (waktunitro > 75) {
waktunitro = 0;
pakainitro = 0;
_root.kecepatan = 9;
_root.gas = 0.25;
_root.keterangan = "";
}
} else if (_root.char.speed > _root.kecepatan) {
_root.char.speed = _root.char.speed * 0.8;
}
if (_root.dapatbonus == 1) {
wbon++;
if (wbon > 200) {
wbon = 0;
_root.dapatbonus = 0;
_root.keterangan = "";
}
}
}
}
Instance of Symbol 1355 MovieClip "suarasenjata" in Frame 125
onClipEvent (load) {
jumlahsenjata = 0;
loadingsenjata = 0;
wl = 0;
}
onClipEvent (mouseUp) {
if (((_root.posisikarakter >= 2) and (_root.aktif == 1)) and (loadingsenjata == 0)) {
if (_root.posisikarakter == 2) {
if (_root.pistolammo > 0) {
_root.pistolammo--;
if (_root.pistolammo <= 0) {
_root.posisikarakter = 1;
}
jumlahsenjata++;
loadingsenjata = 1;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
if (_root.naikmobil == 0) {
duplicateMovieClip (_root.peluru0, "peluru" + jumlahsenjata, 500 + jumlahsenjata);
play();
}
}
}
if (_root.posisikarakter == 3) {
if (_root.mgunammo > 0) {
_root.mgunammo--;
if (_root.mgunammo <= 0) {
_root.posisikarakter = 1;
}
jumlahsenjata++;
loadingsenjata = 1;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
if (_root.naikmobil == 0) {
duplicateMovieClip (_root.peluru0, "peluru" + jumlahsenjata, 500 + jumlahsenjata);
}
if (_root.naikmobil == 1) {
duplicateMovieClip (_root.pelurumobil0, "peluru" + jumlahsenjata, 500 + jumlahsenjata);
}
play();
}
}
}
}
onClipEvent (enterFrame) {
if (loadingsenjata == 1) {
wl++;
if (wl > (10 - (_root.posisikarakter * 3))) {
wl = 0;
loadingsenjata = 0;
}
}
}
Instance of Symbol 1372 MovieClip "mobil1" in Frame 125
onClipEvent (load) {
this.swapDepths(51);
jenis.gotoAndStop(random(13));
arah = 0;
kec = 5;
keluar = 0;
belok = 0;
xa = -50;
ya = 250;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
energi = 30;
tabrakandenganteman = 0;
speedx = kec;
speedy = kec;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
keluar = 0;
_x = xa;
_y = ya;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (tabrakandenganteman == 1) {
w++;
if (w > 15) {
w = 0;
tabrakandenganteman = 0;
}
}
if ((energi < 0) and (_currentframe == 1)) {
play();
keluar = 3;
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
_y = ya;
keluar = 0;
tertilang = 0;
polisi = 0;
kec = 5;
speedx = kec;
speedy = kec;
tunggutaxi = 0;
energi = 30;
tabrakandenganteman = 0;
belok = 0;
gotoAndStop (1);
jenis.gotoAndStop(random(13) + 1);
}
if (keluar == 0) {
tr++;
if (tr > 30) {
tr = 0;
_y = random(450);
}
}
if ((keluar == 1) and (_root.aktif == 1)) {
if (tunggutaxi == 1) {
kec = 0;
wtx++;
if (wtx > 50) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (arah == 1) {
_rotation = 90;
speedx = kec;
speedy = 0;
}
if (arah == 2) {
_rotation = 180;
speedx = 0;
speedy = kec;
}
if (arah == 3) {
_rotation = -90;
speedx = -kec;
speedy = 0;
}
if (arah == 4) {
_rotation = 0;
speedx = 0;
speedy = -kec;
}
if (belok == 12) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation >= 180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 14) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation <= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 21) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation <= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 23) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation >= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
if (belok == 32) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation <= -180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 34) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation >= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 41) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation >= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 43) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation <= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.carenergi = _root.carenergi - Math.abs(_root.char.speed + kec);
energi = energi - 8;
_root.char.speed = (-_root.char.speed) / 2;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = (-_root.char.speed) / 5;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = (-_root.char.speed) / 5;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((((sensor.hitTest(_root.mobil2) and ((_root.mobil2.keluar == 3) or (_root.mobil2.keluar == 1))) or (sensor.hitTest(_root.mobil3) and ((_root.mobil3.keluar == 3) or (_root.mobil3.keluar == 1)))) or (sensor.hitTest(_root.mobil4) and ((_root.mobil4.keluar == 3) or (_root.mobil4.keluar == 1)))) or sensor.hitTest(_root.polisi)) and ((keluar == 1) or (keluar >= 3))) {
tunggutaxi = 1;
}
if (((sensor2.hitTest(_root.hummer) and (_root.mobil2.keluar >= 1)) and (tabrakandenganteman == 0)) and (_root.hummer._visible == 1)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
tabrakandenganteman = 1;
_root.carenergi = _root.carenergi - (2 + random(5));
arahputaran = random(10);
}
if ((((sensor2.hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar >= 1)) or (sensor2.hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar >= 1))) or (sensor2.hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar >= 1))) and (tabrakandenganteman == 0)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
tabrakandenganteman = 1;
arahputaran = random(10);
}
if (keluar == 2) {
w++;
if (w >= 20) {
w = 0;
keluar = 3;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
speedx = 0;
speedy = 0;
}
}
Instance of Symbol 1372 MovieClip "mobil2" in Frame 125
onClipEvent (load) {
this.swapDepths(52);
jenis.gotoAndStop(random(13));
arah = 0;
kec = 5;
keluar = 0;
belok = 0;
xa = 300;
ya = -50;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
energi = 30;
tabrakandenganteman = 0;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
keluar = 0;
_x = xa;
_y = ya;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (tabrakandenganteman == 1) {
w++;
if (w > 15) {
w = 0;
tabrakandenganteman = 0;
}
}
if ((energi < 0) and (_currentframe == 1)) {
play();
keluar = 3;
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
_y = ya;
keluar = 0;
tertilang = 0;
polisi = 0;
kec = 5;
speedx = kec;
speedy = kec;
tunggutaxi = 0;
energi = 30;
tabrakandenganteman = 0;
belok = 0;
gotoAndStop (1);
jenis.gotoAndStop(random(13) + 1);
}
if (keluar == 0) {
tr++;
if (tr > 30) {
tr = 0;
_x = random(600);
}
}
if ((keluar == 1) and (_root.aktif == 1)) {
if (tunggutaxi == 1) {
kec = 0;
wtx++;
if (wtx > 50) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (arah == 1) {
_rotation = 90;
speedx = kec;
speedy = 0;
}
if (arah == 2) {
_rotation = 180;
speedx = 0;
speedy = kec;
}
if (arah == 3) {
_rotation = -90;
speedx = -kec;
speedy = 0;
}
if (arah == 4) {
_rotation = 0;
speedx = 0;
speedy = -kec;
}
if (belok == 12) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation >= 180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 14) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation <= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 21) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation <= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 23) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation >= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
if (belok == 32) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation <= -180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 34) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation >= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 41) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation >= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 43) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation <= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.carenergi = _root.carenergi - 8;
energi = energi - Math.abs(_root.char.speed + kec);
_root.char.speed = (-_root.char.speed) / 2;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = (-_root.char.speed) / 5;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = (-_root.char.speed) / 5;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((sensor2.hitTest(_root.hummer) and (_root.mobil2.keluar >= 1)) and (tabrakandenganteman == 0)) and (_root.hummer._visible == 1)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
tabrakandenganteman = 1;
_root.carenergi = _root.carenergi - (2 + random(5));
arahputaran = random(10);
}
if (((((sensor.hitTest(_root.mobil1) and ((_root.mobil1.keluar == 3) or (_root.mobil1.keluar == 1))) or (sensor.hitTest(_root.mobil3) and ((_root.mobil3.keluar == 3) or (_root.mobil3.keluar == 1)))) or (sensor.hitTest(_root.mobil4) and ((_root.mobil4.keluar == 3) or (_root.mobil4.keluar == 1)))) or sensor.hitTest(_root.polisi)) and ((keluar == 1) or (keluar >= 3))) {
tunggutaxi = 1;
}
if ((((sensor2.hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar >= 1)) or (sensor2.hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar >= 1))) or (sensor2.hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar >= 1))) and (tabrakandenganteman == 0)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
arahputaran = random(10);
tabrakandenganteman = 1;
}
if (keluar == 2) {
w++;
if (w >= 20) {
w = 0;
keluar = 3;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
speedx = 0;
speedy = 0;
}
}
Instance of Symbol 1372 MovieClip "mobil3" in Frame 125
onClipEvent (load) {
this.swapDepths(53);
jenis.gotoAndStop(random(13));
arah = 0;
kec = 5;
keluar = 0;
belok = 0;
xa = 575;
ya = 250;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
energi = 30;
tabrakandenganteman = 0;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
keluar = 0;
_x = xa;
_y = ya;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (tabrakandenganteman == 1) {
w++;
if (w > 15) {
w = 0;
tabrakandenganteman = 0;
}
}
if ((energi < 0) and (_currentframe == 1)) {
play();
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
_y = ya;
keluar = 0;
tertilang = 0;
polisi = 0;
kec = 5;
speedx = kec;
speedy = kec;
tunggutaxi = 0;
energi = 30;
tabrakandenganteman = 0;
belok = 0;
gotoAndStop (1);
jenis.gotoAndStop(random(13));
}
if (keluar == 0) {
tr++;
if (tr > 30) {
tr = 0;
_y = random(450);
}
}
if ((keluar == 1) and (_root.aktif == 1)) {
if (tunggutaxi == 1) {
kec = 0;
wtx++;
if (wtx > 50) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (arah == 1) {
_rotation = 90;
speedx = kec;
speedy = 0;
}
if (arah == 2) {
_rotation = 180;
speedx = 0;
speedy = kec;
}
if (arah == 3) {
_rotation = -90;
speedx = -kec;
speedy = 0;
}
if (arah == 4) {
_rotation = 0;
speedx = 0;
speedy = -kec;
}
if (belok == 12) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation >= 180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 14) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation <= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 21) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation <= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 23) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation >= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
if (belok == 32) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation <= -180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 34) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation >= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 41) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation >= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 43) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation <= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar >= 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.carenergi = _root.carenergi - Math.abs(_root.char.speed + kec);
energi = energi - 8;
_root.char.speed = (-_root.char.speed) / 2;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = (-_root.char.speed) / 5;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = (-_root.char.speed) / 5;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((((sensor.hitTest(_root.mobil2) and ((_root.mobil2.keluar == 3) or (_root.mobil2.keluar == 1))) or (sensor.hitTest(_root.mobil1) and ((_root.mobil1.keluar == 3) or (_root.mobil1.keluar == 1)))) or (sensor.hitTest(_root.mobil4) and ((_root.mobil4.keluar == 3) or (_root.mobil4.keluar == 1)))) or sensor.hitTest(_root.polisi)) and ((keluar == 1) or (keluar == 3))) {
tunggutaxi = 1;
}
if (((sensor2.hitTest(_root.hummer) and (_root.mobil2.keluar >= 1)) and (tabrakandenganteman == 0)) and (_root.hummer._visible == 1)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
tabrakandenganteman = 1;
_root.carenergi = _root.carenergi - (2 + random(5));
arahputaran = random(10);
}
if ((((sensor2.hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar >= 1)) or (sensor2.hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar >= 1))) or (sensor2.hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar >= 1))) and (tabrakandenganteman == 0)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
arahputaran = random(10);
tabrakandenganteman = 1;
}
if (keluar == 2) {
w++;
if (w >= 20) {
w = 0;
keluar = 3;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
speedx = 0;
speedy = 0;
}
}
Instance of Symbol 1372 MovieClip "mobil4" in Frame 125
onClipEvent (load) {
this.swapDepths(54);
jenis.gotoAndStop(random(13));
arah = 0;
kec = 5;
keluar = 0;
belok = 0;
xa = 300;
ya = 450;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
energi = 30;
tabrakandenganteman = 0;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
keluar = 0;
_x = xa;
_y = ya;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (tabrakandenganteman == 1) {
w++;
if (w > 15) {
w = 0;
tabrakandenganteman = 0;
}
}
if ((energi < 0) and (_currentframe == 1)) {
play();
keluar = 3;
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
_y = ya;
keluar = 0;
tertilang = 0;
polisi = 0;
kec = 5;
speedx = kec;
speedy = kec;
tunggutaxi = 0;
energi = 30;
tabrakandenganteman = 0;
belok = 0;
gotoAndStop (1);
jenis.gotoAndStop(random(13));
}
if (keluar == 0) {
tr++;
if (tr > 30) {
tr = 0;
_x = random(600);
}
}
if ((keluar == 1) and (_root.aktif == 1)) {
if (tunggutaxi == 1) {
kec = 0;
wtx++;
if (wtx > 50) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (arah == 1) {
_rotation = 90;
speedx = kec;
speedy = 0;
}
if (arah == 2) {
_rotation = 180;
speedx = 0;
speedy = kec;
}
if (arah == 3) {
_rotation = -90;
speedx = -kec;
speedy = 0;
}
if (arah == 4) {
_rotation = 0;
speedx = 0;
speedy = -kec;
}
if (belok == 12) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation >= 180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 14) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation <= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 21) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation <= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 23) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation >= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
if (belok == 32) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation <= -180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 34) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation >= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 41) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation >= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 43) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation <= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar >= 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.carenergi = _root.carenergi - Math.abs(_root.char.speed + kec);
energi = energi - 8;
_root.char.speed = (-_root.char.speed) / 2;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 5;
speedy = (-_root.char.speed) / 5;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 5;
speedy = (-_root.char.speed) / 5;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((((sensor.hitTest(_root.mobil2) and ((_root.mobil2.keluar == 3) or (_root.mobil2.keluar == 1))) or (sensor.hitTest(_root.mobil3) and ((_root.mobil3.keluar == 3) or (_root.mobil3.keluar == 1)))) or (sensor.hitTest(_root.mobil1) and ((_root.mobil1.keluar == 3) or (_root.mobil1.keluar == 1)))) or sensor.hitTest(_root.polisi)) and ((keluar == 1) or (keluar == 3))) {
tunggutaxi = 1;
}
if (((sensor2.hitTest(_root.hummer) and (_root.mobil2.keluar >= 1)) and (tabrakandenganteman == 0)) and (_root.hummer._visible == 1)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
tabrakandenganteman = 1;
_root.carenergi = _root.carenergi - (2 + random(5));
arahputaran = random(10);
}
if ((((sensor2.hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar >= 1)) or (sensor2.hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar >= 1))) or (sensor2.hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar >= 1))) and (tabrakandenganteman == 0)) {
speedx = -speedx;
speedy = -speedy;
keluar = 2;
arahputaran = random(10);
tabrakandenganteman = 1;
}
if (keluar == 2) {
w++;
if (w >= 20) {
w = 0;
keluar = 3;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
speedx = 0;
speedy = 0;
}
}
Instance of Symbol 1432 MovieClip "orang1" in Frame 125
onClipEvent (load) {
this.swapDepths(20);
keluar = 0;
jenis = 2;
stat = 0;
kecepatan = 1;
_alpha = 0;
wt = 0;
kect = 0;
barutabrakan = 0;
ditabrak = 0;
}
onClipEvent (enterFrame) {
if (barutabrakan == 1) {
wt++;
if (wt > 5) {
wt = 0;
barutabrakan = 0;
}
}
if ((((_x > 700) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
gotoAndStop (2);
keluar = 0;
kecepatan = 1;
stat = 0;
ditabrak = 0;
}
if (keluar == 1) {
_alpha = 100;
if (_root.aktif == 1) {
if (stat == 0) {
speedx = 0;
speedy = 0;
if (random(10) == 2) {
stat = 1;
}
gotoAndStop (2);
} else if (stat == 1) {
speedx = kecepatan * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = kecepatan * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (stat == 2) {
speedx = (3 * kecepatan) * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = (3 * kecepatan) * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 3) {
gotoAndStop (3);
}
if (random(100) == 25) {
stat = 1;
}
} else if (stat == 3) {
speedx = 0;
speedy = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if ((((_root.char.clip.body.hitTest(getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMin, true)) and (stat == 1)) {
if (_root.char.speed < 6) {
stat = 2;
_rotation = _root.char.clip._rotation;
} else {
stat = 3;
ditabrak = 1;
_root.civildeathpoint = 25 + random(75);
_root.score = _root.score + _root.civildeathpoint;
_root.pendudukditabrak++;
_root.totalpendudukditabrak++;
}
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.polisi) and (stat == 1)) and (_root.polisi.keluar > 0)) {
stat = 2;
_rotation = (_rotation + 180);
}
_x = (_x + speedx);
_y = (_y + speedy);
}
} else {
_x = random(600);
_y = random(400);
_alpha = 0;
}
}
Instance of Symbol 1432 MovieClip "orang2" in Frame 125
onClipEvent (load) {
this.swapDepths(21);
keluar = 0;
jenis = 2;
stat = 0;
kecepatan = 1;
_alpha = 0;
wt = 0;
kect = 0;
barutabrakan = 0;
ditabrak = 0;
}
onClipEvent (enterFrame) {
if (barutabrakan == 1) {
wt++;
if (wt > 5) {
wt = 0;
barutabrakan = 0;
}
}
if ((((_x > 700) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
gotoAndStop (2);
keluar = 0;
stat = 0;
kecepatan = 1;
ditabrak = 0;
}
if (keluar == 1) {
_alpha = 100;
if (_root.aktif == 1) {
if (stat == 0) {
speedx = 0;
speedy = 0;
if (random(10) == 2) {
stat = 1;
}
gotoAndStop (2);
} else if (stat == 1) {
speedx = kecepatan * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = kecepatan * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (stat == 2) {
speedx = (3 * kecepatan) * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = (3 * kecepatan) * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 3) {
gotoAndStop (3);
}
if (random(100) == 25) {
stat = 1;
}
} else if (stat == 3) {
speedx = 0;
speedy = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if ((((_root.char.clip.body.hitTest(getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMin, true)) and (stat == 1)) {
if (_root.char.speed < 6) {
stat = 2;
_rotation = _root.char.clip._rotation;
} else {
stat = 3;
ditabrak = 1;
_root.civildeathpoint = 25 + random(75);
_root.score = _root.score + _root.civildeathpoint;
_root.pendudukditabrak++;
_root.totalpendudukditabrak++;
}
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.polisi) and (stat == 1)) and (_root.polisi.keluar > 0)) {
stat = 2;
_rotation = (_rotation + 180);
}
_x = (_x + speedx);
_y = (_y + speedy);
}
} else {
_x = random(600);
_y = random(400);
_alpha = 0;
}
}
Instance of Symbol 1432 MovieClip "orang3" in Frame 125
onClipEvent (load) {
this.swapDepths(22);
keluar = 0;
jenis = 2;
stat = 0;
kecepatan = 1;
_alpha = 0;
wt = 0;
kect = 0;
barutabrakan = 0;
ditabrak = 0;
}
onClipEvent (enterFrame) {
if (barutabrakan == 1) {
wt++;
if (wt > 5) {
wt = 0;
barutabrakan = 0;
}
}
if ((((_x > 700) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
gotoAndStop (2);
keluar = 0;
stat = 0;
kecepatan = 1;
ditabrak = 0;
}
if (keluar == 1) {
_alpha = 100;
if (_root.aktif == 1) {
if (stat == 0) {
speedx = 0;
speedy = 0;
if (random(10) == 2) {
stat = 1;
}
gotoAndStop (2);
} else if (stat == 1) {
speedx = kecepatan * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = kecepatan * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (stat == 2) {
speedx = (3 * kecepatan) * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = (3 * kecepatan) * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 3) {
gotoAndStop (3);
}
if (random(100) == 25) {
stat = 1;
}
} else if (stat == 3) {
speedx = 0;
speedy = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if ((((_root.char.clip.body.hitTest(getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMin, true)) and (stat == 1)) {
if (_root.char.speed < 6) {
stat = 2;
_rotation = _root.char.clip._rotation;
} else {
ditabrak = 1;
stat = 3;
_root.civildeathpoint = 25 + random(75);
_root.score = _root.score + _root.civildeathpoint;
_root.pendudukditabrak++;
_root.totalpendudukditabrak++;
}
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.polisi) and (stat == 1)) and (_root.polisi.keluar > 0)) {
stat = 2;
_rotation = (_rotation + 180);
}
_x = (_x + speedx);
_y = (_y + speedy);
}
} else {
_x = random(600);
_y = random(400);
_alpha = 0;
}
}
Instance of Symbol 1432 MovieClip "orang4" in Frame 125
onClipEvent (load) {
this.swapDepths(23);
keluar = 0;
jenis = 2;
stat = 0;
kecepatan = 1;
_alpha = 0;
wt = 0;
kect = 0;
ditabrak = 0;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (barutabrakan == 1) {
wt++;
if (wt > 5) {
wt = 0;
barutabrakan = 0;
}
}
if ((((_x > 700) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
gotoAndStop (2);
keluar = 0;
kecepatan = 1;
stat = 0;
ditabrak = 0;
}
if (keluar == 1) {
_alpha = 100;
if (_root.aktif == 1) {
if (stat == 0) {
speedx = 0;
speedy = 0;
if (random(10) == 2) {
stat = 1;
}
gotoAndStop (2);
} else if (stat == 1) {
speedx = kecepatan * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = kecepatan * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (stat == 2) {
speedx = (3 * kecepatan) * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = (3 * kecepatan) * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 3) {
gotoAndStop (3);
}
if (random(100) == 25) {
stat = 1;
}
} else if (stat == 3) {
speedx = 0;
speedy = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if ((((_root.char.clip.body.hitTest(getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMin, true)) and (stat == 1)) {
if (_root.char.speed < 6) {
stat = 2;
_rotation = _root.char.clip._rotation;
} else {
stat = 3;
ditabrak = 1;
_root.civildeathpoint = 25 + random(75);
_root.score = _root.score + _root.civildeathpoint;
_root.pendudukditabrak++;
_root.totalpendudukditabrak++;
}
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.polisi) and (stat == 1)) and (_root.polisi.keluar > 0)) {
stat = 2;
_rotation = (_rotation + 180);
}
_x = (_x + speedx);
_y = (_y + speedy);
}
} else {
_x = random(600);
_y = random(400);
_alpha = 0;
}
}
Instance of Symbol 1432 MovieClip "orang5" in Frame 125
onClipEvent (load) {
this.swapDepths(24);
keluar = 0;
jenis = 2;
stat = 0;
kecepatan = 1;
_alpha = 0;
wt = 0;
kect = 0;
barutabrakan = 0;
ditabrak = 0;
}
onClipEvent (enterFrame) {
if (barutabrakan == 1) {
wt++;
if (wt > 5) {
wt = 0;
barutabrakan = 0;
}
}
if ((((_x > 700) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
gotoAndStop (2);
keluar = 0;
stat = 0;
kecepatan = 1;
ditabrak = 0;
}
if (keluar == 1) {
_alpha = 100;
if (_root.aktif == 1) {
if (stat == 0) {
speedx = 0;
speedy = 0;
if (random(10) == 2) {
stat = 1;
}
gotoAndStop (2);
} else if (stat == 1) {
speedx = kecepatan * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = kecepatan * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 2) {
gotoAndStop (2);
}
} else if (stat == 2) {
speedx = (3 * kecepatan) * Math.cos(((_rotation - 90) * Math.PI) / 180);
speedy = (3 * kecepatan) * Math.sin(((_rotation - 90) * Math.PI) / 180);
if (_currentframe != 3) {
gotoAndStop (3);
}
if (random(100) == 25) {
stat = 1;
}
} else if (stat == 3) {
speedx = 0;
speedy = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if ((((_root.char.clip.body.hitTest(getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, getBounds(_root).yMin, true)) and (stat == 1)) {
if (_root.char.speed < 6) {
stat = 2;
_rotation = _root.char.clip._rotation;
} else {
stat = 3;
ditabrak = 1;
_root.civildeathpoint = 25 + random(75);
_root.score = _root.score + _root.civildeathpoint;
_root.pendudukditabrak++;
_root.totalpendudukditabrak++;
}
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 3;
}
}
if ((hitTest(_root.polisi) and (stat == 1)) and (_root.polisi.keluar > 0)) {
stat = 2;
_rotation = (_rotation + 180);
}
_x = (_x + speedx);
_y = (_y + speedy);
}
} else {
_x = random(600);
_y = random(400);
_alpha = 0;
}
}
Instance of Symbol 1433 MovieClip "obyek1" in Frame 125
onClipEvent (load) {
this.swapDepths(49);
}
onClipEvent (enterFrame) {
if (_root.misi == 0) {
_visible = 1;
} else {
removeMovieClip(this);
}
_root.kejar(this, 4, 280, 200);
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum0" in Frame 125
onClipEvent (load) {
kec = 10;
_rotation = _root.obyek2._rotation;
rads = (_root.obyek2._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek2._x + (20 * Math.cos((_root.obyek2._rotation * Math.PI) / 180)));
_y = (_root.obyek2._y + (20 * Math.sin((_root.obyek2._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum0") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.carenergi = _root.carenergi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 1440 MovieClip "obyek2" in Frame 125
onClipEvent (load) {
this.swapDepths(60);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 1;
kec = 0;
ws = 0;
if (_root.misi == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 1) {
_visible = 1;
} else if (_root.misi > 1) {
removeMovieClip(this);
} else {
_visible = 0;
}
if ((_visible == 1) and (_root.char.xtile < 15)) {
if ((random(30) == 3) and (stat != 3)) {
if (((((_x > 0) and (_x < 520)) and (_y > 0)) and (_y < 400)) and (random(20) == 4)) {
nembak = 1;
}
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 250, 190);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 0;
stat = 1;
}
kec = 2;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
}
}
}
Instance of Symbol 1440 MovieClip "obyek3" in Frame 125
onClipEvent (load) {
this.swapDepths(61);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 1;
kec = 0;
ws = 0;
if (_root.misi == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 1) {
_visible = 1;
} else if (_root.misi > 1) {
removeMovieClip(this);
} else {
_visible = 0;
}
if ((_visible == 1) and (_root.char.xtile < 15)) {
if (((((_x > 0) and (_x < 520)) and (_y > 0)) and (_y < 400)) and (random(20) == 4)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
} else {
keluar = 0;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
if ((hitTest(_root.mobil1) and (stat == 1)) and (_root.mobil1.keluar > 0)) {
kect = Math.abs(_root.mobil1.speedx) + Math.abs(_root.mobil1.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil2) and (stat == 1)) and (_root.mobil2.keluar > 0)) {
kect = Math.abs(_root.mobil2.speedx) + Math.abs(_root.mobil2.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil3) and (stat == 1)) and (_root.mobil3.keluar > 0)) {
kect = Math.abs(_root.mobil3.speedx) + Math.abs(_root.mobil3.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
if ((hitTest(_root.mobil4) and (stat == 1)) and (_root.mobil4.keluar > 0)) {
kect = Math.abs(_root.mobil4.speedx) + Math.abs(_root.mobil4.speedy);
if (kect < 4) {
stat = 2;
_rotation = (_rotation + 180);
} else {
stat = 2;
}
}
}
}
}
Instance of Symbol 1441 MovieClip in Frame 125
onClipEvent (load) {
jumlahsenjata = 0;
}
onClipEvent (enterFrame) {
if (_root.obyek3.nembak == 1) {
_root.obyek3.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum2, "pelurum" + jumlahsenjata, 120 + jumlahsenjata);
}
if (_root.obyek2.nembak == 1) {
_root.obyek2.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum0, "pelurum" + jumlahsenjata, 120 + jumlahsenjata);
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum2" in Frame 125
onClipEvent (load) {
kec = 10;
_rotation = _root.obyek3._rotation;
rads = (_root.obyek3._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek3._x + (20 * Math.cos((_root.obyek3._rotation * Math.PI) / 180)));
_y = (_root.obyek3._y + (20 * Math.sin((_root.obyek3._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum2") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.carenergi = _root.carenergi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 1372 MovieClip "mobil5" in Frame 125
onClipEvent (load) {
this.swapDepths(55);
jenis.gotoAndStop(13);
arah = 0;
kec = 5;
keluar = 0;
belok = 0;
xa = 590;
ya = 150;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
energi = 150;
tabrakandenganteman = 0;
barutabrakan = 0;
}
onClipEvent (enterFrame) {
if (_root.misi == 57) {
if (keluar == 0) {
_visible = 0;
if (_root.misi == 57) {
keluar = 1;
arah = 2;
tunggutaxi = 3;
}
} else {
_visible = 1;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (tabrakandenganteman == 1) {
w++;
if (w > 15) {
w = 0;
tabrakandenganteman = 0;
}
}
if ((energi < 0) and (_currentframe == 1)) {
play();
keluar = 3;
_root.attachMovie("skenario5berhasil", "skenario", 40000, {_x:260, _y:200});
}
if ((keluar >= 1) and (keluar < 10)) {
if ((((_x > 700) or (_x < -200)) or (_y > 600)) or (_y < -200)) {
_x = xa;
_y = ya;
keluar = 10;
tertilang = 0;
polisi = 0;
kec = 5;
speedx = kec;
speedy = kec;
tunggutaxi = 0;
energi = 100;
tabrakandenganteman = 0;
belok = 0;
gotoAndStop (1);
_root.attachMovie("skenario5gagal", "skenario", 40000, {_x:260, _y:200});
}
}
if ((keluar == 1) and (_root.aktif == 1)) {
if (tunggutaxi == 1) {
kec = 0;
wtx++;
if (wtx > 70) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (tunggutaxi == 3) {
kec = 0;
wtx++;
if (wtx > 150) {
wtx = 0;
kec = 5;
tunggutaxi = 0;
}
}
if (arah == 1) {
_rotation = 90;
speedx = kec;
speedy = 0;
}
if (arah == 2) {
_rotation = 180;
speedx = 0;
speedy = kec;
}
if (arah == 3) {
_rotation = -90;
speedx = -kec;
speedy = 0;
}
if (arah == 4) {
_rotation = 0;
speedx = 0;
speedy = -kec;
}
if (belok == 12) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation >= 180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 14) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation <= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 21) {
arah = 0;
_rotation = (_rotation - 10);
speedx = kecblk;
speedy = kecblk;
if (_rotation <= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 23) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation >= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
if (belok == 32) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = kecblk;
if (_rotation <= -180) {
_rotation = 180;
belok = 0;
arah = 2;
}
}
if (belok == 34) {
arah = 0;
_rotation = (_rotation + 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation >= 0) {
_rotation = 0;
belok = 0;
arah = 4;
}
}
if (belok == 41) {
arah = 0;
_rotation = (_rotation + 10);
speedx = kecblk;
speedy = -kecblk;
if (_rotation >= 90) {
_rotation = 90;
belok = 0;
arah = 1;
}
}
if (belok == 43) {
arah = 0;
_rotation = (_rotation - 10);
speedx = -kecblk;
speedy = -kecblk;
if (_rotation <= -90) {
_rotation = -90;
belok = 0;
arah = 3;
}
}
_x = (_x + speedx);
_y = (_y + speedy);
}
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.carenergi = _root.carenergi - Math.abs(_root.char.speed + kec);
energi = energi - Math.abs(_root.char.speed + kec);
_root.char.speed = (-_root.char.speed) / 2;
w = 0;
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((((sensor.hitTest(_root.mobil1) and ((_root.mobil1.keluar == 3) or (_root.mobil1.keluar == 1))) or (sensor.hitTest(_root.mobil3) and ((_root.mobil3.keluar == 3) or (_root.mobil3.keluar == 1)))) or (sensor.hitTest(_root.mobil4) and ((_root.mobil4.keluar == 3) or (_root.mobil4.keluar == 1)))) or sensor.hitTest(_root.polisi)) and ((keluar == 1) or (keluar == 3))) {
tunggutaxi = 1;
}
if ((((sensor2.hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar >= 1)) or (sensor2.hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar >= 1))) or (sensor2.hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar >= 1))) and (tabrakandenganteman == 0)) {
tabrakandenganteman = 1;
tunggutaxi = 1;
}
if (keluar == 2) {
w++;
if (w >= 20) {
w = 0;
keluar = 3;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
speedx = 0;
speedy = 0;
}
}
}
Instance of Symbol 519 MovieClip in Frame 125
onClipEvent (load) {
_visible = 0;
_x = (_root.mobil5._x - 30);
_y = (_root.mobil5._y - 30);
this.swapDepths(58);
}
onClipEvent (enterFrame) {
if (_root.misi == 57) {
_visible = 1;
} else {
_visible = 0;
}
_x = (_root.mobil5._x - 30);
_y = (_root.mobil5._y - 30);
}
Instance of Symbol 1440 MovieClip "obyek4" in Frame 125
onClipEvent (load) {
this.swapDepths(70);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 0;
kec = 0;
ws = 0;
}
onClipEvent (enterFrame) {
if (_root.misi == 63) {
if ((keluar == 0) and (_root.gangsterkilled < 20)) {
_visible = 1;
keluar = 1;
stat = 1;
}
} else {
_visible = 0;
}
if ((_currentframe == 53) and (_root.gangsterkilled < 20)) {
_root.gangsterkilled++;
keluar = 0;
stat = 1;
_x = -50;
_y = random(400);
gotoAndStop (1);
}
if (_visible == 1) {
if ((random(90) == 3) and (stat != 3)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
}
if (random(120) == 5) {
stat = 4;
}
if ((stat == 4) and (random(100) == 34)) {
stat = 1;
}
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum0" in Frame 125
onClipEvent (load) {
kec = 10;
_rotation = _root.obyek2._rotation;
rads = (_root.obyek2._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek2._x + (20 * Math.cos((_root.obyek2._rotation * Math.PI) / 180)));
_y = (_root.obyek2._y + (20 * Math.sin((_root.obyek2._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum0") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.carenergi = _root.carenergi - 3;
removeMovieClip(this);
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum4" in Frame 125
onClipEvent (load) {
kec = 8;
_rotation = _root.obyek4._rotation;
rads = (_root.obyek4._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek4._x + (20 * Math.cos((_root.obyek4._rotation * Math.PI) / 180)));
_y = (_root.obyek4._y + (20 * Math.sin((_root.obyek4._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum4") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.energi = _root.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 1441 MovieClip in Frame 125
onClipEvent (load) {
jumlahsenjata = 0;
}
onClipEvent (enterFrame) {
if (_root.obyek4.nembak == 1) {
_root.obyek4.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum4, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
if (_root.obyek5.nembak == 1) {
_root.obyek5.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum5, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
if (_root.obyek5.nembak == 1) {
_root.obyek5.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum5, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
if (_root.obyek6.nembak == 1) {
_root.obyek6.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum6, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
if (_root.obyek7.nembak == 1) {
_root.obyek7.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum7, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
if (_root.obyek8.nembak == 1) {
_root.obyek8.nembak = 0;
jumlahsenjata++;
if (jumlahsenjata > 9) {
jumlahsenjata = 1;
}
_root.suarasenjata.play();
duplicateMovieClip (_root.pelurum8, "pelurum" + jumlahsenjata, 80 + jumlahsenjata);
}
}
Instance of Symbol 1440 MovieClip "obyek5" in Frame 125
onClipEvent (load) {
this.swapDepths(71);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 0;
kec = 0;
ws = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 63) or (_root.misi == 705)) {
if ((keluar == 0) and (_root.gangsterkilled < 20)) {
_visible = 1;
keluar = 1;
stat = 1;
}
} else {
_visible = 0;
}
if ((_currentframe == 53) and (_root.gangsterkilled < 20)) {
_root.gangsterkilled++;
keluar = 0;
stat = 1;
_x = 570;
_y = random(400);
gotoAndStop (1);
if (_root.misi == 705) {
_root.bonuspoint = 500 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
if (_visible == 1) {
if ((random(90) == 3) and (stat != 3)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
}
if (random(120) == 5) {
stat = 4;
}
if ((stat == 4) and (random(100) == 34)) {
stat = 1;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
}
}
}
Instance of Symbol 1440 MovieClip "obyek6" in Frame 125
onClipEvent (load) {
this.swapDepths(72);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 0;
kec = 0;
ws = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 63) or (_root.misi == 709)) {
if ((keluar == 0) and (_root.gangsterkilled < 20)) {
_visible = 1;
keluar = 1;
stat = 1;
}
} else {
_visible = 0;
}
if ((_currentframe == 53) and (_root.gangsterkilled < 20)) {
_root.gangsterkilled++;
keluar = 0;
stat = 1;
_x = random(520);
_y = -50;
gotoAndStop (1);
if (_root.misi == 709) {
_root.bonuspoint = 2500 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.namamisi = "";
_root.frame.arah._visible = 0;
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
if (_visible == 1) {
if ((random(90) == 3) and (stat != 3)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
}
if (random(120) == 5) {
stat = 4;
}
if ((stat == 4) and (random(100) == 34)) {
stat = 1;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
}
}
}
Instance of Symbol 1440 MovieClip "obyek7" in Frame 125
onClipEvent (load) {
this.swapDepths(73);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 0;
kec = 0;
ws = 0;
}
onClipEvent (enterFrame) {
if (_root.misi == 63) {
if ((keluar == 0) and (_root.gangsterkilled < 20)) {
_visible = 1;
keluar = 1;
stat = 1;
}
} else {
_visible = 0;
}
if ((_currentframe == 53) and (_root.gangsterkilled < 20)) {
_root.gangsterkilled++;
keluar = 0;
stat = 1;
_x = random(520);
_y = 450;
gotoAndStop (1);
}
if (_visible == 1) {
if ((random(90) == 3) and (stat != 3)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
}
if (random(120) == 5) {
stat = 4;
}
if ((stat == 4) and (random(100) == 34)) {
stat = 1;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
}
}
}
Instance of Symbol 1440 MovieClip "obyek8" in Frame 125
onClipEvent (load) {
this.swapDepths(74);
nembak = 0;
jalan = 0;
barutabrakan = 0;
stat = 1;
keluar = 0;
kec = 0;
ws = 0;
}
onClipEvent (enterFrame) {
if (_root.misi == 63) {
if ((keluar == 0) and (_root.gangsterkilled < 20)) {
_visible = 1;
keluar = 1;
stat = 1;
}
} else {
_visible = 0;
}
if ((_currentframe == 53) and (_root.gangsterkilled < 20)) {
_root.gangsterkilled++;
keluar = 0;
stat = 1;
_x = random(520);
_y = 450;
gotoAndStop (1);
}
if (_visible == 1) {
if ((random(90) == 3) and (stat != 3)) {
nembak = 1;
}
if (keluar == 1) {
if (stat == 0) {
kec = 0;
gotoAndStop (2);
} else if (stat == 1) {
kec = 2;
_root.kejar(this, kec, 260, 200);
} else if (stat == 2) {
ws++;
if (ws >= 40) {
ws = 2;
stat = 1;
}
kec = 3;
_root.kejar(this, kec, 150, 150);
} else if (stat == 3) {
kec = 0;
if (_currentframe <= 5) {
gotoAndPlay (6);
}
}
if (random(120) == 5) {
stat = 4;
}
if ((stat == 4) and (random(100) == 34)) {
stat = 1;
}
if (hitTest(_root.char.clip)) {
stat = 2;
}
}
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum5" in Frame 125
onClipEvent (load) {
kec = 8;
_rotation = _root.obyek5._rotation;
rads = (_root.obyek5._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek5._x + (20 * Math.cos((_root.obyek5._rotation * Math.PI) / 180)));
_y = (_root.obyek5._y + (20 * Math.sin((_root.obyek5._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum5") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.energi = _root.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum6" in Frame 125
onClipEvent (load) {
kec = 8;
_rotation = _root.obyek6._rotation;
rads = (_root.obyek6._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek6._x + (20 * Math.cos((_root.obyek6._rotation * Math.PI) / 180)));
_y = (_root.obyek6._y + (20 * Math.sin((_root.obyek6._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum6") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.energi = _root.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum7" in Frame 125
onClipEvent (load) {
kec = 8;
_rotation = _root.obyek7._rotation;
rads = (_root.obyek7._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek7._x + (20 * Math.cos((_root.obyek7._rotation * Math.PI) / 180)));
_y = (_root.obyek7._y + (20 * Math.sin((_root.obyek7._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum7") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.energi = _root.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurum8" in Frame 125
onClipEvent (load) {
kec = 8;
_rotation = _root.obyek8._rotation;
rads = (_root.obyek8._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.obyek8._x + (20 * Math.cos((_root.obyek8._rotation * Math.PI) / 180)));
_y = (_root.obyek8._y + (20 * Math.sin((_root.obyek8._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "pelurum8") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 600) or (_x < 0)) or (_y < 0)) or (_y > 450)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
}
if (hitTest(_root.char.clip)) {
_root.energi = _root.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 1442 MovieClip "hummer" in Frame 125
onClipEvent (load) {
_visible = 0;
this.swapDepths(900);
}
onClipEvent (enterFrame) {
if ((_visible == 1) and (((_root.char.clip.body.badan.hitTest(sensor2.getBounds(_root).xMax, _y, true) or _root.char.clip.body.badan.hitTest(sensor2.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.badan.hitTest(_x, sensor2.getBounds(_root).yMax, true)) or _root.char.clip.body.badan.hitTest(_x, sensor2.getBounds(_root).yMin, true))) {
_root.char.speed = -1;
}
}
Instance of Symbol 1363 MovieClip "mobilmusuh" in Frame 125
onClipEvent (load) {
xa = _x;
ya = _y;
if (_root.dragrace >= 2) {
_visible = 1;
} else {
_visible = 0;
}
gotoAndStop(random(8) + 1);
kecepatan = 8 + random(7);
this.swapDepths(897);
}
onClipEvent (enterFrame) {
if (_root.dragrace >= 2) {
_visible = 1;
} else {
_visible = 0;
_x = xa;
_y = ya;
}
if (_root.dragrace == 3) {
_x = (_x + kecepatan);
if (_x > 900) {
_root.dragrace = 4;
_root.attachMovie("dragracelose", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 1459 MovieClip "burung" in Frame 125
onClipEvent (load) {
keluar = 0;
xa = _x;
ya = _y;
_visible = 0;
this.swapDepths(3000);
}
onClipEvent (enterFrame) {
if (((keluar == 0) and (_root.aktif == 1)) and (random(400) == 34)) {
keluar = 1;
_y = (random(300) + 50);
}
if (keluar == 1) {
_visible = 1;
_x = (_x - 2);
if (_x < -50) {
keluar = 0;
}
} else {
_visible = 0;
_x = xa;
_y = ya;
}
}
Instance of Symbol 1460 MovieClip in Frame 125
onClipEvent (load) {
_visible = 0;
this.swapDepths(59);
dy = 0;
dx = 0;
radians = 0;
}
onClipEvent (enterFrame) {
if (_root.misi == 57) {
_visible = 1;
dx = _root.mobil5._x - _x;
dy = _root.mobil5._y - _y;
radians = Math.atan(dy / dx);
if (dx > 0) {
_rotation = ((radians * 180) / 3.141593);
} else {
_rotation = (((radians * 180) / 3.141593) + 180);
}
if (sensor.hitTest(_root.mobil5)) {
_visible = 0;
} else {
_visible = 1;
}
} else {
_visible = 0;
}
}
Instance of Symbol 1467 MovieClip "polisi" in Frame 125
onClipEvent (load) {
this.swapDepths(62);
arah = 0;
kec = 7.5;
keluar = 0;
belok = 0;
xa = -100;
ya = 225;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
barutabrakan = 0;
wb = 0;
energi = 100;
}
onClipEvent (enterFrame) {
if ((energi < 0) and (_currentframe == 1)) {
play();
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
barutabrakan = 0;
_y = ya;
keluar = 0;
polisi = 0;
kec = 5;
energi = 100;
belok = 0;
_root.pendudukditabrak = 0;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if (((_root.pendudukditabrak > 5) and (_root.rampage == 0)) and (random(20) == 14)) {
_root.pendudukditabrak = 0;
keluar = 1;
}
if ((keluar == 1) and (_root.aktif == 1)) {
_root.kejar(this, kec, 275, 200);
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
_root.suaratabrakan.start(0, 1);
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
energi = energi - 5;
_root.carenergi = _root.carenergi - 10;
energi = energi - Math.abs(_root.char.speed + kec);
_root.char.speed = -_root.char.speed;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = (-_root.char.speed) / 3;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = (-_root.char.speed) / 3;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((sensor.hitTest(_root.mobil1) or sensor.hitTest(_root.mobil2)) or sensor.hitTest(_root.mobil3)) or sensor.hitTest(_root.mobil4)) {
keluar = 3;
}
}
if (keluar == 2) {
w++;
if (w >= 40) {
w = 0;
keluar = 1;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
_root.kejar(this, 5, this._x + 10, this._y - 10);
wb++;
if (wb > 30) {
wb = 0;
keluar = 1;
}
}
}
Instance of Symbol 1469 MovieClip "kurs" in Frame 125
onClipEvent (load) {
_visible = 0;
this.swapDepths(50000);
}
onClipEvent (enterFrame) {
if (_root.posisikarakter >= 2) {
_visible = 1;
startDrag (this, true);
Mouse.hide();
} else {
stopDrag();
_visible = 0;
Mouse.show();
}
}
Instance of Symbol 847 MovieClip [peluru1] "peluru0" in Frame 125
onClipEvent (load) {
if (_root.posisikarakter == 2) {
kec = 6;
}
if (_root.posisikarakter == 3) {
kec = 10;
}
_rotation = _root.char.clip._rotation;
rads = (_root.char.clip._rotation * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.game.centerx + (20 * Math.cos((_root.char.clip._rotation * Math.PI) / 180)));
_y = (_root.game.centery + (20 * Math.sin((_root.char.clip._rotation * Math.PI) / 180)));
}
onClipEvent (enterFrame) {
if (_name != "peluru0") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 520) or (_x < 0)) or (_y < 0)) or (_y > 400)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
_root.orang1.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
_root.orang2.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
_root.orang3.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
_root.orang4.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
_root.orang5.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.mobil1) and (_root.mobil1.keluar != 0)) {
_root.mobil1.energi = _root.mobil1.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar != 0)) {
_root.mobil2.energi = _root.mobil2.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.mobil3) and (_root.mobil3.keluar != 0)) {
_root.mobil3.energi = _root.mobil3.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar != 0)) {
_root.mobil4.energi = _root.mobil4.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.mobil5) and (_root.mobil5.keluar != 0)) {
_root.mobil5.energi = _root.mobil5.energi - 2;
removeMovieClip(this);
}
if (hitTest(_root.polisi) and (_root.polisi.keluar != 0)) {
_root.polisi.energi = _root.polisi.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.polisi1) and (_root.polisi1.keluar != 0)) {
_root.polisi1.energi = _root.polisi1.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.polisi2) and (_root.polisi2.keluar != 0)) {
_root.polisi2.energi = _root.polisi2.energi - 5;
removeMovieClip(this);
}
i = 4;
while (i <= 9) {
if (hitTest(_root["obyek" + i])) {
_root["obyek" + i].stat = 3;
}
i++;
}
}
Instance of Symbol 1467 MovieClip "polisi1" in Frame 125
onClipEvent (load) {
this.swapDepths(63);
arah = 0;
kec = 7;
keluar = 0;
belok = 0;
xa = _x;
ya = _y;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
barutabrakan = 0;
wb = 0;
energi = 100;
}
onClipEvent (enterFrame) {
if ((energi < 0) and (_currentframe == 1)) {
play();
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
barutabrakan = 0;
_y = ya;
keluar = 0;
polisi = 0;
kec = 5;
energi = 100;
belok = 0;
_root.pendudukditabrak = 0;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if ((((_root.misi == 46) and (keluar == 0)) and (_root.char.xtile < 15)) and (random(120) == 5)) {
keluar = 1;
}
if ((((_root.misi == 58) and (keluar == 0)) and (_root.waktumisi5 > 0)) and (random(570) == 5)) {
keluar = 1;
}
if ((((_root.misi >= 700) and (keluar == 0)) and (random(370) == 25)) and (_root.rampage == 0)) {
keluar = 1;
}
if ((keluar == 1) and (_root.aktif == 1)) {
_root.kejar(this, kec, 275, 200);
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
_root.suaratabrakan.start(0, 1);
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
energi = 5;
_root.carenergi = _root.carenergi - 10;
energi = energi - Math.abs(_root.char.speed + kec);
_root.char.speed = -_root.char.speed;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = (-_root.char.speed) / 3;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = (-_root.char.speed) / 3;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((sensor.hitTest(_root.mobil1) or sensor.hitTest(_root.mobil2)) or sensor.hitTest(_root.mobil3)) or sensor.hitTest(_root.mobil4)) {
keluar = 3;
}
}
if (keluar == 2) {
w++;
if (w >= 40) {
w = 0;
keluar = 1;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
_root.kejar(this, 5, this._x + 10, this._y - 10);
wb++;
if (wb > 30) {
wb = 0;
keluar = 1;
}
}
}
Instance of Symbol 1467 MovieClip "polisi2" in Frame 125
onClipEvent (load) {
this.swapDepths(64);
arah = 0;
kec = 7.5;
keluar = 0;
belok = 0;
xa = _x;
ya = _y;
_x = xa;
_y = ya;
kecblk = 4;
w = 0;
tertilang = 0;
polisi = 0;
tunggutaxi = 0;
tr = 0;
wtx = 0;
barutabrakan = 0;
wb = 0;
energi = 100;
}
onClipEvent (enterFrame) {
if ((energi < 0) and (_currentframe == 1)) {
play();
}
if ((((_x > 600) or (_x < -100)) or (_y > 550)) or (_y < -100)) {
_x = xa;
barutabrakan = 0;
_y = ya;
keluar = 0;
polisi = 0;
kec = 5;
energi = 100;
belok = 0;
_root.pendudukditabrak = 0;
}
if (barutabrakan == 1) {
w++;
if (w > 20) {
w = 0;
barutabrakan = 0;
}
}
if ((((_root.misi == 46) and (keluar == 0)) and (_root.char.xtile < 16)) and (random(100) == 3)) {
keluar = 1;
}
if ((((_root.misi == 57) and (keluar == 0)) and (_root.char.xtile < 18)) and (random(300) == 14)) {
keluar = 1;
}
if ((((_root.misi == 58) and (keluar == 0)) and (_root.waktumisi5 > 0)) and (random(570) == 5)) {
keluar = 1;
}
if ((((_root.misi >= 700) and (keluar == 0)) and (random(370) == 25)) and (_root.rampage == 0)) {
keluar = 1;
}
if ((keluar == 1) and (_root.aktif == 1)) {
_root.kejar(this, kec, 260, 220);
if ((((_root.char.clip.body.hitTest(jenis.getBounds(_root).xMax, _y, true) or _root.char.clip.body.hitTest(jenis.getBounds(_root).xMin, _y, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMax, true)) or _root.char.clip.body.hitTest(_x, jenis.getBounds(_root).yMin, true)) and ((keluar == 1) or (keluar == 3))) {
if (_root.naikmobil == 1) {
_root.flasher.play();
_root.suaratabrakan.start(0, 1);
keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
energi = energi - 5;
_root.carenergi = _root.carenergi - 10;
energi = energi - Math.abs(_root.char.speed + kec);
_root.char.speed = -_root.char.speed;
w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = _root.char.speed / 3;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = (-_root.char.speed) / 3;
speedy = (-_root.char.speed) / 3;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
arahputaran = _root.char.clip._rotation / 25;
speedx = _root.char.speed / 3;
speedy = (-_root.char.speed) / 3;
}
} else if ((Math.abs(speedx) + Math.abs(speedy)) >= 5) {
if (_root.char.clip.body.badan._currentframe < 10) {
_root.keyboard = 1;
_root.char.clip.body.badan.gotoAndPlay(35);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.energi = _root.energi - Math.abs(_root.char.speed + kec);
_root.char.speed = 0;
}
}
}
if (((sensor.hitTest(_root.mobil1) or sensor.hitTest(_root.mobil2)) or sensor.hitTest(_root.mobil3)) or sensor.hitTest(_root.mobil4)) {
keluar = 3;
}
}
if (keluar == 2) {
w++;
if (w >= 40) {
w = 0;
keluar = 1;
}
_rotation = (_rotation - arahputaran);
_x = (_x - speedx);
_y = (_y - speedy);
}
if (keluar == 3) {
_root.kejar(this, 5, this._x + 10, this._y - 10);
wb++;
if (wb > 30) {
wb = 0;
keluar = 1;
}
}
}
Instance of Symbol 847 MovieClip [peluru1] "pelurumobil0" in Frame 125
onClipEvent (load) {
kec = 12;
_rotation = (_root.char.clip.tangan._rotation + _root.char.clip._rotation);
rads = ((_root.char.clip.tangan._rotation + _root.char.clip._rotation) * 3.141593) / 180;
xfactor = Math.cos(rads);
yfactor = Math.sin(rads);
lvx = kec * xfactor;
lvy = kec * yfactor;
_x = (_root.game.centerx + (((40 * Math.cos(_root.char.clip.tangan._rotation)) * 3.141593) / 180));
_y = (_root.game.centery + (((40 * Math.sin(_root.char.clip.tangan._rotation)) * 3.141593) / 180));
}
onClipEvent (enterFrame) {
if (_name != "pelurumobil0") {
_visible = 1;
_x = (_x + lvx);
_y = (_y + lvy);
if ((((_x > 520) or (_x < 0)) or (_y < 0)) or (_y > 400)) {
removeMovieClip(this);
}
} else {
_visible = 0;
_x = -100;
_y = -200;
}
if (hitTest(_root.orang1) and (_root.orang1.stat != 3)) {
_root.orang1.stat = 3;
_root.orang1._rotation = -_root.orang1._rotation;
removeMovieClip(this);
_root.orang1.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang2) and (_root.orang2.stat != 3)) {
_root.orang2.stat = 3;
_root.orang2._rotation = -_root.orang2._rotation;
removeMovieClip(this);
_root.orang2.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang3) and (_root.orang3.stat != 3)) {
_root.orang3.stat = 3;
_root.orang3._rotation = -_root.orang3._rotation;
removeMovieClip(this);
_root.orang3.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.orang4) and (_root.orang4.stat != 3)) {
_root.orang4.stat = 3;
_root.totalpendudukditabrak++;
_root.orang4.ditabrak = 1;
_root.orang4._rotation = -_root.orang4._rotation;
removeMovieClip(this);
}
if (hitTest(_root.orang5) and (_root.orang5.stat != 3)) {
_root.orang5.stat = 3;
_root.orang5._rotation = -_root.orang5._rotation;
removeMovieClip(this);
_root.orang5.ditabrak = 1;
_root.totalpendudukditabrak++;
}
if (hitTest(_root.mobil1) and (_root.mobil1.keluar != 0)) {
_root.mobil1.energi = _root.mobil1.energi - 15;
removeMovieClip(this);
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar != 0)) {
_root.mobil2.energi = _root.mobil2.energi - 15;
removeMovieClip(this);
}
if (hitTest(_root.mobil3) and (_root.mobil3.keluar != 0)) {
_root.mobil3.energi = _root.mobil3.energi - 15;
removeMovieClip(this);
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar != 0)) {
_root.mobil4.energi = _root.mobil4.energi - 15;
removeMovieClip(this);
}
if (hitTest(_root.mobil5) and (_root.mobil5.keluar != 0)) {
_root.mobil5.energi = _root.mobil5.energi - 3;
removeMovieClip(this);
}
if (hitTest(_root.polisi) and (_root.polisi.keluar != 0)) {
_root.polisi.energi = _root.polisi.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.polisi1) and (_root.polisi1.keluar != 0)) {
_root.polisi1.energi = _root.polisi1.energi - 5;
removeMovieClip(this);
}
if (hitTest(_root.polisi2) and (_root.polisi2.keluar != 0)) {
_root.polisi2.energi = _root.polisi2.energi - 5;
removeMovieClip(this);
}
}
Instance of Symbol 1471 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (((_root.polisi.keluar == 1) or (_root.polisi1.keluar == 1)) or (_root.polisi2.keluar == 1)) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1472 MovieClip "flasher" in Frame 125
onClipEvent (load) {
this.swapDepths(9599);
}
Instance of Symbol 1474 MovieClip in Frame 125
onClipEvent (enterFrame) {
if (_root.aktif == 0) {
gotoAndStop (1);
} else {
play();
}
}
Instance of Symbol 1477 MovieClip in Frame 125
onClipEvent (load) {
wms = 0;
}
onClipEvent (enterFrame) {
if ((_root.naikmobil == 1) and (_root.aktif == 1)) {
if (Key.isDown(38) and (wms == 0)) {
wms = 1;
gotoAndPlay (2);
} else if (wms == 1) {
wms = 0;
gotoAndPlay (45);
}
} else {
gotoAndStop (1);
}
}
Symbol 62 MovieClip Frame 1
stop();
var tagctr = (random(55) + 1);
gotoAndStop(tagctr);
Symbol 63 MovieClip Frame 105
stop();
Instance of Symbol 81 MovieClip "mcNotice" in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 118 MovieClip Frame 39
stop();
if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
} else {
_root.mcTaglines._visible = false;
mcNotice._visible = true;
}
Symbol 119 MovieClip Frame 71
stop();
var fogsound:Sound = new Sound();
fogsound.attachSound("fogaudio");
fogsound.start(0, 1);
Symbol 126 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 147 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 168 Button
on (release, keyPress "<Space>") {
if (_root.teks2 != teks) {
_root.teks2 = teks;
} else {
play();
}
}
Symbol 172 Button
on (release) {
if (_root.score >= hargabeli) {
_root.score = _root.score - hargabeli;
_root.jumlahdrug++;
keterangan = "thanks dude! be carefull with this stuff";
} else {
keterangan = "check your points dude! you can't afford that";
}
}
Symbol 175 Button
on (release) {
if (_root.jumlahdrug > 0) {
_root.jumlahdrug--;
_root.score = _root.score + hargajual;
keterangan = "this is good stuff, where did you get it?";
} else {
keterangan = "you have nothing man! don't play with me";
}
}
Symbol 193 Button
on (release) {
gotoAndStop ("info");
}
Symbol 196 Button
on (release) {
gotoAndStop ("job");
}
Symbol 200 Button
on (release) {
gotoAndStop ("jobs");
}
Symbol 202 MovieClip [bar] Frame 1
_root.aktif = 0;
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
if (_root.naikmobil == 0) {
_root.char.clip.body.badan.gotoAndStop(1);
}
Symbol 202 MovieClip [bar] Frame 20
if (random(3) == 2) {
orang1 = 1;
} else {
orang1 = 0;
}
if (random(3) == 2) {
orang2 = 1;
} else {
orang2 = 0;
}
if (random(4) == 2) {
orang3 = 1;
} else {
orang3 = 0;
}
jumlahorang = (orang1 + orang2) + orang3;
Symbol 202 MovieClip [bar] Frame 36
stop();
_root.teks2 = "";
if (jumlahorang > 0) {
if (jumlahorang == 1) {
_root.tulis(("there is " + String(jumlahorang)) + " man in this bar. Click to talk with him", 0);
} else {
_root.tulis(("there are " + String(jumlahorang)) + " mans in this bar. Click to talk with him", 0);
}
} else {
_root.tulis("there are only customers in this bar", 0);
}
Instance of Symbol 149 MovieClip in Symbol 202 MovieClip [bar] Frame 36
onClipEvent (load) {
if (_parent.orang2 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("bonehead");
}
Instance of Symbol 151 MovieClip in Symbol 202 MovieClip [bar] Frame 36
onClipEvent (load) {
if (_parent.orang1 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("john");
}
Instance of Symbol 163 MovieClip in Symbol 202 MovieClip [bar] Frame 36
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("stogie");
}
Symbol 202 MovieClip [bar] Frame 39
stop();
teks = "Hey... what do you want? you need something?";
_root.tulis(teks, 0);
Symbol 202 MovieClip [bar] Frame 42
stop();
hargabeli = 100 + random(20);
hargajual = 80 + random(20);
keterangan = "what do you need?";
Symbol 202 MovieClip [bar] Frame 45
stop();
_root.teks2 = "";
_root.tulis(("Hello " + _root.nama) + " what do you need man?", 0);
Instance of Symbol 189 MovieClip in Symbol 202 MovieClip [bar] Frame 45
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 202 MovieClip [bar] Frame 48
stop();
Symbol 202 MovieClip [bar] Frame 52
stop();
_root.teks2 = "";
angka = random(40);
if (angka == 2) {
_root.tulis("i heard that Stoogie looking for you!", 0);
} else if (angka == 3) {
_root.tulis("go to behind the building near the sea shore, some one there sell some stuff with the low price", 0);
} else if (angka == 4) {
_root.tulis("i get one of the Cittybank access code. Try : CTY089", 0);
} else if (angka == 5) {
_root.tulis("i get one of the Cittybank access code. Try : AK47BS", 0);
} else if (angka == 6) {
_root.tulis("i get one of the Cittybank access code. Try : 34EROD", 0);
} else if (angka == 7) {
_root.tulis("i get one of the Cittybank access code. Try : WND456", 0);
} else if (angka == 8) {
_root.tulis("i get one of the Cittybank access code. Try : BANK77", 0);
} else if (angka == 9) {
_root.tulis("i heard some one want to kill you. You must be very carefull", 0);
} else if (angka == 10) {
if (_root.bobammo == 1) {
_root.tulis("Bob was arrested last night, you can't buy any ammo from him now", 0);
_root.bobammo = 0;
} else {
_root.tulis("Bob was free, you can get ammo supply now", 0);
_root.bobammo = 1;
}
} else if (angka == 11) {
_root.tulis(("Beware " + _root.nama) + " some one want to kill you", 0);
} else if (angka == 12) {
_root.tulis("Bruno have something for you", 0);
} else if (angka == 13) {
_root.tulis("Gangster from northside will make some deal tonight", 0);
} else if (angka == 27) {
_root.tulis("Becarefull with five-O sometime they act as a drug dealer", 0);
} else {
_root.tulis("i don't have any information that you need-go back later", 0);
}
Symbol 202 MovieClip [bar] Frame 55
stop();
_root.teks2 = "";
if (_root.misibebas == 1) {
_root.tulis("You can't apply another job. You still have another job now", 0);
} else {
angka = random(15);
if (angka == 3) {
_root.tulis("Deliver this stuff to my friend. He will pay you with some point", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 9;
_root.tujuany = 31;
_root.frame.arah._visible = 1;
_root.misi = 701;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 5) {
_root.tulis("Deliver this stuff to my client. He will pay you with some points", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 10;
_root.tujuany = 24;
_root.frame.arah._visible = 1;
_root.misi = 702;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 7) {
_root.tulis("Take this bomb and drop it at the target", 0);
_root.namamisi = "drop the bomb";
_root.tujuanx = 3;
_root.tujuany = 27;
_root.frame.arah._visible = 1;
_root.misi = 703;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 9) {
_root.tulis("Deliver this stuff to my client. He will pay you with some points", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 16;
_root.tujuany = 23;
_root.frame.arah._visible = 1;
_root.misi = 704;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 13) {
_root.tulis("Kill this man for me. He is at South Park", 0);
_root.namamisi = "kill the target";
_root.tujuanx = 8;
_root.tujuany = 28;
_root.frame.arah._visible = 1;
_root.misi = 705;
_root.waktumisi = 0;
_root.misibebas = 1;
} else {
_root.tulis("i don't have any job for you - go back later", 0);
}
}
Symbol 202 MovieClip [bar] Frame 60
stop();
_root.teks2 = "";
_root.tulis(("Hey... " + _root.nama) + " do you need something?", 0);
Instance of Symbol 189 MovieClip in Symbol 202 MovieClip [bar] Frame 60
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Instance of Symbol 163 MovieClip in Symbol 202 MovieClip [bar] Frame 60
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (mouseUp) {
if (hitTest(_xmouse, _ymouse, true)) {
_parent.gotoAndStop("stogie");
}
}
Symbol 202 MovieClip [bar] Frame 63
stop();
Instance of Symbol 163 MovieClip in Symbol 202 MovieClip [bar] Frame 63
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (mouseUp) {
if (hitTest(_xmouse, _ymouse, true)) {
_parent.gotoAndStop("stogie");
}
}
Symbol 202 MovieClip [bar] Frame 67
stop();
_root.teks2 = "";
if (_root.misibebas == 1) {
_root.tulis("You can't apply another job. You still have another job now", 0);
} else {
angka = random(20);
if (angka == 3) {
_root.tulis("Deliver this stuff to my friend. He will pay you with some points", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 11;
_root.tujuany = 2;
_root.frame.arah._visible = 1;
_root.misi = 706;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 5) {
_root.tulis(("Deliver this stuff to my client. Hurry" + _root.nama) + "!", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 5;
_root.tujuany = 13;
_root.frame.arah._visible = 1;
_root.misi = 707;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 7) {
_root.tulis("Take this stuff and drop it at the target", 0);
_root.namamisi = "drop the stuff";
_root.tujuanx = 17;
_root.tujuany = 20;
_root.frame.arah._visible = 1;
_root.misi = 708;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 13) {
_root.tulis("Kill this man for me. Becare full he have supports", 0);
_root.namamisi = "kill the target";
_root.tujuanx = 8;
_root.tujuany = 2;
_root.frame.arah._visible = 1;
_root.misi = 709;
_root.waktumisi = 0;
_root.misibebas = 1;
} else {
_root.tulis("i don't have any job for you - go back later", 0);
}
}
Instance of Symbol 163 MovieClip in Symbol 202 MovieClip [bar] Frame 67
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (mouseUp) {
if (hitTest(_xmouse, _ymouse, true)) {
_parent.gotoAndStop("stogie");
}
}
Symbol 202 MovieClip [bar] Frame 115
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 221 MovieClip Frame 1
stop();
Instance of Symbol 216 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (load) {
_yscale = _root.energi;
}
onClipEvent (enterFrame) {
_yscale = _root.energi;
}
Instance of Symbol 219 MovieClip in Symbol 221 MovieClip Frame 2
onClipEvent (load) {
_yscale = (_root.carenergi / 2.5);
}
onClipEvent (enterFrame) {
_yscale = (_root.carenergi / 2.5);
}
Symbol 229 Button
on (release) {
gotoAndStop ("repair");
}
Symbol 232 Button
on (release) {
gotoAndStop ("buynitro");
}
Symbol 233 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 241 Button
on (release) {
gotoAndStop ("masuk");
}
Symbol 245 Button
on (release) {
_root.score = _root.score - biayaperbaikan;
_root.carenergi = 500;
gotoAndPlay ("masuk");
}
Symbol 246 Button
on (release) {
if ((_root.score > harganitro) and (_root.nitro < 5)) {
_root.score = _root.score - harganitro;
_root.nitro++;
}
}
Symbol 257 Button
on (release) {
gotoAndStop ("masuk");
}
Symbol 259 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 260 Button
on (release) {
_root.pistol = 0;
_root.score = _root.score + hargabeli;
gotoAndPlay ("keluar");
}
Symbol 264 MovieClip [bengkel] Frame 1
_root.aktif = 0;
Symbol 264 MovieClip [bengkel] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey man, what can i do for you?", 0);
Instance of Symbol 189 MovieClip in Symbol 264 MovieClip [bengkel] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 264 MovieClip [bengkel] Frame 9
stop();
energimobil = Math.floor(_root.carenergi / 5);
Instance of Symbol 221 MovieClip "nyawa" in Symbol 264 MovieClip [bengkel] Frame 9
onClipEvent (load) {
gotoAndStop (2);
}
Symbol 264 MovieClip [bengkel] Frame 13
stop();
_root.teks2 = "";
if (_root.car.energi >= 500) {
_root.tulis("There is no damage in your car man", 0);
} else {
biayaperbaikan = (600 - (energimobil * 5)) + random(100);
if (_root.score > biayaperbaikan) {
_root.tulis(("The repair cost is " + String(biayaperbaikan)) + " points. Want to repair now?", 0);
} else {
_root.tulis(("The repair cost is " + String(biayaperbaikan)) + " points. You dont have enough points", 0);
}
}
Instance of Symbol 189 MovieClip in Symbol 264 MovieClip [bengkel] Frame 13
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 264 MovieClip [bengkel] Frame 16
if (_root.carenergi < 500) {
gotoAndStop ("perbaiki");
} else {
gotoAndStop ("masuk");
}
Symbol 264 MovieClip [bengkel] Frame 19
stop();
Symbol 264 MovieClip [bengkel] Frame 24
stop();
harganitro = 300 + (random(20) * 10);
Symbol 264 MovieClip [bengkel] Frame 29
stop();
hargabeli = 1000 + (random(10) * 100);
_root.tulis(("how about " + String(hargabeli)) + "points for you pistol?", 0);
Symbol 264 MovieClip [bengkel] Frame 33
stop();
_root.teks2 = "";
_root.tulis("Tell me if you have some gun, i'll buy it with the high price", 0);
Instance of Symbol 189 MovieClip in Symbol 264 MovieClip [bengkel] Frame 33
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 264 MovieClip [bengkel] Frame 37
_root.aktif = 1;
removeMovieClip(this);
Symbol 272 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 284 Button
on (release) {
if (_root.pistol == 0) {
if (_root.score >= hargabelipistol) {
_root.score = _root.score - hargabelipistol;
_root.pistol = 1;
keterangan = "thanks dude! be carefull with this stuff";
} else {
keterangan = "check your points dude! you can't afford that";
}
} else {
keterangan = "you already have a pistol!";
}
}
Symbol 291 Button
on (release) {
if (_root.mgun == 0) {
if (_root.score >= hargabelimgun) {
_root.score = _root.score - hargabelimgun;
_root.mgun = 1;
keterangan = "thanks dude! be carefull with this stuff";
} else {
keterangan = "check your points dude! you can't afford that";
}
} else {
keterangan = "you already have a machine gun!";
}
}
Symbol 294 Button
on (release) {
if (_root.pistolammo < 200) {
if (_root.score >= hargabelipistolammo) {
_root.score = _root.score - hargabelipistolammo;
_root.pistolammo = _root.pistolammo + 10;
keterangan = "thanks dude!";
} else {
keterangan = "check your points dude! you can't afford that";
}
} else {
keterangan = "you already have a maximum pistol ammo!";
}
}
Symbol 301 Button
on (release) {
if (_root.mgunammo < 500) {
if (_root.score >= hargabelimgunammo) {
_root.score = _root.score - hargabelimgunammo;
_root.mgunammo = _root.mgunammo + 10;
keterangan = "thanks dude!";
} else {
keterangan = "check your points dude! you can't afford that";
}
} else {
keterangan = "you already have a maximum machinegun ammo!";
}
}
Symbol 302 MovieClip [bobsenjata] Frame 1
_root.aktif = 0;
Symbol 302 MovieClip [bobsenjata] Frame 36
stop();
_root.teks2 = "";
_root.tulis("Hey, dude - what do you need", 0);
Instance of Symbol 189 MovieClip in Symbol 302 MovieClip [bobsenjata] Frame 36
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 302 MovieClip [bobsenjata] Frame 39
stop();
hargabelipistol = 1000 + (random(5) * 100);
hargabelimgun = 2500 + (random(5) * 100);
hargabelipistolammo = 100 + (random(5) * 10);
hargabelimgunammo = 500 + (random(5) * 10);
keterangan = "enjoy yourself with my stuff!";
Symbol 302 MovieClip [bobsenjata] Frame 82
_root.aktif = 1;
removeMovieClip(this);
Symbol 311 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
if ((_root.orang1.stat != 3) and (_root.orang1.keluar == 1)) {
_root.orang1.stat = 2;
}
if ((_root.orang2.stat != 3) and (_root.orang2.keluar == 1)) {
_root.orang2.stat = 2;
}
if ((_root.orang3.stat != 3) and (_root.orang3.keluar == 1)) {
_root.orang3.stat = 2;
}
if ((_root.orang4.stat != 3) and (_root.orang4.keluar == 1)) {
_root.orang4.stat = 2;
}
if ((_root.orang5.stat != 3) and (_root.orang5.keluar == 1)) {
_root.orang5.stat = 2;
}
Instance of Symbol 333 MovieClip in Symbol 334 MovieClip Frame 2
onClipEvent (load) {
if (random(10) == 3) {
play();
}
}
Instance of Symbol 334 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_root.pistolammo > 0) {
play();
}
}
Instance of Symbol 334 MovieClip in Symbol 337 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_root.mgunammo > 0) {
play();
}
}
Symbol 338 MovieClip Frame 1
stop();
Instance of Symbol 334 MovieClip in Symbol 344 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_root.pistolammo > 0) {
play();
}
}
Symbol 345 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Instance of Symbol 334 MovieClip in Symbol 349 MovieClip Frame 1
onClipEvent (mouseUp) {
if (_root.pistolammo > 0) {
play();
}
}
Symbol 350 MovieClip Frame 1
stop();
Instance of Symbol 338 MovieClip in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 345 MovieClip in Symbol 351 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 347 MovieClip in Symbol 351 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 350 MovieClip in Symbol 351 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 359 MovieClip Frame 1
stop();
Instance of Symbol 338 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 359 MovieClip Frame 9
gotoAndStop (1);
Symbol 359 MovieClip Frame 11
_root.aktif = 0;
Symbol 359 MovieClip Frame 30
stop();
_root.attachMovie("gameover", "gameover", 40000, {_x:260, _y:200});
Symbol 359 MovieClip Frame 50
gotoAndStop (1);
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 311 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
gotoAndStop (2);
} else if (Key.isDown(39)) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 311 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
gotoAndStop (2);
} else if (Key.isDown(39)) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
}
Symbol 360 MovieClip Frame 5
gotoAndStop (1);
Symbol 360 MovieClip Frame 9
gotoAndStop (1);
Symbol 360 MovieClip Frame 15
stop();
Symbol 362 MovieClip Frame 1
stop();
Instance of Symbol 334 MovieClip in Symbol 362 MovieClip Frame 3
onClipEvent (mouseUp) {
if ((_root.pistolammo > 0) or (_root.mgammo > 0)) {
play();
}
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 406 MovieClip [char] Frame 1
stop();
Instance of Symbol 362 MovieClip "tangan" in Symbol 406 MovieClip [char] Frame 1
onClipEvent (enterFrame) {
if ((_root.naikmobil == 1) and (_root.mgun == 1)) {
_visible = 1;
gotoAndStop(_root.posisikarakter);
dx = _root._xmouse - 260;
dy = _root._ymouse - 200;
radians = Math.atan(dy / dx);
if (dx > 0) {
_rotation = (((radians * 180) / 3.141593) - _root.char.clip._rotation);
} else {
_rotation = ((((radians * 180) / 3.141593) - _root.char.clip._rotation) + 180);
}
} else {
_visible = 0;
}
}
Instance of Symbol 365 MovieClip in Symbol 406 MovieClip [char] Frame 1
onClipEvent (enterFrame) {
if ((((_root.carenergi < 100) and (_currentframe == 1)) and (random(10) == 3)) and (_root.naikmobil == 1)) {
play();
}
}
Instance of Symbol 365 MovieClip in Symbol 406 MovieClip [char] Frame 1
onClipEvent (enterFrame) {
if ((((_root.carenergi < 150) and (_currentframe == 1)) and (random(10) == 3)) and (_root.naikmobil == 1)) {
play();
}
}
Symbol 406 MovieClip [char] Frame 2
_root.aktif = 0;
Symbol 406 MovieClip [char] Frame 41
_root.attachMovie("gameover", "gameover", 40000, {_x:260, _y:200});
_root.aktif = 0;
stop();
Symbol 414 MovieClip Frame 1
stop();
Symbol 416 Button
on (release) {
play();
}
Symbol 424 MovieClip [dragrace] Frame 1
_root.aktif = 0;
Symbol 424 MovieClip [dragrace] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey man! are you ready?", 0);
Instance of Symbol 414 MovieClip in Symbol 424 MovieClip [dragrace] Frame 3
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 424 MovieClip [dragrace] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 424 MovieClip [dragrace] Frame 7
stop();
_root.tulis("Lets race now, OK?", 0);
Instance of Symbol 414 MovieClip in Symbol 424 MovieClip [dragrace] Frame 7
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Symbol 424 MovieClip [dragrace] Frame 94
_root.dragrace = 3;
_root.aktif = 1;
removeMovieClip(this);
Symbol 429 MovieClip [dragracelose] Frame 1
_root.aktif = 0;
Symbol 429 MovieClip [dragracelose] Frame 31
stop();
_root.teks2 = "";
_root.tulis("Ohh man! you like a snail", 0);
Instance of Symbol 414 MovieClip in Symbol 429 MovieClip [dragracelose] Frame 31
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 429 MovieClip [dragracelose] Frame 31
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 429 MovieClip [dragracelose] Frame 37
stop();
_root.teks2 = "";
_root.tulis("You have to practice everyday. ha...ha....ha.....", 0);
Instance of Symbol 414 MovieClip in Symbol 429 MovieClip [dragracelose] Frame 37
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Symbol 429 MovieClip [dragracelose] Frame 41
_root.aktif = 1;
_root.frame.arah._visible = 0;
_root.misibebas = 0;
_root.namamisi = "";
_root.dragrace = 0;
_root.score = _root.score - 1000;
if (_root.score < 0) {
_root.score = 0;
}
removeMovieClip(this);
Symbol 433 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 434 Button
on (release) {
gotoAndStop ("informasi");
}
Symbol 436 MovieClip [dragracer] Frame 1
_root.aktif = 0;
_root.dragdriver = random(3) + 1;
Symbol 436 MovieClip [dragracer] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey man! wanna try my car in Drag racing game?", 0);
Instance of Symbol 414 MovieClip in Symbol 436 MovieClip [dragracer] Frame 3
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 436 MovieClip [dragracer] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 436 MovieClip [dragracer] Frame 5
if (_root.misibebas == 0) {
gotoAndStop ("ok");
} else {
play();
}
Symbol 436 MovieClip [dragracer] Frame 7
stop();
_root.teks2 = "";
_root.tulis("You still have a job huh! come again when you free", 0);
Instance of Symbol 414 MovieClip in Symbol 436 MovieClip [dragracer] Frame 7
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 436 MovieClip [dragracer] Frame 7
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 436 MovieClip [dragracer] Frame 8
gotoAndPlay ("keluar");
Symbol 436 MovieClip [dragracer] Frame 9
stop();
_root.tulis("i will give you 1000 points if you win!, wanna try huh?", 0);
Instance of Symbol 414 MovieClip in Symbol 436 MovieClip [dragracer] Frame 9
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Symbol 436 MovieClip [dragracer] Frame 13
stop();
_root.teks2 = "";
_root.tulis("OK then. i will wait you at Northen Road. Prepare your car dude!", 0);
_root.dragrace = 1;
_root.misibebas = 1;
_root.namamisi = "dragracing challenge";
Instance of Symbol 414 MovieClip in Symbol 436 MovieClip [dragracer] Frame 13
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 436 MovieClip [dragracer] Frame 13
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 436 MovieClip [dragracer] Frame 15
_root.aktif = 1;
_root.tujuanx = 3;
_root.tujuany = 4;
_root.frame.arah._visible = 1;
removeMovieClip(this);
Symbol 436 MovieClip [dragracer] Frame 17
_root.aktif = 1;
removeMovieClip(this);
Symbol 441 MovieClip [dragracewin] Frame 1
_root.aktif = 0;
Symbol 441 MovieClip [dragracewin] Frame 20
stop();
_root.teks2 = "";
_root.tulis("WOW you are fast! here 1000 points for the prize", 0);
Instance of Symbol 414 MovieClip in Symbol 441 MovieClip [dragracewin] Frame 20
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Instance of Symbol 189 MovieClip in Symbol 441 MovieClip [dragracewin] Frame 20
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 441 MovieClip [dragracewin] Frame 26
stop();
_root.teks2 = "";
_root.tulis("in the next race i will defeate you! ha...ha....ha.....", 0);
Instance of Symbol 414 MovieClip in Symbol 441 MovieClip [dragracewin] Frame 26
onClipEvent (load) {
gotoAndStop(_root.dragdriver);
}
Symbol 441 MovieClip [dragracewin] Frame 30
_root.aktif = 1;
_root.frame.arah._visible = 0;
_root.misibebas = 0;
_root.namamisi = "";
_root.dragrace = 0;
_root.score = _root.score + 1000;
removeMovieClip(this);
Symbol 456 Button
on (release) {
gotoAndPlay ("ulang");
}
Symbol 460 Button
on (release) {
play();
}
Symbol 461 MovieClip [gameover] Frame 1
_root.aktif = 0;
Symbol 461 MovieClip [gameover] Frame 30
stop();
Symbol 461 MovieClip [gameover] Frame 31
_root.score = 0;
_root.carenergi = 250;
_root.energi = 100;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datapistol[_root.gameno - 1] = 0;
datapistolammo[_root.gameno - 1] = 0;
datamgun[_root.gameno - 1] = 0;
datamgunammo[_root.gameno - 1] = 0;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
removeMovieClip(this);
_root.gotoAndStop("hapus");
Symbol 461 MovieClip [gameover] Frame 33
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = 0;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = 100;
datacarenergi[_root.gameno - 1] = 250;
datapistol[_root.gameno - 1] = 0;
datapistolammo[_root.gameno - 1] = 0;
datamgun[_root.gameno - 1] = 0;
datamgunammo[_root.gameno - 1] = 0;
if (_root.misi != 57) {
_root.misi = datamisi[_root.gameno - 1];
} else {
_root.misi = 55;
}
_root.energi = 100;
_root.carenergi = 250;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
_root.gotoAndStop("restart");
removeMovieClip(this);
Symbol 464 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 465 Button
on (release) {
gotoAndStop ("informasi");
}
Symbol 467 MovieClip [informan] Frame 1
_root.aktif = 0;
jenisorang = random(5) + 1;
Symbol 467 MovieClip [informan] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey man i have good information for you?", 0);
Instance of Symbol 414 MovieClip in Symbol 467 MovieClip [informan] Frame 3
onClipEvent (load) {
gotoAndStop(_parent.jenisorang);
}
Instance of Symbol 189 MovieClip in Symbol 467 MovieClip [informan] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 467 MovieClip [informan] Frame 9
stop();
hargabeli = 100 + (random(5) * 50);
_root.tulis(("how about " + String(hargabeli)) + " points for 1 information?", 0);
Instance of Symbol 414 MovieClip in Symbol 467 MovieClip [informan] Frame 9
onClipEvent (load) {
gotoAndStop(_parent.jenisorang);
}
Symbol 467 MovieClip [informan] Frame 13
stop();
_root.teks2 = "";
_root.score = _root.score - hargabeli;
if (_root.score < 0) {
_root.score = 0;
}
angka = random(30);
if (angka == 2) {
_root.tulis("i get one of the Cittybank access code. Try : AC67GH", 0);
} else if (angka == 3) {
_root.tulis("go to behind the building near the sea shore, some one there sell some stuff with the low price", 0);
} else if (angka == 4) {
_root.tulis("i get one of the Cittybank access code. Try : CTY089", 0);
} else if (angka == 5) {
_root.tulis("i get one of the Cittybank access code. Try : AK47BS", 0);
} else if (angka == 6) {
_root.tulis("i get one of the Cittybank access code. Try : 34EROD", 0);
} else if (angka == 7) {
_root.tulis("i get one of the Cittybank access code. Try : WND456", 0);
} else if (angka == 8) {
_root.tulis("i get one of the Cittybank access code. Try : BANK77", 0);
} else if (angka == 9) {
_root.tulis("i heard some one want to kill you. You must be very carefull", 0);
} else if (angka == 10) {
_root.tulis("i heard some one want to kill you. You must be very carefull", 0);
} else if (angka == 11) {
_root.tulis(("Beware " + _root.nama) + " some one want to kill you", 0);
} else if (angka == 12) {
_root.tulis("Bruno have something for you", 0);
} else if (angka == 13) {
_root.tulis("Gangster from Eastside will make some deal tonight", 0);
} else if (angka == 14) {
_root.tulis("Becarefull with five-O sometime they act as a drug dealer", 0);
} else if (angka == 15) {
_root.tulis("I give you secret code for Pertamini security system. The code is : PTXZGF", 0);
} else if (angka == 16) {
_root.tulis("i don't know what code is it (WWLRSD), i get it from my friend", 0);
} else if (angka == 17) {
_root.tulis("Try to write 'XDH89J' to get a Pertamini access", 0);
} else if (angka == 18) {
_root.tulis("take this drug pal! i don't need it. It's bad for our health", 0);
_root.jumlahdrug = _root.jumlahdrug + (random(10) + 1);
} else if (angka == 19) {
_root.tulis("Take this drugs man, you'll feel better", 0);
_root.energi = 75;
} else if (angka == 20) {
_root.tulis("take this ammo friend, i found it in the bin today", 0);
_root.pistolammo = _root.pistolammo + 50;
} else if (angka == 21) {
_root.tulis("when you enter the dragrace cup. Try to use 3 nitros per race", 0);
} else if (angka == 22) {
_root.tulis("try this code 'S112TU'", 0);
} else if (angka == 23) {
_root.tulis("thanks for the money dude, take this drugs", 0);
_root.jumlahdrug = _root.jumlahdrug + (random(30) + 2);
} else if (angka == 24) {
_root.tulis("i get one of the Cittybank access code. Try : GATE94", 0);
} else if (angka == 25) {
_root.tulis("i get one of the Cittybank access code. Try : ES7FOG", 0);
} else if (angka == 26) {
_root.tulis("i get one of the Cittybank access code. Try : GL1HLK", 0);
} else {
_root.tulis("don't trust any body dude, good bye", 0);
}
Instance of Symbol 414 MovieClip in Symbol 467 MovieClip [informan] Frame 13
onClipEvent (load) {
gotoAndStop(_parent.jenisorang);
}
Instance of Symbol 189 MovieClip in Symbol 467 MovieClip [informan] Frame 13
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 467 MovieClip [informan] Frame 17
_root.aktif = 1;
removeMovieClip(this);
Symbol 486 MovieClip Frame 1
stop();
Instance of Symbol 334 MovieClip in Symbol 491 MovieClip Frame 1
onClipEvent (mouseUp) {
play();
}
Symbol 492 MovieClip Frame 1
stop();
Symbol 496 Button
on (keyPress "<Space>") {
if (_root.teks2 != teks) {
_root.teks2 = teks;
} else {
play();
}
}
Symbol 506 MovieClip Frame 1
stop();
Symbol 507 MovieClip Frame 1
stop();
Instance of Symbol 442 MovieClip [empty] in Symbol 520 MovieClip [intro] Frame 1
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
_parent.gotoAndPlay("akhir");
}
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 152
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 156
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 160
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 164
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 168
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 168
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 172
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 172
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 176
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 176
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 180
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 180
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 184
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 184
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 188
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 188
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 192
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 192
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 196
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 196
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 200
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 200
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 204
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 204
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 208
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 208
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 212
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 212
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 216
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 216
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 220
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 220
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 224
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 224
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 228
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 228
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 232
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 232
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 236
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 236
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 240
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 241
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 244
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 248
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 520 MovieClip [intro] Frame 252
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 486 MovieClip in Symbol 520 MovieClip [intro] Frame 256
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Symbol 520 MovieClip [intro] Frame 335
stop();
teks = "Yo, Fool. Why do you have to park so close, I told you not to mess with me man!";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 341
stop();
teks = "Why you trippen for Dogg. We have to make sure we pick up Master G after he be released today, so just chill `aight";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 347
stop();
teks = "aight man. I think he is gonna be released in about a few minutes";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 353
stop();
teks = "Yeh. He gonna be real proud when he sees what we done with our hood";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 390
stop();
teks = "What the Hell was that? What you had for breakfast dogg?";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 396
stop();
teks = "That weren\u2019t me man. I think somming going down inside";
_root.tulis(teks, 0);
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 408
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 412
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 416
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 420
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 424
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 428
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 432
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 437
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Symbol 520 MovieClip [intro] Frame 438
stop();
teks = ("Come on " + _root.nama) + ". We gotta be quick";
_root.tulis(teks, 0);
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 440
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 444
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 520 MovieClip [intro] Frame 448
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 520 MovieClip [intro] Frame 452
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 350 MovieClip in Symbol 520 MovieClip [intro] Frame 453
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 338 MovieClip in Symbol 520 MovieClip [intro] Frame 457
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 345 MovieClip in Symbol 520 MovieClip [intro] Frame 461
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 347 MovieClip in Symbol 520 MovieClip [intro] Frame 465
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 338 MovieClip in Symbol 520 MovieClip [intro] Frame 468
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 520 MovieClip [intro] Frame 469
stop();
teks = "We need to find some wheels. We gotta get out of here quick!";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 474
stop();
teks = "Yeh. Once we got some wheels we can head back to our safe house and find out what is going down. Get some cash and find where Mr. Fat is at";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 479
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 484
stop();
teks = "Lets grab that car over there. It looks proper bling bling yo";
_root.tulis(teks, 0);
Symbol 520 MovieClip [intro] Frame 629
_root.aktif = 1;
removeMovieClip(this);
Instance of Symbol 523 MovieClip in Symbol 524 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.char.clip.body) and (_root.char.speed > 1)) and (_root.char.clip.body._currentframe != 15)) {
_root.char.clip.body.gotoAndStop(10);
}
}
Instance of Symbol 305 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 1;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 1;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 1;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 1;
}
if (this.hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 1;
}
if (this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
_root.mobil1.arah = 1;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
_root.mobil2.arah = 1;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
_root.mobil3.arah = 1;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
_root.mobil4.arah = 1;
}
}
Instance of Symbol 305 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 3;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 3;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 3;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 3;
}
if (this.hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 3;
}
if (this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
_root.mobil1.arah = 3;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
_root.mobil2.arah = 3;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
_root.mobil3.arah = 3;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
_root.mobil4.arah = 3;
}
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 3;
_root.mobil1._y = _root.mobil1._y + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 3;
_root.mobil2._y = _root.mobil2._y + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 3;
_root.mobil3._y = _root.mobil3._y + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 3;
_root.mobil4._y = _root.mobil4._y + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 3;
_root.mobil5._y = _root.mobil5._y + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 1;
_root.mobil1._y = _root.mobil1._y - 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 1;
_root.mobil2._y = _root.mobil2._y - 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 1;
_root.mobil3._y = _root.mobil3._y - 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 1;
_root.mobil4._y = _root.mobil4._y - 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 1;
_root.mobil5._y = _root.mobil5._y - 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Symbol 555 MovieClip Frame 1
stop();
Instance of Symbol 555 MovieClip "sensor" in Symbol 556 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14));
_rotation = random(360);
}
Instance of Symbol 305 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 2;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 2;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 2;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 2;
}
if (this.hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 2;
}
if (this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
_root.mobil1.arah = 2;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
_root.mobil2.arah = 2;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
_root.mobil3.arah = 2;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
_root.mobil4.arah = 2;
}
}
Instance of Symbol 305 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 4;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 4;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 4;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 4;
}
if (this.hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 4;
}
if (this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
_root.mobil1.arah = 4;
}
if (this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
_root.mobil2.arah = 4;
}
if (this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
_root.mobil3.arah = 4;
}
if (this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
_root.mobil4.arah = 4;
}
}
Instance of Symbol 524 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 2;
_root.mobil1._x = _root.mobil1._x + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 2;
_root.mobil2._x = _root.mobil2._x + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 2;
_root.mobil3._x = _root.mobil3._x + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 2;
_root.mobil4._x = _root.mobil4._x + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 2;
_root.mobil5._x = _root.mobil5._x + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 4;
_root.mobil1._x = _root.mobil1._x - 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 4;
_root.mobil2._x = _root.mobil2._x - 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 4;
_root.mobil3._x = _root.mobil3._x - 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 4;
_root.mobil4._x = _root.mobil4._x - 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 4;
_root.mobil5._x = _root.mobil5._x - 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 305 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 21;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 41;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 21;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 41;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 21;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 41;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 21;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 41;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 21;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 41;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 12;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 32;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 12;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 32;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 12;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 32;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 12;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 32;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 12;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 32;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 2;
_root.mobil1._x = _root.mobil1._x + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 2;
_root.mobil2._x = _root.mobil2._x + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 2;
_root.mobil3._x = _root.mobil3._x + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 2;
_root.mobil4._x = _root.mobil4._x + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 2;
_root.mobil5._x = _root.mobil5._x + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 3;
_root.mobil1._y = _root.mobil1._y + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 3;
_root.mobil2._y = _root.mobil2._y + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 3;
_root.mobil3._y = _root.mobil3._y + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 3;
_root.mobil4._y = _root.mobil4._y + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 3;
_root.mobil5._y = _root.mobil5._y + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 305 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 180;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 90;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 180;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 180;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 90;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 180;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 12;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 32;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 12;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 32;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 12;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 32;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 12;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 32;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 12;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 32;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 23;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 43;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 23;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 43;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 23;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 43;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 23;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 43;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 23;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 43;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 4;
_root.mobil1._x = _root.mobil1._x + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 4;
_root.mobil2._x = _root.mobil2._x + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 4;
_root.mobil3._x = _root.mobil3._x + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 4;
_root.mobil4._x = _root.mobil4._x + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 4;
_root.mobil5._x = _root.mobil5._x + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 3;
_root.mobil1._y = _root.mobil1._y + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 3;
_root.mobil2._y = _root.mobil2._y + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 3;
_root.mobil3._y = _root.mobil3._y + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 3;
_root.mobil4._y = _root.mobil4._y + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 3;
_root.mobil5._y = _root.mobil5._y + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 305 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 180;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = -90;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 180;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 23;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 43;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 23;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 43;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 23;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 43;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 23;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 43;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 23;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 43;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 14;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 34;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 14;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 34;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 14;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 34;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 14;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 34;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 14;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 34;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 4;
_root.mobil1._x = _root.mobil1._x + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 4;
_root.mobil2._x = _root.mobil2._x + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 4;
_root.mobil3._x = _root.mobil3._x + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 4;
_root.mobil4._x = _root.mobil4._x + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 4;
_root.mobil5._x = _root.mobil5._x + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 1;
_root.mobil1._y = _root.mobil1._y + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 1;
_root.mobil2._y = _root.mobil2._y + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 1;
_root.mobil3._y = _root.mobil3._y + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 1;
_root.mobil4._y = _root.mobil4._y + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 1;
_root.mobil5._y = _root.mobil5._y + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 305 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 21;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 41;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 21;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 41;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 21;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 41;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 21;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 41;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 21;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 41;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 14;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 34;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 14;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 34;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 14;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 34;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 14;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 34;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 14;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 34;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 2;
_root.mobil1._x = _root.mobil1._x + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 2;
_root.mobil2._x = _root.mobil2._x + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 2;
_root.mobil3._x = _root.mobil3._x + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 2;
_root.mobil4._x = _root.mobil4._x + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 2;
_root.mobil5._x = _root.mobil5._x + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1.sensor2) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 1;
_root.mobil1._y = _root.mobil1._y + 2;
}
if (hitTest(_root.mobil2.sensor2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 1;
_root.mobil2._y = _root.mobil2._y + 2;
}
if (hitTest(_root.mobil3.sensor2) and (_root.mobil3.keluar == 1)) {
_root.mobil3.arah = 1;
_root.mobil3._y = _root.mobil3._y + 2;
}
if (hitTest(_root.mobil4.sensor2) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 1;
_root.mobil4._y = _root.mobil4._y + 2;
}
if (hitTest(_root.mobil5.sensor2) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 1;
_root.mobil5._y = _root.mobil5._y + 2;
}
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 305 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 580 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 3;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 3;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 3;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 3;
}
if (this.hitTest(_root.mobil5.sensor) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 3;
}
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
}
}
Instance of Symbol 305 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 21;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 41;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 21;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 41;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 21;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 41;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 21;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 41;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 21;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 41;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 12;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 32;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 12;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 32;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 12;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 32;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 12;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 32;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 12;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 32;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 3;
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 3;
}
if (hitTest(_root.mobil3) and (_root.mobi3.keluar == 1)) {
_root.mobil3.arah = 3;
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 3;
}
}
Instance of Symbol 305 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 180;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 90;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 180;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 90;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 180;
}
}
Instance of Symbol 305 MovieClip in Symbol 583 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 180;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = -90;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 180;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = -90;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 180;
}
}
Instance of Symbol 305 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 2;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 2;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 2;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 2;
}
if (this.hitTest(_root.mobil5.sensor) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 2;
}
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
}
}
Instance of Symbol 305 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 21;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 41;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 21;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 41;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 21;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 41;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 21;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 41;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 21;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 41;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 14;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 34;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 14;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 34;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 14;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 34;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 14;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 34;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 14;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 34;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 2;
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 2;
}
if (hitTest(_root.mobil3) and (_root.mobi3.keluar == 1)) {
_root.mobil3.arah = 2;
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 2;
}
}
Instance of Symbol 305 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 180;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 4;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 4;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 4;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 4;
}
if (this.hitTest(_root.mobil5.sensor) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 4;
}
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
}
}
Instance of Symbol 305 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 12;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 32;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 12;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 32;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 12;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 32;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 12;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 32;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 12;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 32;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 23;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 43;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 23;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 43;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 23;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 43;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 23;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 43;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 23;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 43;
}
}
}
Instance of Symbol 524 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 4;
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 4;
}
if (hitTest(_root.mobil3) and (_root.mobi3.keluar == 1)) {
_root.mobil3.arah = 4;
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 4;
}
}
Instance of Symbol 305 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 180;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 23;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 43;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 23;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 43;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 23;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 43;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 23;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 43;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 2) {
_root.mobil5.belok = 23;
}
if (_root.mobil5.arah == 4) {
_root.mobil5.belok = 43;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 14;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 34;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 14;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 34;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 14;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 34;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 14;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 34;
}
}
if (hitTest(_root.mobil5) and (_root.mobil5.belok == 0)) {
if (_root.mobil5.arah == 1) {
_root.mobil5.belok = 14;
}
if (_root.mobil5.arah == 3) {
_root.mobil5.belok = 34;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.belok == 0)) {
_root.mobil1.arah = 1;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.belok == 0)) {
_root.mobil2.arah = 1;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.belok == 0)) {
_root.mobil3.arah = 1;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.belok == 0)) {
_root.mobil4.arah = 1;
}
if (this.hitTest(_root.mobil5.sensor) and (_root.mobil5.belok == 0)) {
_root.mobil5.arah = 1;
}
if (this.hitTest(_root.mobil1.sensor) and (_root.mobil1.keluar == 0)) {
_root.mobil1.keluar = 1;
}
if (this.hitTest(_root.mobil2.sensor) and (_root.mobil2.keluar == 0)) {
_root.mobil2.keluar = 1;
}
if (this.hitTest(_root.mobil3.sensor) and (_root.mobil3.keluar == 0)) {
_root.mobil3.keluar = 1;
}
if (this.hitTest(_root.mobil4.sensor) and (_root.mobil4.keluar == 0)) {
_root.mobil4.keluar = 1;
}
}
Instance of Symbol 524 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.keluar == 1)) {
_root.mobil1.arah = 1;
}
if (hitTest(_root.mobil2) and (_root.mobil2.keluar == 1)) {
_root.mobil2.arah = 1;
}
if (hitTest(_root.mobil3) and (_root.mobi3.keluar == 1)) {
_root.mobil3.arah = 1;
}
if (hitTest(_root.mobil4) and (_root.mobil4.keluar == 1)) {
_root.mobil4.arah = 1;
}
if (hitTest(_root.mobil5) and (_root.mobil5.keluar == 1)) {
_root.mobil5.arah = 1;
}
}
Instance of Symbol 305 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 589 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 21;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 41;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 21;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 41;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 21;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 41;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 21;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 41;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 12;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 32;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 12;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 32;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 12;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 32;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 12;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 32;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 2) {
_root.mobil1.belok = 23;
}
if (_root.mobil1.arah == 4) {
_root.mobil1.belok = 43;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 2) {
_root.mobil2.belok = 23;
}
if (_root.mobil2.arah == 4) {
_root.mobil2.belok = 43;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 2) {
_root.mobil3.belok = 23;
}
if (_root.mobil3.arah == 4) {
_root.mobil3.belok = 43;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 2) {
_root.mobil4.belok = 23;
}
if (_root.mobil4.arah == 4) {
_root.mobil4.belok = 43;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.mobil1) and (_root.mobil1.belok == 0)) {
if (_root.mobil1.arah == 1) {
_root.mobil1.belok = 14;
}
if (_root.mobil1.arah == 3) {
_root.mobil1.belok = 34;
}
}
if (hitTest(_root.mobil2) and (_root.mobil2.belok == 0)) {
if (_root.mobil2.arah == 1) {
_root.mobil2.belok = 14;
}
if (_root.mobil2.arah == 3) {
_root.mobil2.belok = 34;
}
}
if (hitTest(_root.mobil3) and (_root.mobil3.belok == 0)) {
if (_root.mobil3.arah == 1) {
_root.mobil3.belok = 14;
}
if (_root.mobil3.arah == 3) {
_root.mobil3.belok = 34;
}
}
if (hitTest(_root.mobil4) and (_root.mobil4.belok == 0)) {
if (_root.mobil4.arah == 1) {
_root.mobil4.belok = 14;
}
if (_root.mobil4.arah == 3) {
_root.mobil4.belok = 34;
}
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 0;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 0;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = -90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 180;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = -90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = -90;
}
}
Instance of Symbol 305 MovieClip in Symbol 592 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
_root.orang1._rotation = 90;
}
if (hitTest(_root.orang2)) {
_root.orang2._rotation = 180;
}
if (hitTest(_root.orang3)) {
_root.orang3._rotation = 90;
}
if (hitTest(_root.orang4)) {
_root.orang4._rotation = 180;
}
if (hitTest(_root.orang5)) {
_root.orang5._rotation = 90;
}
}
Symbol 621 MovieClip Frame 1
stop();
Instance of Symbol 608 MovieClip "lantai" in Symbol 621 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.naikmobil == 1) {
_root.flasher.play();
}
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 5;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 2)) and (_root.mobil1.barutabrakan == 0)) {
_root.mobil1.barutabrakan = 1;
_root.mobil1.speedx = (-_root.mobil1.speedx) / 2;
_root.mobil1.speedy = (-_root.mobil1.speedy) / 2;
}
if ((this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 2)) and (_root.mobil2.barutabrakan == 0)) {
_root.mobil2.barutabrakan = 1;
_root.mobil2.speedx = (-_root.mobil2.speedx) / 2;
_root.mobil2.speedy = (-_root.mobil2.speedy) / 2;
}
if ((this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 2)) and (_root.mobil3.barutabrakan == 0)) {
_root.mobil3.barutabrakan = 1;
_root.mobil3.speedx = (-_root.mobil3.speedx) / 2;
_root.mobil3.speedy = (-_root.mobil3.speedy) / 2;
}
if ((this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 2)) and (_root.mobil4.barutabrakan == 0)) {
_root.mobil4.barutabrakan = 1;
_root.mobil4.speedx = (-_root.mobil4.speedx) / 2;
_root.mobil4.speedy = (-_root.mobil4.speedy) / 2;
}
if ((this.hitTest(_root.polisi) and (_root.polisi.keluar == 2)) and (_root.polisi.barutabrakan == 0)) {
_root.polisi.keluar = 3;
}
if (this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if (this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if (this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if (this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if (this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
}
Instance of Symbol 608 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
}
Instance of Symbol 608 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
}
Instance of Symbol 608 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
}
Instance of Symbol 608 MovieClip in Symbol 635 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
}
Symbol 728 MovieClip Frame 1
stop();
Instance of Symbol 729 MovieClip "t3" in Symbol 730 MovieClip Frame 1
onClipEvent (load) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -100) {
yscl = -100;
}
if (yscl > 175) {
yscl = 175;
}
_yscale = yscl;
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -100) {
yscl = -100;
}
if (yscl > 175) {
yscl = 175;
}
_yscale = yscl;
}
Instance of Symbol 608 MovieClip "lantai" in Symbol 730 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil) and (_root.mobil.barutabrakan == 0)) {
_root.mobil.barutabrakan = 1;
gaya = _root.mobil.speed;
if (gaya < 0) {
_root.mobil.speed = -gaya;
} else {
_root.mobil.speed = -gaya;
}
}
}
Instance of Symbol 731 MovieClip "t3" in Symbol 732 MovieClip Frame 1
onClipEvent (load) {
dx = ((((_parent._parent._parent._parent._x - 320) + _parent._parent._parent._x) - _parent._x) - x) + 28;
dy = (((_parent._parent._parent._parent._y - 240) + _parent._parent._parent._y) - _parent._y) - _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
}
onClipEvent (enterFrame) {
dx = ((((_parent._parent._parent._parent._x - 320) + _parent._parent._parent._x) - _parent._x) - x) + 28;
dy = (((_parent._parent._parent._parent._y - 240) + _parent._parent._parent._y) - _parent._y) - _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
}
Instance of Symbol 608 MovieClip "lantai" in Symbol 732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil) and (_root.mobil.barutabrakan == 0)) {
_root.mobil.barutabrakan = 1;
gaya = _root.mobil.speed;
if (gaya < 0) {
_root.mobil.speed = -gaya;
} else {
_root.mobil.speed = -gaya;
}
}
}
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 2
_root.aktif = 0;
_root.char.clip.body.gotoAndStop(1);
_root.naikmobil = 1;
Instance of Symbol 506 MovieClip in Symbol 754 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 338 MovieClip in Symbol 754 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 507 MovieClip in Symbol 754 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 350 MovieClip in Symbol 754 MovieClip Frame 4
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 506 MovieClip in Symbol 754 MovieClip Frame 6
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 338 MovieClip in Symbol 754 MovieClip Frame 8
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 507 MovieClip in Symbol 754 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 345 MovieClip in Symbol 754 MovieClip Frame 12
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 506 MovieClip in Symbol 754 MovieClip Frame 14
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 347 MovieClip in Symbol 754 MovieClip Frame 16
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 507 MovieClip in Symbol 754 MovieClip Frame 18
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 338 MovieClip in Symbol 754 MovieClip Frame 21
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 506 MovieClip in Symbol 754 MovieClip Frame 22
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 754 MovieClip Frame 26
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 754 MovieClip Frame 30
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Symbol 754 MovieClip Frame 55
stop();
_root.attachMovie("skenario1a", "skenario", 15000, {_x:260, _y:200});
Symbol 759 MovieClip Frame 65
gotoAndPlay (2);
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 2
_root.aktif = 0;
Instance of Symbol 338 MovieClip in Symbol 763 MovieClip Frame 16
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 345 MovieClip in Symbol 763 MovieClip Frame 29
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 347 MovieClip in Symbol 763 MovieClip Frame 33
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 350 MovieClip in Symbol 763 MovieClip Frame 37
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 338 MovieClip in Symbol 763 MovieClip Frame 41
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 763 MovieClip Frame 42
_root.char.clip._rotation = 90;
_root.char.clip._visible = 1;
_root.char.clip.body.gotoAndStop(15);
_root.naikmobil = 0;
_root.misi = 25;
_root.aktif = 1;
stop();
Symbol 763 MovieClip Frame 43
stop();
Symbol 763 MovieClip Frame 44
_root.aktif = 0;
_root.char.clip._visible = 0;
Instance of Symbol 338 MovieClip in Symbol 763 MovieClip Frame 44
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 763 MovieClip Frame 77
stop();
_root.char.clip._rotation = -90;
_root.char.speed = 0;
_root.char.clip.body.gotoAndStop(1);
_root.naikmobil = 1;
_root.char.clip._visible = 1;
_root.misi = 27;
_root.aktif = 1;
Symbol 772 MovieClip Frame 1
stop();
Symbol 772 MovieClip Frame 50
_root.aktif = 0;
_root.attachMovie("gameover", "gameover", 50000, {_x:260, _y:200});
stop();
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 2
_root.aktif = 0;
_root.char.clip._visible = 0;
Instance of Symbol 338 MovieClip in Symbol 778 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 778 MovieClip Frame 26
stop();
_root.attachMovie("skenario6c", "skenario", 40000, {_x:260, _y:200});
_root.misi = 65;
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Instance of Symbol 555 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(14) + 1);
}
Symbol 791 MovieClip [jalan] Frame 1
stop();
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 1
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(50) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 558 MovieClip in Symbol 791 MovieClip [jalan] Frame 1
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "health + 50";
_root.frame.bonus.gotoAndPlay("manpower");
_root.energi = _root.energi + 50;
if (_root.energi > 100) {
_root.energi = 100;
}
}
}
Instance of Symbol 562 MovieClip in Symbol 791 MovieClip [jalan] Frame 1
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
} else {
_visible = 0;
}
} else if (random(400) == 10) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("carpower");
_root.keterangan = "car condition 100%";
_root.carenergi = 250;
}
}
Instance of Symbol 565 MovieClip in Symbol 791 MovieClip [jalan] Frame 1
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(70) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("rampage");
_root.keterangan = "kill 5 people in 10 seconds";
_root.rampage = 1;
_root.pendudukditabrak = 0;
}
}
Instance of Symbol 568 MovieClip in Symbol 791 MovieClip [jalan] Frame 1
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "nitro +1 press 'N' to use it ";
_root.frame.bonus.gotoAndPlay("nitro");
_root.nitro++;
}
}
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 2
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(50) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 568 MovieClip in Symbol 791 MovieClip [jalan] Frame 2
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "nitro +1 press 'N' to use it ";
_root.frame.bonus.gotoAndPlay("nitro");
_root.nitro++;
}
}
Instance of Symbol 565 MovieClip in Symbol 791 MovieClip [jalan] Frame 2
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(100) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("rampage");
_root.keterangan = "kill 5 people in 10 seconds";
_root.rampage = 1;
_root.pendudukditabrak = 0;
}
}
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 3
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(60) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 568 MovieClip in Symbol 791 MovieClip [jalan] Frame 5
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "nitro +1 press 'N' to use it ";
_root.frame.bonus.gotoAndPlay("nitro");
_root.nitro++;
}
}
Instance of Symbol 562 MovieClip in Symbol 791 MovieClip [jalan] Frame 6
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
} else {
_visible = 0;
}
} else if (random(400) == 10) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("carpower");
_root.keterangan = "car condition 100%";
_root.carenergi = 250;
}
}
Instance of Symbol 558 MovieClip in Symbol 791 MovieClip [jalan] Frame 8
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "health + 50";
_root.frame.bonus.gotoAndPlay("manpower");
_root.energi = _root.energi + 50;
if (_root.energi > 100) {
_root.energi = 100;
}
}
}
Instance of Symbol 568 MovieClip in Symbol 791 MovieClip [jalan] Frame 11
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "nitro +1 press 'N' to use it ";
_root.frame.bonus.gotoAndPlay("nitro");
_root.nitro++;
}
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 12
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 12
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 12
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 14
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 14
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(60) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 15
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 15
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 565 MovieClip in Symbol 791 MovieClip [jalan] Frame 16
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(60) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("rampage");
_root.keterangan = "kill 5 people in 10 seconds";
_root.rampage = 1;
_root.pendudukditabrak = 0;
}
}
Instance of Symbol 524 MovieClip in Symbol 791 MovieClip [jalan] Frame 18
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 90;
} else {
_root.orang1._rotation = -90;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 90;
} else {
_root.orang2._rotation = -90;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 90;
} else {
_root.orang3._rotation = -90;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 90;
} else {
_root.orang4._rotation = -90;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 90;
} else {
_root.orang5._rotation = -90;
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 791 MovieClip [jalan] Frame 18
onClipEvent (enterFrame) {
if (hitTest(_root.orang1)) {
if (_root.orang1.keluar == 0) {
_root.orang1.keluar = 1;
_root.orang1.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang1._rotation = 180;
} else {
_root.orang1._rotation = 0;
}
}
}
if (hitTest(_root.orang2)) {
if (_root.orang2.keluar == 0) {
_root.orang2.keluar = 1;
_root.orang2.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang2._rotation = 180;
} else {
_root.orang2._rotation = 0;
}
}
}
if (hitTest(_root.orang3)) {
if (_root.orang3.keluar == 0) {
_root.orang3.keluar = 1;
_root.orang3.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang3._rotation = 180;
} else {
_root.orang3._rotation = 0;
}
}
}
if (hitTest(_root.orang4)) {
if (_root.orang4.keluar == 0) {
_root.orang4.keluar = 1;
_root.orang4.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang4._rotation = 180;
} else {
_root.orang4._rotation = 0;
}
}
}
if (hitTest(_root.orang5)) {
if (_root.orang5.keluar == 0) {
_root.orang5.keluar = 1;
_root.orang5.jenis = random(13) + 1;
if (random(3) == 2) {
_root.orang5._rotation = 180;
} else {
_root.orang5._rotation = 0;
}
}
}
}
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 18
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(200) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 558 MovieClip in Symbol 791 MovieClip [jalan] Frame 18
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.keterangan = "health + 50";
_root.frame.bonus.gotoAndPlay("manpower");
_root.energi = _root.energi + 50;
if (_root.energi > 100) {
_root.energi = 100;
}
}
}
Instance of Symbol 565 MovieClip in Symbol 791 MovieClip [jalan] Frame 18
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(150) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("rampage");
_root.keterangan = "kill 5 people in 10 seconds";
_root.rampage = 1;
_root.pendudukditabrak = 0;
}
}
Instance of Symbol 730 MovieClip in Symbol 791 MovieClip [jalan] Frame 19
onClipEvent (load) {
bawah = 1;
wbawah = 33;
t3.jenis.gotoAndStop(wbawah);
}
Instance of Symbol 732 MovieClip in Symbol 791 MovieClip [jalan] Frame 19
onClipEvent (load) {
bawah = 1;
wbawah = 33;
t3.jenis.gotoAndStop(wbawah);
}
Instance of Symbol 608 MovieClip "lantai" in Symbol 791 MovieClip [jalan] Frame 21
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.mobil1) and (_root.mobil1.keluar >= 1)) and (_root.mobil1.barutabrakan == 0)) {
_root.mobil1.barutabrakan = 1;
_root.mobil1.speedx = (-_root.mobil1.speedx) / 4;
_root.mobil1.speedy = (-_root.mobil1.speedy) / 4;
}
if ((this.hitTest(_root.mobil2) and (_root.mobil2.keluar >= 1)) and (_root.mobil2.barutabrakan == 0)) {
_root.mobil2.barutabrakan = 1;
_root.mobil2.speedx = (-_root.mobil2.speedx) / 4;
_root.mobil2.speedy = (-_root.mobil2.speedy) / 4;
}
if ((this.hitTest(_root.mobil3) and (_root.mobil3.keluar >= 1)) and (_root.mobil3.barutabrakan == 0)) {
_root.mobil3.barutabrakan = 1;
_root.mobil3.speedx = (-_root.mobil3.speedx) / 4;
_root.mobil3.speedy = (-_root.mobil3.speedy) / 4;
}
if ((this.hitTest(_root.mobil4) and (_root.mobil4.keluar >= 1)) and (_root.mobil4.barutabrakan == 0)) {
_root.mobil4.barutabrakan = 1;
_root.mobil4.speedx = (-_root.mobil4.speedx) / 4;
_root.mobil4.speedy = (-_root.mobil4.speedy) / 4;
}
if ((this.hitTest(_root.polisi) and (_root.polisi.keluar >= 1)) and (_root.polisi.barutabrakan == 0)) {
_root.polisi.keluar = 2;
_root.polisi.barutabrakan = 1;
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
i = 1;
while (i <= 10) {
if (hitTest(_root["peluru" + i])) {
removeMovieClip(_root["peluru" + i]);
}
i++;
}
}
Instance of Symbol 556 MovieClip in Symbol 791 MovieClip [jalan] Frame 21
onClipEvent (load) {
if ((_root.misi >= 700) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
if (random(60) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 0;
}
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
if (jenisorang == 1) {
_root.attachMovie("penjualdrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 2) {
_root.attachMovie("pembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 3) {
_root.attachMovie("penjualpembelidrug", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 4) {
_root.attachMovie("penjualgun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 5) {
_root.attachMovie("pembeligun", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 6) {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
} else if (jenisorang == 7) {
_root.attachMovie("dragracer", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("informan", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 565 MovieClip in Symbol 791 MovieClip [jalan] Frame 21
onClipEvent (load) {
if (_root.misi >= 700) {
if (random(70) == 20) {
_visible = 1;
jenisorang = random(8) + 1;
} else {
_visible = 0;
}
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.dapatbonus = 1;
_root.frame.bonus.gotoAndPlay("rampage");
_root.keterangan = "kill 5 people in 10 seconds";
_root.rampage = 1;
_root.pendudukditabrak = 0;
}
}
Instance of Symbol 748 MovieClip in Symbol 791 MovieClip [jalan] Frame 25
onClipEvent (load) {
if (_root.misi >= 700) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_root.keterangan = "press ENTER to save mission";
if (Key.isDown(13)) {
_visible = 0;
_root.attachMovie("saveoption", "skenario", 40000, {_x:260, _y:200});
}
} else {
_root.keterangan = "";
}
}
Instance of Symbol 749 MovieClip in Symbol 791 MovieClip [jalan] Frame 26
onClipEvent (load) {
if (_root.misi >= 700) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (((_visible == 1) and sensor.hitTest(_root.char.clip)) and (_root.naikmobil == 1)) {
_root.keterangan = "press ENTER to enter garage";
if (Key.isDown(13)) {
_root.attachMovie("bengkel", "skenario", 40000, {_x:260, _y:200});
}
} else {
_root.keterangan = "";
}
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 26
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 26
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 26
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 752 MovieClip in Symbol 791 MovieClip [jalan] Frame 27
onClipEvent (load) {
if (((_root.misi >= 700) and (_root.misi < 1000)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.attachMovie("rumah", "skenario", 40000, {_x:260, _y:200});
}
}
Instance of Symbol 754 MovieClip in Symbol 791 MovieClip [jalan] Frame 35
onClipEvent (load) {
if (_root.misi == 0) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 0) {
_visible = 1;
} else {
_visible = 0;
}
if (((_root.misi == 0) and mobil.hitTest(_root.char.clip.body)) and (this._currentframe == 1)) {
_root.char.clip._visible = 0;
_root.char.speed = 0;
_root.char.clip._x = _root.char.clip._x + 5;
_root.char.clip._rotation = -90;
_root.tujuanx = 16;
_root.tujuany = 14;
removeMovieClip(_root.obyek1);
this.play();
}
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
if ((_root.misi == 1) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 1) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.tujuanx = 13;
_root.tujuany = 21;
_root.attachMovie("level1complete", "levelstatus", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 21) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 22;
_root.aktif = 1;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
if ((_root.misi == 42) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 42) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.tujuanx = 10;
_root.tujuany = 27;
_root.attachMovie("skenario4a", "levelstatus", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 43) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 44;
_root.aktif = 1;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
if ((_root.misi == 51) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 51) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario5a", "skenario", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 52) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 53;
_root.aktif = 1;
_root.tujuanx = 10;
_root.tujuany = 34;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
if ((_root.misi == 59) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 59) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.attachMovie("level5complete", "skenario", 40000, {_x:260, _y:200});
_root.misi = 591;
_root.aktif = 0;
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 61) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 62;
_root.aktif = 1;
_root.tujuanx = 14;
_root.tujuany = 23;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 36
onClipEvent (load) {
if (((_root.misi >= 700) and (_root.misi < 1000)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.attachMovie("bar", "skenario", 40000, {_x:260, _y:200});
}
}
Instance of Symbol 621 MovieClip in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
gotoAndStop(random(10));
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
if ((_root.misi == 22) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 22) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.tujuanx = 13;
_root.tujuany = 21;
_root.attachMovie("skenario2a", "levelstatus", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 23) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 24;
_root.aktif = 1;
_root.tujuanx = 11;
_root.tujuany = 6;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
if ((_root.misi == 211) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 211) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.misi = 212;
_root.attachMovie("level2complete", "skenario", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 31) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 301;
_root.aktif = 1;
_root.tujuanx = 4;
_root.tujuany = 12;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 37
onClipEvent (load) {
if (((_root.misi >= 700) and (_root.misi < 1000)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.attachMovie("musicbar", "skenario", 40000, {_x:260, _y:200});
}
}
Instance of Symbol 763 MovieClip in Symbol 791 MovieClip [jalan] Frame 38
onClipEvent (load) {
if (((_root.misi >= 24) and (_root.misi <= 27)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (((_root.misi >= 24) and (_root.misi <= 27)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (_root.misi == 24) {
if (((sensor.hitTest(_root.char.clip.sensor) and (_root.char.clip._rotation < -85)) and (_root.char.clip._rotation > -95)) and (_currentframe == 1)) {
_root.char.clip._visible = 0;
_root.char.speed = 0;
_root.frame.arah._visible = 0;
play();
}
}
if (_root.misi == 25) {
gotoAndStop (42);
}
if (_root.misi == 26) {
_root.frame.arah._visible = 1;
gotoAndStop (43);
if (this.hitTest(_root.char.clip) and (_currentframe == 43)) {
_root.char.clip._visible = 0;
_root.char.speed = 0;
_root.tujuanx = 12;
_root.tujuany = 10;
_root.misi = 27;
gotoAndPlay (44);
}
}
} else {
_visible = 0;
}
}
Instance of Symbol 772 MovieClip in Symbol 791 MovieClip [jalan] Frame 39
onClipEvent (load) {
if ((_root.misi >= 25) and (_root.misi <= 28)) {
_visible = 1;
} else {
_visible = 0;
}
skenariokeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi >= 25) and (_root.misi <= 28)) {
_visible = 1;
if ((_root.misi == 25) and (skenariokeluar == 0)) {
if (hitTest(_root.char.clip)) {
_root.attachMovie("skenario2b", "skenario", 40000, {_x:260, _y:200});
skenariokeluar = 1;
}
}
if ((hitTest(_root.char.clip) and (_root.char.clip.body._currentframe == 1)) and (_currentframe == 1)) {
play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 519 MovieClip in Symbol 791 MovieClip [jalan] Frame 39
onClipEvent (load) {
if (_root.misi == 25) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 39
onClipEvent (load) {
if ((_root.misi == 27) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 27) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario2c", "skenario", 40000, {_x:260, _y:200});
_root.misi = 28;
}
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 40
onClipEvent (load) {
if ((_root.misi == 29) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 29) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
if ((_root.carenergi + 5) < _root.energimisi2) {
_root.attachMovie("skenario2gagal", "skenario", 40000, {_x:260, _y:200});
} else {
_root.attachMovie("skenario2berhasil", "skenario", 40000, {_x:260, _y:200});
_root.tujuanx = 13;
_root.tujuany = 21;
}
_root.misi = 211;
}
} else {
_visible = 0;
}
}
Instance of Symbol 774 MovieClip in Symbol 791 MovieClip [jalan] Frame 41
onClipEvent (load) {
if (_root.misi == 321) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 321) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 41
onClipEvent (load) {
if ((_root.misi == 321) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 321) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario3d", "skenario", 40000, {_x:260, _y:200});
_root.misi = 322;
}
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 42
onClipEvent (load) {
if ((_root.misi == 44) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 44) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario4b", "skenario", 40000, {_x:260, _y:200});
_root.misi = 45;
}
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 43
onClipEvent (load) {
if ((_root.misi == 46) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 46) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario4c", "skenario", 40000, {_x:260, _y:200});
_root.misi = 47;
}
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 44
onClipEvent (load) {
if ((_root.misi == 53) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 53) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.tujuanx = 3;
_root.tujuany = 18;
_root.attachMovie("skenario5b", "levelstatus", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 442 MovieClip [empty] in Symbol 791 MovieClip [jalan] Frame 44
onClipEvent (load) {
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 54) and (misikeluar == 0)) {
misikeluar = 1;
_root.misi = 55;
_root.aktif = 1;
_root.tujuanx = 3;
_root.tujuany = 18;
}
}
Instance of Symbol 777 MovieClip in Symbol 791 MovieClip [jalan] Frame 44
onClipEvent (load) {
if (((_root.misi >= 700) and (_root.bobammo == 1)) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_root.keterangan = "press ENTER to enter Bob ammo";
if (Key.isDown(13)) {
_root.attachMovie("bobsenjata", "skenario", 40000, {_x:260, _y:200});
}
} else {
_root.keterangan = "";
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 45
onClipEvent (load) {
if ((_root.misi == 55) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 55) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario5c", "skenario", 40000, {_x:260, _y:200});
_root.misi = 56;
}
} else {
_visible = 0;
}
}
Instance of Symbol 759 MovieClip in Symbol 791 MovieClip [jalan] Frame 46
onClipEvent (load) {
if ((_root.misi == 62) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
misikeluar = 0;
}
onClipEvent (enterFrame) {
if ((_root.misi == 62) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (sensor.hitTest(_root.char.clip.sensor) and (misikeluar == 0)) {
misikeluar = 1;
_root.aktif = 0;
_root.char.speed = 0;
_root.attachMovie("skenario6a", "skenario", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Instance of Symbol 778 MovieClip in Symbol 791 MovieClip [jalan] Frame 46
onClipEvent (load) {
if ((_root.misi == 64) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_root.misi == 64) and (((_root.polisi.keluar == 0) and (_root.polisi1.keluar == 0)) and (_root.polisi2.keluar == 0))) {
_visible = 1;
if (hitTest(_root.char.clip) and (_currentframe == 1)) {
_root.aktif = 0;
_root.char.clip._visible = 0;
play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 779 MovieClip in Symbol 791 MovieClip [jalan] Frame 47
onClipEvent (load) {
if (_root.misi == 62) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 62) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 780 MovieClip in Symbol 791 MovieClip [jalan] Frame 48
onClipEvent (load) {
if (_root.misi == 62) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 62) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 781 MovieClip in Symbol 791 MovieClip [jalan] Frame 49
onClipEvent (load) {
if (_root.dragrace >= 1) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 763 MovieClip in Symbol 791 MovieClip [jalan] Frame 49
onClipEvent (load) {
if (_root.dragrace == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 1) {
_visible = 1;
if (((sensor.hitTest(_root.char.clip.sensor) and (_root.char.clip._rotation < 5)) and (_root.char.clip._rotation > -5)) and (_currentframe == 1)) {
_root.aktif = 1;
_root.char.clip._rotation = 0;
_root.attachMovie("dragrace", "skenario", 40000, {_x:260, _y:200});
_root.dragrace = 10;
_root.tujuanx = 16;
_root.tujuany = 4;
}
} else {
_visible = 0;
}
}
Instance of Symbol 783 MovieClip in Symbol 791 MovieClip [jalan] Frame 50
onClipEvent (load) {
if (_root.dragrace == 3) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dragrace == 3) {
_visible = 1;
} else {
_visible = 0;
}
if (_root.dragrace == 3) {
if (hitTest(_root.char.clip)) {
_root.dragrace = 4;
_root.attachMovie("dragracewin", "skenario", 40000, {_x:260, _y:200});
}
if (hitTest(_root.mobilmusuh)) {
_root.dragrace = 4;
_root.attachMovie("dragracelose", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 55
onClipEvent (load) {
if (_root.misi == 301) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 301) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 3;
_root.tujuany = 22;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 56
onClipEvent (load) {
if (_root.misi == 302) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 302) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 9;
_root.tujuany = 31;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 57
onClipEvent (load) {
if (_root.misi == 303) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 303) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 18;
_root.tujuany = 27;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 57
onClipEvent (load) {
if (_root.misi == 701) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 500 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(5) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 58
onClipEvent (load) {
if (_root.misi == 304) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 304) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 17;
_root.tujuany = 20;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 59
onClipEvent (load) {
if (_root.misi == 305) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 305) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 8;
_root.tujuany = 13;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 59
onClipEvent (load) {
if (_root.misi == 708) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 250 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(10) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 60
onClipEvent (load) {
if (_root.misi == 306) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 306) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 8;
_root.tujuany = 2;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 61
onClipEvent (load) {
if (_root.misi == 307) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 307) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 7;
_root.tujuany = 12;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 790 MovieClip in Symbol 791 MovieClip [jalan] Frame 61
onClipEvent (load) {
if (_root.misi == 709) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.obyek6._visible = 1;
_root.obyek6.keluar = 1;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 62
onClipEvent (load) {
if (_root.misi == 308) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 308) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 6;
_root.tujuany = 16;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 63
onClipEvent (load) {
if (_root.misi == 309) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 309) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 10;
_root.tujuany = 24;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 64
onClipEvent (load) {
if (_root.misi == 310) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 310) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 16;
_root.tujuany = 23;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 64
onClipEvent (load) {
if (_root.misi == 702) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 700 + random(200);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(8) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 65
onClipEvent (load) {
if (_root.misi == 311) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 311) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 8;
_root.tujuany = 28;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 65
onClipEvent (load) {
if (_root.misi == 704) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 500 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 66
onClipEvent (load) {
if (_root.misi == 312) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 312) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 3;
_root.tujuany = 27;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 790 MovieClip in Symbol 791 MovieClip [jalan] Frame 66
onClipEvent (load) {
if (_root.misi == 705) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.obyek5._visible = 1;
_root.obyek5.keluar = 1;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 67
onClipEvent (load) {
if (_root.misi == 313) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 313) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 5;
_root.tujuany = 13;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 67
onClipEvent (load) {
if (_root.misi == 703) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 500 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(5) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 68
onClipEvent (load) {
if (_root.misi == 314) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 314) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 11;
_root.tujuany = 2;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 68
onClipEvent (load) {
if (_root.misi == 707) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 1000;
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(5) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 69
onClipEvent (load) {
if (_root.misi == 315) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 315) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 18;
_root.tujuany = 6;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 789 MovieClip in Symbol 791 MovieClip [jalan] Frame 69
onClipEvent (load) {
if (_root.misi == 706) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if ((_visible == 1) and sensor.hitTest(_root.char.clip)) {
_visible = 0;
_root.bonuspoint = 250 + random(500);
_root.misibebas = 0;
_root.misi = 700;
_root.frame.arah._visible = 0;
_root.namamisi = "";
if (random(7) == 3) {
_root.polisi.keluar = 1;
} else {
_root.attachMovie("misicomplete", "skenario", 40000, {_x:260, _y:200});
}
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 70
onClipEvent (load) {
if (_root.misi == 316) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 316) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 12;
_root.tujuany = 1;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 71
onClipEvent (load) {
if (_root.misi == 317) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 317) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 8;
_root.tujuany = 0;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 72
onClipEvent (load) {
if (_root.misi == 318) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 318) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi++;
_root.tujuanx = 17;
_root.tujuany = 0;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 73
onClipEvent (load) {
if (_root.misi == 319) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 319) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.attachMovie("skenario3b", "skenario", 40000, {_x:260, _y:200});
_root.misi++;
_root.bonussound.play();
}
} else {
_visible = 0;
}
}
Instance of Symbol 788 MovieClip in Symbol 791 MovieClip [jalan] Frame 74
onClipEvent (load) {
if (_root.misi == 320) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (enterFrame) {
if (_root.misi == 320) {
_visible = 1;
if (this.hitTest(_root.char.clip.sensor)) {
_root.dapatparsel++;
_root.misi = 321;
_root.bonussound.play();
_root.attachMovie("skenario3c", "skenario", 40000, {_x:260, _y:200});
}
} else {
_visible = 0;
}
}
Symbol 801 Button
on (release, keyPress "<Space>") {
play();
}
Symbol 804 Button
on (release) {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.gamer = 25;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
play();
}
Symbol 809 MovieClip [level1complete] Frame 1
stop();
_root.aktif = 0;
teks = "Here we are. The safe house!";
_root.tulis(teks, 0);
Symbol 809 MovieClip [level1complete] Frame 5
stop();
teks = "Well done dude. We can wait here until the heat dies down.";
_root.tulis(teks, 0);
Symbol 809 MovieClip [level1complete] Frame 30
stop();
_root.submitbut._visible = 1;
Instance of Symbol 808 MovieClip in Symbol 809 MovieClip [level1complete] Frame 30
onClipEvent (load) {
waktu1misi = 1000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
bonus = ("TIME BONUS +" + String(waktu1misi - _root.waktumisi)) + " points";
} else {
bonus = "no time bonus";
}
}
Symbol 809 MovieClip [level1complete] Frame 54
_root.misi = 2;
_root.waktumisi = 0;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
_root.attachMovie("skenario2", "skenario", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 810 MovieClip [level2complete] Frame 1
_root.aktif = 0;
Symbol 810 MovieClip [level2complete] Frame 30
stop();
Instance of Symbol 808 MovieClip in Symbol 810 MovieClip [level2complete] Frame 30
onClipEvent (load) {
waktu1misi = 3000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
bonus = ("TIME BONUS +" + String(waktu1misi - _root.waktumisi)) + " points";
} else {
bonus = "no time bonus";
}
}
Symbol 810 MovieClip [level2complete] Frame 54
_root.misi = 3;
_root.waktumisi = 0;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
_root.attachMovie("skenario3", "skenario", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 811 MovieClip [level3complete] Frame 1
_root.aktif = 0;
Symbol 811 MovieClip [level3complete] Frame 30
stop();
Instance of Symbol 808 MovieClip in Symbol 811 MovieClip [level3complete] Frame 30
onClipEvent (load) {
waktu1misi = 10000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
bonus = ("TIME BONUS +" + String(waktu1misi - _root.waktumisi)) + " points";
} else {
bonus = "no time bonus";
}
}
Symbol 811 MovieClip [level3complete] Frame 54
_root.misi = 4;
_root.waktumisi4 = 1800;
_root.aktif = 1;
_root.frame.arah._visible = 0;
_root.waktumisi = 0;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
removeMovieClip(this);
Symbol 812 MovieClip [level4complete] Frame 1
_root.aktif = 0;
Symbol 812 MovieClip [level4complete] Frame 30
stop();
Instance of Symbol 808 MovieClip in Symbol 812 MovieClip [level4complete] Frame 30
onClipEvent (load) {
waktu1misi = 9000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
bonus = ("TIME BONUS +" + String(waktu1misi - _root.waktumisi)) + " points";
} else {
bonus = "no time bonus";
}
}
Symbol 812 MovieClip [level4complete] Frame 54
_root.misi = 5;
_root.char.clip._rotation = -90;
_root.char.clip._visible = 1;
_root.aktif = 1;
_root.tujuanx = 16;
_root.tujuany = 14;
_root.frame.arah._visible = 0;
_root.waktumisi5 = 1800;
_root.waktumisi = 0;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
removeMovieClip(this);
Symbol 813 MovieClip [level5complete] Frame 1
_root.aktif = 0;
Symbol 813 MovieClip [level5complete] Frame 30
stop();
Instance of Symbol 808 MovieClip in Symbol 813 MovieClip [level5complete] Frame 30
onClipEvent (load) {
waktu1misi = 6000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
bonus = ("TIME BONUS +" + String(waktu1misi - _root.waktumisi)) + " points";
} else {
bonus = "no time bonus";
}
}
Symbol 813 MovieClip [level5complete] Frame 54
_root.misi = 6;
_root.char.clip._rotation = -90;
_root.char.clip._visible = 1;
_root.waktumisi = 0;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
_root.attachMovie("skenario6", "skenario", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 814 Button
on (release) {
play();
}
Symbol 823 MovieClip [misicomplete] Frame 1
_root.aktif = 0;
Symbol 823 MovieClip [misicomplete] Frame 30
stop();
Instance of Symbol 819 MovieClip in Symbol 823 MovieClip [misicomplete] Frame 30
onClipEvent (load) {
waktu1misi = 4000;
if ((waktu1misi - _root.waktumisi) > 0) {
_root.score = _root.score + (waktu1misi - _root.waktumisi);
}
}
Symbol 823 MovieClip [misicomplete] Frame 54
removeMovieClip(this);
_root.aktif = 1;
Symbol 825 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 834 Button
on (release) {
if (random(5) == 4) {
gotoAndStop ("job");
} else {
gotoAndStop ("info");
}
}
Symbol 839 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 840 Button
on (release) {
_root.mgun = 0;
_root.score = _root.score + hargabeli;
gotoAndPlay ("keluar");
}
Symbol 842 Button
on (release) {
_root.pistol = 0;
_root.score = _root.score + hargabeli;
gotoAndPlay ("keluar");
}
Symbol 844 MovieClip [musicbar] Frame 1
_root.aktif = 0;
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
if (_root.naikmobil == 0) {
_root.char.clip.body.badan.gotoAndStop(1);
}
Symbol 844 MovieClip [musicbar] Frame 20
if (random(3) == 2) {
orang1 = 1;
} else {
orang1 = 0;
}
if (random(3) == 2) {
orang2 = 1;
} else {
orang2 = 0;
}
if (random(4) == 2) {
orang3 = 1;
} else {
orang3 = 0;
}
jumlahorang = (orang1 + orang2) + orang3;
Symbol 844 MovieClip [musicbar] Frame 36
stop();
_root.teks2 = "";
if (jumlahorang > 0) {
if (jumlahorang == 1) {
_root.tulis(("there is " + String(jumlahorang)) + " man in this bar. Click to talk with him", 0);
} else {
_root.tulis(("there are " + String(jumlahorang)) + " mans in this bar. Click to talk with him", 0);
}
} else {
_root.tulis("there are only customers in this bar", 0);
}
Instance of Symbol 411 MovieClip in Symbol 844 MovieClip [musicbar] Frame 36
onClipEvent (load) {
if (_parent.orang2 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("bonehead");
}
Instance of Symbol 827 MovieClip in Symbol 844 MovieClip [musicbar] Frame 36
onClipEvent (load) {
if (_parent.orang1 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("john");
}
Instance of Symbol 262 MovieClip in Symbol 844 MovieClip [musicbar] Frame 36
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
on (release) {
_parent.gotoAndStop("stogie");
}
Symbol 844 MovieClip [musicbar] Frame 39
stop();
_root.teks2 = "";
_root.tulis("Hey... do you have some stuff heh?", 0);
Instance of Symbol 189 MovieClip in Symbol 844 MovieClip [musicbar] Frame 39
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 844 MovieClip [musicbar] Frame 42
stop();
hargabeli = 100 + random(20);
hargajual = 80 + random(90);
keterangan = "what do you need?";
Symbol 844 MovieClip [musicbar] Frame 45
stop();
_root.teks2 = "";
_root.tulis(("Hey " + _root.nama) + " what do you need man?", 0);
Instance of Symbol 189 MovieClip in Symbol 844 MovieClip [musicbar] Frame 45
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 844 MovieClip [musicbar] Frame 48
stop();
Symbol 844 MovieClip [musicbar] Frame 52
stop();
_root.teks2 = "";
angka = random(40);
if (angka == 2) {
_root.tulis("i heard that Stoogie looking for you!", 0);
} else if (angka == 3) {
_root.tulis("go to behind the building near the sea shore, some one there sell some stuff with the low price", 0);
} else if (angka == 4) {
_root.tulis("i get one of the Cittybank access code. Try : CTY089", 0);
} else if (angka == 5) {
_root.tulis("i get one of the Cittybank access code. Try : AK47BS", 0);
} else if (angka == 6) {
_root.tulis("i get one of the Cittybank access code. Try : 34EROD", 0);
} else if (angka == 7) {
_root.tulis("i get one of the Cittybank access code. Try : WND456", 0);
} else if (angka == 8) {
_root.tulis("i get one of the Cittybank access code. Try : BANK77", 0);
} else if (angka == 9) {
_root.tulis("i heard some one want to kill you. You must be very carefull", 0);
} else if (angka == 10) {
if (_root.bobammo == 1) {
_root.tulis("Bob was arrested last night, you can't buy any ammo from him now", 0);
_root.bobammo = 0;
} else {
_root.tulis("Bob was free, you can get ammo supply now", 0);
_root.bobammo = 1;
}
} else if (angka == 11) {
_root.tulis(("Beware " + _root.nama) + " some one want to kill you", 0);
} else if (angka == 12) {
_root.tulis("Bruno have something for you", 0);
} else if (angka == 13) {
_root.tulis("Gangster from northside will make some deal tonight", 0);
} else if (angka == 27) {
_root.tulis("Becarefull with five-O sometime they act as a drug dealer", 0);
} else {
_root.tulis("i don't have any information that you need-go back later", 0);
}
Symbol 844 MovieClip [musicbar] Frame 55
stop();
_root.teks2 = "";
if (_root.misibebas == 1) {
_root.tulis("i don't have any information that you need-go back later", 0);
} else {
angka = random(40);
if (angka == 3) {
_root.tulis("Deliver this stuff to my friend. He will pay you with some point", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 9;
_root.tujuany = 31;
_root.frame.arah._visible = 1;
_root.misi = 701;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 5) {
_root.tulis("Deliver this stuff to my client. He will pay you with some point", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 10;
_root.tujuany = 24;
_root.frame.arah._visible = 1;
_root.misi = 702;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 7) {
_root.tulis("Take this bomb and drop at the target", 0);
_root.namamisi = "drop the bomb";
_root.tujuanx = 3;
_root.tujuany = 27;
_root.frame.arah._visible = 1;
_root.misi = 703;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 9) {
_root.tulis("Deliver this stuff to my client. He will pay you with some point", 0);
_root.namamisi = "deliver stuff";
_root.tujuanx = 16;
_root.tujuany = 23;
_root.frame.arah._visible = 1;
_root.misi = 704;
_root.waktumisi = 0;
_root.misibebas = 1;
} else if (angka == 13) {
_root.tulis("Kill this man for me. He usually found at South Park", 0);
_root.namamisi = "kill the target";
_root.tujuanx = 8;
_root.tujuany = 28;
_root.frame.arah._visible = 1;
_root.misi = 705;
_root.waktumisi = 0;
_root.misibebas = 1;
} else {
_root.tulis("i don't have any information that you need-go back later", 0);
}
}
Symbol 844 MovieClip [musicbar] Frame 60
stop();
_root.teks2 = "";
_root.tulis("I need some gun. You have it or not?", 0);
Instance of Symbol 189 MovieClip in Symbol 844 MovieClip [musicbar] Frame 60
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Instance of Symbol 262 MovieClip in Symbol 844 MovieClip [musicbar] Frame 60
onClipEvent (load) {
if (_parent.orang3 == 1) {
_visible = 1;
} else {
_visible = 0;
}
}
onClipEvent (mouseUp) {
if (hitTest(_xmouse, _ymouse, true)) {
_parent.gotoAndStop("stogie");
}
}
Symbol 844 MovieClip [musicbar] Frame 64
if (_root.mgun == 1) {
gotoAndStop ("belimgun");
} else if (_root.pistol == 1) {
gotoAndStop ("belipistol");
} else {
gotoAndStop ("gakpunya");
}
Symbol 844 MovieClip [musicbar] Frame 67
stop();
hargabeli = 2000 + (random(10) * 100);
_root.tulis(("how about " + String(hargabeli)) + " points for you machine gun?", 0);
Symbol 844 MovieClip [musicbar] Frame 73
stop();
hargabeli = 1000 + (random(10) * 100);
_root.tulis(("how about " + String(hargabeli)) + "points for you pistol?", 0);
Symbol 844 MovieClip [musicbar] Frame 77
stop();
_root.teks2 = "";
_root.tulis("Tell me if you have some gun, i'll buy it with the high price", 0);
Instance of Symbol 189 MovieClip in Symbol 844 MovieClip [musicbar] Frame 77
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 844 MovieClip [musicbar] Frame 121
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 849 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 850 Button
on (release) {
gotoAndStop ("yes");
}
Symbol 851 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 852 Button
on (release) {
if (_root.jumlahdrug > 0) {
_root.jumlahdrug--;
_root.score = _root.score + hargabeli;
keterangan = "this is good stuff, where did you get it?";
} else {
keterangan = "you have nothing man! don't play with me";
}
}
Symbol 857 MovieClip [pembelidrug] Frame 1
_root.aktif = 0;
Symbol 857 MovieClip [pembelidrug] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey dude you have some 'stuff'?", 0);
Instance of Symbol 189 MovieClip in Symbol 857 MovieClip [pembelidrug] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 857 MovieClip [pembelidrug] Frame 6
stop();
Symbol 857 MovieClip [pembelidrug] Frame 10
stop();
hargabeli = 70 + random(100);
keterangan = "how many that you have?";
Symbol 857 MovieClip [pembelidrug] Frame 21
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 860 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 861 Button
on (release) {
_root.mgun = 0;
_root.score = _root.score + hargabeli;
gotoAndPlay ("keluar");
}
Symbol 863 Button
on (release) {
_root.pistol = 0;
_root.score = _root.score + hargabeli;
gotoAndPlay ("keluar");
}
Symbol 865 MovieClip [pembeligun] Frame 1
_root.aktif = 0;
Symbol 865 MovieClip [pembeligun] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey man you have a gun?", 0);
Instance of Symbol 189 MovieClip in Symbol 865 MovieClip [pembeligun] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 865 MovieClip [pembeligun] Frame 6
if (_root.mgun == 1) {
gotoAndStop ("belimgun");
} else if (_root.pistol == 1) {
gotoAndStop ("belipistol");
} else {
gotoAndStop ("gakpunya");
}
Symbol 865 MovieClip [pembeligun] Frame 9
stop();
hargabeli = 2000 + (random(10) * 100);
_root.tulis(("how about " + String(hargabeli)) + " points for you machine gun?", 0);
Symbol 865 MovieClip [pembeligun] Frame 15
stop();
hargabeli = 1000 + (random(10) * 100);
_root.tulis(("how about " + String(hargabeli)) + "points for you pistol?", 0);
Symbol 865 MovieClip [pembeligun] Frame 19
stop();
_root.teks2 = "";
_root.tulis("Tell me if you have some gun, i'll buy it with the high price", 0);
Instance of Symbol 189 MovieClip in Symbol 865 MovieClip [pembeligun] Frame 19
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 865 MovieClip [pembeligun] Frame 23
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 867 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 868 Button
on (release) {
gotoAndStop ("yes");
}
Symbol 869 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 874 MovieClip [penjualdrug] Frame 1
_root.aktif = 0;
Symbol 874 MovieClip [penjualdrug] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey dude i have some good stuff, wanna check it?", 0);
Instance of Symbol 189 MovieClip in Symbol 874 MovieClip [penjualdrug] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 874 MovieClip [penjualdrug] Frame 6
stop();
_root.teks2 = "";
_root.tulis("yeah i found it!", 0);
Symbol 874 MovieClip [penjualdrug] Frame 10
stop();
hargabeli = 40 + random(100);
keterangan = "what do you need?";
Symbol 874 MovieClip [penjualdrug] Frame 21
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 881 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 889 MovieClip [penjualgun] Frame 1
_root.aktif = 0;
Symbol 889 MovieClip [penjualgun] Frame 2
stop();
_root.teks2 = "";
_root.tulis("Hey, dude - check my stuff", 0);
Instance of Symbol 189 MovieClip in Symbol 889 MovieClip [penjualgun] Frame 2
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 889 MovieClip [penjualgun] Frame 5
stop();
hargabelipistol = 750 + (random(10) * 100);
hargabelimgun = 2000 + (random(10) * 100);
hargabelipistolammo = 100 + (random(5) * 10);
hargabelimgunammo = 500 + (random(5) * 10);
keterangan = "enjoy yourself with my stuff!";
Symbol 889 MovieClip [penjualgun] Frame 8
_root.aktif = 1;
removeMovieClip(this);
Symbol 891 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 892 Button
on (release) {
gotoAndStop ("yes");
}
Symbol 893 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 899 MovieClip [penjualpembelidrug] Frame 1
_root.aktif = 0;
Symbol 899 MovieClip [penjualpembelidrug] Frame 3
stop();
_root.teks2 = "";
_root.tulis("Hey dude i have some good stuff, wanna check it?", 0);
Instance of Symbol 189 MovieClip in Symbol 899 MovieClip [penjualpembelidrug] Frame 3
onClipEvent (keyUp) {
if (Key.getCode() == 32) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 899 MovieClip [penjualpembelidrug] Frame 6
stop();
_root.teks2 = "";
_root.tulis("yeah i found it!", 0);
Symbol 899 MovieClip [penjualpembelidrug] Frame 10
stop();
hargabeli = 40 + random(100);
hargajual = 40 + random(100);
keterangan = "what do you need?";
Symbol 899 MovieClip [penjualpembelidrug] Frame 21
_root.aktif = 1;
_root.char.speed = 0;
removeMovieClip(this);
Symbol 902 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 907 Button
on (release) {
gotoAndStop ("hack");
}
Symbol 909 Button
on (release) {
gotoAndStop ("cittybank");
}
Symbol 910 Button
on (release) {
gotoAndStop ("pertamini");
}
Symbol 914 MovieClip Frame 217
stop();
Symbol 923 Button
on (release) {
if (kode == kodemasuk) {
gotoAndStop ("berhasil");
} else {
gotoAndStop ("gagal");
}
}
Symbol 927 MovieClip [rumah] Frame 1
_root.aktif = 0;
if (_root.naikmobil == 0) {
_root.char.clip.body.badan.gotoAndStop(1);
}
Symbol 927 MovieClip [rumah] Frame 3
kesempatan = 3;
Symbol 927 MovieClip [rumah] Frame 35
stop();
_root.tulis("what i have to do now?", 0);
Instance of Symbol 189 MovieClip in Symbol 927 MovieClip [rumah] Frame 35
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_parent.play();
}
}
onClipEvent (mouseUp) {
_parent.play();
}
Symbol 927 MovieClip [rumah] Frame 40
stop();
Symbol 927 MovieClip [rumah] Frame 45
stop();
teks = ("computer on.. login name :" + _root.nama) + " ---- mode hacking : true select hacking target : -------------------------------------- status : loading target ---------------------------------------------- select target with your mouse";
_root.tulis(teks, 0);
Symbol 927 MovieClip [rumah] Frame 50
stop();
angka = random(9);
if (angka == 1) {
kode = "CTY089";
} else if (angka == 2) {
kode = "AK47BS";
} else if (angka == 3) {
kode = "34EROD";
} else if (angka == 4) {
kode = "WND456";
} else if (angka == 5) {
kode = "BANK77";
} else if (angka == 6) {
kode = "GATE94";
} else if (angka == 7) {
kode = "ES7FOG";
} else if (angka == 8) {
kode = "GL1HMK";
} else if (angka == 9) {
kode = "WWLRSD";
} else {
kode = "999999";
}
asal = 1;
_root.tulis(("access > cittybank --------------------------------- codenumber> " + String(20 - angka)) + " ----------------------------- access denied... --------------------- secret code needed..... enter secret code>", 0);
Symbol 927 MovieClip [rumah] Frame 56
stop();
angka = random(3);
if (angka == 1) {
kode = "PTXZ6F";
} else if (angka == 2) {
kode = "XDH98J";
} else {
kode = "S112TU";
}
asal = 1;
_root.tulis(("access > pertamini oil company --------------------------------- codenumber> " + String((random(10) + 3) - angka)) + " ----------------------------- access denied... --------------------- secret code needed..... enter secret code>>", 0);
Symbol 927 MovieClip [rumah] Frame 63
stop();
uangdapat = 1000 + (random(100) * 100);
_root.tulis(("code accepted>........ you get " + String(uangdapat)) + " points. hacker position detected. ---------------------------------- automatic shutdown.......", 0);
_root.score = _root.score + uangdapat;
Symbol 927 MovieClip [rumah] Frame 71
stop();
_root.tulis("code rejected>......... ----- hacker position detected. ---------------------------------- automatic shutdown.......", 0);
Symbol 927 MovieClip [rumah] Frame 120
_root.aktif = 1;
_root.char.speed = 0;
if (random(5) == 3) {
_root.polisi.keluar = 1;
}
removeMovieClip(this);
Symbol 928 Button
on (release) {
gotoAndPlay ("keluar");
}
Symbol 936 Button
on (release) {
gotoAndPlay ("simpan");
}
Symbol 937 Button
on (release) {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.gamer = 25;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
gotoAndPlay ("keluar");
}
Symbol 938 MovieClip [saveoption] Frame 2
_root.aktif = 0;
Symbol 938 MovieClip [saveoption] Frame 30
stop();
Symbol 938 MovieClip [saveoption] Frame 32
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = Math.floor(_root.energi);
datacarenergi[_root.gameno - 1] = Math.floor(_root.carenergi);
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = _root.pistol;
datapistolammo[_root.gameno - 1] = _root.pistolammo;
datamgun[_root.gameno - 1] = _root.mgun;
datamgunammo[_root.gameno - 1] = _root.mgunammo;
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
Symbol 938 MovieClip [saveoption] Frame 55
_root.aktif = 1;
removeMovieClip(this);
Symbol 942 MovieClip [skenario1a] Frame 2
stop();
teks = "Hey... what are you doing!!! Get out from my car!!!";
_root.tulis(teks, 0);
Symbol 942 MovieClip [skenario1a] Frame 5
stop();
teks = ("Rar man. This is one specced up ride we got here " + _root.nama) + " Lets head down to the safe house";
_root.tulis(teks, 0);
Symbol 942 MovieClip [skenario1a] Frame 8
stop();
teks = "Yeh bro. I know. Lets step on it. I think those mofos over there are getting edgy man. Quick lets scat!";
_root.tulis(teks, 0);
Symbol 942 MovieClip [skenario1a] Frame 12
_root.misi = 1;
_root.char.clip._visible = 1;
_root.char.clip._rotation = -90;
_root.char.clip.body.gotoAndStop(1);
_root.naikmobil = 1;
_root.aktif = 1;
removeMovieClip(this);
Symbol 948 MovieClip [skenario2] Frame 1
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
_root.aktif = 0;
Symbol 948 MovieClip [skenario2] Frame 36
stop();
teks = "Ok man. We should be able to lie on the low low for a bit. Gotta wait for the boss man to ya know what I mean!";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 39
stop();
teks = "Hey dude. Thanks for letting me ride with you after our breakout. I\u2019m sure I can work for your boss and we can make some cash";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 43
stop();
teks = "Hey, by the way, where is the boss man at, I thought you said he gonna be here?";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 48
stop();
teks = "Yeh yeh!. Why you trippen fo\u2019? We gonna go meet him personally at one of his bars";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 53
stop();
teks = "Ok, its all cool. Lets go see him but I\u2019m driving ya hear";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 56
stop();
teks = "So we are going to meet the boss huh. Whereabouts is he?";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 60
stop();
teks = "I told you man. He is at his Joo Joo Music Bar man, lets get going";
_root.tulis(teks, 0);
Symbol 948 MovieClip [skenario2] Frame 100
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 21;
removeMovieClip(this);
Symbol 962 MovieClip [skenario2a] Frame 1
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.aktif = 0;
Symbol 962 MovieClip [skenario2a] Frame 3
stop();
teks = "Here we are. The Music Caf\u00E9. Lets go in and I will introduce you to the Boss man.";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 6
stop();
teks = "Alright man";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 45
stop();
teks = "Hey Boss. I broke out of Jail with my friend here " + _root.nama;
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 48
stop();
teks = "Bone Head you stupid idiot. Who asked you to bring other people to our yard?";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 51
stop();
teks = "He helped me escaped. This cat here is looking for some work to pay back some of the favours I did him in the joint. Give him a chance";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 55
stop();
teks = "Yeh. We got hitched up inside and I figured I could work for you round these parts to earn you some respect and show you my loyalty";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 58
stop();
teks = "Yeh, He wants to work for us Boss. I say we give him a chance to prove himself";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 62
stop();
teks = ("Aight, listen up here fools. I will give this " + _root.nama) + " a chance";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 65
stop();
teks = "Your first mission is to drop off a very sensitive and fragile package.";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 68
stop();
teks = "I want you to take my Grandmother to her Bingo Club, got it?";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 71
stop();
teks = _root.nama + " She is precious cargo. So take it easy with your wheels. We don\u2019t want you to damage the old goods";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 74
stop();
teks = "Yeh sure. I shouldn\u2019t drive fast and bingo club\u2026 Got it boss";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 78
stop();
teks = "Remember, don\u2019t drive to fast. If anything happens, your ass is mine";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 81
stop();
teks = "Oh and she is at the park. Pick her up from there!";
_root.tulis(teks, 0);
Symbol 962 MovieClip [skenario2a] Frame 125
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 23;
removeMovieClip(this);
Symbol 972 MovieClip [skenario2b] Frame 36
stop();
teks = "Hi Mrs. I\u2019m here to take you to the Bingo Club";
_root.tulis(teks, 0);
Symbol 972 MovieClip [skenario2b] Frame 39
stop();
teks = "oohhh.. who are you? So Stoogie sent you here";
_root.tulis(teks, 0);
Symbol 972 MovieClip [skenario2b] Frame 43
stop();
teks = "Yeah.. oh i mean yes";
_root.tulis(teks, 0);
Symbol 972 MovieClip [skenario2b] Frame 48
stop();
teks = "where is your car? can you drive your car here, please? ";
_root.tulis(teks, 0);
Symbol 972 MovieClip [skenario2b] Frame 53
stop();
teks = "Ok, just wait here";
_root.tulis(teks, 0);
Symbol 972 MovieClip [skenario2b] Frame 91
_root.misi = 26;
removeMovieClip(this);
Symbol 980 MovieClip [skenario2berhasil] Frame 1
_root.aktif = 0;
Symbol 980 MovieClip [skenario2berhasil] Frame 36
stop();
teks = "here we are, Bingo club ";
_root.tulis(teks, 0);
Symbol 980 MovieClip [skenario2berhasil] Frame 39
stop();
teks = ("Thanks " + _root.nama) + ", you are good driver!";
_root.tulis(teks, 0);
Symbol 980 MovieClip [skenario2berhasil] Frame 43
stop();
teks = "thank, i have to leave now. Nice to meet you";
_root.tulis(teks, 0);
Symbol 980 MovieClip [skenario2berhasil] Frame 81
_root.misi = 211;
_root.char.clip._rotation = -90;
_root.clip._visible = 1;
_root.aktif = 1;
_root.frame.arah._visible = 1;
removeMovieClip(this);
Symbol 984 MovieClip [skenario2c] Frame 36
stop();
teks = "can we go now?";
_root.tulis(teks, 0);
Symbol 984 MovieClip [skenario2c] Frame 39
stop();
teks = "Yes, take me to the bingo club";
_root.tulis(teks, 0);
Symbol 984 MovieClip [skenario2c] Frame 43
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 984 MovieClip [skenario2c] Frame 81
_root.misi = 29;
_root.char.clip._rotation = -90;
_root.clip._visible = 1;
_root.energimisi2 = _root.carenergi;
_root.aktif = 1;
_root.frame.arah._visible = 1;
_root.tujuanx = 4;
_root.tujuany = 24;
removeMovieClip(this);
Symbol 988 MovieClip [skenario2gagal] Frame 1
_root.aktif = 0;
Symbol 988 MovieClip [skenario2gagal] Frame 36
stop();
teks = "here we are, Bingo club ";
_root.tulis(teks, 0);
Symbol 988 MovieClip [skenario2gagal] Frame 39
stop();
teks = "ohhh...boy you drive worse than Stogie! i feel sick";
_root.tulis(teks, 0);
Symbol 988 MovieClip [skenario2gagal] Frame 43
stop();
teks = "ohh.. i am sorry";
_root.tulis(teks, 0);
Symbol 988 MovieClip [skenario2gagal] Frame 81
_root.attachMovie("gameover", "gameover", 50000, {_x:260, _y:200});
removeMovieClip(this);
Symbol 1004 MovieClip [skenario3] Frame 1
_root.aktif = 0;
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.aktif = 0;
Symbol 1004 MovieClip [skenario3] Frame 37
stop();
teks = ("Hey " + _root.nama) + "! welcome back";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 41
stop();
teks = "Hey Boss";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 44
stop();
teks = "How was your mission. I heard good things about you";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 47
stop();
teks = "Yeh. It was easy. No problem";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 51
stop();
teks = "Oh yeah. So She didn't give you any trouble!. Good";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 53
stop();
teks = "You have proved your self. But i still don't trust you!";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 57
stop();
teks = "We had a bit problem with our import of 'stuff'";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 62
stop();
teks = "'stuff'! yeah i got it";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 66
stop();
teks = "one of our delivery boys was getting hassled by the five-O (cops). He had to dump and run";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 69
stop();
teks = "the thing is, our 'stuff' has been scattered around the city ";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 72
stop();
teks = "oh.. thats messed up Boss";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 75
stop();
teks = "Yeh. You get them back and quick. we got a do a deal tonight with the mexicans";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 78
stop();
teks = "Now! get out from my face";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 121
stop();
teks = "Hey, you're the new help here, right?";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 125
stop();
teks = "Yeah, who are you? and what do you want?";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 129
stop();
teks = "easy man, I am Luke- I will help you find the missing drugs";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 132
stop();
teks = "really, how?";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 136
stop();
teks = "just follow the arrows, and you'll find it ";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 140
stop();
teks = "OK. I gotta run";
_root.tulis(teks, 0);
Symbol 1004 MovieClip [skenario3] Frame 147
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 31;
_root.dapatparcel = 0;
_root.waktumisi3 = 9;
removeMovieClip(this);
Symbol 1011 MovieClip [skenario3b] Frame 1
_root.aktif = 0;
Symbol 1011 MovieClip [skenario3b] Frame 5
stop();
teks = "............";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 9
stop();
teks = (" ....... " + _root.nama) + " you there! hey i got some bad news for you";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 12
stop();
teks = "what?";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 16
stop();
teks = " Listen-the last package is missing";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 18
stop();
teks = "so you have to find it by yourself... .... ......";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 20
stop();
teks = "its so.me.... where near the we...t of the mus..c b..r...";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 23
stop();
teks = "Luke..luke.. you still there .... .... ... ahh crap, where the hell is it?";
_root.tulis(teks, 0);
Symbol 1011 MovieClip [skenario3b] Frame 27
_root.aktif = 1;
_root.frame.arah._visible = 0;
removeMovieClip(this);
Symbol 1017 MovieClip [skenario3c] Frame 1
_root.aktif = 0;
Symbol 1017 MovieClip [skenario3c] Frame 5
stop();
teks = "............";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 9
stop();
teks = _root.nama + " you found it!";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 12
stop();
teks = "yeah i got it!";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 16
stop();
teks = "cool, now you have to go to south beach, The Boss will see you there";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 18
stop();
teks = "hurry up man!";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 20
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1017 MovieClip [skenario3c] Frame 27
_root.aktif = 1;
_root.frame.arah._visible = 1;
_root.tujuanx = 17;
_root.tujuany = 35;
removeMovieClip(this);
Symbol 1024 MovieClip [skenario3d] Frame 1
_root.misi = 234;
_root.char.clip._visible = 1;
_root.aktif = 0;
Symbol 1024 MovieClip [skenario3d] Frame 37
stop();
teks = ("Good job " + _root.nama) + "! I'm proud of you";
_root.tulis(teks, 0);
Symbol 1024 MovieClip [skenario3d] Frame 41
stop();
teks = "thanks Boss. Anything else that can I do?";
_root.tulis(teks, 0);
Symbol 1024 MovieClip [skenario3d] Frame 44
stop();
teks = "Not now... but I have a lot of work for you later";
_root.tulis(teks, 0);
Symbol 1024 MovieClip [skenario3d] Frame 47
stop();
teks = "take this mobile phone, . I'll call you later";
_root.tulis(teks, 0);
Symbol 1024 MovieClip [skenario3d] Frame 88
_root.attachMovie("level3complete", "skenario", 40000, {_x:260, _y:200});
removeMovieClip(this);
Symbol 1029 MovieClip [skenario4] Frame 1
_root.aktif = 0;
Symbol 1029 MovieClip [skenario4] Frame 5
stop();
teks = "............";
_root.tulis(teks, 0);
Symbol 1029 MovieClip [skenario4] Frame 9
stop();
teks = _root.nama + " hey come to The Bar. I have a job for you";
_root.tulis(teks, 0);
Symbol 1029 MovieClip [skenario4] Frame 12
stop();
teks = "OK Boss, I'll be there in 2 minutes";
_root.tulis(teks, 0);
Symbol 1029 MovieClip [skenario4] Frame 16
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1029 MovieClip [skenario4] Frame 21
_root.aktif = 1;
_root.tujuanx = 16;
_root.tujuany = 14;
_root.frame.arah._visible = 1;
_root.misi = 42;
removeMovieClip(this);
Symbol 1041 MovieClip [skenario4a] Frame 1
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
_root.aktif = 0;
Symbol 1041 MovieClip [skenario4a] Frame 36
stop();
teks = _root.nama + " where the hell have you been?";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 39
stop();
teks = "Whass up Boss. How did your deal go? ";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 42
stop();
teks = "The deal went sour. Those stinkin mexicans tried to pull a fast one. Can you believe it?";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 45
stop();
teks = "Mexicans.... what can you expect? Can't trust 'em";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 48
stop();
teks = "Yeh.well. we didn't lose nothing. But you gotta help me get some cash. Take Bonehead with you";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 51
stop();
teks = "No worries, I know just the thing";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 54
stop();
teks = "we need to get it quckly and don't leave to much of a mess";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 97
stop();
teks = _root.nama + " now we'll rob the bank. Drop me in front of the bank";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 100
stop();
teks = "I get it man. You can trust me";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 104
stop();
teks = "remember dont do anything stupid, We dont want any Cops after us";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 108
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1041 MovieClip [skenario4a] Frame 111
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 43;
removeMovieClip(this);
Symbol 1045 Button
on (keyPress "<Space>") {
_root.teks2 = teks;
play();
}
Symbol 1049 MovieClip Frame 7
gotoAndPlay (1);
Symbol 1051 MovieClip [skenario4b] Frame 36
stop();
_root.teks2 = "";
_root.tulis("wait here while I do my thing", 0);
Symbol 1051 MovieClip [skenario4b] Frame 40
stop();
_root.teks2 = "";
_root.tulis("OK", 0);
Symbol 1051 MovieClip [skenario4b] Frame 103
stop();
teks = "quick lets get out from here";
_root.tulis(teks, 0);
Symbol 1051 MovieClip [skenario4b] Frame 106
stop();
teks = "drive to the beach as fast as you can Jack, then drop me of there";
_root.tulis(teks, 0);
Symbol 1051 MovieClip [skenario4b] Frame 109
stop();
teks = "we have to lose the cops before we can go to the meeting point";
_root.tulis(teks, 0);
Symbol 1051 MovieClip [skenario4b] Frame 114
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1051 MovieClip [skenario4b] Frame 156
_root.misi = 46;
_root.char.clip._rotation = 0;
_root.char.clip._visible = 1;
_root.aktif = 1;
_root.tujuanx = 18;
_root.tujuany = 35;
removeMovieClip(this);
Symbol 1054 MovieClip [skenario4c] Frame 36
stop();
teks = "Yeh. We did it";
_root.tulis(teks, 0);
Symbol 1054 MovieClip [skenario4c] Frame 39
stop();
teks = ("we lost the cops and got the cash. " + _root.nama) + " I'll meet you back at the bar later... there is something I gotta do";
_root.tulis(teks, 0);
Symbol 1054 MovieClip [skenario4c] Frame 42
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1054 MovieClip [skenario4c] Frame 81
_root.attachMovie("level4complete", "levelstatus", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 1057 MovieClip [skenario4gagal] Frame 1
_root.aktif = 0;
Symbol 1057 MovieClip [skenario4gagal] Frame 2
stop();
teks = "you idiot, I said don't kill anyone";
_root.tulis(teks, 0);
Symbol 1057 MovieClip [skenario4gagal] Frame 5
stop();
teks = ".......";
_root.tulis(teks, 0);
Symbol 1057 MovieClip [skenario4gagal] Frame 7
_root.attachMovie("gameover", "gameover", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 1061 MovieClip [skenario5] Frame 1
_root.aktif = 0;
Symbol 1061 MovieClip [skenario5] Frame 5
stop();
teks = "............";
_root.tulis(teks, 0);
Symbol 1061 MovieClip [skenario5] Frame 9
stop();
teks = _root.nama + " come to The Bar - We have to do something";
_root.tulis(teks, 0);
Symbol 1061 MovieClip [skenario5] Frame 12
stop();
teks = "OK";
_root.tulis(teks, 0);
Symbol 1061 MovieClip [skenario5] Frame 16
_root.aktif = 1;
_root.frame.arah._visible = 1;
removeMovieClip(this);
_root.misi = 51;
_root.tujuanx = 16;
_root.tujuany = 14;
Symbol 1071 MovieClip [skenario5a] Frame 1
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
Symbol 1071 MovieClip [skenario5a] Frame 36
stop();
teks = _root.nama + " , welcome back. You did a great job, I couldn\u2019t have done it better myself.";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 39
stop();
teks = "Jee thanks boss ";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 42
stop();
teks = "We got one more problem though";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 45
stop();
teks = "Whats that boss?";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 48
stop();
teks = "That stinken, no good, two timing swine of a mayor has stopped playing ball with us";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 50
stop();
teks = "We used to have him in our pocket and now he is taking orders from those new Mexicans\u2026 After all we have done for him";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 52
stop();
teks = "I think this city needs a new mayor " + _root.nama;
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 55
stop();
teks = "A new mayor huh. Yeh I think so too, can I be mayor?";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 58
stop();
teks = ("Funny " + _root.nama) + " . . ... really funny. I want you to sort out my problem. I want the mayor taken out of the equation";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 60
stop();
teks = "The mayor as usual, is going for his Sunday Lunch at the Cafe. I want you to follow him after he finishes. Don\u2019t be a wise guy. He has support";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 62
stop();
teks = "Best thing is to let him have it when he gets into his car. But you gotta be quick";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 66
stop();
teks = "Yeh sure. I got it";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 69
stop();
teks = ("Oh and " + _root.nama) + ". Pick up a piece from Bobs Ammo supplies. Good luck";
_root.tulis(teks, 0);
Symbol 1071 MovieClip [skenario5a] Frame 109
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 52;
removeMovieClip(this);
Symbol 1082 MovieClip [skenario5b] Frame 36
stop();
teks = "Hey, who are you? you wanna die huh!";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 39
stop();
teks = "Boss sent me to take some stuff";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 42
stop();
teks = ("OK, so you're " + _root.nama) + ", right! I have something for you ";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 45
stop();
teks = "This one is a 9mm pistol, to use it press the '1' button and aim your target with mouse";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 48
stop();
teks = "And this one is a machine gun, to use it press the '2' button and aim your target with mouse";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 50
stop();
teks = "The last thing is this machine gun for your car, you can control it from inside your car";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 53
stop();
teks = "Yeh.. thats what I'm talking about. Some Serious hardware!";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 57
stop();
teks = "Yeah The Boss already paid for all this. And take this ammo too, You'll need it";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 60
stop();
teks = "OK, Thanks. I gotta go clean up...";
_root.tulis(teks, 0);
Symbol 1082 MovieClip [skenario5b] Frame 100
_root.misi = 54;
_root.pistol = 1;
_root.pistolammo = 100;
_root.mgun = 1;
_root.mgunammo = 250;
_root.posisikarakter = 3;
removeMovieClip(this);
Symbol 1086 MovieClip [skenario5berhasil] Frame 1
_root.aktif = 0;
Symbol 1086 MovieClip [skenario5berhasil] Frame 41
stop();
teks = "Good job ! now get out of there, the cops are on to you";
_root.tulis(teks, 0);
Symbol 1086 MovieClip [skenario5berhasil] Frame 44
stop();
teks = "OK boss!";
_root.tulis(teks, 0);
Symbol 1086 MovieClip [skenario5berhasil] Frame 48
stop();
teks = "And make sure you lose the cops and arent followed...";
_root.tulis(teks, 0);
Symbol 1086 MovieClip [skenario5berhasil] Frame 50
_root.misi = 58;
_root.waktumisi5 = 1500;
_root.aktif = 1;
removeMovieClip(this);
Symbol 1092 MovieClip [skenario5c] Frame 1
_root.aktif = 0;
Symbol 1092 MovieClip [skenario5c] Frame 2
stop();
teks = "where is the mayor.... Stoogie said i have to wait here, but where is he?";
_root.tulis(teks, 0);
Symbol 1092 MovieClip [skenario5c] Frame 25
stop();
Symbol 1092 MovieClip [skenario5c] Frame 53
stop();
teks = "Bruno take me home";
_root.tulis(teks, 0);
Symbol 1092 MovieClip [skenario5c] Frame 56
stop();
teks = "OK boss, I will get the car";
_root.tulis(teks, 0);
Symbol 1092 MovieClip [skenario5c] Frame 97
stop();
teks = "aim the target using mouse and don't lose the mayor's car";
_root.tulis(teks, 0);
Symbol 1092 MovieClip [skenario5c] Frame 114
_root.misi = 57;
_root.aktif = 1;
_root.posisikarakter = 3;
_root.frame.arah._visible = 0;
Symbol 1092 MovieClip [skenario5c] Frame 150
removeMovieClip(this);
Symbol 1096 MovieClip [skenario5gagal] Frame 1
_root.aktif = 0;
Symbol 1096 MovieClip [skenario5gagal] Frame 2
stop();
teks = "what are you doing stupid. I said to kill the mayor";
_root.tulis(teks, 0);
Symbol 1096 MovieClip [skenario5gagal] Frame 5
stop();
teks = "......!";
_root.tulis(teks, 0);
Symbol 1096 MovieClip [skenario5gagal] Frame 9
stop();
teks = "Now they know it was us...";
_root.tulis(teks, 0);
Symbol 1096 MovieClip [skenario5gagal] Frame 11
_root.attachMovie("gameover", "gameover", 40001, {_x:260, _y:200});
removeMovieClip(this);
Symbol 1104 MovieClip [skenario6] Frame 1
stopAllSounds();
_root.suara.attachSound("bgsoundbar");
_root.suara.setVolume(50);
_root.suara.start(0, 9999999);
_root.aktif = 0;
Symbol 1104 MovieClip [skenario6] Frame 36
stop();
teks = _root.nama + ". We got a big problem that we need you to clean up\u2026";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 39
stop();
teks = "What happened Boss?";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 42
stop();
teks = ("They got him " + _root.nama) + ". They wasted Bone Head\u2026";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 45
stop();
teks = "who boss who, just tell me who?";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 48
stop();
teks = "It was those damn Mexican Cartels...";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 50
stop();
teks = "We need to show that we don\u2019t take this thing lightly other wise all the other gangs wont give us any respect.";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 53
stop();
teks = "Don\u2019t worry boss I will earn you're respect back for you and I will solve this drag....";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 56
stop();
teks = ("Hurry " + _root.nama) + ". I heard they play Basketball near the old Bridge";
_root.tulis(teks, 0);
Symbol 1104 MovieClip [skenario6] Frame 94
stopAllSounds();
_root.suara.attachSound("bgsound1");
_root.suara.setVolume(100);
_root.suara.start(0, 9999999);
_root.misi = 61;
_root.pistolammo = 100;
_root.pistol = 1;
_root.mgun = 1;
_root.mgunammo = 250;
removeMovieClip(this);
Symbol 1118 MovieClip [skenario6a] Frame 1
_root.aktif = 0;
_root.char.clip._visible = 0;
Symbol 1118 MovieClip [skenario6a] Frame 36
stop();
teks = "Hey, what did you guys do with bonehead?";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 39
stop();
teks = "who the hell are you? you wanna die huh?";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 42
stop();
teks = "Tell me where bonehead is, or I will kill all of you mofos";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 45
stop();
teks = ("Hey...." + _root.nama) + ". whats the problem?";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 48
stop();
teks = "Luke.... what the hell are you doing here? What did you do to BoneHead";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 51
stop();
teks = "Luke, who is this joker";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 54
stop();
teks = "I'll not ask again, where is BoneHead or i'll kill all of you";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 57
stop();
teks = ("Easy " + _root.nama) + ". I don't know";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 60
stop();
teks = "Hey, This is the guy who stole our Hummer!";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 64
stop();
teks = ("Get your gun ready " + _root.nama) + "!";
_root.tulis(teks, 0);
Symbol 1118 MovieClip [skenario6a] Frame 114
_root.misi = 63;
_root.posisikarakter = 2;
_root.naikmobil = 0;
_root.char.clip.body.gotoAndStop(15);
_root.char.clip._visible = 1;
_root.aktif = 1;
_root.gangsterkilled = 0;
removeMovieClip(this);
Symbol 1124 MovieClip [skenario6b] Frame 1
_root.aktif = 0;
Symbol 1124 MovieClip [skenario6b] Frame 36
stop();
teks = ". . . . . . . . .";
_root.tulis(teks, 0);
Symbol 1124 MovieClip [skenario6b] Frame 39
stop();
teks = "Boss. I wasted them all. But no idea what happened to Bone Head";
_root.tulis(teks, 0);
Symbol 1124 MovieClip [skenario6b] Frame 42
stop();
teks = "What I gotta do now?";
_root.tulis(teks, 0);
Symbol 1124 MovieClip [skenario6b] Frame 45
stop();
teks = "Get back here to the Bar. We will figure something out...";
_root.tulis(teks, 0);
Symbol 1124 MovieClip [skenario6b] Frame 86
_root.misi = 64;
_root.tujuanx = 14;
_root.tujuany = 23;
_root.aktif = 1;
removeMovieClip(this);
Symbol 1146 MovieClip [skenario6c] Frame 1
_root.aktif = 0;
Symbol 1146 MovieClip [skenario6c] Frame 36
stop();
teks = ". . . . . . . . .";
_root.tulis(teks, 0);
Symbol 1146 MovieClip [skenario6c] Frame 39
stop();
teks = "Hey you think that you have won....";
_root.tulis(teks, 0);
Symbol 1146 MovieClip [skenario6c] Frame 42
stop();
teks = "Jeez...Wont this guy just die? ";
_root.tulis(teks, 0);
Symbol 1146 MovieClip [skenario6c] Frame 45
stop();
teks = "Here is this rocket with your name on it...Say Good bye Amigo!";
_root.tulis(teks, 0);
Symbol 1146 MovieClip [skenario6c] Frame 145
stop();
Instance of Symbol 1143 MovieClip in Symbol 1146 MovieClip [skenario6c] Frame 145
on (release) {
var myVar = new LoadVars();
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
myVar.score = _root.score;
myVar.gamer = 22;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
_visible = 0;
}
Symbol 1146 MovieClip [skenario6c] Frame 146
_root.misi = 700;
dataku = SharedObject.getLocal("datagta");
datanama = dataku.data.nama;
datapoint = dataku.data.point;
jumlahtotalpendudukditabrak = dataku.data.pendudukditabrak;
dataenergi = dataku.data.energi;
datacarenergi = dataku.data.carenergi;
datamisi = dataku.data.misi;
datapistol = dataku.data.pistol;
datapistolammo = dataku.data.pistolammo;
datamgun = dataku.data.mgun;
datamgunammo = dataku.data.mgunammo;
datakunci = dataku.data.kunci;
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
datanama[_root.gameno - 1] = _root.nama;
datapoint[_root.gameno - 1] = _root.score;
jumlahtotalpendudukditabrak[_root.gameno - 1] = _root.totalpendudukditabrak;
dataenergi[_root.gameno - 1] = 100;
datacarenergi[_root.gameno - 1] = 250;
datamisi[_root.gameno - 1] = _root.misi;
datapistol[_root.gameno - 1] = 0;
datapistolammo[_root.gameno - 1] = 0;
datamgun[_root.gameno - 1] = 0;
datamgunammo[_root.gameno - 1] = 0;
datakunci[_root.gameno - 1] = 1;
trace("setelah diubah");
trace(datanama);
trace(datapoint);
trace(dataenergi);
trace(datacarenergi);
trace(datamisi);
dataku.data.nama = datanama;
dataku.data.point = datapoint;
dataku.data.pendudukditabrak = jumlahtotalpendudukditabrak;
dataku.data.energi = dataenergi;
dataku.data.carenergi = datacarenergi;
dataku.data.misi = datamisi;
dataku.data.pistol = datapistol;
dataku.data.pistolammo = datapistolammo;
dataku.data.mgun = datamgun;
dataku.data.mgunammo = datamgunammo;
dataku.data.kunci = datakunci;
dataku.flush();
_root.gotoAndStop("hapus");
removeMovieClip(this);
Symbol 1154 MovieClip Frame 1
stop();
Symbol 1154 MovieClip Frame 26
stop();
Instance of Symbol 1154 MovieClip in Symbol 1155 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.char.clip.body) and (_currentframe == 1)) and (_root.naikmobil == 1)) {
if ((_root.char.speed < 5) and (_root.barutabrakan == 0)) {
_root.char.speed = -_root.char.speed;
} else {
_root.char.speed = _root.char.speed * 0.5;
play();
this._rotation = _rootchar.clip.body._rotation;
}
}
}
Symbol 1156 MovieClip Frame 1
stop();
Symbol 1179 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 1
Instance of Symbol 608 MovieClip in Symbol 1180 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.mobil1) and (_root.mobil1.keluar >= 1)) and (_root.mobil1.barutabrakan == 0)) {
_root.mobil1.barutabrakan = 1;
_root.mobil1.keluar = 2;
_root.mobil1.speedx = (-_root.mobil1.speedx) / 4;
_root.mobil1.speedy = (-_root.mobil1.speedy) / 4;
}
if ((this.hitTest(_root.mobil2) and (_root.mobil2.keluar >= 1)) and (_root.mobil2.barutabrakan == 0)) {
_root.mobil2.barutabrakan = 1;
_root.mobil2.keluar = 2;
_root.mobil2.speedx = (-_root.mobil2.speedx) / 4;
_root.mobil2.speedy = (-_root.mobil2.speedy) / 4;
}
if ((this.hitTest(_root.mobil3) and (_root.mobil3.keluar >= 1)) and (_root.mobil3.barutabrakan == 0)) {
_root.mobil3.barutabrakan = 1;
_root.mobil3.keluar = 2;
_root.mobil3.speedx = (-_root.mobil3.speedx) / 4;
_root.mobil3.speedy = (-_root.mobil3.speedy) / 4;
}
if ((this.hitTest(_root.mobil4) and (_root.mobil4.keluar >= 1)) and (_root.mobil4.barutabrakan == 0)) {
_root.mobil4.barutabrakan = 1;
_root.mobil4.keluar = 2;
_root.mobil4.speedx = (-_root.mobil4.speedx) / 4;
_root.mobil4.speedy = (-_root.mobil4.speedy) / 4;
}
if ((this.hitTest(_root.polisi) and (_root.polisi.keluar >= 1)) and (_root.polisi.barutabrakan == 0)) {
_root.polisi.keluar = 4;
_root.polisi.barutabrakan = 1;
}
if ((this.hitTest(_root.polisi1) and (_root.polisi1.keluar >= 1)) and (_root.polisi1.barutabrakan == 0)) {
_root.polisi1.keluar = 4;
_root.polisi1.barutabrakan = 1;
}
if ((this.hitTest(_root.polisi2) and (_root.polisi2.keluar >= 1)) and (_root.polisi2.barutabrakan == 0)) {
_root.polisi2.keluar = 4;
_root.polisi2.barutabrakan = 1;
}
if ((this.hitTest(_root.orang1) and (_root.orang1.barutabrakan == 0)) and (_root.orang1.stat != 3)) {
_root.orang1.barutabrakan = 1;
_root.orang1._rotation = _root.orang1._rotation + 180;
}
if ((this.hitTest(_root.orang2) and (_root.orang2.barutabrakan == 0)) and (_root.orang2.stat != 3)) {
_root.orang2.barutabrakan = 1;
_root.orang2._rotation = _root.orang2._rotation + 180;
}
if ((this.hitTest(_root.orang3) and (_root.orang3.barutabrakan == 0)) and (_root.orang3.stat != 3)) {
_root.orang3.barutabrakan = 1;
_root.orang3._rotation = _root.orang3._rotation + 180;
}
if ((this.hitTest(_root.orang4) and (_root.orang4.barutabrakan == 0)) and (_root.orang4.stat != 3)) {
_root.orang4.barutabrakan = 1;
_root.orang4._rotation = _root.orang4._rotation + 180;
}
if ((this.hitTest(_root.orang5) and (_root.orang5.barutabrakan == 0)) and (_root.orang5.stat != 3)) {
_root.orang5.barutabrakan = 1;
_root.orang5._rotation = _root.orang5._rotation + 180;
}
i = 1;
while (i <= 10) {
if (hitTest(_root["peluru" + i])) {
removeMovieClip(_root["peluru" + i]);
}
if (hitTest(_root["pelurum" + i])) {
removeMovieClip(_root["pelurum" + i]);
}
i++;
}
}
Instance of Symbol 608 MovieClip in Symbol 1180 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.barutabrakan == 0) {
if (_root.naikmobil == 1) {
_root.flasher.play();
}
_root.barutabrakan = 1;
gaya = _root.char.speed / 4;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.carenergi = _root.carenergi - 1;
_root.keyboard = 1;
}
}
}
Instance of Symbol 731 MovieClip "t2" in Symbol 1180 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
dx = (((_parent._parent._parent._x - 320) + _parent._parent._x) + _x) - 50;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
}
onClipEvent (enterFrame) {
dx = (((_parent._parent._parent._x - 320) + _parent._parent._x) + _x) - 50;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
if (_xscale > 0) {
_visible = 0;
} else if (_parent.kiri == 1) {
_visible = 1;
}
}
Instance of Symbol 729 MovieClip "t1" in Symbol 1180 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -100) {
yscl = -100;
}
if (yscl > 175) {
yscl = 175;
}
_yscale = yscl;
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -100) {
yscl = -100;
}
if (yscl > 175) {
yscl = 175;
}
_yscale = yscl;
if (_yscale > 0) {
_visible = 0;
} else if (_parent.atas == 1) {
_visible = 1;
}
}
Instance of Symbol 731 MovieClip "t4" in Symbol 1180 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
dx = (((_parent._parent._parent._x - 320) + _parent._parent._x) - _x) + 28;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
}
onClipEvent (enterFrame) {
dx = (((_parent._parent._parent._x - 320) + _parent._parent._x) - _x) + 28;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dy / 2);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
xscl = -Math.round((dx * 38) / 113);
if (xscl < -100) {
xscl = -100;
}
if (xscl > 100) {
xscl = 100;
}
_xscale = xscl;
if (_xscale < 15) {
_visible = 0;
} else if (_parent.kanan == 1) {
_visible = 1;
}
}
Instance of Symbol 729 MovieClip "t3" in Symbol 1180 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -175) {
yscl = -175;
}
if (yscl > 100) {
yscl = 100;
}
_yscale = yscl;
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _y;
frm = 80 + Math.round(dx / 4);
if (frm < 1) {
frm = 1;
}
if (frm > 160) {
frm = 160;
}
gotoAndStop(frm);
yscl = -Math.round((dy * 9) / 10);
if (yscl < -175) {
yscl = -175;
}
if (yscl > 100) {
yscl = 100;
}
_yscale = yscl;
if (_yscale < 0) {
_visible = 0;
} else if (_parent.bawah == 1) {
_visible = 1;
}
}
Instance of Symbol 1179 MovieClip "roof" in Symbol 1180 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
_y = ((_parent.t2.posy._y + _parent.t2._y) - 6);
_x = ((_parent.t1.posx._x + _parent.t1._x) - 3);
}
onClipEvent (enterFrame) {
_y = ((_parent.t2.posy._y + _parent.t2._y) - 6);
_x = ((_parent.t1.posx._x + _parent.t1._x) - 3);
updateAfterEvent();
_visible = 1;
}
Instance of Symbol 1184 MovieClip in Symbol 1190 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 1183 MovieClip in Symbol 1190 MovieClip Frame 1
onClipEvent (load) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 15);
_y = (dy / 15);
this.cacheAsBitmap;
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 15);
_y = (dy / 15);
}
Instance of Symbol 1187 MovieClip in Symbol 1190 MovieClip Frame 1
onClipEvent (load) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 6);
_y = (dy / 6);
this.cacheAsBitmap;
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 6);
_y = (dy / 6);
}
Instance of Symbol 1189 MovieClip in Symbol 1190 MovieClip Frame 1
onClipEvent (load) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 4);
_y = (dy / 4);
}
onClipEvent (enterFrame) {
dx = ((_parent._parent._parent._x - 320) + _parent._parent._x) + _parent._x;
dy = ((_parent._parent._parent._y - 240) + _parent._parent._y) + _parent._y;
_x = (dx / 4);
_y = (dy / 4);
}
Instance of Symbol 608 MovieClip "lantai" in Symbol 1190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.keyboard == 0)) {
if (_root.naikmobil == 1) {
_root.flasher.play();
}
if (_root.barutabrakan == 0) {
_root.barutabrakan = 1;
gaya = _root.char.speed / 5;
if ((gaya < 1) and (gaya >= 0)) {
gaya = 1;
} else if ((gaya < 0) and (gaya > -1)) {
gaya = -2;
}
_root.char.speed = -gaya;
_root.keyboard = 1;
}
}
if ((this.hitTest(_root.mobil1) and (_root.mobil1.keluar == 2)) and (_root.mobil1.barutabrakan == 0)) {
_root.mobil1.barutabrakan = 1;
_root.mobil1.speedx = (-_root.mobil1.speedx) / 5;
_root.mobil1.speedy = (-_root.mobil1.speedy) / 5;
}
if ((this.hitTest(_root.mobil2) and (_root.mobil2.keluar == 2)) and (_root.mobil2.barutabrakan == 0)) {
_root.mobil2.barutabrakan = 1;
_root.mobil2.speedx = (-_root.mobil2.speedx) / 5;
_root.mobil2.speedy = (-_root.mobil2.speedy) / 5;
}
if ((this.hitTest(_root.mobil3) and (_root.mobil3.keluar == 2)) and (_root.mobil3.barutabrakan == 0)) {
_root.mobil3.barutabrakan = 1;
_root.mobil3.speedx = (-_root.mobil3.speedx) / 5;
_root.mobil3.speedy = (-_root.mobil3.speedy) / 5;
}
if ((this.hitTest(_root.mobil4) and (_root.mobil4.keluar == 2)) and (_root.mobil4.barutabrakan == 0)) {
_root.mobil4.barutabrakan = 1;
_root.mobil4.speedx = (-_root.mobil4.speedx) / 5;
_root.mobil4.speedy = (-_root.mobil4.speedy) / 5;
}
}
Symbol 1191 MovieClip [tilegedung] Frame 1
stop();
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 2
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 2;
watas = 2;
wkanan = 3;
wkiri = 3;
atap = 1;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 3
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 4;
watas = 4;
wkanan = 6;
wkiri = 6;
atap = 8;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 4
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 5;
watas = 5;
wkanan = 6;
wkiri = 6;
atap = 8;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 5
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 8;
watas = 8;
wkanan = 8;
wkiri = 8;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 6
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 9;
watas = 8;
wkanan = 9;
wkiri = 8;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 7
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 10;
watas = 10;
wkanan = 10;
wkiri = 10;
atap = 1;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 8
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 11;
watas = 11;
wkanan = 11;
wkiri = 11;
atap = 10;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 9
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 12;
watas = 10;
wkanan = 10;
wkiri = 10;
atap = 3;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 10
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 13;
watas = 13;
wkanan = 13;
wkiri = 13;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 11
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 14;
watas = 15;
wkanan = 15;
wkiri = 15;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 12
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 16;
watas = 16;
wkanan = 16;
wkiri = 16;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 13
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 17;
watas = 17;
wkanan = 16;
wkiri = 16;
atap = 8;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 14
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 18;
watas = 18;
wkanan = 16;
wkiri = 16;
atap = 6;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 15
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 20;
watas = 20;
wkanan = 19;
wkiri = 19;
atap = 7;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 16
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 21;
watas = 21;
wkanan = 19;
wkiri = 19;
atap = 7;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 17
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 23;
watas = 23;
wkanan = 22;
wkiri = 22;
atap = 9;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 18
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 24;
watas = 24;
wkanan = 24;
wkiri = 24;
atap = 3;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 19
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 25;
watas = 22;
wkanan = 25;
wkiri = 22;
atap = 4;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 20
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 26;
watas = 26;
wkanan = 26;
wkiri = 26;
atap = 10;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 21
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 27;
watas = 27;
wkanan = 27;
wkiri = 27;
atap = 3;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip "gambar" in Symbol 1191 MovieClip [tilegedung] Frame 22
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 1;
wbawah = 28;
watas = 28;
wkanan = 28;
wkiri = 28;
atap = 5;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 0;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 11;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 1;
kiri = 1;
kanan = 0;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 11;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 1;
bawah = 1;
kiri = 1;
kanan = 0;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 1;
kiri = 1;
kanan = 0;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 1;
bawah = 0;
kiri = 1;
kanan = 1;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 0;
kiri = 1;
kanan = 1;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 0;
kiri = 1;
kanan = 1;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 0;
kiri = 1;
kanan = 1;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Instance of Symbol 1180 MovieClip in Symbol 1191 MovieClip [tilegedung] Frame 32
onClipEvent (load) {
atas = 0;
bawah = 1;
kiri = 0;
kanan = 1;
wbawah = 1;
watas = 1;
wkanan = 1;
wkiri = 1;
atap = 12;
roof.gotoAndStop(atap);
t1.jenis.gotoAndStop(watas);
t2.jenis.gotoAndStop(wkiri);
t3.jenis.gotoAndStop(wbawah);
t4.jenis.gotoAndStop(wkanan);
}
Symbol 1194 MovieClip Frame 1
stop();
Symbol 1198 MovieClip [skenario5d] Frame 1
_root.aktif = 0;
Symbol 1198 MovieClip [skenario5d] Frame 4
stop();
teks = "Back to the Bar! Now";
_root.tulis(teks, 0);
Symbol 1198 MovieClip [skenario5d] Frame 7
stop();
teks = "OK boss!";
_root.tulis(teks, 0);
Symbol 1198 MovieClip [skenario5d] Frame 11
stop();
teks = "And make sure you lose the cops and arent followed...";
_root.tulis(teks, 0);
Symbol 1198 MovieClip [skenario5d] Frame 13
_root.aktif = 1;
removeMovieClip(this);
Symbol 1215 Button
on (release) {
gotoAndStop ("daftar");
}
Symbol 1220 Button
on (release) {
gotoAndStop ("login");
}
Symbol 1225 Button
on (release) {
gotoAndStop ("instruksi");
}
Symbol 1229 Button
on (release) {
getURL ("http://www.freeonlinegames.com", "_blank");
}
Symbol 1235 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 1238 Button
on (release) {
nextFrame();
}
Symbol 1256 Button
on (release) {
prevFrame();
}
Symbol 1264 Button
on (release) {
_root.gameno = 1;
if (_root.nama1 == "<empty>") {
gotoAndStop ("buatbaru");
} else {
namaada = _root.nama1;
gotoAndStop ("adayangpunya");
}
}
Symbol 1265 Button
on (release) {
_root.gameno = 2;
if (_root.nama2 == "<empty>") {
gotoAndStop ("buatbaru");
} else {
namaada = _root.nama2;
gotoAndStop ("adayangpunya");
}
}
Symbol 1266 Button
on (release) {
_root.gameno = 3;
if (_root.nama3 == "<empty>") {
gotoAndStop ("buatbaru");
} else {
namaada = _root.nama3;
gotoAndStop ("adayangpunya");
}
}
Symbol 1267 Button
on (release) {
_root.gameno = 4;
if (_root.nama4 == "<empty>") {
gotoAndStop ("buatbaru");
} else {
namaada = _root.nama4;
gotoAndStop ("adayangpunya");
}
}
Symbol 1268 Button
on (release) {
_root.gameno = 5;
if (_root.nama5 == "<empty>") {
gotoAndStop ("buatbaru");
} else {
namaada = _root.nama5;
gotoAndStop ("adayangpunya");
}
}
Symbol 1271 Button
on (release, keyPress "<Enter>") {
trace(namamasuk);
if (namamasuk != undefined) {
_root.nama = namamasuk;
_root.gotoAndStop("buatAccount");
}
}
Symbol 1275 Button
on (release, keyPress "<Escape>") {
gotoAndStop (1);
}
Symbol 1276 Button
on (release, keyPress "<Enter>") {
gotoAndStop ("buatbaru");
}
Symbol 1277 MovieClip Frame 1
stop();
Symbol 1277 MovieClip Frame 2
Selection.setFocus("namabox");
Symbol 1285 Button
on (release) {
_root.gameno = 1;
if (_root.nama1 == "<empty>") {
} else {
namaada = _root.nama1;
gotoAndStop ("adayangpunya");
}
}
Symbol 1286 Button
on (release) {
_root.gameno = 2;
if (_root.nama2 == "<empty>") {
} else {
namaada = _root.nama2;
gotoAndStop ("adayangpunya");
}
}
Symbol 1287 Button
on (release) {
_root.gameno = 3;
if (_root.nama3 == "<empty>") {
} else {
namaada = _root.nama3;
gotoAndStop ("adayangpunya");
}
}
Symbol 1288 Button
on (release) {
_root.gameno = 4;
if (_root.nama4 == "<empty>") {
} else {
namaada = _root.nama4;
gotoAndStop ("adayangpunya");
}
}
Symbol 1289 Button
on (release) {
_root.gameno = 5;
if (_root.nama5 == "<empty>") {
} else {
namaada = _root.nama5;
gotoAndStop ("adayangpunya");
}
}
Symbol 1292 Button
on (release, keyPress "<Enter>") {
trace(namamasuk);
if (namamasuk != "") {
_root.nama = namamasuk;
_root.gotoAndStop("buatAccount");
}
}
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1293 MovieClip Frame 2
Selection.setFocus("namabox");
Symbol 1293 MovieClip Frame 15
_root.nama = namaada;
_root.gotoAndStop("loadAccount");
Symbol 1301 Button
on (release) {
gotoAndStop ("todaysetting");
}
Symbol 1310 Button
on (release) {
gotoAndStop ("pilihmisi");
}
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 2
stop();
Symbol 1332 Button
on (release) {
if (misi > 6) {
gotoAndStop ("ulangmisi");
} else {
gotoAndPlay ("startmission");
}
}
Symbol 1338 Button
on (release) {
if ((_root.misi > 6) or (gamelocked == 1)) {
gotoAndPlay ("startmission");
} else {
gotoAndStop ("kunci");
}
}
Symbol 1345 Button
on (release) {
gotoAndStop ("pilihmisi");
}
Symbol 1348 Button
on (release) {
if (katakunci == "DEATHS") {
_root.misi = 700;
gotoAndPlay ("startmission");
} else {
gotoAndStop ("salah");
}
}
Symbol 1351 Button
on (release) {
misi = 0;
gotoAndPlay ("startmission");
}
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1363 MovieClip Frame 1
stop();
Symbol 1368 MovieClip Frame 1
stop();
Symbol 1368 MovieClip Frame 21
gotoAndStop (1);
Symbol 1372 MovieClip Frame 1
stop();
Instance of Symbol 1368 MovieClip "sensor" in Symbol 1372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.clip.body) and (_root.naikmobil == 1)) {
_parent.tunggutaxi = 1;
}
if (((_parent.tunggutaxi == 1) and (random(100) == 34)) and (_root.aktif == 1)) {
play();
}
}
Symbol 1372 MovieClip Frame 2
keluar = 4;
Symbol 1372 MovieClip Frame 40
stop();
_root.score = _root.score + 200;
Symbol 1390 MovieClip Frame 1
stop();
Instance of Symbol 555 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 1390 MovieClip in Symbol 1391 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 555 MovieClip in Symbol 1391 MovieClip Frame 16
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 1390 MovieClip in Symbol 1391 MovieClip Frame 24
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 555 MovieClip in Symbol 1392 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 1390 MovieClip in Symbol 1392 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 555 MovieClip in Symbol 1392 MovieClip Frame 10
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 1390 MovieClip in Symbol 1392 MovieClip Frame 15
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Symbol 1397 MovieClip Frame 1
stop();
Symbol 1397 MovieClip Frame 3
gotoAndStop (1);
Symbol 1397 MovieClip Frame 5
gotoAndStop (1);
Symbol 1397 MovieClip Frame 7
gotoAndStop (1);
Symbol 1397 MovieClip Frame 9
gotoAndStop (1);
Symbol 1397 MovieClip Frame 11
gotoAndStop (1);
Symbol 1426 MovieClip Frame 1
stop();
Symbol 1431 MovieClip Frame 41
stop();
Symbol 1432 MovieClip Frame 1
stop();
Instance of Symbol 555 MovieClip in Symbol 1432 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 1397 MovieClip in Symbol 1432 MovieClip Frame 3
onClipEvent (load) {
if (_root.aktif == 1) {
if (random(4) == 2) {
gotoAndPlay (2);
} else if (random(4) == 1) {
gotoAndPlay (4);
} else if (random(4) == 3) {
gotoAndPlay (10);
} else if (random(5) == 4) {
gotoAndPlay (8);
} else {
gotoAndPlay (12);
}
}
}
Instance of Symbol 555 MovieClip in Symbol 1432 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent.jenis);
}
Instance of Symbol 1426 MovieClip in Symbol 1432 MovieClip Frame 11
onClipEvent (load) {
gotoAndStop(_parent.jenis);
}
Symbol 1432 MovieClip Frame 45
if ((_root.misi == 44) and (ditabrak == 1)) {
_root.attachMovie("skenario4gagal", "levelstatus", 40000, {_x:260, _y:200});
}
Symbol 1432 MovieClip Frame 53
stop();
Instance of Symbol 1431 MovieClip in Symbol 1432 MovieClip Frame 53
onClipEvent (load) {
_rotation = (-_parent._rotation);
_visible = _parent.ditabrak;
}
Instance of Symbol 507 MovieClip in Symbol 1433 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 1433 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 507 MovieClip in Symbol 1433 MovieClip Frame 9
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 506 MovieClip in Symbol 1433 MovieClip Frame 13
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Symbol 1440 MovieClip Frame 1
stop();
Instance of Symbol 1434 MovieClip in Symbol 1440 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.jenis);
}
Instance of Symbol 492 MovieClip in Symbol 1440 MovieClip Frame 5
onClipEvent (load) {
gotoAndStop(_parent.jenis);
}
Symbol 1440 MovieClip Frame 53
stop();
Symbol 1442 MovieClip Frame 1
stop();
Symbol 1442 MovieClip Frame 2
_root.aktif = 0;
_root.char.speed = 0;
_x = 260;
_y = 200;
_root.char._visible = 0;
Instance of Symbol 338 MovieClip in Symbol 1442 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 1442 MovieClip Frame 19
_root.naikmobil = 1;
_root.char.clip.body.gotoAndStop(1);
_root.char.clip._rotation = this._rotation;
_root.char.clip._visible = 1;
_root.aktif = 1;
this._visible = 0;
gotoAndStop (1);
Symbol 1442 MovieClip Frame 20
_root.aktif = 0;
_root.char._visible = 0;
_root.char.speed = 0;
Instance of Symbol 338 MovieClip in Symbol 1442 MovieClip Frame 25
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Instance of Symbol 345 MovieClip in Symbol 1442 MovieClip Frame 39
onClipEvent (load) {
gotoAndStop(_root.posisikarakter);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.posisikarakter);
}
Symbol 1442 MovieClip Frame 41
_root.naikmobil = 0;
_root.char.clip.body.gotoAndStop(15);
_root.char.clip._rotation = -_root.char.clip._rotation;
_root.char.clip._visible = 1;
this._visible = 1;
_root.aktif = 1;
stop();
Symbol 1467 MovieClip Frame 1
stop();
Symbol 1467 MovieClip Frame 2
keluar = 4;
Symbol 1467 MovieClip Frame 41
stop();
_root.score = _root.score + 200;
Symbol 1471 MovieClip Frame 1
stop();
Symbol 1471 MovieClip Frame 89
gotoAndPlay (2);
Symbol 1472 MovieClip Frame 1
stop();
Symbol 1474 MovieClip Frame 1
stop();
Symbol 1477 MovieClip Frame 1
stop();
Symbol 1477 MovieClip Frame 7
gotoAndPlay (2);
Symbol 1477 MovieClip Frame 57
gotoAndPlay (45);
Symbol 1479 MovieClip Frame 1
stop();