Frame 1
function onConnectError(status) {
trace("can't connect mochi");
offline_mode = true;
}
function openLink(obj, item) {
getURL ("http://www.wandah.com/contact.php", _blank);
}
stop();
mochi.as2.MochiAd.showPreGameAd({id:"bbcb575478512d39", res:"600x420"});
mochi.as2.MochiServices.connect("bbcb575478512d39", _root, onConnectError);
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
my_cm.customItems.push(new ContextMenuItem("Games by Wandah W", openLink, true));
this.menu = my_cm;
Frame 3
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndPlay (2);
} else {
locked = false;
persenload = 0;
var domain = _url.substring(7);
if (domain.substring(0, 3) == "www") {
domain = domain.substring(4);
}
var end = domain.indexOf("/");
domain = domain.substring(0, end);
if (locked) {
if ((domain == "wandah.com") or (domain == "gameninja.com")) {
this.gotoAndStop("gameninja_logo");
} else {
this.gotoAndStop("locked");
}
} else {
this.gotoAndStop("gameninja_logo");
}
}
Frame 11
Frame 12
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.flush();
trace("save done");
}
sound_aktif = 1;
map1 = [[[0, 1], [0, 1], [0, 1], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1], [1, 4], [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, 4], [1, 5], [0, 1], [1, 22], [1, 22], [1, 4], [1, 21], [1, 19], [1, 21], [1, 19], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 2], [1, 5], [1, 26], [1, 26], [1, 26], [1, 26], [1, 5], [1, 6], [1, 22], [1, 22], [1, 4], [1, 21], [1, 19], [1, 21], [1, 19], [0, 1], [1, 3], [0, 1]], [[0, 1], [1, 3], [1, 5], [1, 4], [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, 8], [1, 3], [1, 6], [0, 1]], [[1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 48], [1, 49], [0, 1]], [[1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 13], [1, 15], [1, 16], [0, 6], [0, 4], [1, 31], [1, 64], [1, 65], [1, 8], [0, 6], [0, 4], [1, 50], [1, 51], [0, 1]], [[1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 32], [1, 33], [1, 34], [1, 35], [0, 6], [0, 4], [1, 5], [0, 1], [0, 1]], [[1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 10], [1, 12], [1, 11], [0, 6], [0, 4], [1, 36], [1, 37], [1, 38], [1, 39], [0, 6], [0, 4], [0, 1], [1, 4], [0, 1]], [[0, 20], [0, 20], [1, 108], [1, 109], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 52], [1, 53], [0, 1]], [[0, 20], [0, 20], [1, 110], [1, 111], [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], [1, 54], [1, 55], [0, 1]], [[1, 66], [1, 67], [1, 108], [1, 109], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 78], [1, 79], [1, 10], [1, 56], [1, 57], [0, 20], [0, 6], [0, 4], [1, 70], [1, 71], [0, 1]], [[1, 68], [1, 69], [1, 110], [1, 111], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 80], [1, 81], [1, 11], [1, 58], [1, 59], [0, 20], [0, 6], [0, 4], [1, 72], [1, 73], [0, 1]], [[1, 66], [1, 67], [1, 66], [1, 67], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 7], [0, 16], [0, 17], [0, 3], [0, 11], [0, 4], [1, 74], [1, 75], [0, 1]], [[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, 15], [0, 15], [0, 15], [0, 15], [0, 4], [1, 76], [1, 77], [0, 1]], [[0, 20], [0, 20], [0, 20], [0, 20], [0, 10], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 74], [1, 75], [0, 1]], [[1, 2], [0, 25], [1, 64], [1, 65], [1, 30], [1, 44], [1, 45], [0, 6], [0, 4], [1, 9], [1, 30], [1, 29], [1, 3], [1, 64], [1, 65], [0, 6], [0, 4], [1, 76], [1, 77], [0, 1]], [[1, 2], [0, 25], [0, 25], [0, 25], [1, 31], [1, 46], [1, 47], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 5], [0, 1], [0, 1]], [[1, 6], [1, 6], [1, 6], [1, 4], [1, 3], [1, 2], [1, 2], [0, 10], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [0, 2], [1, 3], [0, 1]], [[0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 27], [1, 27], [1, 27], [1, 29], [1, 29], [1, 29], [1, 26], [1, 26], [1, 26], [1, 29], [1, 3], [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 = [[5, 3, "Blue Pearl Residence"], [11, 3, "River Side Residence"], [14, 3, "North Willingtown"], [4, 5, "Gallant Industry"], [6, 4, "Roselind Florish"], [7, 4, "Stingray Fish Market"], [8, 4, "Mr Crab's Seafood"], [10, 5, "Jefferson Library"], [12, 4, "Care4 Supermart"], [14, 4, "W'c Burger"], [16, 5, "Willingtown's Water Supply"], [4, 7, "Factory West Area"], [6, 8, "La Cafe & Resto"], [7, 8, "Choco Ice Cream"], [8, 8, "Souvenir Store"], [11, 8, "Bus Station"], [16, 9, "City Power Plant"], [4, 9, "Tall Office"], [4, 10, "Magic Wand Office"], [7, 13, "Golden Palm Apartment"], [9, 12, "3BRO Hotel"], [11, 9, "Green Tea Cafe"], [11, 12, "Chip n Dale Acc"], [16, 11, "Papper Factory"], [3, 14, "Joe's Hypermart"], [4, 14, "Nine Pages Bookstore"], [7, 16, "Willington Schooll"], [9, 16, "Pink Foodcourt"], [10, 16, "ABC Bookstore"], [13, 16, "4Stars Hypermart"], [16, 15, "Wilson Hardware Factory"], [8, 17, "South Will Residence"], [11, 17, "Coco Farm"], [14, 17, "Blue Reef Housing"]];
pos_start1 = [12, 8];
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], [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], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [1, 5], [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], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 4], [1, 5], [0, 1], [1, 2], [1, 4], [0, 1], [1, 48], [1, 49], [1, 48], [1, 49], [1, 48], [1, 49], [1, 66], [1, 67], [1, 66], [1, 67], [1, 66], [1, 67], [0, 20], [1, 70], [1, 71], [1, 70], [1, 71], [1, 70], [1, 71], [0, 20], [1, 32], [1, 33], [1, 34], [1, 35], [1, 5], [1, 4], [1, 4], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 4], [0, 1], [1, 2], [0, 1], [1, 4], [0, 1], [1, 50], [1, 51], [1, 50], [1, 51], [1, 50], [1, 51], [1, 68], [1, 69], [1, 68], [1, 69], [1, 68], [1, 69], [0, 20], [1, 72], [1, 73], [1, 72], [1, 73], [1, 72], [1, 73], [0, 20], [1, 36], [1, 37], [1, 38], [1, 39], [1, 11], [1, 10], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 4], [1, 3], [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, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 5], [1, 4], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [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, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 6], [1, 3], [1, 2], [0, 6], [0, 4], [1, 104], [1, 105], [1, 104], [1, 105], [1, 30], [1, 7], [1, 44], [1, 45], [0, 20], [1, 44], [1, 45], [0, 6], [0, 4], [1, 22], [1, 23], [0, 1], [1, 18], [1, 64], [1, 65], [1, 64], [1, 65], [0, 6], [0, 4], [1, 28], [1, 28], [1, 28], [0, 6], [0, 4], [1, 26], [0, 1], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 6], [0, 1], [0, 1], [0, 6], [0, 4], [1, 106], [1, 107], [1, 106], [1, 107], [1, 31], [1, 7], [1, 46], [1, 47], [0, 20], [1, 46], [1, 47], [0, 6], [0, 4], [1, 22], [1, 23], [0, 1], [1, 18], [1, 11], [1, 56], [1, 57], [1, 8], [0, 6], [0, 4], [0, 1], [0, 1], [0, 1], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [1, 25], [1, 25], [1, 25], [1, 25], [0, 6], [0, 4], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [1, 7], [0, 6], [0, 4], [1, 22], [1, 23], [0, 1], [1, 18], [0, 20], [1, 58], [1, 59], [0, 20], [0, 6], [0, 4], [1, 27], [1, 27], [1, 27], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [1, 25], [1, 4], [1, 4], [0, 1], [0, 6], [0, 4], [1, 60], [1, 61], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [0, 6], [0, 4], [1, 22], [1, 23], [0, 1], [1, 18], [0, 7], [0, 16], [0, 17], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [1, 25], [1, 25], [1, 25], [1, 25], [0, 6], [0, 4], [1, 62], [1, 63], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [0, 6], [0, 4], [1, 22], [1, 23], [0, 1], [1, 18], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 26], [0, 1], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 5], [0, 1], [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, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [1, 82], [1, 83], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [1, 5], [0, 1], [1, 3], [1, 3], [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, 14], [0, 13], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 9], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [1, 84], [1, 85], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 4], [0, 1], [1, 2], [0, 6], [0, 4], [1, 10], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 78], [1, 79], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 64], [1, 65], [0, 6], [0, 4], [1, 82], [1, 83], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [1, 82], [1, 83], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 16], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 80], [1, 81], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [0, 20], [0, 20], [0, 6], [0, 4], [1, 84], [1, 85], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [1, 84], [1, 85], [0, 6], [0, 4], [1, 27], [0, 1], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 78], [1, 79], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 60], [1, 61], [0, 6], [0, 4], [1, 40], [1, 41], [1, 40], [1, 41], [0, 20], [0, 7], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 80], [1, 81], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 62], [1, 63], [0, 6], [0, 4], [1, 42], [1, 43], [1, 42], [1, 43], [0, 20], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 29], [0, 1], [1, 29], [1, 29], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 12], [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, 11], [0, 4], [1, 78], [1, 79], [0, 6], [0, 4], [1, 27], [1, 27], [0, 1], [1, 29], [0, 1]], [[1, 28], [1, 28], [0, 1], [1, 28], [1, 28], [0, 6], [0, 4], [1, 13], [1, 14], [1, 15], [1, 11], [0, 10], [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, 5], [0, 9], [1, 80], [1, 81], [0, 6], [0, 4], [1, 27], [1, 27], [0, 1], [1, 29], [0, 1]], [[1, 28], [1, 28], [0, 1], [1, 28], [1, 28], [0, 6], [0, 4], [1, 104], [1, 105], [1, 108], [1, 109], [1, 82], [1, 83], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [0, 6], [0, 4], [1, 10], [1, 60], [1, 61], [1, 11], [1, 56], [1, 57], [0, 20], [1, 78], [1, 79], [1, 31], [0, 20], [1, 78], [1, 79], [0, 6], [0, 4], [1, 27], [1, 27], [0, 1], [1, 29], [0, 1]], [[1, 28], [1, 28], [0, 1], [1, 28], [1, 28], [0, 6], [0, 4], [1, 106], [1, 107], [1, 110], [1, 111], [1, 84], [1, 85], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [0, 6], [0, 4], [1, 12], [1, 62], [1, 63], [1, 11], [1, 58], [1, 59], [1, 12], [1, 80], [1, 81], [1, 31], [0, 20], [1, 80], [1, 81], [0, 6], [0, 4], [1, 27], [1, 27], [0, 1], [1, 29], [0, 1]], [[1, 28], [1, 28], [0, 1], [1, 28], [1, 28], [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], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 7], [0, 16], [0, 17], [0, 8], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1]], [[1, 28], [1, 28], [0, 1], [1, 28], [1, 28], [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, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 11], [0, 15], [0, 15], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 26], [1, 26], [1, 26], [0, 1], [0, 1]], [[1, 70], [1, 71], [1, 70], [1, 71], [0, 20], [0, 10], [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, 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, 9], [1, 26], [1, 26], [1, 26], [0, 1], [0, 1]], [[1, 72], [1, 73], [1, 72], [1, 73], [0, 20], [1, 22], [1, 20], [0, 2], [1, 18], [0, 6], [0, 4], [1, 10], [1, 10], [1, 10], [1, 10], [0, 20], [1, 10], [1, 10], [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, 108], [1, 109], [0, 20], [1, 108], [1, 109], [1, 108], [1, 109], [1, 29], [0, 1], [0, 1]], [[1, 70], [1, 71], [1, 70], [1, 71], [0, 20], [1, 22], [1, 20], [0, 2], [1, 18], [0, 6], [0, 4], [1, 104], [1, 105], [1, 104], [1, 105], [0, 20], [1, 104], [1, 105], [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, 110], [1, 111], [0, 20], [1, 110], [1, 111], [1, 110], [1, 111], [1, 29], [0, 1], [0, 1]], [[1, 72], [1, 73], [1, 72], [1, 73], [0, 20], [1, 22], [1, 20], [0, 2], [1, 18], [0, 6], [0, 4], [1, 106], [1, 107], [1, 106], [1, 107], [0, 20], [1, 106], [1, 107], [0, 6], [0, 4], [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, 20], [0, 20], [0, 20], [1, 29], [0, 1], [0, 1]], [[1, 7], [0, 20], [0, 20], [0, 20], [0, 20], [0, 7], [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, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 2], [1, 4], [1, 5], [0, 1], [0, 1]], [[1, 5], [1, 74], [1, 75], [1, 74], [1, 75], [0, 6], [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, 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, 52], [1, 53], [1, 52], [1, 53], [0, 1]], [[1, 6], [1, 76], [1, 77], [1, 76], [1, 77], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 64], [1, 65], [1, 64], [1, 65], [1, 64], [1, 65], [0, 6], [0, 4], [1, 11], [1, 11], [0, 20], [1, 11], [1, 11], [1, 11], [1, 10], [1, 10], [1, 12], [0, 6], [0, 4], [1, 54], [1, 55], [1, 54], [1, 55], [0, 1]], [[0, 1], [1, 74], [1, 75], [1, 74], [1, 75], [0, 6], [0, 4], [1, 29], [0, 1], [0, 1], [0, 1], [1, 21], [1, 21], [1, 29], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [0, 20], [0, 20], [1, 32], [1, 33], [1, 34], [1, 35], [1, 70], [1, 71], [0, 6], [0, 4], [1, 52], [1, 53], [1, 52], [1, 53], [0, 1]], [[1, 6], [1, 76], [1, 77], [1, 76], [1, 77], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [1, 29], [0, 6], [0, 4], [1, 44], [1, 45], [0, 20], [1, 44], [1, 45], [0, 20], [0, 6], [0, 4], [1, 11], [1, 56], [1, 57], [1, 36], [1, 37], [1, 38], [1, 39], [1, 72], [1, 73], [0, 6], [0, 4], [1, 54], [1, 55], [1, 54], [1, 55], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [1, 4], [0, 6], [0, 4], [1, 29], [1, 29], [1, 29], [0, 1], [1, 29], [1, 29], [1, 29], [0, 6], [0, 4], [1, 46], [1, 47], [0, 20], [1, 46], [1, 47], [0, 20], [0, 6], [0, 4], [1, 11], [1, 58], [1, 59], [0, 20], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 70], [1, 71], [1, 29], [1, 29], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [1, 6], [0, 6], [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, 3], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 16], [0, 17], [0, 3], [0, 11], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 72], [1, 73], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 6], [0, 1], [1, 6], [0, 1], [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, 9], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 6], [1, 28], [1, 28], [1, 5], [1, 28], [1, 28], [1, 5], [1, 28], [1, 28], [1, 5], [1, 28], [1, 28], [1, 4], [1, 28], [1, 28], [1, 4], [1, 28], [1, 28], [1, 29], [1, 20], [1, 20], [1, 20], [1, 20], [1, 20], [1, 20], [1, 29], [1, 25], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 28], [1, 28], [1, 3], [1, 28], [1, 28], [1, 3], [1, 28], [1, 28], [1, 3], [1, 28], [1, 28], [1, 3], [1, 28], [1, 28], [1, 3], [1, 28], [1, 28], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25], [1, 25], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [1, 6], [0, 1], [1, 6], [0, 1], [1, 6], [0, 1], [0, 1], [0, 1], [1, 6], [0, 1], [1, 6], [0, 1], [0, 1], [1, 6], [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], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [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]]];
address2 = [[10, 5, "Newtownards Water Supply"], [12, 5, "Newtownards Water Supply"], [13, 5, "Newtownards Water Supply"], [17, 5, "Newt Industrial Area"], [20, 5, "Plastic Factory"], [23, 5, "Lumber Mill"], [30, 5, "North Newt Bus Station"], [33, 5, "Van's Loundry"], [34, 5, "Indie Music Store"], [8, 9, "Aries Mode Factory Outlet"], [10, 9, "Mobster Clothing"], [12, 7, "Nine Pages Book Store"], [12, 8, "Historical Library"], [13, 9, "Newtonards Elemntary School"], [22, 9, "Antlatics Residence"], [10, 9, "Mobster Clothing"], [24, 6, "DeltaMart"], [27, 6, "Joe's Minimart"], [24, 9, "Hathway Cafe"], [27, 9, "W'c Donnald"], [31, 8, "Ricardo's house"], [34, 7, "Madame Nina's mansion"], [4, 10, "Light Pearl Area"], [7, 12, "Newt Cineplex"], [11, 12, "Grahams Tall office 1"], [12, 12, "Grahams Tall office 2"], [14, 12, "Grahams Tall office 3"], [17, 12, "Organic Building"], [34, 11, "T-ox mansion"], [32, 11, "Burclays Office"], [25, 13, "Brookwell Insurance"], [30, 11, "Donatel Apartment"], [23, 15, "Claudy Apartment 1"], [28, 15, "Claudy Apartment 2"], [16, 14, "Moonbuck Cafe"], [7, 16, "Seastuff Restaurant"], [9, 16, "Newt Mall"], [12, 15, "ESPM Television"], [12, 17, "Arcadia Hotel"], [16, 18, "Claywood Plaza"], [21, 15, "Abel Supermart"], [20, 18, "Nightstrorm 21"], [25, 18, "Newtownards City Hospital"], [30, 16, "Global News Office"], [34, 15, "EAP Forest Keeper"], [2, 21, "Pinkroof Residence"], [7, 18, "Amanda Florish"], [8, 18, "My Pets Zone"], [9, 18, "Newt Fishmarket"], [10, 18, "Afgan Carpet Store"], [8, 22, "Xtreme Mode"], [9, 22, "Peeko Apartment"], [12, 22, "BigBoss Company"], [17, 22, "Flow & Glow LLC"], [19, 20, "Crown Cafe"], [20, 22, "Ice Cream Work"], [22, 22, "Primeshow Cinema"], [23, 22, "Minicafe"], [26, 22, "Snowhite Ice"], [27, 22, "Klompen Tower"], [29, 22, "Anabell Stationary"], [31, 22, "Longbow Mobile Company"], [34, 20, "Newish Modern Residence"], [4, 26, "West Newt Industrial Area"], [7, 26, "Tinyville"], [12, 24, "Greeny Foodcourt"], [16, 24, "Greeny Cafes"], [11, 28, "D'ascent Casual wear"], [13, 28, "Hill Minimall"], [16, 28, "Friends Shopping"], [21, 27, "Alexa Tall Office 1"], [22, 27, "Alexa Tall Office 2"], [24, 27, "Alexa Tall Office 3"], [26, 27, "Alexa Tall Office 4"], [30, 27, "Coolgreen Apartment 1"], [33, 27, "Coolgreen Apartment 2"], [35, 27, "Coolgreen Apartment 3"], [5, 31, "Goods Refinery"], [12, 32, "Mc Graud House"], [17, 31, "Hillbery's Hypermart"], [18, 31, "Hillbery's Hypermart"], [20, 31, "Hillbery's Hypermart"], [17, 34, "Newt Highschool"], [19, 34, "Newt Junior School"], [25, 31, "Yummy Gummy"], [28, 29, "Gold Palace restaurant"], [31, 29, "Spoon & Fork Cafes"], [33, 30, "Malls Ice Cream"], [23, 33, "Pipol Grocery"], [29, 33, "South Newt Buss Station"], [32, 33, "Cadpurry Choco Factory"], [34, 31, "Newt City Power Plant"], [7, 35, "Callberg South Ville"], [23, 35, "Canalice Ville"], [31, 34, "Eastonia Ville"], [34, 33, "Food Refinery Factory"]];
pos_start2 = [30, 5];
map3 = [[[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, 27], [1, 27], [1, 27], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 21], [1, 21], [1, 21], [1, 3], [1, 3], [0, 1], [0, 1], [1, 6], [1, 3], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [1, 3], [1, 6], [1, 6], [0, 1]], [[1, 29], [1, 70], [1, 71], [1, 70], [1, 71], [1, 66], [1, 67], [1, 66], [1, 67], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 21], [1, 21], [1, 21], [0, 1], [0, 1], [1, 3], [0, 1], [0, 1], [0, 1], [0, 1], [1, 6], [1, 3], [1, 2], [1, 2], [1, 3], [0, 1], [1, 6], [0, 1], [0, 1]], [[1, 29], [1, 72], [1, 73], [1, 72], [1, 73], [1, 68], [1, 69], [1, 68], [1, 69], [1, 29], [1, 29], [1, 27], [1, 27], [1, 27], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 21], [1, 21], [1, 21], [0, 1], [1, 2], [1, 2], [0, 1], [1, 5], [1, 5], [1, 5], [1, 3], [0, 1], [1, 6], [1, 2], [1, 3], [0, 1], [0, 1], [1, 6], [0, 1]], [[1, 29], [1, 70], [1, 71], [1, 70], [1, 71], [0, 20], [0, 20], [0, 20], [0, 20], [1, 29], [1, 29], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 20], [1, 20], [1, 20], [1, 2], [0, 1], [1, 2], [1, 4], [0, 1], [0, 1], [1, 3], [1, 3], [0, 2], [0, 1], [1, 3], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1]], [[1, 29], [1, 72], [1, 73], [1, 72], [1, 73], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 104], [1, 105], [0, 20], [1, 104], [1, 105], [0, 7], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 40], [1, 41], [1, 40], [1, 41], [1, 30], [1, 31], [1, 30], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 70], [1, 71], [1, 70], [1, 71], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 106], [1, 107], [0, 20], [1, 106], [1, 107], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 42], [1, 43], [1, 42], [1, 43], [0, 20], [0, 20], [0, 20], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 72], [1, 73], [1, 72], [1, 73], [0, 6], [0, 4], [1, 112], [1, 113], [1, 114], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 104], [1, 105], [0, 20], [1, 104], [1, 105], [0, 6], [0, 4], [1, 31], [1, 32], [1, 33], [1, 34], [1, 35], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 8], [1, 29], [1, 29], [0, 1], [0, 1]], [[1, 29], [1, 6], [1, 5], [1, 4], [1, 4], [0, 6], [0, 4], [1, 115], [1, 116], [1, 117], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 106], [1, 107], [0, 20], [1, 106], [1, 107], [0, 6], [0, 4], [0, 20], [1, 36], [1, 37], [1, 38], [1, 39], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45]], [[0, 1], [1, 3], [1, 4], [1, 6], [1, 3], [0, 6], [0, 4], [1, 118], [1, 119], [1, 120], [1, 118], [1, 119], [1, 120], [0, 6], [0, 12], [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, 11], [0, 4], [1, 82], [1, 83], [1, 56], [1, 57], [1, 11], [0, 6], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47]], [[0, 1], [1, 3], [1, 3], [0, 1], [1, 6], [0, 6], [0, 4], [1, 121], [1, 122], [1, 123], [1, 121], [1, 122], [1, 123], [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, 5], [0, 5], [0, 14], [0, 4], [1, 84], [1, 85], [1, 58], [1, 59], [0, 20], [0, 6], [0, 4], [1, 44], [1, 45], [1, 44], [1, 45]], [[0, 1], [1, 2], [1, 5], [1, 4], [1, 5], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 78], [1, 79], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 82], [1, 83], [0, 6], [0, 4], [1, 13], [0, 7], [0, 16], [0, 17], [0, 3], [0, 11], [0, 4], [1, 46], [1, 47], [1, 46], [1, 47]], [[0, 1], [0, 1], [1, 4], [1, 3], [1, 4], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 80], [1, 81], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 84], [1, 85], [0, 6], [0, 4], [1, 13], [0, 6], [0, 13], [0, 5], [0, 5], [0, 14], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 1], [0, 1], [1, 4], [0, 1], [1, 3], [0, 6], [0, 4], [1, 11], [1, 11], [1, 10], [1, 10], [1, 11], [1, 11], [0, 6], [0, 4], [1, 78], [1, 79], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 78], [1, 79], [0, 7], [0, 3], [0, 3], [0, 11], [0, 12], [0, 3], [0, 11], [0, 12], [0, 3], [0, 3], [0, 11], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 20], [1, 104], [1, 105], [1, 9], [1, 9], [0, 6], [0, 4], [1, 56], [1, 57], [1, 64], [1, 65], [1, 60], [1, 61], [0, 6], [0, 4], [1, 80], [1, 81], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 80], [1, 81], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 5], [0, 14], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 20], [1, 106], [1, 107], [0, 20], [0, 20], [0, 6], [0, 4], [1, 58], [1, 59], [0, 20], [0, 20], [1, 62], [1, 63], [0, 6], [0, 4], [0, 20], [0, 20], [0, 7], [0, 3], [0, 3], [0, 11], [0, 4], [1, 78], [1, 79], [0, 6], [0, 4], [1, 11], [1, 11], [1, 11], [1, 11], [1, 11], [1, 11], [1, 11], [1, 12], [0, 6], [0, 4], [1, 66], [1, 67], [1, 66], [1, 67]], [[0, 20], [1, 104], [1, 105], [1, 9], [1, 9], [0, 6], [0, 12], [0, 16], [0, 17], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 78], [1, 79], [0, 6], [0, 13], [0, 5], [0, 5], [0, 9], [1, 80], [1, 81], [0, 6], [0, 4], [1, 108], [1, 109], [1, 108], [1, 109], [1, 108], [1, 109], [1, 56], [1, 57], [0, 6], [0, 4], [1, 68], [1, 69], [1, 68], [1, 69]], [[0, 20], [1, 106], [1, 107], [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, 80], [1, 81], [0, 6], [0, 4], [0, 20], [1, 112], [1, 113], [1, 114], [0, 20], [0, 6], [0, 4], [1, 110], [1, 111], [1, 110], [1, 111], [1, 110], [1, 111], [1, 58], [1, 59], [0, 6], [0, 4], [1, 66], [1, 67], [1, 66], [1, 67]], [[0, 20], [1, 108], [1, 109], [1, 108], [1, 109], [1, 30], [1, 31], [1, 11], [1, 11], [1, 11], [1, 13], [1, 10], [1, 10], [1, 10], [0, 20], [0, 20], [0, 20], [0, 6], [0, 4], [0, 20], [1, 115], [1, 116], [1, 117], [0, 20], [0, 6], [0, 4], [1, 7], [1, 7], [1, 7], [0, 7], [0, 3], [0, 3], [0, 16], [0, 17], [0, 11], [0, 4], [1, 68], [1, 69], [1, 68], [1, 69]], [[0, 20], [1, 110], [1, 111], [1, 110], [1, 111], [0, 7], [0, 3], [0, 3], [0, 3], [0, 8], [1, 16], [1, 86], [1, 87], [1, 88], [1, 92], [1, 93], [1, 94], [0, 6], [0, 4], [0, 20], [1, 118], [1, 119], [1, 120], [0, 20], [0, 6], [0, 4], [1, 78], [1, 79], [1, 9], [0, 6], [0, 13], [0, 5], [0, 5], [0, 5], [0, 5], [0, 9], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 20], [1, 108], [1, 109], [1, 108], [1, 109], [0, 6], [0, 13], [0, 5], [0, 14], [0, 4], [1, 12], [1, 89], [1, 90], [1, 91], [1, 95], [1, 96], [1, 97], [0, 6], [0, 4], [0, 20], [1, 121], [1, 122], [1, 123], [0, 20], [0, 6], [0, 4], [1, 80], [1, 81], [1, 7], [0, 6], [0, 4], [1, 28], [1, 28], [1, 28], [1, 28], [1, 28], [1, 29], [1, 29], [1, 29], [1, 29]], [[0, 20], [1, 110], [1, 111], [1, 110], [1, 111], [0, 6], [0, 4], [1, 12], [0, 6], [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, 3], [0, 3], [0, 11], [0, 4], [1, 78], [1, 79], [1, 9], [0, 6], [0, 12], [0, 3], [0, 3], [0, 8], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29]], [[1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 6], [0, 4], [1, 8], [0, 10], [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, 5], [0, 5], [0, 9], [1, 80], [1, 81], [1, 7], [0, 10], [0, 5], [0, 5], [0, 14], [0, 4], [1, 48], [1, 49], [1, 48], [1, 49], [1, 48], [1, 49]], [[1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 6], [0, 4], [1, 26], [1, 26], [0, 2], [1, 29], [0, 1], [1, 28], [1, 28], [0, 1], [1, 27], [1, 27], [0, 6], [0, 4], [1, 11], [1, 11], [0, 20], [1, 11], [1, 11], [1, 11], [0, 20], [0, 20], [0, 20], [0, 20], [1, 14], [1, 15], [1, 13], [0, 6], [0, 4], [1, 50], [1, 51], [1, 50], [1, 51], [1, 50], [1, 51]], [[1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 6], [0, 4], [1, 26], [1, 26], [0, 2], [1, 29], [0, 1], [1, 28], [1, 28], [0, 1], [1, 27], [1, 27], [0, 6], [0, 4], [1, 98], [1, 99], [1, 100], [1, 98], [1, 99], [1, 100], [1, 98], [1, 99], [1, 100], [1, 7], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [1, 52], [1, 53], [1, 52], [1, 53], [1, 52], [1, 53]], [[0, 1], [0, 1], [1, 3], [1, 3], [1, 2], [0, 6], [0, 4], [1, 26], [1, 26], [0, 2], [1, 29], [0, 1], [1, 28], [1, 28], [0, 1], [1, 27], [1, 27], [0, 6], [0, 4], [1, 101], [1, 102], [1, 103], [1, 101], [1, 102], [1, 103], [1, 101], [1, 102], [1, 103], [1, 7], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [1, 54], [1, 55], [1, 54], [1, 55], [1, 54], [1, 55]], [[0, 1], [0, 1], [0, 1], [1, 3], [0, 1], [0, 6], [0, 12], [0, 3], [0, 8], [0, 1], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [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, 3], [0, 3], [0, 3], [0, 11], [0, 4], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 3], [1, 2], [1, 2], [0, 1], [0, 10], [0, 5], [0, 14], [0, 4], [0, 1], [1, 29], [0, 1], [1, 27], [1, 27], [0, 1], [1, 28], [1, 28], [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, 14], [0, 13], [0, 5], [0, 5], [0, 9], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 3], [1, 2], [1, 3], [1, 3], [1, 44], [1, 45], [0, 6], [0, 12], [0, 3], [0, 8], [0, 1], [1, 27], [1, 27], [0, 1], [1, 28], [1, 28], [0, 6], [0, 4], [0, 20], [1, 98], [1, 99], [1, 100], [0, 6], [0, 4], [0, 20], [1, 112], [1, 113], [1, 114], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1]], [[0, 1], [1, 2], [0, 1], [1, 3], [1, 3], [1, 46], [1, 47], [0, 10], [0, 5], [0, 14], [0, 4], [0, 1], [1, 27], [1, 27], [0, 1], [1, 28], [1, 28], [0, 6], [0, 4], [0, 20], [1, 101], [1, 102], [1, 103], [0, 6], [0, 4], [0, 20], [1, 115], [1, 116], [1, 117], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 2], [0, 1], [1, 44], [1, 45], [1, 44], [1, 45], [0, 6], [0, 12], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 3], [0, 11], [0, 4], [0, 20], [1, 92], [1, 93], [1, 94], [0, 6], [0, 4], [0, 20], [1, 118], [1, 119], [1, 120], [0, 6], [0, 4], [1, 82], [1, 83], [0, 20], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [1, 2], [1, 3], [1, 2], [1, 46], [1, 47], [1, 46], [1, 47], [0, 10], [0, 5], [0, 5], [0, 5], [0, 14], [0, 13], [0, 5], [0, 5], [0, 5], [0, 9], [0, 20], [1, 95], [1, 96], [1, 97], [0, 6], [0, 4], [0, 20], [1, 121], [1, 122], [1, 123], [0, 6], [0, 4], [1, 84], [1, 85], [0, 20], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 2], [1, 3], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [1, 40], [1, 41], [0, 6], [0, 4], [1, 32], [1, 33], [1, 34], [1, 35], [0, 20], [1, 86], [1, 87], [1, 88], [0, 6], [0, 4], [1, 104], [1, 105], [1, 104], [1, 105], [0, 6], [0, 4], [1, 56], [1, 57], [1, 10], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [1, 3], [0, 1], [1, 3], [1, 6], [1, 64], [1, 65], [1, 64], [1, 65], [1, 42], [1, 43], [0, 6], [0, 4], [1, 36], [1, 37], [1, 38], [1, 39], [0, 20], [1, 89], [1, 90], [1, 91], [0, 6], [0, 4], [1, 106], [1, 107], [1, 106], [1, 107], [0, 6], [0, 4], [1, 58], [1, 59], [0, 20], [1, 29], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [1, 3], [0, 1], [1, 4], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [0, 20], [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, 12], [0, 16], [0, 17], [0, 8], [1, 29], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [0, 1], [1, 2], [1, 5], [1, 14], [1, 14], [1, 13], [1, 13], [1, 15], [1, 15], [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, 9], [1, 29], [1, 29], [0, 1], [0, 1], [0, 1], [0, 1]], [[0, 1], [0, 1], [0, 1], [0, 1], [1, 3], [1, 3], [1, 3], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 29], [1, 22], [1, 22], [1, 20], [1, 23], [1, 23], [1, 29], [1, 29], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [1, 82], [1, 83], [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], [1, 29], [1, 29], [1, 29], [1, 29], [1, 22], [1, 22], [1, 20], [1, 23], [1, 23], [1, 29], [1, 29], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [1, 84], [1, 85], [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], [1, 29], [1, 29], [1, 29], [1, 22], [1, 22], [1, 20], [1, 23], [1, 23], [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]]];
address3 = [[6, 4, "Portrush Industrial Area"], [8, 4, "Doughle Lumbermill"], [12, 4, "Diamond Residense"], [17, 6, "Candlelight FO"], [17, 8, "Costa Cafe"], [22, 5, "North Portrush"], [30, 7, "North PortRush Hospital"], [34, 6, "Book Store Center"], [5, 7, "Heavy Machine Service"], [8, 11, "Emerald Tower 1"], [11, 11, "Emerald Tower 2"], [15, 10, "Copper Hill Office"], [21, 7, "Nine Pages Stationary"], [24, 9, "PortRush Bus Station"], [28, 10, "DarkWater Apartment"], [28, 12, "Red Tulip Florish"], [33, 10, "Petrol Minimart"], [35, 10, "PortRush Highschool"], [3, 15, "Poulsen Shopping Plaza"], [8, 12, "Golden Stone Shop"], [10, 12, "Cloverage Foodcourt"], [12, 12, "Tea House"], [15, 15, "7Day News"], [18, 15, "Golden Royale Hotel"], [10, 15, "Miniwall Mart"], [11, 16, "Cinemax 21"], [24, 12, "Coal Rush Apartment"], [3, 17, "Strongbow Clothing Store"], [10, 17, "Eidelweis Florish"], [12, 17, "Onix Pottery"], [15, 18, "Croc Tower"], [27, 14, "Epsilon Print Center"], [29, 14, "Green Chilly Restaurant"], [31, 14, "FalseRig Grocery"], [34, 15, "Banana Rush Icecream"], [35, 17, "Benson Company"], [5, 19, "Art Library"], [8, 19, "Food Court Central"], [9, 19, "Deep Blue Seafood"], [5, 21, "Polca Apartment"], [6, 21, "Dodo Ice Cream"], [10, 21, "Sweat & Chill"], [12, 21, "Castle Plaza"], [15, 21, "Kings Mall 1"], [21, 21, "Wandah Tower"], [24, 16, "Crusty Crap Hotel"], [27, 18, "Commonwell Office"], [31, 18, "AEG Insurance"], [35, 18, "Cocoflesh Factory"], [31, 21, "Silver Rush Residence"], [28, 20, "Pink Cafe"], [28, 22, "Burger City"], [25, 21, "ABC Tower"], [4, 23, "Dundee's Farm"], [6, 22, "W'c Burger"], [9, 24, "Windflow House"], [11, 24, "Flower Dale Residence"], [14, 24, "Green Onion Mansion"], [21, 23, "Chinatown Store"], [23, 22, "Grocery Center"], [30, 22, "Salt water fish store"], [33, 23, "Portrush Water Treatment"], [33, 25, "Port Rush Power Station"], [33, 29, "Eastern Apartment"], [33, 31, "Modern Style Hotel"], [7, 29, "Portrush University"], [14, 28, "Antelope Park Residence"], [20, 26, "Emerald Plaza 1"], [23, 26, "Emerald Plaza 2"], [26, 26, "Emerald Plaza 3"], [30, 26, "Flubby Mall"], [19, 29, "Indotourism Mall"], [19, 31, "King Mall 2"], [25, 31, "Three brothers Tower"], [33, 33, "Greenville cafe"], [8, 34, "Smart Mart"], [10, 34, "Portrush Hyperstore"], [9, 34, "PortStore Center"], [12, 34, "Cleric Hospital"], [16, 34, "South Rush Bus Station"], [21, 34, "Portrush Computer Plaza"], [27, 34, "Fun Zone Game Centre"], [17, 35, "Green Globe Ville"], [23, 35, "Magic Wand Group Office"], [27, 35, "South Commercial Area"], [31, 35, "Save&Guard Insurace"], [33, 35, "Hilldale Hotel"]];
pos_start3 = [16, 34];
map4 = [[[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]]];
address4 = [[8, 6, "WPoint 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, "WPoint 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, "Game Ninja Tower"], [9, 10, "Kidz Game Centre"], [7, 12, "Baby&Mom Store"], [6, 8, "WPoint 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 WPoint 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, "WPoint Goverment Office"], [26, 14, "Wishme Plaza"], [29, 14, "All Day Discount Store"], [28, 18, "Yummy Foodstore"], [28, 21, "WPoint 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, "Wandern 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, 24, "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, "Wandernburj"], [36, 30, "Portdale Tall Office"], [39, 31, "WP Office Area"], [36, 32, "Nine Pages Bookstore"], [36, 33, "Goodread Library"], [34, 34, "Wandern Elementary"], [30, 34, "Wandern 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 Wandern Office"], [23, 39, "Crystal Hotel"], [13, 40, "South Industrial Area"], [7, 39, "Tadika Industry"]];
pos_start4 = [26, 26];
map5 = [[[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]]];
address5 = [[8, 6, "Bellfast Water Treatment"], [12, 6, "North Cocofarm"], [17, 5, "Golden Palm Regency"], [21, 6, "Bellfast 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, "Bellfast 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, "Bellfast 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, "Gameninja 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, "Bellfast 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 Bellfast 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, "Bellfast 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, "Bellfast 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, "Bellfast Car Showroom"], [37, 30, "Bellfast 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, "Bellfast 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, "Bellfast 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, "Bellfast South Commercial"], [8, 45, "Mallang House Area"], [12, 45, "Smarang Housing"], [16, 45, "Bandung Regency"], [29, 45, "Pertharbour Hotel"], [41, 45, "South Bellfast Hotel"]];
pos_start5 = [37, 26];
original = true;
Instance of Symbol 167 MovieClip in Frame 12
onClipEvent (load) {
_alpha = 0;
w = 0;
}
onClipEvent (enterFrame) {
w++;
if (w == 2) {
_alpha = 100;
}
}
on (release) {
getURL ("http://www.wandah.com", "_blank");
}
Frame 13
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;
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");
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 152 MovieClip in Frame 13
on (release) {
getURL ("http://www.wandah.com", "_blank");
}
Instance of Symbol 797 MovieClip in Frame 13
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 296 MovieClip in Frame 13
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2tittlescreen", "_self");
}
Instance of Symbol 296 MovieClip in Frame 14
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2newgame", "_self");
}
Frame 15
player_name = "";
player_score = "";
Frame 16
pilih_load = 1;
Instance of Symbol 296 MovieClip in Frame 16
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2loadgame", "_self");
}
Instance of Symbol 296 MovieClip in Frame 18
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2instructionscreen", "_self");
}
Frame 19
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;
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 845 MovieClip in Frame 19
onClipEvent (load) {
gotoAndStop(_root.game_type);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.game_type);
}
Frame 20
stop();
game_type = 2;
day = 1;
uang = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 0;
jenismesin = 1;
jenisroda = 1;
jenisbody = 1;
jenissuspensi = 1;
konsumsibahanbakar = 0.03;
bensin = 100;
energi = 100;
carenergi = 100;
max_energi = 100;
ehari = 1;
cartype = 1;
settujuan = true;
tujuan = 0;
tilelama = "";
jenistile = "";
bayaran = 0;
current_earning = 0;
target_earning = 0;
campaign_level = 0;
campaign_day = 0;
campaign_time = 0;
gotoAndStop ("free_game");
Frame 21
stop();
Frame 22
stop();
game_type = 1;
day = 1;
uang = 0;
aksesmenu = 0;
rotasilama = 0;
barumain = 0;
jenismesin = 1;
jenisroda = 1;
jenisbody = 1;
jenissuspensi = 1;
konsumsibahanbakar = 0.03;
bensin = 100;
energi = 100;
carenergi = 100;
max_energi = 100;
ehari = 1;
cartype = 1;
settujuan = true;
tujuan = 0;
tilelama = "";
jenistile = "";
bayaran = 0;
current_earning = 0;
target_earning = 0;
campaign_level = 1;
campaign_day = 1;
campaign_time = mission_time[campaign_level];
trace("campaign");
gotoAndStop ("campaign");
Frame 24
temp_map = 1;
myMap1 = [];
alamat1 = [];
Instance of Symbol 904 MovieClip in Frame 24
onClipEvent (load) {
id = 1;
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.map_unlock >= id) {
_root.map_selected = id;
} else {
_root.temp_map = id;
_root.unlock_mc.play();
}
}
}
Instance of Symbol 908 MovieClip in Frame 24
onClipEvent (load) {
id = 2;
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.map_unlock >= id) {
_root.map_selected = id;
} else {
_root.temp_map = id;
_root.unlock_mc.play();
}
}
}
Instance of Symbol 912 MovieClip in Frame 24
onClipEvent (load) {
id = 3;
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.map_unlock >= id) {
_root.map_selected = id;
} else {
_root.temp_map = id;
_root.unlock_mc.play();
}
}
}
Instance of Symbol 916 MovieClip in Frame 24
onClipEvent (load) {
id = 4;
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.map_unlock >= id) {
_root.map_selected = id;
} else {
_root.temp_map = id;
_root.unlock_mc.play();
}
}
}
Instance of Symbol 920 MovieClip in Frame 24
onClipEvent (load) {
id = 5;
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map_unlock >= id) {
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.map_unlock >= id) {
_root.map_selected = id;
} else {
_root.temp_map = id;
_root.unlock_mc.play();
}
}
}
Instance of Symbol 935 MovieClip "unlock_mc" in Frame 24
onClipEvent (load) {
this.city_name.text = _root.area_name[_root.map_selected];
}
onClipEvent (enterFrame) {
this.city_name.text = _root.area_name[_root.map_selected];
}
Instance of Symbol 296 MovieClip in Frame 24
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2freegame", "_self");
}
Frame 25
campaign_map_selected = campaign_map[campaign_level];
map_selected = campaign_map_selected;
trace("campaign_map_selected = " + map_selected);
saved = 0;
Instance of Symbol 897 MovieClip in Frame 25
onClipEvent (load) {
this.uang_txt.text = "$ " + _root.uang;
}
onClipEvent (enterFrame) {
this.uang_txt.text = "$ " + _root.uang;
}
Instance of Symbol 904 MovieClip in Frame 25
onClipEvent (load) {
id = 1;
if (_root.campaign_map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 908 MovieClip in Frame 25
onClipEvent (load) {
id = 2;
if (_root.campaign_map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 912 MovieClip in Frame 25
onClipEvent (load) {
id = 3;
if (_root.campaign_map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 916 MovieClip in Frame 25
onClipEvent (load) {
id = 4;
if (_root.campaign_map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 920 MovieClip in Frame 25
onClipEvent (load) {
id = 5;
if (_root.campaign_map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 982 MovieClip "play_prop" in Frame 25
onClipEvent (load) {
if (_root.alasan == 0) {
this.city_name.text = _root.area_name[_root.campaign_map_selected];
this.day_txt.text = _root.campaign_day;
this.goal_txt.text = "$ " + _root.goal_earning[_root.campaign_level];
this.c_e_txt.text = "$ " + _root.current_earning;
this.lvl_txt.text = _root.campaign_level;
_root.target_earning = _root.goal_earning[_root.campaign_level];
if (_root.map_selected > _root.map_unlock) {
_root.map_unlock = _root.map_selected;
this.gotoAndStop(3);
}
} else {
if (_root.alasan == 1) {
_root.alasan = 0;
this.gotoAndStop(5);
}
if (_root.alasan == 2) {
_root.alasan = 0;
this.gotoAndStop(6);
}
}
if (_root.campaign_level >= 41) {
this.gotoAndStop(90);
}
}
onClipEvent (enterFrame) {
this.city_name.text = _root.area_name[_root.campaign_map_selected];
this.day_txt.text = _root.campaign_day;
this.goal_txt.text = "$ " + _root.goal_earning[_root.campaign_level];
this.c_e_txt.text = "$ " + _root.current_earning;
this.lvl_txt.text = _root.campaign_level;
_root.target_earning = _root.goal_earning[_root.campaign_level];
}
Instance of Symbol 987 MovieClip in Frame 25
on (release) {
if ((_root.saved == 0) and (_root.play_prop._currentframe == 1)) {
_root.play_prop.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
gotoAndStop(_root.saved + 1);
}
Instance of Symbol 989 MovieClip in Frame 25
onClipEvent (load) {
if (_root.energi < _root.max_energi) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
if (this._visible and (_root.play_prop._currentframe == 1)) {
this._visible = false;
_root.play_prop.gotoAndStop(7);
}
}
Frame 27
stop();
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;
}
Instance of Symbol 904 MovieClip in Frame 27
onClipEvent (load) {
id = 1;
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 908 MovieClip in Frame 27
onClipEvent (load) {
id = 2;
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 912 MovieClip in Frame 27
onClipEvent (load) {
id = 3;
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 916 MovieClip in Frame 27
onClipEvent (load) {
id = 4;
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 920 MovieClip in Frame 27
onClipEvent (load) {
id = 5;
if (_root.map_selected == id) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(2);
}
}
Frame 29
stop();
Frame 30
var o = {n:[14, 7, 12, 13, 13, 15, 1, 10, 5, 5, 13, 2, 6, 4, 11, 13], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, preloaderDisplay:false, onClose:function () {
trace("CLOSED");
gotoAndStop ("cover");
}});
Frame 31
var o = {n:[1, 13, 7, 3, 4, 12, 5, 2, 1, 6, 5, 7, 7, 7, 1, 7], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, preloaderDisplay:false, onClose:function () {
trace("CLOSED");
gotoAndStop ("cover");
}});
Frame 32
stop();
stopAllSounds();
if (sound_aktif == 1) {
bgsound.start(0.02, 1000);
}
clear_screen();
gotoAndStop ("cover");
Frame 33
stop();
stopAllSounds();
clear_screen();
Frame 34
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 296 MovieClip in Frame 34
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2submitscorescreen", "_self");
}
Frame 35
stop();
stopAllSounds();
clear_screen();
if (sound_aktif == 1) {
sound_gameover.start(1, 1000);
}
if (_root.penumpang > 0) {
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
}
gotoAndStop ("campaign");
Frame 36
var o = {n:[14, 7, 12, 13, 13, 15, 1, 10, 5, 5, 13, 2, 6, 4, 11, 13], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:player_score, name:player_name, preloaderDisplay:false, onClose:function () {
trace("CLOSED");
gotoAndStop ("cover");
}});
Frame 37
var o = {n:[1, 13, 7, 3, 4, 12, 5, 2, 1, 6, 5, 7, 7, 7, 1, 7], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:player_score, name:player_name, preloaderDisplay:false, onClose:function () {
trace("CLOSED");
gotoAndStop ("cover");
}});
Frame 40
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;
}
}
return(true);
}
function gerak() {
if ((domain != "gameninja.com") or (domain == undefined)) {
if ((random(1000) == 345) and (!link_opened)) {
link_opened = true;
open_link();
}
}
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, _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");
}
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));
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 move_public_car(ob, id) {
if ((((ob._x > 700) or (ob._x < -100)) or (ob._y > 550)) or (ob._y < -100)) {
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)) {
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 (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;
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");
stopAllSounds();
play_sound("start_sound");
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;
penumpang = 0;
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;
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:0};
lebar = map[0].length;
tinggi = map.length;
buildMap(_root["myMap" + game.currentMap]);
if (barumain == 0) {
barumain = 1;
attachMovie("help", "help", 1000);
}
aktif = 1;
stop();
fscommand ("allowscale", "false");
pilihan_musik = random(3) + 1;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 40
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 151 MovieClip [empty] in Frame 40
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 151 MovieClip [empty] in Frame 40
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 1016 MovieClip "awan" in Frame 40
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 1294 MovieClip "mobil" in Frame 40
onClipEvent (load) {
this.swapDepths(13);
_x = 300;
_y = 210;
w = 0;
sr = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.penumpang + 1);
}
Instance of Symbol 1611 MovieClip "public_car" in Frame 40
onClipEvent (load) {
this.swapDepths(15);
}
Instance of Symbol 2275 MovieClip "public_human" in Frame 40
onClipEvent (load) {
this.swapDepths(14);
}
Symbol 2276 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.02 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
trace("mochi installed");
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 2277 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.02 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 2278 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
trace("WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!");
trace("make sure MochiServices.connect is called as early in the application runtime as possible.");
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 2279 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 119 Button
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2preroll", "_self");
}
Symbol 124 MovieClip Frame 279
_root.gotoAndStop("my_logo");
Symbol 134 Button
on (release) {
_root.getURL("http://gameninja.com/?ref=simtaxi2lockedscreen", "_self");
}
Instance of Symbol 151 MovieClip [empty] in Symbol 152 MovieClip Frame 1
onClipEvent (load) {
_root.code = "ST2bWW4NG";
}
Instance of Symbol 152 MovieClip in Symbol 158 MovieClip Frame 1
on (release) {
getURL ("http://www.wandah.com", "_blank");
}
Symbol 158 MovieClip Frame 109
_parent.original = true;
_parent.play();
Symbol 167 MovieClip Frame 1
_root.prtd = "ST2bWW4NG";
_root.open_link = function () {
getURL ("http://wandah.com", "_blank");
};
Instance of Symbol 163 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
getURL ("http://wandah.com", "_blank");
}
Symbol 169 MovieClip [char] Frame 1
gotoAndStop(_root.cartype + 1);
Symbol 172 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 175 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
onClipEvent (enterFrame) {
_xscale = ((_root.energi / _root.max_energi) * 100);
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 1
stop();
Instance of Symbol 264 MovieClip "radio" in Symbol 265 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pilihan_musik + 1);
}
Symbol 270 Button
on (release) {
if (_root.aktif == 1) {
_root.aktif = 0;
gotoAndStop (2);
}
}
Symbol 277 Button
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2moregames", "_self");
}
Symbol 280 Button
on (release) {
trace("save game");
gotoAndStop (4);
}
Symbol 283 Button
on (release) {
_root.aktif = 1;
_parent.gotoAndStop(1);
}
Symbol 286 Button
on (release) {
gotoAndStop (2);
}
Symbol 289 Button
on (release) {
gotoAndStop (3);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 303 Button
on (release) {
gotoAndStop (1);
}
Symbol 310 Button
on (release) {
_root.gotoAndStop("hapus");
}
Symbol 313 Button
on (release) {
gotoAndStop (1);
}
Symbol 316 Button
on (release) {
save_slot = 4;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 317 Button
on (release) {
save_slot = 1;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 318 Button
on (release) {
save_slot = 2;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 319 Button
on (release) {
save_slot = 3;
gotoAndStop (2);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 320 Button
on (release) {
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 329 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 330 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 337 Button
on (release) {
_root.saved = 1;
_parent.gotoAndStop(1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 341 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
save_slot = 1;
stop();
Symbol 341 MovieClip Frame 2
Selection.setFocus("np");
np.text = _root["saved_" + save_slot];
if ((np.text == undefined) or (np.text == "< empty >")) {
np.text = "";
}
Symbol 342 MovieClip Frame 1
stop();
Instance of Symbol 296 MovieClip in Symbol 342 MovieClip Frame 1
on (release) {
getURL ("http://gameninja.com/?ref=simtaxi2game-paused", "_self");
}
Instance of Symbol 300 MovieClip in Symbol 342 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 343 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 1
stop();
Instance of Symbol 183 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_rotation = (100 - _root.bensin);
}
onClipEvent (enterFrame) {
_rotation = (100 - _root.bensin);
}
Instance of Symbol 187 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (enterFrame) {
if (_root.bensin < 25) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 238 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
rot = 0;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
dx = _root.jalan1[_root.tujuan][0] - _root.char.xtile;
dy = _root.jalan1[_root.tujuan][1] - _root.char.ytile;
radians = Math.atan(dy / dx);
if (dx >= 0) {
rot = (radians * 180) / Math.PI;
} else {
rot = ((radians * 180) / Math.PI) + 180;
}
if (rot < 0) {
rot = rot + 360;
}
this.gotoAndStop(Math.floor(rot / 15) + 1);
} else {
_visible = false;
}
}
Instance of Symbol 240 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 247 MovieClip "bayarane" in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.penumpang > 0) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 265 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
gotoAndStop(_root.sound_aktif + 1);
}
onClipEvent (enterFrame) {
gotoAndStop(_root.sound_aktif + 1);
}
Instance of Symbol 343 MovieClip in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (enterFrame) {
if ((_root.aktif and Key.isDown(80)) and (this._currentframe == 1)) {
_root.aktif = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 369 MovieClip "campaign_prop" in Symbol 370 MovieClip [mask_frame] Frame 1
onClipEvent (load) {
if (_root.game_type == 1) {
this._visible = true;
this.earning_txt.text = "$ " + _root.current_earning;
this.goal_txt.text = "$ " + _root.target_earning;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this._visible) {
this.earning_txt.text = "$ " + _root.current_earning;
this.goal_txt.text = "$ " + _root.target_earning;
}
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 394 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 387 MovieClip in Symbol 394 MovieClip [kemana] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 394 MovieClip [kemana] Frame 86
if (random(5) > 3) {
say = "ok! get in";
} else {
say = "ok! lets go";
}
Symbol 394 MovieClip [kemana] Frame 106
_root.play_sound("suarabukapintu");
Symbol 394 MovieClip [kemana] Frame 123
_root.aktif = 1;
_root.settujuan = false;
_root.play_sound("suaratutuppintu");
removeMovieClip(this);
Symbol 404 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 387 MovieClip in Symbol 404 MovieClip [terimakasih] Frame 1
onClipEvent (load) {
gotoAndStop(_root.penumpang);
}
Symbol 404 MovieClip [terimakasih] Frame 30
_root.play_sound("suaratutuppintu");
Symbol 404 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 417 MovieClip Frame 40
gotoAndPlay (1);
Symbol 457 MovieClip [jalan] Frame 1
stop();
Instance of Symbol 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 414 MovieClip in Symbol 457 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 420 MovieClip in Symbol 457 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 423 MovieClip in Symbol 457 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 432 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 454 MovieClip in Symbol 457 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 417 MovieClip "tujuan" in Symbol 457 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});
_root.myMap1[_root.jalan1[_root.tujuan][1]][_root.jalan1[_root.tujuan][0]][1] = _root.tilelama;
_parent.gotoAndStop(_parent._currentframe - 40);
}
}
Instance of Symbol 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 408 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 437 MovieClip in Symbol 457 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 410 MovieClip in Symbol 457 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 464 Button
on (release) {
play();
}
Symbol 465 MovieClip [pecat] Frame 1
stop();
_root.aktif = 0;
Symbol 465 MovieClip [pecat] Frame 3
_root.pengalamanburuk[_root.cartype] = _root.pengalamanburuk[_root.cartype] + 10;
_root.cartype = 0;
_root.char.speed = 0;
_root.kecepatan = _root.keccar[0];
_root.mobil.gotoAndStop(1);
_root.aktif = 1;
_root.misi = 0;
_root.settujuan = 0;
removeMovieClip(this);
Symbol 724 MovieClip Frame 1
stop();
Symbol 725 MovieClip [tile] Frame 1
stop();
Instance of Symbol 457 MovieClip [jalan] "gambar" in Symbol 725 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 724 MovieClip "gambar" in Symbol 725 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 734 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 743 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 2;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 746 Button
on (release) {
if (_root.game_type == 1) {
_root.alasan = 1;
_root.attachMovie("objective_failed_2", "rusak", 1201);
} else {
_root.gotoAndStop("game_over");
}
}
Symbol 747 MovieClip [bensinhabis] Frame 1
_root.aktif = 0;
stop();
Symbol 750 Button
on (release) {
_parent.play();
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 756 MovieClip [objective_done] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 756 MovieClip [objective_done] Frame 22
stop();
Symbol 756 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 759 MovieClip [objective_failed] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 759 MovieClip [objective_failed] Frame 22
stop();
Symbol 759 MovieClip [objective_failed] Frame 40
_root.day++;
_root.current_earning = 0;
_root.target_earning = _root.goal_earning[_root.campaign_level];
_root.campaign_day++;
_root.campaign_time = _root.mission_time[_root.campaign_level];
_root.gotoAndStop("back_to_map");
removeMovieClip(this);
Symbol 775 MovieClip [help] Frame 145
removeMovieClip(this);
Symbol 779 MovieClip [objective_failed_2] Frame 2
stopAllSounds();
_root.play_sound("sound_end_level");
Symbol 779 MovieClip [objective_failed_2] Frame 22
stop();
Symbol 779 MovieClip [objective_failed_2] Frame 40
_root.day++;
_root.current_earning = 0;
_root.target_earning = _root.goal_earning[_root.campaign_level];
_root.campaign_day++;
_root.campaign_time = _root.mission_time[_root.campaign_level];
_root.gotoAndStop("back_to_map");
removeMovieClip(this);
Symbol 780 MovieClip Frame 1
stop();
Symbol 785 Button
on (release) {
_root.gotoAndStop("new_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 788 Button
on (release) {
_root.gotoAndStop("load_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 791 Button
on (release) {
getURL ("http://www.gameninja.com/high-scores/simtaxi2.html", "_blank");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 794 Button
on (release) {
_root.gotoAndStop("instructions");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 795 Button
on (release) {
_root.getURL("http://gameninja.com/?ref=simtaxi2tittlescreen", "_self");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 797 MovieClip Frame 1
stop();
Symbol 798 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 801 Button
on (release) {
_root.day = 1;
_root.gotoAndStop("story_campaign");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 804 Button
on (release) {
_root.gotoAndStop("setting_free_game");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 805 Button
on (release) {
_root.gotoAndStop("cover");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 811 Button
on (release) {
if (np.text != "") {
submit_score(np.text);
gotoAndStop (2);
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 819 MovieClip Frame 1
function submit_score(p_name) {
mydata = new LoadVars();
mydata.username = p_name;
mydata.score = _root.uang;
mydata.toString();
trace((("try to submit : " + mydata.username) + " ") + mydata.score);
mydata.send("http://www.gameninja.com/getscores/simtaxi2.php", "_blank", "POST");
}
Selection.setFocus("np");
stop();
mydata.onLoad = function (success) {
if (success) {
trace("succes");
getURL ("http://www.gameninja.com/high-scores/simtaxi2.html", "blank");
gotoAndStop (2);
} else {
trace("error");
gotoAndStop (3);
}
};
Symbol 820 Button
on (release) {
if (slot_4.text != "< empty >") {
_root.pilih_load = 4;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 821 Button
on (release) {
if (slot_1.text != "< empty >") {
_root.pilih_load = 1;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 822 Button
on (release) {
if (slot_2.text != "< empty >") {
_root.pilih_load = 2;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 823 Button
on (release) {
if (slot_3.text != "< empty >") {
_root.pilih_load = 3;
_root.gotoAndStop("confirm_load");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 829 MovieClip Frame 1
i = 1;
while (i < 5) {
this["slot_" + i].text = _root["saved_" + i];
i++;
}
Symbol 835 Button
on (release) {
if (_root.game_type == 1) {
_root.gotoAndStop("campaign");
} else {
_root.gotoAndStop("free_game");
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 845 MovieClip Frame 1
stop();
Symbol 853 Button
on (release) {
nextFrame();
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 856 Button
on (release) {
_root.gotoAndStop("setting_campaign");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 860 Button
on (release) {
nextFrame();
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 867 MovieClip Frame 9
stop();
Symbol 876 MovieClip Frame 10
stop();
Symbol 884 MovieClip Frame 10
stop();
Symbol 890 MovieClip Frame 1
stop();
Symbol 890 MovieClip Frame 14
_root.gotoAndStop("setting_campaign");
Symbol 904 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 1
stop();
Symbol 920 MovieClip Frame 1
stop();
Symbol 922 Button
on (release) {
_root.gotoAndStop("setting_map");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 927 Button
on (release) {
if (u_code.text == _root.unlock_code[_root.temp_map]) {
_root.map_selected = _root.temp_map;
trace("open =" + _root.temp_map);
if (_root.map_unlock < _root.map_selected) {
_root.map_unlock = _root.map_selected;
}
gotoAndStop (3);
} else {
gotoAndStop (4);
}
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 928 Button
on (release) {
gotoAndStop (1);
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
stop();
u_code.text = "";
Selection.setFocus("u_code");
Symbol 953 Button
on (release) {
nextFrame();
}
Symbol 955 Button
on (release) {
gotoAndStop (1);
}
Symbol 960 Button
on (release) {
_root.uang = _root.uang - 50;
if (_root.uang < 0) {
_root.uang = 0;
}
_root.bensin = 100;
gotoAndStop (1);
}
Symbol 964 Button
on (release) {
_root.uang = _root.uang - 100;
if (_root.uang < 0) {
_root.uang = 0;
}
_root.bensin = 100;
_root.energi = 100;
_root.carenergi = 100;
_root.max_energi = 100;
gotoAndStop (1);
}
Symbol 968 Button
on (release) {
gotoAndStop (1);
}
Symbol 971 Button
on (release) {
if (_root.uang >= 50) {
gotoAndStop (9);
} else {
gotoAndStop (8);
}
}
Symbol 974 Button
on (release) {
_root.uang = _root.uang - 50;
if (_root.sound_aktif == 1) {
play();
} else {
_root.energi = _root.max_energi;
gotoAndStop (1);
}
}
Symbol 981 Button
on (release) {
_root.gotoAndStop("submit_score");
}
Symbol 982 MovieClip Frame 1
stop();
Symbol 982 MovieClip Frame 4
c_name.text = _root.area_name[_root.map_selected];
c_code.text = _root.unlock_code[_root.map_selected];
Symbol 982 MovieClip Frame 89
_root.energi = _root.max_energi;
gotoAndStop (1);
Symbol 987 MovieClip Frame 1
stop();
Symbol 993 Button
on (release) {
_root.gotoAndStop("main");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 997 MovieClip Frame 1
stop();
Instance of Symbol 997 MovieClip in Symbol 998 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.game_type);
}
Symbol 999 Button
on (release) {
_root.gotoAndStop("campaign_hs");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1000 Button
on (release) {
_root.gotoAndStop("free_hs");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1003 Button
on (release) {
_root.getURL("http://wandah.com", "_self");
}
Symbol 1008 Button
on (release) {
_root.gotoAndStop("enter_name");
}
on (rollOver) {
_root.play_sound("button_sound");
}
Symbol 1013 MovieClip Frame 1
stop();
money_txt.text = "$ " + _root.uang;
Symbol 1059 MovieClip Frame 1
stop();
Symbol 1098 MovieClip Frame 1
stop();
Symbol 1137 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1215 MovieClip Frame 1
stop();
Symbol 1254 MovieClip Frame 1
stop();
Symbol 1293 MovieClip Frame 1
stop();
Symbol 1294 MovieClip Frame 1
stop();
Symbol 1333 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1336 MovieClip Frame 21
gotoAndStop (1);
Symbol 1375 MovieClip Frame 1
stop();
Symbol 1414 MovieClip Frame 1
stop();
Symbol 1453 MovieClip Frame 1
stop();
Symbol 1492 MovieClip Frame 1
stop();
Symbol 1531 MovieClip Frame 1
stop();
Symbol 1570 MovieClip Frame 1
stop();
Symbol 1609 MovieClip Frame 1
stop();
Instance of Symbol 1610 MovieClip "mobil1" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 1);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 1);
}
Instance of Symbol 1610 MovieClip "mobil3" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 3);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 3);
}
Instance of Symbol 1610 MovieClip "mobil7" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 7);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 7);
}
Instance of Symbol 1610 MovieClip "mobil5" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 5);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 5);
}
Instance of Symbol 1610 MovieClip "mobil2" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 2);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 2);
}
Instance of Symbol 1610 MovieClip "mobil4" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 4);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 4);
}
Instance of Symbol 1610 MovieClip "mobil6" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 6);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 6);
}
Instance of Symbol 1610 MovieClip "mobil8" in Symbol 1611 MovieClip Frame 1
onClipEvent (load) {
_root.setup_public_car(this, 8);
}
onClipEvent (enterFrame) {
_root.move_public_car(this, 8);
}
Symbol 1707 MovieClip Frame 1
stop();
Symbol 1803 MovieClip Frame 1
stop();
Symbol 1897 MovieClip Frame 1
stop();
Symbol 1991 MovieClip Frame 1
stop();
Symbol 2085 MovieClip Frame 1
stop();
Symbol 2179 MovieClip Frame 1
stop();
Symbol 2273 MovieClip Frame 1
stop();
Instance of Symbol 2274 MovieClip "orang1" in Symbol 2275 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 1);
}
onClipEvent (enterFrame) {
_root.move_man(this, 1);
}
Instance of Symbol 2274 MovieClip "orang2" in Symbol 2275 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 2);
}
onClipEvent (enterFrame) {
_root.move_man(this, 2);
}
Instance of Symbol 2274 MovieClip "orang3" in Symbol 2275 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 3);
}
onClipEvent (enterFrame) {
_root.move_man(this, 3);
}
Instance of Symbol 2274 MovieClip "orang4" in Symbol 2275 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 4);
}
onClipEvent (enterFrame) {
_root.move_man(this, 4);
}
Instance of Symbol 2274 MovieClip "orang5" in Symbol 2275 MovieClip Frame 1
onClipEvent (load) {
_root.setup_man(this, 5);
}
onClipEvent (enterFrame) {
_root.move_man(this, 5);
}