Frame 5
function start_main_game() {
gotoAndPlay (14);
}
var loadAmount = _totalframes;
_root.testbbb = _framesloaded;
if (_framesloaded == loadAmount) {
gotoAndPlay (6);
} else {
if (_framesloaded >= 3000) {
_root.stream_mc._visible = true;
} else {
_root.stream_mc._visible = false;
}
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
bytesLoadedOutput = loaded;
bytesTotalOutput = total;
percentOutput = percent + "%";
loadBar._width = loadBarHousing._width * (percent / 100);
gotoAndPlay (4);
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 12
function dice_score(die1, die2, roll) {
_root.freeze_action = false;
dice = die1 + die2;
if (roll == 1) {
if (((die1 == 3) && (die2 == 4)) || ((die2 == 3) && (die1 == 4))) {
_root.dialogue_dice_34towin.gotoAndPlay(2);
_root.craps_win();
}
if (((die1 == 5) && (die2 == 2)) || ((die2 == 5) && (die1 == 2))) {
_root.dialogue_dice_52towin.gotoAndPlay(2);
_root.craps_win();
}
if (((die1 == 1) && (die2 == 6)) || ((die2 == 1) && (die1 == 6))) {
_root.dialogue_dice_61towin.gotoAndPlay(2);
_root.craps_win();
}
if (dice == 11) {
_root.dialogue_dice_65towin.gotoAndPlay(2);
_root.craps_win();
}
if (dice == 2) {
_root.dialogue_dice_snake_eyes.gotoAndPlay(2);
_root.craps_lose();
}
if (((die1 == 1) && (die2 == 2)) || ((die2 == 1) && (die1 == 2))) {
_root.dialogue_dice_crapped_out.gotoAndPlay(2);
_root.craps_lose();
}
if (dice == 12) {
_root.dialogue_dice_box_cars.gotoAndPlay(2);
_root.craps_lose();
}
if (((((dice != 2) && (dice != 3)) && (dice != 7)) && (dice != 11)) && (dice != 12)) {
_root.dialogue_dice_point.gotoAndPlay(2);
_root.point = dice;
}
}
if (roll == 2) {
if (dice == _root.point) {
if (dice == 5) {
_root.dialogue_dice_5.gotoAndPlay(2);
_root.craps_win();
}
if ((die1 == 2) && (die2 == 2)) {
_root.dialogue_dice_little_joe.gotoAndPlay(2);
_root.craps_win();
}
if ((dice != 5) && (dice != 4)) {
_root.dialogue_dice_pointget.gotoAndPlay(2);
_root.craps_win();
}
}
if (((die1 == 3) && (die2 == 4)) || ((die2 == 3) && (die1 == 4))) {
_root.dialogue_dice_34tolose.gotoAndPlay(2);
_root.craps_lose();
}
if (((die1 == 5) && (die2 == 2)) || ((die2 == 5) && (die1 == 2))) {
_root.dialogue_dice_52tolose.gotoAndPlay(2);
_root.craps_lose();
}
if (((die1 == 1) && (die2 == 6)) || ((die2 == 1) && (die1 == 6))) {
_root.dialogue_dice_7tolose.gotoAndPlay(2);
_root.craps_lose();
}
}
}
function craps_win() {
craps_game_outcome = "win";
_root.craps_game_started = false;
_root.point = "";
}
function craps_lose() {
bustparkingmeter_sound = new Sound();
bustparkingmeter_sound.attachSound("bustparkingmetersound");
bustparkingmeter_sound.start();
craps_game_outcome = "lose";
_root.craps_game_started = false;
_root.point = "";
}
function start_main_game() {
gotoAndPlay (14);
}
function check_if_loaded() {
var loadAmount = _totalframes;
_root.testaaa = _framesloaded;
_root.frames_loaded = _framesloaded;
}
craps_game_started = false;
point_established = false;
craps_game_outcome = "";
point = "";
_root.freeze_action = false;
play();
Frame 13
stop();
Instance of Symbol 286 MovieClip "game_loaded" in Frame 13
onClipEvent (enterFrame) {
if (_root.frames_loaded < 5000) {
this._visible = false;
} else {
this._visible = true;
}
}
Frame 14
play();
_root.captioning = true;
_root.testmode = false;
function key_check(number) {
if ((_root.key_check_pos == 1) && (number == 84)) {
_root.key_check_pos++;
}
if ((_root.key_check_pos == 2) && (number == 69)) {
_root.key_check_pos++;
}
if ((_root.key_check_pos == 3) && (number == 83)) {
_root.key_check_pos++;
}
if ((_root.key_check_pos == 4) && (number == 84)) {
_root.testmode = true;
_root.action_scene_complete = true;
_root.levelcomplete1 = true;
_root.shooter_complete = true;
}
if (4 < _root.key_check_pos) {
_root.key_check_pos = 0;
}
}
function cheat_check(number) {
if ((_root.cheat_check_pos == 1) && (number == 38)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 2) && (number == 38)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 3) && (number == 40)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 4) && (number == 40)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 5) && (number == 37)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 6) && (number == 39)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 7) && (number == 37)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 8) && (number == 39)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 9) && (number == 66)) {
_root.cheat_check_pos++;
}
if ((_root.cheat_check_pos == 10) && (number == 65)) {
_root.contra_cheat = true;
_root.action_scene_complete = true;
_root.levelcomplete1 = true;
_root.shooter_complete = true;
}
if (10 < _root.key_check_pos) {
_root.key_check_pos = 0;
}
}
_root.key_check_pos = 1;
_root.cheat_check_pos = 1;
_root.testmode = false;
Instance of Symbol 306 MovieClip in Frame 14
onClipEvent (enterFrame) {
if (_root.key_back_up != false) {
if (Key.isDown(69)) {
_root.key_check(69);
_root.key_back_up = false;
}
if (Key.isDown(83)) {
_root.key_check(83);
_root.key_back_up = false;
}
if (Key.isDown(84)) {
_root.key_check(84);
_root.key_back_up = false;
}
if (Key.isDown(38)) {
_root.cheat_check(38);
_root.key_back_up = false;
}
if (Key.isDown(40)) {
_root.cheat_check(40);
_root.key_back_up = false;
}
if (Key.isDown(37)) {
_root.cheat_check(37);
_root.key_back_up = false;
}
if (Key.isDown(39)) {
_root.cheat_check(39);
_root.key_back_up = false;
}
if (Key.isDown(66)) {
_root.cheat_check(66);
_root.key_back_up = false;
}
if (Key.isDown(65)) {
_root.cheat_check(65);
_root.key_back_up = false;
}
}
}
onClipEvent (keyUp) {
_root.key_back_up = true;
}
Frame 387
stop();
Frame 389
function reset_load_passcode() {
i = 0;
while (i < 24) {
_root.enter_passcode_array[i] = "-";
i++;
}
_root.refresh_passcode_display();
_root.passcode_count = 0;
}
function refresh_passcode_display() {
_root.passcode_text0 = _root.enter_passcode_array[0];
_root.passcode_text1 = _root.enter_passcode_array[1];
_root.passcode_text2 = _root.enter_passcode_array[2];
_root.passcode_text3 = _root.enter_passcode_array[3];
_root.passcode_text4 = _root.enter_passcode_array[4];
_root.passcode_text5 = _root.enter_passcode_array[5];
_root.passcode_text6 = _root.enter_passcode_array[6];
_root.passcode_text7 = _root.enter_passcode_array[7];
_root.passcode_text8 = _root.enter_passcode_array[8];
_root.passcode_text9 = _root.enter_passcode_array[9];
_root.passcode_text10 = _root.enter_passcode_array[10];
_root.passcode_text11 = _root.enter_passcode_array[11];
_root.passcode_text12 = _root.enter_passcode_array[12];
_root.passcode_text13 = _root.enter_passcode_array[13];
_root.passcode_text14 = _root.enter_passcode_array[14];
_root.passcode_text15 = _root.enter_passcode_array[15];
_root.passcode_text16 = _root.enter_passcode_array[16];
_root.passcode_text17 = _root.enter_passcode_array[17];
_root.passcode_text18 = _root.enter_passcode_array[18];
_root.passcode_text19 = _root.enter_passcode_array[19];
_root.passcode_text20 = _root.enter_passcode_array[20];
_root.passcode_text21 = _root.enter_passcode_array[21];
_root.passcode_text22 = _root.enter_passcode_array[22];
_root.passcode_text23 = _root.enter_passcode_array[23];
}
function enter_passcode(number_passed) {
_root.enter_passcode_array[_root.passcode_count] = number_passed;
_root.refresh_passcode_display();
_root.passcode_count++;
if (_root.passcode_count == 24) {
_root.load_passcode_array[0] = String(_root.enter_passcode_array[0]);
_root.load_passcode_array[1] = (((((((String(_root.enter_passcode_array[1]) + String(_root.enter_passcode_array[2])) + String(_root.enter_passcode_array[3])) + String(_root.enter_passcode_array[4])) + String(_root.enter_passcode_array[5])) + String(_root.enter_passcode_array[6])) + String(_root.enter_passcode_array[7])) + String(_root.enter_passcode_array[8])) + String(_root.enter_passcode_array[9]);
_root.load_passcode_array[2] = (((String(_root.enter_passcode_array[10]) + String(_root.enter_passcode_array[11])) + String(_root.enter_passcode_array[12])) + String(_root.enter_passcode_array[13])) + String(_root.enter_passcode_array[14]);
_root.load_passcode_array[3] = String(_root.enter_passcode_array[15]) + String(_root.enter_passcode_array[16]);
_root.load_passcode_array[4] = String(_root.enter_passcode_array[17]);
_root.load_passcode_array[5] = String(_root.enter_passcode_array[18]) + String(_root.enter_passcode_array[19]);
_root.load_passcode_array[6] = String(_root.enter_passcode_array[20]) + String(_root.enter_passcode_array[21]);
_root.load_passcode_array[7] = String(_root.enter_passcode_array[22]) + String(_root.enter_passcode_array[23]);
_root.load_passcode_all = (((((((((((((load_passcode_array[0] + "-") + load_passcode_array[1]) + "-") + load_passcode_array[2]) + "-") + load_passcode_array[3]) + "-") + load_passcode_array[4]) + "-") + load_passcode_array[5]) + "-") + load_passcode_array[6]) + "-") + load_passcode_array[7];
parity_bits = ((((Number(load_passcode_array[1]) * 2) + 27) + (100 * Number(load_passcode_array[2]))) + (2 * Number(load_passcode_array[3]))) + 37;
parity_bits = String(parity_bits);
parity_string = new String(parity_bits);
valid_parity_bits = parity_string.slice(0, 2);
if (_root.load_passcode_array[7] == valid_parity_bits) {
_root.valid = "VALID";
_root.load_game();
} else {
_root.valid = "INVALID CODE";
_root.reset_load_passcode();
}
}
}
function load_game() {
if (_root.load_passcode_array[0] == "1") {
_root.current_level = 1;
_root.action_scene_complete = true;
items_and_events = Number(_root.load_passcode_array[1]);
items_and_events_number = new Number(items_and_events);
binary = items_and_events_number.toString(2);
_root.binary_string = new String(binary);
if (_root.binary_string.length == 7) {
_root.binary_string = "0" + _root.binary_string;
}
if (_root.binary_string.length == 6) {
_root.binary_string = "00" + _root.binary_string;
}
if (_root.binary_string.length == 5) {
_root.binary_string = "000" + _root.binary_string;
}
if (_root.binary_string.length == 4) {
_root.binary_string = "0000" + _root.binary_string;
}
if (_root.binary_string.length == 3) {
_root.binary_string = "00000" + _root.binary_string;
}
if (_root.binary_string.length == 2) {
_root.binary_string = "000000" + _root.binary_string;
}
if (_root.binary_string.length == 1) {
_root.binary_string = "0000000" + _root.binary_string;
}
if (_root.binary_string.length == 0) {
_root.binary_string = "00000000";
}
_root.from_loaded_game = true;
_root.restore_graphic_call = true;
gotoAndPlay (1366);
}
if (_root.load_passcode_array[0] == "2") {
_root.current_level = 2;
_root.action_scene_complete = true;
_root.levelcomplete1 = true;
_root.shooter_complete = true;
items_and_events = Number(_root.load_passcode_array[1]);
items_and_events_number = new Number(items_and_events);
binary = items_and_events_number.toString(2);
_root.binary_string = new String(binary);
if (_root.binary_string.length == 27) {
_root.binary_string = "0" + _root.binary_string;
}
if (_root.binary_string.length == 26) {
_root.binary_string = "00" + _root.binary_string;
}
if (_root.binary_string.length == 25) {
_root.binary_string = "000" + _root.binary_string;
}
if (_root.binary_string.length == 24) {
_root.binary_string = "0000" + _root.binary_string;
}
if (_root.binary_string.length == 23) {
_root.binary_string = "00000" + _root.binary_string;
}
if (_root.binary_string.length == 22) {
_root.binary_string = "000000" + _root.binary_string;
}
if (_root.binary_string.length == 21) {
_root.binary_string = "0000000" + _root.binary_string;
}
if (_root.binary_string.length == 20) {
_root.binary_string = "00000000" + _root.binary_string;
}
if (_root.binary_string.length == 19) {
_root.binary_string = "000000000" + _root.binary_string;
}
if (_root.binary_string.length == 18) {
_root.binary_string = "0000000000" + _root.binary_string;
}
if (_root.binary_string.length == 17) {
_root.binary_string = "00000000000" + _root.binary_string;
}
if (_root.binary_string.length == 16) {
_root.binary_string = "000000000000";
}
if (_root.binary_string.length == 15) {
_root.binary_string = "0000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 14) {
_root.binary_string = "00000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 13) {
_root.binary_string = "000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 12) {
_root.binary_string = "0000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 11) {
_root.binary_string = "00000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 10) {
_root.binary_string = "000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 9) {
_root.binary_string = "0000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 8) {
_root.binary_string = "00000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 7) {
_root.binary_string = "000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 6) {
_root.binary_string = "0000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 5) {
_root.binary_string = "00000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 4) {
_root.binary_string = "000000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 3) {
_root.binary_string = "0000000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 2) {
_root.binary_string = "00000000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 1) {
_root.binary_string = "000000000000000000000000000" + _root.binary_string;
}
if (_root.binary_string.length == 0) {
_root.binary_string = "0000000000000000000000000000";
}
_root.from_loaded_game = true;
_root.restore_graphic_call = true;
gotoAndPlay (2842);
}
}
enter_passcode_array = new Array();
load_passcode_array = new Array();
_root.valid = "";
_root.reset_load_passcode();
stop();
Instance of Symbol 367 MovieClip in Frame 389
onClipEvent (enterFrame) {
if (_root.key_back_up != false) {
if (Key.isDown(48) || (Key.isDown(96))) {
_root.enter_passcode(0);
_root.key_back_up = false;
}
if (Key.isDown(49) || (Key.isDown(97))) {
_root.enter_passcode(1);
_root.key_back_up = false;
}
if (Key.isDown(50) || (Key.isDown(98))) {
_root.enter_passcode(2);
_root.key_back_up = false;
}
if (Key.isDown(51) || (Key.isDown(99))) {
_root.enter_passcode(3);
_root.key_back_up = false;
}
if (Key.isDown(52) || (Key.isDown(100))) {
_root.enter_passcode(4);
_root.key_back_up = false;
}
if (Key.isDown(53) || (Key.isDown(101))) {
_root.enter_passcode(5);
_root.key_back_up = false;
}
if (Key.isDown(54) || (Key.isDown(102))) {
_root.enter_passcode(6);
_root.key_back_up = false;
}
if (Key.isDown(55) || (Key.isDown(103))) {
_root.enter_passcode(7);
_root.key_back_up = false;
}
if (Key.isDown(56) || (Key.isDown(104))) {
_root.enter_passcode(8);
_root.key_back_up = false;
}
if (Key.isDown(57) || (Key.isDown(105))) {
_root.enter_passcode(9);
_root.key_back_up = false;
}
}
}
onClipEvent (keyUp) {
_root.key_back_up = true;
}
Frame 390
setProperty("head", _visible , false);
if (_root.action_scene_complete == true) {
_root.tonyhawk2.gotoAndStop(2);
}
if (_root.levelcomplete1 == true) {
_root.tonyhawk3.gotoAndStop(2);
}
if (_root.shooter_complete == true) {
_root.tonyhawk4.gotoAndStop(2);
}
_root.tonyhawk2.gotoAndStop(2);
if ((_root.contra_cheat == true) || (_root.testmode == true)) {
_root.tonyhawk2.gotoAndStop(2);
_root.tonyhawk3.gotoAndStop(2);
_root.tonyhawk4.gotoAndStop(2);
}
stop();
Frame 391
_root.freeze_action = false;
_root.current_background = "";
_root.current_level = "action";
Frame 513
move = 0;
s = new Sound();
s.attachSound("beep");
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 516
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 521
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 526
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 531
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 536
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 541
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 546
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 551
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 555
if (Key.getCode() == 37) {
move = 1;
}
if (move != 1) {
gotoAndPlay (1341);
}
Frame 735
move = 0;
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 736
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 737
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 738
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 739
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 740
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 741
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 742
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 743
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 744
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 745
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 746
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 747
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 748
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 749
if (move == 0) {
gotoAndPlay (1341);
}
Frame 784
move = 0;
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 785
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 786
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 787
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 788
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 789
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 790
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 791
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 792
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 793
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 794
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 795
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 796
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 797
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 798
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 799
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 800
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 801
if (move == 0) {
gotoAndPlay (1341);
}
Frame 835
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 836
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 837
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 838
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 839
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 840
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 841
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 842
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 843
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 844
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 845
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 846
if (move == 0) {
gotoAndPlay (1341);
}
Frame 861
move = 0;
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 862
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 863
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 864
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 865
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 866
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 867
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 868
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 869
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 870
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 871
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 872
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 873
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 874
if (move == 0) {
gotoAndPlay (1341);
}
Frame 885
move = 0;
if (Key.isDown(40)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 886
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 887
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 888
if (Key.isDown(40)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 889
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 890
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 891
if (Key.isDown(40)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 892
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 893
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 894
if (Key.isDown(40)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 895
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 896
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 897
if (Key.isDown(40)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 898
if (Key.isDown(40)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) {
move = 0;
}
Frame 899
if (move == 0) {
gotoAndPlay (1341);
}
Frame 911
move = 0;
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 912
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 913
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 914
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 915
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 916
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 917
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 918
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 919
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 920
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 921
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 922
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 923
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 924
if (move == 0) {
gotoAndPlay (1341);
}
Frame 968
move = 0;
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 969
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 970
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 971
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 972
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 973
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 974
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 975
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 976
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 977
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 978
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 979
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 980
if (Key.isDown(39)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 981
if (Key.isDown(39)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(40))) {
move = 0;
}
Frame 982
if (move == 0) {
gotoAndPlay (1341);
}
Frame 993
move = 0;
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 994
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 995
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 996
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 997
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 998
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 999
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1000
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1001
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1002
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1003
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1004
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1005
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1006
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1007
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1008
if (Key.isDown(37)) {
move = 1;
s.start();
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1009
if (Key.isDown(37)) {
move = 1;
}
if ((Key.isDown(38) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1010
if (move == 0) {
gotoAndPlay (1341);
}
Frame 1021
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1022
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1023
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1024
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1025
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1026
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1027
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1028
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1029
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1030
if (Key.isDown(38)) {
move = 1;
s.start();
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1031
if (Key.isDown(38)) {
move = 1;
}
if ((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(40))) {
move = 0;
}
Frame 1032
if (move == 0) {
gotoAndPlay (1341);
}
Frame 1292
_root.action_scene_complete = true;
Frame 1331
stop();
Frame 1341
_root.lives--;
_root.current_level = "dead";
Frame 1350
stopAllSounds();
Frame 1365
if (_root.lives < 0) {
gotoAndStop (390);
}
stop();
Frame 1366
function set_background(background) {
_root.current_background = background;
background1._x = 1000;
background1._y = 1000;
background2._x = 1000;
background2._y = 1000;
background3._x = 1000;
background3._y = 1000;
background4._x = 1000;
background4._y = 1000;
background5._x = 1000;
background5._y = 1000;
background6._x = 1000;
background6._y = 1000;
background7._x = 1000;
background7._y = 1000;
background8._x = 1000;
background8._y = 1000;
background9._x = 1000;
background9._y = 1000;
lamp_post2._y = 1000;
background._x = backgroundx;
background._y = backgroundy;
if (_root.current_background == background1) {
_root.background_number = "01";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 110;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 75;
_root.dizzy._visible = true;
dynamic_bus_stop._y = 158;
dynamic_bus_stop2._y = 1000;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background2) {
_root.background_number = "02";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 120;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 90;
pimp_scale_min = 65;
_root.dizzy._visible = true;
_root.nog_out = false;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background5.fly.gotoAndStop(1);
}
if (_root.current_background == background3) {
_root.background_number = "03";
pimpx_min = 40;
pimpx_max = 355;
pimpy_min = 150;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 105;
pimp_scale_min = 85;
_root.dizzy._visible = true;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background4) {
_root.background_number = "04";
pimpx_min = 40;
pimpx_max = 369;
pimpy_min = 138;
pimpy_max = 190;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 110;
pimp_scale_min = 85;
_root.dizzy._visible = true;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 0;
}
if (_root.current_background == background5) {
_root.background_number = "05";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 168;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 110;
pimp_scale_min = 100;
_root.dizzy._visible = true;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
_root.background5.fly.gotoAndPlay(2);
}
if (_root.current_background == background6) {
_root.background_number = "06";
pimpx_min = 120;
pimpx_max = 310;
pimpy_min = 72;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 60;
_root.dizzy._visible = true;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
}
if (_root.current_background == background7) {
_root.background_number = "07";
_root.pimp._visible = false;
_root.dizzy._visible = false;
_root.freeze_action = true;
dynamic_bus_stop._y = 1000;
dynamic_bus_stop2._y = 1000;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
_root.hidden_pimp_screen = true;
}
if (_root.current_background == background8) {
_root.background_number = "08";
_root.pimp._visible = false;
_root.dizzy._visible = false;
_root.freeze_action = true;
tellTarget (_root.background8) {
gotoAndPlay (2);
};
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
_root.hidden_pimp_screen = true;
}
if (_root.current_background == background9) {
_root.background_number = "09";
_root.pimp._visible = false;
_root.dizzy._visible = false;
_root.freeze_action = true;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
_root.hidden_pimp_screen = true;
}
}
function moving_right(current_screen) {
if (current_screen == background1) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background2) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background3;
_root.set_background(background3);
}
if (current_screen == background3) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background4;
_root.set_background(background4);
}
}
function moving_left(current_screen) {
if (current_screen == background2) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background1;
_root.set_background(background1);
}
if (current_screen == background3) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background4) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background3;
_root.set_background(background3);
}
}
function moving_up(current_screen) {
if (current_screen == background2) {
if (background2.invisible_mc.hittest(_root.pimp)) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background5;
_root.set_background(background5);
}
}
if (current_screen == background3) {
if (background3.invisible_mc.hittest(_root.pimp)) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background6;
_root.set_background(background6);
}
}
}
function moving_down(current_screen) {
if (current_screen == background5) {
pimpy = 20;
pimp._y = pimpy;
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background6) {
pimpx = 228;
pimp._x = pimpx;
pimpy = pimpy_min;
pimp._y = pimpy;
_root.current_background = background3;
_root.set_background(background3);
}
}
function restore_graphics() {
_root.test_restore_called = true;
_root.backgroundx = 223;
_root.backgroundy = 142;
background = _root.current_background;
_root.set_background(background);
if (_root.hidden_pimp_screen != true) {
setProperty("pimp", _visible , true);
}
if (_root.hidden_pimp_screen == true) {
setProperty("pimp", _visible , false);
_root.talking = false;
_root.freeze_action = true;
}
setProperty("head", _visible , true);
setProperty("lamp_post2", _visible , true);
setProperty("money_text2", _visible , true);
setProperty("dynamic_bus_stop2", _visible , true);
duplicateMovieClip ("head", "head", 10);
overlayx = _root.overlay._x;
overlayy = _root.overlay._y;
head._x = overlayx;
head._y = overlayy;
if (_root.drunk == true) {
setProperty("dizzy", _visible , true);
_root.dizzy.gotoAndPlay(2);
}
if (_root.itemsyringe == false) {
setProperty(_root.keysyringe, _visible , false);
}
if (_root.itemsyringe == true) {
setProperty(_root.background6.syringe, _visible , false);
setProperty(_root.keysyringe, _visible , true);
}
if (_root.itemmoney == false) {
setProperty(_root.keymoney, _visible , false);
}
if (_root.itemmoney == true) {
setProperty(_root.keymoney, _visible , true);
}
if (_root.itemjager == true) {
setProperty(_root.background9.bottle, _visible , false);
setProperty(_root.keyjager, _visible , true);
}
if (_root.itemjager == false) {
setProperty(_root.keyjager, _visible , false);
}
if ((_root.itemjager == false) && (_root.event_nog == true)) {
setProperty(_root.keyjager, _visible , false);
setProperty(_root.background9.bottle, _visible , false);
}
if ((_root.itemjager == false) && (_root.drunk == true)) {
setProperty(_root.background9.bottle, _visible , false);
}
if (_root.itemmatchbook == false) {
setProperty(_root.keymatchbook, _visible , false);
}
if (_root.itemmatchbook == true) {
setProperty(_root.background8.matchbook, _visible , false);
setProperty(_root.keymatchbook, _visible , true);
}
if (_root.testmode == false) {
_root.testvars._visible = false;
}
i = 1;
while (3 >= i) {
item = _root.item_array[i];
if (item == "keyjager") {
_root.keyjager._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keysyringe") {
_root.keysyringe._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keymatchbook") {
_root.keymatchbook._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
i++;
}
_root.freeze_action = false;
}
function dial(number) {
_root.wxy = number;
if ((_root.coin_deposited == true) && (_root.numner_position >= 0)) {
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndStop(1);
_root.touchtone_frame = "tone" + number;
_root.sc_touchtones.gotoAndPlay(_root.touchtone_frame);
_root.wxy = number;
_root.this_digit = Math.pow(10, number_position) * number;
_root.master_number = _root.master_number + _root.this_digit;
_root.number_position--;
if (_root.number_position < 0) {
_root.wxy = "call";
_root.number_position = 6;
_root.coin_deposited = false;
master_number = String(master_number);
if (master_number != phone_number) {
_root.sc_wrong_number.gotoAndPlay(2);
} else {
_root.background7.phone_conversation.gotoAndPlay(2);
_root.wxy = "dialed in";
_root.event_madethecall = true;
}
}
}
}
function use_item(number) {
_root.item_used = _root.item_array[number];
if (item_used == "keyjager") {
if (_root.itemjager == true) {
if ((background5.dumpster.hittest(_root.pimp) && (_root.nog_out == true)) && (_root.freeze_action == false)) {
_root.drunk_sound.stop();
_root.nog_out = false;
_root.event_nog = true;
gotoAndPlay (1469);
setProperty(_root.keyjager, _visible , false);
_root.itemjager = false;
setProperty(_root.keymoney, _visible , true);
_root.itemmoney = true;
cash = cash + 1;
_root.item_array[number] = "empty";
} else if (_root.freeze_action == false) {
_root.pimp.gotoAndPlay("pimp_drink");
}
}
}
if (item_used == "keymatchbook") {
if (_root.itemmatchbook == true) {
if (_root.freeze_action == false) {
_root.freeze_action = true;
duplicateMovieClip ("_root.matchbook_number", "newmatchbook_number", 7);
setProperty(_root.newmatchbook_number, _y , 170);
setProperty(_root.newmatchbook_number, _x , 210);
tellTarget (_root.newmatchbook_number) {
gotoAndPlay (2);
};
}
}
if (_root.itemmatchbook == true) {
if ((_root.current_background == background7) && (_root.matchbook_in_use != true)) {
_root.matchbook_in_use = true;
duplicateMovieClip ("_root.matchbook_number", "newmatchbook_number", 7);
setProperty(_root.newmatchbook_number, _y , 170);
setProperty(_root.newmatchbook_number, _x , 240);
tellTarget (_root.newmatchbook_number) {
gotoAndPlay (2);
};
}
}
if ((_root.itemmatchbook == true) && (_root.newmatchbook_number._currentframe == 15)) {
_root.newmatchbook_number.nextFrame();
_root.matchbook_in_use = false;
}
}
}
function place_item(item) {
_root.overlay.gotoAndPlay(2);
if (_root.item_array[1] == "empty") {
_root.item_array[1] = item;
return(item_offset);
}
if (_root.item_array[2] == "empty") {
_root.item_array[2] = item;
return(item_offset + (1 * item_spacing));
}
if (_root.item_array[3] == "empty") {
_root.item_array[3] = item;
return(item_offset + (2 * item_spacing));
}
}
function refresh(walkmode, ymovement) {
_root.ccc++;
_root.test_walkmode = walkmode;
_root.test_ymovement = ymovement;
if ((0 < walkmode) && (walkmode != _root.facing)) {
if (walkmode < 3) {
_root.facing = walkmode;
removeMovieClip(_root.pimp);
duplicateMovieClip ("walk" add _root.facing, "pimp", 3);
_root.pimp._x = _root.pimpx;
_root.pimp._y = _root.pimpy;
walkmode = 0;
pimp_scale = pimp_scale_min + ((pimp_scale_max - pimp_scale_min) * ((pimpy - pimpy_min) / (pimpy_max - pimpy_min)));
setProperty(_root.pimp, _xscale , pimp_scale);
setProperty(_root.pimp, _yscale , pimp_scale);
setProperty(_root.dizzy, _xscale , pimp_scale);
setProperty(_root.dizzy, _yscale , pimp_scale);
}
}
if ((walkmode == 1) && (ymovement == 0)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
} else {
pimpx = pimpx + walkxspeed;
}
}
if ((walkmode == 1) && (ymovement == -1)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
if (pimpy_min < pimpy) {
pimpy = pimpy - walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx + walkxspeed;
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 1) && (ymovement == 1)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
if (pimpy < pimpy_max) {
pimpy = pimpy + walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx + walkxspeed;
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 2) && (ymovement == 0)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
} else {
pimpx = pimpx - walkxspeed;
}
}
if ((walkmode == 2) && (ymovement == -1)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
if (pimpy_min < pimpy) {
pimpy = pimpy - walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx - walkxspeed;
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 2) && (ymovement == 1)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
if (pimpy < pimpy_max) {
pimpy = pimpy + walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx - walkxspeed;
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
ymovement = 0;
}
}
if (walkmode == 3) {
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
}
if (walkmode == 4) {
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
}
if (0 < walkmode) {
pimp._x = pimpx;
pimp._y = pimpy;
background._x = backgroundx;
_root.pimp.nextFrame();
}
if (_root.background6.dealer.hittest(_root.pimp) && (_root.event_dealer == false)) {
_root.event_dealer = true;
stopAllSounds();
_root.dialogue_dealer.gotoAndPlay(2);
}
pimp_scale = pimp_scale_min + ((pimp_scale_max - pimp_scale_min) * ((pimpy - pimpy_min) / (pimpy_max - pimpy_min)));
setProperty("pimp", _xscale , pimp_scale);
setProperty("pimp", _yscale , pimp_scale);
setProperty(_root.dizzy, _xscale , pimp_scale);
setProperty(_root.dizzy, _yscale , pimp_scale);
if (_root.current_background == background1) {
if (_root.dynamic_bus_stop.hittest(_root.pimp) || (_root.dynamic_bus_stop2.hittest(_root.pimp))) {
_root.dynamic_bus_stop.gotoAndStop(2);
_root.dynamic_bus_stop2.gotoAndStop(2);
} else {
_root.dynamic_bus_stop.gotoAndStop(1);
_root.dynamic_bus_stop2.gotoAndStop(1);
}
if (pimpy >= 136) {
_root.dynamic_bus_stop._y = 158;
_root.dynamic_bus_stop2._y = 1000;
} else {
_root.dynamic_bus_stop2._y = 158;
_root.dynamic_bus_stop._y = 1000;
}
} else {
_root.dynamic_bus_stop2._y = 1000;
_root.dynamic_bus_stop._y = 1000;
}
if (((_root.current_background == background8) || (_root.current_background == background9)) || (_root.current_background == background7)) {
_root.freeze_action = true;
}
}
function restore() {
_root.test_called = true;
if (_root.restore_graphic_call == true) {
_root.restore_graphics();
_root.restore_graphic_call = false;
}
if (_root.drunk == true) {
setProperty(_root.dizzy, _x , pimpx);
setProperty(_root.dizzy, _y , pimpy - 30);
setProperty(_root.dizzy, _xscale , pimp_scale);
setProperty(_root.dizzy, _yscale , pimp_scale);
}
if (_root.cutscene_warning == true) {
gotoAndPlay (1999);
_root.cutscene_warning = false;
}
if (_root.levelcomplete1 == true) {
gotoAndPlay (1370);
}
}
function spend_money() {
_root.key_back_up = false;
if (_root.current_background == background7) {
if (_root.coin_deposited == false) {
if (0 < _root.cash) {
_root.cash = _root.cash - 0.25;
if (_root.cash < 0.25) {
_root.itemmoney = false;
setProperty(_root.keymoney, _visible , false);
}
_root.coin_deposited = true;
_root.master_number = 0;
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndPlay(2);
_root.background7.phone_receiver.gotoAndStop(2);
_root.sample_time1 = getTimer();
} else if ((_root.payup == false) && (_root.cash == 0)) {
_root.sc_pay_up.gotoAndPlay(2);
_root.payup = true;
}
} else if (_root.sc_only_a_quarter._currentframe == 1) {
_root.sc_only_a_quarter.gotoAndPlay(2);
}
}
}
function action_button() {
_root.key_back_up = false;
_root.pimp.gotoAndStop(1);
if (_root.dynamic_bus_stop.hittest(_root.pimp) || (_root.dynamic_bus_stop2.hittest(_root.pimp))) {
if (_root.freeze_action == false) {
_root.freeze_action = true;
duplicateMovieClip ("_root.bus", "newbus", 6);
setProperty(_root.newbus, _y , 170);
setProperty(_root.newbus, _x , 700);
tellTarget (_root.newbus) {
gotoAndPlay (2);
};
}
}
if (_root.background1.telephone.hittest(_root.pimp)) {
_root.current_background = background7;
_root.set_background(_root.background7);
}
if ((((_root.itemjager == false) && (_root.event_nog == false)) && (_root.drunk == false)) && (_root.current_background == background9)) {
_root.itemjager = true;
setProperty(_root.keyjager, _visible , true);
setProperty(_root.background9.bottle, _visible , false);
_root.dialogue_jagermeister.gotoAndPlay(2);
key_xposition = _root.place_item("keyjager");
_root.keyjager._x = key_xposition;
}
if (_root.background4.trash.hittest(_root.pimp)) {
_root.current_background = background9;
_root.set_background(_root.background9);
}
if (_root.background5.dumpster.hittest(_root.pimp)) {
if ((_root.nog_out == false) && (_root.event_nog == false)) {
tellTarget (_root.background5.dumpster) {
gotoAndPlay (3);
};
if (_root.event_nog == false) {
_root.nog_out = true;
}
}
}
if ((_root.itemsyringe == false) && (_root.freeze_action == false)) {
if (_root.background6.dealer.hittest(_root.pimp) || (_root.background6.syringe.hittest(_root.pimp))) {
_root.itemsyringe = true;
setProperty(_root.keysyringe, _visible , true);
setProperty(_root.background6.syringe, _visible , false);
_root.dialogue_needle.gotoAndPlay(2);
key_xposition = _root.place_item("keysyringe");
_root.keysyringe._x = key_xposition;
}
}
if (_root.background6.crate.hittest(_root.pimp)) {
_root.current_background = background8;
_root.set_background(_root.background8);
}
if (((_root.itemmatchbook == false) && (_root.current_background == background8)) && (_root.background8._currentframe == 21)) {
_root.itemmatchbook = true;
setProperty(_root.keymatchbook, _visible , true);
setProperty(_root.background8.matchbook, _visible , false);
_root.dialogue_matchbook.gotoAndPlay(2);
key_xposition = _root.place_item("keymatchbook");
_root.keymatchbook._x = key_xposition;
}
if (_root.background4.vomiting_guy.hittest(_root.pimp)) {
if (_root.freeze_action == false) {
_root.background4.vomiting_guy.gotoAndPlay(2);
}
}
if (_root.background3.smoking_guy.hittest(_root.pimp)) {
if ((_root.freeze_action == false) && (_root.event_warning == false)) {
_root.event_warning = true;
gotoAndPlay (1999);
}
}
}
function exit_key() {
_root.hidden_pimp_screen = false;
if (_root.current_background == background7) {
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndStop(1);
_root.background7.phone_conversation.gotoAndStop(1);
_root.background7.phone_receiver.gotoAndStop(1);
if (_root.coin_to_be_given_back == true) {
_root.coin_deposited = false;
_root.coinreturn_coins++;
}
if (_root.coin_deposited == true) {
_root.coin_deposited = false;
_root.coinreturn_coins++;
}
_root.pimp._visible = true;
_root.freeze_action = false;
_root.current_background = background1;
_root.set_background(_root.background1);
}
if ((_root.current_background == background8) && (_root.background8._currentframe == 21)) {
_root.pimp._visible = true;
_root.current_background = background6;
_root.set_background(_root.background6);
if (_root.talking == false) {
_root.freeze_action = false;
}
}
if (_root.current_background == background9) {
_root.pimp._visible = true;
_root.current_background = background4;
_root.set_background(_root.background4);
if (_root.talking == false) {
_root.freeze_action = false;
}
}
if (_root.newmatchbook_number._currentframe == 15) {
_root.newmatchbook_number.nextFrame();
}
}
stopAllSounds();
_root.xxx = 100;
_root.bbb = 0;
_root.ccc = 0;
walkxspeed = 7;
walkyspeed = 4;
facing = 1;
pimpx = 116;
pimpy = 108;
backgroundx = 223;
backgroundy = 142;
duplicateMovieClip ("walk" add facing, "pimp", 3);
duplicateMovieClip ("lamp_post", "lamp_post2", 5);
lamp_post2._x = 200;
lamp_post2._y = 1000;
duplicateMovieClip ("money_text", "money_text2", 9);
money_text2._x = 277.7;
money_text2._y = 229.1;
duplicateMovieClip ("head", "head", 10);
overlayx = _root.overlay._x;
overlayy = _root.overlay._y;
head._x = overlayx;
head._y = overlayy;
duplicateMovieClip ("dynamic_bus_stop", "dynamic_bus_stop2", 4);
pimp._x = pimpx;
pimp._y = pimpy;
if (_root.from_loaded_game != true) {
background6._x = backgroundx;
background6._y = backgroundy;
current_background = background6;
_root.background_number = "06";
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
pimpx_min = 120;
pimpx_max = 310;
pimpy_min = 72;
pimpy_max = 180;
setProperty("pimp", _xscale , 73.3333333333333);
setProperty("pimp", _yscale , 73.3333333333333);
pimp_scale_max = 100;
pimp_scale_min = 60;
_root.pimp.gotoAndPlay("pimp_jump");
}
levelcomplete1 = false;
freeze_action = false;
talking = false;
_root.nog_out = false;
event_nog = false;
itemjager = false;
itemmoney = false;
itemsyringe = false;
itemmatchbook = false;
setProperty(_root.keyjager, _visible , false);
setProperty(_root.keymoney, _visible , false);
setProperty(_root.keysyringe, _visible , false);
setProperty(_root.keymatchbook, _visible , false);
cash = 0;
event_dealer = false;
restore_graphic_call = false;
cutscene_crate = false;
drunk = false;
event_madethecall = false;
coinreturn_coins = 1;
cutscene_warning = false;
coin_deposited = false;
_root.current_level = 1;
_root.event_warning = false;
phone_conversation_in_progress = false;
if (_root.testmode == true) {
_root.testvars._y = 10;
} else {
_root.testvars._visible = false;
_root.testvars._y = 1000;
}
item_array = new array(0, "empty", "empty", "empty");
item_spacing = 49;
item_offset = 74;
if (_root.from_loaded_game == true) {
_root.from_loaded_game = false;
_root.testaaa = _root.binary_string;
checker = _root.binary_string.slice(0, 1);
if (checker == 1) {
_root.event_madethecall = true;
} else {
_root.event_madethecall = false;
}
checker = _root.binary_string.slice(1, 2);
if (checker == 1) {
_root.itemsyringe = true;
key_xposition = _root.place_item("keysyringe");
_root.keysyringe._x = key_xposition;
} else {
_root.itemsyringe = false;
}
checker = _root.binary_string.slice(2, 3);
if (checker == 1) {
_root.itemmatchbook = true;
key_xposition = _root.place_item("keymatchbook");
_root.keymatchbook._x = key_xposition;
} else {
_root.itemmatchbook = false;
}
checker = _root.binary_string.slice(3, 4);
if (checker == 1) {
_root.itemjager = true;
key_xposition = _root.place_item("keyjager");
_root.keyjager._x = key_xposition;
} else {
_root.itemjager = false;
}
checker = _root.binary_string.slice(4, 5);
if (checker == 1) {
_root.itemmoney = true;
} else {
_root.itemmoney = false;
}
checker = _root.binary_string.slice(5, 6);
if (checker == 1) {
_root.event_warning = true;
} else {
_root.event_warning = false;
}
checker = _root.binary_string.slice(6, 7);
if (checker == 1) {
_root.event_nog = true;
} else {
_root.event_nog = false;
}
checker = _root.binary_string.slice(7, 8);
if (checker == 1) {
_root.drunk = true;
} else {
_root.drunk = false;
}
_root.cash = Number(_root.load_passcode_array[2]) / 100;
background_translate = Number(_root.load_passcode_array[3]);
if (_root.background_translate == 1) {
_root.current_background = background1;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 2) {
_root.current_background = background2;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 3) {
_root.current_background = background3;
pimpx = 200;
pimpy = 194;
}
if (_root.background_translate == 4) {
_root.current_background = background4;
pimpx = 200;
pimpy = 190;
}
if (_root.background_translate == 5) {
_root.current_background = background5;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 6) {
_root.current_background = background6;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 7) {
_root.current_background = background7;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 8) {
_root.current_background = background8;
pimpx = 200;
pimpy = 180;
}
if (_root.background_translate == 9) {
_root.current_background = background9;
pimpx = 200;
pimpy = 180;
}
_root.coinreturn_coins = Number(_root.load_passcode_array[4]);
pimp._x = pimpx;
pimp._y = pimpy;
_root.restore_graphics();
}
number_position = 6;
phone_number = 5556969 /* 0x54CAE9 */;
sample_time1 = 0;
payup = false;
Instance of Symbol 976 MovieClip "dynamic_bus_stop" in Frame 1366
/* no clip actions */
Instance of Symbol 1094 MovieClip in Frame 1366
onClipEvent (enterFrame) {
_root.abc++;
_root.restore();
if (_root.freeze_action == false) {
if (Key.isDown(Key.RIGHT)) {
_root.walkmode = 1;
_root.ymovement = 0;
if (_root.drunk == true) {
_root.walkmode = 2;
}
}
if (Key.isDown(Key.LEFT)) {
_root.walkmode = 2;
_root.ymovement = 0;
if (_root.drunk == true) {
_root.walkmode = 1;
}
}
if (Key.isDown(Key.UP)) {
_root.walkmode = 3;
if (_root.drunk == true) {
_root.walkmode = 4;
}
}
if (Key.isDown(Key.DOWN)) {
_root.walkmode = 4;
if (_root.drunk == true) {
_root.walkmode = 3;
}
}
if (Key.isDown(Key.UP) && (Key.isDown(Key.RIGHT))) {
_root.walkmode = 1;
_root.ymovement = -1;
if (_root.drunk == true) {
_root.walkmode = 2;
_root.ymovement = -1;
}
}
if (Key.isDown(Key.UP) && (Key.isDown(Key.LEFT))) {
_root.walkmode = 2;
_root.ymovement = -1;
if (_root.drunk == true) {
_root.walkmode = 1;
_root.ymovement = 1;
}
}
if (Key.isDown(Key.DOWN) && (Key.isDown(Key.RIGHT))) {
_root.walkmode = 1;
_root.ymovement = 1;
if (_root.drunk == true) {
_root.walkmode = 2;
_root.ymovement = 1;
}
}
if (Key.isDown(Key.DOWN) && (Key.isDown(Key.LEFT))) {
_root.walkmode = 2;
_root.ymovement = 1;
if (_root.drunk == true) {
_root.walkmode = 1;
_root.ymovement = -1;
}
}
_root.refresh(_root.walkmode, _root.ymovement);
}
if (_root.key_back_up == true) {
if (Key.isDown(Key.SPACE)) {
_root.action_button();
}
if (Key.isDown(49)) {
_root.spend_money();
_root.key_back_up = false;
}
if (Key.isDown(69)) {
_root.exit_key();
_root.key_back_up = false;
}
if (Key.isDown(50)) {
_root.use_item(1);
_root.key_back_up = false;
}
if (Key.isDown(51)) {
_root.use_item(2);
_root.key_back_up = false;
}
if (Key.isDown(52)) {
_root.use_item(3);
_root.key_back_up = false;
}
if (Key.isDown(53)) {
_root.use_item(4);
_root.key_back_up = false;
}
if (Key.isDown(54)) {
_root.use_item(5);
_root.key_back_up = false;
}
if (Key.isDown(55)) {
_root.use_item(6);
_root.key_back_up = false;
}
}
}
onClipEvent (keyUp) {
_root.key_back_up = true;
}
Frame 1367
stop();
Frame 1370
setProperty("pimp", _visible , false);
setProperty("head", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("dynamic_bus_stop2", _visible , false);
play();
Frame 1468
gotoAndStop (2644);
Frame 1469
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
_root.freeze_action = true;
Frame 1970
_root.restore_graphic_call = true;
gotoAndPlay (1367);
Frame 1999
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
_root.freeze_action = true;
_root.dialogue_smoking_guy.gotoAndPlay(2);
Frame 2321
_root.freeze_action = false;
_root.restore_graphic_call = true;
gotoAndPlay (1367);
Frame 2644
function set_ammo() {
if (_root.soundtrack_started != true) {
_root.soundtrack_started = true;
_root.soundtrack.gotoAndPlay(2);
}
tellTarget ("crosshair") {
gotoAndPlay (2);
};
if (_root.ammo == 6) {
_root.ammo1._visible = true;
_root.ammo2._visible = true;
_root.ammo3._visible = true;
_root.ammo4._visible = true;
_root.ammo5._visible = true;
_root.ammo6._visible = true;
}
if (_root.ammo == 5) {
_root.ammo6._visible = false;
}
if (_root.ammo == 4) {
_root.ammo5._visible = false;
}
if (_root.ammo == 3) {
_root.ammo4._visible = false;
}
if (_root.ammo == 2) {
_root.ammo3._visible = false;
}
if (_root.ammo == 1) {
_root.ammo2._visible = false;
}
if (_root.ammo == 0) {
_root.ammo1._visible = false;
}
}
function player_hit(number) {
x_rand = random(360) + 20;
y_rand = random(230) + 15;
generic = "damage" + number;
setProperty(generic, _x , x_rand);
setProperty(generic, _y , y_rand);
tellTarget (generic) {
gotoAndPlay (2);
};
_root.damage_rotation--;
if (_root.damage_rotation < 1) {
_root.damage_rotation = 3;
}
generic2 = "health" + _root.health;
setProperty(generic2, _visible , false);
_root.health--;
if (_root.health < 4) {
tellTarget ("health1") {
gotoAndPlay (2);
};
tellTarget ("health2") {
gotoAndPlay (2);
};
tellTarget ("health3") {
gotoAndPlay (2);
};
}
if (_root.health < 1) {
_root.crosshair._visible = false;
stopDrag();
Mouse.show();
tellTarget ("fade_to_black") {
gotoAndPlay (2);
};
}
}
function bad_guy_hit() {
generic = "baddies" + _root.baddies;
setProperty(generic, _visible , false);
_root.baddies--;
}
function advance_guy(number) {
gotoAndStop(number +2643);
}
function beat_shooter_level() {
gotoAndPlay (2653);
}
function move_to_next_level() {
gotoAndPlay (2842);
}
function lost_shooter_level() {
gotoAndPlay (2795);
}
function go_to_cop_bust() {
stopAllSounds();
Mouse.show();
gotoAndPlay (2844);
}
stop();
Mouse.hide();
startDrag ("crosshair", true);
baddies = 6;
health = 10;
damage_rotation = 3;
ammo = 6;
siren = false;
current_level = "shooter";
Instance of Symbol 1291 MovieClip "mainBuildings" in Frame 2644
onClipEvent (load) {
buildings1.duplicateMovieClip("buildings2", 950);
buildings2._x = (buildings1._x + buildings1._width) - 4;
buildingsStartx = this._x;
buildingsSpeed = 0.5;
}
onClipEvent (enterFrame) {
this._x = this._x - buildingsSpeed;
if ((buildingsStartx - buildings1._width) >= this._x) {
this._x = buildingsStartx - buildingsSpeed;
}
}
Instance of Symbol 1294 MovieClip "mainGround" in Frame 2644
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 800);
ground2._x = (ground._x + ground._width) - 8;
groundStartx = this._x;
_root.aa = groundStartx;
groundSpeed = 30;
}
onClipEvent (enterFrame) {
this._x = this._x - groundSpeed;
if ((groundStartx - ground._width) >= this._x) {
this._x = groundStartx - groundSpeed;
}
}
Instance of Symbol 1297 MovieClip "mainlamppostalt" in Frame 2644
onClipEvent (load) {
lamppostsStartx = this._x;
lamppostsSpeed = 10;
}
onClipEvent (enterFrame) {
this._x = this._x - lamppostsSpeed;
if (((lamppostsStartx - lampposts._width) - 500) >= this._x) {
this._x = lamppostsStartx - lamppostsSpeed;
}
}
Instance of Symbol 1300 MovieClip "mainRoad" in Frame 2644
onClipEvent (load) {
road.duplicateMovieClip("road2", 975);
road2._x = (road._x + road._width) - 8;
roadStartx = this._x;
roadSpeed = 15;
}
onClipEvent (enterFrame) {
this._x = this._x - roadSpeed;
if ((roadStartx - road._width) >= this._x) {
this._x = roadStartx - roadSpeed;
}
}
Frame 2645
stop();
Frame 2646
stop();
Frame 2647
stop();
Frame 2653
_root.dialogue_clips.gotoAndPlay(2);
_root.shooter_complete = true;
play();
Frame 2750
stopAllSounds();
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
_root.move_to_next_level();
stop();
Frame 2753
stopAllSounds();
gotoAndPlay (2842);
stop();
Frame 2795
_root.baddie.gotoAndStop(1);
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
_root.dialogue_last_stop.gotoAndPlay(2);
Frame 2824
stop();
Frame 2841
gotoAndPlay (2842);
Frame 2842
function set_background(background) {
_root.current_background = background;
background1._x = 1000;
background1._y = 1000;
background2._x = 1000;
background2._y = 1000;
background3._x = 1000;
background3._y = 1000;
background4._x = 1000;
background4._y = 1000;
background5._x = 1000;
background5._y = 1000;
background6._x = 1000;
background6._y = 1000;
background7._x = 1000;
background7._y = 1000;
background8._x = 1000;
background8._y = 1000;
background9._x = 1000;
background9._y = 1000;
background10._x = 1000;
background10._y = 1000;
background11._x = 1000;
background11._y = 1000;
background12._x = 1000;
background12._y = 1000;
background13._x = 1000;
background13._y = 1000;
background14._x = 1000;
background14._y = 1000;
background15._x = 1000;
background15._y = 1000;
background16._x = 1000;
background16._y = 1000;
background17._x = 1000;
background17._y = 1000;
background18._x = 1000;
background18._y = 1000;
background19._x = 1000;
background19._y = 1000;
background20._x = 1000;
background20._y = 1000;
background21._x = 1000;
background21._y = 1000;
background22._x = 1000;
background22._y = 1000;
background23._x = 1000;
background23._y = 1000;
background24._x = 1000;
background24._y = 1000;
lamp_post2._y = 1000;
background._x = backgroundx;
background._y = backgroundy;
if (_root.current_background == background1) {
_root.background_number = "01";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 170;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 75;
pimp_scale_min = 70;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 50;
_root.background2.background.door.gotoAndStop(1);
}
if (_root.current_background == background2) {
_root.background_number = "02";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 165;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 60;
pimp_scale_min = 52;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
patron_offset = 22;
pole_position = 8;
bar_time_interval = 800;
bar_time = _root.level2_refreshes;
if ((6 * bar_time_interval) < bar_time) {
if (_root.patron_move6 == false) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._visible = false;
_root.background2.background.patron5._visible = false;
_root.background2.background.patron6._visible = false;
_root.patron_move6 = true;
}
}
if (((5 * bar_time_interval) < bar_time) && (bar_time < (6 * bar_time_interval))) {
}
if (((4 * bar_time_interval) < bar_time) && (bar_time < (5 * bar_time_interval))) {
if (_root.patron_move4 == false) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._visible = false;
_root.background2.background.patron5._x = pole_position;
_root.background2.background.patron6._x = pole_position - patron_offset;
_root.patron_move4 = true;
}
}
if (((3 * bar_time_interval) < bar_time) && (bar_time < (4 * bar_time_interval))) {
if (_root.patron_move3 == false) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._x = pole_position;
_root.background2.background.patron5._x = pole_position - patron_offset;
_root.background2.background.patron6._x = pole_position - (2 * patron_offset);
_root.patron_move3 = true;
}
}
if (((2 * bar_time_interval) < bar_time) && (bar_time < (3 * bar_time_interval))) {
if (_root.patron_move2 == false) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._x = pole_position;
_root.background2.background.patron4._x = pole_position - patron_offset;
_root.background2.background.patron5._x = pole_position - (2 * patron_offset);
_root.background2.background.patron6._x = pole_position - (3 * patron_offset);
_root.patron_move2 = true;
}
}
if (((1 * bar_time_interval) < bar_time) && (bar_time < (2 * bar_time_interval))) {
if (_root.patron_move1 == false) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._x = pole_position;
_root.background2.background.patron3._x = pole_position - patron_offset;
_root.background2.background.patron4._x = pole_position - (2 * patron_offset);
_root.background2.background.patron5._x = pole_position - (3 * patron_offset);
_root.background2.background.patron6._x = pole_position - (4 * patron_offset);
_root.patron_move1 = true;
}
}
_root.background2.background.door.gotoAndPlay(2);
}
if (_root.current_background == background3) {
_root.background_number = "03";
pimpx_min = 40;
pimpx_max = 355;
pimpy_min = 150;
pimpy_max = 215;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 50;
pimp_scale_min = 38;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background2.background.door.gotoAndStop(1);
}
if (_root.current_background == background4) {
_root.background_number = "04";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 112;
pimpy_max = 190;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
if (pimpy_max < pimpy) {
pimpy = pimpy_max;
pimp._y = pimpy;
}
pimp_scale_max = 50;
pimp_scale_min = 38;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background5) {
_root.background_number = "05";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 168;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 95;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 0;
if ((_root.event_ask_for_ride == false) && (_root.event_pimping1 == true)) {
_root.event_ask_for_ride = true;
_root.go_ask_for_ride = true;
}
}
if (_root.current_background == background6) {
_root.background_number = "06";
pimpx_min = 120;
pimpx_max = 280;
pimpy_min = 20;
pimpy_max = 180;
if (pimpx < pimpy_min) {
pimpx = pimpx_min;
}
if (pimpx_max < pimpx) {
pimpx = pimpx_max;
}
pimp._x = pimpx;
pimp_scale_max = 105;
pimp_scale_min = 50;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
_root.event_real_change_ask = false;
_root.real_change_count = 0;
_root.tripwire1_hit = false;
_root.tripwire2_hit = false;
_root.background10.graffiti_guy.gotoAndStop(1);
}
if (_root.current_background == background7) {
_root.background_number = "07";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 136;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 90;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background8) {
_root.background_number = "08";
pimpx_min = 40;
pimpx_max = 355;
pimpy_min = 112;
pimpy_max = 188;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 125;
pimp_scale_min = 110;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background9) {
_root.background_number = "09";
pimpx_min = 70;
pimpx_max = 390;
pimpy_min = 132;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 80;
pimp_scale_min = 70;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background10.graffiti_guy.gotoAndStop(1);
}
if (_root.current_background == background10) {
_root.background_number = "10";
pimpx_min = 40;
pimpx_max = 350;
pimpy_min = 70;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 98;
pimp_scale_min = 82;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background10.graffiti_guy.gotoAndPlay(2);
}
if (_root.current_background == background11) {
_root.background_number = "11";
pimpx_min = 40;
pimpx_max = 320;
pimpy_min = 70;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 78;
pimp_scale_min = 62;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background10.graffiti_guy.gotoAndStop(1);
}
if (_root.current_background == background12) {
_root.background_number = "12";
pimpx_min = 40;
pimpx_max = 320;
pimpy_min = 100;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 92;
pimp_scale_min = 78;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 0;
lamp_post2._x = 75;
lamp_post2._y = 160;
}
if (_root.current_background == background13) {
_root.background_number = "13";
pimpx_min = 175;
pimpx_max = 380;
pimpy_min = 112;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 112;
pimp_scale_min = 98;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 50;
if ((_root.deal_underway == false) && (_root.event_deal2 == false)) {
_root.needle_said = false;
}
}
if (_root.current_background == background14) {
_root.background_number = "14";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 85;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 70;
pimp_scale_min = 50;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.dialogue_cop1.gotoAndStop(1);
}
if (_root.current_background == background15) {
_root.background_number = "15";
pimpx_min = 40;
pimpx_max = 320;
pimpy_min = 96;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 90;
pimp_scale_min = 70;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
if (_root.event_cop_bribe == false) {
_root.background15.cop.gotoAndPlay(8);
}
_root.background16.background.can.fire.gotoAndStop(1);
}
if (_root.current_background == background16) {
_root.background_number = "16";
pimpx_min = 40;
pimpx_max = 162;
pimpy_min = 85;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 102;
pimp_scale_min = 84;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 0;
if (_root.event_deal == true) {
_root.background16.junkie1.gotoAndStop("strung_out");
_root.background16.junkie2.gotoAndStop("strung_out");
}
_root.background16.background.can.fire.gotoAndPlay(2);
_root.dialogue_cop1.gotoAndStop(1);
}
if (_root.current_background == background17) {
_root.background_number = "17";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 138;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 90;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background18) {
_root.background_number = "18";
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 125;
pimpy_max = 170;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 75;
pimp_scale_min = 60;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background19) {
_root.background_number = "19";
pimpx_min = 40;
pimpx_max = 306;
pimpy_min = 109;
pimpy_max = 180;
pimp_scale_max = 100;
pimp_scale_min = 90;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 0;
}
if (_root.current_background == background20) {
_root.background_number = "20";
pimpx_min = 184;
pimpx_max = 202;
pimpy_min = 96;
pimpy_max = 176;
pimpx = 202;
pimpy = 176;
pimp._x = pimpx;
pimp._y = pimpy;
pimp_scale_max = 105;
pimp_scale_min = 95;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
}
if (_root.current_background == background21) {
_root.background_number = "21";
pimpx_min = 50;
pimpx_max = 390;
pimpy_min = 176;
pimpy_max = 200;
pimp_scale_max = 95;
pimp_scale_min = 90;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
bar_girls = new array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);
i = 0;
while (i < 50) {
rand1 = Math.round(random(9) + 1);
rand2 = Math.round(random(9) + 1);
temp = bar_girls[rand2];
bar_girls[rand2] = bar_girls[rand1];
bar_girls[rand1] = temp;
i++;
}
setProperty("background21.bar_girl1", _x , _root.girl_placement_x(bar_girls[1]));
setProperty("background21.bar_girl2", _x , _root.girl_placement_x(bar_girls[2]));
setProperty("background21.bar_girl3", _x , _root.girl_placement_x(bar_girls[3]));
setProperty("background21.bar_girl4", _x , _root.girl_placement_x(bar_girls[4]));
setProperty("background21.bar_girl5", _x , _root.girl_placement_x(bar_girls[5]));
setProperty("background21.bar_girl6", _x , _root.girl_placement_x(bar_girls[6]));
setProperty("background21.bar_girl7", _x , _root.girl_placement_x(bar_girls[7]));
setProperty("background21.bar_girl8", _x , _root.girl_placement_x(bar_girls[8]));
setProperty("background21.bar_girl9", _x , _root.girl_placement_x(bar_girls[9]));
setProperty("background21.bar_girl1", _y , _root.girl_placement_y(bar_girls[1]));
setProperty("background21.bar_girl2", _y , _root.girl_placement_y(bar_girls[2]));
setProperty("background21.bar_girl3", _y , _root.girl_placement_y(bar_girls[3]));
setProperty("background21.bar_girl4", _y , _root.girl_placement_y(bar_girls[4]));
setProperty("background21.bar_girl5", _y , _root.girl_placement_y(bar_girls[5]));
setProperty("background21.bar_girl6", _y , _root.girl_placement_y(bar_girls[6]));
setProperty("background21.bar_girl7", _y , _root.girl_placement_y(bar_girls[7]));
setProperty("background21.bar_girl8", _y , _root.girl_placement_y(bar_girls[8]));
setProperty("background21.bar_girl9", _y , _root.girl_placement_y(bar_girls[9]));
if (_root.event_pickup == true) {
setProperty("background21.bar_girl3", _visible , false);
}
}
if (_root.current_background == background22) {
_root.background_number = "22";
pimpx_min = 40;
pimpx_max = 355;
pimpy_min = 120;
pimpy_max = 200;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 100;
pimp_scale_min = 90;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("yolanda", _visible , false);
_root.hidden_pimp_screen = true;
_root.freeze_action = true;
}
if (_root.current_background == background23) {
_root.background_number = "23";
pimpx_min = 65;
pimpx_max = 365;
pimpy_min = 70;
pimpy_max = 180;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 93;
pimp_scale_min = 77;
lamp_post2._x = 85;
lamp_post2._y = 160;
_root.arrow_up._alpha = 50;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
}
if (_root.current_background == background24) {
_root.background_number = "24";
pimpx_min = 100;
pimpx_max = 365;
pimpy_min = 186;
pimpy_max = 196;
if (pimpy < pimpy_min) {
pimpy = pimpy_min;
pimp._y = pimpy;
}
pimp_scale_max = 110;
pimp_scale_min = 105;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 50;
_root.arrow_left._alpha = 0;
_root.arrow_right._alpha = 0;
}
if ((((((((((((((((((((((((_root.current_background != background1) && (_root.current_background != background2)) && (_root.current_background != background3)) && (_root.current_background != background4)) && (_root.current_background != background5)) && (_root.current_background != background6)) && (_root.current_background != background7)) && (_root.current_background != background8)) && (_root.current_background != background9)) && (_root.current_background != background10)) && (_root.current_background != background11)) && (_root.current_background != background12)) && (_root.current_background != background13)) && (_root.current_background != background14)) && (_root.current_background != background15)) && (_root.current_background != background16)) && (_root.current_background != background17)) && (_root.current_background != background18)) && (_root.current_background != background19)) && (_root.current_background != background20)) && (_root.current_background != background21)) && (_root.current_background != background22)) && (_root.current_background != background23)) && (_root.current_background != background24)) {
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 85;
pimpy_max = 180;
pimp_scale_max = 100;
pimp_scale_min = 90;
}
setProperty("yolanda", _xscale , pimp_scale);
setProperty("yolanda", _yscale , pimp_scale);
if ((_root.current_background == background2) || (_root.current_background == background21)) {
if (_root.club_music_started == false) {
_root.club_music_started = true;
club_music_sound.start(0, 999);
club_music_sound.setPan(0);
}
club_music_sound.setVolume(90);
club_music_sound.setPan(0);
}
if (_root.current_background == background1) {
club_music_sound.setVolume(40);
club_music_sound.setPan(50);
if (_root.club_music_started == false) {
_root.club_music_started = true;
club_music_sound.start(0, 999);
}
}
if (_root.current_background == background3) {
club_music_sound.setVolume(40);
club_music_sound.setPan(-50);
if (_root.club_music_started == false) {
_root.club_music_started = true;
club_music_sound.start(0, 999);
}
}
if (_root.current_background == background4) {
club_music_sound.setVolume(17);
club_music_sound.setPan(-100);
if (_root.club_music_started == false) {
_root.club_music_started = true;
club_music_sound.start(0, 999);
}
}
if (_root.current_background == background6) {
club_music_sound.setVolume(17);
club_music_sound.setPan(-30);
if (_root.club_music_started == false) {
_root.club_music_started = true;
club_music_sound.start(0, 999);
}
}
if ((((((_root.current_background != background1) && (_root.current_background != background2)) && (_root.current_background != background21)) && (_root.current_background != background3)) && (_root.current_background != background4)) && (_root.current_background != background6)) {
club_music_sound.stop();
_root.club_music_started = false;
club_music_sound.setVolume(90);
club_music_sound.setPan(0);
}
if (_root.current_background == background4) {
_root.nog_out = false;
}
}
function moving_right(current_screen) {
if (current_screen == background1) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background2) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background3;
_root.set_background(background3);
}
if (current_screen == background3) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background4;
_root.set_background(background4);
}
if (current_screen == background4) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background5;
_root.set_background(background5);
}
if (current_screen == background7) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background8;
_root.set_background(background8);
}
if (current_screen == background8) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background9;
_root.set_background(background9);
}
if (current_screen == background9) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background10;
_root.set_background(background10);
}
if (current_screen == background10) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background11;
_root.set_background(background11);
}
if (current_screen == background11) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background12;
_root.set_background(background12);
}
if (current_screen == background13) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background14;
_root.set_background(background14);
}
if (current_screen == background14) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background15;
_root.set_background(background15);
}
if (current_screen == background15) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background16;
_root.set_background(background16);
}
if (current_screen == background17) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background23;
_root.set_background(background23);
}
if (current_screen == background18) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background19;
_root.set_background(background19);
}
if (current_screen == background23) {
pimpx = pimpx_min;
pimp._x = pimpx;
_root.current_background = background18;
_root.set_background(background18);
}
}
function moving_left(current_screen) {
if (current_screen == background2) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background1;
_root.set_background(background1);
}
if (current_screen == background3) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background4) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background3;
_root.set_background(background3);
}
if (current_screen == background5) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background4;
_root.set_background(background4);
}
if (current_screen == background8) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background7;
_root.set_background(background7);
}
if (current_screen == background9) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background8;
_root.set_background(background8);
}
if (current_screen == background10) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background9;
_root.set_background(background9);
}
if (current_screen == background11) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background10;
_root.set_background(background10);
}
if (current_screen == background12) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background11;
_root.set_background(background11);
}
if (current_screen == background14) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background13;
_root.set_background(background13);
}
if (current_screen == background15) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background14;
_root.set_background(background14);
}
if (current_screen == background16) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background15;
_root.set_background(background15);
}
if (current_screen == background18) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background23;
_root.set_background(background23);
}
if (current_screen == background19) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background18;
_root.set_background(background18);
}
if (current_screen == background23) {
pimpx = pimpx_max;
pimp._x = pimpx;
_root.current_background = background17;
_root.set_background(background17);
}
}
function moving_up(current_screen) {
if (current_screen == background6) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background3;
_root.set_background(background3);
}
if (current_screen == background10) {
if (background10.invisible_mc.hittest(_root.pimp)) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background6;
_root.set_background(background6);
}
}
if (current_screen == background14) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background8;
_root.set_background(background8);
}
if (current_screen == background23) {
if (background23.invisible_mc.hittest(_root.pimp)) {
pimpy = pimpy_max;
pimp._y = pimpy;
_root.current_background = background14;
_root.set_background(background14);
}
}
}
function moving_down(current_screen) {
if (current_screen == background3) {
if (background3.invisible_mc.hittest(_root.pimp)) {
pimpy = 20;
pimp._y = pimpy;
_root.current_background = background6;
_root.set_background(background6);
}
}
if (current_screen == background6) {
pimpy = pimpy_min;
pimp._y = pimpy;
_root.current_background = background10;
_root.set_background(background10);
}
if (current_screen == background8) {
if (background8.invisible_mc.hittest(_root.pimp)) {
pimpy = pimpy_min;
pimp._y = pimpy;
_root.current_background = background14;
_root.set_background(background14);
}
}
if (current_screen == background14) {
pimpy = pimpy_min;
pimp._y = pimpy;
_root.current_background = background23;
_root.set_background(background23);
}
if (current_screen == background20) {
pimpx = 380;
pimp._x = pimpx;
pimpy = 85;
pimp._y = pimpy;
_root.current_background = background9;
_root.set_background(background9);
}
if (current_screen == background21) {
pimpx = 282;
pimpy = 181;
pimp._x = pimpy;
pimp._y = pimpy;
if (_root.event_pickup == true) {
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
removeMovieClip("yolanda");
duplicateMovieClip ("yolanda_walk" add _root.facing, "yolanda", 2);
yolanda._x = pimpx - adjusted_ho_offset;
yolanda._y = pimpy - adjusted_ho_offset;
}
_root.current_background = background2;
_root.set_background(background2);
}
if (current_screen == background24) {
pimpx = 324;
pimpy = 121;
pimp._x = pimpy;
pimp._y = pimpy;
_root.current_background = background18;
_root.set_background(background18);
}
}
function restore_graphics() {
if (_root.from_bitch_slap == true) {
_root.from_bitch_slap = false;
stopAllSounds();
_root.club_music_started = false;
}
_root.backgroundx = 223;
_root.backgroundy = 142;
background = _root.current_background;
_root.set_background(background);
if (_root.hidden_pimp_screen != true) {
setProperty("pimp", _visible , true);
}
if (_root.hidden_pimp_screen == true) {
setProperty("pimp", _visible , false);
setProperty("yolanda", _visible , false);
_root.talking = false;
_root.freeze_action = true;
}
setProperty("head", _visible , true);
setProperty("lamp_post2", _visible , true);
setProperty("money_text2", _visible , true);
setProperty("yolanda", _visible , true);
duplicateMovieClip ("head", "head", 10);
overlayx = overlay._x;
overlayy = overlay._y;
head._x = overlayx;
head._y = overlayy;
if (_root.itemsyringe == false) {
setProperty(_root.keysyringe, _visible , false);
}
if (_root.itemsyringe == true) {
setProperty(_root.keysyringe, _visible , true);
}
if ((_root.itemmoney == false) || (_root.cash >= 2)) {
setProperty(_root.keymoney, _visible , false);
}
if ((_root.itemmoney == true) && (_root.cash < 2)) {
setProperty(_root.keymoney, _visible , true);
}
if (2 >= _root.cash) {
setProperty(_root.keymoneywad, _visible , false);
}
if (2 < _root.cash) {
setProperty(_root.keymoneywad, _visible , true);
}
if (_root.itemhammer == false) {
setProperty(_root.keyhammer, _visible , false);
}
if (_root.itemhammer == true) {
setProperty(_root.keyhammer, _visible , true);
setProperty(_root.background19.hammer, _visible , false);
}
if (_root.itemdonut == false) {
setProperty(_root.keydonut, _visible , false);
}
if (_root.itemdonut == true) {
setProperty(_root.keydonut, _visible , true);
}
if (_root.itemhanger == false) {
setProperty(_root.keyhanger, _visible , false);
}
if (_root.itemhanger == true) {
setProperty(_root.keyhanger, _visible , true);
setProperty(_root.background9.hanger, _visible , false);
setProperty(_root.background20.hanger, _visible , false);
}
if (_root.car_unlocked == true) {
setProperty(_root.background9.hanger, _visible , false);
setProperty(_root.background20.hanger, _visible , false);
}
if (_root.itemscrewdriver == false) {
setProperty(_root.keyscrewdriver, _visible , false);
}
if (_root.itemscrewdriver == true) {
setProperty(_root.keyscrewdriver, _visible , true);
setProperty(_root.background24.screwdriver, _visible , false);
}
if (_root.itemnewspaper == false) {
setProperty(_root.keynewspaper, _visible , false);
}
if (_root.itemnewspaper == true) {
setProperty(_root.keynewspaper, _visible , true);
}
if (_root.itemcoat == false) {
setProperty(_root.keycoat, _visible , false);
}
if (_root.itemcoat == true) {
setProperty(_root.keycoat, _visible , true);
setProperty(_root.background9.coat, _visible , false);
setProperty(_root.background20.coat, _visible , false);
}
if (_root.itemsyringefilled == false) {
setProperty(_root.keysyringefilled, _visible , false);
}
if (_root.itemsyringefilled == true) {
setProperty(_root.keysyringefilled, _visible , true);
setProperty(_root.keysyringe, _visible , false);
}
if (_root.itemcoin1 == true) {
setProperty(_root.background8.coin1, _visible , false);
}
if (_root.itemcoin1 == false) {
setProperty(_root.background8.coin1, _visible , true);
}
if (_root.itemcoin2 == true) {
setProperty(_root.background8.coin2, _visible , false);
}
if (_root.itemcoin2 == false) {
setProperty(_root.background8.coin2, _visible , true);
}
if (_root.itemcoin3 == true) {
setProperty(_root.background8.coin3, _visible , false);
}
if (_root.itemcoin3 == false) {
setProperty(_root.background8.coin3, _visible , true);
}
if (_root.itemcoin4 == true) {
setProperty(_root.background8.coin4, _visible , false);
}
if (_root.itemcoin4 == false) {
setProperty(_root.background8.coin4, _visible , true);
}
if (_root.itemcoin5 == true) {
setProperty(_root.background8.coin5, _visible , false);
}
if (_root.itemcoin5 == false) {
setProperty(_root.background8.coin5, _visible , true);
}
if (_root.itemcoin6 == true) {
setProperty(_root.background8.coin6, _visible , false);
}
if (_root.itemcoin1 == false) {
setProperty(_root.background8.coin6, _visible , true);
}
if (_root.event_meterbust == true) {
tellTarget (_root.background8.parking_meter) {
gotoAndStop (29);
};
} else {
setProperty(_root.background8.coin1, _visible , false);
setProperty(_root.background8.coin2, _visible , false);
setProperty(_root.background8.coin3, _visible , false);
setProperty(_root.background8.coin4, _visible , false);
setProperty(_root.background8.coin5, _visible , false);
setProperty(_root.background8.coin6, _visible , false);
}
if (_root.event_windowbust == true) {
tellTarget (_root.background1.car) {
gotoAndStop (30);
};
}
if (_root.event_cop_bribe == true) {
tellTarget (_root.background15.cop) {
gotoAndStop ("cop_away");
};
}
if (_root.patron_move6 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._visible = false;
_root.background2.background.patron5._visible = false;
_root.background2.background.patron6._visible = false;
}
if (_root.patron_move5 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._visible = false;
_root.background2.background.patron5._visible = false;
_root.background2.background.patron6._x = pole_position;
}
if (_root.patron_move4 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._visible = false;
_root.background2.background.patron5._x = pole_position;
_root.background2.background.patron6._x = pole_position - patron_offset;
}
if (_root.patron_move3 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._visible = false;
_root.background2.background.patron4._x = pole_position;
_root.background2.background.patron5._x = pole_position - patron_offset;
_root.background2.background.patron6._x = pole_position - (2 * patron_offset);
}
if (_root.patron_move2 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._visible = false;
_root.background2.background.patron3._x = pole_position;
_root.background2.background.patron4._x = pole_position - patron_offset;
_root.background2.background.patron5._x = pole_position - (2 * patron_offset);
_root.background2.background.patron6._x = pole_position - (3 * patron_offset);
}
if (_root.patron_move1 == true) {
_root.background2.background.patron1._visible = false;
_root.background2.background.patron2._x = pole_position;
_root.background2.background.patron3._x = pole_position - patron_offset;
_root.background2.background.patron4._x = pole_position - (2 * patron_offset);
_root.background2.background.patron5._x = pole_position - (3 * patron_offset);
_root.background2.background.patron6._x = pole_position - (4 * patron_offset);
}
if (_root.testmode == false) {
_root.testvars._visible = false;
}
i = 1;
while (5 >= i) {
item = _root.item_array[i];
if (item == "keysyringe") {
_root.keysyringe._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keysyringefilled") {
_root.keysyringefilled._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keydonut") {
_root.keydonut._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keyhammer") {
_root.keyhammer._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keyscrewdriver") {
_root.keyscrewdriver._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keycoat") {
_root.keycoat._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keyhanger") {
_root.keyhanger._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keymoneywad") {
_root.keymoneywad._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
if (item == "keynewspaper") {
_root.keynewspaper._x = _root.item_offset + ((i - 1) * _root.item_spacing);
}
i++;
}
_root.freeze_action = false;
if (_root.hidden_pimp_screen == true) {
_root.freeze_action = true;
setProperty("yolanda", _visible , false);
}
}
function use_item(number) {
_root.item_used = _root.item_array[number];
if (item_used == "keydonut") {
if (_root.itemdonut == true) {
if (background15.cop.hittest(_root.pimp)) {
if (_root.freeze_action == false) {
_root.dialogue_cop1.gotoAndStop(1);
_root.pimp.gotoAndPlay("donut_action");
tellTarget (_root.background15.cop) {
gotoAndPlay ("cop_leave");
};
setProperty(_root.keydonut, _visible , false);
_root.itemdonut = false;
_root.event_cop_bribe = true;
_root.item_array[number] = "empty";
}
} else if (_root.freeze_action == false) {
_root.dialogue_no_brown_hole.gotoAndPlay(2);
}
}
}
if (item_used == "keyhammer") {
if (_root.itemhammer == true) {
if ((background8.parking_meter.hittest(_root.pimp) && (_root.freeze_action == false)) && (_root.event_meterbust == false)) {
pimpy = 110;
pimp_scale = 110;
setProperty("pimp", _xscale , pimp_scale);
setProperty("pimp", _yscale , pimp_scale);
if (_root.facing == 1) {
pimpx = 54;
} else {
pimpx = 121;
}
pimp._x = pimpx;
pimp._y = pimpy;
tellTarget (_root.pimp) {
gotoAndPlay ("break_meter");
};
_root.dialogue_sticking_it.gotoAndPlay(2);
tellTarget (_root.background8.parking_meter) {
gotoAndPlay (3);
};
_root.event_meterbust = true;
}
if ((background1.car.hittest(_root.pimp) && (_root.freeze_action == false)) && (_root.event_windowbust == false)) {
if (_root.event_clothes == false) {
pimpy = 156;
if (_root.facing == 1) {
pimpx = 107;
} else {
pimpx = 149;
}
pimp._x = pimpx;
pimp._y = pimpy;
pimp._xscale = 70;
pimp._yscale = 70;
tellTarget (_root.pimp) {
gotoAndPlay ("break_meter");
};
tellTarget (_root.background1.car) {
gotoAndPlay (3);
};
_root.event_windowbust = true;
if (event_pickup == true) {
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
yolanda._x = pimpx - adjusted_ho_offset;
yolanda._y = pimpy - adjusted_ho_offset;
}
} else {
_root.dialogue_no_broken_glass.gotoAndPlay(2);
}
}
}
}
if (item_used == "keysyringe") {
if (((_root.background13.thug.hittest(_root.pimp) && (_root.itemsyringe == true)) && (_root.deal_underway == false)) && (_root.freeze_action == false)) {
_root.background13.thug.gotoAndPlay("thug_deal");
setProperty(_root.keysyringe, _visible , false);
_root.item_array[number] = "empty";
_root.itemsyringe = false;
}
if (_root.itemsyringe == true) {
if (background16.junkie1.hittest(_root.pimp)) {
if (_root.freeze_action == false) {
_root.background16.junkie1.gotoAndPlay(2);
}
}
if (background16.junkie2.hittest(_root.pimp)) {
if (_root.freeze_action == false) {
_root.background16.junkie2.gotoAndPlay(2);
}
}
}
}
if (item_used == "keysyringefilled") {
if (_root.itemsyringefilled == true) {
if (background16.junkie1.hittest(_root.pimp) || (background16.junkie2.hittest(_root.pimp))) {
if (_root.freeze_action == false) {
if (_root.event_cop_bribe == true) {
_root.background16.junkie1.gotoAndPlay("sell_heroin");
_root.background16.junkie2.gotoAndPlay("sell_heroin");
setProperty(_root.keysyringe, _visible , false);
setProperty(_root.keysyringefilled, _visible , false);
_root.itemsyringefilled = false;
setProperty(_root.keymoney, _visible , false);
setProperty(_root.keymoneywad, _visible , true);
_root.itemmoney = true;
cash = cash + 600;
_root.event_deal = true;
_root.item_array[number] = "empty";
} else {
gotoAndPlay (2844);
}
}
} else if (_root.freeze_action == false) {
if (background15.cop.hittest(_root.pimp)) {
gotoAndPlay (2844);
} else {
_root.dialogue_dont_get_high.gotoAndPlay(2);
}
}
}
}
if (item_used == "keyscrewdriver") {
if ((_root.current_background == background22) && (itemscrewdriver == true)) {
setProperty(_root.keyscrewdriver, _visible , false);
_root.itemscrewdriver = false;
_root.item_array[number] = "empty";
_root.cutscene_finish_level = true;
}
}
if (item_used == "keyhanger") {
if (background1.car.hittest(_root.pimp) && (itemhanger == true)) {
if (_root.freeze_action == false) {
pimpy = 170;
if (_root.facing == 1) {
pimpx = 107;
} else {
pimpx = 149;
}
pimp._x = pimpx;
pimp._y = pimpy;
pimp._xscale = 70;
pimp._yscale = 70;
_root.car_unlocked = true;
setProperty(_root.keyhanger, _visible , false);
_root.itemhanger = false;
_root.item_array[number] = "empty";
_root.sc_car_unlock.gotoAndPlay(2);
_root.pimp.gotoAndPlay("pimp_unlock");
if (event_pickup == true) {
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
yolanda._x = (pimpx + adjusted_ho_offset) + 10;
yolanda._y = pimpy + adjusted_ho_offset;
}
}
}
}
if (item_used == "keycoat") {
if (_root.itemcoat == true) {
if (_root.freeze_action == false) {
if ((_root.event_pickup != true) && (_root.current_background != background21)) {
_root.freeze_action = true;
current_size = getProperty("pimp", _xscale);
removeMovieClip("pimp");
if (_root.event_clothes == true) {
_root.event_clothes = false;
duplicateMovieClip ("walk" add facing, "pimp", 3);
} else {
_root.event_clothes = true;
_root.sc_powerup.gotoAndPlay(2);
duplicateMovieClip ("walk_clothes" add facing, "pimp", 3);
}
pimp._x = pimpx;
pimp._y = pimpy;
setProperty("pimp", _xscale , current_size);
setProperty("pimp", _yscale , current_size);
duplicateMovieClip ("_root.poof", "newpoof", 5);
setProperty(_root.newpoof, _y , pimpy);
setProperty(_root.newpoof, _x , pimpx);
tellTarget (_root.newpoof) {
gotoAndPlay (2);
};
} else {
_root.dialogue_stay_in_character.gotoAndPlay(2);
}
}
}
}
if (item_used == "keynewspaper") {
if (_root.itemnewspaper == true) {
if (_root.freeze_action == false) {
_root.freeze_action = true;
duplicateMovieClip ("_root.newspaper_matchbook", "newnewspaper_matchbook", 12);
setProperty(_root.newnewspaper_matchbook, _y , 165);
setProperty(_root.newnewspaper_matchbook, _x , 215);
tellTarget (_root.newnewspaper_matchbook) {
gotoAndPlay (2);
};
}
}
if ((_root.itemnewspaper == true) && (_root.newnewspaper_matchbook._currentframe == 15)) {
_root.newnewspaper_matchbook.nextFrame();
}
}
}
function place_item(item) {
if (((item != "keydonut") && (item != "keyscrewdriver")) && (item != "keynewspaper")) {
_root.overlay.gotoAndPlay(2);
}
if (_root.item_array[1] == "empty") {
_root.item_array[1] = item;
return(item_offset);
}
if (_root.item_array[2] == "empty") {
_root.item_array[2] = item;
return(item_offset + (1 * item_spacing));
}
if (_root.item_array[3] == "empty") {
_root.item_array[3] = item;
return(item_offset + (2 * item_spacing));
}
if (_root.item_array[4] == "empty") {
_root.item_array[4] = item;
return(item_offset + (3 * item_spacing));
}
if (_root.item_array[5] == "empty") {
_root.item_array[5] = item;
return(item_offset + (4 * item_spacing));
}
}
function girl_placement_x(number) {
if (number == 1) {
return(-201);
}
if (number == 2) {
return(-148);
}
if (number == 3) {
return(-97);
}
if (number == 4) {
return(-46);
}
if (number == 5) {
return(0);
}
if (number == 6) {
return(49);
}
if (number == 7) {
return(95);
}
if (number == 8) {
return(146);
}
if (number == 9) {
return(196);
}
if (number == 10) {
return(-158);
}
if (number == 11) {
return(-71);
}
}
function girl_placement_y(number) {
if (number == 1) {
return(-8);
}
if (number == 2) {
return(-11);
}
if (number == 3) {
return(-12);
}
if (number == 4) {
return(-6);
}
if (number == 5) {
return(7);
}
if (number == 6) {
return(8);
}
if (number == 7) {
return(7);
}
if (number == 8) {
return(6);
}
if (number == 9) {
return(7);
}
if (number == 10) {
return(-44);
}
if (number == 11) {
return(-45);
}
}
function refresh(walkmode, ymovement) {
_root.ccc++;
_root.test_walkmode = walkmode;
_root.test_ymovement = ymovement;
if ((0 < walkmode) && (walkmode != facing)) {
if (walkmode < 3) {
facing = walkmode;
removeMovieClip("pimp");
if (event_clothes == false) {
duplicateMovieClip ("walk" add facing, "pimp", 3);
} else {
duplicateMovieClip ("walk_clothes" add facing, "pimp", 3);
}
pimp._x = pimpx;
pimp._y = pimpy;
walkmode = 0;
pimp_scale = pimp_scale_min + ((pimp_scale_max - pimp_scale_min) * ((pimpy - pimpy_min) / (pimpy_max - pimpy_min)));
setProperty("pimp", _xscale , pimp_scale);
setProperty("pimp", _yscale , pimp_scale);
if ((event_pickup == true) && (_root.current_background != background21)) {
removeMovieClip("yolanda");
duplicateMovieClip ("yolanda_walk" add facing, "yolanda", 2);
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
yolanda._x = pimpx - adjusted_ho_offset;
yolanda._y = pimpy - adjusted_ho_offset;
setProperty("yolanda", _xscale , pimp_scale);
setProperty("yolanda", _yscale , pimp_scale);
}
}
}
if ((walkmode == 1) && (ymovement == 0)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
} else {
pimpx = pimpx + walkxspeed;
}
}
if ((walkmode == 1) && (ymovement == -1)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
if (pimpy_min < pimpy) {
pimpy = pimpy - walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx + walkxspeed;
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 1) && (ymovement == 1)) {
if (pimpx_max < pimpx) {
_root.moving_right(_root.current_background);
if (pimpy < pimpy_max) {
pimpy = pimpy + walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx + walkxspeed;
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 2) && (ymovement == 0)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
} else {
pimpx = pimpx - walkxspeed;
}
}
if ((walkmode == 2) && (ymovement == -1)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
if (pimpy_min < pimpy) {
pimpy = pimpy - walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx - walkxspeed;
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
ymovement = 0;
}
}
if ((walkmode == 2) && (ymovement == 1)) {
if (pimpx < pimpx_min) {
_root.moving_left(_root.current_background);
if (pimpy < pimpy_max) {
pimpy = pimpy + walkyspeed;
ymovement = 0;
}
} else {
pimpx = pimpx - walkxspeed;
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
ymovement = 0;
}
}
if (walkmode == 3) {
if (pimpy < pimpy_min) {
_root.moving_up(_root.current_background);
} else {
pimpy = pimpy - walkyspeed;
}
}
if ((walkmode == 3) && (background9.door.hittest(_root.pimp))) {
_root.current_background = background20;
_root.set_background(_root.background20);
_root.pimpx = 202;
_root.pimp._x = _root.pimpx;
_root.pimpy = 184;
_root.pimp._y = _root.pimpy;
}
if ((walkmode == 3) && (background18.background.door.hittest(_root.pimp))) {
_root.current_background = background24;
_root.set_background(_root.background24);
_root.pimpx = 202;
_root.pimp._x = _root.pimpx;
_root.pimpy = 184;
_root.pimp._y = _root.pimpy;
}
if ((walkmode == 3) && (background2.door.hittest(_root.pimp))) {
if (((_root.event_clothes == true) && (cash >= 10)) && (event_paid_cover == false)) {
cash = cash - 10;
event_paid_cover = true;
_root.current_background = background21;
_root.set_background(_root.background21);
_root.pimpx = 254;
_root.pimp._x = _root.pimpx;
_root.pimpy = 184;
_root.pimp._y = _root.pimpy;
_root.entering_bar = true;
}
if ((_root.event_clothes == true) && (event_paid_cover == true)) {
if (event_pickup == false) {
_root.current_background = background21;
_root.set_background(_root.background21);
_root.pimpx = 254;
_root.pimp._x = _root.pimpx;
_root.pimpy = 184;
_root.pimp._y = _root.pimpy;
}
}
if ((cash < 10) && (event_paid_cover == false)) {
pimp.gotoAndStop(9);
tellTarget (_root.background2.knuckles) {
gotoAndPlay (2);
};
}
if ((cash >= 10) && (event_clothes == false)) {
if (event_pickup == false) {
pimp.gotoAndStop(9);
tellTarget (_root.background2.knuckles) {
gotoAndPlay ("no_clothes");
};
}
}
}
if (walkmode == 4) {
if (pimpy_max < pimpy) {
_root.moving_down(_root.current_background);
} else {
pimpy = pimpy + walkyspeed;
}
}
if (0 < walkmode) {
pimp._x = pimpx;
pimp._y = pimpy;
background._x = backgroundx;
pimp.nextFrame();
if ((event_pickup == true) && (_root.current_background != background21)) {
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
yolanda._x = pimpx - adjusted_ho_offset;
yolanda._y = pimpy - adjusted_ho_offset;
yolanda.nextFrame();
}
}
pimp_scale = pimp_scale_min + ((pimp_scale_max - pimp_scale_min) * ((pimpy - pimpy_min) / (pimpy_max - pimpy_min)));
setProperty("pimp", _xscale , pimp_scale);
setProperty("pimp", _yscale , pimp_scale);
if ((event_pickup == true) && (_root.current_background != background21)) {
setProperty("yolanda", _xscale , pimp_scale);
setProperty("yolanda", _yscale , pimp_scale);
}
if (_root.entering_bar == true) {
_root.entering_bar = false;
_root.dialogue_bar_bitches.gotoAndPlay(2);
}
if (_root.go_ask_for_ride == true) {
_root.go_ask_for_ride = false;
yolanda.gotoAndPlay("get_a_ride");
}
if (_root.background19.manhole_inner.hittest(_root.pimp) && (_root.manhole_fall == false)) {
_root.manhole_fall = true;
if (facing == 1) {
manhole_pimpx = 180;
}
if (facing == 2) {
manhole_pimpx = 240;
}
manhole_pimpy = 169;
pimp_scale = 100;
removeMovieClip("pimp");
if (_root.event_clothes == false) {
duplicateMovieClip ("walk" add facing, "pimp", 3);
} else {
duplicateMovieClip ("walk_clothes" add facing, "pimp", 3);
}
pimp._x = manhole_pimpx;
pimp._y = manhole_pimpy;
setProperty("pimp", _xscale , pimp_scale);
setProperty("pimp", _yscale , pimp_scale);
tellTarget (_root.pimp) {
gotoAndPlay ("manhole_fall");
};
}
if (background6.tripwire1.hittest(_root.pimp)) {
if (_root.tripwire1_hit == false) {
_root.tripwire1_hit = true;
_root.real_change_call();
}
}
if (background6.tripwire2.hittest(_root.pimp)) {
if (_root.tripwire2_hit == false) {
_root.tripwire2_hit = true;
_root.real_change_call();
}
}
_root.level2_refreshes++;
}
function restore() {
if ((_root.deal_underway == true) && (_root.event_deal2 == false)) {
_root.drug_deal_refreshes++;
if (_root.drug_deal_refreshes >= 3000) {
gotoAndPlay (2894);
}
}
if (_root.restore_graphic_call == true) {
_root.restore_graphics();
_root.restore_graphic_call = false;
}
if (_root.cutscene_pimping == true) {
gotoAndPlay (2974);
_root.cutscene_pimping = false;
}
if (_root.cutscene_finish_level == true) {
gotoAndPlay (3602);
_root.cutscene_finish_level = false;
}
if (_root.cutscene_manhole == true) {
_root.cutscene_manhole = false;
_root.in_process_of_fall = false;
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
gotoAndStop (390);
}
if (_root.cutscene_bitchslap == true) {
_root.cutscene_bitchslap = false;
gotoAndPlay (3229);
}
}
function action_button() {
_root.key_back_up = false;
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
if ((_root.background1.car.hittest(_root.pimp) && (_root.car_unlocked == true)) && (_root.freeze_action == false)) {
if (_root.event_pimping1 == true) {
_root.sc_car_door.gotoAndPlay(2);
_root.current_background = background22;
_root.set_background(_root.background22);
_root.freeze_action = true;
} else {
_root.dialogue_unfinishedbusiness.gotoAndPlay(2);
}
}
if ((_root.background1.car.hittest(_root.pimp) && (_root.car_unlocked == false)) && (_root.freeze_action == false)) {
if (_root.event_windowbust == true) {
_root.dialogue_car2.gotoAndPlay(2);
} else {
_root.dialogue_car.gotoAndPlay(2);
}
}
if (_root.background5.dumpster.hittest(_root.pimp)) {
if (((_root.nog_out == false) && (_root.event_nog == false)) && (_root.event_pickup == false)) {
tellTarget (_root.background5.dumpster) {
gotoAndPlay (3);
};
if (_root.event_nog == false) {
_root.nog_out = true;
}
}
if ((((_root.nog_out == false) && (_root.event_nog == false)) && (_root.event_pickup == true)) && (_root.event_pimping1 == false)) {
_root.event_pimping1 = true;
_root.cutscene_pimping = true;
_root.cash = _root.cash + 200;
}
}
if (_root.background13.thug.hittest(_root.pimp)) {
if (_root.needle_said == false) {
_root.needle_said = true;
if (_root.deal_underway == false) {
_root.pimp.gotoAndStop(1);
_root.background13.thug.nextFrame();
}
}
}
if (_root.background17.donut_stand.donut_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 0.499999) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (((_root.cash >= 0.49999) && (_root.itemdonut == false)) && (_root.event_cop_bribe == false)) {
_root.dialogue_donutbuy.gotoAndPlay(2);
_root.cash = _root.cash - 0.5;
if (cash < 0.01) {
cash = "0";
cash = Math.round(Number(cash));
}
_root.itemdonut = true;
key_xposition = _root.place_item("keydonut");
_root.keydonut._x = key_xposition;
}
}
if (_root.background24.shelf.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 2) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 2) && (_root.itemscrewdriver == false)) {
_root.dialogue_screwdriverbuy.gotoAndPlay(2);
_root.cash = _root.cash - 2;
_root.itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
}
}
if (((_root.itemhammer == false) && (_root.freeze_action == false)) && (_root.background19.toolbox.hittest(_root.pimp))) {
_root.itemhammer = true;
setProperty(_root.keyhammer, _visible , true);
setProperty(_root.background19.hammer, _visible , false);
_root.dialogue_hammer.gotoAndPlay(2);
key_xposition = _root.place_item("keyhammer");
_root.keyhammer._x = key_xposition;
}
if (((_root.itemcoat == false) && (_root.background20.coat.hittest(_root.pimp))) && (_root.freeze_action == false)) {
if (_root.cash < 100) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (_root.cash >= 100) {
_root.itemcoat = true;
setProperty(_root.keycoat, _visible , true);
setProperty(_root.background20.coat, _visible , false);
setProperty(_root.background9.coat, _visible , false);
_root.cash = _root.cash - 100;
_root.dialogue_vines.gotoAndPlay(2);
key_xposition = _root.place_item("keycoat");
_root.keycoat._x = key_xposition;
_root.freeze_action = true;
}
}
if ((((_root.itemhanger == false) && (_root.itemcoat == true)) && (_root.freeze_action == false)) && (_root.background20.hanger.hittest(_root.pimp))) {
_root.itemhanger = true;
setProperty(_root.keyhanger, _visible , true);
setProperty(_root.background20.hanger, _visible , false);
setProperty(_root.background9.hanger, _visible , false);
_root.dialogue_hanger.gotoAndPlay(2);
key_xposition = _root.place_item("keyhanger");
_root.keyhanger._x = key_xposition;
}
if (_root.background8.parking_meter._currentFrame == 2) {
if (_root.freeze_action == false) {
_root.dialogue_meter.gotoAndPlay(2);
}
}
if (_root.background16.junkie1.hittest(_root.pimp) || (_root.background16.junkie2.hittest(_root.pimp))) {
if ((_root.event_deal == false) && (_root.freeze_action == false)) {
_root.background16.junkie1.gotoAndPlay("got_smack");
}
}
if (_root.current_background == background21) {
if (_root.freeze_action == false) {
if (_root.background21.bar_girl3.hittest(_root.pimp)) {
_root.dialogue_chose.gotoAndPlay(2);
_root.event_pickup = true;
} else {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
}
if (((_root.current_background == background8) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.coin_count++;
if (_root.coin_count == 1) {
_root.itemcoin1 = true;
_root.dialogue_ill_take_that.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.1;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin1, _visible , false);
}
if (_root.coin_count == 2) {
_root.itemcoin2 = true;
_root.dialogue_and_that.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin2, _visible , false);
}
if (_root.coin_count == 3) {
_root.itemcoin3 = true;
_root.dialogue_and_that.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.1;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin3, _visible , false);
}
if (_root.coin_count == 4) {
_root.itemcoin4 = true;
_root.dialogue_and_that.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.05;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin4, _visible , false);
}
if (_root.coin_count == 5) {
_root.itemcoin5 = true;
_root.dialogue_and_that.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin5, _visible , false);
}
if (_root.coin_count == 6) {
_root.itemcoin6 = true;
_root.dialogue_and_that2.gotoAndPlay(2);
_root.itemmoney = true;
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
setProperty(_root.background8.coin6, _visible , false);
}
}
if (_root.background6.real_change_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 1) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 1) && (_root.itemnewspaper == false)) {
_root.background6.real_change_guy.gotoAndPlay("newspaper_buy");
}
}
if (0 >= cash) {
itemmoney = false;
setProperty("keymoney", _visible , false);
}
}
function spend_money() {
if (background17.donut_stand.donut_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (cash < 0.499999) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (((cash >= 0.49999) && (itemdonut == false)) && (_root.event_cop_bribe == false)) {
_root.dialogue_donutbuy.gotoAndPlay(2);
cash = cash - 0.5;
if (cash < 0.01) {
cash = "0";
cash = Math.round(Number(cash));
}
itemdonut = true;
key_xposition = _root.place_item("keydonut");
_root.keydonut._x = key_xposition;
}
}
if (background24.shelf.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (cash < 2) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((cash >= 2) && (itemscrewdriver == false)) {
_root.dialogue_screwdriverbuy.gotoAndPlay(2);
cash = cash - 2;
itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
}
}
if (((_root.itemcoat == false) && (_root.background20.coat.hittest(_root.pimp))) && (_root.freeze_action == false)) {
if (_root.cash < 100) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (_root.cash >= 100) {
_root.itemcoat = true;
setProperty(_root.keycoat, _visible , true);
setProperty(_root.background20.coat, _visible , false);
setProperty(_root.background9.coat, _visible , false);
_root.cash = _root.cash - 100;
_root.dialogue_vines.gotoAndPlay(2);
key_xposition = _root.place_item("keycoat");
_root.keycoat._x = key_xposition;
}
}
if ((background13.thug.hittest(_root.pimp) && (_root.freeze_action == false)) && (_root.event_deal2 == false)) {
if (_root.event_deal == true) {
_root.background13.thug.gotoAndPlay("thug_pay");
_root.event_deal2 = true;
if (2 >= cash) {
setProperty(_root.keymoney, _visible , true);
setProperty(_root.keymoneywad, _visible , false);
}
}
}
if (_root.background6.real_change_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 1) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 1) && (_root.itemnewspaper == false)) {
_root.background6.real_change_guy.gotoAndPlay("newspaper_buy");
}
}
if (0 >= cash) {
itemmoney = false;
setProperty("keymoney", _visible , false);
}
}
function exit_key() {
_root.hidden_pimp_screen = false;
if (_root.current_background == background22) {
_root.head._visible = true;
_root.pimp._visible = true;
_root.yolanda._visible = true;
_root.freeze_action = false;
_root.current_background = background1;
_root.set_background(_root.background1);
}
}
function real_change_call() {
if (_root.event_real_change_ask == false) {
_root.real_change_count++;
if (_root.real_change_count == 1) {
_root.background6.real_change_guy.gotoAndPlay("real_change_ask");
_root.background6.real_change_guy.real_change_guy_motion.gotoAndPlay(2);
}
if (_root.real_change_count == 2) {
_root.real_change_count = 0;
if (_root.event_pickup == false) {
_root.background6.real_change_guy.gotoAndPlay("sir");
}
if (_root.event_pickup == true) {
_root.background6.real_change_guy.gotoAndPlay("madam");
}
_root.event_real_change_ask = true;
}
}
}
walkxspeed = 7;
walkyspeed = 4;
facing = 1;
pimpx = 178;
pimpy = 165;
backgroundx = 223;
backgroundy = 142;
Mouse.show();
duplicateMovieClip ("walk" add facing, "pimp", 3);
setProperty("pimp", _visible , false);
duplicateMovieClip ("yolanda_walk" add facing, "yolanda", 2);
duplicateMovieClip ("lamp_post", "lamp_post2", 5);
lamp_post2._x = 200;
lamp_post2._y = 1000;
duplicateMovieClip ("money_text", "money_text2", 9);
money_text2._x = 277.7;
money_text2._y = 229.1;
duplicateMovieClip ("head", "head", 10);
overlayx = overlay._x;
overlayy = overlay._y;
head._x = overlayx;
head._y = overlayy;
levelcomplete2 = false;
event_clothes = false;
event_meterbust = false;
event_windowbust = false;
freeze_action = false;
talking = false;
_root.nog_out = false;
event_nog = false;
event_cop = false;
event_cop_bribe = false;
event_deal = false;
event_deal2 = false;
cantaffordsaid = false;
event_ask_for_ride = false;
itemhammer = false;
itemmoney = false;
itemdonut = false;
itemhanger = false;
itemscrewdriver = false;
itemcoat = false;
itemsyringefilled = false;
itemnewspaper = false;
bitch_slap_count = 0;
real_change_ask_count = 0;
instructions_timer_total = 0;
donut_guy_talking = false;
setProperty(_root.keyhammer, _visible , false);
setProperty(_root.keymoney, _visible , false);
setProperty(_root.keymoneywad, _visible , false);
setProperty(_root.keydonut, _visible , false);
setProperty(_root.keyhanger, _visible , false);
setProperty(_root.keyscrewdriver, _visible , false);
setProperty(_root.keycoat, _visible , false);
setProperty(_root.keysyringe, _visible , false);
setProperty(_root.keysyringefilled, _visible , false);
setProperty(_root.keynewspaper, _visible , false);
cash = 0;
itemcoin1 = false;
itemcoin2 = false;
itemcoin3 = false;
itemcoin4 = false;
itemcoin5 = false;
itemcoin6 = false;
setProperty(_root.background8.coin1, _visible , false);
setProperty(_root.background8.coin2, _visible , false);
setProperty(_root.background8.coin3, _visible , false);
setProperty(_root.background8.coin4, _visible , false);
setProperty(_root.background8.coin5, _visible , false);
setProperty(_root.background8.coin6, _visible , false);
restore_graphic_call = false;
deal_underway = false;
event_paid_cover = false;
event_pickup = false;
ho_offset = 20;
needle_said = false;
event_pimping1 = false;
cutscene_pimping1 = false;
car_unlocked = false;
item_spacing = 50;
item_offset = 75;
manhole_fall = false;
cutscene_manhole = false;
bar_line_time = getTimer();
patron_move6 = false;
patron_move5 = false;
patron_move4 = false;
patron_move3 = false;
patron_move2 = false;
patron_move1 = false;
coin_count = 0;
_root.current_level = 2;
_root.from_bitch_slap = false;
drug_deal_refreshes = 0;
level2_refreshes = 0;
if (_root.testmode == true) {
_root.testvars._y = 10;
} else {
_root.testvars._visible = false;
_root.testvars._y = 1000;
}
item_array = new Array(0, "empty", "empty", "empty", "empty", "empty");
if (_root.from_loaded_game != true) {
duplicateMovieClip ("_root.bus", "newbus", 6);
setProperty(_root.newbus, _xscale , 75);
setProperty(_root.newbus, _yscale , 75);
setProperty(_root.newbus, _y , 170);
setProperty(_root.newbus, _x , 700);
_root.newbus.gotoAndPlay(2);
pimp._x = pimpx;
pimp._y = pimpy;
background2._x = backgroundx;
background2._y = backgroundy;
current_background = background2;
_root.background_number = "02";
club_music_started = true;
club_music_sound = new Sound(mc_club_music);
club_music_sound.attachSound("club_musicsound");
club_music_sound.start(0, 999);
pimpx_min = 40;
pimpx_max = 380;
pimpy_min = 165;
pimpy_max = 180;
setProperty("pimp", _xscale , 50);
setProperty("pimp", _yscale , 50);
pimp_scale_max = 58;
pimp_scale_min = 50;
_root.arrow_up._alpha = 0;
_root.arrow_down._alpha = 0;
_root.arrow_left._alpha = 50;
_root.arrow_right._alpha = 50;
_root.background2.background.door.gotoAndPlay(2);
itemsyringe = true;
setProperty(_root.keysyringe, _visible , true);
key_xposition = _root.place_item("keysyringe");
_root.syringe._x = key_xposition;
}
if (_root.from_loaded_game == true) {
_root.from_loaded_game = false;
_root.testaaa = _root.binary_string;
checker = _root.binary_string.slice(0, 1);
if (checker == 1) {
_root.event_pimping1 = true;
setProperty("yolanda", _visible , true);
} else {
_root.event_pimping1 = false;
}
checker = _root.binary_string.slice(1, 2);
if (checker == 1) {
_root.itemcoat = true;
key_xposition = _root.place_item("keycoat");
_root.keycoat._x = key_xposition;
} else {
_root.itemcoat = false;
}
checker = _root.binary_string.slice(2, 3);
if (checker == 1) {
_root.itemcoin1 = true;
} else {
_root.itemcoin1 = false;
}
checker = _root.binary_string.slice(3, 4);
if (checker == 1) {
_root.itemcoin2 = true;
} else {
_root.itemcoin2 = false;
}
checker = _root.binary_string.slice(4, 5);
if (checker == 1) {
_root.itemcoin3 = true;
} else {
_root.itemcoin3 = false;
}
checker = _root.binary_string.slice(5, 6);
if (checker == 1) {
_root.itemcoin4 = true;
} else {
_root.itemcoin4 = false;
}
checker = _root.binary_string.slice(6, 7);
if (checker == 1) {
_root.itemcoin5 = true;
} else {
_root.itemcoin5 = false;
}
checker = _root.binary_string.slice(7, 8);
if (checker == 1) {
_root.itemcoin6 = true;
} else {
_root.itemcoin6 = false;
}
checker = _root.binary_string.slice(8, 9);
if (checker == 1) {
_root.itemdonut = true;
key_xposition = _root.place_item("keydonut");
_root.keydonut._x = key_xposition;
} else {
_root.itemdonut = false;
}
checker = _root.binary_string.slice(9, 10);
if (checker == 1) {
_root.itemhammer = true;
key_xposition = _root.place_item("keyhammer");
_root.keyhammer._x = key_xposition;
} else {
_root.itemhammer = false;
}
checker = _root.binary_string.slice(10, 11);
if (checker == 1) {
_root.itemhanger = true;
key_xposition = _root.place_item("keyhanger");
_root.keyhanger._x = key_xposition;
} else {
_root.itemhanger = false;
}
checker = _root.binary_string.slice(11, 12);
if (checker == 1) {
_root.itemmoney = true;
} else {
_root.itemmoney = false;
}
checker = _root.binary_string.slice(12, 13);
if (checker == 1) {
_root.itemnewspaper = true;
key_xposition = _root.place_item("keynewspaper");
_root.keynewspaper._x = key_xposition;
} else {
_root.itemnewspaper = false;
}
checker = _root.binary_string.slice(13, 14);
if (checker == 1) {
_root.itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
} else {
_root.itemscrewdriver = false;
}
checker = _root.binary_string.slice(14, 15);
if (checker == 1) {
_root.itemsyringe = true;
key_xposition = _root.place_item("keysyringe");
_root.keysyringe._x = key_xposition;
} else {
_root.itemsyringe = false;
}
checker = _root.binary_string.slice(15, 16);
if (checker == 1) {
_root.itemsyringefilled = true;
key_xposition = _root.place_item("keysyringefilled");
_root.keysyringefilled._x = key_xposition;
} else {
_root.itemsyringefilled = false;
}
checker = _root.binary_string.slice(16, 17);
if (checker == 1) {
_root.bitch_slap_count = 1;
} else {
_root.bitch_slap_count = 0;
}
checker = _root.binary_string.slice(17, 18);
if (checker == 1) {
_root.car_unlocked = true;
} else {
_root.car_unlocked = false;
}
checker = _root.binary_string.slice(18, 19);
if (checker == 1) {
_root.deal_underway = true;
} else {
_root.deal_underway = false;
}
checker = _root.binary_string.slice(19, 20);
if (checker == 1) {
_root.event_ask_for_ride = true;
} else {
_root.event_ask_for_ride = false;
}
checker = _root.binary_string.slice(20, 21);
if (checker == 1) {
_root.event_clothes = true;
} else {
_root.event_clothes = false;
}
checker = _root.binary_string.slice(21, 22);
if (checker == 1) {
_root.cop_bribe = true;
} else {
_root.cop_bribe = false;
}
checker = _root.binary_string.slice(22, 23);
if (checker == 1) {
_root.event_deal = true;
} else {
_root.event_deal = false;
}
checker = _root.binary_string.slice(23, 24);
if (checker == 1) {
_root.event_deal2 = true;
} else {
_root.event_deal2 = false;
}
checker = _root.binary_string.slice(24, 25);
if (checker == 1) {
_root.event_meterbust = true;
} else {
_root.event_meterbust = false;
}
checker = _root.binary_string.slice(25, 26);
if (checker == 1) {
_root.event_paid_cover = true;
} else {
_root.event_paid_cover = false;
}
checker = _root.binary_string.slice(26, 27);
if (checker == 1) {
_root.event_pickup = true;
} else {
_root.event_pickup = false;
}
checker = _root.binary_string.slice(27, 28);
if (checker == 1) {
_root.event_windowbust = true;
} else {
_root.event_windowbust = false;
}
_root.cash = Number(_root.load_passcode_array[2]) / 100;
background_translate = Number(_root.load_passcode_array[3]);
if (_root.background_translate == 1) {
_root.current_background = background1;
pimpx = 200;
pimpy = 180;
pimpscale = 75;
}
if (_root.background_translate == 2) {
_root.current_background = background2;
pimpx = 200;
pimpy = 180;
pimpscale = 60;
}
if (_root.background_translate == 3) {
_root.current_background = background3;
pimpx = 200;
pimpy = 215;
pimpscale = 50;
}
if (_root.background_translate == 4) {
_root.current_background = background4;
pimpx = 200;
pimpy = 190;
pimpscale = 50;
}
if (_root.background_translate == 5) {
_root.current_background = background5;
pimpx = 200;
pimpy = 180;
pimpscale = 100;
}
if (_root.background_translate == 6) {
_root.current_background = background6;
pimpx = 200;
pimpy = 180;
pimpscale = 100;
}
if (_root.background_translate == 7) {
_root.current_background = background7;
pimpx = 200;
pimpy = 180;
pimpscale = 100;
}
if (_root.background_translate == 8) {
_root.current_background = background8;
pimpx = 200;
pimpy = 188;
pimpscale = 125;
}
if (_root.background_translate == 9) {
_root.current_background = background9;
pimpx = 200;
pimpy = 180;
pimpscale = 80;
}
if (_root.background_translate == 10) {
_root.current_background = background10;
pimpx = 200;
pimpy = 180;
pimpscale = 93;
}
if (_root.background_translate == 11) {
_root.current_background = background11;
pimpx = 200;
pimpy = 180;
pimpscale = 78;
}
if (_root.background_translate == 12) {
_root.current_background = background12;
pimpx = 200;
pimpy = 180;
pimpscale = 92;
}
if (_root.background_translate == 13) {
_root.current_background = background13;
pimpx = 200;
pimpy = 180;
pimpscale = 112;
}
if (_root.background_translate == 14) {
_root.current_background = background14;
pimpx = 200;
pimpy = 180;
pimpscale = 70;
}
if (_root.background_translate == 15) {
_root.current_background = background15;
pimpx = 200;
pimpy = 180;
pimpscale = 85;
}
if (_root.background_translate == 16) {
_root.current_background = background16;
pimpx = 200;
pimpy = 180;
pimpscale = 102;
}
if (_root.background_translate == 17) {
_root.current_background = background17;
pimpx = 200;
pimpy = 180;
pimpscale = 100;
}
if (_root.background_translate == 18) {
_root.current_background = background18;
pimpx = 200;
pimpy = 170;
pimpscale = 75;
}
if (_root.background_translate == 19) {
_root.current_background = background19;
pimpx = 200;
pimpy = 180;
pimpscale = 100;
}
if (_root.background_translate == 20) {
_root.current_background = background20;
pimpx = 200;
pimpy = 176;
pimpscale = 100;
}
if (_root.background_translate == 21) {
_root.current_background = background21;
pimpx = 200;
pimpy = 200;
pimpscale = 95;
}
if (_root.background_translate == 22) {
_root.current_background = background22;
_root.hidden_pimp_screen = true;
pimpx = 200;
pimpy = 180;
pimpscale = 75;
}
if (_root.background_translate == 23) {
_root.current_background = background23;
pimpx = 200;
pimpy = 180;
pimpscale = 93;
}
if (_root.background_translate == 24) {
_root.current_background = background24;
pimpx = 200;
pimpy = 196;
pimpscale = 110;
}
_root.coin_count = Number(_root.load_passcode_array[4]);
_root.level2_refreshes = 100 * Number(_root.load_passcode_array[5]);
_root.drug_deal_refreshes = 100 * Number(_root.load_passcode_array[6]);
pimp._x = pimpx;
pimp._y = pimpy;
if (event_pickup == true) {
adjusted_ho_offset = ho_offset * (pimp_scale / 100);
yolanda._x = pimpx - adjusted_ho_offset;
yolanda._y = pimpy - adjusted_ho_offset;
}
if (_root.background_translate != 22) {
_root.freeze_action = false;
} else {
_root.freeze_action = true;
}
_root.restore_graphics();
}
Instance of Symbol 2300 MovieClip in Frame 2842
onClipEvent (enterFrame) {
_root.abc++;
_root.restore();
if (_root.freeze_action == false) {
if (Key.isDown(Key.RIGHT)) {
_root.walkmode = 1;
_root.ymovement = 0;
}
if (Key.isDown(Key.LEFT)) {
_root.walkmode = 2;
_root.ymovement = 0;
}
if (Key.isDown(Key.UP)) {
_root.walkmode = 3;
}
if (Key.isDown(Key.DOWN)) {
_root.walkmode = 4;
}
if (Key.isDown(Key.UP) && (Key.isDown(Key.RIGHT))) {
_root.walkmode = 1;
_root.ymovement = -1;
}
if (Key.isDown(Key.UP) && (Key.isDown(Key.LEFT))) {
_root.walkmode = 2;
_root.ymovement = -1;
}
if (Key.isDown(Key.DOWN) && (Key.isDown(Key.RIGHT))) {
_root.walkmode = 1;
_root.ymovement = 1;
}
if (Key.isDown(Key.DOWN) && (Key.isDown(Key.LEFT))) {
_root.walkmode = 2;
_root.ymovement = 1;
}
_root.refresh(_root.walkmode, _root.ymovement);
}
if (_root.key_back_up == true) {
if (Key.isDown(Key.SPACE)) {
_root.action_button();
}
if (Key.isDown(49)) {
_root.spend_money();
_root.key_back_up = false;
}
if (Key.isDown(69)) {
_root.exit_key();
_root.key_back_up = false;
}
if (Key.isDown(50)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(1);
_root.key_back_up = false;
}
if (Key.isDown(51)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(2);
_root.key_back_up = false;
}
if (Key.isDown(52)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(3);
_root.key_back_up = false;
}
if (Key.isDown(53)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(4);
_root.key_back_up = false;
}
if (Key.isDown(54)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(5);
_root.key_back_up = false;
}
if (Key.isDown(55)) {
if (_root.freeze_action == false) {
_root.pimp.gotoAndStop(1);
}
_root.use_item(6);
_root.key_back_up = false;
}
}
}
onClipEvent (keyUp) {
_root.key_back_up = true;
}
Frame 2843
stop();
Frame 2844
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
Frame 2845
_root.dialogue_cop_bust.gotoAndPlay(2);
Frame 2893
stop();
Frame 2894
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
stopAllSounds();
Frame 2913
stopAllSounds();
_root.dialogue_thug_bust.gotoAndPlay(2);
Frame 2973
stop();
Frame 2974
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
stopAllSounds();
_root.club_music_started = false;
_root.sc_pimping.gotoAndPlay(2);
Frame 3150
_root.sc_kaching.gotoAndPlay(2);
Frame 3228
_root.restore_graphic_call = true;
gotoAndPlay (2843);
Frame 3229
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
Frame 3235
_root.sc_bitch_slap.gotoAndPlay(2);
_root.cinematic_pimp.gotoAndPlay(2);
Frame 3253
_root.cinematic_pimp.head.gotoAndPlay(2);
Frame 3304
_root.bitch_slap_count++;
if (_root.bitch_slap_count == 2) {
gotoAndPlay (3305);
} else {
_root.restore_graphic_call = true;
_root.from_bitch_slap = true;
gotoAndPlay (2843);
}
Frame 3305
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
stopAllSounds();
Frame 3335
_root.sc_kicked_out.gotoAndPlay(2);
Frame 3398
stop();
Frame 3399
function generate_passcode() {
if (_root.current_level == 1) {
passcode_array = new Array();
passcode_array[0] = _root.current_level;
passcode_array[1] = (((((((128 * Number(_root.event_madethecall)) + (64 * Number(_root.itemsyringe))) + (32 * Number(_root.itemmatchbook))) + (16 * Number(_root.itemjager))) + (8 * Number(_root.itemmoney))) + (4 * Number(_root.event_warning))) + (2 * Number(_root.event_nog))) + (1 * Number(_root.drunk));
if (passcode_array[1] == 0) {
passcode_array[1] = "000000000";
}
if ((0 < passcode_array[1]) && (passcode_array[1] < 10)) {
passcode_array[1] = "00000000" + passcode_array[1];
}
if ((passcode_array[1] >= 10) && (passcode_array[1] < 100)) {
passcode_array[1] = "0000000" + passcode_array[1];
}
if ((passcode_array[1] >= 100) && (passcode_array[1] < 1000)) {
passcode_array[1] = "000000" + passcode_array[1];
}
if ((passcode_array[1] >= 1000) && (passcode_array[1] < 10000)) {
passcode_array[1] = "00000" + passcode_array[1];
}
if ((passcode_array[1] >= 10000) && (passcode_array[1] < 100000)) {
passcode_array[1] = "0000" + passcode_array[1];
}
if ((passcode_array[1] >= 100000) && (passcode_array[1] < 1000000)) {
passcode_array[1] = "000" + passcode_array[1];
}
if ((passcode_array[1] >= 1000000) && (passcode_array[1] < 10000000)) {
passcode_array[1] = "00" + passcode_array[1];
}
if ((passcode_array[1] >= 10000000) && (passcode_array[1] < 100000000)) {
passcode_array[1] = "0" + passcode_array[1];
}
passcode_array[2] = _root.cash * 100;
if (_root.cash == 0) {
passcode_array[2] = "00000";
}
if ((0 < _root.cash) && (_root.cash < 0.1)) {
passcode_array[2] = "0000" + passcode_array[2];
}
if ((_root.cash >= 0.1) && (_root.cash < 1)) {
passcode_array[2] = "000" + passcode_array[2];
}
if ((_root.cash >= 1) && (_root.cash < 10)) {
passcode_array[2] = "00" + passcode_array[2];
}
if ((_root.cash >= 10) && (_root.cash < 100)) {
passcode_array[2] = "0" + passcode_array[2];
}
passcode_array[3] = _root.background_number;
passcode_array[4] = _root.coinreturn_coins;
passcode_array[5] = "00";
passcode_array[6] = "00";
parity_bits = ((((Number(passcode_array[1]) * 2) + 27) + (100 * Number(passcode_array[2]))) + (2 * Number(passcode_array[3]))) + 37;
parity_bits = String(parity_bits);
parity_string = new String(parity_bits);
passcode_array[7] = parity_string.slice(0, 2);
}
if (_root.current_level == 2) {
passcode_array = new Array();
passcode_array[0] = _root.current_level;
passcode_array[1] = (((((((((((((((((((((((((((134217728 * Number(_root.event_pimping1)) + (67108864 * Number(_root.itemcoat))) + (33554432 * Number(_root.itemcoin1))) + (16777216 * Number(_root.itemcoin2))) + (8388608 * Number(_root.itemcoin3))) + (4194304 * Number(_root.itemcoin4))) + (2097152 * Number(_root.itemcoin5))) + (1048576 * Number(_root.itemcoin6))) + (524288 * Number(_root.itemdonut))) + (262144 * Number(_root.itemhammer))) + (131072 * Number(_root.itemhanger))) + (65536 * Number(_root.itemmoney))) + (32768 * Number(_root.itemnewspaper))) + (16384 * Number(_root.itemscrewdriver))) + (8192 * Number(_root.itemsyringe))) + (4096 * Number(_root.itemsyringefilled))) + (2048 * Number(_root.bitch_slap_count))) + (1024 * Number(_root.car_unlocked))) + (512 * Number(_root.deal_underway))) + (256 * Number(_root.event_ask_for_ride))) + (128 * Number(_root.event_clothes))) + (64 * Number(_root.cop_bribe))) + (32 * Number(_root.event_deal))) + (16 * Number(_root.event_deal2))) + (8 * Number(_root.event_meterbust))) + (4 * Number(_root.event_paid_cover))) + (2 * Number(_root.event_pickup))) + (1 * Number(_root.event_windowbust));
if (passcode_array[1] == 0) {
passcode_array[1] = "000000000";
}
if ((0 < passcode_array[1]) && (passcode_array[1] < 10)) {
passcode_array[1] = "00000000" + passcode_array[1];
}
if ((passcode_array[1] >= 10) && (passcode_array[1] < 100)) {
passcode_array[1] = "0000000" + passcode_array[1];
}
if ((passcode_array[1] >= 100) && (passcode_array[1] < 1000)) {
passcode_array[1] = "000000" + passcode_array[1];
}
if ((passcode_array[1] >= 1000) && (passcode_array[1] < 10000)) {
passcode_array[1] = "00000" + passcode_array[1];
}
if ((passcode_array[1] >= 10000) && (passcode_array[1] < 100000)) {
passcode_array[1] = "0000" + passcode_array[1];
}
if ((passcode_array[1] >= 100000) && (passcode_array[1] < 1000000)) {
passcode_array[1] = "000" + passcode_array[1];
}
if ((passcode_array[1] >= 1000000) && (passcode_array[1] < 10000000)) {
passcode_array[1] = "00" + passcode_array[1];
}
if ((passcode_array[1] >= 10000000) && (passcode_array[1] < 100000000)) {
passcode_array[1] = "0" + passcode_array[1];
}
passcode_array[2] = Math.round(_root.cash * 100);
temp_cash100 = passcode_array[2];
if (temp_cash100 == 0) {
passcode_array[2] = "00000";
}
if ((0 < temp_cash100) && (temp_cash100 < 10)) {
passcode_array[2] = "0000" + passcode_array[2];
}
if ((temp_cash100 >= 10) && (temp_cash100 < 100)) {
passcode_array[2] = "000" + passcode_array[2];
}
if ((temp_cash100 >= 100) && (temp_cash100 < 1000)) {
passcode_array[2] = "00" + passcode_array[2];
}
if ((temp_cash100 >= 1000) && (temp_cash100 < 10000)) {
passcode_array[2] = "0" + passcode_array[2];
}
passcode_array[3] = _root.background_number;
passcode_array[4] = _root.coin_count;
passcode_array[5] = Math.round(_root.level2_refreshes / 100);
if (_root.level2_refreshes >= 10000) {
passcode_array[5] = "99";
}
if (_root.level2_refreshes < 100) {
passcode_array[5] = "00";
}
if ((_root.level2_refreshes >= 100) && (_root.level2_refreshes < 1000)) {
passcode_array[5] = "0" + Math.round(_root.level2_refreshes / 100);
}
passcode_array[6] = Math.round(_root.drug_deal_refreshes / 100);
if (_root.drug_deal_refreshes >= 3000) {
passcode_array[6] = "99";
}
if (_root.drug_deal_refreshes < 100) {
passcode_array[6] = "00";
}
if ((_root.drug_deal_refreshes >= 100) && (_root.drug_deal_refreshes < 1000)) {
passcode_array[6] = "0" + Math.round(_root.drug_deal_refreshes / 100);
}
parity_bits = ((((Number(passcode_array[1]) * 2) + 27) + (100 * Number(passcode_array[2]))) + (2 * Number(passcode_array[3]))) + 37;
parity_bits = String(parity_bits);
parity_string = new String(parity_bits);
passcode_array[7] = parity_string.slice(0, 2);
}
passcode_array[0] = String(passcode_array[0]);
passcode_array[1] = String(passcode_array[1]);
passcode_array[2] = String(passcode_array[2]);
passcode_array[3] = String(passcode_array[3]);
passcode_array[4] = String(passcode_array[4]);
passcode_array[5] = String(passcode_array[5]);
passcode_array[6] = String(passcode_array[6]);
passcode_array[7] = String(passcode_array[7]);
_root.save_passcode_all = (((((((((((((passcode_array[0] + "-") + passcode_array[1]) + "-") + passcode_array[2]) + "-") + passcode_array[3]) + "-") + passcode_array[4]) + "-") + passcode_array[5]) + "-") + passcode_array[6]) + "-") + passcode_array[7];
_root.save_passcode = ((((((passcode_array[0] + passcode_array[1]) + passcode_array[2]) + passcode_array[3]) + passcode_array[4]) + passcode_array[5]) + passcode_array[6]) + passcode_array[7];
test_numberX = Number(passcode_array[1]);
test_numberY = new Number(test_numberX);
_root.hexidecimal = test_numberX.toString(16);
}
stopAllSounds();
if (_root.current_level == 1) {
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("dynamic_bus_stop2", _visible , false);
_root.freeze_action = true;
}
if (_root.current_level == 2) {
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
_root.freeze_action = true;
_root.club_music_started = false;
}
_root.save_passcode_all = "";
Frame 3400
stop();
Frame 3602
setProperty("head", _visible , false);
setProperty("pimp", _visible , false);
setProperty("money_text2", _visible , false);
setProperty("lamp_post2", _visible , false);
setProperty("yolanda", _visible , false);
Frame 5385
stop();
Symbol 8 Button
on (release) {
if (((_root.itemjager == false) && (_root.event_nog == false)) && (_root.drunk == false)) {
_root.itemjager = true;
setProperty(_root.keyjager, _visible , true);
setProperty(_root.background9.bottle, _visible , false);
_root.dialogue_jagermeister.gotoAndPlay(2);
key_xposition = _root.place_item("keyjager");
_root.keyjager._x = key_xposition;
}
}
Symbol 9 MovieClip [jager] Frame 1
stop();
Symbol 10 MovieClip [jager] Frame 1
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 29 Button
on (release) {
gotoAndPlay (12);
}
Symbol 35 Button
on (release) {
gotoAndStop (11);
}
Symbol 41 Button
on (release) {
gotoAndPlay (7);
}
Symbol 44 Button
on (release) {
getURL ("http://flashghetto.com", "_blank");
}
Symbol 57 MovieClip Frame 1
stop();
Symbol 63 Button
on (release) {
gotoAndPlay (14);
}
Symbol 91 Button
on (release) {
nextFrame();
}
Symbol 98 Button
on (release) {
if (((((_root.current_level == "action") || (_root.current_level == "dead")) || (_root.current_level == 1)) || (_root.current_level == "shooter")) || (_root.current_level == 2)) {
gotoAndPlay (3399);
} else {
gotoAndStop (5);
}
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 156 Button
on (release) {
gotoAndStop (7);
}
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 2
stop();
Symbol 176 MovieClip Frame 3
stop();
Symbol 176 MovieClip Frame 4
stop();
Symbol 176 MovieClip Frame 5
stop();
Symbol 176 MovieClip Frame 6
stop();
Symbol 176 MovieClip Frame 7
stop();
Symbol 176 MovieClip Frame 8
stop();
Symbol 176 MovieClip Frame 9
stop();
Symbol 178 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(2);
}
Symbol 186 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(7);
}
Symbol 188 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(8);
}
Symbol 196 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(6);
}
Symbol 198 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(9);
}
Symbol 204 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 214 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(4);
}
Symbol 218 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(3);
}
Symbol 220 Button
on (rollOver) {
_root.descriptions_mc.gotoAndStop(5);
}
Symbol 222 Button
on (release) {
gotoAndPlay (5);
}
Symbol 244 MovieClip Frame 1
Set("/:walkmode", 0);
stop();
Symbol 244 MovieClip Frame 5
play();
Symbol 244 MovieClip Frame 25
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 251 Button
on (release) {
_root.check_if_loaded();
if (_root.freeze_action == false) {
_root.freeze_action = true;
_root.dialogue_dice_34towin.gotoAndStop(1);
_root.dialogue_dice_34tolose.gotoAndStop(1);
_root.dialogue_dice_5.gotoAndStop(1);
_root.dialogue_dice_52towin.gotoAndStop(1);
_root.dialogue_dice_52tolose.gotoAndStop(1);
_root.dialogue_dice_61towin.gotoAndStop(1);
_root.dialogue_dice_65towin.gotoAndStop(1);
_root.dialogue_dice_7tolose.gotoAndStop(1);
_root.dialogue_dice_box_cars.gotoAndStop(1);
_root.dialogue_dice_crapped_out.gotoAndStop(1);
_root.dialogue_dice_little_joe.gotoAndStop(1);
_root.dialogue_dice_pointget.gotoAndStop(1);
_root.dialogue_dice_point.gotoAndStop(1);
_root.dialogue_dice_snake_eyes.gotoAndStop(1);
_root.die1._visible = false;
_root.die2._visible = false;
_root.dice_roll_sound.gotoAndPlay(2);
_root.pimp_craps.gotoAndPlay("craps_roll");
frame = Number(random(6)) + 1;
die_roll1 = frame;
tellTarget ("die1") {
gotoAndStop(/:frame);
_rotation = random(360);
};
frame = Number(random(6)) + 1;
die_roll2 = frame;
tellTarget ("die2") {
gotoAndStop(/:frame);
_rotation = random(360);
};
}
if (_root.craps_game_started == false) {
}
}
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
pimp_location_x = _root.pimp_craps._x;
pimp_location_y = _root.pimp_craps._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
stop();
Symbol 285 Button
on (release) {
_root.start_main_game();
}
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
play();
Symbol 288 MovieClip Frame 24
_root.die1._visible = true;
_root.die2._visible = true;
Symbol 288 MovieClip Frame 25
if (_root.craps_game_started == false) {
_root.craps_game_started = true;
_root.dice_score(_root.die_roll1, _root.die_roll2, 1);
} else {
_root.dice_score(_root.die_roll1, _root.die_roll2, 2);
}
gotoAndStop (1);
Symbol 297 MovieClip Frame 34
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 304 Button
on (release) {
gotoAndPlay (177);
}
Symbol 308 Button
on (release) {
if ((_root.itemsyringe == false) && (_root.freeze_action == false)) {
if (_root.background6.dealer.hittest(_root.pimp) || (_root.background6.syringe.hittest(_root.pimp))) {
_root.itemsyringe = true;
setProperty(_root.keysyringe, _visible , true);
setProperty(_root.background6.syringe, _visible , false);
_root.dialogue_needle.gotoAndPlay(2);
key_xposition = _root.place_item("keysyringe");
_root.keysyringe._x = key_xposition;
}
}
}
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
stop();
Symbol 330 Button
on (release) {
gotoAndStop (389);
}
Symbol 332 Button
on (release) {
gotoAndStop (390);
}
Symbol 335 Button
on (release) {
gotoAndPlay (1366);
}
Symbol 336 Button
on (release) {
gotoAndPlay (2842);
}
Symbol 337 Button
on (release) {
gotoAndPlay (1370);
}
Symbol 338 Button
on (release) {
gotoAndStop (390);
}
Symbol 365 Button
on (release) {
if (((((_root.current_level == "action") || (_root.current_level == "dead")) || (_root.current_level == 1)) || (_root.current_level == "shooter")) || (_root.current_level == 2)) {
gotoAndPlay (3399);
} else {
gotoAndStop (390);
}
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
stop();
Symbol 391 Button
on (release) {
gotoAndPlay (391);
}
Symbol 394 Button
on (release) {
_root.lives = 3;
gotoAndPlay (391);
}
Symbol 395 Button
on (release) {
if (_root.action_scene_complete == true) {
gotoAndPlay (1366);
} else {
gotoAndPlay (1366);
}
}
Symbol 396 Button
on (release) {
if (_root.levelcomplete1 == true) {
gotoAndPlay (1370);
}
}
Symbol 397 Button
on (release) {
if (_root.shooter_complete == true) {
gotoAndPlay (2842);
}
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 14
stop();
Symbol 424 MovieClip Frame 35
stop();
Symbol 495 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 10
stop();
Symbol 501 MovieClip Frame 30
stop();
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 10
stop();
Symbol 522 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 528 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 531 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 547 MovieClip Frame 1
stop();
Symbol 607 Button
on (release) {
gotoAndPlay (1);
}
Symbol 608 Button
on (release) {
if (_root.background6.crate.hittest(_root.pimp)) {
_root.current_background = background8;
_root.set_background(_root.background8);
}
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
stop();
Symbol 612 MovieClip Frame 3
stop();
Symbol 629 MovieClip Frame 1
stop();
Symbol 645 Button
on (release) {
gotoAndPlay (391);
}
Symbol 649 MovieClip Frame 10
stop();
Symbol 650 Button
on (release) {
stopAllSounds();
gotoAndPlay (1366);
}
Symbol 660 Button
on (release) {
if (_root.freeze_action == false) {
gotoAndPlay (3399);
}
}
Symbol 663 Button
on (release) {
gotoAndPlay (391);
}
Symbol 665 Button
on (release) {
setProperty("head", _visible , true);
setProperty("pimp", _visible , true);
setProperty("money_text2", _visible , true);
setProperty("lamp_post2", _visible , true);
gotoAndStop (390);
}
Symbol 667 Button
on (release) {
gotoAndPlay (391);
}
Symbol 697 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 2) {
gotoAndStop (2);
}
stop();
Symbol 697 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 1) {
gotoAndStop (1);
}
stop();
Symbol 759 MovieClip Frame 1
Set("/:walkmode", 0);
stop();
Symbol 759 MovieClip Frame 2
stop();
Symbol 759 MovieClip Frame 3
stop();
Symbol 759 MovieClip Frame 4
stop();
Symbol 759 MovieClip Frame 5
stop();
Symbol 759 MovieClip Frame 6
stop();
Symbol 759 MovieClip Frame 7
stop();
Symbol 759 MovieClip Frame 8
stop();
Symbol 759 MovieClip Frame 9
gotoAndStop (1);
Symbol 759 MovieClip Frame 15
_root.freeze_action = true;
play();
Symbol 759 MovieClip Frame 64
_root.freeze_action = false;
gotoAndStop (1);
Symbol 759 MovieClip Frame 80
_root.talking = true;
_root.freeze_action = true;
play();
Symbol 759 MovieClip Frame 81
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 83
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 85
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 87
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 89
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 91
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 93
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 95
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 97
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 99
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 759 MovieClip Frame 101
if (_root.talking == false) {
gotoAndStop (1);
}
gotoAndPlay (81);
Symbol 759 MovieClip Frame 115
_root.freeze_action = true;
_root.in_process_of_fall = true;
play();
Symbol 759 MovieClip Frame 190
_root.pimp._y = 1000;
gotoAndStop (1);
_root.freeze_action = false;
_root.background19._x = 1000;
_root.background19._y = 1000;
_root.cutscene_manhole = true;
Symbol 759 MovieClip Frame 197
_root.freeze_action = true;
play();
Symbol 759 MovieClip Frame 262
_root.freeze_action = false;
Symbol 759 MovieClip Frame 263
_root.freeze_action = false;
gotoAndStop (1);
Symbol 759 MovieClip Frame 265
_root.freeze_action = true;
play();
Symbol 759 MovieClip Frame 289
_root.freeze_action = false;
gotoAndStop (1);
Symbol 759 MovieClip Frame 295
_root.freeze_action = true;
play();
Symbol 759 MovieClip Frame 319
_root.drunk = true;
_root.dizzy.gotoAndPlay(2);
_root.dialogue_drunk.gotoAndPlay(2);
Symbol 759 MovieClip Frame 325
_root.freeze_action = true;
_root.original_ypos = this._y;
this._y = _root.original_ypos - 10;
play();
Symbol 759 MovieClip Frame 342
_root.freeze_action = false;
Symbol 759 MovieClip Frame 343
this._y = _root.original_ypos;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 765 Button
on (release) {
nextFrame();
}
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 2
play();
Symbol 766 MovieClip Frame 15
stop();
Symbol 766 MovieClip Frame 16
play();
Symbol 766 MovieClip Frame 24
_root.freeze_action = false;
Symbol 773 MovieClip Frame 1
stop();
Symbol 773 MovieClip Frame 2
play();
Symbol 773 MovieClip Frame 37
bus_fare = false;
if (_root.cash < 1) {
_root.sc_no_bus_fare.gotoAndPlay(2);
} else {
if (_root.event_madethecall == false) {
_root.sc_no_address.gotoAndPlay(2);
}
if (_root.event_madethecall == true) {
bus_fare = true;
_root.sc_outta_here.gotoAndPlay(2);
_root.cash = _root.cash - 1;
removeMovieClip("_root.pimp");
setProperty("_root.keymoney", _visible , false);
}
}
Symbol 773 MovieClip Frame 116
_root.freeze_action = false;
if ((_root.event_madethecall == true) && (bus_fare == true)) {
_root.removeMovieClip("dizzy");
_root.levelcomplete1 = true;
}
stop();
Symbol 779 Button
on (release) {
_root.pimp._visible = true;
_root.hidden_pimp_screen = false;
_root.current_background = background4;
_root.set_background(_root.background4);
if (_root.talking == false) {
_root.freeze_action = false;
}
}
Symbol 780 MovieClip Frame 1
stop();
Symbol 788 Button
on (release) {
_root.pimp._visible = true;
_root.hidden_pimp_screen = false;
_root.current_background = background6;
_root.set_background(_root.background6);
if (_root.talking == false) {
_root.freeze_action = false;
}
}
Symbol 789 Button
on (release) {
if (_root.itemmatchbook == false) {
_root.itemmatchbook = true;
setProperty(_root.keymatchbook, _visible , true);
setProperty(_root.background8.matchbook, _visible , false);
_root.dialogue_matchbook.gotoAndPlay(2);
key_xposition = _root.place_item("keymatchbook");
_root.keymatchbook._x = key_xposition;
}
}
Symbol 790 MovieClip Frame 1
stop();
Symbol 790 MovieClip Frame 2
play();
Symbol 790 MovieClip Frame 21
stop();
Symbol 809 Button
on (press) {
_root.dial(1);
}
Symbol 812 Button
on (press) {
_root.dial(2);
}
Symbol 815 Button
on (press) {
_root.dial(3);
}
Symbol 818 Button
on (press) {
_root.dial(4);
}
Symbol 821 Button
on (press) {
_root.dial(5);
}
Symbol 824 Button
on (press) {
_root.dial(6);
}
Symbol 827 Button
on (press) {
_root.dial(7);
}
Symbol 830 Button
on (press) {
_root.dial(8);
}
Symbol 833 Button
on (press) {
_root.dial(9);
}
Symbol 836 Button
on (press) {
_root.dial(10);
}
Symbol 838 Button
on (press) {
_root.dial(0);
}
Symbol 840 Button
on (press) {
_root.dial(11);
}
Symbol 845 Button
on (release) {
if ((0 < _root.coinreturn_coins) && (_root.phone_conversation_in_progress == false)) {
_root.sc_pay_up.gotoAndStop(1);
_root.sc_quarter_get.gotoAndPlay(2);
_root.cash = _root.cash + (_root.coinreturn_coins * 0.25);
_root.coinreturn_coins = 0;
_root.itemmoney = true;
setProperty(_root.keymoney, _visible , true);
}
}
Symbol 850 Button
on (release) {
if (_root.coin_deposited == false) {
if (0 < _root.cash) {
_root.cash = _root.cash - 0.25;
if (_root.cash < 0.25) {
_root.itemmoney = false;
setProperty(_root.keymoney, _visible , false);
}
_root.coin_deposited = true;
_root.master_number = 0;
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.background7.phone_receiver.gotoAndStop(2);
_root.sc_insert_coin.gotoAndPlay(2);
_root.sample_time1 = getTimer();
} else if ((_root.payup == false) && (_root.cash == 0)) {
_root.sc_pay_up.gotoAndPlay(2);
_root.payup = true;
}
} else if (_root.sc_only_a_quarter._currentframe == 1) {
_root.sc_only_a_quarter.gotoAndPlay(2);
}
}
Symbol 853 Button
on (release) {
if (_root.coin_deposited == true) {
_root.master_number = 0;
_root.number_position = 6;
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndStop(1);
_root.sc_dial_tone.gotoAndPlay(2);
}
}
Symbol 856 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 2
stop();
Symbol 875 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 2
play();
Symbol 875 MovieClip Frame 30
_root.phone_conversation_in_progress = true;
Symbol 875 MovieClip Frame 305
_root.phone_conversation_in_progress = false;
Symbol 875 MovieClip Frame 400
gotoAndStop (1);
Symbol 876 Button
on (release) {
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndStop(1);
_root.background7.phone_conversation.gotoAndStop(1);
_root.phone_conversation_in_progress = false;
stopAllSounds();
_root.background7.phone_receiver.gotoAndStop(1);
if (_root.coin_to_be_given_back == true) {
_root.coin_to_be_given_back = false;
_root.coin_deposited = false;
_root.coinreturn_coins++;
}
if (_root.coin_deposited == true) {
_root.coin_deposited = false;
_root.coinreturn_coins++;
}
_root.hidden_pimp_screen = false;
_root.pimp._visible = true;
_root.freeze_action = false;
_root.current_background = background1;
_root.set_background(_root.background1);
}
Symbol 877 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 2
stop();
Symbol 879 MovieClip Frame 3
stop();
Symbol 880 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 2
stop();
Instance of Symbol 879 MovieClip "crate" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 880 MovieClip "syringe" in Symbol 884 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 889 MovieClip Frame 1
stop();
Symbol 889 MovieClip Frame 2
play();
Symbol 889 MovieClip Frame 42
gotoAndPlay (2);
Symbol 908 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 1
play();
Symbol 913 MovieClip Frame 82
stop();
Symbol 917 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 918 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 2
stop();
Symbol 918 MovieClip Frame 3
play();
Symbol 918 MovieClip Frame 113
stop();
Symbol 919 Button
on (release) {
if (_root.background5.dumpster.hittest(_root.pimp)) {
if ((_root.nog_out == false) && (_root.event_nog == false)) {
tellTarget (_root.background5.dumpster) {
gotoAndPlay (3);
};
if (_root.event_nog == false) {
_root.nog_out = true;
}
}
}
}
Instance of Symbol 918 MovieClip "dumpster" in Symbol 922 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp) && (_root.nog_out == false)) {
gotoAndStop (2);
} else if (_root.nog_out == false) {
gotoAndStop (1);
}
}
Symbol 925 Button
on (release) {
if (_root.background4.trash.hittest(_root.pimp)) {
_root.current_background = background9;
_root.set_background(_root.background9);
}
}
Symbol 927 MovieClip Frame 1
stop();
Symbol 927 MovieClip Frame 2
stop();
Symbol 929 Button
on (release) {
if (_root.background4.vomiting_guy.hittest(_root.pimp)) {
nextFrame();
}
}
Symbol 936 MovieClip Frame 1
stop();
Symbol 936 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 936 MovieClip Frame 65
_root.freeze_action = false;
gotoAndStop (1);
Instance of Symbol 927 MovieClip "trash" in Symbol 937 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 936 MovieClip "vomiting_guy" in Symbol 937 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background4.vomiting_guy.glowing_disc, _visible , true);
} else {
setProperty(_root.background4.vomiting_guy.glowing_disc, _visible , false);
}
}
Symbol 947 Button
on (release) {
if ((_root.freeze_action == false) && (_root.event_warning == false)) {
_root.event_warning = true;
_root.cutscene_warning = true;
}
}
Symbol 948 MovieClip Frame 1
stop();
Instance of Symbol 948 MovieClip "smoking_guy" in Symbol 949 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background3.smoking_guy.glowing_disc, _visible , true);
} else {
setProperty(_root.background3.smoking_guy.glowing_disc, _visible , false);
}
}
Symbol 956 Button
on (release) {
if (_root.background1.bus_stop.hittest(_root.pimp)) {
if (_root.freeze_action == false) {
_root.freeze_action = true;
duplicateMovieClip ("_root.bus", "newbus", 6);
setProperty(_root.newbus, _y , 170);
setProperty(_root.newbus, _x , 700);
tellTarget (_root.newbus) {
gotoAndPlay (2);
};
}
}
}
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 2
stop();
Symbol 966 Button
on (release) {
if (_root.background1.telephone.hittest(_root.pimp)) {
_root.current_background = background7;
_root.set_background(_root.background7);
}
}
Symbol 968 MovieClip Frame 1
stop();
Symbol 968 MovieClip Frame 2
stop();
Instance of Symbol 960 MovieClip "bus_stop" in Symbol 971 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 968 MovieClip "telephone" in Symbol 971 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 973 Button
on (release) {
if (_root.dynamic_bus_stop.hittest(_root.pimp) || (_root.dynamic_bus_stop2.hittest(_root.pimp))) {
if (_root.freeze_action == false) {
_root.freeze_action = true;
removeMovieClip("newbus");
duplicateMovieClip ("_root.bus", "newbus", 6);
setProperty(_root.newbus, _y , 170);
setProperty(_root.newbus, _x , 700);
tellTarget (_root.newbus) {
gotoAndPlay (2);
};
}
}
}
Symbol 976 MovieClip Frame 1
stop();
Symbol 976 MovieClip Frame 2
stop();
Symbol 985 MovieClip Frame 1
stop();
Symbol 985 MovieClip Frame 2
play();
Symbol 985 MovieClip Frame 10
gotoAndPlay (2);
Symbol 989 MovieClip Frame 1
stop();
Symbol 989 MovieClip Frame 2
play();
Symbol 989 MovieClip Frame 20
gotoAndStop (1);
Symbol 989 MovieClip Frame 43
gotoAndStop (1);
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 2
play();
_root.overlay.window1.gotoAndPlay(2);
Symbol 999 MovieClip Frame 6
_root.overlay.window2.gotoAndPlay(2);
Symbol 999 MovieClip Frame 10
_root.overlay.window3.gotoAndPlay(2);
Symbol 999 MovieClip Frame 14
_root.overlay.window4.gotoAndPlay(2);
Symbol 999 MovieClip Frame 18
_root.overlay.window5.gotoAndPlay(2);
Symbol 999 MovieClip Frame 22
_root.overlay.window6.gotoAndPlay(2);
Symbol 999 MovieClip Frame 45
gotoAndStop (1);
Symbol 999 MovieClip Frame 50
play();
_root.overlay.window1.gotoAndPlay("cash_window");
Symbol 999 MovieClip Frame 74
gotoAndStop (1);
Symbol 1003 Button
on (press) {
getURL ("http://flashghetto.com", "_blank");
}
Symbol 1008 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 2
stop();
Symbol 1024 Button
on (release) {
_root.use_item(2);
}
Symbol 1025 Button
on (release) {
_root.use_item(3);
}
Symbol 1026 Button
on (release) {
if (_root.current_background == background7) {
if (_root.coin_deposited == false) {
if (0 < _root.cash) {
_root.cash = _root.cash - 0.25;
if (_root.cash < 0.25) {
_root.itemmoney = false;
setProperty(_root.keymoney, _visible , false);
}
_root.coin_deposited = true;
_root.master_number = 0;
_root.sc_wrong_number.gotoAndStop(1);
_root.sc_dial_tone.gotoAndStop(1);
_root.sc_insert_coin.gotoAndPlay(2);
_root.background7.phone_receiver.gotoAndStop(2);
_root.sample_time1 = getTimer();
} else if ((_root.payup == false) && (_root.cash == 0)) {
_root.sc_pay_up.gotoAndPlay(2);
_root.payup = true;
}
} else if (_root.sc_only_a_quarter._currentframe == 1) {
_root.sc_only_a_quarter.gotoAndPlay(2);
}
}
}
Symbol 1027 Button
on (release) {
_root.use_item(1);
}
Symbol 1028 Button
on (release) {
if ((((_root.freeze_action == false) || (_root.current_background == background7)) || (_root.current_background == background8)) || (_root.current_background == background9)) {
_root.phone_conversation_in_progress = false;
gotoAndPlay (3399);
}
}
Symbol 1041 MovieClip Frame 1
stop();
Symbol 1041 MovieClip Frame 5
play();
Symbol 1041 MovieClip Frame 11
gotoAndStop (1);
Symbol 1041 MovieClip Frame 18
play();
Symbol 1041 MovieClip Frame 24
gotoAndStop (1);
Symbol 1041 MovieClip Frame 27
play();
Symbol 1041 MovieClip Frame 33
gotoAndStop (1);
Symbol 1041 MovieClip Frame 40
play();
Symbol 1041 MovieClip Frame 46
gotoAndStop (1);
Symbol 1041 MovieClip Frame 53
play();
Symbol 1041 MovieClip Frame 59
gotoAndStop (1);
Symbol 1041 MovieClip Frame 70
play();
Symbol 1041 MovieClip Frame 76
gotoAndStop (1);
Symbol 1041 MovieClip Frame 85
play();
Symbol 1041 MovieClip Frame 90
gotoAndStop (1);
Symbol 1041 MovieClip Frame 100
play();
Symbol 1041 MovieClip Frame 106
gotoAndStop (1);
Symbol 1041 MovieClip Frame 115
play();
Symbol 1041 MovieClip Frame 120
gotoAndStop (1);
Symbol 1041 MovieClip Frame 130
play();
Symbol 1041 MovieClip Frame 136
gotoAndStop (1);
Symbol 1041 MovieClip Frame 143
play();
Symbol 1041 MovieClip Frame 149
gotoAndStop (1);
Symbol 1041 MovieClip Frame 156
play();
Symbol 1041 MovieClip Frame 162
gotoAndStop (1);
Symbol 1042 MovieClip Frame 1
stop();
Symbol 1042 MovieClip Frame 2
play();
Symbol 1042 MovieClip Frame 105
gotoAndStop (1);
Symbol 1045 MovieClip Frame 1
stop();
Symbol 1045 MovieClip Frame 2
play();
Symbol 1045 MovieClip Frame 316
gotoAndStop (1);
Symbol 1046 MovieClip Frame 1
stop();
Symbol 1046 MovieClip Frame 2
_root.coin_to_be_given_back = true;
play();
Symbol 1046 MovieClip Frame 179
_root.coinreturn_coins++;
_root.coin_deposited = false;
_root.coin_to_be_given_back = false;
Symbol 1046 MovieClip Frame 191
gotoAndStop (1);
Symbol 1050 MovieClip Frame 1
stop();
Symbol 1050 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
play();
Symbol 1050 MovieClip Frame 62
gotoAndStop (1);
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
play();
Symbol 1054 MovieClip Frame 52
gotoAndStop (1);
Symbol 1058 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
play();
Symbol 1058 MovieClip Frame 43
_root.overlay.gotoAndPlay("cash_window");
gotoAndStop (1);
Symbol 1062 MovieClip Frame 1
stop();
Symbol 1062 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = 116;
this._y = 100;
play();
Symbol 1062 MovieClip Frame 83
gotoAndStop (1);
Symbol 1065 MovieClip Frame 1
stop();
Symbol 1065 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x + 30;
this._y = pimp_location_y - 40;
play();
Symbol 1065 MovieClip Frame 43
gotoAndStop (1);
Symbol 1069 MovieClip Frame 1
stop();
Symbol 1069 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x + 30;
this._y = pimp_location_y - 40;
play();
Symbol 1069 MovieClip Frame 62
gotoAndStop (1);
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 1074 MovieClip Frame 67
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1078 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 1078 MovieClip Frame 65
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1083 MovieClip Frame 1
stop();
Symbol 1083 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 1083 MovieClip Frame 75
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1088 MovieClip Frame 1
stop();
Symbol 1088 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 1088 MovieClip Frame 113
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1092 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 1092 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 1092 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 1092 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 1093 MovieClip Frame 1
stop();
Symbol 1093 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 1093 MovieClip Frame 71
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1112 MovieClip Frame 2
play();
Symbol 1112 MovieClip Frame 37
bus_fare = false;
if (_root.cash < 1) {
_root.sc_no_bus_fare.gotoAndPlay(2);
} else {
if (_root.event_madethecall == false) {
_root.sc_no_address.gotoAndPlay(2);
}
if (_root.event_madethecall == true) {
bus_fare = true;
_root.sc_outta_here.gotoAndPlay(2);
_root.cash = _root.cash - 1;
removeMovieClip("_root.pimp");
setProperty("_root.keymoney", _visible , false);
}
}
Symbol 1112 MovieClip Frame 116
_root.freeze_action = false;
if ((_root.event_madethecall == true) && (bus_fare == true)) {
_root.removeMovieClip("dizzy");
_root.levelcomplete1 = true;
}
stop();
Symbol 1200 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1208 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1215 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1221 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1224 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1228 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1231 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1237 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1242 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1246 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1247 MovieClip Frame 314
gotoAndStop (1);
Symbol 1262 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1270 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1274 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1280 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1284 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1287 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1301 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 1
stop();
Symbol 1305 MovieClip Frame 1
stop();
Symbol 1306 MovieClip Frame 1
stop();
Symbol 1306 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1306 MovieClip Frame 78
if (_root.cop_tires_blown != true) {
_root.go_to_cop_bust();
} else {
_root.cop_tires_blown = false;
}
gotoAndStop (1);
Symbol 1308 MovieClip Frame 1
stop();
Symbol 1308 MovieClip Frame 2
stop();
Symbol 1310 MovieClip Frame 1
stop();
Symbol 1310 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1310 MovieClip Frame 19
stopAllSounds();
Symbol 1310 MovieClip Frame 50
gotoAndStop (1);
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1311 MovieClip Frame 78
gotoAndStop (1);
Symbol 1312 MovieClip Frame 1
stop();
Symbol 1312 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1312 MovieClip Frame 63
gotoAndStop (1);
Symbol 1313 MovieClip Frame 1
stop();
Symbol 1313 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 1313 MovieClip Frame 84
gotoAndStop (1);
Symbol 1315 Button
on (press) {
if (0 < _root.ammo) {
_root.gun_sound.gotoAndPlay(2);
_root.ammo--;
_root.set_ammo();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1323 MovieClip Frame 1
stop();
Symbol 1323 MovieClip Frame 2
play();
Symbol 1323 MovieClip Frame 15
gotoAndPlay (2);
Symbol 1326 MovieClip Frame 1
stop();
Symbol 1326 MovieClip Frame 2
play();
Symbol 1326 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1329 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1335 MovieClip Frame 1
stop();
Symbol 1335 MovieClip Frame 2
stop();
Symbol 1335 MovieClip Frame 3
stop();
Symbol 1335 MovieClip Frame 4
stop();
Symbol 1335 MovieClip Frame 5
stop();
Symbol 1338 MovieClip Frame 1
stop();
Symbol 1338 MovieClip Frame 2
stop();
Symbol 1339 MovieClip Frame 1
stop();
Symbol 1339 MovieClip Frame 2
stop();
Symbol 1340 MovieClip Frame 1
stop();
Symbol 1341 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1341 MovieClip Frame 11
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
play();
Symbol 1341 MovieClip Frame 25
Symbol 1343 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1344 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1345 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1346 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1352 MovieClip Frame 1
stop();
Symbol 1352 MovieClip Frame 2
play();
Symbol 1352 MovieClip Frame 5
gotoAndStop (1);
Symbol 1354 MovieClip Frame 6
stop();
Symbol 1355 MovieClip Frame 1
stop();
Symbol 1355 MovieClip Frame 2
play();
Symbol 1355 MovieClip Frame 5
gotoAndStop (1);
Symbol 1358 MovieClip Frame 13
_root.player_hit(_root.damage_rotation);
Symbol 1358 MovieClip Frame 22
gotoAndPlay (1);
Symbol 1358 MovieClip Frame 30
stop();
Symbol 1359 Button
on (press) {
_root.hit = true;
if (0 < _root.ammo) {
tellTarget ("guyhit") {
gotoAndPlay (2);
};
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (release) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
on (dragOut) {
_root.crosshair.target.gotoAndStop(1);
if (_root.hit == true) {
_root.hit = false;
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
}
Symbol 1363 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1363 MovieClip Frame 10
stop();
Symbol 1364 MovieClip Frame 13
_root.player_hit(_root.damage_rotation);
Symbol 1364 MovieClip Frame 22
gotoAndPlay (1);
Symbol 1364 MovieClip Frame 30
stop();
Symbol 1365 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
Symbol 1372 MovieClip Frame 1
stop();
Symbol 1372 MovieClip Frame 2
play();
Symbol 1372 MovieClip Frame 11
stop();
Symbol 1373 MovieClip Frame 1
stop();
Symbol 1373 MovieClip Frame 2
play();
Symbol 1373 MovieClip Frame 11
stop();
Symbol 1374 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(70) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1374 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1374 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1374 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1374 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1374 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1374 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1374 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1374 MovieClip Frame 75
_root.before_bad_guy_emerge = false;
Symbol 1374 MovieClip Frame 80
stop();
_root.shots = 0;
Symbol 1374 MovieClip Frame 81
_root.shots = 1;
Symbol 1374 MovieClip Frame 82
_root.shots = 2;
Symbol 1374 MovieClip Frame 83
_root.crosshair.gotoAndStop("normal");
_root.shots = 3;
_root.bad_guy_hit();
tellTarget ("guydead") {
gotoAndPlay (2);
};
play();
Symbol 1374 MovieClip Frame 108
if (_root.baddies < 1) {
_root.beat_shooter_level();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(2);
}
Symbol 1374 MovieClip Frame 110
play();
if (_root.before_bad_guy_emerge == true) {
setProperty("guyhit", _visible , false);
}
Symbol 1374 MovieClip Frame 135
if (_root.baddies < 1) {
_root.gotoAndStop(10);
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(2);
}
Symbol 1375 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(70) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1375 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1375 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1375 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1375 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1375 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1375 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1375 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1375 MovieClip Frame 75
_root.before_bad_guy_emerge = false;
Symbol 1375 MovieClip Frame 80
stop();
_root.shots = 0;
Symbol 1375 MovieClip Frame 81
_root.shots = 1;
Symbol 1375 MovieClip Frame 82
_root.shots = 2;
Symbol 1375 MovieClip Frame 83
_root.crosshair.gotoAndStop("normal");
_root.shots = 3;
_root.bad_guy_hit();
tellTarget ("guydead") {
gotoAndPlay (2);
};
play();
Symbol 1375 MovieClip Frame 108
if (_root.baddies < 1) {
_root.beat_shooter_level();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(2);
}
Symbol 1375 MovieClip Frame 110
play();
if (_root.before_bad_guy_emerge == true) {
setProperty("guyhit", _visible , false);
}
Symbol 1375 MovieClip Frame 135
if (_root.baddies < 1) {
_root.gotoAndStop(10);
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(2);
}
Symbol 1376 MovieClip Frame 29
Symbol 1376 MovieClip Frame 115
gotoAndPlay (7);
Symbol 1385 Button
on (press) {
_root.ammo = 6;
_root.ammo1._visible = true;
_root.ammo2._visible = true;
_root.ammo3._visible = true;
_root.ammo4._visible = true;
_root.ammo5._visible = true;
_root.ammo6._visible = true;
}
Symbol 1390 MovieClip Frame 1
stop();
Symbol 1390 MovieClip Frame 2
play();
Symbol 1390 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1393 MovieClip Frame 1
stop();
Symbol 1393 MovieClip Frame 2
play();
Symbol 1393 MovieClip Frame 10
_root.lost_shooter_level();
stop();
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1403 MovieClip Frame 2
play();
Symbol 1403 MovieClip Frame 8
gotoAndPlay (2);
Symbol 1405 MovieClip Frame 1
stop();
Symbol 1405 MovieClip Frame 2
play();
Symbol 1405 MovieClip Frame 8
gotoAndPlay (2);
Symbol 1406 MovieClip Frame 1
stop();
Symbol 1406 MovieClip Frame 2
play();
Symbol 1406 MovieClip Frame 8
gotoAndPlay (2);
Symbol 1413 MovieClip Frame 1
stop();
Symbol 1413 MovieClip Frame 2
play();
Symbol 1413 MovieClip Frame 11
gotoAndPlay (2);
Symbol 1415 MovieClip Frame 1
stop();
Symbol 1415 MovieClip Frame 2
play();
Symbol 1415 MovieClip Frame 4
gotoAndStop (1);
Symbol 1417 MovieClip Frame 1
stop();
Symbol 1417 MovieClip Frame 50
stop();
Symbol 1420 MovieClip Frame 1
stop();
Symbol 1420 MovieClip Frame 2
stop();
Symbol 1420 MovieClip Frame 3
stop();
Symbol 1420 MovieClip Frame 4
stop();
Symbol 1420 MovieClip Frame 5
stop();
Symbol 1422 MovieClip Frame 1
stop();
Symbol 1423 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1423 MovieClip Frame 11
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
play();
Symbol 1423 MovieClip Frame 25
Symbol 1424 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1425 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1426 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1427 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1436 MovieClip Frame 1
stop();
Symbol 1436 MovieClip Frame 2
stop();
Symbol 1436 MovieClip Frame 3
stop();
Symbol 1436 MovieClip Frame 4
play();
Symbol 1436 MovieClip Frame 7
if ((_root.bad_guy2_hits = 1)) {
gotoAndStop (2);
}
if ((_root.bad_guy2_hits = 2)) {
gotoAndStop (3);
}
Symbol 1436 MovieClip Frame 12
play();
Symbol 1436 MovieClip Frame 20
stop();
Symbol 1437 MovieClip Frame 5
stop();
Symbol 1440 MovieClip Frame 1
stop();
Symbol 1440 MovieClip Frame 2
play();
Symbol 1440 MovieClip Frame 5
gotoAndStop (1);
Symbol 1442 Button
on (press) {
_root.hit = true;
if (0 < _root.ammo) {
tellTarget ("guyhit") {
gotoAndPlay (2);
};
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (release) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
on (dragOut) {
_root.crosshair.target.gotoAndStop(1);
if (_root.hit == true) {
_root.hit = false;
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
}
Symbol 1443 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
Symbol 1446 MovieClip Frame 1
stop();
Symbol 1446 MovieClip Frame 2
play();
Symbol 1446 MovieClip Frame 10
stop();
Symbol 1447 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(70) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1447 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1447 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1447 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1447 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1447 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1447 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1447 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1447 MovieClip Frame 75
_root.before_bad_guy_emerge = false;
Symbol 1447 MovieClip Frame 80
stop();
_root.shots = 0;
Symbol 1447 MovieClip Frame 81
_root.shots = 1;
Symbol 1447 MovieClip Frame 82
_root.shots = 2;
Symbol 1447 MovieClip Frame 83
_root.crosshair.gotoAndStop("normal");
_root.shots = 3;
_root.bad_guy_hit();
tellTarget ("guydead") {
gotoAndPlay (2);
};
play();
Symbol 1447 MovieClip Frame 108
if (_root.baddies < 1) {
_root.beat_shooter_level();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(3);
}
Symbol 1447 MovieClip Frame 110
play();
if (_root.before_bad_guy_emerge == true) {
setProperty("guyhit", _visible , false);
}
Symbol 1447 MovieClip Frame 135
if (_root.baddies < 1) {
_root.gotoAndStop(10);
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(3);
}
Symbol 1448 MovieClip Frame 29
Symbol 1448 MovieClip Frame 115
gotoAndPlay (7);
Symbol 1451 MovieClip Frame 1
stop();
Symbol 1451 MovieClip Frame 2
play();
Symbol 1451 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1453 MovieClip Frame 1
stop();
Symbol 1453 MovieClip Frame 2
play();
Symbol 1453 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1463 MovieClip Frame 1
stop();
Symbol 1463 MovieClip Frame 2
play();
Symbol 1463 MovieClip Frame 8
gotoAndPlay (2);
Symbol 1466 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1471 MovieClip Frame 1
stop();
Symbol 1471 MovieClip Frame 2
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
stop();
Symbol 1471 MovieClip Frame 3
stop();
Symbol 1471 MovieClip Frame 4
stop();
Symbol 1474 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1478 MovieClip Frame 1
stop();
Symbol 1478 MovieClip Frame 2
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
stop();
Symbol 1478 MovieClip Frame 3
stop();
Symbol 1478 MovieClip Frame 4
stop();
Symbol 1481 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1485 MovieClip Frame 1
stop();
Symbol 1485 MovieClip Frame 2
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
stop();
Symbol 1485 MovieClip Frame 3
stop();
Symbol 1485 MovieClip Frame 4
stop();
Symbol 1487 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
empty_chamber_sound = new Sound();
empty_chamber_sound.attachSound("empty_chambersound");
empty_chamber_sound.start();
}
}
Symbol 1488 MovieClip Frame 1
stop();
Symbol 1488 MovieClip Frame 2
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
stop();
Symbol 1489 MovieClip Frame 1
stop();
Symbol 1489 MovieClip Frame 2
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
stop();
Symbol 1490 MovieClip Frame 1
stop();
Symbol 1491 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1492 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.right_tire_out = true;
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1493 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.left_tire_out = true;
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
if (_root.siren == false) {
_root.siren = true;
_root.baddie.car_mc.car2.car1.car.siren.gotoAndPlay(2);
_root.siren_sound.gotoAndPlay(2);
_root.dialogue_hit_cop_car.gotoAndPlay(2);
}
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1495 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(50) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1495 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1495 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1495 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1495 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1495 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1495 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1495 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1495 MovieClip Frame 105
if (_root.siren == true) {
}
_root.siren = false;
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(4);
Symbol 1495 MovieClip Frame 110
play();
Symbol 1495 MovieClip Frame 130
_root.cop_tires_blown = true;
_root.siren = false;
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(4);
Symbol 1496 MovieClip Frame 29
Symbol 1496 MovieClip Frame 115
gotoAndPlay (7);
Symbol 1499 MovieClip Frame 1
stop();
Symbol 1499 MovieClip Frame 2
play();
Symbol 1499 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1500 MovieClip Frame 1
stop();
Symbol 1500 MovieClip Frame 2
play();
Symbol 1500 MovieClip Frame 20
gotoAndPlay (2);
Symbol 1503 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1509 MovieClip Frame 1
stop();
Symbol 1509 MovieClip Frame 2
stop();
Symbol 1509 MovieClip Frame 3
stop();
Symbol 1509 MovieClip Frame 4
stop();
Symbol 1509 MovieClip Frame 5
stop();
Symbol 1511 MovieClip Frame 1
stop();
Symbol 1512 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1513 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1514 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1515 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_front.gotoAndPlay(2);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1516 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.wheel_back.gotoAndPlay(2);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1517 Button
on (press) {
_root.hit = true;
if (0 < _root.ammo) {
tellTarget ("guyhit") {
gotoAndPlay (2);
};
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (release) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
on (dragOut) {
_root.crosshair.target.gotoAndStop(1);
if (_root.hit == true) {
_root.hit = false;
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
nextFrame();
}
}
}
Symbol 1518 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(70) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1518 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1518 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1518 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1518 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1518 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1518 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1518 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1518 MovieClip Frame 75
_root.before_bad_guy_emerge = false;
Symbol 1518 MovieClip Frame 80
stop();
_root.shots = 0;
Symbol 1518 MovieClip Frame 81
_root.shots = 1;
Symbol 1518 MovieClip Frame 82
_root.shots = 2;
Symbol 1518 MovieClip Frame 83
_root.crosshair.gotoAndStop("normal");
_root.shots = 3;
_root.bad_guy_hit();
tellTarget ("guydead") {
gotoAndPlay (2);
};
if (0 < _root.baddies) {
_root.dialogue_taunt1.gotoAndPlay(2);
}
play();
Symbol 1518 MovieClip Frame 108
if (_root.baddies < 1) {
_root.beat_shooter_level();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(5);
}
Symbol 1518 MovieClip Frame 110
play();
if (_root.before_bad_guy_emerge == true) {
setProperty("guyhit", _visible , false);
}
Symbol 1518 MovieClip Frame 135
if (_root.baddies < 1) {
_root.gotoAndStop(10);
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(5);
}
Symbol 1519 MovieClip Frame 29
Symbol 1519 MovieClip Frame 115
gotoAndPlay (7);
Symbol 1527 MovieClip Frame 44
gotoAndPlay (1);
Symbol 1527 MovieClip Frame 50
play();
Symbol 1527 MovieClip Frame 93
gotoAndPlay (50);
Symbol 1528 MovieClip Frame 44
gotoAndPlay (1);
Symbol 1528 MovieClip Frame 50
play();
Symbol 1528 MovieClip Frame 93
gotoAndPlay (50);
Symbol 1531 MovieClip Frame 1
stop();
Symbol 1532 MovieClip Frame 10
gotoAndPlay (1);
Symbol 1532 MovieClip Frame 11
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
play();
Symbol 1532 MovieClip Frame 25
Symbol 1533 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.truck.wheel_front.gotoAndPlay(50);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1534 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.truck.wheel_back.gotoAndPlay(50);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
_root.before_bad_guy_emerge = true;
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1537 MovieClip Frame 6
stop();
Symbol 1544 MovieClip Frame 1
stop();
Symbol 1544 MovieClip Frame 2
stop();
Symbol 1544 MovieClip Frame 3
stop();
Symbol 1544 MovieClip Frame 4
play();
Symbol 1544 MovieClip Frame 7
if (_root.bad_guy2_hits == 0) {
gotoAndStop (1);
}
if (_root.bad_guy2_hits == 1) {
gotoAndStop (2);
}
if (_root.bad_guy2_hits >= 2) {
gotoAndStop (3);
}
Symbol 1544 MovieClip Frame 10
play();
Symbol 1544 MovieClip Frame 18
stop();
Symbol 1546 MovieClip Frame 10
if (_root.bad_guy2_dead == true) {
gotoAndPlay (30);
}
Symbol 1546 MovieClip Frame 11
_root.player_hit(_root.damage_rotation);
Symbol 1546 MovieClip Frame 29
if (_root.bad_guy2_dead == false) {
gotoAndPlay (1);
}
Symbol 1546 MovieClip Frame 34
stop();
Symbol 1547 Button
on (press) {
_root.hit = true;
if (0 < _root.ammo) {
if (_root.bad_guy2_hits < 3) {
tellTarget ("guyhit2") {
gotoAndPlay (4);
};
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (release) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
_root.bad_guy2_hits++;
if ((_root.bad_guy2_hits >= 3) && (_root.bad_guy2_dead == false)) {
_root.bad_guy2_dead = true;
_root.bad_guy_hit();
tellTarget ("guyhit2") {
gotoAndPlay (10);
};
tellTarget ("enemy_fire2") {
gotoAndPlay (40);
};
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy2_hits >= 3)) {
gotoAndPlay (80);
}
}
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
on (dragOut) {
_root.crosshair.target.gotoAndStop(1);
if (_root.hit == true) {
_root.hit = false;
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
_root.bad_guy2_hits++;
if ((_root.bad_guy2_hits >= 3) && (_root.bad_guy2_dead == false)) {
_root.bad_guy2_dead = true;
_root.bad_guy_hit();
tellTarget ("guyhit2") {
gotoAndPlay (10);
};
tellTarget ("enemy_fire2") {
gotoAndPlay (40);
};
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy2_hits >= 3)) {
gotoAndPlay (80);
}
}
}
}
}
Symbol 1548 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.right_tire_out == false) {
_root.right_tire_burst._x = _root._xmouse;
_root.right_tire_burst._y = _root._ymouse;
_root.right_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.truck.wheel_front.gotoAndPlay(50);
_root.right_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1549 Button
on (press) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
if (_root.left_tire_out == false) {
_root.left_tire_burst._x = _root._xmouse;
_root.left_tire_burst._y = _root._ymouse;
_root.left_tire_burst.gotoAndPlay(2);
_root.tires_blown++;
_root.tireblowout_sound.gotoAndPlay(2);
_root.baddie.car_mc.car2.car1.car.truck.wheel_back.gotoAndPlay(50);
_root.left_tire_out = true;
if (_root.tires_blown == 2) {
gotoAndPlay (110);
}
} else {
_root.gun_sound.gotoAndPlay(2);
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
Symbol 1553 MovieClip Frame 1
stop();
Symbol 1553 MovieClip Frame 2
stop();
Symbol 1553 MovieClip Frame 3
stop();
Symbol 1553 MovieClip Frame 4
play();
Symbol 1553 MovieClip Frame 7
if (_root.bad_guy1_hits == 0) {
gotoAndStop (1);
}
if (_root.bad_guy1_hits == 1) {
gotoAndStop (2);
}
if (_root.bad_guy1_hits >= 2) {
gotoAndStop (3);
}
Symbol 1553 MovieClip Frame 10
play();
Symbol 1553 MovieClip Frame 22
stop();
Symbol 1555 MovieClip Frame 12
if (_root.bad_guy1_dead == true) {
gotoAndPlay (30);
}
Symbol 1555 MovieClip Frame 13
_root.player_hit(_root.damage_rotation);
Symbol 1555 MovieClip Frame 22
if (_root.bad_guy1_dead == false) {
gotoAndPlay (1);
}
Symbol 1555 MovieClip Frame 30
stop();
Symbol 1556 Button
on (press) {
_root.hit = true;
if (0 < _root.ammo) {
if (_root.bad_guy1_hits < 3) {
tellTarget ("guyhit") {
gotoAndPlay (4);
};
}
} else {
_root.empty_chamber_sound.gotoAndPlay(2);
}
}
on (release) {
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
_root.bad_guy1_hits++;
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy1_dead == false)) {
_root.bad_guy1_dead = true;
_root.bad_guy_hit();
tellTarget ("guyhit") {
gotoAndPlay (10);
};
tellTarget ("enemy_fire1") {
gotoAndPlay (40);
};
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy2_hits >= 3)) {
gotoAndPlay (80);
}
}
}
}
on (rollOver) {
_root.crosshair.target.gotoAndPlay(2);
}
on (rollOut) {
_root.crosshair.target.gotoAndStop(1);
}
on (dragOut) {
_root.crosshair.target.gotoAndStop(1);
if (_root.hit == true) {
_root.hit = false;
if (0 < _root.ammo) {
_root.ammo--;
_root.set_ammo();
_root.bad_guy1_hits++;
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy1_dead == false)) {
_root.bad_guy_hit();
_root.bad_guy1_dead = true;
tellTarget ("guyhit") {
gotoAndPlay (10);
};
tellTarget ("enemy_fire1") {
gotoAndPlay (40);
};
if ((_root.bad_guy1_hits >= 3) && (_root.bad_guy2_hits >= 3)) {
gotoAndPlay (80);
}
}
}
}
}
Symbol 1557 MovieClip Frame 1
_root.crosshair.target.gotoAndStop(1);
_root.bad_guy1_hits = 0;
_root.bad_guy2_hits = 0;
_root.bad_guy1_dead = false;
_root.bad_guy2_dead = false;
_root.tires_blown = 0;
_root.left_tire_out = false;
_root.right_tire_out = false;
_root.r = Math.round(random(40) + 1);
_root.frame_number = 1;
s = _root.r;
gotoAndPlay(s);
Symbol 1557 MovieClip Frame 10
_root.frame_number = 10;
Symbol 1557 MovieClip Frame 20
_root.frame_number = 20;
Symbol 1557 MovieClip Frame 30
_root.frame_number = 30;
Symbol 1557 MovieClip Frame 40
_root.frame_number = 40;
Symbol 1557 MovieClip Frame 50
_root.frame_number = 50;
Symbol 1557 MovieClip Frame 60
_root.frame_number = 60;
Symbol 1557 MovieClip Frame 70
_root.frame_number = 70;
Symbol 1557 MovieClip Frame 75
_root.before_bad_guy_emerge = false;
Symbol 1557 MovieClip Frame 80
stop();
_root.shots = 0;
Symbol 1557 MovieClip Frame 81
_root.crosshair.gotoAndStop("normal");
_root.shots = 3;
if (0 < _root.baddies) {
_root.dialogue_taunt2.gotoAndPlay(2);
}
play();
Symbol 1557 MovieClip Frame 106
if (_root.baddies < 1) {
_root.beat_shooter_level();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(6);
}
Symbol 1557 MovieClip Frame 110
play();
if (0 < _root.baddies) {
_root.dialogue_taunt2.gotoAndPlay(2);
}
if (_root.before_bad_guy_emerge == true) {
setProperty("guyhit", _visible , false);
}
if (_root.bad_guy1_hits >= 3) {
tellTarget ("guyhit") {
gotoAndStop (22);
};
}
if (_root.bad_guy2_hits >= 3) {
tellTarget ("guyhit2") {
gotoAndStop (18);
};
}
Symbol 1557 MovieClip Frame 135
if (_root.baddies < 1) {
_root.gotoAndStop(10);
donut_sound = new Sound();
donut_sound.attachSound("donutsound");
donut_sound.start();
} else {
tellTarget (_root.baddie) {
gotoAndPlay (1);
};
_root.advance_guy(6);
}
Symbol 1558 MovieClip Frame 29
Symbol 1558 MovieClip Frame 115
gotoAndPlay (7);
Symbol 1559 Button
on (release) {
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
gotoAndPlay (1445);
}
Symbol 1560 Button
on (release) {
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
gotoAndStop (390);
}
Symbol 1562 MovieClip Frame 1
stop();
Symbol 1562 MovieClip Frame 2
play();
Symbol 1562 MovieClip Frame 10
_root.freeze_action = false;
stop();
Symbol 1566 MovieClip Frame 1
stop();
Symbol 1566 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 1566 MovieClip Frame 40
_root.pimp._visible = true;
Symbol 1566 MovieClip Frame 80
_root.freeze_action = false;
Symbol 1566 MovieClip Frame 110
stop();
Symbol 1584 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 2) {
gotoAndStop (2);
}
stop();
Symbol 1584 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 1) {
gotoAndStop (1);
}
stop();
Symbol 1587 MovieClip Frame 1
Set("/:walkmode", 0);
stop();
Symbol 1587 MovieClip Frame 2
stop();
Symbol 1587 MovieClip Frame 3
stop();
Symbol 1587 MovieClip Frame 4
stop();
Symbol 1587 MovieClip Frame 5
stop();
Symbol 1587 MovieClip Frame 6
stop();
Symbol 1587 MovieClip Frame 7
stop();
Symbol 1587 MovieClip Frame 8
stop();
Symbol 1587 MovieClip Frame 9
gotoAndStop (1);
Symbol 1587 MovieClip Frame 20
_root.freeze_action = true;
play();
Symbol 1587 MovieClip Frame 78
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1614 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 2) {
gotoAndStop (2);
}
stop();
Symbol 1614 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if (_root.facing == 1) {
gotoAndStop (1);
}
stop();
Symbol 1630 MovieClip Frame 1
Set("/:walkmode", 0);
stop();
Symbol 1630 MovieClip Frame 2
stop();
Symbol 1630 MovieClip Frame 3
stop();
Symbol 1630 MovieClip Frame 4
stop();
Symbol 1630 MovieClip Frame 5
stop();
Symbol 1630 MovieClip Frame 6
stop();
Symbol 1630 MovieClip Frame 7
stop();
Symbol 1630 MovieClip Frame 8
stop();
Symbol 1630 MovieClip Frame 9
stop();
Symbol 1630 MovieClip Frame 10
stop();
Symbol 1630 MovieClip Frame 11
stop();
Symbol 1630 MovieClip Frame 12
gotoAndStop (1);
Symbol 1630 MovieClip Frame 30
gotoAndStop (1);
Symbol 1630 MovieClip Frame 35
_root.talking = true;
_root.freeze_action = true;
play();
Symbol 1630 MovieClip Frame 36
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 38
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 40
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 42
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 44
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 46
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 48
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 50
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 52
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 54
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1630 MovieClip Frame 56
if (_root.talking == false) {
gotoAndStop (1);
}
gotoAndPlay (36);
Symbol 1630 MovieClip Frame 70
_root.freeze_action = true;
play();
Symbol 1630 MovieClip Frame 145
_root.pimp._y = 1000;
gotoAndStop (1);
_root.freeze_action = false;
_root.background19._x = 1000;
_root.background19._y = 1000;
_root.cutscene_manhole = true;
Symbol 1630 MovieClip Frame 155
_root.freeze_action = true;
_root.original_ypos = this._y;
this._y = _root.original_ypos - 10;
play();
Symbol 1630 MovieClip Frame 180
_root.freeze_action = false;
Symbol 1630 MovieClip Frame 181
this._y = _root.original_ypos;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1631 MovieClip Frame 1
Set("/:walkmode", 0);
stop();
Symbol 1631 MovieClip Frame 2
stop();
Symbol 1631 MovieClip Frame 3
stop();
Symbol 1631 MovieClip Frame 4
stop();
Symbol 1631 MovieClip Frame 5
stop();
Symbol 1631 MovieClip Frame 6
stop();
Symbol 1631 MovieClip Frame 7
stop();
Symbol 1631 MovieClip Frame 8
stop();
Symbol 1631 MovieClip Frame 9
stop();
Symbol 1631 MovieClip Frame 10
stop();
Symbol 1631 MovieClip Frame 11
stop();
Symbol 1631 MovieClip Frame 12
gotoAndStop (1);
Symbol 1631 MovieClip Frame 30
gotoAndStop (1);
Symbol 1631 MovieClip Frame 35
_root.talking = true;
_root.freeze_action = true;
play();
Symbol 1631 MovieClip Frame 36
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 38
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 40
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 42
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 44
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 46
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 48
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 50
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 52
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 54
if (_root.talking == false) {
_root.freeze_action = false;
gotoAndStop (1);
}
Symbol 1631 MovieClip Frame 56
if (_root.talking == false) {
gotoAndStop (1);
}
gotoAndPlay (36);
Symbol 1631 MovieClip Frame 70
_root.freeze_action = true;
play();
Symbol 1631 MovieClip Frame 145
_root.pimp._y = 1000;
gotoAndStop (1);
_root.freeze_action = false;
_root.background19._x = 1000;
_root.background19._y = 1000;
_root.cutscene_manhole = true;
Symbol 1631 MovieClip Frame 155
_root.freeze_action = true;
_root.original_ypos = this._y;
this._y = _root.original_ypos - 10;
play();
Symbol 1631 MovieClip Frame 180
_root.freeze_action = false;
Symbol 1631 MovieClip Frame 181
this._y = _root.original_ypos;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1644 Button
on (release) {
if (_root.background24.shelf.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 2) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 2) && (_root.itemscrewdriver == false)) {
_root.dialogue_screwdriverbuy.gotoAndPlay(2);
_root.cash = _root.cash - 2;
_root.itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
}
}
}
Symbol 1645 MovieClip Frame 1
stop();
Symbol 1645 MovieClip Frame 2
stop();
Symbol 1650 Button
on (release) {
if ((_root.freeze_action == false) && (_root.background24.shelf.hittest(_root.pimp))) {
if (_root.itemhammer == false) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (_root.itemhammer == true) {
_root.dialogue_check_inventory.gotoAndPlay(2);
}
}
}
Symbol 1651 MovieClip Frame 1
stop();
Symbol 1651 MovieClip Frame 2
stop();
Symbol 1657 MovieClip Frame 1
stop();
Symbol 1657 MovieClip Frame 2
play();
Symbol 1657 MovieClip Frame 52
gotoAndStop (1);
Instance of Symbol 1638 MovieClip "shelf" in Symbol 1662 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
_root.background24.hammer1.gotoAndStop(2);
_root.background24.hammer2.gotoAndStop(2);
_root.background24.hammer3.gotoAndStop(2);
_root.background24.hammer4.gotoAndStop(2);
_root.background24.hammer5.gotoAndStop(2);
_root.background24.hammer6.gotoAndStop(2);
_root.background24.screwdriver.gotoAndStop(2);
_root.background24.screwdriver2.gotoAndStop(2);
_root.background24.screwdriver3.gotoAndStop(2);
_root.background24.screwdriver4.gotoAndStop(2);
_root.background24.screwdriver5.gotoAndStop(2);
_root.background24.screwdriver6.gotoAndStop(2);
_root.background24.screwdriver7.gotoAndStop(2);
_root.background24.screwdriver8.gotoAndStop(2);
} else {
_root.background24.hammer1.gotoAndStop(1);
_root.background24.hammer2.gotoAndStop(1);
_root.background24.hammer3.gotoAndStop(1);
_root.background24.hammer4.gotoAndStop(1);
_root.background24.hammer5.gotoAndStop(1);
_root.background24.hammer6.gotoAndStop(1);
_root.background24.screwdriver.gotoAndStop(1);
_root.background24.screwdriver2.gotoAndStop(1);
_root.background24.screwdriver3.gotoAndStop(1);
_root.background24.screwdriver4.gotoAndStop(1);
_root.background24.screwdriver5.gotoAndStop(1);
_root.background24.screwdriver6.gotoAndStop(1);
_root.background24.screwdriver7.gotoAndStop(1);
_root.background24.screwdriver8.gotoAndStop(1);
}
}
Symbol 1668 Button
on (release) {
_root.head._visible = true;
_root.pimp._visible = true;
_root.yolanda._visible = true;
_root.freeze_action = false;
_root.hidden_pimp_screen = false;
_root.current_background = background1;
_root.set_background(_root.background1);
}
Symbol 1674 Button
on (release) {
if (_root.background21.bar_girl11.hittest(_root.pimp)) {
_root.cutscene_bitchslap = true;
}
}
Symbol 1675 MovieClip Frame 1
stop();
Symbol 1677 Button
on (release) {
if (_root.background21.bar_girl10.hittest(_root.pimp)) {
_root.cutscene_bitchslap = true;
}
}
Symbol 1678 MovieClip Frame 1
stop();
Symbol 1679 Button
on (release) {
if (_root.background21.bar_girl1.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1680 MovieClip Frame 1
stop();
Symbol 1681 Button
on (release) {
if (_root.background21.bar_girl2.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1682 MovieClip Frame 1
stop();
Symbol 1683 Button
on (release) {
if (_root.background21.bar_girl4.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1684 MovieClip Frame 1
stop();
Symbol 1685 Button
on (release) {
if (_root.background21.bar_girl5.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1686 MovieClip Frame 1
stop();
Symbol 1688 Button
on (release) {
if (_root.background21.bar_girl6.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1689 MovieClip Frame 1
stop();
Symbol 1690 Button
on (release) {
if (_root.background21.bar_girl7.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1691 MovieClip Frame 1
stop();
Symbol 1693 Button
on (release) {
if (_root.background21.bar_girl9.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1694 MovieClip Frame 1
stop();
Symbol 1695 Button
on (release) {
if (_root.background21.bar_girl8.hittest(_root.pimp)) {
_root.dialogue_wrong_girl.gotoAndPlay(2);
}
}
Symbol 1696 MovieClip Frame 1
stop();
Symbol 1698 Button
on (release) {
if (_root.freeze_action == false) {
if (_root.background21.bar_girl3.hittest(_root.pimp)) {
_root.dialogue_chose.gotoAndPlay(2);
_root.event_pickup = true;
}
}
}
Symbol 1704 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if (_root.pimpx < 222) {
gotoAndStop (1);
}
if (_root.pimpx >= 222) {
gotoAndStop (2);
}
Symbol 1704 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if (_root.pimpx < 222) {
gotoAndStop (1);
}
if (_root.pimpx >= 222) {
gotoAndStop (2);
}
Symbol 1706 MovieClip Frame 1
stop();
Symbol 1706 MovieClip Frame 10
_root.freeze_action = true;
Instance of Symbol 1704 MovieClip in Symbol 1706 MovieClip Frame 15
onClipEvent (load) {
if (_root.captioning == false) {
this._visible = false;
}
stop();
}
Symbol 1706 MovieClip Frame 71
_root.freeze_action = false;
gotoAndStop (7);
Instance of Symbol 1675 MovieClip "bar_girl11" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl11.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl11.glowing_disc, _visible , false);
}
}
Instance of Symbol 1678 MovieClip "bar_girl10" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl10.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl10.glowing_disc, _visible , false);
}
}
Instance of Symbol 1680 MovieClip "bar_girl1" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl1.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl1.glowing_disc, _visible , false);
}
}
Instance of Symbol 1682 MovieClip "bar_girl2" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl2.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl2.glowing_disc, _visible , false);
}
}
Instance of Symbol 1684 MovieClip "bar_girl4" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl4.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl4.glowing_disc, _visible , false);
}
}
Instance of Symbol 1686 MovieClip "bar_girl5" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl5.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl5.glowing_disc, _visible , false);
}
}
Instance of Symbol 1689 MovieClip "bar_girl6" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl6.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl6.glowing_disc, _visible , false);
}
}
Instance of Symbol 1691 MovieClip "bar_girl7" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl7.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl7.glowing_disc, _visible , false);
}
}
Instance of Symbol 1694 MovieClip "bar_girl9" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl9.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl9.glowing_disc, _visible , false);
}
}
Instance of Symbol 1696 MovieClip "bar_girl8" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl8.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl8.glowing_disc, _visible , false);
}
}
Instance of Symbol 1706 MovieClip "bar_girl3" in Symbol 1707 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background21.bar_girl3.glowing_disc, _visible , true);
} else {
setProperty(_root.background21.bar_girl3.glowing_disc, _visible , false);
}
}
Symbol 1710 Button
on (release) {
if (_root.freeze_action == false) {
gotoAndPlay (2);
}
}
Symbol 1715 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1716 MovieClip Frame 1
stop();
Symbol 1716 MovieClip Frame 2
_root.dialogue_takeabreak.gotoAndPlay(2);
play();
Symbol 1716 MovieClip Frame 113
stop();
Symbol 1725 Button
on (release) {
if ((((_root.itemhanger == false) && (_root.itemcoat == true)) && (_root.freeze_action == false)) && (_root.background20.hanger.hittest(_root.pimp))) {
_root.itemhanger = true;
setProperty(_root.keyhanger, _visible , true);
setProperty(_root.background20.hanger, _visible , false);
setProperty(_root.background9.hanger, _visible , false);
_root.dialogue_hanger.gotoAndPlay(2);
key_xposition = _root.place_item("keyhanger");
_root.keyhanger._x = key_xposition;
}
}
Symbol 1727 MovieClip Frame 1
stop();
Symbol 1727 MovieClip Frame 2
stop();
Symbol 1729 Button
on (release) {
if (((_root.itemcoat == false) && (_root.background20.coat.hittest(_root.pimp))) && (_root.freeze_action == false)) {
if (_root.cash < 100) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (_root.cash >= 100) {
_root.itemcoat = true;
setProperty(_root.keycoat, _visible , true);
setProperty(_root.background20.coat, _visible , false);
setProperty(_root.background9.coat, _visible , false);
_root.cash = _root.cash - 100;
_root.dialogue_vines.gotoAndPlay(2);
key_xposition = _root.place_item("keycoat");
_root.keycoat._x = key_xposition;
}
}
}
Symbol 1731 MovieClip Frame 1
stop();
Symbol 1731 MovieClip Frame 2
stop();
Instance of Symbol 1727 MovieClip "hanger" in Symbol 1732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
if (_root.background20.coat._visible == false) {
gotoAndStop (2);
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 1731 MovieClip "coat" in Symbol 1732 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1737 Button
on (release) {
if (((_root.itemhammer == false) && (_root.freeze_action == false)) && (_root.background19.toolbox.hittest(_root.pimp))) {
_root.itemhammer = true;
setProperty(_root.keyhammer, _visible , true);
setProperty(_root.background19.hammer, _visible , false);
_root.dialogue_hammer.gotoAndPlay(2);
key_xposition = _root.place_item("keyhammer");
_root.keyhammer._x = key_xposition;
}
}
Symbol 1738 MovieClip Frame 1
stop();
Symbol 1738 MovieClip Frame 2
stop();
Instance of Symbol 1740 MovieClip "toolbox" in Symbol 1741 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
_root.background19.hammer.gotoAndStop(2);
} else {
_root.background19.hammer.gotoAndStop(1);
}
}
Symbol 1747 MovieClip Frame 1
stop();
Symbol 1747 MovieClip Frame 2
stop();
Instance of Symbol 1747 MovieClip "door" in Symbol 1749 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1751 Button
on (release) {
if (_root.background18.hardware_stand.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 2) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 2) && (_root.itemscrewdriver == false)) {
_root.dialogue_screwdriverbuy.gotoAndPlay(2);
_root.cash = _root.cash - 2;
_root.itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
}
}
}
Symbol 1753 MovieClip Frame 1
stop();
Symbol 1753 MovieClip Frame 2
stop();
Instance of Symbol 1753 MovieClip "hardware_stand" in Symbol 1754 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 1763 Button
on (release) {
if (_root.background17.donut_stand.donut_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 0.499999) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (((_root.cash >= 0.49999) && (_root.itemdonut == false)) && (_root.event_cop_bribe == false)) {
_root.dialogue_donutbuy.gotoAndPlay(2);
_root.cash = _root.cash - 0.5;
_root.itemdonut = true;
key_xposition = _root.place_item("keydonut");
_root.keydonut._x = key_xposition;
}
}
}
Symbol 1771 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1773 MovieClip Frame 1
stop();
Symbol 1773 MovieClip Frame 2
stop();
Symbol 1773 MovieClip Frame 5
play();
Symbol 1773 MovieClip Frame 52
_root.donut_guy_talking = false;
gotoAndStop (1);
Instance of Symbol 1773 MovieClip "donut_guy" in Symbol 1777 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.donut_guy_talking != true) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Symbol 1790 MovieClip Frame 1
stop();
Symbol 1790 MovieClip Frame 2
play();
Symbol 1790 MovieClip Frame 12
gotoAndPlay (2);
Symbol 1795 Button
on (press) {
if (_root.background16.junkie1.hittest(_root.pimp) || (_root.background16.junkie2.hittest(_root.pimp))) {
if ((_root.event_deal == false) && (_root.freeze_action == false)) {
gotoAndPlay (72);
}
}
}
Symbol 1801 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1806 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1816 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1823 MovieClip Frame 1
stop();
Symbol 1823 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 1823 MovieClip Frame 60
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1823 MovieClip Frame 72
_root.freeze_action = true;
play();
Symbol 1823 MovieClip Frame 114
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1823 MovieClip Frame 123
_root.freeze_action = true;
play();
Symbol 1823 MovieClip Frame 229
_root.freeze_action = false;
setProperty(_root.background16.junkie2.glowing_disc, _visible , false);
_root.overlay.gotoAndPlay("cash_window");
gotoAndStop (1);
Symbol 1823 MovieClip Frame 240
stop();
Symbol 1825 Button
on (press) {
if (_root.background16.junkie1.hittest(_root.pimp) || (_root.background16.junkie2.hittest(_root.pimp))) {
if ((_root.event_deal == false) && (_root.freeze_action == false)) {
gotoAndPlay (110);
}
}
}
Symbol 1829 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1834 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1838 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1845 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1855 MovieClip Frame 1
stop();
Symbol 1855 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 1855 MovieClip Frame 98
_root.freeze_action = false;
_root.background16.junkie2.gotoAndPlay(2);
gotoAndStop (1);
Symbol 1855 MovieClip Frame 110
_root.freeze_action = true;
play();
Symbol 1855 MovieClip Frame 151
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1855 MovieClip Frame 163
_root.freeze_action = true;
play();
Symbol 1855 MovieClip Frame 210
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1855 MovieClip Frame 225
stop();
Instance of Symbol 1823 MovieClip "junkie2" in Symbol 1856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background16.junkie2.glowing_disc, _visible , true);
}
}
Instance of Symbol 1855 MovieClip "junkie1" in Symbol 1856 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background16.junkie1.glowing_disc, _visible , true);
setProperty(_root.background16.junkie2.glowing_disc, _visible , true);
} else {
setProperty(_root.background16.junkie1.glowing_disc, _visible , false);
setProperty(_root.background16.junkie2.glowing_disc, _visible , false);
}
}
Symbol 1885 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1893 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1894 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 1895 MovieClip Frame 1
stop();
Symbol 1895 MovieClip Frame 8
play();
Symbol 1895 MovieClip Frame 97
gotoAndStop (1);
Symbol 1895 MovieClip Frame 98
stopAllSounds();
play();
Instance of Symbol 1893 MovieClip "balloon" in Symbol 1895 MovieClip Frame 135
/* no clip actions */
Symbol 1895 MovieClip Frame 181
stop();
Instance of Symbol 1895 MovieClip "cop" in Symbol 1896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.event_cop_bribe == false) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background15.cop.glowing_disc, _visible , true);
} else {
setProperty(_root.background15.cop.glowing_disc, _visible , false);
}
if (this.hittest(_root.pimp) && (_root.event_cop == false)) {
_root.event_cop = true;
stopAllSounds();
_root.dialogue_cop1.gotoAndPlay(2);
}
}
}
Symbol 1905 Button
on (release) {
if (_root.background13.thug.hittest(_root.pimp)) {
if (_root.needle_said == false) {
_root.needle_said = true;
if (_root.deal_underway == false) {
nextFrame();
}
}
}
}
Symbol 1908 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1911 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1916 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1920 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1925 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1932 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1936 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1937 MovieClip Frame 1
stop();
Symbol 1937 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 1937 MovieClip Frame 38
_root.freeze_action = false;
gotoAndStop (1);
Symbol 1937 MovieClip Frame 50
_root.freeze_action = true;
Symbol 1937 MovieClip Frame 347
_root.talking == true;
_root.deal_time_start = getTimer();
_root.deal_underway = true;
_root.pimp.gotoAndPlay(35);
_root.dialogue_deal1.gotoAndPlay(2);
key_xposition = _root.place_item("keysyringefilled");
_root.keysyringefilled._x = key_xposition;
_root.itemsyringefilled = true;
setProperty(_root.keysyringefilled, _visible , true);
_root.overlay.gotoAndPlay(2);
gotoAndStop (1);
Symbol 1937 MovieClip Frame 366
_root.freeze_action = true;
_root.temp_cash = _root.cash;
_root.cash = 0;
Symbol 1937 MovieClip Frame 415
_root.cash = _root.temp_cash - 480;
_root.freeze_action = false;
_root.overlay.gotoAndPlay("cash_window");
stop();
Instance of Symbol 1937 MovieClip "thug" in Symbol 1938 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background13.thug.glowing_disc, _visible , true);
} else {
setProperty(_root.background13.thug.glowing_disc, _visible , false);
}
}
Symbol 1957 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 1965 Button
on (release) {
if ((_root.freeze_action == false) && (_root.graffiti_guy_spoke != true)) {
_root.graffiti_guy_spoke = true;
if (_root.captioning == true) {
_root.background10.graffiti_guy.balloon._visible = true;
}
_root.dialogue_graffiti_guy.gotoAndPlay(2);
}
}
Symbol 1981 MovieClip Frame 1
_root.background10.graffiti_guy.balloon._visible = false;
if (_root.graffiti_number != 0) {
_root.graffiti_number = 0;
} else {
_root.graffiti_number = 1;
}
stop();
Symbol 1981 MovieClip Frame 2
if (_root.graffiti_number == 0) {
_root.background10.graffiti_guy.graffiti_text2a._visible = true;
_root.background10.graffiti_guy.graffiti_text2b._visible = false;
} else {
_root.background10.graffiti_guy.graffiti_text2a._visible = false;
_root.background10.graffiti_guy.graffiti_text2b._visible = true;
}
if (_root.captioning == false) {
_root.background10.graffiti_guy.balloon._visible = false;
}
play();
Symbol 1981 MovieClip Frame 55
gotoAndPlay (2);
Symbol 1995 MovieClip Frame 1
stop();
Symbol 1995 MovieClip Frame 2
stop();
Symbol 1996 Button
on (release) {
if (_root.background9.door.hittest(_root.pimp)) {
_root.current_background = background20;
_root.set_background(_root.background20);
_root.pimpx = 254;
_root.pimp._x = _root.pimpx;
_root.pimpy = 184;
_root.pimp._y = _root.pimpy;
}
}
Symbol 1997 MovieClip Frame 1
stop();
Symbol 1997 MovieClip Frame 2
stop();
Symbol 1998 MovieClip Frame 1
stop();
Symbol 1998 MovieClip Frame 2
stop();
Instance of Symbol 1995 MovieClip "door" in Symbol 1999 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Symbol 2008 Button
on (release) {
if (((_root.itemcoin2 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemmoney = true;
_root.itemcoin2 = true;
setProperty(_root.background8.coin2, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2009 Button
on (release) {
if (((_root.itemcoin3 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemmoney = true;
_root.itemcoin3 = true;
setProperty(_root.background8.coin3, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.1;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2010 Button
on (release) {
if (((_root.itemcoin1 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemmoney = true;
_root.itemcoin1 = true;
setProperty(_root.background8.coin1, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.1;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2011 Button
on (release) {
if (((_root.itemcoin4 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemcoin4 = true;
_root.itemmoney = true;
setProperty(_root.background8.coin4, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.05;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2012 Button
on (release) {
if (((_root.itemcoin5 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemmoney = true;
_root.itemcoin5 = true;
setProperty(_root.background8.coin5, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2013 Button
on (release) {
if (((_root.itemcoin6 == false) && (_root.event_meterbust == true)) && (_root.freeze_action == false)) {
_root.itemcoin6 = true;
_root.itemmoney = true;
setProperty(_root.background8.coin6, _visible , false);
_root.coin_count++;
if (_root.coin_count == 1) {
_root.dialogue_ill_take_that.gotoAndPlay(2);
}
if (_root.coin_count == 6) {
_root.dialogue_and_that2.gotoAndPlay(2);
}
if ((1 < _root.coin_count) && (_root.coin_count < 6)) {
_root.dialogue_and_that.gotoAndPlay(2);
}
_root.cash = _root.cash + 0.25;
if (_root.keymoneywad._visible == false) {
setProperty(_root.keymoney, _visible , true);
}
}
}
Symbol 2018 Button
on (release) {
if (_root.freeze_action == false) {
_root.dialogue_meter.gotoAndPlay(2);
}
}
Symbol 2020 MovieClip Frame 1
stop();
Symbol 2020 MovieClip Frame 2
stop();
Symbol 2020 MovieClip Frame 3
play();
Symbol 2020 MovieClip Frame 28
setProperty(_root.background8.coin1, _visible , true);
setProperty(_root.background8.coin2, _visible , true);
setProperty(_root.background8.coin3, _visible , true);
setProperty(_root.background8.coin4, _visible , true);
setProperty(_root.background8.coin5, _visible , true);
setProperty(_root.background8.coin6, _visible , true);
Symbol 2020 MovieClip Frame 29
stop();
Instance of Symbol 2020 MovieClip "parking_meter" in Symbol 2021 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
if (_root.event_meterbust == false) {
gotoAndStop (2);
}
} else if (_root.event_meterbust == false) {
gotoAndStop (1);
}
}
Symbol 2037 MovieClip Frame 1
stop();
Symbol 2037 MovieClip Frame 2
play();
Symbol 2037 MovieClip Frame 24
gotoAndStop (1);
Symbol 2038 Button
on (release) {
if (_root.background6.real_change_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 1) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 1) && (_root.itemnewspaper == false)) {
_root.background6.real_change_guy.gotoAndPlay("newspaper_buy");
}
}
}
Symbol 2040 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2044 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2049 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2053 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2055 MovieClip Frame 1
stop();
Symbol 2055 MovieClip Frame 28
_root.real_change_ask_count++;
if (_root.real_change_ask_count == 7) {
if (_root.itemnewspaper == false) {
_root.real_change_ask_count = 0;
_root.dialogue_asked_already.gotoAndPlay(2);
}
if (_root.itemnewspaper == true) {
_root.real_change_ask_count = 0;
_root.dialogue_newspaper_already.gotoAndPlay(2);
}
}
Symbol 2055 MovieClip Frame 33
gotoAndStop (1);
Symbol 2055 MovieClip Frame 67
gotoAndStop (1);
Symbol 2055 MovieClip Frame 75
_root.freeze_action = true;
play();
Symbol 2055 MovieClip Frame 101
_root.freeze_action = false;
Symbol 2055 MovieClip Frame 121
gotoAndStop (1);
Symbol 2055 MovieClip Frame 129
_root.cash = _root.cash - 1;
_root.itemnewspaper = true;
_root.real_change_ask_count = 0;
key_xposition = _root.place_item("keynewspaper");
_root.keynewspaper._x = key_xposition;
_root.freeze_action = true;
play();
Symbol 2055 MovieClip Frame 172
_root.freeze_action = false;
Symbol 2055 MovieClip Frame 173
_root.overlay.gotoAndPlay(2);
_root.keynewspaper._visible = true;
_root.freeze_action = false;
gotoAndStop (1);
Instance of Symbol 2055 MovieClip "real_change_guy" in Symbol 2056 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
setProperty(_root.background6.real_change_guy.glowing_disc, _visible , true);
} else {
setProperty(_root.background6.real_change_guy.glowing_disc, _visible , false);
}
}
Symbol 2065 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 2066 MovieClip Frame 1
stop();
Symbol 2066 MovieClip Frame 2
stop();
Symbol 2066 MovieClip Frame 3
play();
Symbol 2066 MovieClip Frame 113
stop();
Symbol 2067 Button
on (release) {
if (_root.background5.dumpster.hittest(_root.pimp)) {
if (((_root.nog_out == false) && (_root.event_nog == false)) && (_root.event_pickup == false)) {
tellTarget (_root.background5.dumpster) {
gotoAndPlay (3);
};
if (_root.event_nog == false) {
_root.nog_out = true;
}
}
if ((((_root.nog_out == false) && (_root.event_nog == false)) && (_root.event_pickup == true)) && (_root.event_pimping1 == false)) {
_root.event_pimping1 = true;
_root.cutscene_pimping = true;
_root.cash = _root.cash + 200;
}
}
}
Instance of Symbol 2066 MovieClip "dumpster" in Symbol 2068 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp) && (_root.nog_out == false)) {
gotoAndStop (2);
} else if (_root.nog_out == false) {
gotoAndStop (1);
}
}
Symbol 2073 Button
on (release) {
if (_root.background.trash.hittest(_root.pimp)) {
_root.cutscenetrash = true;
}
}
Symbol 2097 MovieClip Frame 1
stop();
Symbol 2097 MovieClip Frame 2
play();
Symbol 2097 MovieClip Frame 28
gotoAndPlay (2);
Symbol 2107 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2112 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2114 MovieClip Frame 1
stop();
Symbol 2114 MovieClip Frame 2
_root.freeze_action = true;
play();
Symbol 2114 MovieClip Frame 60
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2114 MovieClip Frame 70
_root.freeze_action = true;
play();
Instance of Symbol 2112 MovieClip in Symbol 2114 MovieClip Frame 70
/* no clip actions */
Symbol 2114 MovieClip Frame 116
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2126 MovieClip Frame 1
stop();
Symbol 2126 MovieClip Frame 2
stop();
Symbol 2126 MovieClip Frame 3
play();
Symbol 2126 MovieClip Frame 128
stop();
Symbol 2127 Button
on (release) {
if ((_root.background1.car.hittest(_root.pimp) && (_root.car_unlocked == true)) && (_root.freeze_action == false)) {
if (_root.event_pimping1 == true) {
_root.sc_car_door.gotoAndPlay(2);
_root.current_background = background22;
_root.set_background(_root.background22);
_root.freeze_action = true;
} else {
_root.dialogue_unfinishedbusiness.gotoAndPlay(2);
}
}
if ((_root.background1.car.hittest(_root.pimp) && (_root.car_unlocked == false)) && (_root.freeze_action == false)) {
if (_root.event_windowbust == true) {
_root.dialogue_car2.gotoAndPlay(2);
} else {
_root.dialogue_car.gotoAndPlay(2);
}
}
}
Instance of Symbol 2126 MovieClip "car" in Symbol 2128 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hittest(_root.pimp)) {
if (_root.event_windowbust == false) {
gotoAndStop (2);
}
} else if (_root.event_windowbust == false) {
gotoAndStop (1);
}
}
Symbol 2138 MovieClip Frame 1
stop();
Symbol 2138 MovieClip Frame 2
play();
Symbol 2138 MovieClip Frame 15
stop();
Symbol 2138 MovieClip Frame 16
play();
Symbol 2138 MovieClip Frame 24
_root.freeze_action = false;
Symbol 2139 MovieClip Frame 1
stop();
Symbol 2140 MovieClip Frame 1
stop();
Symbol 2140 MovieClip Frame 2
stop();
Symbol 2141 MovieClip Frame 1
stop();
Symbol 2141 MovieClip Frame 2
stop();
Symbol 2150 Button
on (release) {
if (background17.donut_stand.donut_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (cash < 0.499999) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (((cash >= 0.49999) && (itemdonut == false)) && (event_cop_bribe == false)) {
_root.dialogue_donutbuy.gotoAndPlay(2);
cash = cash - 0.5;
if (cash < 0.01) {
cash = "0";
cash = Math.round(Number(cash));
}
itemdonut = true;
key_xposition = _root.place_item("keydonut");
_root.keydonut._x = key_xposition;
}
}
if (background24.shelf.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (cash < 2) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((cash >= 2) && (itemscrewdriver == false)) {
_root.dialogue_screwdriverbuy.gotoAndPlay(2);
cash = cash - 2;
itemscrewdriver = true;
key_xposition = _root.place_item("keyscrewdriver");
_root.keyscrewdriver._x = key_xposition;
}
}
if (((_root.itemcoat == false) && (_root.background20.coat.hittest(_root.pimp))) && (_root.freeze_action == false)) {
if (_root.cash < 100) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if (_root.cash >= 100) {
_root.itemcoat = true;
setProperty(_root.keycoat, _visible , true);
setProperty(_root.background20.coat, _visible , false);
setProperty(_root.background9.coat, _visible , false);
_root.cash = _root.cash - 100;
_root.dialogue_vines.gotoAndPlay(2);
key_xposition = _root.place_item("keycoat");
_root.keycoat._x = key_xposition;
}
}
if ((background13.thug.hittest(_root.pimp) && (_root.freeze_action == false)) && (_root.event_deal2 == false)) {
if (_root.event_deal == true) {
_root.background13.thug.gotoAndPlay("thug_pay");
_root.event_deal2 = true;
if (2 >= cash) {
setProperty(_root.keymoney, _visible , true);
setProperty(_root.keymoneywad, _visible , false);
}
}
}
if (_root.background6.real_change_guy.hittest(_root.pimp) && (_root.freeze_action == false)) {
if (_root.cash < 1) {
_root.dialogue_cantafford.gotoAndPlay(2);
}
if ((_root.cash >= 1) && (_root.itemnewspaper == false)) {
_root.background6.real_change_guy.gotoAndPlay("newspaper_buy");
}
}
if (0 >= cash) {
itemmoney = false;
setProperty("keymoney", _visible , false);
}
}
Symbol 2151 Button
on (release) {
_root.use_item(1);
}
Symbol 2152 Button
on (release) {
_root.use_item(2);
}
Symbol 2153 Button
on (release) {
_root.use_item(5);
}
Symbol 2154 Button
on (release) {
_root.use_item(4);
}
Symbol 2155 Button
on (release) {
_root.use_item(3);
}
Symbol 2156 MovieClip Frame 1
stop();
Symbol 2156 MovieClip Frame 2
play();
Symbol 2156 MovieClip Frame 190
gotoAndStop (1);
Symbol 2158 MovieClip Frame 1
stop();
Symbol 2160 MovieClip Frame 1
stop();
Symbol 2160 MovieClip Frame 2
play();
Symbol 2160 MovieClip Frame 34
gotoAndStop (1);
Symbol 2162 MovieClip Frame 1
stop();
Symbol 2162 MovieClip Frame 2
play();
Symbol 2162 MovieClip Frame 59
gotoAndStop (1);
Symbol 2164 MovieClip Frame 1
stop();
Symbol 2164 MovieClip Frame 2
play();
Symbol 2164 MovieClip Frame 23
gotoAndStop (1);
Symbol 2169 MovieClip Frame 1
stop();
Symbol 2169 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2169 MovieClip Frame 63
_root.talking = false;
gotoAndStop (1);
Symbol 2173 MovieClip Frame 1
if (300 < _root.pimpx) {
gotoAndStop (2);
}
stop();
Symbol 2173 MovieClip Frame 2
if (300 >= _root.pimpx) {
gotoAndStop (1);
}
stop();
Symbol 2174 MovieClip Frame 1
stop();
Symbol 2174 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.freeze_action = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2174 MovieClip Frame 68
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2179 MovieClip Frame 1
stop();
Symbol 2179 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2179 MovieClip Frame 44
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2183 MovieClip Frame 1
stop();
Symbol 2183 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2183 MovieClip Frame 75
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2186 MovieClip Frame 1
stop();
Symbol 2186 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2186 MovieClip Frame 39
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2191 MovieClip Frame 1
stop();
Symbol 2191 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2191 MovieClip Frame 78
_root.talking = false;
gotoAndStop (1);
Symbol 2196 MovieClip Frame 1
stop();
Symbol 2196 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2196 MovieClip Frame 77
_root.keydonut._visible = true;
_root.background17.donut_stand.donut._visible = false;
_root.donut_guy_talking = true;
_root.background17.donut_stand.donut_guy.gotoAndPlay("donut_guy_respond");
_root.overlay.gotoAndPlay(2);
_root.talking = false;
gotoAndStop (1);
Symbol 2202 MovieClip Frame 1
stop();
Symbol 2202 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2202 MovieClip Frame 73
_root.background24.screwdriver._visible = false;
_root.keyscrewdriver._visible = true;
_root.overlay.gotoAndPlay(2);
_root.background24.clerk.gotoAndPlay(2);
_root.talking = false;
gotoAndStop (1);
Symbol 2204 MovieClip Frame 1
stop();
Symbol 2204 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2204 MovieClip Frame 21
_root.talking = false;
_root.overlay.gotoAndPlay("cash_window");
gotoAndStop (1);
Symbol 2206 MovieClip Frame 1
stop();
Symbol 2206 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2206 MovieClip Frame 15
_root.talking = false;
_root.overlay.gotoAndPlay("cash_window");
gotoAndStop (1);
Symbol 2209 MovieClip Frame 1
stop();
Symbol 2209 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2209 MovieClip Frame 15
_root.talking = false;
_root.overlay.gotoAndPlay("cash_window");
gotoAndStop (1);
Symbol 2212 MovieClip Frame 1
stop();
Symbol 2212 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
cop_location_x = 264;
cop_location_y = 78;
this._x = cop_location_x;
this._y = cop_location_y;
play();
Symbol 2212 MovieClip Frame 43
gotoAndStop (1);
Symbol 2216 MovieClip Frame 1
stop();
Symbol 2216 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2216 MovieClip Frame 71
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2223 MovieClip Frame 1
stop();
Symbol 2223 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2223 MovieClip Frame 93
_root.talking = false;
gotoAndStop (1);
Symbol 2228 MovieClip Frame 1
stop();
Symbol 2228 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2228 MovieClip Frame 94
_root.talking = false;
gotoAndStop (1);
Symbol 2233 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2233 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2233 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2233 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2234 MovieClip Frame 1
stop();
Symbol 2234 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2234 MovieClip Frame 49
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2245 MovieClip Frame 1
stop();
Symbol 2245 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2245 MovieClip Frame 104
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2251 MovieClip Frame 1
if (300 < _root.pimpx) {
gotoAndStop (2);
}
stop();
Symbol 2251 MovieClip Frame 2
if (300 >= _root.pimpx) {
gotoAndStop (2);
}
stop();
Symbol 2252 MovieClip Frame 1
stop();
Symbol 2252 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2252 MovieClip Frame 101
_root.background21.bar_girl3.gotoAndPlay("pick_up_response");
_root.talking = false;
gotoAndStop (1);
Symbol 2256 MovieClip Frame 1
stop();
Symbol 2256 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2256 MovieClip Frame 42
_root.talking = false;
gotoAndStop (1);
Symbol 2260 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2260 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2260 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2260 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2261 MovieClip Frame 1
stop();
Symbol 2261 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2261 MovieClip Frame 54
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2267 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 2267 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 2268 MovieClip Frame 1
stop();
Symbol 2268 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
play();
Symbol 2268 MovieClip Frame 34
gotoAndStop (1);
Symbol 2270 MovieClip Frame 1
if (300 < _root.pimpx) {
gotoAndStop (2);
}
stop();
Symbol 2270 MovieClip Frame 2
if (300 >= _root.pimpx) {
gotoAndStop (1);
}
stop();
Symbol 2271 MovieClip Frame 1
stop();
Symbol 2271 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2271 MovieClip Frame 42
_root.talking = false;
_root.cutscene_bitchslap = true;
gotoAndStop (1);
Symbol 2278 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2278 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2278 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2278 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2279 MovieClip Frame 1
stop();
Symbol 2279 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2279 MovieClip Frame 124
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2282 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2282 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2282 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2282 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2283 MovieClip Frame 1
stop();
Symbol 2283 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2283 MovieClip Frame 124
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2288 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if (_root.pimpy < 100) {
gotoAndStop (2);
}
if (_root.pimpy >= 100) {
gotoAndStop (1);
}
Symbol 2288 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if (_root.pimpy < 100) {
gotoAndStop (2);
}
if (_root.pimpy >= 100) {
gotoAndStop (1);
}
Symbol 2289 MovieClip Frame 1
stop();
Symbol 2289 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2289 MovieClip Frame 56
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2290 MovieClip Frame 1
stop();
Symbol 2290 MovieClip Frame 2
play();
_root.freeze_action = true;
Symbol 2290 MovieClip Frame 47
_root.freeze_action = false;
_root.background10.graffiti_guy.balloon._visible = false;
stop();
Symbol 2293 MovieClip Frame 1
stop();
Symbol 2293 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2293 MovieClip Frame 66
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2297 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2297 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2297 MovieClip Frame 3
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2297 MovieClip Frame 4
if (_root.captioning == false) {
this._visible = false;
}
if ((_root.pimpx < 222) && (_root.pimpy < 141)) {
gotoAndStop (1);
}
if ((_root.pimpx >= 222) && (_root.pimpy < 141)) {
gotoAndStop (2);
}
if ((_root.pimpx < 222) && (_root.pimpy >= 141)) {
gotoAndStop (3);
}
if ((_root.pimpx >= 222) && (_root.pimpy >= 141)) {
gotoAndStop (4);
}
Symbol 2298 MovieClip Frame 1
stop();
Symbol 2298 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
pimp_location_x = _root.pimp._x;
pimp_location_y = _root.pimp._y;
this._x = pimp_location_x;
this._y = pimp_location_y;
_root.talking = true;
_root.pimp.gotoAndPlay("pimp_talk");
play();
Symbol 2298 MovieClip Frame 51
_root.talking = false;
_root.freeze_action = false;
gotoAndStop (1);
Symbol 2299 Button
on (release) {
if ((_root.freeze_action == false) || (_root.current_background == background22)) {
gotoAndPlay (3399);
}
}
Symbol 2306 MovieClip Frame 1
stop();
Symbol 2306 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 2306 MovieClip Frame 37
gotoAndStop (1);
Symbol 2308 Button
on (release) {
if (_root.current_level == 2) {
setProperty("head", _visible , true);
setProperty("pimp", _visible , true);
setProperty("money_text2", _visible , true);
setProperty("lamp_post2", _visible , true);
gotoAndPlay (2842);
} else {
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
gotoAndPlay (1445);
}
}
Symbol 2309 Button
on (release) {
if (_root.current_level == 2) {
gotoAndStop (390);
} else {
_root.soundtrack.gotoAndStop(1);
_root.soundtrack_started = false;
gotoAndStop (390);
}
}
Symbol 2322 MovieClip Frame 1
stop();
Symbol 2322 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 2322 MovieClip Frame 82
gotoAndStop (1);
Symbol 2323 Button
on (release) {
setProperty("head", _visible , true);
setProperty("pimp", _visible , true);
setProperty("money_text2", _visible , true);
setProperty("lamp_post2", _visible , true);
gotoAndPlay (2842);
}
Symbol 2324 Button
on (release) {
gotoAndStop (390);
}
Symbol 2329 MovieClip Frame 1
stop();
Symbol 2329 MovieClip Frame 2
play();
Symbol 2329 MovieClip Frame 29
gotoAndStop (1);
Symbol 2330 MovieClip Frame 1
stop();
Symbol 2330 MovieClip Frame 2
play();
Symbol 2330 MovieClip Frame 259
gotoAndStop (1);
Symbol 2332 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2340 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2345 MovieClip Frame 1
stop();
Symbol 2345 MovieClip Frame 2
play();
Symbol 2351 MovieClip Frame 1
stop();
Symbol 2355 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2361 MovieClip Frame 1
stop();
Symbol 2367 MovieClip Frame 1
stop();
Symbol 2367 MovieClip Frame 2
stop();
Symbol 2371 MovieClip Frame 1
stop();
Symbol 2371 MovieClip Frame 2
play();
Symbol 2371 MovieClip Frame 12
gotoAndStop (1);
Symbol 2373 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
stop();
Symbol 2382 MovieClip Frame 1
stop();
Symbol 2382 MovieClip Frame 2
if (_root.captioning == false) {
this._visible = false;
}
play();
Symbol 2382 MovieClip Frame 65
gotoAndStop (1);
Symbol 2390 Button
on (release) {
_root.generate_passcode();
}
Symbol 2395 Button
on (release) {
gotoAndStop (389);
}
Symbol 2401 Button
on (release) {
toggleHighQuality();
}
Symbol 2406 Button
on (release) {
if (_root.captioning == true) {
_root.captioning = false;
_root.balloon.gotoAndStop(2);
} else {
_root.captioning = true;
_root.balloon.gotoAndStop(1);
}
}
Symbol 2409 MovieClip Frame 1
if (_root.captioning == true) {
gotoAndStop (1);
}
if (_root.captioning == false) {
gotoAndStop (2);
}
stop();
Symbol 2409 MovieClip Frame 2
if (_root.captioning == true) {
gotoAndStop (1);
}
if (_root.captioning == false) {
gotoAndStop (2);
}
stop();
Symbol 2414 Button
on (release) {
gotoAndStop (7);
}
Symbol 2415 Button
on (release) {
if (_root.current_level == "action") {
_root.action_frame = _root.action_frame - 450;
if (_root.action_frame < 1) {
_root.action_frame = 1;
}
gotoAndPlay(action_frame +390);
}
if (_root.current_level == "dead") {
gotoAndPlay (391);
}
if (_root.current_level == 1) {
_root.restore_graphic_call = true;
gotoAndPlay (1367);
}
if (_root.current_level == "shooter") {
gotoAndPlay (1445);
}
if (_root.current_level == 2) {
_root.restore_graphic_call = true;
gotoAndPlay (2843);
}
}
Symbol 2420 Button
on (release) {
if (_root.current_level == "action") {
gotoAndPlay (391);
}
if (_root.current_level == "dead") {
gotoAndPlay (391);
}
if (_root.current_level == 1) {
gotoAndPlay (1366);
}
if (_root.current_level == "shooter") {
gotoAndPlay (1445);
}
if (_root.current_level == 2) {
gotoAndPlay (2842);
}
}
Symbol 2423 MovieClip Frame 10
stop();
Symbol 2425 Button
on (release) {
gotoAndStop (390);
}
Symbol 2431 MovieClip Frame 1
stop();
Symbol 2431 MovieClip Frame 2
play();
Symbol 2431 MovieClip Frame 912
gotoAndStop (1);
Symbol 2475 MovieClip Frame 1
if (_root.captioning == false) {
this._visible = false;
}
Symbol 2586 Button
on (release) {
getURL ("http://flashghetto.com");
}