Frame 1
stop();
Frame 5
tellTarget ("/twoface") {
speed = "6";
min_x = "40";
max_x = "440";
points = "10";
gotoAndPlay (1);
};
tellTarget ("/penguin") {
speed = "9";
min_x = "50";
max_x = "420";
points = "20";
gotoAndPlay (1);
};
tellTarget ("/joker") {
speed = "13";
min_x = "60";
max_x = "400";
points = "30";
gotoAndPlay (1);
};
gun_accuracy = "10";
gun_speed = "20";
gun_min_x = "100";
gun_max_x = "400";
text1 = "Do you understand how to play this game?";
text2 = "Well, at least your not terrible.";
text3 = "O.K.";
text4 = "Good!";
text5 = "Wow, you go girl! It's your birthday, it's your birthday.....";
top_score = "500";
score = "0";
setProperty("/twoface", _x , /twoface/:min_x);
setProperty("/penguin", _x , /penguin/:min_x);
setProperty("/joker", _x , /joker/:min_x);
tellTarget ("/twoface/base") {
play();
};
tellTarget ("/penguin/base") {
play();
};
tellTarget ("/joker/base") {
play();
};
tellTarget ("/timer") {
gotoAndPlay ("start");
};
tellTarget ("/gun") {
gotoAndPlay (1);
}
Frame 6
stop();
Frame 9
tellTarget ("/gun") {
stop();
};
tellTarget ("/twoface") {
stop();
};
tellTarget ("/penguin") {
stop();
};
tellTarget ("/joker") {
stop();
};
tellTarget ("/twoface/base") {
stop();
};
tellTarget ("/penguin/base") {
stop();
};
tellTarget ("/joker/base") {
stop();
};
if (score >= top_score) {
final_text = text5;
} else if (score >= (top_score * "0.75")) {
final_text = text4;
} else if (score >= (top_score * "0.5")) {
final_text = text3;
} else if (score >= (top_score * "0.25")) {
final_text = text2;
} else {
final_text = text1;
}
Frame 18
stop();
Symbol 4 Button
on (release) {
gotoAndPlay (5);
}
Symbol 8 MovieClip Frame 1
if (max_x < (getProperty("../joker", _x) + speed)) {
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("spin_left");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../30_points") {
gotoAndPlay (2);
};
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
} else {
setProperty("../joker", _x , getProperty("../joker", _x) + speed);
}
Symbol 8 MovieClip Frame 2
gotoAndPlay (1);
Symbol 8 MovieClip Frame 6
if ((getProperty("../joker", _x) - speed) < min_x) {
gotoAndPlay (18);
tellTarget ("../sound") {
gotoAndPlay ("spin_right");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../30_points") {
gotoAndPlay (2);
};
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
gotoAndPlay (18);
} else {
setProperty("../joker", _x , getProperty("../joker", _x) - speed);
}
Symbol 8 MovieClip Frame 7
gotoAndPlay (6);
Symbol 8 MovieClip Frame 16
if (hit) {
hit = "0";
setProperty("../joker", _x , getProperty("../joker", _x) - ../:gun_accuracy);
}
gotoAndPlay (6);
Symbol 8 MovieClip Frame 23
if (hit) {
hit = "0";
setProperty("../joker", _x , getProperty("../joker", _x) + ../:gun_accuracy);
}
gotoAndPlay (1);
Symbol 12 MovieClip Frame 1
if (max_x < (getProperty("../penguin", _x) + speed)) {
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("spin_left");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../20_points") {
gotoAndPlay (2);
};
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
} else {
setProperty("../penguin", _x , getProperty("../penguin", _x) + speed);
}
Symbol 12 MovieClip Frame 2
gotoAndPlay (1);
Symbol 12 MovieClip Frame 6
if ((getProperty("../penguin", _x) - speed) < min_x) {
gotoAndPlay (18);
tellTarget ("../sound") {
gotoAndPlay ("spin_right");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../20_points") {
gotoAndPlay (2);
};
gotoAndPlay (18);
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
} else {
setProperty("../penguin", _x , getProperty("../penguin", _x) - speed);
}
Symbol 12 MovieClip Frame 7
gotoAndPlay (6);
Symbol 12 MovieClip Frame 16
if (hit) {
hit = "0";
setProperty("../penguin", _x , getProperty("../penguin", _x) - ../:gun_accuracy);
}
gotoAndPlay (6);
Symbol 12 MovieClip Frame 23
if (hit) {
hit = "0";
setProperty("../penguin", _x , getProperty("../penguin", _x) + ../:gun_accuracy);
}
gotoAndPlay (1);
Symbol 16 MovieClip Frame 1
if (max_x < (getProperty("../twoface", _x) + speed)) {
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("spin_left");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../10_points") {
gotoAndPlay (2);
};
gotoAndPlay (11);
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
} else {
setProperty("../twoface", _x , getProperty("../twoface", _x) + speed);
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 16 MovieClip Frame 6
if ((getProperty("../twoface", _x) - speed) < min_x) {
gotoAndPlay (18);
tellTarget ("../sound") {
gotoAndPlay ("spin_right");
};
} else if (hit) {
Set("../:score", ../:score + points);
tellTarget ("../10_points") {
gotoAndPlay (2);
};
gotoAndPlay (18);
tellTarget ("../sound") {
gotoAndPlay ("hit");
};
} else {
setProperty("../twoface", _x , getProperty("../twoface", _x) - speed);
}
Symbol 16 MovieClip Frame 7
gotoAndPlay (6);
Symbol 16 MovieClip Frame 16
if (hit) {
hit = "0";
setProperty("../twoface", _x , getProperty("../twoface", _x) - (../:gun_accuracy * "2"));
}
gotoAndPlay (6);
Symbol 16 MovieClip Frame 23
if (hit) {
hit = "0";
setProperty("../twoface", _x , getProperty("../twoface", _x) + (../:gun_accuracy * "2"));
}
gotoAndPlay (1);
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
_x = getProperty("../gun", _x);
Symbol 21 MovieClip Frame 10
gotoAndStop (1);
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
_x = getProperty("../gun", _x);
Symbol 23 MovieClip Frame 10
gotoAndStop (1);
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 2
_x = getProperty("../gun", _x);
Symbol 25 MovieClip Frame 10
gotoAndStop (1);
Symbol 29 MovieClip Frame 1
ready = "1";
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 9
gotoAndPlay (1);
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
play();
Symbol 35 MovieClip Frame 451
tellTarget ("../") {
gotoAndPlay ("game_over");
}
Symbol 35 MovieClip Frame 452
stop();
Symbol 36 Button
on (keyPress "<Right>") {
if (gun_max_x < (getProperty("gun", _x) + gun_speed)) {
} else {
setProperty("gun", _x , getProperty("gun", _x) + gun_speed);
}
}
on (keyPress "<Left>") {
if ((getProperty("gun", _x) - gun_speed) < gun_min_x) {
} else {
setProperty("gun", _x , getProperty("gun", _x) - gun_speed);
}
}
on (keyPress "<Space>") {
if (gun/:ready == "1") {
Set("gun/:ready", "0");
gun_x = getProperty("gun", _x);
twoface_x = getProperty("twoface", _x);
penguin_x = getProperty("penguin", _x);
joker_x = getProperty("joker", _x);
if ("2" == (((gun_x + gun_accuracy) >= twoface_x) + (twoface_x >= (gun_x - gun_accuracy)))) {
tellTarget ("/gun") {
gotoAndPlay ("hit3");
};
tellTarget ("/twoface") {
hit = "1";
};
} else if ("2" == (((gun_x + gun_accuracy) >= penguin_x) + (penguin_x >= (gun_x - gun_accuracy)))) {
tellTarget ("/gun") {
gotoAndPlay ("hit2");
};
tellTarget ("/penguin") {
hit = "1";
};
} else if ("2" == (((gun_x + gun_accuracy) >= joker_x) + (joker_x >= (gun_x - gun_accuracy)))) {
tellTarget ("/gun") {
gotoAndPlay ("hit1");
};
tellTarget ("/joker") {
hit = "1";
};
} else {
tellTarget ("/sound") {
gotoAndPlay ("miss");
};
tellTarget ("/gun") {
gotoAndPlay ("miss");
};
}
}
}
Symbol 42 MovieClip Frame 2
stop();
Symbol 42 MovieClip Frame 6
stop();
Symbol 42 MovieClip Frame 19
stop();
Symbol 42 MovieClip Frame 33
stop();
Symbol 42 MovieClip Frame 46
stop();