Frame 1
function i_fog() {
}
function open_link(buttonLocation, Game, GameURL) {
var _local3 = _root._url;
var _local2 = Url;
if (Game) {
_local2 = GameURL;
}
var _local4 = (((((((_local2 + "/#utm_campaign=") + escape(GameName)) + "&utm_content=") + escape(buttonLocation)) + "&utm_medium=") + escape(branding)) + "&utm_source=") + escape(_local3);
getURL (_local4, "_blank");
}
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;
var pv;
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);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&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);
}
stop();
_root.bestscore = 0;
var GameName = "simtaxi-berlin";
var JALUDOGameID = "simtaxi-berlin";
var MochiBotKey = "165b9cff";
var branding = "original";
var continueButton = 1;
var TimeNum = 5000;
var i_r_menu = new ContextMenu();
i_r_menu.hideBuiltInItems();
this.menu = i_r_menu;
var i_r_fog = new ContextMenuItem("Sim Taxi Berlin", i_fog);
i_r_menu.customItems.push(i_r_fog);
stop();
original = true;
locked = false;
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
var domain = _url.substring(7);
if (domain.substring(0, 3) == "www") {
domain = domain.substring(4);
}
var end = domain.indexOf("/");
domain = domain.substring(0, end);
var Url = "http://www.gamesbook.com";
stop();
__com_mochibot__(MochiBotKey, this, 10301, true);
Frame 2
if (locked) {
trace("locked");
if ((domain == "wandah.com") or (domain == "mochiwar.com")) {
this.gotoAndPlay("linkage");
} else {
this.gotoAndStop("locked");
}
} else {
trace("open");
this.gotoAndPlay("linkage");
}
Frame 8
function create_address(map) {
trace("start searching address...");
new_address = [];
i = 0;
while (i < map.length) {
j = 0;
while (j < map[0].length) {
if (map[j][i][2][0] == 1) {
new_address.push([i, j, map[j][i][2][1]]);
}
j++;
}
i++;
}
return(new_address);
}
function save_game(no_slot, g_name) {
trace("save to: " + g_name);
sg = SharedObject.getLocal("simtaxiberlin");
if (no_slot == 1) {
sg.data.saved_1 = g_name;
}
if (no_slot == 2) {
sg.data.saved_2 = g_name;
}
if (no_slot == 3) {
sg.data.saved_3 = g_name;
}
if (no_slot == 4) {
sg.data.saved_4 = g_name;
}
sg.data.barumain = barumain;
sg.flush();
st = SharedObject.getLocal(g_name);
st.data.game_type = game_type;
st.data.uang = uang;
st.data.jenismesin = jenismesin;
st.data.jenisroda = jenisroda;
st.data.jenisbody = jenisbody;
st.data.jenissuspensi = jenissuspensi;
st.data.konsumsibahanbakar = konsumsibahanbakar;
st.data.bensin = bensin;
st.data.energi = energi;
st.data.carenergi = carenergi;
st.data.max_energi = max_energi;
st.data.current_earning = current_earning;
st.data.target_earning = target_earning;
st.data.campaign_level = campaign_level;
st.data.campaign_day = campaign_day;
st.data.campaign_time = campaign_time;
st.flush();
trace("save done");
}
sound_aktif = 1;
map1 = [[[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 101, [0, "", 0]], [1, 120, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 100, [0, "", 0]], [1, 100, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 102, [0, "", 0]], [1, 100, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 76, [0, "", 0]], [1, 77, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 122, [0, "", 0]], [1, 123, [0, "", 0]], [1, 124, [0, "", 0]], [1, 146, [0, "", 0]], [1, 147, [0, "", 0]], [1, 159, [0, "", 0]], [1, 160, [0, "", 0]], [1, 107, [0, "", 0]], [1, 108, [0, "", 0]], [1, 122, [0, "", 0]], [1, 123, [0, "", 0]], [1, 124, [0, "", 0]], [1, 122, [0, "", 0]], [1, 123, [0, "", 0]], [1, 124, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Wandah's Mansion", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Linien Fashion Store", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [0, 7, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Tiergarten View", 0]], [0, 25, [0, "", 0]], [0, 3, [1, "Bahn Tower", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Kollhhoff Tower", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 8, [0, "", 0]], [0, 20, [1, "Oranienburger Villa", 0]], [1, 122, [0, "", 0]], [1, 123, [0, "", 0]], [1, 124, [0, "", 0]], [1, 162, [0, "", 0]], [1, 163, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 7, [0, "", 0]], [0, 3, [1, "August Bussiness Zone", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 8, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [1, "Intercontinental Hotel", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 7, [0, "", 0]], [0, 3, [1, "Citystay Hostel", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 13, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 32, [0, "", 0]], [0, 30, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 115, [0, "", 0]], [1, 116, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 38, [0, "", 0]], [0, 9, [0, "", 0]], [1, 15, [0, "", 0]], [1, 8, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 83, [0, "", 0]], [1, 84, [0, "", 0]], [1, 85, [0, "", 0]], [1, 86, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 134, [0, "", 0]], [1, 135, [0, "", 0]], [1, 136, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [0, 34, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Romeo Coolz", 0]], [0, 20, [1, "W'c Donnald Gips", 0]], [0, 6, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [1, "Experian FootFall", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 8, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Berlinner Phillharmonie", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 149, [0, "", 0]], [1, 150, [0, "", 0]], [1, 151, [0, "", 0]], [1, 152, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 6, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 25, [0, "", 0]], [0, 3, [1, "A&O Hostel", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 34, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 10, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 122, [0, "", 0]], [1, 123, [0, "", 0]], [1, 124, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Park Inn", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 34, [0, "", 0]], [1, 80, [0, "", 0]], [1, 81, [0, "", 0]], [1, 82, [0, "", 0]], [1, 16, [0, "", 0]], [1, 17, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 34, [0, "", 0]], [1, 80, [0, "", 0]], [1, 81, [0, "", 0]], [1, 82, [0, "", 0]], [0, 20, [1, "Nina's Florist", 0]], [0, 20, [1, "Kitty Pet", 0]], [1, 46, [0, "", 0]], [1, 47, [0, "", 0]], [1, 48, [0, "", 0]], [1, 49, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 28, [0, "", 0]], [1, 28, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [0, 6, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [1, "Franzosische Street", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 42, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [1, "Outley Mall", 0]], [0, 35, [0, "", 0]], [0, 47, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [1, "East Zone Bus Station", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 39, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 28, [0, "", 0]], [1, 28, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 21, [1, "Zoological Garden", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 137, [0, "", 0]], [1, 138, [0, "", 0]], [0, 20, [0, "", 0]], [0, 32, [0, "", 0]], [0, 30, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 20, [0, "", 0]], [1, 43, [0, "", 0]], [1, 44, [0, "", 0]], [1, 45, [0, "", 0]], [0, 34, [0, "", 0]], [1, 33, [0, "", 0]], [1, 34, [0, "", 0]], [1, 33, [0, "", 0]], [1, 61, [0, "", 0]], [1, 62, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [1, "Prenzlauer Residense", 0]], [1, 28, [0, "", 0]], [1, 28, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 6, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 9, [0, "", 0]], [1, 10, [0, "", 0]], [1, 11, [0, "", 0]], [1, 12, [0, "", 0]], [1, 15, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 21, [0, "", 0]], [0, 21, [0, "", 0]], [0, 21, [1, "Fernsehturm", 0]], [0, 21, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Unfallkrankenhaus Berlin", 0]], [0, 20, [0, "", 0]], [0, 34, [0, "", 0]], [1, 50, [0, "", 0]], [1, 51, [0, "", 0]], [1, 52, [0, "", 0]], [1, 63, [0, "", 0]], [1, 64, [0, "", 0]], [0, 32, [0, "", 0]], [0, 30, [0, "", 0]], [1, 4, [0, "", 0]], [1, 29, [0, "", 0]], [1, 29, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 6, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Roch Italian Restaurant", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Roch Green cafe", 0]], [0, 20, [1, "Roch Ice", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 6, [0, "", 0]], [0, 37, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 39, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 36, [0, "", 0]], [0, 3, [1, "HTW Berlin", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 16, [0, "", 0]], [0, 17, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 29, [0, "", 0]], [1, 29, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 5, [0, "", 0]], [0, 6, [1, "Volkspark Friedrichshain", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 13, [0, "", 0]], [1, 14, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 13, [0, "", 0]], [0, 9, [0, "", 0]], [0, 20, [0, "", 0]], [1, 30, [0, "", 0]], [1, 30, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 6, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 65, [0, "", 0]], [1, 66, [0, "", 0]], [1, 67, [0, "", 0]], [0, 20, [1, "Maxim Cafe", 0]], [0, 20, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [1, "Alexanderplatz Apartment", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 6, [1, "East Alexanderplatz", 0]], [0, 4, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 4, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 30, [0, "", 0]], [1, 30, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 6, [0, "", 0]], [0, 6, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Maxim Gorki Theater", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 20, [0, "", 0]], [0, 28, [0, "", 0]], [0, 26, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 31, [0, "", 0]], [1, 31, [0, "", 0]], [0, 20, [0, "", 0]]], [[1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 32, [0, "", 0]], [1, 5, [0, "", 0]], [0, 10, [0, "", 0]], [0, 38, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 9, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 4, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 132, [0, "", 0]], [1, 133, [0, "", 0]], [1, 4, [0, "0", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 31, [0, "", 0]], [1, 31, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 23, [0, "", 0]], [0, 23, [0, "", 0]], [0, 23, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 4, [0, "", 0]], [0, 34, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 43, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 39, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Victory Column", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Weibensee House", 0]], [1, 29, [0, "", 0]], [1, 29, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 70, [0, "", 0]], [1, 71, [0, "", 0]], [1, 4, [0, "", 0]], [0, 34, [0, "", 0]], [1, 159, [0, "", 0]], [1, 160, [0, "", 0]], [1, 139, [0, "", 0]], [1, 140, [0, "", 0]], [1, 141, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 34, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 4, [0, "", 0]], [0, 32, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 29, [0, "", 0]], [1, 29, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 34, [0, "", 0]], [0, 20, [1, "Jalludo Office", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Berlin Bank", 0]], [0, 20, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [1, 130, [0, "", 0]], [1, 131, [0, "", 0]], [0, 34, [1, "Alexanderplatz Hotel", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 57, [0, "", 0]], [1, 58, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 70, [0, "", 0]], [1, 71, [0, "", 0]], [1, 4, [0, "", 0]], [0, 34, [1, "Bauhof Book Store", 0]], [1, 34, [0, "", 0]], [0, 7, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "All in Hostel", 0]], [0, 3, [0, "", 0]], [0, 36, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 59, [0, "", 0]], [1, 60, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 42, [1, "Dorotheen Ice cream", 0]], [0, 35, [0, "", 0]], [0, 39, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 38, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 38, [0, "", 0]], [0, 5, [0, "", 0]], [0, 9, [0, "", 0]], [0, 20, [1, "Keibel Cafe", 0]], [1, 4, [0, "", 0]], [1, 57, [0, "", 0]], [1, 58, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 70, [0, "", 0]], [1, 71, [0, "", 0]], [1, 4, [0, "", 0]], [1, 15, [0, "", 0]], [1, 33, [0, "", 0]], [0, 6, [1, "Dorotheen Stationary", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [1, 13, [0, "", 0]], [1, 14, [0, "", 0]], [0, 34, [1, "Hirten Foodstore", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [1, "Grunner Hostel", 0]], [0, 4, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [0, 34, [0, "", 0]], [1, 11, [0, "", 0]], [1, 12, [0, "", 0]], [1, 13, [0, "", 0]], [1, 14, [0, "", 0]], [1, 59, [0, "", 0]], [1, 60, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 32, [1, "Georgen Apartment", 0]], [0, 30, [0, "", 0]], [1, 128, [0, "", 0]], [1, 129, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 34, [0, "", 0]], [1, 142, [0, "", 0]], [1, 143, [0, "", 0]], [1, 144, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 20, [0, "", 0]], [1, 130, [0, "", 0]], [1, 131, [0, "", 0]], [0, 28, [0, "", 0]], [0, 26, [0, "", 0]], [1, 130, [0, "", 0]], [1, 131, [0, "", 0]], [0, 20, [0, "", 0]], [0, 34, [0, "", 0]], [1, 50, [0, "", 0]], [1, 51, [0, "", 0]], [1, 52, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 28, [0, "", 0]], [0, 26, [0, "", 0]], [0, 20, [1, "Plantck Tall Office", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 162, [0, "", 0]], [1, 163, [0, "", 0]], [0, 42, [1, "Hirten Electro Plaza", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 39, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 34, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Universitat der Kunste", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [1, "Planck Street", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 61, [0, "", 0]], [1, 62, [0, "", 0]], [1, 35, [0, "", 0]], [1, 36, [0, "", 0]], [1, 37, [0, "", 0]], [1, 38, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 156, [0, "", 0]], [1, 157, [0, "", 0]], [1, 158, [0, "", 0]], [0, 32, [0, "", 0]], [0, 30, [0, "", 0]], [1, 156, [0, "", 0]], [1, 157, [0, "", 0]], [1, 158, [0, "", 0]], [0, 34, [0, "", 0]], [1, 50, [0, "", 0]], [1, 51, [0, "", 0]], [1, 52, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 139, [0, "", 0]], [1, 140, [0, "", 0]], [1, 141, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 128, [0, "", 0]], [1, 129, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [1, 63, [0, "", 0]], [1, 64, [0, "", 0]], [1, 39, [0, "", 0]], [1, 40, [0, "", 0]], [1, 41, [0, "", 0]], [1, 42, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Crowne Plaza Berlin", 0]], [0, 20, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 34, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "University of Technology", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 7, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Alden Kempinski Hotel", 0]], [0, 11, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 16, [0, "", 0]], [0, 17, [0, "", 0]], [0, 3, [0, "", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 34, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 6, [1, "Leipziger Apartment", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 13, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 14, [0, "", 0]], [0, 4, [0, "", 0]], [1, 43, [0, "", 0]], [1, 44, [0, "", 0]], [1, 45, [0, "", 0]], [0, 34, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 4, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [1, 9, [0, "", 0]], [1, 10, [0, "", 0]], [1, 8, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "Sana Klinikum Lichtenberg", 0]], [0, 20, [0, "", 0]], [0, 34, [1, "Lichtenberg Apartment", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 28, [0, "", 0]], [0, 26, [0, "", 0]], [1, 87, [0, "", 0]], [1, 88, [0, "", 0]], [1, 89, [0, "", 0]], [1, 90, [0, "", 0]], [0, 20, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 6, [0, "", 0]], [0, 4, [0, "", 0]], [1, 4, [0, "", 0]], [1, 164, [0, "", 0]], [1, 165, [0, "", 0]], [1, 166, [0, "", 0]], [1, 167, [0, "", 0]], [1, 4, [0, "", 0]], [1, 117, [0, "", 0]], [1, 118, [0, "", 0]], [0, 20, [1, "Hacksche Hufe", 0]], [0, 20, [0, "", 0]], [0, 20, [1, "W'c Donnald Dircksen", 0]], [0, 6, [0, "", 0]], [0, 37, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 35, [0, "", 0]], [0, 41, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [1, 93, [0, "", 0]], [1, 94, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 6, [1, "Leipziger Office 1", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Kupfergraben Plaza", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 12, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [1, "Brandenburger", 0]], [0, 25, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 3, [0, "", 0]], [0, 29, [0, "", 0]], [0, 3, [0, "", 0]], [0, 11, [0, "", 0]], [0, 4, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 78, [0, "", 0]], [1, 79, [0, "", 0]], [0, 10, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [1, "Kronen Store", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [1, "Wilmersdorf Mall", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [1, "Eber Supermart", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 27, [0, "", 0]], [0, 5, [1, "Voltairez Industry", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 5, [0, "", 0]], [0, 31, [0, "", 0]], [0, 5, [1, "Kloster Factory Zone", 0]], [0, 5, [0, "", 0]], [0, 9, [0, "", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [1, 125, [0, "", 0]], [1, 126, [0, "", 0]], [1, 127, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [1, 91, [0, "", 0]], [1, 92, [0, "", 0]], [1, 80, [0, "", 0]], [1, 81, [0, "", 0]], [1, 82, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [1, 68, [0, "", 0]], [1, 69, [0, "", 0]], [1, 68, [0, "", 0]], [1, 69, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 119, [0, "", 0]], [1, 120, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [1, 7, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 70, [0, "", 0]], [1, 71, [0, "", 0]], [1, 70, [0, "", 0]], [1, 71, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [1, 72, [0, "", 0]], [1, 73, [0, "", 0]], [1, 74, [0, "", 0]], [1, 75, [0, "", 0]], [1, 72, [0, "", 0]], [1, 73, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [1, 103, [0, "", 0]], [1, 104, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]], [[0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]], [0, 20, [0, "", 0]]]];
pos_start1 = [18, 31];
address1 = create_address(map1);
Frame 9
function play_sound(sound_id) {
if (sound_aktif == 1) {
_root[sound_id].start(0, 1);
}
}
function loop_sound(sound_id) {
trace("loop " + sound_id);
if (sound_aktif == 1) {
_root[sound_id].start(0, 9999);
}
}
stop();
banner.Type = "tittleScreen";
stopAllSounds();
volumesuara = 100;
volumeradio = 100;
radioaktif = 1;
radioseting = 1;
pilihanmusik = 1;
map_unlock = 1;
map_selected = 1;
this.createEmptyMovieClip("bgm_dummy", 15000);
bgsound = new Sound(this.bgm_dummy);
bgsound.attachSound("bgm_sound");
bgsound.start(0.02, 1000);
bgsound.setVolume(volumesuara);
this.createEmptyMovieClip("btn_sound", 15001);
button_sound = new Sound(this.btn_sound);
button_sound.attachSound("efek1");
this.createEmptyMovieClip("starter_sound", 15002);
start_sound = new Sound(this.starter_sound);
start_sound.attachSound("stater");
this.createEmptyMovieClip("crowd_sound", 15003);
sound_kota = new Sound(this.crowd_sound);
sound_kota.attachSound("keramaiankota");
sound_kota.setVolume(70);
this.createEmptyMovieClip("dm_1", 15004);
sound_gameover = new Sound(this.dm_1);
sound_gameover.attachSound("musikgameover");
this.createEmptyMovieClip("dm_2", 15005);
sound_end_level = new Sound(this.dm_2);
sound_end_level.attachSound("ending_level");
this.createEmptyMovieClip("dm_1", 15004);
sound_gameover = new Sound(this.dm_1);
sound_gameover.attachSound("musikgameover");
this.createEmptyMovieClip("dm_2", 15005);
sound_end_level = new Sound(this.dm_2);
sound_end_level.attachSound("ending_level");
this.createEmptyMovieClip("dm_3", 15006);
this.createEmptyMovieClip("dm_4", 15007);
this.createEmptyMovieClip("dm_5", 15008);
tr_music = new Sound("dm_3");
tr_music.attachSound("musik4");
tr_police = new Sound("dm_4");
tr_police.attachSound("police_sound");
hit_sound = new Sound("dm_5");
hit_sound.attachSound("tubrukan");
if (sound_aktif == 1) {
stopAllSounds();
bgsound.start(0.05, 1000);
} else {
stopAllSounds();
}
sg = SharedObject.getLocal("simtaxiberlin");
barumain = sg.data.barumain;
if (barumain == undefined) {
barumain = 0;
}
saved_1 = sg.data.saved_1;
if (saved_1 == undefined) {
saved_1 = "< empty >";
}
saved_2 = sg.data.saved_2;
if (saved_2 == undefined) {
saved_2 = "< empty >";
}
saved_3 = sg.data.saved_3;
if (saved_3 == undefined) {
saved_3 = "< empty >";
}
saved_4 = sg.data.saved_4;
if (saved_4 == undefined) {
saved_4 = "< empty >";
}
map_unlock = sg.data.map_unlock;
if (map_unlock == undefined) {
map_unlock = 1;
}
map_unlock = sg.data.map_selected;
if (map_selected == undefined) {
map_selected = 1;
}
area_name = ["", "Berlin"];
unlock_code = [""];
goal_earning = [0, 250, 300, 400, 500, 600, 750, 800, 1000, 1100, 1250, 1300, 1500, 1700, 2000, 500, 750, 1000, 1250, 1500, 1750, 2000, 2500, 500, 750, 800, 900, 1200, 1500, 1700, 2000, 2400, 2500, 2750, 2800, 3000, 4000, 5000];
campaign_map = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
mission_time = [];
i = 0;
while (i < goal_earning.length) {
time_need = goal_earning[i] + (20 * i);
if (time_need < 100) {
time_need = 100;
}
mission_time.push(time_need);
i++;
}
trace((((goal_earning.length + " ") + campaign_map.length) + " ") + mission_time.length);
alasan = 0;
Instance of Symbol 1494 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 476 MovieClip "banner" in Frame 9
//component parameters
onClipEvent (construct) {
Type = "Intro";
}
Frame 12
pilih_load = 1;
banner.Type = "loadScreen";
Frame 15
sg = SharedObject.getLocal("simtaxiberlin");
if (pilih_load == 1) {
p_name.text = sg.data.saved_1;
}
if (pilih_load == 2) {
p_name.text = sg.data.saved_2;
}
if (pilih_load == 3) {
p_name.text = sg.data.saved_3;
}
if (pilih_load == 4) {
p_name.text = sg.data.saved_4;
}
g_name = p_name.text;
st = SharedObject.getLocal(g_name);
game_type = st.data.game_type;
uang = st.data.uang;
p_money.text = uang;
jenismesin = st.data.jenismesin;
jenisroda = st.data.jenisroda;
jenisbody = st.data.jenisbody;
jenissuspensi = st.data.jenissuspensi;
konsumsibahanbakar = st.data.konsumsibahanbakar;
bensin = st.data.bensin;
energi = st.data.energi;
carenergi = st.data.carenergi;
max_energi = st.data.max_energi;
current_earning = st.data.current_earning;
target_earning = st.data.target_earning;
campaign_level = st.data.campaign_level;
campaign_day = st.data.campaign_day;
campaign_time = st.data.campaign_time;
trace("load " + g_name);
ehari = 1;
cartype = 1;
settujuan = true;
tujuan = 0;
tilelama = "";
jenistile = "";
bayaran = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 1;
Instance of Symbol 1544 MovieClip in Frame 15
onClipEvent (load) {
gotoAndStop(_root.game_type);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.game_type);
}
Frame 16
stop();
game_type = 2;
day = 1;
uang = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 0;
jenismesin = 1;
jenisroda = 1;
jenisbody = 1;
jenissuspensi = 1;
konsumsibahanbakar = 0.03;
bensin = 100;
energi = 100;
carenergi = 100;
max_energi = 100;
ehari = 1;
cartype = 1;
settujuan = true;
tujuan = 0;
tilelama = "";
jenistile = "";
bayaran = 0;
current_earning = 0;
target_earning = 0;
campaign_level = 0;
campaign_day = 0;
campaign_time = 0;
gotoAndStop ("free_game");
Frame 17
stop();
gotoAndStop ("setting_campaign");
Frame 18
stop();
game_type = 1;
day = 1;
uang = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 0;
jenismesin = 1;
jenisroda = 1;
jenisbody = 1;
jenissuspensi = 1;
konsumsibahanbakar = 0.03;
bensin = 100;
energi = 100;
carenergi = 100;
max_energi = 100;
ehari = 1;
cartype = 1;
settujuan = true;
tujuan = 0;
tilelama = "";
jenistile = "";
bayaran = 0;
current_earning = 0;
target_earning = 0;
campaign_level = 1;
campaign_day = 1;
campaign_time = mission_time[campaign_level];
trace("campaign");
gotoAndStop ("campaign");
Frame 20
temp_map = 1;
myMap1 = [];
alamat1 = [];
penumpang = 0;
map_selected = 1;
gotoAndStop ("setting_map");
Instance of Symbol 1549 MovieClip in Frame 20
onClipEvent (load) {
this.uang_txt.text = "$ " + _root.uang;
}
onClipEvent (enterFrame) {
this.uang_txt.text = "$ " + _root.uang;
}
Frame 21
campaign_map_selected = campaign_map[campaign_level];
map_selected = campaign_map_selected;
penumpang = 0;
trace("campaign_map_selected = " + map_selected);
saved = 0;
stopAllSounds();
bgsound.start(0.02, 1000);
Instance of Symbol 1596 MovieClip "play_prop" in Frame 21
onClipEvent (load) {
if (_root.alasan == 0) {
this.city_name.text = _root.area_name[_root.campaign_map_selected];
this.day_txt.text = _root.campaign_day;
this.goal_txt.text = "$ " + _root.goal_earning[_root.campaign_level];
this.c_e_txt.text = "$ " + _root.current_earning;
this.lvl_txt.text = _root.campaign_level;
_root.target_earning = _root.goal_earning[_root.campaign_level];
if (_root.map_selected > _root.map_unlock) {
_root.map_unlock = _root.map_selected;
this.gotoAndStop(3);
}
} else {
if (_root.alasan == 1) {
_root.alasan = 0;
this.gotoAndStop(5);
}
if (_root.alasan == 2) {
_root.alasan = 0;
this.gotoAndStop(6);
}
}
if (_root.campaign_level >= 41) {
this.gotoAndStop(90);
}
}
onClipEvent (enterFrame) {
this.city_name.text = _root.area_name[_root.campaign_map_selected];
this.day_txt.text = _root.campaign_day;
this.goal_txt.text = "$ " + _root.goal_earning[_root.campaign_level];
this.c_e_txt.text = "$ " + _root.current_earning;
this.lvl_txt.text = _root.campaign_level;
_root.target_earning = _root.goal_earning[_root.campaign_level];
}
Instance of Symbol 1601 MovieClip in Frame 21
on (release) {
if ((_root.saved == 0) and (_root.play_prop._currentframe == 1)) {
_root.play_prop.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
gotoAndStop(_root.saved + 1);
}
Instance of Symbol 1605 MovieClip in Frame 21
onClipEvent (load) {
if (_root.energi < _root.max_energi) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (this._visible and (_root.play_prop._currentframe == 1)) {
this._visible = false;
_root.play_prop.gotoAndStop(7);
}
}
Frame 23
stop();
sg = SharedObject.getLocal("simtaxiadam");
sg.data.map_selected = map_selected;
sg.data.map_unlock = map_unlock;
sg.flush();
penumpang = 0;
myMap1 = this["map" + map_selected];
jalan1 = this["address" + map_selected];
poscarx = this["pos_start" + map_selected][0];
poscary = this["pos_start" + map_selected][1];
if (myMap1 == undefined) {
myMap1 = this.map1;
jalan1 = this.address1;
poscarx = this.pos_start1[0];
poscary = this.pos_start1[1];
}
Frame 28
stop();
stopAllSounds();
if (sound_aktif == 1) {
bgsound.start(0.02, 1000);
}
clear_screen();
gotoAndStop ("cover");
Frame 29
stop();
stopAllSounds();
clear_screen();
Frame 30
stop();
stopAllSounds();
if (sound_aktif == 1) {
sound_gameover.start(1, 1000);
}
if (_root.penumpang > 0) {
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
}
clear_screen();
timeStart2 = getTimer();
systemtimeStart2 = new Date().getTime();
totaltime = Math.floor((timeStart2 - timeStart) / 1000);
systemtotaltime = Math.floor((systemtimeStart2 - systemtimeStart) / 1000);
_root.score = _root.uang;
if (_root.score > _root.bestscore) {
iGameID = _root.JALUDOGameID;
mScore = _root.score;
iDuration = systemtotaltime;
trace((((("DURATION:" + iDuration) + " SCORE:") + mScore) + " GAMEID:") + iGameID);
_root.bestscore = _root.score;
NetDebug.initialize();
var myResponder = (new mx.rpc.RelayResponder(this, "onResult", "onFault"));
var myService = (new mx.remoting.Service("_root.loaderInfo.parameters.JALGatewayURL", null, "Highscore", null, myResponder));
var temp_pc = myService.storeHighscore(iGameID, mScore, iDuration);
} else {
trace((("score was: " + _root.score) + " Highest score was: ") + _root.bestscore);
}
Instance of Symbol 476 MovieClip "banner" in Frame 30
//component parameters
onClipEvent (construct) {
Type = "Intro";
}
Frame 31
stop();
stopAllSounds();
clear_screen();
if (sound_aktif == 1) {
sound_gameover.start(1, 1000);
}
if (_root.penumpang > 0) {
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
}
gotoAndStop ("campaign");
Frame 36
function buildMap(map) {
_root.createEmptyMovieClip("asap_taxi", 12);
_root.attachMovie("empty", "tiles", 1);
_root.attachMovie("empty", "fg", 101);
_root.attachMovie("empty", "pass", 102);
_root.attachMovie("mask_frame", "frame", 10000);
game.halfvisx = int(game.visx / 2);
game.halfvisy = int(game.visy / 2);
game.clip = _root.tiles;
game.mapwidth = map[0].length;
game.mapheight = map.length;
trace((("char xt=" + char.xtile) + " yt= ") + char.ytile);
if (game.halfvisx >= char.xtile) {
var _local6 = char.xtile - game.halfvisx;
} else if (char.xtile > (game.mapwidth - game.halfvisx)) {
var _local6 = game.mapwidth - char.xtile;
} else {
var _local6 = 0;
}
if (game.halfvisy >= char.ytile) {
var _local7 = char.ytile - game.halfvisy;
} else if (char.ytile > ((game.mapheight - game.halfvisy) - 1)) {
var _local7 = (game.mapheight - char.ytile) - 1;
} else {
var _local7 = 0;
}
game.clip._x = (game.centerx - ((char.xtile - _local6) * game.tileW)) - (game.tileW / 2);
game.clip._y = (game.centery - ((char.ytile - _local7) * game.tileH)) - (game.tileH / 2);
var _local4 = (char.ytile - game.halfvisy) - _local7;
while (_local4 <= (((char.ytile + game.halfvisy) + 1) - _local7)) {
var _local3 = (char.xtile - game.halfvisx) - _local6;
while (_local3 <= (((char.xtile + game.halfvisx) + 1) - _local6)) {
var _local2 = (("t_" + _local4) + "_") + _local3;
if ((((_local4 >= 0) and (_local3 >= 0)) and (_local4 <= (map.length - 1))) and (_local3 <= (map[0].length - 1))) {
game[_local2] = new game["Tile" + map[_local4][_local3][0]]();
} else {
game[_local2] = new game.Tile1000();
}
if (map[_local4][_local3][0] == 1) {
if ((map[_local4][_local3][1] < 100) or (map[_local4][_local3][1] > 121)) {
fg.attachMovie("tile", _local2, (1 + (_local4 * 100)) + (_local3 * 2));
fg[_local2]._x = _local3 * game.tileW;
fg[_local2]._y = _local4 * game.tileH;
fg[_local2].gotoAndStop(game[_local2].frameaktif);
fg[_local2].gambar.gotoAndStop(map[_local4][_local3][1]);
tiles.attachMovie("tile", _local2, (1 + (_local4 * 100)) + (_local3 * 2));
game.clip[_local2]._x = _local3 * game.tileW;
game.clip[_local2]._y = _local4 * game.tileH;
game.clip[_local2].gotoAndStop(1);
game.clip[_local2].gambar.gotoAndStop(20);
} else {
tiles.attachMovie("tile", _local2, (1 + (_local4 * 100)) + (_local3 * 2));
game.clip[_local2]._x = _local3 * game.tileW;
game.clip[_local2]._y = _local4 * game.tileH;
game.clip[_local2].gotoAndStop(2);
game.clip[_local2].gambar.gotoAndStop(map[_local4][_local3][1]);
}
} else {
tiles.attachMovie("tile", _local2, (1 + (_local4 * 100)) + (_local3 * 2));
game.clip[_local2]._x = _local3 * game.tileW;
game.clip[_local2]._y = _local4 * game.tileH;
game.clip[_local2].gotoAndStop(game[_local2].frameaktif);
game.clip[_local2].gambar.gotoAndStop(map[_local4][_local3][1]);
}
_local3++;
}
_local4++;
}
game.clip.attachMovie("char", "char", 10000);
char.clip = game.clip.char;
char.xt = (char.xtile * game.tileW) + (game.tileW / 2);
char.yt = (char.ytile * game.tileW) + (game.tileW / 2);
char.width = char.clip._width / 2;
char.height = char.clip._height / 2;
char.clip._x = char.xt;
char.clip._y = char.yt;
char.xstep = char.xt;
char.ystep = char.yt;
}
function changeTile(xold, yold, xnew, ynew, map) {
var _local5 = (("t_" + yold) + "_") + xold;
var _local1 = (("t_" + ynew) + "_") + xnew;
if ((((ynew >= 0) and (xnew >= 0)) and (ynew <= (map.length - 1))) and (xnew <= (map[0].length - 1))) {
game[_local1] = new game["Tile" + map[ynew][xnew][0]]();
removeMovieClip(tiles[_local5]);
removeMovieClip(fg[_local5]);
if (map[ynew][xnew][0] == 1) {
if ((map[ynew][xnew][1] < 100) or (map[ynew][xnew][1] > 121)) {
fg.attachMovie("tile", _local1, (1 + (ynew * 100)) + (xnew * 2));
fg[_local1]._x = xnew * game.tileW;
fg[_local1]._y = ynew * game.tileH;
fg[_local1].gotoAndStop(game[_local1].frameaktif);
fg[_local1].gambar.gotoAndStop(map[ynew][xnew][1]);
tiles.attachMovie("tile", _local1, (1 + (ynew * 100)) + (xnew * 2));
game.clip[_local1]._x = xnew * game.tileW;
game.clip[_local1]._y = ynew * game.tileH;
game.clip[_local1].gotoAndStop(1);
game.clip[_local1].gambar.gotoAndStop(20);
} else {
tiles.attachMovie("tile", _local1, (1 + (ynew * 100)) + (xnew * 2));
game.clip[_local1]._x = xnew * game.tileW;
game.clip[_local1]._y = ynew * game.tileH;
game.clip[_local1].gotoAndStop(2);
game.clip[_local1].gambar.gotoAndStop(map[ynew][xnew][1]);
}
} else {
tiles.attachMovie("tile", _local1, (1 + (ynew * 100)) + (xnew * 2));
game.clip[_local1]._x = xnew * game.tileW;
game.clip[_local1]._y = ynew * game.tileH;
game.clip[_local1].gotoAndStop(game[_local1].frameaktif);
game.clip[_local1].gambar.gotoAndStop(map[ynew][xnew][1]);
}
} else {
game[_local1] = new game.Tile4();
game.clip[_local5]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frameaktif);
}
}
function changeMap(ob) {
var _local3 = (("t_" + ob.ytile) + "_") + ob.xtile;
game.currentMap = game[_local3].newMap;
ob.ytile = game[_local3].newchary;
ob.xtile = game[_local3].newcharx;
ob.frameaktif = ob.clip._currentframe;
removeMovieClip(_root.tiles);
buildMap(_root["myMap" + game.currentMap]);
}
function getMyCorners(xc, yc, ob) {
ob.downY = Math.floor(((yc + ob.height) + 2) / game.tileH);
ob.upY = Math.floor(((yc - ob.height) - 2) / game.tileH);
ob.leftX = Math.floor(((xc - ob.width) + 2) / game.tileW);
ob.rightX = Math.floor(((xc + ob.width) - 2) / game.tileW);
ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable;
ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable;
ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable;
ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable;
}
function moveChar(ob, dirx, diry) {
getMyCorners(ob.xt, ob.yt + diry, ob);
if (diry < 0) {
if (ob.upleft and ob.upright) {
ob.yt = ob.yt + diry;
gesery = true;
} else {
gesery = false;
_root.play_sound("suaranyenggol");
ob.speed = ob.speed * 0.95;
if (ob.clip._rotation > -90) {
ob.clip._rotation = ob.clip._rotation + 6;
} else {
ob.clip._rotation = ob.clip._rotation - 6;
}
}
}
if (diry > 0) {
if (ob.downleft and ob.downright) {
gesery = true;
ob.yt = ob.yt + diry;
} else {
gesery = false;
_root.play_sound("suaranyenggol");
ob.speed = ob.speed * 0.95;
if (ob.clip._rotation > 90) {
ob.clip._rotation = ob.clip._rotation + 6;
} else {
ob.clip._rotation = ob.clip._rotation - 6;
}
}
}
getMyCorners(ob.xt + dirx, ob.yt, ob);
if (dirx < -0.1) {
if (ob.downleft and ob.upleft) {
ob.xt = ob.xt + dirx;
geserx = true;
} else {
geserx = false;
_root.play_sound("suaranyenggol");
ob.speed = ob.speed * 0.95;
if ((ob.clip._rotation < 180) and (ob.clip._rotation > 0)) {
ob.clip._rotation = ob.clip._rotation - 6;
} else {
ob.clip._rotation = ob.clip._rotation + 6;
}
}
}
if (dirx > 0) {
if (ob.upright and ob.downright) {
ob.xt = ob.xt + dirx;
geserx = true;
} else {
geserx = false;
_root.play_sound("suaranyenggol");
ob.speed = ob.speed * 0.95;
if (ob.clip._rotation > 0) {
ob.clip._rotation = ob.clip._rotation + 6;
} else {
ob.clip._rotation = ob.clip._rotation - 6;
}
}
}
ob.clip._x = ob.xt;
ob.clip._y = ob.yt;
ob.xtile = Math.floor(ob.xt / game.tileW);
ob.ytile = Math.floor(ob.yt / game.tileH);
if (game[(("t_" + ob.ytile) + "_") + ob.xtile].door and (ob == _root.char)) {
changeMap(ob);
}
if (ob.xt > ((game.halfvisx * game.tileW) + (game.tileW / 2))) {
if (ob.xt < (((game.mapwidth - game.halfvisx) * game.tileW) - (game.tileW / 2))) {
game.clip._x = game.centerx - ob.xt;
fg._x = game.centerx - ob.xt;
if (ob.xstep < (ob.xt - game.tileW)) {
var _local12 = Math.floor(ob.xstep / game.tileW) + 1;
var _local8 = (_local12 + game.halfvisx) + 1;
var _local6 = (_local12 - game.halfvisx) - 1;
var _local4 = Math.round(((game.centery - ob.yt) - game.clip._y) / game.tileH);
var _local3 = ((ob.ytile - game.halfvisy) - 1) + _local4;
while (_local3 <= (((ob.ytile + game.halfvisy) + 1) + _local4)) {
changeTile(_local6, _local3, _local8, _local3, _root["myMap" + game.currentMap]);
_local3++;
}
ob.xstep = ob.xstep + game.tileW;
} else if (ob.xstep > ob.xt) {
var _local12 = Math.floor(ob.xstep / game.tileW);
var _local6 = (_local12 + game.halfvisx) + 1;
var _local8 = (_local12 - game.halfvisx) - 1;
var _local4 = Math.round(((game.centery - ob.yt) - game.clip._y) / game.tileH);
var _local3 = ((ob.ytile - game.halfvisy) - 1) + _local4;
while (_local3 <= (((ob.ytile + game.halfvisy) + 1) + _local4)) {
changeTile(_local6, _local3, _local8, _local3, _root["myMap" + game.currentMap]);
_local3++;
}
ob.xstep = ob.xstep - game.tileW;
}
}
}
if (ob.yt > ((game.halfvisy * game.tileH) + (game.tileH / 2))) {
if (ob.yt < (((game.mapheight - game.halfvisy) * game.tileH) - (game.tileH / 2))) {
game.clip._y = game.centery - ob.yt;
fg._y = game.centery - ob.yt;
if (ob.ystep < (ob.yt - game.tileH)) {
var _local13 = Math.floor(ob.ystep / game.tileH) + 1;
var _local9 = (_local13 + game.halfvisy) + 1;
var _local7 = (_local13 - game.halfvisy) - 1;
var _local5 = Math.round(((game.centerx - ob.xt) - game.clip._x) / game.tileW);
var _local3 = ((ob.xtile - game.halfvisx) - 1) + _local5;
while (_local3 <= (((ob.xtile + game.halfvisx) + 1) + _local5)) {
changeTile(_local3, _local7, _local3, _local9, _root["myMap" + game.currentMap]);
_local3++;
}
ob.ystep = ob.ystep + game.tileH;
} else if (ob.ystep > ob.yt) {
var _local13 = Math.floor(ob.ystep / game.tileH);
var _local7 = (_local13 + game.halfvisy) + 1;
var _local9 = (_local13 - game.halfvisy) - 1;
var _local5 = Math.round(((game.centerx - ob.xt) - game.clip._x) / game.tileW);
var _local3 = ((ob.xtile - game.halfvisx) - 1) + _local5;
while (_local3 <= (((ob.xtile + game.halfvisx) + 1) + _local5)) {
changeTile(_local3, _local7, _local3, _local9, _root["myMap" + game.currentMap]);
_local3++;
}
ob.ystep = ob.ystep - game.tileH;
}
}
}
if (ob.yt < (game.centery - game.clip._y)) {
_root.mobil._y = ob.yt + game.clip._y;
gesery = false;
movy = true;
} else if (ob.yt > (((game.mapheight * game.tileH) - game.centery) - (0.571428571428571 * game.tileH))) {
_root.mobil._y = ((ob.yt - ((game.mapheight * game.tileH) - game.centery)) + game.centery) + (0.571428571428571 * game.tileH);
gesery = false;
movy = true;
} else {
movy = false;
}
if (ob.xt < (game.centerx - game.clip._x)) {
_root.mobil._x = ob.xt + game.clip._x;
geserx = false;
movx = true;
} else if (ob.xt > (((game.mapwidth * game.tileW) - game.centerx) - (0.571428571428571 * game.tileW))) {
_root.mobil._x = ((ob.xt - ((game.mapwidth * game.tileW) - game.centerx)) + game.centerx) + (0.571428571428571 * game.tileW);
geserx = false;
movx = true;
} else {
movx = false;
}
if (geserx) {
_root.awan._x = _root.awan._x - ob.speedx;
_root.public_human.orang1._x = _root.public_human.orang1._x - ob.speedx;
_root.public_human.orang2._x = _root.public_human.orang2._x - ob.speedx;
_root.public_human.orang3._x = _root.public_human.orang3._x - ob.speedx;
_root.public_human.orang4._x = _root.public_human.orang4._x - ob.speedx;
_root.public_human.orang5._x = _root.public_human.orang5._x - ob.speedx;
if (_root.public_car.mobil1.keluar >= 1) {
_root.public_car.mobil1._x = _root.public_car.mobil1._x - ob.speedx;
}
if (_root.public_car.mobil2.keluar >= 1) {
_root.public_car.mobil2._x = _root.public_car.mobil2._x - ob.speedx;
}
if (_root.public_car.mobil3.keluar >= 1) {
_root.public_car.mobil3._x = _root.public_car.mobil3._x - ob.speedx;
}
if (_root.public_car.mobil4.keluar >= 1) {
_root.public_car.mobil4._x = _root.public_car.mobil4._x - ob.speedx;
}
if (_root.public_car.mobil5.keluar >= 1) {
_root.public_car.mobil5._x = _root.public_car.mobil5._x - ob.speedx;
}
if (_root.public_car.mobil6.keluar >= 1) {
_root.public_car.mobil6._x = _root.public_car.mobil6._x - ob.speedx;
}
if (_root.public_car.mobil7.keluar >= 1) {
_root.public_car.mobil7._x = _root.public_car.mobil7._x - ob.speedx;
}
if (_root.public_car.mobil8.keluar >= 1) {
_root.public_car.mobil8._x = _root.public_car.mobil8._x - ob.speedx;
}
}
if (gesery) {
_root.awan._y = _root.awan._y - ob.speedy;
_root.public_human.orang1._y = _root.public_human.orang1._y - ob.speedy;
_root.public_human.orang2._y = _root.public_human.orang2._y - ob.speedy;
_root.public_human.orang3._y = _root.public_human.orang3._y - ob.speedy;
_root.public_human.orang4._y = _root.public_human.orang4._y - ob.speedy;
_root.public_human.orang5._y = _root.public_human.orang5._y - ob.speedy;
if (_root.public_car.mobil1.keluar >= 1) {
_root.public_car.mobil1._y = _root.public_car.mobil1._y - ob.speedy;
}
if (_root.public_car.mobil2.keluar >= 1) {
_root.public_car.mobil2._y = _root.public_car.mobil2._y - ob.speedy;
}
if (_root.public_car.mobil3.keluar >= 1) {
_root.public_car.mobil3._y = _root.public_car.mobil3._y - ob.speedy;
}
if (_root.public_car.mobil4.keluar >= 1) {
_root.public_car.mobil4._y = _root.public_car.mobil4._y - ob.speedy;
}
if (_root.public_car.mobil5.keluar >= 1) {
_root.public_car.mobil5._y = _root.public_car.mobil5._y - ob.speedy;
}
if (_root.public_car.mobil6.keluar >= 1) {
_root.public_car.mobil6._y = _root.public_car.mobil6._y - ob.speedy;
}
if (_root.public_car.mobil7.keluar >= 1) {
_root.public_car.mobil7._y = _root.public_car.mobil7._y - ob.speedy;
}
if (_root.public_car.mobil8.keluar >= 1) {
_root.public_car.mobil8._y = _root.public_car.mobil8._y - ob.speedy;
}
}
minimap_sync();
return(true);
}
function gerak() {
var _local2 = _root.char;
var _local3 = false;
if (Key.isDown(37) or Key.isDown(39)) {
if (Key.isDown(39)) {
if (_local2.speed > 1) {
setir++;
if (setir > sensetir) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation + 6;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
if (_local2.speed < -1) {
setir--;
if (setir < (-sensetir)) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation - 6;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
} else if (Key.isDown(37)) {
if (_local2.speed > 1) {
setir--;
if (setir < (-sensetir)) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation - 6;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
if (_local2.speed < -1) {
setir++;
if (setir > sensetir) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation + 7;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
}
} else {
miring = 0;
if ((_root.mobil.body._currentframe != 1) and (_root.mobil.body._currentframe < 10)) {
} else if ((_root.mobil.body._currentframe != 1) and (_root.mobil.body._currentframe < 10)) {
}
}
if (kena_oil > 0) {
kena_oil--;
sensetir = -1;
} else {
sensetir = 0;
}
if (kena_paku > 0) {
kena_paku--;
_root.kecepatan = 0.5 * _root.real_speed;
if (_local2.speed > _root.kecepatan) {
_local2.speed = _root.kecepatan;
}
} else {
_root.kecepatan = _root.real_speed;
}
if (Key.isDown(38)) {
if (_local2.speed < _root.kecepatan) {
_local2.speed = _local2.speed + gas;
}
} else if (Key.isDown(40)) {
if (cartype == 0) {
if (_local2.speed > -1) {
_local2.speed = _local2.speed - gas;
}
} else if (_local2.speed > -6) {
_local2.speed = _local2.speed - gas;
}
} else {
_local2.speed = _local2.speed * 0.95;
}
_local2.speedx = _local2.speed * Math.cos((_local2.clip._rotation * Math.PI) / 180);
_local2.speedy = _local2.speed * Math.sin((_local2.clip._rotation * Math.PI) / 180);
_local3 = _root.moveChar(_local2, _local2.speedx, _local2.speedy);
if (bensin <= 0) {
bensin = 0;
aktif = 0;
_root.attachMovie("bensinhabis", "rusak", 1201);
}
if ((energi <= 0) and (mati == 0)) {
mati = 1;
_root.mobil.ledakan.play();
_root.aktif = 0;
trace("meledak");
_root.attachMovie("rusak", "rusak", 1201);
energi = 0;
}
if (_local2.speed > 0) {
delay_asap = 0;
dalam_asap++;
asap_taxi.attachMovie("asap_taxi", "asap_" + dalam_asap, dalam_asap, {_x:_root.mobil._x + 5, _y:_root.mobil._y});
}
if (penumpang > 0) {
argo++;
if ((argo > 80) and (bayaran >= 10)) {
bayaran = bayaran - 5;
if (bayaran <= 0) {
bayaran = 1;
}
trace("-10");
_root.frame.bayarane.play();
argo = 0;
_root.biayataksi = _root.bayaran;
}
}
t_rot = _local2.clip._rotation;
if (t_rot < 0) {
t_rot = t_rot + 360;
}
_root.mobil.body.gotoAndStop(Math.floor(t_rot / 6) + 1);
px = _root.char.xtile;
py = _root.char.ytile;
}
function mobildalamarea(oby) {
if ((((oby._x > 10) and (oby._x < 590)) and (oby._y > 10)) and (oby._y < 410)) {
return(true);
}
return(false);
}
function jalanketaxi(oby) {
if (oby.sensorpenumpang.hitTest(_root.mobil) and (_root.misi == 0)) {
trace("taxi");
oby.stat = 5;
oby.misi = 1;
}
}
function hitungjarak() {
if (code != prtd) {
gotoAndStop (29);
}
_root.tujuan = random(_root.jalan1.length);
t_dx = _root.jalan1[_root.tujuan][0] - _root.char.xtile;
t_dy = _root.jalan1[_root.tujuan][1] - _root.char.ytile;
_root.jarak = Math.abs(Math.sqrt((t_dx * t_dx) + (t_dy * t_dy)));
return(_root.jarak);
}
function clear_screen() {
trace("clear screen");
removeMovieClip("awan");
removeMovieClip("tiles");
removeMovieClip("fg");
removeMovieClip("pass");
removeMovieClip("frame");
removeMovieClip("mobil");
removeMovieClip("public_car");
removeMovieClip("public_human");
removeMovieClip("asap_taxi");
removeMovieClip("rusak");
removeMovieClip("masker");
}
function mask_all() {
this.attachMovie("mask", "masker", 15337);
this.setMask("masker");
}
function escape_game() {
clear_screen();
poscarx = px;
poscary = py;
trace("escape game");
stopAllSounds();
gotoAndStop ("escape_game");
}
function draw_minimap(ob, map_no, c_x, c_y) {
ob.road_handler.attachMovie("mini_map_" + map_no, "m_map", 1, {_xscale:1000, _yscale:1000});
ob.road_handler._x = ((-c_x) * 30) - 15;
ob.road_handler._y = ((-c_y) * 30) - 15;
}
function minimap_sync() {
dif_x = char.xt - (char.xtile * 100);
dif_y = char.yt - (char.ytile * 100);
frame.minimap.road_handler._x = ((-char.xtile) * 30) - ((dif_x * 30) / 100);
frame.minimap.road_handler._y = ((-char.ytile) * 30) - ((dif_y * 30) / 100);
}
function set_destination(d_x, d_y) {
trace((("set dest = " + d_x) + ", ") + d_y);
dest_x = d_x;
dest_y = d_y;
frame.minimap.road_handler.attachMovie("dest_minimap", "spot", 10, {_x:(d_x * 30) + 15, _y:(d_y * 30) + 15});
}
function setup_public_car(ob, id) {
ob.swapDepths(50 + id);
ob.gotoAndStop(1 + random(8));
ob.arah = 0;
ob.kec = _root.kecmobilumum + 1;
ob.static_kec = ob.kec;
ob.keluar = 0;
ob.belok = 0;
ob.xa = ob._x;
ob.ya = ob._y;
ob.kecblk = 4;
ob.w = 0;
ob.tertilang = 0;
ob.polisi = 0;
ob.tunggutaxi = 0;
ob.tr = 0;
ob.wtx = 0;
ob.energi = 30;
ob.tabrakandenganteman = 0;
ob.speedx = kec;
ob.speedy = kec;
ob.barutabrakan = 0;
ob.rot = 0;
ob.hit_sound = 0;
}
function back_to_pos(ob) {
ob._x = ob.xa;
ob._y = ob.ya;
ob.sensor._rotation = 0;
ob.keluar = 0;
ob.kec = (_root.kecmobilumum + random(3)) - random(2);
ob.static_kec = ob.kec;
ob.speedx = ob.kec;
ob.speedy = ob.kec;
ob.tunggutaxi = 0;
ob.energi = 30;
ob.tabrakandenganteman = 0;
ob.belok = 0;
ob.rot = 0;
ob.wtx = 0;
ob.gotoAndStop(1 + random(8));
if (random(30) == 13) {
ob.gotoAndStop(9);
}
ob.body.gotoAndStop(1);
}
function cek_tabrakan(ob, ob2) {
if ((ob.keluar >= 1) and (ob2.keluar >= 1)) {
if ((ob.arah == 3) and (ob2.arah != 1)) {
if (ob._x < ob2._x) {
ob._x = ob._x - _root.kecmobilumum;
ob.tunggutaxi = 1;
ob2._x = ob2._x + _root.kecmobilumum;
ob2.tunggutaxi = 0;
ob2.wtx = 0;
} else if (ob._x > ob2._x) {
ob2._x = ob2._x - _root.kecmobilumum;
ob2.tunggutaxi = 0;
ob._x = ob._x + _root.kecmobilumum;
ob.tunggutaxi = 1;
ob.wtx = 0;
}
}
if ((ob.arah == 4) and (ob2.arah != 2)) {
if (ob._y > ob2._y) {
ob._y = ob._y + _root.kecmobilumum;
ob.tunggutaxi = 0;
ob2._y = ob2._y - _root.kecmobilumum;
ob2.tunggutaxi = 1;
ob2.wtx = 0;
} else if (ob._y < ob2._y) {
ob2._y = ob2._y + _root.kecmobilumum;
ob2.tunggutaxi = 0;
ob._y = ob._y - _root.kecmobilumum;
ob.tunggutaxi = 1;
ob.wtx = 0;
}
}
if ((ob.arah == 1) and (ob2.arah != 3)) {
if (ob._x > ob2._x) {
ob2._x = ob2._x - _root.kecmobilumum;
ob2.tunggutaxi = 0;
ob._x = ob._x + _root.kecmobilumum;
ob.tunggutaxi = 1;
ob.wtx = 0;
} else if (ob._x < ob2._x) {
ob._x = ob._x - _root.kecmobilumum;
ob.tunggutaxi = 0;
ob2._x = ob2._x + _root.kecmobilumum;
ob2.tunggutaxi = 1;
ob2.wtx = 0;
}
}
if ((ob.arah == 2) and (ob2.arah != 4)) {
if (ob._y < ob2._y) {
ob2._y = ob2._y - _root.kecmobilumum;
ob2.tunggutaxi = 0;
ob._y = ob._y + _root.kecmobilumum;
ob.tunggutaxi = 1;
ob.wtx = 0;
} else if (ob._y > ob2._y) {
ob._y = ob._y - _root.kecmobilumum;
ob.tunggutaxi = 0;
ob2._y = ob2._y + _root.kecmobilumumc;
ob2.tunggutaxi = 1;
ob2.wtx = 0;
}
}
}
}
function car_dist(ob1, ob2) {
dts = Math.sqrt(((ob1._x - ob2._x) * (ob1._x - ob2._x)) + ((ob1._y - ob2._y) * (ob1._y - ob2._y)));
return(dts);
}
function move_public_car(ob, id) {
if ((((ob._x > 700) or (ob._x < -100)) or (ob._y > 550)) or (ob._y < -100)) {
if (ob._currentframe == 9) {
police_sound_on = false;
tr_police.stop();
}
back_to_pos(ob);
}
if (ob.keluar == 0) {
ob.tr++;
if (ob.tr > 30) {
ob.tr = 0;
if (id < 5) {
ob._y = random(480);
} else {
ob._x = random(640);
}
}
}
if ((ob.tunggutaxi == 1) and (ob.kec > 0)) {
ob.kec = 0;
}
if (ob.tunggutaxi == 1) {
ob.wtx++;
if (ob.wtx == undefined) {
ob.wtx = 0;
}
if (ob.wtx > 30) {
ob.wtx = 0;
ob.kec = ob.static_kec;
ob.tunggutaxi = 0;
}
} else {
ob.kec = ob.static_kec;
}
if (ob.kec == undefined) {
ob.kec = 5;
}
if ((ob.keluar == 1) and (_root.aktif == 1)) {
if (ob._currentframe == 9) {
police_sound_volume = 400 - car_dist(ob, _root.mobil);
if (police_sound_volume < 0) {
police_sound_volume = 0;
}
tr_police.setVolume(police_sound_volume);
if (!police_sound_on) {
police_sound_on = true;
loop_sound("tr_police");
}
if (car_dist(ob, _root.mobil) < 150) {
aktif = 0;
_root.attachMovie("police_escape", "action_popup", 2002);
_root.action_popup.tx = ob._x;
_root.action_popup.ty = ob._y;
}
}
ob.swapDepths(((ob._x * 640) + (ob._y * 420)) + random(100));
if (ob.sensor.hitTest(_root.mobil)) {
ob.tunggutaxi = 1;
if ((random(20) == 14) and _root.sound_aktif) {
ob.sensor.play();
}
}
if (ob.arah == 3) {
ob.sensor._rotation = 0;
ob.rot = 0;
ob.speedx = ob.kec;
ob.speedy = 0;
}
if (ob.arah == 4) {
ob.sensor._rotation = 90;
ob.rot = 90;
ob.speedx = 0;
ob.speedy = ob.kec;
}
if (ob.arah == 1) {
ob.sensor._rotation = 180;
ob.rot = 180;
ob.speedx = -ob.kec;
ob.speedy = 0;
}
if (ob.arah == 2) {
ob.sensor._rotation = -90;
ob.rot = 270;
ob.speedx = 0;
ob.speedy = -ob.kec;
}
ob._x = ob._x + ob.speedx;
ob._y = ob._y + ob.speedy;
}
if (ob.hit_sound > 0) {
ob.hit_sound--;
}
if (_root.mobil.sensor.hitTest(ob.sensor2) and ((ob.keluar == 1) or (ob.keluar == 3))) {
if (ob.hit_sound == 0) {
ob.hit_sound = 100;
_root.play_sound("suaratabrakan");
}
ob.keluar = 2;
if ((_root.char.speed <= 1) and (_root.char.speed > -1)) {
_root.char.speed = 5;
}
_root.energi = _root.energi - Math.abs(_root.char.speed + ob.kec);
ob.energi = ob.energi - 8;
_root.char.speed = (-_root.char.speed) / 2;
ob.w = 0;
if ((_root.char.clip._rotation >= 0) and (_root.char.clip._rotation <= 90)) {
ob.arahputaran = _root.char.clip._rotation / 25;
ob.speedx = _root.char.speed / 5;
ob.speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > 90) and (_root.char.clip._rotation < 180)) {
ob.arahputaran = _root.char.clip._rotation / 25;
ob.speedx = (-_root.char.speed) / 5;
ob.speedy = _root.char.speed / 5;
}
if ((_root.char.clip._rotation > -180) and (_root.char.clip._rotation < -90)) {
ob.arahputaran = _root.char.clip._rotation / 25;
ob.speedx = (-_root.char.speed) / 5;
ob.speedy = (-_root.char.speed) / 5;
}
if ((_root.char.clip._rotation < 0) and (_root.char.clip._rotation >= -90)) {
ob.arahputaran = _root.char.clip._rotation / 25;
ob.speedx = _root.char.speed / 5;
ob.speedy = (-_root.char.speed) / 5;
}
}
if (ob.sensor.hitTest(_root.mobil.sensor)) {
ob.tunggutaxi = 1;
}
if ((((ob._x > 0) and (ob._x < 600)) and (ob._y > 0)) and (ob._y < 420)) {
if ((ob.sensor4.hitTest(_root.public_car.mobil1.sensor4) and (_root.public_car.mobil1.keluar == 1)) and (id != 1)) {
cek_tabrakan(ob, _root.public_car.mobil1);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil2.sensor4) and (_root.public_car.mobil2.keluar == 1)) and (id != 2)) {
cek_tabrakan(ob, _root.public_car.mobil2);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil3.sensor4) and (_root.public_car.mobil3.keluar == 1)) and (id != 3)) {
cek_tabrakan(ob, _root.public_car.mobil3);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil4.sensor4) and (_root.public_car.mobil4.keluar == 1)) and (id != 4)) {
cek_tabrakan(ob, _root.public_car.mobil4);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil5.sensor4) and (_root.public_car.mobil5.keluar == 1)) and (id != 5)) {
cek_tabrakan(ob, _root.public_car.mobil5);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil6.sensor4) and (_root.public_car.mobil6.keluar == 1)) and (id != 6)) {
cek_tabrakan(ob, _root.public_car.mobil6);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil7.sensor4) and (_root.public_car.mobil7.keluar == 1)) and (id != 7)) {
cek_tabrakan(ob, _root.public_car.mobil7);
}
if ((ob.sensor4.hitTest(_root.public_car.mobil8.sensor4) and (_root.public_car.mobil8.keluar == 1)) and (id != 8)) {
cek_tabrakan(ob, _root.public_car.mobil8);
}
if ((ob.sensor.hitTest(_root.public_car.mobil1.sensor4) and (_root.public_car.mobil1.keluar > 1)) and (id != 1)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil2.sensor4) and (_root.public_car.mobil2.keluar > 1)) and (id != 2)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil3.sensor4) and (_root.public_car.mobil3.keluar > 1)) and (id != 3)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil4.sensor4) and (_root.public_car.mobil4.keluar > 1)) and (id != 4)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil5.sensor4) and (_root.public_car.mobil5.keluar > 1)) and (id != 5)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil6.sensor4) and (_root.public_car.mobil6.keluar > 1)) and (id != 6)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil7.sensor4) and (_root.public_car.mobil7.keluar > 1)) and (id != 7)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil8.sensor4) and (_root.public_car.mobil8.keluar > 1)) and (id != 8)) {
ob.keluar = 3;
}
}
if (ob.keluar == 2) {
ob.w++;
if (ob.w >= 20) {
ob.w = 0;
ob.keluar = 3;
}
ob.sensor._rotation = ob.sensor._rotation - 5;
ob._x = ob._x - ob.speedx;
ob._y = ob._y - ob.speedy;
}
if (ob.keluar == 3) {
ob.speedx = 0;
ob.speedy = 0;
}
ob.rot = ob.sensor._rotation;
if (ob.rot < 0) {
ob.rot = ob.rot + 360;
}
ob.body.gotoAndStop(Math.floor(ob.rot / 15) + 1);
}
function setup_man(ob, id) {
ob.swapDepths(20 + id);
ob.id = id;
ob.keluar = 0;
ob.stat = 0;
ob.kecepatan = 1;
ob._alpha = 0;
ob.arah = 0;
ob.wt = 0;
ob._x = random(600);
ob._y = random(400);
ob.gotoAndStop(random(7) + 1);
ob.seru._visible = false;
ob.naik = random(2);
ob.sensor_penumpang._visible = false;
ob.car_hit = 0;
}
function move_man(ob, id) {
if (ob.keluar == 1) {
ob._alpha = 100;
if (_root.aktif == 1) {
if (ob.sensor.hitTest(_root.mobil.sensor) and (ob.car_hit == 0)) {
ob.car_hit = 20;
_root.char.speed = _root.char.speed * -0.1;
if (_root.last_man_hit != ob) {
_root.energi = _root.energi - 0.2;
_root.last_man_hit == ob;
}
if ((ob.arah == 1) or (ob.arah == 3)) {
if (ob._x < _root.mobil._x) {
ob.arah = 3;
} else {
ob.arah = 1;
}
} else if ((ob.arah == 2) or (ob.arah == 4)) {
if (ob._y < _root.mobil._y) {
ob.arah = 4;
} else {
ob.arah = 2;
}
}
}
if (ob.car_hit > 0) {
ob.car_hit--;
}
if ((ob.stat == 0) or (ob.stat >= 2)) {
ob.swapDepths((ob._x * 64) + (ob._y * 42));
if (ob.arah == 1) {
ob.body.gotoAndStop(1);
ob.body.body.play();
ob._x = ob._x + ob.kecepatan;
}
if (ob.arah == 2) {
ob.body.gotoAndStop(2);
ob.body.body.play();
ob._y = ob._y + ob.kecepatan;
}
if (ob.arah == 3) {
ob.body.gotoAndStop(3);
ob.body.body.play();
ob._x = ob._x - ob.kecepatan;
}
if (ob.arah == 4) {
ob.body.gotoAndStop(4);
ob.body.body.play();
ob._y = ob._y - ob.kecepatan;
}
if ((((random(500) == 234) and (_root.penumpang == 0)) and (ob.stat == 0)) and (ob.naik > 0)) {
ob.stat = 1;
}
}
if ((ob.stat == 1) and (ob.naik > 0)) {
pass.attachMovie("sensor_penumpang", "sens_" + ob.id, id, {_x:ob._x, _y:ob._y});
ob.sens = pass["sens_" + ob.id];
ob.body.gotoAndStop(2);
ob.body.body.gotoAndStop(1);
if (_root.penumpang > 0) {
removeMovieClip(ob.sens);
ob.stat = 0;
}
if (ob.sens.hitTest(_root.mobil.sensor) and (_root.penumpang == 0)) {
trace("dpt");
ob.stat = 2;
removeMovieClip(ob.sens);
}
}
if (ob.stat == 2) {
ob.seru._visible = true;
if ((ob._x > 290) and (ob._x < 310)) {
if (ob._y < 210) {
ob.arah = 2;
} else if (ob._y > 220) {
ob.arah = 4;
}
} else {
if (ob._x < 290) {
ob.arah = 1;
}
if (ob._x > 310) {
ob.arah = 3;
}
}
if (_root.penumpang != 0) {
ob.seru._visible = false;
ob.stat = 0;
}
if (ob.sensor.hitTest(_root.mobil.sensor) and (_root.penumpang == 0)) {
ob._alpha = 0;
_root.penumpang = ob._currentframe;
ob.keluar = 0;
ob.gotoAndStop(1);
ob.sensor_penumpang._visible = false;
removeMovieClip(ob.sens);
ob.seru._visible = false;
ob._x = random(600);
ob._y = random(400);
ob.seru._visible = false;
trace("ada penumpang " + _root.penumpang);
_root.hitungjarak();
while ((Math.abs(_root.t_dx) < 3) and (Math.abs(_root.t_dy) < 3)) {
_root.hitungjarak();
}
_root.bayaran = Math.floor(_root.jarak * _root.biayaperkm);
_root.tekstujuan = _root.jalan1[_root.tujuan][2];
_root.aktif = 0;
_root.attachMovie("kemana", "kemana", 10001, {_x:0, _y:0});
_root.argo = 0;
_root.tilelama = _root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1];
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama + 60;
set_destination(_root.jalan1[_root.tujuan][0], _root.jalan1[_root.tujuan][1]);
trace((((((((((("jarak = " + _root.jarak) + " $ = ") + _root.bayaran) + " dest = ") + _root.tekstujuan) + " dest kord : ") + _root.jalan1[_root.tujuan][0]) + ", ") + _root.jalan1[_root.tujuan][1]) + " tile lama = ") + _root.tilelama);
}
}
if ((((ob._x < -100) or (ob._x > 700)) or (ob._y < -100)) or (ob._y > 550)) {
ob._alpha = 0;
ob.keluar = 0;
ob.gotoAndStop(random(7) + 1);
ob.sensor_penumpang._visible = false;
removeMovieClip(ob.sens);
ob._x = random(600);
ob._y = random(400);
ob.seru._visible = false;
ob.naik = random(2);
}
}
} else {
ob._alpha = 0;
ob.stat = 0;
ob._x = random(600);
ob._y = random(400);
ob.body.gotoAndStop(random(7) + 1);
ob.seru._visible = false;
ob.sensor_penumpang._visible = false;
removeMovieClip(ob.sens);
ob.body.body.gotoAndStop(1);
ob.naik = random(2);
}
}
stopAllSounds();
removeMovieClip("tiles");
removeMovieClip("plus");
loop_sound("sound_kota");
last_man_hit = 0;
miring = 0;
mati = 0;
wa = 0;
wket = 0;
skalatile = 100;
stop();
aktif = 1;
teks = "";
detik = 59;
xspeed = 0;
yspeed = 0;
speeds = 0;
biayaperkm = 5;
hargabensin = 1;
aktif = 1;
xspeed = 0;
yspeed = 0;
speeds = 0;
pilihanmusik = 0;
setir = 0;
sensetir = 1;
dalam_asap = 0;
delay_asap = 0;
argo = 0;
kecepatan = (5 + jenismesin) + (((jenisroda + jenissuspensi) + jenisbody) / 3);
kecepatan = 10;
real_speed = kecepatan;
trace("kec = " + kecepatan);
gas = 0.2;
barutabrakan = 0;
keyboard = 0;
steering = 0;
jarak = 0;
maxsteering = 5;
kecmobilumum = 4;
kena_oil = 0;
kena_paku = 0;
alphabuilding = true;
pendudukditabrak = 0;
nitro = 0;
keterangan = "";
dapatbonus = 0;
dragrace = 0;
dragdriver = 0;
jumlahdrug = 0;
geserx = false;
gesery = false;
movx = false;
movy = false;
police_sound_on = false;
minimap_speed = 0.3;
tampakx = 6;
tampaky = 8;
game = {tileW:skalatile, tileH:skalatile, currentMap:1, visx:tampakx, visy:tampaky, centerx:300, centery:210};
game.Tile0 = function () {
};
game.Tile0.prototype.walkable = true;
game.Tile0.prototype.frameaktif = 1;
game.Tile1 = function () {
};
game.Tile1.prototype.walkable = false;
game.Tile1.prototype.frameaktif = 2;
game.Doors = function (newmap, newcharx, newchary) {
this.newmap = newmap;
this.newcharx = newcharx;
this.newchary = newchary;
};
game.Doors.prototype.walkable = true;
game.Doors.prototype.frameaktif = 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.frameaktif = 20;
char = {xtile:poscarx, ytile:poscary, speed:0};
lebar = map[0].length;
tinggi = map.length;
buildMap(_root["myMap" + game.currentMap]);
draw_minimap(frame.minimap, map_selected, poscarx, poscary);
if (penumpang > 0) {
set_destination(_root.jalan1[_root.tujuan][0], _root.jalan1[_root.tujuan][1]);
}
if (barumain == 0) {
barumain = 1;
attachMovie("help", "help", 1000);
}
aktif = 1;
mask_all();
stop();
fscommand ("allowscale", "false");
trace("penumpang = " + _root.penumpang);
bgsound.stop();
pilihan_musik = random(3) + 1;
timeStart = getTimer();
systemtimeStart = new Date().getTime();
Instance of Symbol 439 MovieClip [empty] "controller" in Frame 36
onClipEvent (load) {
gaksabar = 0;
}
onClipEvent (enterFrame) {
if (((_root.aktif == 1) and (_root.mati == 0)) and (_root.barumain == 1)) {
_root.gerak();
if (Key.isDown(38) or Key.isDown(40)) {
if (_root.cartype != 0) {
_root.bensin = _root.bensin - _root.konsumsibahanbakar;
}
}
}
}
Instance of Symbol 439 MovieClip [empty] in Frame 36
onClipEvent (load) {
i = 0;
while (i < 20) {
this.createEmptyMovieClip("dummy_" + i, i);
i++;
}
trace(this.dummy_3);
_root.suaratabrakan = new Sound(this.dummy_0);
_root.suaratabrakan.attachSound("tubrukan");
_root.suaratabrakan.setVolume(_root.volumesuara);
_root.suarabukapintu = new Sound(this.dummy_1);
_root.suarabukapintu.attachSound("bukapintu");
_root.suaratutuppintu = new Sound(this.dummy_7);
_root.suaratutuppintu.attachSound("tutuppintu");
_root.suaranyenggol = new Sound(this.dummy_2);
_root.suaranyenggol.attachSound("nyenggol");
_root.suaranyenggol.setVolume(_root.volumesuara);
_root.suarangepot = new Sound(this.dummy_3);
_root.suarangepot.attachSound("ngepot");
_root.suarangepot.setVolume(10);
_root.suaraservis = new Sound(this.dummy_4);
_root.suaraservis.attachSound("servis");
_root.suaraservis.setVolume(_root.volumesuara);
_root.gangguanradio = new Sound(this.dummy_5);
_root.gangguanradio.attachSound("radio");
_root.ganguanradio.setVolume(_root.volumesuara);
_root.ngebel = new Sound(this.dummy_6);
_root.ngebel.attachSound("horn");
_root.ngebel.setVolume(_root.volumesuara);
_root.sound_cash = new Sound(this.dummy_8);
_root.sound_cash.attachSound("cash_add");
_root.sound_radio = new Sound(this.dummy_9);
if (_root.pilihan_musik == 1) {
_root.sound_radio.attachSound("musik1");
} else if (_root.pilihan_musik == 2) {
_root.sound_radio.attachSound("musik2");
} else if (_root.pilihan_musik == 3) {
_root.sound_radio.attachSound("musik3");
}
_root.sound_radio.setVolume(100);
if (_root.sound_aktif == 1) {
_root.sound_radio.start(0, 999);
}
bosenradio = 0;
tekanh = 0;
tekanr = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(72) and (tekanh == 0)) and (_root.aktif == 1)) {
tekanh = 30;
_root.play_sound("ngebel");
}
if (tekanh > 0) {
tekanh--;
}
if (tekanr > 0) {
tekanr--;
}
if (((Key.isDown(82) and (_root.aktif == 1)) and (_root.sound_aktif == 1)) and (tekanr == 0)) {
tekanr = 20;
_root.pilihan_musik++;
if (_root.pilihan_musik > 3) {
_root.pilihan_musik = 0;
}
if (_root.pilihan_musik == 1) {
_root.sound_radio.attachSound("musik1");
} else if (_root.pilihan_musik == 2) {
_root.sound_radio.attachSound("musik2");
} else if (_root.pilihan_musik == 3) {
_root.sound_radio.attachSound("musik3");
} else {
_root.sound_radio.stop();
}
_root.sound_radio.stop();
if (_root.pilihan_musik > 0) {
_root.gangguanradio.start(0, 1);
_root.gangguanradio.onSoundComplete = function () {
_root.sound_radio.setVolume(100);
_root.sound_radio.start(0, 999);
};
}
if (bosenradio != _root.pilihan_musik) {
bosenradio = 0;
_root.keterangan = "";
}
}
if (_root.sound_aktif == 1) {
if ((((_root.aktif == 1) and (random(800) == 140)) and (_root.penumpang > 0)) and (_root.pilihan_musik > 0)) {
_root.keterangan = "hey.. i don't like your radio channel";
bosenradio = _root.pilihan_musik;
}
if ((((_root.aktif == 1) and (random(800) == 240)) and (_root.penumpang > 0)) and (_root.pilihan_musik == 0)) {
_root.keterangan = "hey.. i want a music";
bosenradio = _root.pilihan_musik;
}
}
}
Instance of Symbol 439 MovieClip [empty] in Frame 36
onClipEvent (load) {
detik = 0;
wk = 0;
realtime = 20;
max_time = _root.mission_time[_root.campaign_level];
}
onClipEvent (enterFrame) {
if (((_root.aktif == 1) and (_root.game_type == 1)) and (_root.campaign_time > 0)) {
detik++;
if (detik > realtime) {
detik = 0;
_root.campaign_time--;
}
_root.frame.campaign_prop.timer.detik.gotoAndStop(Math.floor(((max_time - _root.campaign_time) / max_time) * 12));
if (_root.campaign_time == 0) {
trace("campaign end");
if (_root.target_earning > _root.current_earning) {
trace(" mission failed");
_root.aktif = 0;
_root.attachMovie("objective_failed", "g_result", 1201);
} else {
trace(" mission done");
_root.aktif = 0;
_root.attachMovie("objective_done", "g_result", 1201);
}
}
}
if (!_root.original) {
_root.gotoAndStop(29);
}
}
Instance of Symbol 1628 MovieClip "awan" in Frame 36
onClipEvent (load) {
_x = random(1800);
_y = random(1200);
this.swapDepths(900);
}
onClipEvent (enterFrame) {
if (_root.aktif == 1) {
if ((((_y < -1200) or (_y > 1400)) or (_x < -1800)) or (_x > 1900)) {
if (random(5) == 3) {
_x = -300;
_y = random(420);
} else if (random(5) == 2) {
_x = 900;
_y = random(420);
} else if (random(5) == 1) {
_x = random(600);
_y = 700;
} else {
_x = random(600);
_y = -300;
}
}
if (_root.code != _root.prtd) {
_root.gotoAndStop(29);
}
}
}
Instance of Symbol 1462 MovieClip [my_car] "mobil" in Frame 36
onClipEvent (load) {
this.swapDepths(15);
_x = 300;
_y = 210;
w = 0;
sr = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.penumpang + 1);
}
Instance of Symbol 1629 MovieClip "public_car" in Frame 36
onClipEvent (load) {
this.swapDepths(13);
}
Instance of Symbol 2292 MovieClip "public_human" in Frame 36
onClipEvent (load) {
this.swapDepths(14);
}
Frame 37
function top_race_vars() {
up_speed = 8;
max_up_speed = 16;
car_row = [0, 0, 0, 0, 0, 0, 0, 0, 0];
escape_from_police = 0;
top_view_mission = 1;
race_over = false;
dalam_asap = 0;
crash_time = 0;
police_out = 0;
explode = false;
loop_sound("sound_kota");
police_sound_volume = 10;
tr_police.setVolume(police_sound_volume);
loop_sound("tr_music");
loop_sound("tr_police");
}
function setup_road(ob) {
i = 0;
while (i < 3) {
ob.attachMovie("up_view_road", "road_" + i, i, {_x:-100, _y:(i - 1) * 300});
ob["road_" + i].gotoAndStop(random(10) + 1);
ob["road_" + i].id = i;
i++;
}
ob.attachMovie("my_car", "my_car", 10, {_x:450, _y:220});
ob.createEmptyMovieClip("asap_taxi", 9);
ob.my_car.gotoAndStop(penumpang + 1);
ob.my_car.rot = 0;
ob.my_car.body.gotoAndStop(45);
ob.my_car.crash = 0;
ob.my_car.crash_back = 0;
}
function add_public_car(ob) {
c_row = random(9);
if (car_row[c_row] == 0) {
car_row[c_row] = 1;
if (c_row < 4) {
ob.attachMovie("public_car", "public_car" + c_row, 15 + c_row, {_x:(145 + (c_row * 55)) + random(10), _y:-70});
ob["public_car" + c_row].gotoAndStop(random(8) + 1);
ob["public_car" + c_row].body.gotoAndStop(7);
ob["public_car" + c_row].sensor._rotation = 90;
ob["public_car" + c_row].dir = 0;
} else {
if (up_speed > 7) {
ob.attachMovie("public_car", "public_car" + c_row, 15 + c_row, {_x:(160 + (c_row * 50)) + random(7), _y:-70});
} else {
ob.attachMovie("public_car", "public_car" + c_row, 15 + c_row, {_x:(160 + (c_row * 50)) + random(7), _y:470});
}
ob["public_car" + c_row].gotoAndStop(random(8) + 1);
ob["public_car" + c_row].body.gotoAndStop(19);
ob["public_car" + c_row].sensor._rotation = -90;
ob["public_car" + c_row].dir = 1;
}
ob["public_car" + c_row].rot = 0;
ob["public_car" + c_row].my_row = c_row;
ob["public_car" + c_row].stat = 1;
ob["public_car" + c_row].speed = (max_up_speed - 2) - random(5);
ob["public_car" + c_row].max_speed = ob["public_car" + c_row].speed;
ob["public_car" + c_row].onEnterFrame = function () {
move_up_car(this);
};
}
}
function add_police_car(ob) {
p_row = 4 + random(5);
ob.attachMovie("public_car", "police_car", 35, {_x:230 + (p_row * 30), _y:470});
ob.police_car.gotoAndStop(9);
ob.police_car.body.gotoAndStop(19);
ob.police_car.speed = max_up_speed + 1;
ob.police_car.max_speed = ob.police_car.speed;
ob.police_car.sensor._rotation = -90;
ob.police_car.my_row = 10;
ob.police_car.stat = 1;
ob.police_car.dir = 1;
ob.police_car.onEnterFrame = function () {
move_up_car(this);
};
}
function move_road(ob, spd) {
if (spd > 0) {
ob.road_0._y = ob.road_0._y + spd;
if (ob.road_0._y > 450) {
ob.road_0._y = (ob.road_1._y - 300) + spd;
ob.road_0.gotoAndStop(random(10) + 1);
}
ob.road_1._y = ob.road_1._y + spd;
if (ob.road_1._y > 450) {
ob.road_1._y = (ob.road_2._y - 300) + spd;
ob.road_1.gotoAndStop(random(10) + 1);
}
ob.road_2._y = ob.road_2._y + spd;
if (ob.road_2._y > 450) {
ob.road_2._y = (ob.road_0._y - 300) + spd;
ob.road_2.gotoAndStop(random(10) + 1);
}
} else {
ob.my_car._y = ob.my_car._y - spd;
}
}
function check_hit_up_race(ob1, ob2) {
if (ob1.sensor.hitTest(ob2.sensor4)) {
if (ob1.my_row < 10) {
if (ob1.stat == 1) {
ob1.stat = 0;
}
} else {
ob1.speed = ob1.speed * 0.95;
if (ob1.stat < 4) {
ob1.xa = ob1._x;
if (ob1._x < arena.my_car._x) {
ob1.stat = 4;
} else {
ob1.stat = 5;
}
}
}
}
if (ob1.sensor2.hitTest(ob2.sensor2) and (ob1.stat == 1)) {
play_sound("hit_sound");
if (ob1._x < ob2._x) {
ob1.stat = 2;
ob2.stat = 3;
} else {
ob1.stat = 3;
ob2.stat = 2;
}
}
}
function move_up_car(ob) {
if (!race_over) {
if (ob.stat == 1) {
ob.hit = 0;
ob.speed = ob.speed;
if ((ob.speed < ob.max_speed) and (ob.max_speed != undefined)) {
ob.speed = ob.speed + 0.25;
}
if (ob.dir == 0) {
if (ob.body._currentframe < 7) {
ob.body.nextFrame();
}
if (ob.body._currentframe > 7) {
ob.body.prevFrame();
}
} else {
if (ob.body._currentframe < 19) {
ob.body.nextFrame();
}
if (ob.body._currentframe > 19) {
ob.body.prevFrame();
}
}
}
if (ob.stat == 2) {
ob.speed = ob.speed / 2;
ob._x--;
if (ob._x < 130) {
ob.stat = 0;
}
if (ob.dir == 0) {
if (ob.body._currentframe < 11) {
ob.body.nextFrame();
}
} else if (ob.body._currentframe > 16) {
ob.body.prevFrame();
}
if (ob.my_row <= 10) {
ob.hit++;
if (ob.hit > 20) {
ob.hit = 0;
ob.stat = 0;
}
}
}
if (ob.stat == 3) {
ob.speed = ob.speed / 2;
ob._x++;
if (ob._x > 565) {
ob.stat = 0;
}
if (ob.dir == 0) {
if (ob.body._currentframe > 4) {
ob.body.prevFrame();
}
} else if (ob.body._currentframe < 22) {
ob.body.nextFrame();
}
if (ob.my_row <= 10) {
ob.hit++;
if (ob.hit > 20) {
ob.hit = 0;
ob.stat = 0;
}
}
}
if (ob.stat == 4) {
if (ob.speed > 2) {
ob._x = ob._x + 5;
if (ob.body._currentframe < 22) {
ob.body.nextFrame();
}
if (Math.abs(ob._x - ob.xa) > 40) {
ob.stat = 1;
}
}
}
if (ob.stat == 5) {
if (ob.speed > 2) {
ob._x = ob._x - 5;
if (ob.body._currentframe > 16) {
ob.body.prevFrame();
}
if (Math.abs(ob._x - ob.xa) > 40) {
ob.stat = 1;
}
}
}
if (ob.stat == 0) {
ob.speed = 0;
}
if (ob.my_row != 0) {
check_hit_up_race(ob, arena.public_car0);
}
if (ob.my_row != 1) {
check_hit_up_race(ob, arena.public_car1);
}
if (ob.my_row != 2) {
check_hit_up_race(ob, arena.public_car2);
}
if (ob.my_row != 3) {
check_hit_up_race(ob, arena.public_car3);
}
if (ob.my_row != 4) {
check_hit_up_race(ob, arena.public_car4);
}
if (ob.my_row != 5) {
check_hit_up_race(ob, arena.public_car5);
}
if (ob.my_row != 6) {
check_hit_up_race(ob, arena.public_car6);
}
if (ob.my_row != 7) {
check_hit_up_race(ob, arena.public_car7);
}
if (ob.my_row != 10) {
check_hit_up_race(ob, arena.police_car);
}
if (ob.sensor.hitTest(arena.my_car.sensor2) and (arena.my_car.crash == 3)) {
ob.stat = 0;
}
if (ob.sensor2.hitTest(arena.my_car.sensor2) and (arena.my_car.crash == 0)) {
play_sound("hit_sound");
if (ob._y < (arena.my_car._y + 10)) {
if (ob._x < arena.my_car._x) {
ob.stat = 2;
arena.my_car.crash = 1;
up_speed = up_speed * -0.2;
}
if (ob._x > arena.my_car._x) {
ob.stat = 3;
arena.my_car.crash = 2;
up_speed = up_speed * -0.2;
}
} else {
ob.stat = random(2) + 2;
arena.my_car.crash = 1 + random(2);
up_speed = up_speed * 0.9;
}
if (ob.dir == 0) {
energi = energi - Math.abs(Math.abs(up_speed) + Math.abs(ob.speed));
} else {
energi = energi - Math.abs(Math.abs(up_speed) - Math.abs(ob.speed / 2));
trace("pwr = " + energi);
}
if (ob.my_row == 10) {
arena.my_car.crash = 3;
trace("busted");
this.attachMovie("result_busted", "race_result", 20, {_x:200, _y:150});
} else if (energi < 0) {
arena.my_car.crash = 3;
this.attachMovie("result_failed_accident", "race_result", 20, {_x:200, _y:150});
}
}
if (ob.dir == 0) {
ob._y = ob._y + (ob.speed + up_speed);
} else {
ob._y = ob._y - (ob.speed - up_speed);
}
if (ob._y < -100) {
car_row[ob.my_row] = 0;
if (ob.my_row == 10) {
}
removeMovieClip(ob);
}
if (ob._y > 520) {
car_row[ob.my_row] = 0;
removeMovieClip(ob);
}
if ((ob.my_row == 10) and (ob.stat == 1)) {
if ((ob.speed < ((max_up_speed - random(5)) + random(5))) and (random(10) == 5)) {
ob.speed = ob.speed + 0.5;
}
if (ob._y < (arena.my_car._y - 30)) {
ob.speed = ob.speed * 0.95;
}
if (ob.body._currentframe < 19) {
ob.body.nextFrame();
}
if (ob.body._currentframe > 19) {
ob.body.prevFrame();
}
if (((ob._x < (arena.my_car._x - 20)) and (random(20) == 4)) and (Math.abs(ob._y - arena.my_car._y) < 50)) {
ob.xa = ob._x + 10;
ob.stat = 4;
}
if (((ob._x > (arena.my_car._x + 20)) and (random(20) == 4)) and (Math.abs(ob._y - arena.my_car._y) < 50)) {
ob.xa = ob._x - 10;
ob.stat = 5;
}
}
}
}
function setup_up_race() {
this.createEmptyMovieClip("arena", 1);
this.attachMovie("mask", "masker", 2);
this.attachMovie("panel", "panel", 3);
this.setMask(this.masker);
setup_road(this.arena);
}
function set_rot(ob) {
ob.rot = (ob.body._currentframe - 45) * 2;
}
function top_race() {
if (!race_over) {
dalam_asap++;
arena.asap_taxi.attachMovie("asap_taxi_up", "asap_" + dalam_asap, dalam_asap, {_x:arena.my_car._x + 5, _y:arena.my_car._y});
if (top_view_mission == 1) {
if (this.arena.police_car == undefined) {
if (escape_from_police < 100) {
escape_from_police = escape_from_police + 0.4;
}
if (escape_from_police >= 50) {
trace("sukses");
this.attachMovie("result_success", "race_result", 20, {_x:200, _y:150});
top_view_mission = 0;
}
} else if (!this.arena.police_car.smoke._visible) {
if ((this.arena.my_car._y < this.arena.police_car._y) and (escape_from_police >= -50)) {
escape_from_police = escape_from_police - ((200 - Math.abs(this.arena.my_car._y - this.arena.police_car._y)) / 150);
}
}
this.panel.busted_meter.gotoAndStop(Math.round((escape_from_police / 2) + 25));
this.panel.p_car._x = (this.panel.busted_meter._x + (this.panel.busted_meter._currentframe * 3)) + 20;
police_sound_volume = 70 - this.panel.busted_meter._currentframe;
tr_police.setVolume(police_sound_volume);
}
if (((((top_view_mission == 1) and (random(30) < 5)) and (this.arena.police_car == undefined)) and (escape_from_police < 100)) and (police_out < 3)) {
police_out++;
add_police_car(this.arena);
}
if (random(30) < 5) {
add_public_car(this.arena);
}
if (up_speed > max_up_speed) {
up_speed = up_speed * 0.99;
}
if (this.arena.my_car.crash != 3) {
if (Key.isDown(38)) {
if (bensin > 0) {
if (this.arena.my_car._y > 220) {
this.arena.my_car._y--;
}
if (up_speed < max_up_speed) {
up_speed = up_speed + 0.25;
}
bensin = bensin - 0.03;
}
} else if (Key.isDown(40)) {
if (up_speed > 0) {
up_speed = up_speed * 0.95;
}
} else {
if (up_speed > 0) {
up_speed = up_speed * 0.99;
}
if (this.arena.my_car.body._currentframe < 45) {
this.arena.my_car.body.nextFrame();
}
if (this.arena.my_car.body._currentframe > 45) {
this.arena.my_car.body.prevFrame();
}
}
if (Key.isDown(39) or (this.arena.my_car.crash == 1)) {
if (this.arena.my_car.body._currentframe < 53) {
this.arena.my_car.body.nextFrame();
}
set_rot(this.arena.my_car);
if (this.arena.my_car._x < 565) {
this.arena.my_car._x = this.arena.my_car._x + ((0.4 * up_speed) * Math.cos((this.arena.my_car.rot * Math.PI) / 180));
}
} else if (Key.isDown(37) or (this.arena.my_car.crash == 2)) {
if (this.arena.my_car.body._currentframe > 38) {
this.arena.my_car.body.prevFrame();
}
set_rot(this.arena.my_car);
if (this.arena.my_car._x > 135) {
this.arena.my_car._x = this.arena.my_car._x - ((0.4 * up_speed) * Math.cos((this.arena.my_car.rot * Math.PI) / 180));
}
} else {
if (this.arena.my_car.body._currentframe < 45) {
this.arena.my_car.body.nextFrame();
}
if (this.arena.my_car.body._currentframe > 45) {
this.arena.my_car.body.prevFrame();
}
set_rot(this.arena.my_car);
}
} else {
if (up_speed > 0) {
up_speed = up_speed * 0.7;
}
this.arena.my_car.smoke._visible = true;
}
move_road(this.arena, up_speed);
cx = (-this.arena.my_car._x) + 300;
if (cx > 50) {
cx = 50;
}
if (cx < -150) {
cx = -150;
}
this.arena._x = this.arena._x + ((cx - this.arena._x) / 10);
if ((this.arena.my_car.crash > 0) and (this.arena.my_car.crash < 3)) {
this.arena.my_car.crash_back++;
if (this.arena.my_car.crash_back > 10) {
this.arena.my_car.crash_back = 0;
this.arena.my_car.crash = 0;
}
}
if (this.arena.my_car.crash == 3) {
crash_time++;
if (crash_time < 20) {
this.arena.my_car._x = this.arena.my_car._x + ((0.5 * up_speed) * Math.cos((this.arena.my_car.rot * Math.PI) / 180));
up_speed = up_speed * 0.99;
this.arena.my_car.body.play();
} else {
up_speed = 0;
this.arena.my_car.body.stop();
this.arena.asap_taxi.swapDepths(11);
explode = true;
}
}
}
}
function clear_up_race() {
removeMovieClip(this.arena);
removeMovieClip(this.masker);
removeMovieClip(this.panel);
delete this.onEnterFrame;
}
function end_race() {
clear_up_race();
trace("back to main");
speed_taxi = 5;
stopAllSounds();
gotoAndStop ("main");
}
top_race_vars();
setup_up_race();
this.onEnterFrame = function () {
top_race();
};
this._y = 0;
Symbol 20 MovieClip Frame 200
stop();
gotoAndPlay (2);
Symbol 23 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
a._visible = false;
var i = 0;
while (i < 5) {
A = a.duplicateMovieClip("a" + i, i);
A._x = random(1500) + 100;
A._y = random(200);
A.speed = random(3) + 1;
A._xscale = random(50) + 50;
A._yscale = random(50) + 50;
A._alpha = random(80) + 30;
A.onEnterFrame = function () {
if (this._x > -200) {
this._x = this._x - this.speed;
} else {
this._x = random(1000) + 700;
this._y = random(200);
this.speed = random(3) + 1;
}
};
i++;
}
Symbol 44 MovieClip Frame 2
_x = (random(900) - 350);
if (_parent.FishOK) {
stop();
} else {
gotoAndPlay(random(200) + 3);
}
Symbol 44 MovieClip Frame 344
gotoAndPlay (1);
Symbol 89 MovieClip Frame 120
gotoAndPlay (2);
Symbol 130 MovieClip Frame 1
Symbol 130 MovieClip Frame 120
gotoAndPlay (2);
Symbol 144 MovieClip Frame 1
function GFI1() {
this.nextFrame();
}
GIFs = setInterval(GFI1, 30);
Symbol 144 MovieClip Frame 21
gotoAndPlay (2);
Symbol 155 MovieClip Frame 1
function GFI1() {
this.nextFrame();
}
GIFs = setInterval(GFI1, 30);
Symbol 155 MovieClip Frame 20
gotoAndPlay (2);
Symbol 168 MovieClip Frame 1
function GFI1() {
this.nextFrame();
}
GIFs = setInterval(GFI1, 30);
Symbol 168 MovieClip Frame 120
gotoAndPlay (2);
Symbol 174 MovieClip Frame 1
function GFI1() {
this.nextFrame();
}
GIFs = setInterval(GFI1, 30);
Symbol 174 MovieClip Frame 8
gotoAndPlay (2);
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 45
ok = false;
gotoAndPlay (1);
Symbol 207 MovieClip Frame 1
yz.onRollOver = function () {
yz.ok = true;
this.play();
};
Symbol 207 MovieClip Frame 100
gotoAndPlay (1);
Symbol 224 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_global.GoTo);
};
Symbol 239 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_global.GoTo);
};
Symbol 240 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 58
gotoAndPlay (1);
Symbol 242 MovieClip Frame 80
stop();
Symbol 246 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_global.GoTo);
};
Symbol 255 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_global.GoTo);
};
Symbol 275 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_global.GoTo);
};
Symbol 276 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 46
stop();
_parent.GameReady();
Symbol 286 MovieClip Frame 1
function IntroOK() {
clearInterval(Time);
HOK = true;
H.play();
onEnterFrame = function () {
SodVolume = SodVolume - 4;
RoomSod.setVolume(SodVolume);
};
}
function GameReady() {
stopAllSounds();
_root.gotoAndStop(2);
}
function LoadOK() {
gotoAndStop (10);
Con.onRelease = ConOK;
Con.onRollOver = function () {
this.gotoAndStop(2);
};
Con.onRollOut = function () {
this.gotoAndStop(1);
};
}
function ConOK() {
a2.gotoAndPlay(51);
Time = setInterval(IntroOK, _root.TimeNum);
Sod10.stop();
FishOK = true;
play();
}
function NewLoading() {
Loading.onEnterFrame = function () {
Load = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.LoadingTxt.txt.text = Load + " %";
if (Load == 100) {
LoadOK();
delete this.onEnterFrame;
}
};
}
var FishOK;
var Time;
var Sod10 = new Sound(Sod1);
var SodVolume = 100;
var RoomSod = new Sound();
stop();
var HOK;
NewLoading();
_global.Url = "http://www.gamesbook.com";
_global.GoTo = "gamesbook";
var lv = new LoadVars();
lv.onData = function (portalData) {
var _local3 = portalData.toLowerCase();
if (_local3 == "gamesbook.com") {
_global.Url = "http://www.gamesbook.com";
_global.GoTo = "gamesbook";
} else if (_local3 == "wyspagier.pl") {
_global.Url = "http://www.wyspagier.pl";
_global.GoTo = "wyspagier";
} else if (_local3 == "oyunlaradasi.com") {
_global.Url = "http://www.oyunlaradasi.com";
_global.GoTo = "oyunlaradasi";
} else if (_local3 == "joacajocuri.ro") {
_global.Url = "http://www.joacajocuri.ro";
_global.GoTo = "joacajocuri";
} else if (_local3 == "gladespil.dk") {
_global.Url = "http://www.gladespil.dk";
_global.GoTo = "gladespil";
} else if (_local3 == "jogarlegal.com.br") {
_global.Url = "http://www.jogarlegal.com.br";
_global.GoTo = "jogarlegal";
} else if (_local3 == "jeuxdroles.fr") {
_global.Url = "http://www.jeuxdroles.fr";
_global.GoTo = "jeuxdroles";
} else if (_local3 == "universodelgioco.it") {
_global.Url = "http://www.universodelgioco.it";
_global.GoTo = "universodelgioco";
} else if (_local3 == "jocjogos.com") {
_global.Url = "http://www.jocjogos.com";
_global.GoTo = "jocjogos";
} else if (_local3 == "juegoswapos.es") {
_global.Url = "http://www.juegoswapos.es";
_global.GoTo = "juegoswapos";
} else if (_local3 == "speeleiland.nl") {
_global.Url = "http://www.speeleiland.nl";
_global.GoTo = "speeleiland";
} else if (_local3 == "brincar.pt") {
_global.Url = "http://www.brincar.pt";
_global.GoTo = "brincar";
} else if (_local3 == "gratisspill.no") {
_global.Url = "http://www.gratisspill.no";
_global.GoTo = "gratisspill";
} else if (_local3 == "spielkarussell.de") {
_global.Url = "http://www.spielkarussell.de";
_global.GoTo = "spielkarussell";
} else {
_global.Url = "http://www.gamesbook.com";
_global.GoTo = "gamesbook";
}
_root.Url = Url;
};
var sender = new LocalConnection();
domein = sender.domain();
if (domein != "localhost") {
lv.load("http://api.jaludo.com/geoip/index.php?return=domain&type=gameshell&portal=gamesbook");
}
On.onRelease = function () {
_root.open_link("preloader");
};
Symbol 286 MovieClip Frame 10
stop();
if (_root.continueButton == 2) {
Con._xscale = 140;
Con._yscale = 140;
}
Symbol 286 MovieClip Frame 11
On.onRelease = function () {
_root.open_link("intro");
};
Symbol 286 MovieClip Frame 35
stop();
Symbol 2293 MovieClip [__Packages.mx.rpc.Responder] Frame 0
interface mx.rpc.Responder
{
}
Symbol 2294 MovieClip [__Packages.mx.rpc.ResultEvent] Frame 0
class mx.rpc.ResultEvent extends Object
{
var __result;
function ResultEvent (res) {
super();
__result = res;
}
function get result() {
return(__result);
}
}
Symbol 2295 MovieClip [__Packages.mx.rpc.FaultEvent] Frame 0
class mx.rpc.FaultEvent extends Object
{
var __fault;
function FaultEvent (f) {
super();
__fault = f;
}
function get fault() {
return(__fault);
}
}
Symbol 2296 MovieClip [__Packages.mx.rpc.Fault] Frame 0
class mx.rpc.Fault extends Object
{
var __faultcode, __faultstring, __detail, __type, __description;
function Fault (code, msg, detail, type) {
super();
__faultcode = code;
__faultstring = msg;
__detail = detail;
__type = type;
}
function get faultcode() {
return(__faultcode);
}
function get faultstring() {
return(__faultstring);
}
function get detail() {
return(__detail);
}
function get description() {
if (__description == null) {
if (__faultstring.indexOf(":") > -1) {
__description = __faultstring.substring(__faultstring.indexOf(":") + 1);
var _local2 = 0;
while (__description.indexOf(" ", _local2) == _local2) {
_local2++;
}
if (_local2 > 0) {
__description = __description.substring(_local2);
}
} else {
__description = __faultstring;
}
}
return(__description);
}
function get type() {
return(__type);
}
}
Symbol 2297 MovieClip [__Packages.mx.rpc.RelayResponder] Frame 0
class mx.rpc.RelayResponder extends Object implements mx.rpc.Responder
{
var __obj, __onFault, __onResult;
function RelayResponder (resp, resultFunc, faultFunc) {
super();
__obj = resp;
__onFault = faultFunc;
__onResult = resultFunc;
}
function onFault(fault) {
__obj[__onFault](fault);
}
function onResult(result) {
__obj[__onResult](result);
}
}
Symbol 2298 MovieClip [__Packages.mx.remoting.NetServiceProxy] Frame 0
class mx.remoting.NetServiceProxy extends Object
{
var nc, serviceName, client;
function NetServiceProxy (netC, servName, cli) {
super();
if (netC != null) {
nc = netC;
serviceName = servName;
client = cli;
}
_allowRes = true;
}
function _setParentService(service) {
nc = service.nc;
client = service.client;
}
function __resolve(methodName) {
if (_allowRes) {
var _local3 = function () {
if (this.client != null) {
arguments.unshift(new mx.remoting.NetServiceProxyResponder(this, methodName));
} else if (typeof(arguments[0].onResult) != "function") {
mx.remoting.NetServices.trace("NetServices", "warning", 3, "There is no defaultResponder, and no responder was given in call to " + methodName);
arguments.unshift(new mx.remoting.NetServiceProxyResponder(this, methodName));
}
if (typeof(this.serviceName) == "function") {
this.serviceName = this.servicename;
}
arguments.unshift((this.serviceName + ".") + methodName);
return(this.nc.call.apply(this.nc, arguments));
};
return(_local3);
}
return(null);
}
static function registerNetServiceProxy() {
Object.registerClass("NetServiceProxy", mx.remoting.NetServiceProxy);
return(true);
}
static var init = registerNetServiceProxy();
var _allowRes = false;
}
Symbol 2299 MovieClip [__Packages.mx.remoting.Connection] Frame 0
class mx.remoting.Connection extends NetConnection
{
var uri, __urlSuffix, __originalUrl;
function Connection () {
super();
}
function getService(serviceName, client) {
var _local2 = new mx.remoting.NetServiceProxy(this, serviceName, client);
return(_local2);
}
function setCredentials(userId, password) {
addHeader("Credentials", false, {userid:userId, password:password});
}
function clone() {
var _local2 = new mx.remoting.Connection();
_local2.connect(uri);
return(_local2);
}
function getDebugId() {
return(null);
}
function getDebugConfig() {
return(null);
}
function setDebugId(id) {
}
function updateConfig() {
}
function call() {
super.call.apply(super, arguments);
}
function close() {
super.close();
}
function connect(url) {
return(super.connect(url));
}
function addHeader(name, mustUnderstand, obj) {
super.addHeader(name, mustUnderstand, obj);
}
function trace(traceObj) {
}
function AppendToGatewayUrl(urlSuffix) {
__urlSuffix = urlSuffix;
if (__originalUrl == null) {
__originalUrl = uri;
}
var _local2 = __originalUrl + urlSuffix;
connect(_local2);
}
function ReplaceGatewayUrl(newUrl) {
connect(newUrl);
}
function RequestPersistentHeader(info) {
addHeader(info.name, info.mustUnderstand, info.data);
}
static var version = "1.2.0.124";
}
Symbol 2300 MovieClip [__Packages.mx.remoting.NetServiceProxyResponder] Frame 0
class mx.remoting.NetServiceProxyResponder extends Object
{
var service, methodName;
function NetServiceProxyResponder (serv, method) {
super();
service = serv;
methodName = method;
}
function onResult(result) {
var _local2 = service.client;
if ((result instanceof mx.remoting.NetServiceProxy) || (result instanceof mx.remoting.RecordSet)) {
result._setParentService(service);
}
var _local4 = methodName + "_Result";
if (typeof(_local2[_local4]) == "function") {
_local2[_local4].apply(_local2, [result]);
} else if (typeof(_local2.onResult) == "function") {
_local2.onResult(result);
} else {
mx.remoting.NetServices.trace("NetServices", "info", 1, (_local4 + " was received from server: ") + result);
}
}
function onStatus(result) {
var _local4 = service.client;
var _local6 = methodName + "_Status";
if (typeof(_local4[_local6]) == "function") {
_local4[_local6].apply(_local4, [result]);
} else if (typeof(_local4.onStatus) == "function") {
_local4.onStatus(result);
} else if (typeof(_root.onStatus) == "function") {
_root.onStatus(result);
} else if (typeof(_global.System.onStatus) == "function") {
_global.System.onStatus(result);
} else {
mx.remoting.NetServices.trace("NetServices", "info", 2, (((_local6 + " was received from server: <") + result.level) + "> ") + result.description);
}
}
}
Symbol 2301 MovieClip [__Packages.mx.data.PageableData] Frame 0
interface mx.data.PageableData
{
}
Symbol 2302 MovieClip [__Packages.mx.data.DataRange] Frame 0
interface mx.data.DataRange
{
}
Symbol 2303 MovieClip [__Packages.mx.data.PageableList] Frame 0
interface mx.data.PageableList extends mx.data.PageableData
{
}
Symbol 2304 MovieClip [__Packages.mx.remoting.RecordSet] Frame 0
class mx.remoting.RecordSet extends Object implements mx.data.PageableList
{
var _items, uniqueID, mTitles, serverInfo, serverinfo, mRecordsAvailable, mRecordSetID, serviceName, mTotalCount, mDeliveryMode, mAllNotified, mOutstandingRecordCount, dispatchEvent, mPageSize, mNumPrefetchPages, mRecordSetService, gateway_conn, logger, mDataFetcher;
function RecordSet (columnNames) {
super();
mx.events.EventDispatcher.initialize(this);
_items = new Array();
uniqueID = 0;
if (mTitles != null) {
return;
}
if (serverInfo == null) {
if (serverinfo != null) {
serverInfo = serverinfo;
}
}
if (serverInfo == null) {
mTitles = columnNames;
return;
}
if (serverInfo.version != 1) {
mx.remoting.NetServices.trace("RecordSet", "warning", 100, "Received incompatible RecordSet version from server");
return;
}
mTitles = serverInfo.columnNames;
mRecordsAvailable = 0;
setData(((serverInfo.cursor == null) ? 0 : (serverInfo.cursor - 1)), serverInfo.initialData);
if (serverInfo.initialData.length != serverInfo.totalCount) {
mRecordSetID = serverInfo.id;
if (mRecordSetID != null) {
serviceName = ((serverInfo.serviceName == null) ? "RecordSet" : (serverInfo.serviceName));
mTotalCount = serverInfo.totalCount;
mDeliveryMode = "ondemand";
mAllNotified = false;
mOutstandingRecordCount = 0;
} else {
mx.remoting.NetServices.trace("RecordSet", "warning", 102, "Missing some records, but there's no RecordSet id");
}
}
serverInfo = null;
}
function addItem(item) {
addItemAt(length, item);
}
function addItemAt(index, item) {
var _local3 = true;
if ((index < length) && (index >= 0)) {
items.splice(index, 0, item);
} else if (index == length) {
items[index] = item;
} else {
_local3 = false;
mx.remoting.NetServices.trace("Cannot add an item outside the bounds of the RecordSet");
return(undefined);
}
if (_local3) {
item.__ID__ = uniqueID++;
}
updateViews("addItems", index, index);
}
function addEventListener(event, listener) {
}
function clear() {
if (checkLocal()) {
return(undefined);
}
var _local2 = items.length;
items.splice(0);
uniqueID = 0;
updateViews("removeItems", 0, _local2);
}
function contains(itmToCheck) {
if (isObjectEmpty(itmToCheck)) {
return(false);
}
var _local5;
var _local4;
var _local2 = 0;
while (_local2 < items.length) {
_local5 = items[_local2];
_local4 = true;
for (var _local6 in itmToCheck) {
if (itmToCheck[_local6] != _local5[_local6]) {
_local4 = false;
break;
}
}
if (_local4) {
return(true);
}
_local2++;
}
return(false);
}
function getColumnNames() {
return(mTitles);
}
function get columnNames() {
return(getColumnNames());
}
function getLocalLength() {
return(items.length);
}
function getLength() {
if (mRecordSetID != null) {
return(mTotalCount);
}
return(items.length);
}
function getIterator() {
var _local2 = new mx.remoting.RecordSetIterator(this);
return(_local2);
}
function get length() {
return(getLength());
}
function getItemAt(index) {
if ((index < 0) || (index >= length)) {
return(null);
}
if (mRecordSetID == null) {
return(items[index]);
}
requestRecord(index);
var _local3 = items[index];
if (_local3 == 1) {
return("in progress");
}
return(_local3);
}
function getItemID(index) {
return(items[index].__ID__);
}
function get items() {
return(_items);
}
function initialize(info) {
}
function filter(filterFunction, context) {
if (checkLocal()) {
return(undefined);
}
var _local4 = new mx.remoting.RecordSet(mTitles);
var _local5 = length;
var _local3 = 0;
while (_local3 < _local5) {
var _local2 = getItemAt(_local3);
if (((_local2 != null) && (_local2 != 1)) && (filterFunction(_local2, context))) {
_local4.addItem(_local2);
}
_local3++;
}
return(_local4);
}
function sortItems(compareFunc, optionFlags) {
if (checkLocal()) {
return(undefined);
}
items.sort(compareFunc, optionFlags);
updateViews("sort");
}
function sortItemsBy(fieldNames, order, optionFlags) {
if (checkLocal()) {
return(undefined);
}
if (typeof(order) == "string") {
items.sortOn(fieldNames);
if (order.toUpperCase() == "DESC") {
items.reverse();
}
} else {
items.sortOn(fieldNames, optionFlags);
}
updateViews("sort");
}
function sort(compareFunc) {
if (checkLocal()) {
return(undefined);
}
items.sort(compareFunc);
updateViews("sort");
}
function isEmpty() {
return(items.length == 0);
}
function isLocal() {
return(mRecordSetID == null);
}
function isFullyPopulated() {
return(isLocal());
}
function getRemoteLength() {
if (isLocal()) {
return(mRecordsAvailable);
}
return(mTotalCount);
}
function getNumberAvailable() {
if (isLocal()) {
return(getLength());
}
return(mRecordsAvailable);
}
function replaceItemAt(index, item) {
if ((index >= 0) && (index <= length)) {
var _local3 = getItemID(index);
items[index] = item;
items[index].__ID__ = _local3;
updateViews("updateItems", index, index);
}
}
function removeAll() {
clear();
}
function removeItemAt(index) {
var _local3 = _items[index];
_items.splice(index, 1);
var _local5 = [_items[index]];
var _local4 = [getItemID(index)];
dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:index, lastItem:index, removedItems:_local5, removedIDs:_local4});
return(_local3);
}
function removeEventListener(event, listener) {
}
function requestRange(range) {
var _local2 = range.getStart();
var _local3 = range.getEnd();
return(internalRequestRange(_local2, _local3));
}
function setDeliveryMode(mode, pagesize, numPrefetchPages) {
mDeliveryMode = mode.toLowerCase();
stopFetchAll();
if ((pagesize == null) || (pagesize <= 0)) {
pagesize = 25;
}
switch (mDeliveryMode) {
case "ondemand" :
break;
case "page" :
if (numPrefetchPages == null) {
numPrefetchPages = 0;
}
mPageSize = pagesize;
mNumPrefetchPages = numPrefetchPages;
break;
case "fetchall" :
stopFetchAll();
startFetchAll(pagesize);
break;
default :
mx.remoting.NetServices.trace("RecordSet", "warning", 107, "SetDeliveryMode: unknown mode string");
}
}
function editField(index, fieldName, value) {
changeFieldValue(index, fieldName, value);
}
function getEditingData(index, fieldName) {
return(items[index][fieldName]);
}
function setField(index, fieldName, value) {
changeFieldValue(index, fieldName, value);
}
function changeFieldValue(index, fieldName, value) {
if (checkLocal()) {
return(undefined);
}
if ((index < 0) || (index >= getLength())) {
return(undefined);
}
items[index][fieldName] = value;
updateViews("updateItems", index, index);
}
function isObjectEmpty(objToCheck) {
var _local1 = true;
for (var _local3 in objToCheck) {
_local1 = false;
return(_local1);
}
return(_local1);
}
function arrayToObject(anArray) {
if (mTitles == null) {
mx.remoting.NetServices.trace("RecordSet", "warning", 105, "getItem: titles are not available");
return(null);
}
var _local4 = new Object();
var _local5 = anArray.length;
var _local3;
var _local2 = 0;
while (_local2 < _local5) {
_local3 = mTitles[_local2];
if (_local3 == null) {
_local3 = ("column" + _local2) + 1;
}
_local4[_local3] = anArray[_local2];
_local2++;
}
return(_local4);
}
function checkLocal() {
if (isLocal()) {
return(false);
}
mx.remoting.NetServices.trace("RecordSet", "warning", 108, "Operation not allowed on partial recordset");
return(true);
}
function getRecordSetService() {
if (mRecordSetService == null) {
if (gateway_conn == null) {
gateway_conn = mx.remoting.NetServices.createGatewayConnection();
} else if (_global.netDebugInstance != undefined) {
gateway_conn = gateway_conn.clone();
}
if (_global.netDebugInstance != undefined) {
gateway_conn.setupRecordSet();
gateway_conn.setDebugId("RecordSet " + mRecordSetID);
}
mRecordSetService = gateway_conn.getService(serviceName, this);
if (mRecordSetService == null) {
mx.remoting.NetServices.trace("RecordSet", "warning", 101, "Failed to create RecordSet service");
mRecordSetService = null;
}
}
return(mRecordSetService);
}
function internalRequestRange(index, lastIndex) {
var _local6 = -1;
if (index < 0) {
index = 0;
}
if (lastIndex >= getRemoteLength()) {
lastIndex = getRemoteLength() - 1;
}
var _local3;
var _local4;
while (index <= lastIndex) {
while ((index <= lastIndex) && (items[index] != null)) {
index++;
}
_local3 = index;
while ((index <= lastIndex) && (items[index] == null)) {
mOutstandingRecordCount++;
items[index] = 1;
index++;
}
_local4 = index - 1;
if (_local3 <= _local4) {
logger.logInfo((((" Fetching records from index [" + _local3) + "] to index [") + _local4) + "]");
getRecordSetService().getRecords(mRecordSetID, _local3 + 1, (_local4 - _local3) + 1);
_local6 = _local4;
updateViews("fetchRows", _local3, _local4);
}
}
return(_local6);
}
function removeItems(index, len) {
var _local3 = new Array();
var _local2 = 0;
while (_local2 < len) {
_local3.push(getItemID(index + _local2));
_local2++;
}
var _local6 = items.splice(index, len);
dispatchEvent({type:"modelChanged", eventName:"removeItems", firstItem:index, lastItem:(index + len) - 1, removedItems:_local6, removedIDs:_local3});
}
function getRecords_Result(info) {
setData(info.Cursor - 1, info.Page);
mOutstandingRecordCount = mOutstandingRecordCount - info.Page.length;
updateViews("updateItems", info.Cursor - 1, ((info.Cursor - 1) + info.Page.length) - 1);
if ((mRecordsAvailable == mTotalCount) && (!mAllNotified)) {
updateViews("allRows");
mRecordSetService.release();
mAllNotified = true;
mRecordSetID = null;
mRecordSetService = null;
}
}
function release_Result() {
}
function requestOneRecord(index) {
if (items[index] == null) {
if (mDeliveryMode == "ondemand") {
logger.logInfo((" INFO: Fetching Record [" + index) + "]");
}
getRecordSetService().getRecords(mRecordSetID, index + 1, 1);
mOutstandingRecordCount++;
items[index] = 1;
updateViews("fetchRows", index, index);
}
}
function requestRecord(index) {
if (mDeliveryMode != "page") {
requestOneRecord(index);
} else {
var _local2 = int(index / mPageSize) * mPageSize;
var _local3 = (_local2 + (mPageSize * (mNumPrefetchPages + 1))) - 1;
internalRequestRange(_local2, _local3);
}
}
function _setParentService(service) {
gateway_conn = service.nc;
}
function setData(start, dataArray) {
var _local5 = dataArray.length;
var _local3;
var _local4;
var _local2 = 0;
while (_local2 < _local5) {
_local3 = _local2 + start;
_local4 = items[_local3];
if ((_local4 != null) && (_local4 != 1)) {
mx.remoting.NetServices.trace("RecordSet", "warning", 106, "Already got record # " + _local3);
} else {
mRecordsAvailable = mRecordsAvailable + 1;
}
items[_local3] = arrayToObject(dataArray[_local2]);
items[_local3].__ID__ = uniqueID++;
_local2++;
}
}
function startFetchAll(pagesize) {
if (mDataFetcher != null) {
mDataFetcher.disable();
}
mDataFetcher = new mx.remoting.RsDataFetcher(this, pagesize);
}
function stopFetchAll() {
mDataFetcher.disable();
mDataFetcher = null;
}
function updateViews(event, first, last) {
dispatchEvent({type:"modelChanged", eventName:event, firstItem:first, lastItem:last});
}
static function registerRecordSet() {
Object.registerClass("RecordSet", mx.remoting.RecordSet);
return(true);
}
static var version = "1.2.0.124";
static var init = registerRecordSet();
}
Symbol 2305 MovieClip [__Packages.mx.services.Log] Frame 0
class mx.services.Log
{
var level, name;
function Log (logLevel, name) {
level = ((logLevel == undefined) ? (BRIEF) : (logLevel));
this.name = ((name == undefined) ? "" : (name));
}
function logInfo(msg, level) {
if (level == undefined) {
level = BRIEF;
}
if (level <= this.level) {
if (level == DEBUG) {
onLog((((getDateString() + " [DEBUG] ") + name) + ": ") + msg);
} else {
onLog((((getDateString() + " [INFO] ") + name) + ": ") + msg);
}
}
}
function logDebug(msg) {
logInfo(msg, DEBUG);
}
function getDateString() {
var _local1 = new Date();
return(((((((((_local1.getMonth() + 1) + "/") + _local1.getDate()) + " ") + _local1.getHours()) + ":") + _local1.getMinutes()) + ":") + _local1.getSeconds());
}
function onLog(message) {
trace(message);
}
static var NONE = -1;
static var BRIEF = 0;
static var VERBOSE = 1;
static var DEBUG = 2;
}
Symbol 2306 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 2307 MovieClip [__Packages.mx.remoting.NetServices] Frame 0
class mx.remoting.NetServices extends Object
{
static var defaultGatewayUrl, logger, traceNetServices;
function NetServices () {
super();
}
static function setDefaultGatewayUrl(url) {
defaultGatewayUrl = url;
}
static function setGatewayUrl(url) {
gatewayUrl = url;
}
static function createGatewayConnection(url, infoLogger) {
logger = infoLogger;
if (url == undefined) {
url = gatewayUrl;
if (url == undefined) {
url = defaultGatewayUrl;
}
}
if (url == undefined) {
trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is undefined");
logger.logInfo(("NetServices: createGatewayConnection - gateway url <" + url) + "> is undefined", mx.services.Log.DEBUG);
return(null);
}
var _local2 = new mx.remoting.Connection();
_local2.connect(url);
__sharedConnections[url] = _local2;
return(_local2);
}
static function getConnection(uri) {
return(__sharedConnections[uri]);
}
static function getHostUrl() {
if (!isHttpUrl(_root._url)) {
trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid");
return(null);
}
var _local2 = _root._url.indexOf("/", 8);
if (_local2 < 0) {
trace("NetServices", "warning", 4, "createGatewayConnection - gatewayUrl is invalid");
return(null);
}
return(_root._url.substring(0, _local2));
}
static function isHttpUrl(url) {
return((url.indexOf("http://") == 0) || (url.indexOf("https://") == 0));
}
static function getHttpUrl(url) {
if (!isHttpUrl(url)) {
url = getHostUrl() + url;
}
return(url);
}
static function trace(who, severity, number, message) {
traceNetServices(who, severity, number, message);
}
static var version = "1.2.0.124";
static var gatewayUrl = _root.gatewayUrl;
static var __sharedConnections = new Array();
}
Symbol 2308 MovieClip [__Packages.mx.utils.Iterator] Frame 0
interface mx.utils.Iterator
{
}
Symbol 2309 MovieClip [__Packages.mx.remoting.RecordSetIterator] Frame 0
class mx.remoting.RecordSetIterator implements mx.utils.Iterator
{
var _recordSet, _cursor;
function RecordSetIterator (rec) {
_recordSet = rec;
_cursor = 0;
}
function hasNext() {
return(_cursor < _recordSet.getLength());
}
function next() {
return(_recordSet.getItemAt(_cursor++));
}
static var version = "1.2.0.124";
}
Symbol 2310 MovieClip [__Packages.mx.remoting.RsDataFetcher] Frame 0
class mx.remoting.RsDataFetcher extends Object
{
var mRecordSet, mIncrement, mNextRecord, mEnabled, mHighestRequested;
function RsDataFetcher (pgRS, increment) {
super();
mRecordSet = pgRS;
mRecordSet.addEventListener("modelChanged", this);
mIncrement = increment;
mNextRecord = 0;
mEnabled = true;
doNext();
}
function disable() {
mEnabled = false;
}
function doNext() {
if (mEnabled) {
while (true) {
if (mNextRecord >= mRecordSet.getRemoteLength()) {
return(undefined);
}
var _local2 = new mx.remoting.RsDataRange(mNextRecord, (mNextRecord + mIncrement) - 1);
mHighestRequested = mRecordSet.requestRange(_local2);
mNextRecord = mNextRecord + mIncrement;
if (mHighestRequested > 0) {
return(undefined);
}
}
}
}
function modelChanged(eventObj) {
if (((eventObj.eventName == "updateItems") && (eventObj.firstItem <= mHighestRequested)) && (eventObj.lastItem >= mHighestRequested)) {
doNext();
}
if (eventObj.eventName == "allRows") {
disable();
}
}
}
Symbol 2311 MovieClip [__Packages.mx.remoting.RsDataRange] Frame 0
class mx.remoting.RsDataRange extends Object implements mx.data.DataRange
{
var _start, _end;
function RsDataRange (s, e) {
super();
_start = s;
_end = e;
}
function getStart() {
return(_start);
}
function getEnd() {
return(_end);
}
function setEnd(e) {
_end = e;
}
function setStart(s) {
_start = s;
}
}
Symbol 2312 MovieClip [__Packages.mx.remoting.PendingCall] Frame 0
class mx.remoting.PendingCall extends Object
{
var __service, __methodName, __responder;
function PendingCall (srv, methodName) {
super();
__service = srv;
__methodName = methodName;
}
function get responder() {
return(__responder);
}
function set responder(res) {
__responder = res;
//return(responder);
}
function onResult(result) {
result.serviceName = result.serviceName;
if (result != null) {
if (result instanceof mx.remoting.NetServiceProxy) {
var _local4 = new mx.remoting.Service(null, null, result.serviceName, __service.__get__connection(), __service.__get__responder());
result = _local4;
} else if (result instanceof mx.remoting.RecordSet) {
var _local3 = new mx.remoting.NetServiceProxy(__service.__get__connection());
result._setParentService(_local3);
result.logger = __service.log;
}
}
if (__responder != null) {
__responder.onResult(new mx.rpc.ResultEvent(result));
}
if (__service.log != null) {
__service.log.logInfo((((__service.__get__name() + ".") + __methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(result));
}
}
function onStatus(status) {
if (__responder != null) {
__responder.onFault(new mx.rpc.FaultEvent(new mx.rpc.Fault(status.code, status.description, status.details, status.type)));
}
if (__service.log != null) {
__service.log.logDebug("Service invocation failed.");
__service.log.logDebug((((__service.__get__name() + ".") + __methodName) + "() returned ") + mx.data.binding.ObjectDumper.toString(status));
}
}
function get methodName() {
return(__methodName);
}
static var inited = mx.remoting.NetServiceProxy.registerNetServiceProxy();
}
Symbol 2313 MovieClip [__Packages.mx.remoting.Service] Frame 0
class mx.remoting.Service extends Object
{
var log, __conn, __serviceName, __responder;
function Service (gatewayURI, logger, serviceName, conn, resp) {
super();
log = logger;
log.logInfo("Creating Service for " + serviceName, mx.services.Log.VERBOSE);
if ((gatewayURI == "") && (conn == null)) {
gatewayURI = mx.remoting.NetServices.gatewayUrl;
}
gatewayURI = mx.remoting.NetServices.getHttpUrl(gatewayURI);
if (conn == null) {
conn = mx.remoting.NetServices.getConnection(gatewayURI);
if (conn == null) {
log.logInfo("Creating gateway connection for " + gatewayURI, mx.services.Log.VERBOSE);
conn = mx.remoting.NetServices.createGatewayConnection(gatewayURI, logger);
}
}
__conn = conn;
conn.updateConfig();
_allowRes = true;
__serviceName = serviceName;
__responder = resp;
log.logInfo("Successfully created Service", mx.services.Log.VERBOSE);
}
function get connection() {
return(__conn);
}
function __resolve(methodName) {
if (_allowRes) {
var _local2 = __makeOpFunc(methodName);
this[methodName] = _local2;
return(_local2);
}
return(null);
}
function __makeOpFunc(name) {
var op = (new mx.remoting.Operation(name, this));
var _local3 = function () {
op.invoke(arguments);
return(op.send());
};
_local3.send = function () {
return(op.createThenSend());
};
_local3.setResponder = function (resp) {
op.responder = resp;
};
_local3.getRequest = function () {
return(op.request);
};
_local3.setRequest = function (val) {
op.request = val;
};
_local3.addProperty("request", _local3.getRequest, _local3.setRequest);
_local3.operation = op;
return(_local3);
}
function get name() {
return(__serviceName);
}
function get responder() {
return(__responder);
}
static var version = "1.2.0.124";
var _allowRes = false;
}
Symbol 2314 MovieClip [__Packages.mx.remoting.Operation] Frame 0
class mx.remoting.Operation
{
var __service, __responder, __methodName, __invokationName, __request, __arguments;
function Operation (methodName, parent) {
__service = parent;
__responder = parent.responder;
__methodName = methodName;
__invokationName = (__service.__get__name() + ".") + methodName;
__request = new Object();
__arguments = new Array();
}
function createThenSend(Void) {
createArguments();
return(send());
}
function send(Void) {
__service.log.logInfo((("Invoking " + __methodName) + " on ") + __service.__get__name());
var _local3 = new mx.remoting.PendingCall(__service, __methodName);
_local3.__set__responder(__responder);
var _local2 = null;
if (__arguments == null) {
_local2 = new Array();
} else {
_local2 = __arguments.concat();
}
__invokationName = (__service.__get__name() + ".") + __methodName;
_local2.unshift(__invokationName, _local3);
__service.__get__connection().call.apply(__service.__get__connection(), _local2);
return(_local3);
}
function invoke(a) {
__arguments = a;
}
function get responder() {
return(__responder);
}
function set responder(r) {
__responder = r;
//return(responder);
}
function get request() {
return(__request);
}
function set request(r) {
__request = r;
//return(request);
}
function get name() {
return(__methodName);
}
function createArguments() {
if (__request != null) {
__arguments = new Array();
for (var _local2 in __request) {
if (_local2 != "arguments") {
__arguments.unshift(__request[_local2]);
}
}
}
}
}
Symbol 2315 MovieClip [__Packages.mx.data.binding.ObjectDumper] Frame 0
class mx.data.binding.ObjectDumper
{
var inProgress;
function ObjectDumper () {
inProgress = new Array();
}
static function toString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) {
var _local3 = new mx.data.binding.ObjectDumper();
if (maxLineLength == undefined) {
maxLineLength = 100;
}
if (indent == undefined) {
indent = 0;
}
return(_local3.realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent));
}
function realToString(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent) {
var _local8 = 0;
while (_local8 < inProgress.length) {
if (inProgress[_local8] == obj) {
return("***");
}
_local8++;
}
inProgress.push(obj);
indent++;
var _local16 = typeof(obj);
var _local5;
if ((obj instanceof XMLNode) && (showXMLstructures != true)) {
_local5 = obj.toString();
} else if (obj instanceof Date) {
_local5 = obj.toString();
} else if (_local16 == "object") {
var _local4 = new Array();
if (obj instanceof Array) {
_local5 = "[";
var _local15 = 0;
while (_local15 < obj.length) {
_local4.push(_local15);
_local15++;
}
} else {
_local5 = "{";
for (var _local15 in obj) {
_local4.push(_local15);
}
_local4.sort();
}
var _local9 = "";
var _local3 = 0;
while (_local3 < _local4.length) {
var _local6 = obj[_local4[_local3]];
var _local7 = true;
if (typeof(_local6) == "function") {
_local7 = showFunctions == true;
}
if (typeof(_local6) == "undefined") {
_local7 = showUndefined == true;
}
if (_local7) {
_local5 = _local5 + _local9;
if (!(obj instanceof Array)) {
_local5 = _local5 + (_local4[_local3] + ": ");
}
_local5 = _local5 + realToString(_local6, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent);
_local9 = ", `";
}
_local3++;
}
if (obj instanceof Array) {
_local5 = _local5 + "]";
} else {
_local5 = _local5 + "}";
}
} else if (_local16 == "function") {
_local5 = "function";
} else if (_local16 == "string") {
_local5 = ("\"" + obj) + "\"";
} else {
_local5 = String(obj);
}
if (_local5 == "undefined") {
_local5 = "-";
}
inProgress.pop();
return(replaceAll(_local5, "`", ((_local5.length < maxLineLength) ? "" : (newline + doIndent(indent)))));
}
static function replaceAll(str, from, to) {
var _local3 = str.split(from);
var _local4 = "";
var _local2 = "";
var _local1 = 0;
while (_local1 < _local3.length) {
_local4 = _local4 + (_local2 + _local3[_local1]);
_local2 = to;
_local1++;
}
return(_local4);
}
function doIndent(indent) {
var _local2 = "";
var _local1 = 0;
while (_local1 < indent) {
_local2 = _local2 + " ";
_local1++;
}
return(_local2);
}
}
Symbol 297 Button
on (release) {
_root.getURL("", "_blank");
}
Symbol 305 MovieClip [char] Frame 1
gotoAndStop(_root.cartype + 1);
Symbol 307 Button
on (release) {
if (_root.sound_aktif == 1) {
_root.sound_aktif = 0;
stopAllSounds();
} else {
_root.sound_aktif = 1;
_root.loop_sound("sound_kota");
}
}
Instance of Symbol 311 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
onClipEvent (enterFrame) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
Symbol 323 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 1
stop();
Instance of Symbol 351 MovieClip "radio" in Symbol 352 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pilihan_musik + 1);
}
Symbol 357 Button
on (release) {
if (_root.aktif == 1) {
_root.aktif = 0;
gotoAndStop (2);
}
}
Symbol 367 Button
on (release) {
trace("save game");
gotoAndStop (4);
}
Symbol 370 Button
on (release) {
_root.aktif = 1;
_parent.gotoAndStop(1);
}
Symbol 373 Button
on (release) {
gotoAndStop (2);
}
Symbol 376 Button
on (release) {
gotoAndStop (3);
}
Symbol 383 MovieClip Frame 1
stop();
Symbol 386 Button
on (release) {
gotoAndStop (5);
}
Symbol 389 Button
on (release) {
gotoAndStop (1);
}
Symbol 396 Button
on (release) {
_root.gotoAndStop("hapus");
}
Symbol 399 Button
on (release) {
gotoAndStop (1);
}
Symbol 402 Button
on (release) {
save_slot = 4;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 403 Button
on (release) {
save_slot = 1;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 404 Button
on (release) {
save_slot = 2;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 405 Button
on (release) {
save_slot = 3;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 406 Button
on (release) {
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 415 Button
on (release) {
if ((np.text == "< empty >") or (np.text == "")) {
input_mc.play();
} else {
_root.save_game(save_slot, np.text);
gotoAndStop (3);
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 416 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 424 Button
on (release) {
_root.saved = 1;
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 428 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
save_slot = 1;
stop();
Symbol 428 MovieClip Frame 2
Selection.setFocus("np");
np.text = _root["saved_" + save_slot];
if ((np.text == undefined) or (np.text == "< empty >")) {
np.text = "";
}
Symbol 435 MovieClip Frame 1
stop();
Instance of Symbol 383 MovieClip in Symbol 435 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
on (release) {
if (_root.sound_aktif == 0) {
stopAllSounds();
_root.sound_aktif = 1;
_root.loop_sound("sound_kota");
} else {
_root.sound_aktif = 0;
stopAllSounds();
}
}
Symbol 436 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
gotoAndStop(_global.GoTo);
Symbol 476 MovieClip Frame 1
stop();
Logo.onRelease = function () {
_root.open_link(Type);
trace(Type);
};
Instance of Symbol 319 MovieClip in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_rotation = (100 - _root.bensin);
}
onClipEvent (enterFrame) {
_rotation = (100 - _root.bensin);
}
Instance of Symbol 323 MovieClip in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (enterFrame) {
if (_root.bensin < 25) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 327 MovieClip in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 334 MovieClip "bayarane" in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 352 MovieClip in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 436 MovieClip in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (enterFrame) {
if ((_root.aktif and Key.isDown(77)) and (this._currentframe == 1)) {
_root.aktif = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 443 MovieClip "compas" in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
dx = -(_root.dest_x - _root.char.xtile);
dy = -(_root.dest_y - _root.char.ytile);
radians = Math.atan(dy / dx);
if (dx >= 0) {
_rotation = ((radians * 180) / Math.PI);
} else {
_rotation = (((radians * 180) / Math.PI) + 180);
}
} else {
_visible = false;
}
}
Instance of Symbol 469 MovieClip "campaign_prop" in Symbol 477 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
if (_root.game_type == 1) {
this._visible = true;
this.earning_txt.text = "$ " + _root.current_earning;
this.goal_txt.text = "$ " + _root.target_earning;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this._visible) {
this.earning_txt.text = "$ " + _root.current_earning;
this.goal_txt.text = "$ " + _root.target_earning;
}
}
Instance of Symbol 476 MovieClip "banner" in Symbol 477 MovieClip [mask_frame] Frame 1
//component parameters
onClipEvent (construct) {
Type = "Intro";
}
Symbol 495 MovieClip Frame 1
stop();
Symbol 502 MovieClip [kemana] Frame 1
if (_root.penumpang < 5) {
say = "lets go to " + _root.tekstujuan;
} else if (_root.penumpang > 4) {
say = ("to " + _root.tekstujuan) + " please";
} else if (_root.penumpang > 5) {
say = _root.tekstujuan + " dude";
}
this.onEnterFrame = function () {
if ((this._currentframe < 100) and Key.isDown(32)) {
this.gotoAndPlay(100);
}
};
Instance of Symbol 495 MovieClip in Symbol 502 MovieClip [kemana] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 502 MovieClip [kemana] Frame 86
if (random(5) > 3) {
say1 = "ok! get in";
} else {
say1 = "ok! lets go";
}
Symbol 502 MovieClip [kemana] Frame 106
_root.play_sound("suarabukapintu");
Symbol 502 MovieClip [kemana] Frame 123
_root.aktif = 1;
_root.settujuan = false;
_root.play_sound("suaratutuppintu");
removeMovieClip(this);
Symbol 512 MovieClip [terimakasih] Frame 1
say = "thanks !";
_root.play_sound("suarabukapintu");
this.onEnterFrame = function () {
if ((this._currentframe < 30) and Key.isDown(32)) {
this.gotoAndPlay(30);
}
};
Instance of Symbol 495 MovieClip in Symbol 512 MovieClip [terimakasih] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 512 MovieClip [terimakasih] Frame 30
_root.play_sound("suaratutuppintu");
Symbol 512 MovieClip [terimakasih] Frame 58
_root.aktif = 1;
_root.play_sound("sound_cash");
_root.char.speed = 0;
_root.keterangan = "";
_root.teks = "";
_root.tekstujuan = "";
_root.uang = _root.uang + _root.bayaran;
_root.penumpang = 0;
_root.misi = 0;
if (_root.game_type == 1) {
_root.current_earning = _root.current_earning + _root.bayaran;
if (_root.target_earning <= _root.current_earning) {
trace(" mission done");
_root.aktif = 0;
_root.attachMovie("objective_done", "g_result", 1201);
}
}
removeMovieClip(this);
Symbol 525 MovieClip Frame 40
gotoAndPlay (1);
Symbol 593 MovieClip [jalan] Frame 1
stop();
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 1) and (_root.public_human.orang1.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 1) and (_root.public_human.orang2.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 1) and (_root.public_human.orang3.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 1) and (_root.public_human.orang4.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 1) and (_root.public_human.orang5.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
}
Instance of Symbol 522 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (load) {
if ((_root.kena_oil == 0) and (random(100) == 34)) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.mobil.sensor) and this._visible) and (_root.kena_oil == 0)) {
trace("kena_oil");
_root.play_sound("suarangepot");
_root.kena_oil = 300 + random(100);
}
}
Instance of Symbol 528 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (load) {
if ((_root.energi < 40) and (random(100) == 34)) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil.sensor) and this._visible) {
trace("dapat bengkel");
_root.energi = _root.energi + 50;
if (_root.energi > _root.max_energi) {
_root.energi = _root.max_energi;
}
_root.play_sound("suaraservis");
this._visible = false;
}
}
Instance of Symbol 531 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (load) {
if ((_root.kena_paku == 0) and (random(100) == 34)) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.mobil.sensor) and this._visible) and (_root.kena_paku == 0)) {
trace("kena_paku");
_root.kena_paku = 300 + random(100);
}
}
Instance of Symbol 540 MovieClip in Symbol 593 MovieClip [jalan] Frame 3
onClipEvent (load) {
if (random(100) == 34) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil.sensor) and this._visible) {
this._visible = false;
_root.uang = _root.uang + 50;
_root.play_sound("sound_cash");
if (_root.game_type == 1) {
_root.current_earning = _root.current_earning + 50;
if (_root.target_earning <= _root.current_earning) {
trace(" mission done");
_root.aktif = 0;
_root.attachMovie("objective_done", "g_result", 1201);
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 2) and (_root.public_human.orang1.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 2) and (_root.public_human.orang2.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 2) and (_root.public_human.orang3.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 2) and (_root.public_human.orang4.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 2) and (_root.public_human.orang5.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 1) and (_root.public_human.orang1.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 1) and (_root.public_human.orang2.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 1) and (_root.public_human.orang3.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 1) and (_root.public_human.orang4.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 1) and (_root.public_human.orang5.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 4;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 2) and (_root.public_human.orang1.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 2) and (_root.public_human.orang2.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 2) and (_root.public_human.orang3.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 2) and (_root.public_human.orang4.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 2) and (_root.public_human.orang5.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 7
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 8
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 9
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 10
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 4;
} else {
_root.public_human.orang1.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 4;
} else {
_root.public_human.orang2.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 4;
} else {
_root.public_human.orang3.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 4;
} else {
_root.public_human.orang4.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 4;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 11
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 12
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 13
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 2;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 13
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 14
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 2;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 16
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 17
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 1;
}
}
}
Instance of Symbol 562 MovieClip in Symbol 593 MovieClip [jalan] Frame 17
onClipEvent (load) {
this.createEmptyMovieClip("d1", 1);
suaraisi = new Sound(this.d1);
suaraisi.attachSound("efek1");
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.game.clip.char)) {
if (_root.uang < _root.hargabensin) {
_root.keterangan = "not enough cash!";
} else {
_root.keterangan = "press SPACE to refill your fuel";
}
} else {
_root.keterangan = "";
}
if (this.hitTest(_root.game.clip.char) and Key.isDown(32)) {
if (_root.bensin < 100) {
if (_root.uang > _root.hargabensin) {
_root.char.speedx = 0;
_root.char.speedy = 0;
_root.uang = _root.uang - _root.hargabensin;
_root.bensin++;
if (_root.sound_aktif == 1) {
suaraisi.start(0, 1);
}
if (_root.game_type == 1) {
_root.current_earning = _root.current_earning - _root.hargabensin;
if (_root.current_earning <= 0) {
_root.current_earning = 0;
}
}
if (_root.bensin > 100) {
_root.bensin = 100;
}
}
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 34
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 36
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 36
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 525 MovieClip "tujuan" in Symbol 593 MovieClip [jalan] Frame 61
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil.sensor) and (_root.penumpang > 0)) {
trace("turun");
_root.aktif = 0;
_root.attachMovie("terimakasih", "thanks", 10001, {_x:0, _y:0});
removeMovieClip(_root.frame.minimap.road_handler.spot);
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
_parent.gotoAndStop(_parent._currentframe - 60);
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 63
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 1) and (_root.public_human.orang1.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 1) and (_root.public_human.orang2.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 1) and (_root.public_human.orang3.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 1) and (_root.public_human.orang4.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 1) and (_root.public_human.orang5.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 64
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 2) and (_root.public_human.orang1.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 2) and (_root.public_human.orang2.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 2) and (_root.public_human.orang3.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 2) and (_root.public_human.orang4.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 2) and (_root.public_human.orang5.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 1) and (_root.public_human.orang1.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 1) and (_root.public_human.orang2.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 1) and (_root.public_human.orang3.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 1) and (_root.public_human.orang4.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 3;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 1) and (_root.public_human.orang5.arah != 3)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 3;
}
}
}
}
Instance of Symbol 516 MovieClip in Symbol 593 MovieClip [jalan] Frame 66
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
if (this.hitTest(_root.public_car.mobil1.sensor3) and (_root.public_car.mobil1.keluar == 0)) {
_root.public_car.mobil1.keluar = 1;
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor3) and (_root.public_car.mobil2.keluar == 0)) {
_root.public_car.mobil2.keluar = 1;
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor3) and (_root.public_car.mobil3.keluar == 0)) {
_root.public_car.mobil3.keluar = 1;
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor3) and (_root.public_car.mobil4.keluar == 0)) {
_root.public_car.mobil4.keluar = 1;
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor3) and (_root.public_car.mobil5.keluar == 0)) {
_root.public_car.mobil5.keluar = 1;
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor3) and (_root.public_car.mobil6.keluar == 0)) {
_root.public_car.mobil6.keluar = 1;
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor3) and (_root.public_car.mobil7.keluar == 0)) {
_root.public_car.mobil7.keluar = 1;
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor3) and (_root.public_car.mobil8.keluar == 0)) {
_root.public_car.mobil8.keluar = 1;
_root.public_car.mobil8.arah = 4;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 66
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 0)) {
_root.public_human.orang1.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 0)) {
_root.public_human.orang2.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 0)) {
_root.public_human.orang3.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 0)) {
_root.public_human.orang4.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
if (this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 0)) {
_root.public_human.orang5.keluar = 1;
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat != 2)) {
if ((_root.public_human.orang1.arah != 2) and (_root.public_human.orang1.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 2;
} else {
_root.public_human.orang1.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat != 2)) {
if ((_root.public_human.orang2.arah != 2) and (_root.public_human.orang2.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 2;
} else {
_root.public_human.orang2.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat != 2)) {
if ((_root.public_human.orang3.arah != 2) and (_root.public_human.orang3.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 2;
} else {
_root.public_human.orang3.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat != 2)) {
if ((_root.public_human.orang4.arah != 2) and (_root.public_human.orang4.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 2;
} else {
_root.public_human.orang4.arah = 4;
}
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat != 2)) {
if ((_root.public_human.orang5.arah != 2) and (_root.public_human.orang5.arah != 4)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 67
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 2;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 67
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 68
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 69
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 70
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 4;
} else {
_root.public_human.orang1.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 4;
} else {
_root.public_human.orang2.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 4;
} else {
_root.public_human.orang3.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 4;
} else {
_root.public_human.orang4.arah = 1;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 4;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 70
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 71
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 1;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 1;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 1;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 1;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 1;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 1;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 1;
}
if (this.hitTest(_root.mobi8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 1;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 72
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 4;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 4;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 72
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 2;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 2;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 2;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 2;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 2;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 2;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 2;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 2;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 73
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 1;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 1;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 1;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 1;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 1;
} else {
_root.public_human.orang5.arah = 2;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 3;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 3;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 3;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 3;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 3;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 3;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 3;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 3;
}
}
Instance of Symbol 518 MovieClip in Symbol 593 MovieClip [jalan] Frame 74
onClipEvent (enterFrame) {
if ((this.hitTest(_root.public_human.orang1.sensor) and (_root.public_human.orang1.keluar == 1)) and (_root.public_human.orang1.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang1.arah = 3;
} else {
_root.public_human.orang1.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang2.sensor) and (_root.public_human.orang2.keluar == 1)) and (_root.public_human.orang2.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang2.arah = 3;
} else {
_root.public_human.orang2.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang3.sensor) and (_root.public_human.orang3.keluar == 1)) and (_root.public_human.orang3.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang3.arah = 3;
} else {
_root.public_human.orang3.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang4.sensor) and (_root.public_human.orang4.keluar == 1)) and (_root.public_human.orang4.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang4.arah = 3;
} else {
_root.public_human.orang4.arah = 2;
}
}
if ((this.hitTest(_root.public_human.orang5.sensor) and (_root.public_human.orang5.keluar == 1)) and (_root.public_human.orang5.stat == 0)) {
if (random(6) < 3) {
_root.public_human.orang5.arah = 3;
} else {
_root.public_human.orang5.arah = 2;
}
}
}
Instance of Symbol 545 MovieClip in Symbol 593 MovieClip [jalan] Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.public_car.mobil1.sensor2) and (_root.public_car.mobil1.belok == 0)) {
_root.public_car.mobil1.arah = 4;
}
if (this.hitTest(_root.public_car.mobil2.sensor2) and (_root.public_car.mobil2.belok == 0)) {
_root.public_car.mobil2.arah = 4;
}
if (this.hitTest(_root.public_car.mobil3.sensor2) and (_root.public_car.mobil3.belok == 0)) {
_root.public_car.mobil3.arah = 4;
}
if (this.hitTest(_root.public_car.mobil4.sensor2) and (_root.public_car.mobil4.belok == 0)) {
_root.public_car.mobil4.arah = 4;
}
if (this.hitTest(_root.public_car.mobil5.sensor2) and (_root.public_car.mobil5.belok == 0)) {
_root.public_car.mobil5.arah = 4;
}
if (this.hitTest(_root.public_car.mobil6.sensor2) and (_root.public_car.mobil6.belok == 0)) {
_root.public_car.mobil6.arah = 4;
}
if (this.hitTest(_root.public_car.mobil7.sensor2) and (_root.public_car.mobil7.belok == 0)) {
_root.public_car.mobil7.arah = 4;
}
if (this.hitTest(_root.public_car.mobil8.sensor2) and (_root.public_car.mobil8.belok == 0)) {
_root.public_car.mobil8.arah = 4;
}
}
Symbol 600 Button
on (release) {
play();
}
Symbol 601 MovieClip [pecat] Frame 1
stop();
_root.aktif = 0;
Symbol 601 MovieClip [pecat] Frame 3
_root.pengalamanburuk[_root.cartype] = _root.pengalamanburuk[_root.cartype] + 10;
_root.cartype = 0;
_root.char.speed = 0;
_root.kecepatan = _root.keccar[0];
_root.mobil.gotoAndStop(1);
_root.aktif = 1;
_root.misi = 0;
_root.settujuan = 0;
removeMovieClip(this);
Symbol 922 MovieClip Frame 1
stop();
Symbol 923 MovieClip [tile] Frame 1
stop();
Instance of Symbol 593 MovieClip [jalan] "gambar" in Symbol 923 MovieClip [tile] Frame 1
onClipEvent (load) {
_xscale = _root.skalatile;
_yscale = _root.skalatile;
_x = 0;
_y = 0;
}
Instance of Symbol 922 MovieClip "gambar" in Symbol 923 MovieClip [tile] Frame 2
onClipEvent (load) {
_xscale = _root.skalatile;
_yscale = _root.skalatile;
_x = 0;
_y = 0;
}
Symbol 931 MovieClip [asap_taxi] Frame 1
this._xscale = 30;
this._yscale = 30;
this._rotation = random(360);
this._alpha = 60 - random(20);
this.onEnterFrame = function () {
this._x = this._x - (_root.char.speed * Math.cos((_root.char.clip._rotation * Math.PI) / 180));
this._y = this._y - (_root.char.speed * Math.sin((_root.char.clip._rotation * Math.PI) / 180));
this._xscale++;
this._yscale++;
this._alpha = this._alpha - 2;
if ((this._xscale > 100) or (this._alpha <= 0)) {
removeMovieClip(this);
}
};
Symbol 938 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 2;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 941 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 1;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 942 MovieClip [bensinhabis] Frame 1
_root.aktif = 0;
stop();
Symbol 945 Button
on (release) {
_parent.play();
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 951 MovieClip [objective_done] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 951 MovieClip [objective_done] Frame 22
stop();
Symbol 951 MovieClip [objective_done] Frame 40
_root.day++;
_root.campaign_level++;
_root.current_earning = 0;
_root.target_earning = 0;
_root.target_earning = _root.goal_earning[_root.campaign_level];
_root.campaign_day++;
_root.campaign_time = _root.mission_time[_root.campaign_level];
_root.gotoAndStop("back_to_map");
removeMovieClip(this);
Symbol 954 MovieClip [objective_failed] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 954 MovieClip [objective_failed] Frame 22
stop();
Symbol 954 MovieClip [objective_failed] Frame 40
_root.day++;
_root.current_earning = 0;
_root.target_earning = _root.goal_earning[_root.campaign_level];
_root.campaign_day++;
_root.campaign_time = _root.mission_time[_root.campaign_level];
_root.gotoAndStop("back_to_map");
removeMovieClip(this);
Symbol 970 MovieClip [help] Frame 145
removeMovieClip(this);
Symbol 973 MovieClip [objective_failed_2] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 973 MovieClip [objective_failed_2] Frame 22
stop();
Symbol 973 MovieClip [objective_failed_2] Frame 40
_root.day++;
_root.current_earning = 0;
_root.target_earning = _root.goal_earning[_root.campaign_level];
_root.campaign_day++;
_root.campaign_time = _root.mission_time[_root.campaign_level];
_root.gotoAndStop("back_to_map");
removeMovieClip(this);
Symbol 987 MovieClip [up_view_road] Frame 1
stop();
Instance of Symbol 540 MovieClip in Symbol 987 MovieClip [up_view_road] Frame 1
onClipEvent (load) {
if (random(100) == 34) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arena.my_car) and this._visible) {
this._visible = false;
_root.uang = _root.uang + 50;
_root.play_sound("sound_cash");
}
}
Instance of Symbol 540 MovieClip in Symbol 987 MovieClip [up_view_road] Frame 1
onClipEvent (load) {
if (random(100) == 34) {
_visible = true;
this._x = 450 + random(200);
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.arena.my_car) and this._visible) {
this._visible = false;
_root.uang = _root.uang + 50;
_root.play_sound("sound_cash");
}
}
Symbol 989 MovieClip [warning_circle] Frame 1
this._alpha = 0;
this.onEnterFrame = function () {
this._alpha++;
dx = (this._x - this.tx) / 25;
dy = (this._y - this.ty) / 25;
if (this._xscale > 20) {
this._xscale = this._xscale - 1;
this._yscale = this._yscale - 1;
}
this._x = this._x - this.dx;
this._y = this._y - this.dy;
if ((Math.abs(this.dx) < 0.1) and (Math.abs(this.dy) < 0.1)) {
removeMovieClip(this);
}
};
Symbol 1002 MovieClip [police_escape] Frame 1
ind_time = 0;
warn_time = 0;
w_d = 100;
trace("warning added");
this.onEnterFrame = function () {
ind_time++;
warn_time++;
if ((warn_time > 5) and (ind_time < 50)) {
warn_time = 0;
w_d--;
indicator.attachMovie("warning_circle", "w_c" + w_d, w_d, {_x:300, _y:210});
indicator["w_c" + w_d].tx = this.tx;
indicator["w_c" + w_d].ty = this.ty;
}
if (ind_time > 130) {
_root.escape_game();
removeMovieClip(this);
}
};
Symbol 1006 MovieClip [result_busted] Frame 130
_root.end_race();
if (_root.penumpang > 0) {
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
_root.penumpang = 0;
}
_root.uang = _root.uang - 100;
if (_root.uang < 0) {
_root.uang = 0;
}
if (_root.bensin < 5) {
_root.bensin = 5;
}
removeMovieClip(this);
Symbol 1010 MovieClip [result_failed_accident] Frame 130
_root.end_race();
if (_root.penumpang > 0) {
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
_root.penumpang = 0;
}
_root.uang = _root.uang - 100;
if (_root.uang < 0) {
_root.uang = 0;
_root.energi = 50;
}
if (_root.bensin < 5) {
_root.bensin = 5;
}
removeMovieClip(this);
Symbol 1014 MovieClip [result_success] Frame 130
_root.end_race();
_root.uang = _root.uang + 500;
if (_root.bensin < 5) {
_root.bensin = 5;
}
removeMovieClip(this);
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 21
gotoAndStop (1);
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1175 MovieClip Frame 1
stop();
Symbol 1214 MovieClip Frame 1
stop();
Symbol 1253 MovieClip Frame 1
stop();
Symbol 1292 MovieClip Frame 1
stop();
Symbol 1331 MovieClip Frame 1
stop();
Symbol 1370 MovieClip Frame 1
stop();
Symbol 1461 MovieClip Frame 1
stop();
Symbol 1462 MovieClip [my_car] Frame 1
stop();
Symbol 1467 MovieClip Frame 1
stop();
Symbol 1468 Button
on (release) {
if (_root.sound_aktif == 1) {
_root.sound_aktif = 0;
stopAllSounds();
} else {
_root.sound_aktif = 1;
_root.loop_sound("sound_kota");
_root.loop_sound("tr_music");
_root.loop_sound("tr_police");
}
}
Instance of Symbol 319 MovieClip in Symbol 1471 MovieClip [panel] Frame 1
onClipEvent (load) {
_rotation = (100 - _root.bensin);
}
onClipEvent (enterFrame) {
_rotation = (100 - _root.bensin);
}
Instance of Symbol 323 MovieClip in Symbol 1471 MovieClip [panel] Frame 1
onClipEvent (enterFrame) {
if (_root.bensin < 25) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 352 MovieClip in Symbol 1471 MovieClip [panel] Frame 1
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 476 MovieClip "banner" in Symbol 1471 MovieClip [panel] Frame 1
//component parameters
onClipEvent (construct) {
Type = "Intro";
}
Symbol 1473 MovieClip [asap_taxi_up] Frame 1
this._xscale = 30;
this._yscale = 30;
this._rotation = random(360);
this._alpha = 60 - random(20);
stop();
if (_root.explode) {
this.gotoAndStop(2);
this.wind = 3 + random(3);
} else {
this.wind = random(2) - random(2);
}
this.onEnterFrame = function () {
this._x = this._x + (this.wind / 2);
if (_root.explode) {
this._y = this._y + random(2);
this._xscale++;
this._yscale++;
this._alpha = this._alpha - 1;
if ((this._xscale > 200) or (this._alpha <= 0)) {
removeMovieClip(this);
}
} else {
this._y = this._y + (_root.up_speed / 3);
this._xscale++;
this._yscale++;
this._alpha = this._alpha - 2;
if ((this._xscale > 100) or (this._alpha <= 0)) {
removeMovieClip(this);
}
}
};
Symbol 1479 MovieClip Frame 1
stop();
Symbol 1483 Button
on (release) {
_root.gotoAndStop("new_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1487 Button
on (release) {
_root.gotoAndStop("load_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1490 Button
on (release) {
_root.open_link("tittle_screen");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1494 MovieClip Frame 1
stop();
Symbol 1495 Button
on (release) {
if (_root.sound_aktif == 1) {
_root.sound_aktif = 0;
stopAllSounds();
} else {
_root.sound_aktif = 1;
_root.bgsound.start(0.05, 1000);
}
}
Symbol 1498 Button
on (release) {
_root.gotoAndStop("setting_free_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1501 Button
on (release) {
_root.day = 1;
_root.gotoAndStop("story_campaign");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1506 Button
on (release) {
_root.gotoAndStop("cover");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1510 Button
on (release) {
if (np.text != "") {
gotoAndStop (2);
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1511 Button
on (release) {
_root.gotoAndStop("cover");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1518 MovieClip Frame 1
Selection.setFocus("np");
Symbol 1519 Button
on (release) {
if (slot_4.text != "< empty >") {
_root.pilih_load = 4;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1520 Button
on (release) {
if (slot_1.text != "< empty >") {
_root.pilih_load = 1;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1521 Button
on (release) {
if (slot_2.text != "< empty >") {
_root.pilih_load = 2;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1522 Button
on (release) {
if (slot_3.text != "< empty >") {
_root.pilih_load = 3;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1528 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
Symbol 1534 Button
on (release) {
if (_root.game_type == 1) {
_root.gotoAndStop("campaign");
} else {
_root.gotoAndStop("free_game");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1544 MovieClip Frame 1
stop();
Symbol 1550 Button
on (release) {
_root.gotoAndStop("setting_map");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1567 Button
on (release) {
nextFrame();
}
Symbol 1569 Button
on (release) {
gotoAndStop (1);
}
Symbol 1574 Button
on (release) {
_root.uang = _root.uang - 50;
if (_root.uang < 0) {
_root.uang = 0;
}
_root.bensin = 100;
gotoAndStop (1);
}
Symbol 1578 Button
on (release) {
_root.uang = _root.uang - 100;
if (_root.uang < 0) {
_root.uang = 0;
}
_root.bensin = 100;
_root.energi = 100;
_root.carenergi = 100;
_root.max_energi = 100;
gotoAndStop (1);
}
Symbol 1582 Button
on (release) {
gotoAndStop (1);
}
Symbol 1585 Button
on (release) {
if (_root.uang >= 50) {
gotoAndStop (9);
} else {
gotoAndStop (8);
}
}
Symbol 1588 Button
on (release) {
_root.uang = _root.uang - 50;
if (_root.sound_aktif == 1) {
play();
} else {
_root.energi = _root.max_energi;
gotoAndStop (1);
}
}
Symbol 1595 Button
on (release) {
_root.gotoAndStop("submit_score");
}
Symbol 1596 MovieClip Frame 1
stop();
Instance of Symbol 476 MovieClip "banner" in Symbol 1596 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
Type = "Intro";
}
Symbol 1596 MovieClip Frame 4
c_name.text = _root.area_name[_root.map_selected];
c_code.text = _root.unlock_code[_root.map_selected];
Symbol 1596 MovieClip Frame 89
_root.energi = _root.max_energi;
gotoAndStop (1);
Symbol 1601 MovieClip Frame 1
stop();
Symbol 1608 Button
on (release) {
_root.gotoAndStop("main");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1612 MovieClip Frame 1
stop();
Instance of Symbol 1612 MovieClip in Symbol 1613 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.game_type);
}
Symbol 1614 Button
on (release) {
_root.getURL("http://wandah.com", "_self");
}
Symbol 1625 MovieClip Frame 1
stop();
money_txt.text = "$ " + _root.uang;
Instance of Symbol 1371 MovieClip [public_car] "mobil1" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 1);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 1);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil3" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 3);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 3);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil7" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 7);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 7);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil5" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 5);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 5);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil2" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 2);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 2);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil4" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 4);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 4);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil6" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 6);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 6);
}
Instance of Symbol 1371 MovieClip [public_car] "mobil8" in Symbol 1629 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 8);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 8);
}
Symbol 1726 MovieClip Frame 1
stop();
Symbol 1820 MovieClip Frame 1
stop();
Symbol 1914 MovieClip Frame 1
stop();
Symbol 2008 MovieClip Frame 1
stop();
Symbol 2102 MovieClip Frame 1
stop();
Symbol 2196 MovieClip Frame 1
stop();
Symbol 2290 MovieClip Frame 1
stop();
Instance of Symbol 2291 MovieClip "orang1" in Symbol 2292 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 1);
}
onClipEvent (enterFrame) {
_root.move_man(this, 1);
}
Instance of Symbol 2291 MovieClip "orang2" in Symbol 2292 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 2);
}
onClipEvent (enterFrame) {
_root.move_man(this, 2);
}
Instance of Symbol 2291 MovieClip "orang3" in Symbol 2292 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 3);
}
onClipEvent (enterFrame) {
_root.move_man(this, 3);
}
Instance of Symbol 2291 MovieClip "orang4" in Symbol 2292 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 4);
}
onClipEvent (enterFrame) {
_root.move_man(this, 4);
}
Instance of Symbol 2291 MovieClip "orang5" in Symbol 2292 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 5);
}
onClipEvent (enterFrame) {
_root.move_man(this, 5);
}