Frame 1
function i_fog() {
if (domain != "wandah.com") {
getURL ("http://www.wandah.com", "_self");
}
}
stop();
fscommand ("allowscale", false);
fscommand ("allowscale", false);
fscommand ("fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
play_link = "http://www.onehitplay.com/games.php?id=768";
var i_r_menu = new ContextMenu();
i_r_menu.hideBuiltInItems();
this.menu = i_r_menu;
var i_r_fog = new ContextMenuItem("Sim Taxi - Lotopolis - by Wandah Games", i_fog);
i_r_menu.customItems.push(i_r_fog);
stop();
locked = false;
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
fscommand ("fullscreen", false);
persenload = 0;
var domain = _url.substring(7);
trace("domain = " + domain);
if (domain.substring(0, 3) == "www") {
domain = domain.substring(4);
}
var end = domain.indexOf("/");
domain = domain.substring(0, end);
trace("domain = " + domain);
expire = new Date();
today = expire.getDate();
month = expire.getMonth();
year = expire.getFullYear();
link_opened = false;
trace((today + " - ") + month);
map_locked = true;
this.onEnterFrame = function () {
persenload = Math.ceil((this.getBytesLoaded() / this.getBytesTotal()) * 100);
if ((persenload > 99) and (this._currentframe == 1)) {
if (locked) {
trace("locked");
if ((domain == "wandah.com") or (domain == "onehitplay.com")) {
map_locked = false;
this.gotoAndStop("sponsor_logo");
} else {
this.gotoAndStop("locked");
}
} else {
trace("open");
if ((domain == "wandah.com") or (domain == "onehitplay.com")) {
map_locked = false;
}
this.gotoAndStop("sponsor_logo");
}
}
domain_txt.text = domain;
};
Instance of Symbol 304 MovieClip in Frame 1
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Frame 2
prevFrame();
Frame 7
Frame 8
function save_game(no_slot, g_name) {
trace("save to: " + g_name);
sg = SharedObject.getLocal("simtaxi2");
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.data.map_selected = map_selected;
st.flush();
trace("save done");
}
sound_aktif = 1;
map1 = [[[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 5], [0, 1], [0, 1], [0, 1], [0, 1], [1, 5], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [1, 4], [0, 1], [1, 3], [1, 3], [1, 5], [0, 1], [0, 1], [1, 4], [1, 3], [1, 4], [1, 3], [1, 4], [1, 6], [1, 4], [0, 1], [1, 3], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 32], [1, 33], [1, 34], [1, 35], [1, 56], [1, 57], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 70], [1, 71], [1, 70], [1, 71], [1, 29], [1, 29], [1, 3], [1, 5], [1, 4], [0, 1], [1, 4], [1, 3], [1, 4], [1, 3], [1, 3], [1, 18], [1, 18], [1, 18], [1, 18], [1, 6], [1, 3], [1, 4], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 36], [1, 37], [1, 38], [1, 39], [1, 58], [1, 59], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 72], [1, 73], [1, 72], [1, 73], [1, 29], [1, 29], [1, 28], [1, 28], [1, 28], [1, 27], [1, 27], [1, 27], [1, 5], [1, 5], [1, 2], [1, 18], [0, 1], [1, 18], [1, 18], [1, 6], [1, 6], [1, 3], [0, 1], [0, 1], [0, 1]], [[1, 52], [1, 53], [1, 52], [1, 53], [1, 52], [1, 53], [0, 7], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 48], [1, 49], [1, 48], [1, 49], [1, 48]], [[1, 54], [1, 55], [1, 54], [1, 55], [1, 54], [1, 55], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 50], [1, 51], [1, 50], [1, 51], [1, 50]], [[1, 52], [1, 53], [1, 52], [1, 53], [1, 52], [1, 53], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 92], [1, 93], [1, 94], [1, 92], [1, 93], [1, 94], [0, 6], [0, 4], [1, 56], [1, 57], [0, 6], [0, 4], [1, 9], [1, 8], [1, 11], [1, 10], [0, 6], [0, 4], [1, 48], [1, 49], [1, 48], [1, 49], [0, 1]], [[1, 54], [1, 55], [1, 54], [1, 55], [1, 54], [1, 55], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 11], [1, 10], [1, 12], [1, 11], [0, 6], [0, 4], [1, 95], [1, 96], [1, 97], [1, 95], [1, 96], [1, 97], [0, 6], [0, 4], [1, 58], [1, 59], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 50], [1, 51], [1, 50], [1, 51], [0, 1]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 64], [1, 65], [1, 60], [1, 61], [0, 6], [0, 12], [0, 3], [0, 3], [0, 8], [0, 20], [0, 20], [0, 20], [0, 6], [0, 12], [0, 16], [0, 17], [0, 11], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [0, 2], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 104], [1, 105], [0, 20], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 64], [1, 65], [1, 62], [1, 63], [0, 10], [0, 5], [0, 5], [0, 14], [0, 4], [1, 92], [1, 93], [1, 94], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 4], [1, 32], [1, 33], [1, 34], [1, 35], [0, 6], [0, 4], [0, 2], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 106], [1, 107], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 95], [1, 96], [1, 97], [0, 6], [0, 4], [1, 29], [1, 29], [0, 6], [0, 4], [1, 36], [1, 37], [1, 38], [1, 39], [0, 6], [0, 4], [1, 26], [1, 26], [1, 26], [1, 26], [1, 26]], [[0, 1], [1, 24], [0, 1], [1, 22], [1, 23], [0, 1], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [0, 1], [1, 4], [1, 4], [1, 4], [1, 4]], [[0, 1], [1, 24], [0, 1], [1, 22], [1, 23], [0, 1], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 26], [1, 26], [1, 26], [1, 26], [1, 26]], [[0, 1], [1, 24], [0, 1], [1, 22], [1, 23], [0, 1], [0, 6], [0, 4], [1, 29], [1, 29], [0, 6], [0, 4], [1, 12], [1, 98], [1, 99], [1, 100], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 78], [1, 79], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [0, 6], [0, 4], [0, 1], [1, 4], [1, 4], [1, 4], [1, 4]], [[0, 1], [1, 24], [0, 1], [1, 22], [1, 23], [0, 1], [0, 6], [0, 4], [1, 29], [1, 29], [0, 6], [0, 4], [1, 11], [1, 101], [1, 102], [1, 103], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 80], [1, 81], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [0, 6], [0, 4], [1, 26], [1, 26], [1, 26], [1, 26], [1, 26]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 12], [0, 3], [0, 3], [0, 11], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [1, 78], [1, 79], [0, 7], [0, 11], [0, 4], [1, 78], [1, 79], [0, 6], [0, 12], [0, 8], [1, 11], [1, 11], [1, 11], [1, 11], [1, 11], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 4], [1, 98], [1, 99], [1, 100], [0, 20], [1, 80], [1, 81], [0, 6], [0, 13], [0, 9], [1, 80], [1, 81], [0, 10], [0, 14], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 29], [0, 20], [0, 20], [1, 44], [1, 45], [0, 6], [0, 4], [1, 29], [1, 29], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [0, 20], [1, 56], [1, 57], [0, 6], [0, 4], [1, 78], [1, 79], [1, 78], [1, 79], [0, 6], [0, 4], [1, 40], [1, 41], [0, 20], [1, 40], [1, 41], [0, 6], [0, 12], [0, 3], [0, 3], [0, 8], [0, 20], [0, 20], [0, 6], [0, 4], [1, 70], [1, 71], [1, 70], [1, 71], [1, 70]], [[0, 1], [1, 29], [0, 20], [0, 20], [1, 46], [1, 47], [0, 6], [0, 4], [1, 29], [1, 29], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [1, 58], [1, 59], [0, 6], [0, 4], [1, 80], [1, 81], [1, 80], [1, 81], [0, 6], [0, 4], [1, 42], [1, 43], [0, 20], [1, 42], [1, 43], [0, 10], [0, 5], [0, 5], [0, 14], [0, 4], [1, 56], [1, 57], [0, 6], [0, 4], [1, 72], [1, 73], [1, 72], [1, 73], [1, 72]], [[0, 1], [1, 29], [1, 44], [1, 45], [0, 20], [0, 20], [0, 6], [0, 12], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 15], [1, 16], [0, 6], [0, 4], [1, 58], [1, 59], [0, 6], [0, 4], [1, 70], [1, 71], [1, 70], [1, 71], [1, 70]], [[0, 1], [1, 29], [1, 46], [1, 47], [0, 20], [0, 20], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 9], [1, 60], [1, 61], [1, 82], [1, 83], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 16], [0, 17], [0, 11], [0, 4], [1, 72], [1, 73], [1, 72], [1, 73], [1, 72]], [[0, 1], [1, 29], [0, 20], [0, 20], [1, 44], [1, 45], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 12], [1, 13], [1, 14], [1, 15], [1, 62], [1, 63], [1, 84], [1, 85], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [0, 20], [1, 66], [1, 67], [1, 66], [1, 67]], [[0, 1], [1, 29], [0, 20], [0, 20], [1, 46], [1, 47], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 115], [1, 116], [1, 117], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 32], [1, 33], [1, 34], [1, 35], [0, 6], [0, 4], [1, 108], [1, 109], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 4], [0, 20], [1, 68], [1, 69], [1, 68], [1, 69]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [1, 118], [1, 119], [1, 120], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 36], [1, 37], [1, 38], [1, 39], [0, 6], [0, 4], [1, 110], [1, 111], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 4], [1, 3], [1, 3], [1, 2], [1, 2], [1, 2]], [[0, 1], [1, 29], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 112], [1, 113], [1, 114], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 6], [1, 3], [1, 4], [1, 6], [1, 6]], [[0, 1], [1, 29], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 115], [1, 116], [1, 117], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 6], [1, 6], [1, 2], [1, 2], [0, 1]], [[0, 1], [1, 29], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [1, 104], [1, 105], [1, 104], [1, 105], [1, 104], [1, 105], [1, 56], [1, 57], [1, 118], [1, 119], [1, 120], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 4], [1, 5], [1, 5], [1, 4], [0, 1]], [[0, 1], [1, 29], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 106], [1, 107], [1, 106], [1, 107], [1, 106], [1, 107], [1, 58], [1, 59], [1, 121], [1, 122], [1, 123], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82]], [[0, 1], [1, 29], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 4], [1, 115], [1, 116], [1, 117], [1, 115], [1, 116], [1, 117], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84]], [[0, 1], [1, 29], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 4], [1, 118], [1, 119], [1, 120], [1, 118], [1, 119], [1, 120], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 121], [1, 122], [1, 123], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 92], [1, 93], [1, 94], [0, 6], [0, 4], [1, 56], [1, 57], [1, 82], [1, 83], [1, 82], [1, 83], [0, 6], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45], [0, 20], [1, 44], [1, 45], [0, 20], [1, 30], [0, 6], [0, 4], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 95], [1, 96], [1, 97], [0, 6], [0, 4], [1, 58], [1, 59], [1, 84], [1, 85], [1, 84], [1, 85], [0, 6], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47], [0, 20], [1, 46], [1, 47], [0, 20], [1, 31], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 14], [0, 4], [1, 92], [1, 93], [1, 94], [0, 6], [0, 12], [0, 16], [0, 17], [0, 3], [0, 8], [1, 82], [1, 83], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 4], [1, 64], [1, 65], [0, 6], [0, 4], [1, 64], [1, 65], [0, 6], [0, 4], [1, 95], [1, 96], [1, 97], [0, 10], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 84], [1, 85], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [0, 1], [1, 5], [1, 5], [1, 5], [1, 5]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 56], [1, 57], [0, 6], [0, 4], [1, 108], [1, 109], [0, 6], [0, 4], [1, 92], [1, 93], [1, 94], [0, 20], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 82], [1, 83], [0, 6], [0, 4], [1, 40], [1, 41], [1, 40], [1, 41], [1, 40], [1, 41], [1, 56], [1, 57], [1, 30], [0, 6], [0, 4], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 4], [1, 58], [1, 59], [0, 6], [0, 4], [1, 110], [1, 111], [0, 6], [0, 4], [1, 95], [1, 96], [1, 97], [0, 20], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 84], [1, 85], [0, 6], [0, 4], [1, 42], [1, 43], [1, 42], [1, 43], [1, 42], [1, 43], [1, 58], [1, 59], [1, 31], [0, 6], [0, 4], [0, 1], [1, 5], [1, 5], [1, 5], [1, 5]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 12], [0, 16], [0, 17], [0, 11], [0, 12], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 3], [0, 11], [0, 4], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25]], [[0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [0, 2], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 5], [1, 5], [1, 5], [1, 5], [0, 1]], [[0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [0, 20], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 29], [1, 29], [1, 78], [1, 79], [1, 78], [1, 79], [1, 29], [1, 78], [1, 79], [1, 78], [1, 79], [1, 29], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 7], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 29], [1, 29], [1, 80], [1, 81], [1, 80], [1, 81], [1, 29], [1, 80], [1, 81], [1, 80], [1, 81], [1, 29], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [0, 1], [1, 5], [1, 5], [1, 5], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 7], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 5], [1, 5], [1, 5], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 7], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]]];
address1 = [[8, 6, "Lotopolis North Bus Station "], [13, 6, "North Industrial Area"], [19, 6, "Plastic Factory"], [22, 6, "Moonshare Corp"], [27, 6, "RedBerry Residense"], [30, 6, "Green Apple House"], [36, 5, "Andrew's House"], [39, 8, "Lotopolis Water Supply"], [37, 9, "Green Cafe"], [36, 9, "Caramel Restaurant"], [35, 9, "W\u00E7 Burger"], [34, 9, "Lovebite Cafe"], [26, 10, "Castle Plaza"], [23, 10, "Woodgate Mall"], [19, 8, "Indian Grocery"], [18, 8, "Ice cream Factory"], [17, 8, "Eldorado Foodcourt"], [16, 8, "Digest Foodstall"], [12, 12, "OHP Tower"], [9, 10, "Kidz Game Centre"], [7, 12, "Baby&Mom Store"], [6, 8, "Lotopolis Power plant"], [6, 11, "North Forest"], [5, 14, "Forestside Regency"], [17, 12, "Wellmart Hyperstore"], [18, 12, "Cinema 21"], [26, 13, "Cloudstrom Phone Center"], [36, 13, "East Lotopolis Bus Station"], [40, 10, "Water Treatment Side"], [40, 13, "East Point Regency I"], [40, 15, "East Point Regency II"], [35, 16, "Magicwand Office"], [35, 18, "Dumbflasher Office"], [11, 15, "Cocorush Icecream"], [12, 17, "Ringbell Grocery"], [14, 17, "Graystone Mall"], [13, 20, "AAA Mall"], [18, 17, "Computer Plaza"], [15, 18, "Tony's Office"], [20, 21, "Lotopolis Goverment Office"], [26, 14, "Wishme Plaza"], [29, 14, "All Day Discount Store"], [28, 18, "Yummy Foodstore"], [28, 21, "Lotopolis Public Hospital"], [31, 21, "Okida Fish Market"], [34, 21, "Crabby Restaurant"], [39, 21, "East Industrial Area"], [40, 24, "East Lumbermill"], [39, 27, "East Forest"], [4, 21, "lotopolis University"], [7, 24, "Manstyle Store"], [7, 26, "Womanstyle Store"], [12, 27, "Emerald Tower"], [16, 24, "Kampina Icecream"], [17, 24, "Roseline Florish"], [18, 24, "Kitty Pet Store"], [19, 24, "Saltwater Pet Fish"], [20, 24, "Boltz Megaplex"], [22, 24, "Omega Apartment"], [28, 26, "Central Bus Station"], [32, 23, "Dafe Apartment 1"], [34, 23, "Dafe Apartment 2"], [36, 23, "Dafe Apartment 3"], [6, 27, "Wellhouse Apartment"], [6, 29, "Royale Apartment"], [6, 31, "Western Apartment"], [9, 33, "Twin Tower"], [12, 33, "Twin Tower"], [17, 30, "Wandah Tower"], [20, 27, "Middlepoint Store"], [20, 29, "Pocha Toys Store"], [25, 30, "Greenday Store"], [27, 30, "Greenwood Store"], [29, 30, "Greenleaf Office"], [33, 30, "Lotoburj"], [36, 30, "Portdale Tall Office"], [39, 31, "WP Office Area"], [36, 32, "Nine Pages Bookstore"], [36, 33, "Goodread Library"], [34, 34, "lotopolis Elementary"], [30, 34, "lotopolis Highschool"], [27, 35, "Redish Apartment"], [23, 34, "Scope Regency"], [24, 37, "Microbe Company"], [21, 38, "Antonie Style"], [17, 38, "King Mall Area"], [11, 35, "Sun Mart"], [10, 35, "Cheap Stuff Store"], [6, 35, "West Industrial Area"], [12, 38, "Organic Motel"], [31, 38, "Medico Private Hospital"], [37, 38, "My Book"], [40, 35, "Misty Regency 1"], [40, 37, "Misty Regency 2"], [36, 39, "Star Hotel"], [29, 39, "South lotopolis Office"], [23, 39, "Crystal Hotel"], [13, 40, "South Industrial Area"], [7, 39, "Tadika Industry"]];
pos_start1 = [26, 26];
map2 = [[[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 4], [1, 6], [1, 5], [0, 1], [1, 5], [1, 6], [1, 5], [0, 1], [1, 6], [1, 5], [0, 1], [1, 5], [1, 5], [1, 3], [1, 3], [1, 3], [1, 5], [1, 5], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 2], [0, 1], [1, 2], [1, 2], [1, 3], [1, 48], [1, 49], [1, 48], [1, 49], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [1, 4], [0, 1], [1, 5], [0, 1], [1, 6], [0, 1], [0, 1], [1, 6], [1, 52], [1, 53], [1, 52], [1, 53], [1, 52], [1, 53], [1, 3], [1, 5], [1, 5], [1, 3], [1, 3], [0, 1], [1, 3], [1, 5], [1, 5], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 5], [1, 3], [1, 2], [0, 1], [1, 3], [1, 50], [1, 51], [1, 50], [1, 51], [1, 29], [1, 29], [1, 29], [1, 27], [1, 27], [1, 27], [1, 27], [1, 27], [1, 29], [1, 4], [0, 1], [1, 5], [1, 5], [0, 1], [1, 6], [0, 1], [1, 6], [1, 5], [1, 54], [1, 55], [1, 54], [1, 55], [1, 54], [1, 55], [1, 2], [1, 5], [1, 3], [1, 5], [1, 6], [1, 5], [1, 5], [1, 3], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 2], [0, 1], [1, 3], [1, 2], [1, 3], [1, 48], [1, 49], [1, 48], [1, 49], [1, 29], [1, 29], [1, 29], [1, 27], [0, 1], [0, 1], [0, 1], [1, 27], [1, 29], [1, 32], [1, 33], [1, 34], [1, 35], [1, 56], [1, 57], [1, 11], [1, 70], [1, 71], [1, 52], [1, 53], [1, 52], [1, 53], [1, 52], [1, 53], [0, 1], [1, 2], [1, 3], [1, 2], [1, 3], [1, 3], [1, 6], [1, 5], [1, 5], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [1, 5], [1, 2], [1, 3], [1, 2], [1, 5], [1, 3], [1, 50], [1, 51], [1, 50], [1, 51], [1, 29], [1, 29], [1, 29], [1, 27], [1, 27], [1, 27], [0, 1], [1, 27], [1, 29], [1, 36], [1, 37], [1, 38], [1, 39], [1, 58], [1, 59], [0, 20], [1, 72], [1, 73], [1, 54], [1, 55], [1, 54], [1, 55], [1, 54], [1, 55], [1, 2], [1, 5], [1, 5], [1, 2], [1, 2], [1, 3], [1, 6], [1, 6], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [1, 5], [1, 66], [1, 67], [1, 66], [1, 67], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 3], [0, 3], [0, 8], [0, 20], [0, 20], [0, 20], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75], [1, 74], [1, 75]], [[0, 1], [1, 5], [1, 68], [1, 69], [1, 68], [1, 69], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 86], [1, 87], [1, 88], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77], [1, 76], [1, 77]], [[0, 1], [1, 5], [1, 66], [1, 67], [1, 66], [1, 67], [0, 6], [0, 4], [1, 78], [1, 79], [0, 20], [1, 78], [1, 79], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45], [1, 30], [1, 31], [1, 13], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 70], [1, 71], [1, 12], [1, 12], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 74], [1, 75], [1, 74], [1, 75]], [[0, 1], [1, 5], [1, 68], [1, 69], [1, 68], [1, 69], [0, 6], [0, 4], [1, 80], [1, 81], [0, 20], [1, 80], [1, 81], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 72], [1, 73], [1, 56], [1, 57], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [0, 20], [1, 76], [1, 77], [1, 76], [1, 77]], [[0, 1], [1, 5], [1, 66], [1, 67], [1, 66], [1, 67], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [1, 9], [1, 12], [1, 11], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [0, 20], [0, 20], [1, 58], [1, 59], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [0, 20], [1, 66], [1, 67], [1, 66], [1, 67]], [[0, 1], [1, 5], [1, 68], [1, 69], [1, 68], [1, 69], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 112], [1, 113], [1, 114], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 92], [1, 93], [1, 94], [0, 6], [0, 12], [0, 3], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [0, 20], [1, 68], [1, 69], [1, 68], [1, 69]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 9], [1, 115], [1, 116], [1, 117], [0, 10], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 95], [1, 96], [1, 97], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 78], [1, 79], [0, 6], [0, 4], [1, 60], [1, 61], [1, 11], [1, 118], [1, 119], [1, 120], [0, 20], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [0, 6], [0, 4], [1, 60], [1, 61], [1, 78], [1, 79], [0, 6], [0, 4], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 4], [1, 80], [1, 81], [0, 6], [0, 4], [1, 62], [1, 63], [1, 12], [1, 121], [1, 122], [1, 123], [0, 20], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [0, 6], [0, 4], [1, 62], [1, 63], [1, 80], [1, 81], [0, 6], [0, 4], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [1, 22], [1, 22], [1, 22], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 78], [1, 79], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [0, 20], [0, 20], [0, 20], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 22], [1, 22], [1, 22], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 4], [1, 80], [1, 81], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 14], [1, 15], [1, 16], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 9], [1, 22], [1, 22], [1, 22], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 78], [1, 79], [1, 86], [1, 87], [1, 88], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [0, 20], [0, 20], [1, 40], [1, 41], [1, 40], [1, 41], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 78], [1, 79], [0, 20], [1, 78], [1, 79], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [1, 3], [0, 6], [0, 4], [1, 80], [1, 81], [1, 89], [1, 90], [1, 91], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [1, 64], [1, 65], [1, 42], [1, 43], [1, 42], [1, 43], [0, 6], [0, 4], [1, 89], [1, 90], [1, 91], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 80], [1, 81], [0, 20], [1, 80], [1, 81], [1, 29], [1, 29], [0, 1]], [[0, 1], [0, 1], [1, 3], [1, 2], [1, 2], [1, 6], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 78], [1, 79], [0, 20], [1, 78], [1, 79], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [0, 1], [1, 3], [0, 1], [1, 2], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 80], [1, 81], [0, 20], [1, 80], [1, 81], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 20], [1, 20], [1, 20], [1, 20], [0, 6], [0, 4], [1, 104], [1, 105], [1, 64], [1, 65], [1, 64], [1, 65], [1, 64], [1, 65], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [1, 98], [1, 99], [1, 100], [0, 20], [1, 98], [1, 99], [1, 100], [0, 6], [0, 12], [0, 3], [0, 3], [0, 8], [1, 78], [1, 79], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 20], [1, 20], [1, 20], [1, 20], [0, 6], [0, 4], [1, 106], [1, 107], [1, 32], [1, 33], [1, 34], [1, 35], [1, 56], [1, 57], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 101], [1, 102], [1, 103], [0, 20], [1, 101], [1, 102], [1, 103], [0, 10], [0, 5], [0, 5], [0, 14], [0, 4], [1, 80], [1, 81], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 4], [1, 4], [1, 4], [0, 1], [0, 6], [0, 4], [0, 20], [0, 20], [1, 36], [1, 37], [1, 38], [1, 39], [1, 58], [1, 59], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 64], [1, 65], [0, 6], [0, 4], [1, 78], [1, 79], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 19], [1, 19], [1, 19], [1, 19], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 8], [1, 60], [1, 61], [1, 82], [1, 83], [1, 32], [1, 33], [1, 34], [1, 35], [1, 56], [1, 57], [0, 6], [0, 4], [1, 80], [1, 81], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 19], [1, 19], [1, 19], [1, 19], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 62], [1, 63], [1, 84], [1, 85], [1, 36], [1, 37], [1, 38], [1, 39], [1, 58], [1, 59], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 5], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 86], [1, 87], [1, 88], [1, 86], [1, 87], [1, 88], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 20], [1, 124], [1, 125], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [0, 1], [1, 29], [1, 108], [1, 109], [1, 108], [1, 109], [1, 89], [1, 90], [1, 91], [1, 89], [1, 90], [1, 91], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 20], [1, 126], [1, 127], [0, 10], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 9], [1, 26], [1, 26], [1, 26], [1, 26], [1, 29]], [[0, 1], [0, 1], [1, 29], [1, 110], [1, 111], [1, 110], [1, 111], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 20], [1, 128], [1, 129], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 82], [1, 83], [1, 82], [1, 83], [0, 6], [0, 4], [1, 5], [1, 5], [1, 5], [1, 26], [1, 2], [1, 3], [1, 3], [1, 29]], [[0, 1], [0, 1], [1, 23], [1, 23], [1, 22], [1, 23], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [0, 20], [1, 130], [1, 131], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [1, 84], [1, 85], [1, 84], [1, 85], [0, 6], [0, 4], [1, 26], [1, 26], [1, 26], [1, 26], [1, 2], [1, 3], [1, 3], [1, 29]], [[0, 1], [0, 1], [1, 23], [1, 23], [1, 22], [1, 23], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 5], [1, 5], [1, 5], [1, 5], [1, 3], [1, 3], [1, 3], [1, 29]], [[0, 1], [0, 1], [1, 23], [1, 23], [1, 22], [1, 23], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [1, 104], [1, 105], [0, 20], [1, 104], [1, 105], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 8], [1, 44], [1, 45], [1, 44], [1, 45], [1, 29]], [[0, 1], [0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 115], [1, 116], [1, 117], [1, 106], [1, 107], [0, 20], [1, 106], [1, 107], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47], [1, 29]], [[0, 1], [0, 1], [1, 5], [1, 5], [1, 5], [1, 5], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 118], [1, 119], [1, 120], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45], [1, 29]], [[0, 1], [1, 82], [1, 83], [1, 82], [1, 83], [1, 10], [0, 6], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 4], [1, 121], [1, 122], [1, 123], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47], [1, 29]], [[0, 1], [1, 84], [1, 85], [1, 84], [1, 85], [1, 10], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [0, 20], [0, 20], [0, 20], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 66], [1, 67], [1, 66], [1, 67], [1, 29]], [[0, 1], [1, 10], [1, 10], [1, 10], [1, 10], [0, 20], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [0, 20], [0, 20], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 4], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 4], [1, 68], [1, 69], [1, 68], [1, 69], [1, 29]], [[0, 1], [1, 82], [1, 83], [1, 82], [1, 83], [0, 20], [1, 124], [1, 125], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 124], [1, 125], [1, 112], [1, 113], [1, 114], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 70], [1, 70], [1, 70], [1, 70], [1, 29]], [[0, 1], [1, 84], [1, 85], [1, 84], [1, 85], [0, 20], [1, 126], [1, 127], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 8], [1, 126], [1, 127], [1, 115], [1, 116], [1, 117], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 72], [1, 73], [1, 72], [1, 73], [1, 29]], [[0, 1], [1, 82], [1, 83], [1, 82], [1, 83], [0, 20], [1, 128], [1, 129], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 128], [1, 129], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 124], [1, 125], [1, 124], [1, 125], [0, 6], [0, 4], [1, 11], [1, 10], [1, 11], [1, 10], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [1, 84], [1, 85], [1, 84], [1, 85], [0, 20], [1, 130], [1, 131], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 4], [1, 86], [1, 87], [1, 88], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 130], [1, 131], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 126], [1, 127], [1, 126], [1, 127], [0, 6], [0, 4], [1, 104], [1, 105], [1, 104], [1, 105], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 89], [1, 90], [1, 91], [1, 115], [1, 116], [1, 117], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 128], [1, 129], [1, 128], [1, 129], [0, 6], [0, 4], [1, 106], [1, 107], [1, 106], [1, 107], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 25], [1, 25], [1, 25], [1, 25], [0, 1]], [[1, 29], [1, 104], [1, 105], [1, 104], [1, 105], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 56], [1, 57], [1, 9], [1, 118], [1, 119], [1, 120], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 9], [1, 130], [1, 131], [1, 130], [1, 131], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 11], [1, 56], [1, 57], [0, 6], [0, 4], [0, 1], [1, 25], [1, 5], [1, 5], [1, 5]], [[1, 29], [1, 106], [1, 107], [1, 106], [1, 107], [0, 6], [0, 4], [1, 8], [1, 9], [1, 11], [1, 11], [1, 11], [1, 11], [1, 11], [1, 58], [1, 59], [0, 20], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 30], [1, 13], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 12], [1, 58], [1, 59], [0, 6], [0, 4], [1, 25], [1, 25], [1, 25], [1, 25], [0, 1]], [[1, 29], [1, 104], [1, 105], [1, 104], [1, 105], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 16], [0, 17], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 101], [1, 102], [1, 103], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 86], [1, 87], [1, 88], [0, 6], [0, 12], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [0, 1], [1, 26], [1, 5], [1, 5], [1, 5]], [[1, 29], [1, 106], [1, 107], [1, 106], [1, 107], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [0, 20], [0, 20], [0, 20], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 89], [1, 90], [1, 91], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 26], [1, 26], [1, 26], [1, 26], [0, 1]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 28], [1, 28], [1, 28], [1, 29], [1, 27], [1, 27], [1, 27], [1, 29], [1, 26], [1, 26], [1, 26], [1, 29], [1, 29], [1, 29], [1, 29], [1, 98], [1, 99], [1, 100], [1, 29], [1, 108], [1, 109], [1, 108], [1, 109], [1, 108], [1, 109], [1, 108], [1, 109], [1, 29], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 5], [1, 5], [1, 5], [0, 1], [0, 1]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 28], [1, 28], [1, 28], [1, 29], [1, 27], [1, 27], [1, 27], [1, 29], [1, 26], [1, 26], [1, 26], [1, 29], [1, 29], [1, 29], [1, 29], [1, 101], [1, 102], [1, 103], [1, 29], [1, 110], [1, 111], [1, 110], [1, 111], [1, 110], [1, 111], [1, 110], [1, 111], [1, 29], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 5], [1, 5], [1, 5], [0, 1], [0, 1]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 5], [1, 5], [1, 5], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1]]];
address2 = [[8, 6, "Lotopolis Water Treatment"], [12, 6, "North Cocofarm"], [17, 5, "Golden Palm Regency"], [21, 6, "Lotopolis North Bus Station"], [26, 5, "Ednoc Minimart"], [28, 6, "Dupaint Factory"], [32, 6, "City Powerplant"], [43, 8, "Bakewell Industrial Area"], [45, 11, "Belrush Wood cutter"], [6, 9, "Kauwan Paper Factory"], [9, 10, "Canberra Hotel"], [11, 10, "Luxury Star Hotel"], [16, 10, "Casualwear Store"], [21, 10, "Lotopolis Highschool"], [24, 9, "Nine Pages Book Store"], [25, 9, "Alpha Stationary"], [26, 9, "Tulip Florish"], [24, 11, "Italian Restaurant"], [25, 11, "Polar Icecream"], [26, 11, "Small Grocery"], [28, 8, "Lotopolis Computer Center"], [32, 10, "Mobile Phone Center"], [34, 10, "Move&Carry Company"], [38, 8, "Milkyway Icecream"], [6, 14, "Lombre Factory"], [7, 14, "BNN broadcast"], [10, 16, "Mobile9 Communication"], [14, 12, "Caramel Candy Store"], [13, 15, "Cinemax 21"], [16, 15, "OHP Tower"], [20, 15, "Liongate Mall"], [24, 15, "ABC Bank"], [27, 15, "Bank Street"], [30, 15, "Money Save Bank"], [28, 12, "King Mall 1"], [35, 15, "Primetime Cineplex"], [37, 15, "Cowwell Tall Office"], [44, 15, "Pink House Residence"], [9, 19, "Lulaby Hotel"], [11, 19, "Domino Game Center"], [14, 19, "Classic Music Store"], [19, 19, "Calvin Plaza"], [21, 19, "Care4 Hypermart"], [24, 19, "Lotopolis Public Hospital"], [24, 15, "Little Cat Pet store"], [25, 15, "Fresh Fish Market"], [26, 15, "Octopus Seafood"], [30, 19, "Rumble&Rumble Store"], [33, 19, "Allday Discount Store"], [36, 20, "Dusit Hotel"], [44, 18, "Stingray's Office Area"], [44, 20, "Tim Burt Insurance"], [6, 22, "West Lotopolis Residence"], [8, 23, "Crambill Organizer Office"], [13, 20, "Wellmart Giant Store"], [11, 24, "West Bust Station"], [17, 24, "Crystall Tower"], [22, 23, "Sim Taxi Tower"], [25, 24, "Lotopolis Academy"], [31, 23, "Cubix Commercial Area"], [34, 23, "Cubix Commercial Area"], [38, 23, "Cubix Commercial Area"], [41, 22, "Crunchy Food Supermart"], [44, 23, "Forestside Hotel"], [6, 25, "White Pearl Residencial"], [7, 28, "White Pearl Apartment"], [8, 28, "Whitepearl Plaza"], [11, 28, "Lotopolis Travel Center"], [14, 28, "Colombus Plaza"], [18, 29, "Schummy Tower"], [20, 29, "Golden Age Tall Office"], [25, 30, "Wan's Twin Tower"], [30, 30, "Bluesky Hotel"], [32, 30, "Lotopolis Car Showroom"], [37, 30, "Lotopolis Post Office"], [41, 29, "Eastwood House"], [6, 31, "Weststyle House"], [5, 36, "Pujasera Culinary Area"], [8, 35, "Good Dream Hotel"], [11, 35, "Royal Hotel"], [15, 35, "Eldorado Tall Office"], [18, 33, "Shinny Silver Jewelry"], [20, 33, "Beauty Hairstyler"], [27, 36, "Healthy Cash Bank"], [30, 37, "Koala Tower 1"], [32, 37, "Koala Tower 2"], [34, 37, "Koala Tower 3"], [36, 37, "Koala Tower 4"], [40, 37, "Gasselle Tower"], [42, 37, "Al Ain Tower"], [44, 33, "Lotopolis University"], [44, 36, "Crambill East Factory"], [44, 38, "Iron Ore Factory"], [5, 38, "Antoniette Apartment"], [7, 41, "Century Tower"], [8, 41, "Lagziz Office"], [10, 41, "D'imitry Tower"], [15, 38, "Motoracing Showroom"], [20, 38, "Lotopolis Convention Center"], [23, 41, "Benson Tallstories"], [25, 41, "BELL Computer Tower"], [29, 43, "Philips Tower"], [29, 44, "Goodread Bookstore"], [28, 44, "Eidelweiss Flourish"], [37, 38, "Little Store Street"], [40, 41, "Workwell Agency"], [41, 41, "Prime Tour&Travel"], [36, 42, "Organic Veg Store"], [38, 42, "Spinnis Store"], [39, 42, "Hillboot Butcher"], [40, 44, "I-Melt Icecream"], [45, 42, "Diane Royal Residence"], [45, 44, "Audle Royal Residence"], [5, 43, "Western Style Store"], [5, 45, "Cluster A Apartment"], [7, 44, "W'c Burger"], [8, 44, "Chowping Restaurant"], [10, 44, "Chinatown Street"], [13, 41, "3Bro Art Studio"], [16, 43, "Chilly&Pepper Restaurant"], [18, 44, "Golder Horn Tower"], [23, 45, "Lotopolis South Commercial"], [8, 45, "Mallang House Area"], [12, 45, "Smarang Housing"], [16, 45, "Bandung Regency"], [29, 45, "Pertharbour Hotel"], [41, 45, "South Lotopolis Hotel"]];
pos_start2 = [37, 26];
Instance of Symbol 1297 MovieClip in Frame 8
onClipEvent (load) {
_alpha = 0;
w = 0;
}
onClipEvent (enterFrame) {
w++;
if (w == 2) {
_alpha = 100;
}
}
on (release) {
getURL ("http://www.wandah.com", "_blank");
}
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();
stopAllSounds();
volumesuara = 100;
volumeradio = 100;
radioaktif = 1;
radioseting = 1;
pilihanmusik = 1;
map_unlock = 1;
map_selected = 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_3", 15006);
this.createEmptyMovieClip("dm_4", 15007);
this.createEmptyMovieClip("dm_5", 15008);
tr_music = new Sound("dm_3");
tr_music.attachSound("musik1");
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("simtaxi2");
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 = ["", "Willingtown", "Newtownards", "Portrush", "Wandernpoint", "Belfast City"];
unlock_code = ["", "cocorush", "bananacash", "portroyale", "magicwand", "fiveroads"];
goal_earning = [0, 100, 150, 200, 250, 300, 400, 500, 200, 250, 300, 500, 600, 750, 1000, 250, 300, 500, 750, 1000, 1250, 1500, 1750, 200, 300, 500, 750, 800, 100, 1200, 1500, 1700, 2000, 400, 500, 750, 800, 1000, 2000, 2500, 3000];
campaign_map = [0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5];
mission_time = [];
i = 0;
while (i < goal_earning.length) {
time_need = goal_earning[i] - (20 * campaign_map[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 1311 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 304 MovieClip in Frame 9
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Instance of Symbol 1333 MovieClip "select_1" in Frame 10
on (rollOver) {
_parent.map_selected = 1;
_parent.play_sound("button_sound");
}
on (release) {
_parent.gotoAndStop("setting_free_game");
}
onClipEvent (load) {
if (_root.map_selected == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.map_selected == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 1341 MovieClip "select_2" in Frame 10
on (rollOver) {
_parent.map_selected = 2;
_parent.play_sound("button_sound");
}
on (release) {
if (_parent.map_locked) {
getURL (_parent.play_link, "_self");
} else {
_parent.gotoAndStop("setting_free_game");
}
}
onClipEvent (load) {
if (_root.map_selected == 2) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.map_selected == 2) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 304 MovieClip in Frame 11
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Frame 12
pilih_load = 1;
Frame 13
sg = SharedObject.getLocal("simtaxi2");
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;
map_selected = st.data.map_selected;
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 304 MovieClip in Frame 13
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Frame 14
stop();
game_type = 2;
day = 1;
uang = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 0;
jenismesin = 1;
jenisroda = 1;
jenisbody = 1;
jenissuspensi = 1;
konsumsibahanbakar = 0.01;
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;
penumpang = 0;
speed_taxi = 0;
dest_x = 0;
dest_y = 0;
gotoAndStop ("setting_map");
Frame 15
stop();
temp_map = 1;
myMap1 = [];
alamat1 = [];
sg = SharedObject.getLocal("simtaxi2");
sg.data.map_selected = map_selected;
sg.data.map_unlock = map_unlock;
sg.flush();
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.map_loader.map1;
jalan1 = this.map_loader.alamat1;
poscarx = 12;
poscary = 8;
}
speed_taxi = 0;
Instance of Symbol 1379 MovieClip "select_1" in Frame 15
onClipEvent (load) {
if (_root.map_selected == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 16
stop();
stopAllSounds();
if (sound_aktif == 1) {
bgsound.start(0.02, 1000);
}
clear_screen();
gotoAndStop ("cover");
Frame 17
stop();
stopAllSounds();
clear_screen();
Frame 18
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();
Instance of Symbol 304 MovieClip in Frame 18
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Frame 19
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 20
function buildMap(map) {
_root.createEmptyMovieClip("asap_taxi", 12);
_root.attachMovie("empty", "tiles", 1);
_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 _local2 = (char.xtile - game.halfvisx) - _local6;
while (_local2 <= (((char.xtile + game.halfvisx) + 1) - _local6)) {
var _local3 = (("t_" + _local4) + "_") + _local2;
if ((((_local4 >= 0) and (_local2 >= 0)) and (_local4 <= (map.length - 1))) and (_local2 <= (map[0].length - 1))) {
game[_local3] = new game["Tile" + map[_local4][_local2][0]]();
} else {
game[_local3] = new game.Tile1000();
}
game.clip.attachMovie("tile", _local3, (1 + (_local4 * 100)) + (_local2 * 2));
game.clip[_local3]._x = _local2 * game.tileW;
game.clip[_local3]._y = _local4 * game.tileH;
game.clip[_local3].gotoAndStop(game[_local3].frameaktif);
game.clip[_local3].gambar.gotoAndStop(map[_local4][_local2][1]);
_local2++;
}
_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]]();
game.clip[_local5]._name = _local1;
game.clip[_local1].gotoAndStop(game[_local1].frameaktif);
game.clip[_local1].gambar.gotoAndStop(map[ynew][xnew][1]);
game.clip[_local1]._x = xnew * game.tileW;
game.clip[_local1]._y = ynew * game.tileH;
} 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 + 15;
} else {
ob.clip._rotation = ob.clip._rotation - 15;
}
}
}
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 + 15;
} else {
ob.clip._rotation = ob.clip._rotation - 15;
}
}
}
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 - 15;
} else {
ob.clip._rotation = ob.clip._rotation + 15;
}
}
}
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 + 15;
} else {
ob.clip._rotation = ob.clip._rotation - 15;
}
}
}
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;
gameg.clip._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;
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 + 15;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
if (_local2.speed < -1) {
setir--;
if (setir < (-sensetir)) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation - 15;
}
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 - 15;
}
miring++;
if (miring > 10) {
_root.play_sound("suarangepot");
}
}
if (_local2.speed < -1) {
setir++;
if (setir > sensetir) {
setir = 0;
_local2.clip._rotation = _local2.clip._rotation + 15;
}
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 = 0;
} else {
sensetir = 2;
}
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 / 15) + 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("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;
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.speedx = kec;
ob.speedy = 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)) and (ob.arah == ob2.arah)) {
if (ob.arah == 1) {
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;
} 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 == 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 == 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 == 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) {
ob.kec = 0;
ob.wtx++;
if (ob.wtx > 10) {
ob.wtx = 0;
ob.kec = _root.kecmobilumum;
ob.tunggutaxi = 0;
}
}
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));
if (ob.sensor.hitTest(_root.mobil)) {
ob.tunggutaxi = 1;
if ((random(20) == 14) and _root.sound_aktif) {
ob.sensor.play();
}
}
if (ob.arah == 1) {
ob.sensor._rotation = 0;
ob.rot = 0;
ob.speedx = ob.kec;
ob.speedy = 0;
}
if (ob.arah == 2) {
ob.sensor._rotation = 90;
ob.rot = 90;
ob.speedx = 0;
ob.speedy = ob.kec;
}
if (ob.arah == 3) {
ob.sensor._rotation = 180;
ob.rot = 180;
ob.speedx = -ob.kec;
ob.speedy = 0;
}
if (ob.arah == 4) {
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 >= 2)) and (id != 1)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil2.sensor4) and (_root.public_car.mobil2.keluar >= 2)) and (id != 2)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil3.sensor4) and (_root.public_car.mobil3.keluar >= 2)) and (id != 3)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil4.sensor4) and (_root.public_car.mobil4.keluar >= 2)) and (id != 4)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil5.sensor4) and (_root.public_car.mobil5.keluar >= 2)) and (id != 5)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil6.sensor4) and (_root.public_car.mobil6.keluar >= 2)) and (id != 6)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil7.sensor4) and (_root.public_car.mobil7.keluar >= 2)) and (id != 7)) {
ob.keluar = 3;
}
if ((ob.sensor.hitTest(_root.public_car.mobil8.sensor4) and (_root.public_car.mobil8.keluar >= 2)) 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.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;
}
function move_man(ob, id) {
if (ob.keluar == 1) {
ob._alpha = 100;
if (_root.aktif == 1) {
if ((ob.stat == 0) or (ob.stat == 2)) {
ob.swapDepths((ob._x * 640) + (ob._y * 420));
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)) {
ob.stat = 1;
}
}
if ((ob.stat == 1) and (ob.naik > 0)) {
ob.sensor_penumpang._visible = true;
ob.body.gotoAndStop(2);
ob.body.body.gotoAndStop(1);
if (_root.penumpang > 0) {
ob.sensor_penumpang._visible = false;
ob.stat = 0;
}
if (ob.sensor_penumpang.hitTest(_root.mobil.sensor) and (_root.penumpang == 0)) {
trace("dpt");
ob.stat = 2;
ob.sensor_penumpang._visible = false;
}
}
if (ob.stat == 2) {
ob.seru._visible = true;
if ((ob._x > (_root.mobil._x - 5)) and (ob._x < (_root.mobil._x + 5))) {
if (ob._y < _root.mobil._y) {
ob.arah = 2;
} else {
ob.arah = 4;
}
} else if (ob._x < _root.mobil._x) {
ob.arah = 1;
} else {
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;
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:300, _y:210});
_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 + 40;
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;
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;
ob.body.body.gotoAndStop(1);
ob.naik = random(2);
}
}
fscommand ("allowscale", false);
fscommand ("allowscale", false);
fscommand ("fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
removeMovieClip("tiles");
removeMovieClip("plus");
loop_sound("sound_kota");
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);
real_speed = kecepatan;
kecepatan = 8;
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 = Math.round(600 / skalatile) + 1;
tampaky = Math.round(420 / skalatile) + 1;
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:speed_taxi};
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("aktif = " + aktif);
pilihan_musik = random(3) + 1;
Instance of Symbol 339 MovieClip [empty] "controller" in Frame 20
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 339 MovieClip [empty] in Frame 20
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(50);
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(50);
_root.sound_radio.start(0, 999);
};
}
if (bosenradio != _root.pilihan_musik) {
bosenradio = 0;
_root.keterangan = "";
}
}
if ((((_root.aktif == 1) and (random(500) == 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(500) == 240)) and (_root.penumpang > 0)) and (_root.pilihan_musik == 0)) {
_root.keterangan = "hey.. i want a music";
bosenradio = _root.pilihan_musik;
}
}
Instance of Symbol 339 MovieClip [empty] in Frame 20
onClipEvent (load) {
detik = 0;
wk = 0;
realtime = 40;
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 1394 MovieClip "awan" in Frame 20
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 277 MovieClip [my_car] "mobil" in Frame 20
onClipEvent (load) {
this.swapDepths(13);
_x = 300;
_y = 210;
w = 0;
sr = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.penumpang + 1);
}
Instance of Symbol 1395 MovieClip "public_car" in Frame 20
onClipEvent (load) {
this.swapDepths(15);
}
Instance of Symbol 2059 MovieClip "public_human" in Frame 20
onClipEvent (load) {
this.swapDepths(14);
}
Frame 21
function top_race_vars() {
fscommand ("allowscale", false);
fscommand ("allowscale", false);
fscommand ("fullscreen", false);
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
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(19);
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 - 19) * 4;
}
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 < 19) {
this.arena.my_car.body.nextFrame();
}
if (this.arena.my_car.body._currentframe > 19) {
this.arena.my_car.body.prevFrame();
}
}
if (Key.isDown(39) or (this.arena.my_car.crash == 1)) {
if (this.arena.my_car.body._currentframe < 22) {
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 > 16) {
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 < 19) {
this.arena.my_car.body.nextFrame();
}
if (this.arena.my_car.body._currentframe > 19) {
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();
};
Frame 22
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["papannilai" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
if (myPlayer > 50) {
myPlayer = 50;
}
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["papannilai" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["papannilai" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["papannilai" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["papannilai" + sNum].sboard.mcScoreHolder.desty = 0;
_root["papannilai" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
nomenu = 0;
stop();
stop();
var gameID = 92;
Dsource = "www";
papannilai1.sboard.dir = "stop";
papannilai2.sboard.dir = "stop";
papannilai1.sboard.mcScoreHolder.mcScore._visible = false;
papannilai2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
Symbol 40 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 277 MovieClip [my_car] Frame 1
stop();
Instance of Symbol 287 MovieClip "bar" in Symbol 288 MovieClip Frame 1
onClipEvent (load) {
_xscale = _root.persenload;
}
onClipEvent (enterFrame) {
_xscale = _root.persenload;
}
Symbol 304 MovieClip Frame 30
if (random(30) == 14) {
gotoAndPlay (1);
} else {
gotoAndPlay (25);
}
Symbol 313 MovieClip Frame 136
_root.gotoAndStop("my_logo");
Symbol 319 Button
on (release) {
_root.getURL("http://www.onehitplay.com", "_self");
}
Instance of Symbol 339 MovieClip [empty] in Symbol 340 MovieClip Frame 1
onClipEvent (load) {
_root.code = "ST2bWW4NG";
}
Instance of Symbol 340 MovieClip in Symbol 345 MovieClip Frame 1
on (release) {
getURL ("http://www.wandah.com", "_blank");
}
Symbol 345 MovieClip Frame 109
_parent.original = true;
_parent.play();
Symbol 348 MovieClip [char] Frame 1
gotoAndStop(_root.cartype + 1);
Symbol 350 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 353 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
onClipEvent (enterFrame) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
Symbol 365 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Instance of Symbol 393 MovieClip "radio" in Symbol 394 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pilihan_musik + 1);
}
Symbol 399 Button
on (release) {
if (_root.aktif == 1) {
_root.aktif = 0;
gotoAndStop (2);
}
}
Symbol 406 Button
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Symbol 409 Button
on (release) {
trace("save game");
gotoAndStop (4);
}
Symbol 412 Button
on (release) {
_root.aktif = 1;
_parent.gotoAndStop(1);
}
Symbol 415 Button
on (release) {
gotoAndStop (2);
}
Symbol 418 Button
on (release) {
gotoAndStop (3);
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 428 Button
on (release) {
gotoAndStop (5);
}
Symbol 431 Button
on (release) {
gotoAndStop (1);
}
Symbol 438 Button
on (release) {
_root.gotoAndStop("hapus");
}
Symbol 441 Button
on (release) {
gotoAndStop (1);
}
Symbol 444 Button
on (release) {
save_slot = 4;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 445 Button
on (release) {
save_slot = 1;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 446 Button
on (release) {
save_slot = 2;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 447 Button
on (release) {
save_slot = 3;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 448 Button
on (release) {
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 457 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 458 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 462 MovieClip Frame 1
stop();
Symbol 465 Button
on (release) {
_root.saved = 1;
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 469 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
save_slot = 1;
stop();
Symbol 469 MovieClip Frame 2
Selection.setFocus("np");
np.text = _root["saved_" + save_slot];
if ((np.text == undefined) or (np.text == "< empty >")) {
np.text = "";
}
Symbol 476 MovieClip Frame 1
stop();
Instance of Symbol 304 MovieClip in Symbol 476 MovieClip Frame 1
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
Instance of Symbol 425 MovieClip in Symbol 476 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 477 MovieClip Frame 1
stop();
Instance of Symbol 361 MovieClip in Symbol 484 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_rotation = (100 - _root.bensin);
}
onClipEvent (enterFrame) {
_rotation = (100 - _root.bensin);
}
Instance of Symbol 365 MovieClip in Symbol 484 MovieClip [mask_frame] Frame 1
onClipEvent (enterFrame) {
if (_root.bensin < 25) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 369 MovieClip in Symbol 484 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 376 MovieClip "bayarane" in Symbol 484 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 394 MovieClip in Symbol 484 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 477 MovieClip in Symbol 484 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 483 MovieClip "compas" in Symbol 484 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;
}
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 508 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 501 MovieClip in Symbol 508 MovieClip [kemana] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 508 MovieClip [kemana] Frame 86
if (random(5) > 3) {
say = "ok! get in";
} else {
say = "ok! lets go";
}
Symbol 508 MovieClip [kemana] Frame 106
_root.play_sound("suarabukapintu");
Symbol 508 MovieClip [kemana] Frame 123
_root.aktif = 1;
_root.settujuan = false;
_root.play_sound("suaratutuppintu");
removeMovieClip(this);
Symbol 518 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 501 MovieClip in Symbol 518 MovieClip [terimakasih] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 518 MovieClip [terimakasih] Frame 30
_root.play_sound("suaratutuppintu");
Symbol 518 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 531 MovieClip Frame 40
gotoAndPlay (1);
Symbol 572 MovieClip [jalan] Frame 1
stop();
Instance of Symbol 522 MovieClip in Symbol 572 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 524 MovieClip in Symbol 572 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;
}
}
}
Instance of Symbol 528 MovieClip in Symbol 572 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 534 MovieClip in Symbol 572 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 537 MovieClip in Symbol 572 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 546 MovieClip in Symbol 572 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 522 MovieClip in Symbol 572 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 524 MovieClip in Symbol 572 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;
}
}
}
Instance of Symbol 522 MovieClip in Symbol 572 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 524 MovieClip in Symbol 572 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;
}
}
}
Instance of Symbol 522 MovieClip in Symbol 572 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 524 MovieClip in Symbol 572 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;
}
}
}
Instance of Symbol 551 MovieClip in Symbol 572 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 = 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 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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;
}
}
Instance of Symbol 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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 524 MovieClip in Symbol 572 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 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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 524 MovieClip in Symbol 572 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 551 MovieClip in Symbol 572 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 = 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;
}
}
Instance of Symbol 524 MovieClip in Symbol 572 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 568 MovieClip in Symbol 572 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 531 MovieClip "tujuan" in Symbol 572 MovieClip [jalan] Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.mobil.sensor) and (_root.penumpang > 0)) {
trace("turun");
_root.aktif = 0;
_root.attachMovie("terimakasih", "thanks", 10001, {_x:300, _y:210});
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 - 40);
}
}
Instance of Symbol 522 MovieClip in Symbol 572 MovieClip [jalan] Frame 43
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 43
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 522 MovieClip in Symbol 572 MovieClip [jalan] Frame 44
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 44
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 522 MovieClip in Symbol 572 MovieClip [jalan] Frame 45
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 45
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 522 MovieClip in Symbol 572 MovieClip [jalan] Frame 46
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 46
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 47
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 47
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 48
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 48
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 49
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;
}
}
Instance of Symbol 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 49
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 50
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 50
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 51
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 52
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 52
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 53
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 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 53
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 551 MovieClip in Symbol 572 MovieClip [jalan] Frame 54
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;
}
}
Instance of Symbol 524 MovieClip in Symbol 572 MovieClip [jalan] Frame 54
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;
}
}
}
Symbol 831 MovieClip Frame 1
stop();
Symbol 832 MovieClip [tile] Frame 1
stop();
Instance of Symbol 572 MovieClip [jalan] "gambar" in Symbol 832 MovieClip [tile] Frame 1
onClipEvent (load) {
_width = _root.skalatile;
_height = _root.skalatile;
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
_width = _root.skalatile;
_height = _root.skalatile;
_x = 0;
_y = 0;
}
Instance of Symbol 831 MovieClip "gambar" in Symbol 832 MovieClip [tile] Frame 2
onClipEvent (load) {
_width = _root.skalatile;
_height = _root.skalatile;
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
_width = _root.skalatile;
_height = _root.skalatile;
_x = 0;
_y = 0;
}
Symbol 840 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 849 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 2;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 852 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 1;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 853 MovieClip [bensinhabis] Frame 1
_root.aktif = 0;
stop();
Symbol 857 Button
on (release) {
_parent.play();
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 861 MovieClip [objective_done] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 861 MovieClip [objective_done] Frame 22
stop();
Symbol 861 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 879 MovieClip [help] Frame 145
removeMovieClip(this);
Symbol 885 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 887 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 890 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 897 MovieClip Frame 1
stop();
Symbol 898 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 361 MovieClip in Symbol 900 MovieClip [panel] Frame 1
onClipEvent (load) {
_rotation = (100 - _root.bensin);
}
onClipEvent (enterFrame) {
_rotation = (100 - _root.bensin);
}
Instance of Symbol 365 MovieClip in Symbol 900 MovieClip [panel] Frame 1
onClipEvent (enterFrame) {
if (_root.bensin < 25) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 394 MovieClip in Symbol 900 MovieClip [panel] Frame 1
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Symbol 939 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 21
gotoAndStop (1);
Symbol 980 MovieClip Frame 1
stop();
Symbol 1019 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 1
stop();
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 1252 MovieClip Frame 1
stop();
Symbol 1257 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 1261 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 1265 MovieClip [result_success] Frame 130
_root.end_race();
_root.uang = _root.uang + 500;
if (_root.bensin < 5) {
_root.bensin = 5;
}
removeMovieClip(this);
Symbol 1277 MovieClip [up_view_road] Frame 1
stop();
Instance of Symbol 546 MovieClip in Symbol 1277 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 546 MovieClip in Symbol 1277 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 1289 MovieClip Frame 1
stop();
Symbol 1297 MovieClip Frame 1
_root.prtd = "ST2bWW4NG";
_root.open_link = function () {
getURL ("http://wandah.com", "_blank");
};
Instance of Symbol 1293 MovieClip in Symbol 1297 MovieClip Frame 1
on (release) {
getURL ("http://wandah.com", "_blank");
}
Symbol 1298 MovieClip Frame 30
stop();
Symbol 1303 Button
on (release) {
_root.gotoAndStop("new_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1306 Button
on (release) {
_root.gotoAndStop("load_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1307 Button
on (release) {
if (_root.map_locked) {
_root.getURL("http://onehitplay.com", "_self");
} else {
_root.getURL("http://onehitplay.com/allgames.php?p=0", "_blank");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1312 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 1317 Button
on (release) {
if (_root.domain != "wandah.com") {
getURL ("http://www.wandah.com", "_self");
}
}
Symbol 1320 Button
on (release) {
_root.gotoAndStop("cover");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1333 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 1
stop();
Instance of Symbol 1340 MovieClip in Symbol 1341 MovieClip Frame 1
onClipEvent (load) {
trace(" map locked = " + _root.map_locked);
if (_root.map_locked) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 1344 Button
on (release) {
if (np.text != "") {
submit_score(np.text);
gotoAndStop (2);
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1345 Button
on (release) {
_root.gotoAndStop("cover");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1352 MovieClip Frame 1
function submit_score(p_name) {
if (_root.map_locked) {
getURL (play_link, "_self");
} else {
this.gotoAndStop(2);
}
}
Selection.setFocus("np");
stop();
Symbol 1353 Button
on (release) {
if (slot_4.text != "< empty >") {
_root.pilih_load = 4;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1354 Button
on (release) {
if (slot_1.text != "< empty >") {
_root.pilih_load = 1;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1355 Button
on (release) {
if (slot_2.text != "< empty >") {
_root.pilih_load = 2;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1356 Button
on (release) {
if (slot_3.text != "< empty >") {
_root.pilih_load = 3;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1362 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
Symbol 1364 Button
on (release) {
_root.gotoAndStop("setting_map");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1377 Button
on (release) {
stopAllSounds();
_root.play_sound("start_sound");
_root.gotoAndStop("main");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1379 MovieClip Frame 1
stop();
Symbol 1381 Button
on (release) {
_root.getURL("http://wandah.com", "_self");
}
Symbol 1386 Button
on (release) {
_root.gotoAndStop("enter_name");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1391 MovieClip Frame 1
stop();
money_txt.text = "$ " + _root.uang;
Instance of Symbol 1253 MovieClip [public_car] "mobil1" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 1);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 1);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil3" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 3);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 3);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil7" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 7);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 7);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil5" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 5);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 5);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil2" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 2);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 2);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil4" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 4);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 4);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil6" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 6);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 6);
}
Instance of Symbol 1253 MovieClip [public_car] "mobil8" in Symbol 1395 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 8);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 8);
}
Symbol 1491 MovieClip Frame 1
stop();
Symbol 1587 MovieClip Frame 1
stop();
Symbol 1681 MovieClip Frame 1
stop();
Symbol 1775 MovieClip Frame 1
stop();
Symbol 1869 MovieClip Frame 1
stop();
Symbol 1963 MovieClip Frame 1
stop();
Symbol 2057 MovieClip Frame 1
stop();
Instance of Symbol 2058 MovieClip "orang1" in Symbol 2059 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 1);
}
onClipEvent (enterFrame) {
_root.move_man(this, 1);
}
Instance of Symbol 2058 MovieClip "orang2" in Symbol 2059 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 2);
}
onClipEvent (enterFrame) {
_root.move_man(this, 2);
}
Instance of Symbol 2058 MovieClip "orang3" in Symbol 2059 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 3);
}
onClipEvent (enterFrame) {
_root.move_man(this, 3);
}
Instance of Symbol 2058 MovieClip "orang4" in Symbol 2059 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 4);
}
onClipEvent (enterFrame) {
_root.move_man(this, 4);
}
Instance of Symbol 2058 MovieClip "orang5" in Symbol 2059 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 5);
}
onClipEvent (enterFrame) {
_root.move_man(this, 5);
}
Symbol 2066 Button
on (release) {
gotoAndStop ("cover");
}
Symbol 2073 MovieClip Frame 1
stop();
Symbol 2073 MovieClip Frame 2
stop();
Symbol 2088 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 2089 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}