Frame 1
stop();
Frame 2
_quality = "MEDIUM";
Frame 6
function f_ColorSwap(zone, u_color) {
CharacterColor = new Color(zone);
CharacterColor.setTransform(u_color);
}
function f_NewColor(u_color) {
u_color.ra = 100;
u_color.ga = 100;
u_color.ba = 100;
u_color.aa = 100;
u_color.rb = 0;
u_color.gb = 0;
u_color.bb = 0;
u_color.ab = 0;
}
function f_CreateFX() {
current_fx = 1;
total_fx = 150;
var _local1 = 1;
while (_local1 <= total_fx) {
var _local2 = game.game.attachMovie("fx", "fx" + int(_local1), fx_depth + _local1);
_local1++;
}
}
function f_CreateSparks() {
current_spark = 1;
total_sparks = 25;
var _local1 = 1;
while (_local1 <= total_sparks) {
var _local2 = game.game.attachMovie("spark", "spark" + int(_local1), spark_depth + _local1);
_local1++;
}
}
function f_rad2deg(radian) {
return(g_deg * radian);
}
function f_PissInit() {
piss_x = kfed_head._x;
piss_timer = 0;
piss_speed = 6;
}
function f_Piss() {
if (pissing) {
var _local1 = f_FX(piss_x, -10 - game_y, "piss2", 100, 100);
var _local2 = _local1._x + game_x;
var _local4 = _local1._y + game_y;
var _local3 = f_rad2deg(Math.atan2(_local4 - _ymouse, _local2 - _xmouse));
_local1.speed_x = (-piss_speed) * Math.cos(PI * _local3);
_local1.speed_y = (-piss_speed) * Math.sin(PI * _local3);
_local1.gravity = piss_speed * 0.15;
if (random(4) == 1) {
_local1.gravity = piss_speed * 0.17;
}
if ((piss_x + game_x) < _xmouse) {
piss_x = piss_x + 0.5;
} else {
piss_x = piss_x - 0.5;
}
_local1._rotation = (_local2 - _xmouse) * 0.02;
piss_timer++;
if ((piss_timer % 30) == 0) {
}
return(_local1);
}
}
function f_PissSplatter(zone) {
zone.gotoAndStop("piss_splatter");
zone._rotation = random(10) - 20;
var _local2 = 70 + random(30);
zone._xscale = _local2;
zone._yscale = _local2;
if (random(2) == 1) {
zone._xscale = zone._xscale - 1;
}
}
function f_PissFall(zone) {
zone._x = zone._x + zone.speed_x;
zone._y = zone._y + zone.speed_y;
zone.speed_y = zone.speed_y + zone.gravity;
zone._yscale = zone._yscale + 10;
var _local2 = Math.abs(zone._x - kfed_head._x);
if (_local2 < 70) {
if (_local2 < 50) {
var _local3 = 50;
} else {
var _local3 = 30 + (70 - _local2);
}
if ((zone._y + (zone._height / 2)) > (kfed_head._y - _local3)) {
zone._y = (kfed_head._y - _local3) + random(4);
f_PissSplatter(zone);
return(undefined);
}
} else {
_local2 = Math.abs(zone._x - baby._x);
if (_local2 < 75) {
if (_local2 < 40) {
var _local3 = 5;
} else {
var _local3 = -30 + (75 - _local2);
}
if ((zone._y + (zone._height / 2)) > (baby._y - _local3)) {
zone._y = (baby._y - _local3) + random(4);
f_PissSplatter(zone);
return(undefined);
}
} else if ((zone._y + (zone._height / 2)) > (ground._y + 35)) {
zone._y = ground._y + 35;
f_PissSplatter(zone);
return(undefined);
}
}
}
function f_HeadHit() {
kfed.head_hits++;
if (kfed.head_hits == 10) {
kfed.head_hits = 11;
kfed.dizzy_timer = 100;
kfed.gotoAndStop("dizzy");
} else if (kfed.head_hits == 20) {
kfed.head_frame = 2;
} else if (kfed.head_hits == 35) {
kfed.head_frame = 3;
} else if (kfed.head_hits == 50) {
kfed.head_frame = 4;
} else if (kfed.head_hits == 65) {
kfed.head_frame = 5;
}
}
function f_PunchSound() {
_root["s_punch" + (random(3) + 1)].start(0, 0);
}
function f_HeavySwing() {
if (charge_pow >= charge_pow_max) {
s_charged.stop();
s_explosion1.start(0, 0);
} else {
_root["s_swing" + (random(3) + 1)].start(0, 0);
}
}
function f_LightSwing() {
if (charge_pow >= charge_pow_max) {
s_charged.stop();
s_explosion1.start(0, 0);
} else {
_root["s_swing" + (random(3) + 4)].start(0, 0);
}
}
function f_Charge(zone) {
charge_pow = charge_pow + 1;
if (charge_pow >= charge_pow_max) {
if (charge_pow == charge_pow_max) {
s_charged.start(0, 0);
}
if ((charge_pow % 2) == 0) {
f_ColorSwap(zone, color_yellow);
} else {
f_ColorSwap(zone, color_default);
}
}
if (!zone.init) {
zone.init = true;
zone.default_x = zone._x;
zone.default_y = zone._y;
charge = 10;
}
zone._x = (zone.default_x + random(charge)) - (charge / 2);
zone._y = (zone.default_y + random(charge)) - (charge / 2);
if (temp_punch == "punch3") {
zone.default_x = zone.default_x - 1;
} else {
zone.default_y = zone.default_y + 1;
}
}
function f_Punch() {
if (lefty) {
temp_fist = left;
} else {
temp_fist = right;
}
if (!temp_fist.busy) {
punch_speed_x = _xmouse - (fists._x + game_x);
punch_speed_y = _ymouse - (fists._y + game_y);
if ((_ymouse - (fists._y + game_y)) < -30) {
temp_fist.getbusy = true;
temp_lefty = lefty;
temp_fist.punch_type = 4;
temp_punch = "punch4";
} else if (Math.abs(_xmouse - (fists._x + game_x)) > 80) {
temp_fist.getbusy = true;
temp_lefty = lefty;
temp_fist.punch_type = 3;
temp_punch = "punch3";
} else {
temp_fist.getbusy = true;
temp_fist.punch_type = 1;
temp_punch = "punch1";
}
if (temp_fist.getbusy) {
temp_fist.getbusy = false;
temp_fist.busy = true;
}
temp_fist.gotoAndStop(temp_punch);
temp_fist.fist.gotoAndPlay("go");
return(true);
}
return(false);
}
function f_PunchFinish() {
f_ColorSwap(temp_fist.fist, color_default);
release_x = _xmouse;
release_y = _ymouse;
temp_fist.fist.gotoAndPlay("finish");
if (temp_punch == "punch3") {
if (temp_lefty) {
right.busy = true;
right.gotoAndStop("punch3b");
right.fist.gotoAndPlay(13);
} else {
left.busy = true;
left.gotoAndStop("punch3b");
left.fist.gotoAndPlay(13);
}
}
}
function f_WithdrawIdle() {
if ((!left.busy) and (!right.busy)) {
left.gotoAndStop("withdraw");
right.gotoAndStop("withdraw");
}
}
function f_EndPunch(zone) {
supermove = false;
charge_pow = 0;
zone.busy = false;
if (!cinema) {
zone.gotoAndStop("idle");
} else if (withdraw) {
withdraw = false;
left.busy = true;
right.busy = true;
left.gotoAndStop("withdraw");
right.gotoAndStop("withdraw");
if (endsequence and (!finish_init)) {
finish_init = true;
finish.gotoAndPlay(2);
}
}
}
function f_Idle(zone) {
if (!zone.action) {
if (kfed.dizzy_timer > 0) {
zone.gotoAndStop("dizzy");
} else {
zone.gotoAndStop("idle");
}
}
}
function f_ScrollH(u_temp) {
if (((u_temp > 0) and (game.game._x < 200)) or ((u_temp < 0) and (game.game._x > -200))) {
game.game._x = game.game._x + u_temp;
kfed._x = kfed._x + (u_temp * 0.2);
street._x = street._x + (u_temp * 0.2);
game_x = game.game._x + game._x;
}
}
function f_ScrollV(u_temp) {
if (((u_temp < 0) and (game.game._y > top_limit)) or ((u_temp > 0) and (game.game._y < 20))) {
game.game._y = game.game._y + u_temp;
game_y = game.game._y + game._y;
}
}
function f_ScrollVFree(u_temp) {
game.game._y = game.game._y + u_temp;
game_y = game.game._y + game._y;
}
function f_ScrollHFree(u_temp) {
game.game._x = game.game._x + u_temp;
game_x = game.game._x + game._x;
}
function f_Rotation(zone, u_speed) {
if (zone._rotation < zone.rotation_goal) {
zone._rotation = zone._rotation + u_speed;
if (zone._rotation > zone.rotation_goal) {
zone._rotation = zone.rotation_goal;
}
} else if (zone._rotation > zone.rotation_goal) {
zone._rotation = zone._rotation - u_speed;
if (zone._rotation < zone.rotation_goal) {
zone._rotation = zone.rotation_goal;
}
}
}
function f_KfedPunch() {
if (!cinema) {
if (!kfed.punch_init) {
kfed.punch_init = true;
kfed.close_timer = 0;
kfed.punch_timer = 25;
kfed.chase_timer = 0;
}
if ((kfed.health / kfed.health_max) < ((fists.health / fists.health_max) - 0.1)) {
kfed.punch_timer = 1;
}
if (kfed.close_timer >= kfed.punch_timer) {
if (Math.abs(kfed._rotation - kfed.rotation_goal) < 5) {
kfed.punch_num++;
if (kfed.punch_override == 1) {
kfed.punch_num = 1;
} else if (kfed.punch_override == 2) {
kfed.punch_num = 10;
}
if ((((kfed.punch_num == 5) or (kfed.punch_num == 6)) or (kfed.punch_num == 8)) or (kfed.punch_num == 9)) {
kfed.punch_timer = 0;
} else {
kfed.punch_timer = 20;
}
if ((kfed.punch_num == 7) or (kfed.punch_num == 10)) {
if (kfed.punch_num == 10) {
kfed.punch_num = 0;
}
s_zao.start(0, 0);
kfed.gotoAndStop("punch2");
} else {
s_po.start(0, 0);
kfed.gotoAndStop("punch1");
}
kfed.close_timer = 0;
}
}
}
}
function f_Kfed() {
var _local1 = Math.abs(kfed._x - fists._x);
if (_local1 < 30) {
kfed.close_timer++;
} else if (_local1 > 30) {
kfed.chase_timer++;
}
if (_local1 > 60) {
kfed.close_timer = 0;
} else if (_local1 < 2) {
kfed.chase_timer = 0;
}
if (kfed.dizzy_timer <= 0) {
if (kfed._currentframe == 1) {
if (kfed.chase_timer > 20) {
if (kfed._x < fists._x) {
kfed._x = kfed._x + 6;
if (kfed._x > fists._x) {
kfed._x = fists._x;
}
} else if (kfed._x > fists._x) {
kfed._x = kfed._x - 6;
if (kfed._x < fists._x) {
kfed._x = fists._x;
}
}
}
} else {
kfed.close_timer = 0;
}
}
if (kfed._y > kfed.default_y) {
kfed._y = kfed._y - kfed.rise_speed;
if (kfed.rise_speed > 20) {
kfed.rise_speed = 20;
}
kfed.rise_speed++;
if (kfed._y < kfed.default_y) {
kfed._y = kfed.default_y;
kfed.rise_speed = 0;
}
}
}
function f_Chase() {
kfed.action = false;
dist = _xmouse - screen_wmid;
change_x = _xmouse - prev_xmouse;
change_y = _ymouse - prev_ymouse;
dist2 = _xmouse - (fists._x + game_x);
if ((dist2 > 20) or (change_x > 0)) {
lefty = true;
} else {
lefty = false;
}
prev_xmouse = _xmouse;
prev_ymouse = _ymouse;
fists._rotation = dist / 50;
f_ScrollH((-dist) / 25);
if (game._xscale > 100) {
f_XZoom(-5);
if (game._xscale < 100) {
f_XZoom(100 - game._xscale);
}
}
if (game._yscale > 100) {
f_YZoom(-5);
if (game._yscale < 100) {
f_YZoom(100 - game._yscale);
}
}
if (game._rotation > 0) {
game._rotation = game._rotation - 1;
if (game._rotation < 0) {
game._rotation = 0;
}
}
dist = fists._x - (_xmouse - game_x);
fists._x = fists._x - (dist / 15);
dist = _ymouse - screen_hmid;
f_ScrollV((-dist) / 25);
dist = fists._y - (_ymouse - game_y);
fists._y = fists._y - (dist / 15);
kfed.invincible_timer--;
britney.invincible_timer--;
f_Rotation(kfed, 2);
if (britney.active) {
f_Rotation(britney, 1);
}
if (kfed.dizzy_timer > 0) {
if (!endsequence) {
kfed.dizzy_timer--;
if (kfed.dizzy_timer <= 0) {
kfed.invincible_timer = 50;
kfed.head_frame = 2;
kfed.gotoAndStop("collapse");
}
}
}
}
function f_HealthUpdate(zone, u_health) {
var _local1 = charge_pow;
if (_local1 > 10) {
_local1 = 10;
}
_local1 = _local1 + u_health;
var _local3 = random(4) - 2;
_local1 = _local1 + _local3;
if (zone.health > 0) {
zone.health = zone.health - _local1;
if (zone.health <= 0) {
zone.health = 0;
finish.gotoAndPlay(2);
}
}
health_kfed.bar.bar._xscale = (zone.health / zone.health_max) * 100;
damage.score = -_local1;
damage.gotoAndPlay(2);
if (zone.health < (zone.health_max * 0.7)) {
if (britney.spawned < 1) {
f_BritneyInit();
}
}
}
function f_CharUpdate(zone, u_frame) {
zone.action = true;
zone.gotoAndStop(u_frame);
}
function f_CheckHitZone(hit_x, hit_y, hit_w, hit_h, u_target) {
u_point.x = 0;
u_point.y = 0;
u_target.localToGlobal(u_point);
var _local1 = u_point.x;
var _local5 = u_point.y;
var _local4 = u_target._width / 2;
var _local6 = u_target._height / 2;
if ((hit_x + hit_w) > (_local1 - _local4)) {
if ((hit_x - hit_w) < (_local1 + _local4)) {
if ((hit_y + hit_h) > (_local5 - _local6)) {
if ((hit_y - hit_h) < (_local5 + _local6)) {
var _local7 = 90 + random(20);
var _local3 = ((_local1 + hit_x) / 2) - game_x;
var _local10 = f_Sparks(_local3, hit_y - game_y, "impact1", _local7, _local7);
_local10._rotation = random(180);
damage._x = _local3;
damage._y = hit_y - game_y;
return(true);
}
}
}
}
return(false);
}
function f_CancelPunches() {
punch1.gotoAndStop(1);
punch2.gotoAndStop(1);
}
function f_CheckHit(zone, hitbox) {
u_point.x = 0;
u_point.y = 0;
hitbox.localToGlobal(u_point);
var _local3 = u_point.x;
var _local2 = u_point.y;
var _local4 = hitbox._width / 2;
var _local5 = hitbox._height / 2;
if (baby.active) {
if (baby.invincible_timer <= 0) {
if (f_CheckHitZone(_local3, _local2, _local4, _local5, baby.target_all)) {
f_PunchSound();
baby_juggles++;
scorebox.score = baby_juggles;
scorebox._x = _local3 - game_x;
scorebox._y = _local2 - game_y;
scorebox.gotoAndPlay(2);
baby.speed_y = punch_speed_y / 4;
if (baby.speed_y > -10) {
baby.speed_y = -10;
} else if (baby.speed_y < -20) {
baby.speed_y = -20;
}
baby.speed_x = punch_speed_x / 15;
if (Math.abs(baby.speed_x) < 5) {
if (zone == left) {
baby.speed_x = 3 + random(3);
} else {
baby.speed_x = -(3 + random(3));
}
}
if (zone.punch_type == 1) {
baby.invincible_timer = 2;
kfed.invincible_timer = 2;
britney.invincible_timer = 2;
} else {
baby.invincible_timer = 7;
kfed.invincible_timer = 7;
britney.invincible_timer = 7;
}
}
}
}
if (britney.active) {
if (britney.invincible_timer <= 0) {
if (f_CheckHitZone(_local3, _local2, _local4, _local5, britney.target_baby)) {
f_PunchSound();
if (zone.punch_type == 1) {
britney.invincible_timer = 2;
kfed.invincible_timer = 2;
britney.body.baby.gotoAndStop("hit");
britney.body.baby.head.gotoAndPlay(1);
} else {
britney.invincible_timer = 7;
kfed.invincible_timer = 7;
if (!baby.active) {
f_BabyPop(britney.baby);
britney.gotoAndStop("babychase");
s_chase.start(0, 1000);
britney.busy = false;
kfed.rotation_goal = 0;
kfed.punch_override = 0;
}
}
} else if (f_CheckHitZone(_local3, _local2, _local4, _local5, britney.target_body)) {
f_PunchSound();
if (zone.punch_type == 1) {
britney.invincible_timer = 2;
kfed.invincible_timer = 2;
} else {
britney.invincible_timer = 7;
kfed.invincible_timer = 7;
}
britney.body.body.gotoAndPlay(2);
} else if (f_CheckHitZone(_local3, _local2, _local4, _local5, britney.target_head)) {
f_PunchSound();
s_britneyhit.start(0, 0);
if (zone.punch_type == 1) {
britney.invincible_timer = 2;
kfed.invincible_timer = 2;
} else {
if (zone.punch_type == 3) {
var _local7 = 6;
} else {
var _local7 = 4;
}
if (zone == left) {
britney._rotation = _local7;
} else {
britney._rotation = -_local7;
}
britney.invincible_timer = 7;
kfed.invincible_timer = 7;
}
britney.body.head.gotoAndStop("hit");
britney.body.head.head.gotoAndPlay(1);
}
}
}
if (headless) {
if (kfed_head._currentframe == 2) {
if (kfed_head.invincible_timer <= 0) {
if (f_CheckHitZone(_local3, _local2, _local4, _local5, kfed_head.target_head)) {
f_PunchSound();
head_juggles++;
scorebox.score = head_juggles;
scorebox._x = _local3 - game_x;
scorebox._y = _local2 - game_y;
scorebox.gotoAndPlay(2);
kfed_head.speed_y = punch_speed_y / 5;
if (kfed_head.speed_y > -6) {
kfed_head.speed_y = -6;
} else if (kfed_head.speed_y < -15) {
kfed_head.speed_y = -15;
}
kfed_head.speed_x = punch_speed_x / 15;
if (Math.abs(kfed_head.speed_x) < 5) {
if (zone == left) {
kfed_head.speed_x = 3 + random(3);
} else {
kfed_head.speed_x = -(3 + random(3));
}
}
if (zone.punch_type == 1) {
kfed_head.invincible_timer = 2;
kfed.invincible_timer = 2;
} else {
kfed_head.invincible_timer = 7;
}
}
}
}
if (kfed.invincible_timer <= 0) {
if (f_CheckHitZone(_local3, _local2, _local4, _local5, kfed.target_all)) {
f_PunchSound();
if (zone.punch_type == 1) {
kfed.invincible_timer = 2;
} else {
kfed.invincible_timer = 7;
if (zone == left) {
f_CharUpdate(kfed, "headless_right");
} else {
f_CharUpdate(kfed, "headless_left");
}
}
}
}
} else if (kfed.invincible_timer <= 0) {
if (f_CheckHitZone(_local3, _local2, _local4, _local5, kfed.target_head)) {
f_HeadHit();
f_PunchSound();
f_CancelPunches();
kfed.close_timer = 0;
if (endsequence and (charge_pow >= charge_pow_max)) {
f_CharUpdate(kfed, "headless");
} else if (zone.punch_type == 1) {
var _local6 = kfed.body.head;
if (zone == left) {
_local6.gotoAndStop("jabbed_right");
} else {
_local6.gotoAndStop("jabbed_left");
}
_local6.head.gotoAndPlay(1);
kfed.invincible_timer = 2;
f_HealthUpdate(kfed, 5);
} else if ((zone.punch_type == 3) or (zone.punch_type == 4)) {
if (zone == left) {
if (punch_speed_x > hard_swing_speed) {
f_CharUpdate(kfed, "knock_head_right");
} else {
f_Idle(kfed);
}
var _local6 = kfed.body.head;
_local6.left = false;
if (zone.punch_type == 4) {
_local6.gotoAndStop("hit1_left_up");
} else {
_local6.gotoAndStop("hit1_right");
}
_local6.head.gotoAndPlay(1);
} else {
if (punch_speed_x < (-hard_swing_speed)) {
f_CharUpdate(kfed, "knock_head_left");
} else {
f_Idle(kfed);
}
var _local6 = kfed.body.head;
_local6.left = true;
if (zone.punch_type == 4) {
_local6.gotoAndStop("hit1_right_up");
} else {
_local6.gotoAndStop("hit1_left");
}
_local6.head.gotoAndPlay(1);
}
_local6.head.gotoAndPlay(1);
f_BloodSpurt(_local3 - game_x, _local2 - game_y);
kfed.invincible_timer = 7;
f_HealthUpdate(kfed, 10);
}
} else if (f_CheckHitZone(_local3, _local2, _local4, _local5, kfed.target_gut)) {
f_PunchSound();
f_CancelPunches();
kfed.close_timer = 0;
if (zone == left) {
f_CharUpdate(kfed, "knock_gut_left");
if (punch_speed_x > hard_swing_speed) {
kfed.body.body.gotoAndStop(2);
}
} else {
f_CharUpdate(kfed, "knock_gut_right");
}
kfed.body.gotoAndPlay(1);
if ((zone.punch_type == 3) or (zone.punch_type == 4)) {
kfed.invincible_timer = 7;
f_HealthUpdate(kfed, 10);
} else {
kfed.invincible_timer = 2;
f_HealthUpdate(kfed, 5);
}
} else if (f_CheckHitZone(_local3, _local2, _local4, _local5, kfed.target_chest)) {
f_CancelPunches();
f_PunchSound();
kfed.close_timer = 0;
if (zone == left) {
f_CharUpdate(kfed, "knock_gut_left");
if (punch_speed_x > hard_swing_speed) {
kfed.body.body.gotoAndStop(2);
}
} else {
f_CharUpdate(kfed, "knock_gut_right");
}
kfed.body.gotoAndPlay(1);
if ((zone.punch_type == 3) or (zone.punch_type == 4)) {
kfed.invincible_timer = 7;
f_HealthUpdate(kfed, 10);
} else {
kfed.invincible_timer = 2;
f_HealthUpdate(kfed, 5);
}
}
if ((kfed.health <= 0) and (!endsequence)) {
endsequence = true;
kfed.dizzy_timer = 10;
if (kfed._currentframe == 1) {
kfed.gotoAndStop("dizzy");
}
}
}
}
function f_SmokeTrail(zone) {
if (charge_pow >= charge_pow_max) {
var _local1 = 90 + random(40);
u_point.x = 0;
u_point.y = 0;
zone.localToGlobal(u_point);
var _local2 = f_Sparks(u_point.x - game_x, u_point.y - game_y, "smoke", _local1, _local1);
_local2._rotation = random(180);
}
}
function f_Shrapnel(zone) {
zone._x = zone._x + zone.speed_x;
zone._y = zone._y + zone.speed_y;
zone.speed_y = zone.speed_y + zone.gravity;
if ((zone._y + game_y) > (screen_height + 50)) {
zone.gotoAndStop("blank");
}
}
function f_FX(x, y, n_type, u_xscale, u_yscale) {
var _local1 = game.game["fx" + int(current_fx)];
_local1.swapDepths(fx_depth + current_fx);
_local1._x = x;
_local1._y = y;
_local1._xscale = u_xscale;
_local1._yscale = u_yscale;
_local1._rotation = 0;
_local1.gotoAndStop("blank");
_local1.gotoAndStop(n_type);
current_fx++;
if (current_fx > total_fx) {
current_fx = 1;
}
return(_local1);
}
function f_Sparks(x, y, n_type, u_xscale, u_yscale) {
var _local1 = game.game["spark" + int(current_spark)];
_local1._x = x;
_local1._y = y;
_local1._xscale = u_xscale;
_local1._yscale = u_yscale;
_local1._rotation = 0;
_local1.gotoAndStop("blank");
_local1.gotoAndStop(n_type);
current_spark++;
if (current_spark > total_sparks) {
current_spark = 1;
}
return(_local1);
}
function f_SpawnBlood(u_temp, u_left) {
var _local2 = random(30) + 70;
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
var _local1 = f_FX(u_point.x - game_x, u_point.y - game_y, "blood", _local2, _local2);
_local1.speed_x = 7 + random(6);
_local1.speed_y = -(4 + random(5));
_local1.gravity = 1;
if (u_left) {
_local1.speed_x = _local1.speed_x * -1;
_local1._xscale = _local1._xscale * -1;
}
}
function f_SpawnPuke(u_temp, u_left) {
var _local2 = random(30) + 70;
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
var _local1 = f_FX(u_point.x - game_x, u_point.y - game_y, "blood", _local2, _local2);
_local1.speed_x = 7 + random(6);
_local1.speed_y = 0;
_local1.gravity = 2;
if (u_left) {
_local1.speed_x = _local1.speed_x * -1;
_local1._xscale = _local1._xscale * -1;
}
}
function f_SpawnGusher(u_temp) {
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
var _local2 = random(30) + 70;
var _local1 = f_FX(u_point.x - game_x, (u_point.y - game_y) + 7, "blood2", _local2, _local2);
_local1.speed_x = 1 + random(4);
_local1.speed_y = -(20 + random(5));
_local1.gravity = 0.5;
_local2 = random(30) + 70;
_local1 = f_FX((u_point.x - game_x) + 20, u_point.y - game_y, "blood2", _local2, _local2);
_local1.speed_x = 1 + random(4);
_local1.speed_y = -(10 + random(5));
_local1.gravity = 0.5;
_local2 = random(30) + 70;
_local1 = f_FX((u_point.x - game_x) - 5, (u_point.y - game_y) + 5, "blood2", _local2, _local2);
_local1.speed_x = -(1 + random(4));
_local1.speed_y = -(20 + random(5));
_local1.gravity = 0.5;
_local2 = random(30) + 70;
_local1 = f_FX((u_point.x - game_x) - 25, u_point.y - game_y, "blood2", _local2, _local2);
_local1.speed_x = -(1 + random(4));
_local1.speed_y = -(10 + random(5));
_local1.gravity = 0.5;
}
function f_HeadPop(u_temp) {
health_player.gotoAndStop("blank");
health_kfed.gotoAndStop("blank");
finish.gotoAndStop(1);
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
kfed_head._x = (u_point.x - game_x) - 50;
kfed_head._y = u_point.y - game_y;
kfed_head.speed_x = 0;
kfed_head.speed_y = -10;
kfed_head.gravity = 0.5;
kfed_head.gotoAndStop(2);
}
function f_BabyPop(u_temp) {
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
baby._x = u_point.x - game_x;
baby._y = u_point.y - game_y;
baby.speed_x = punch_speed_x / 20;
baby.speed_y = -20;
baby.gravity = 1;
baby.active = true;
baby.invincible_timer = 7;
baby.gotoAndStop(2);
if (!britney.nohat) {
britney.nohat = true;
hat._x = baby._x + 70;
hat._y = baby._y - 20;
hat.speed_x = punch_speed_x / 19;
hat.speed_y = -25;
hat.gravity = 1;
hat.active = true;
hat.gotoAndStop(2);
}
}
function f_FaceDamage(zone) {
zone.gotoAndStop(kfed.head_frame);
}
function f_EyeBall(zone) {
u_point.x = 0;
u_point.y = 0;
zone.localToGlobal(u_point);
var _local2 = (zone.default_x + _xmouse) - u_point.x;
var _local3 = (zone.default_y + _ymouse) - u_point.y;
if (_local2 > (zone.default_x + 6)) {
_local2 = zone.default_x + 6;
} else if (_local2 < (zone.default_x - 6)) {
_local2 = zone.default_x - 6;
}
if (_local3 > (zone.default_y + 6)) {
_local3 = zone.default_y + 6;
} else if (_local3 < (zone.default_y - 6)) {
_local3 = zone.default_y - 6;
}
if (zone._x < (_local2 - 0.5)) {
zone._x = zone._x + 1;
} else if (zone._x > (_local2 + 0.5)) {
zone._x = zone._x - 1;
}
if (zone._y < (_local3 - 0.5)) {
zone._y = zone._y + 1;
} else if (zone._y > (_local3 + 0.5)) {
zone._y = zone._y - 1;
}
}
function f_BritEyeBall(zone, u_temp) {
u_point.x = 0;
u_point.y = 0;
zone.localToGlobal(u_point);
var _local3 = ((zone.default_x + u_temp._x) + game_x) - u_point.x;
var _local2 = ((zone.default_y + u_temp._y) + game_y) - u_point.y;
if (_local3 > (zone.default_x + 4)) {
_local3 = zone.default_x + 4;
} else if (_local3 < (zone.default_x - 4)) {
_local3 = zone.default_x - 4;
}
if (u_temp == fists) {
if (Math.abs(_local2 - zone.default_y) < 30) {
_local2 = zone.default_y;
}
}
if (_local2 > (zone.default_y + 3)) {
_local2 = zone.default_y + 3;
} else if (_local2 < (zone.default_y - 3)) {
_local2 = zone.default_y - 3;
}
if (zone._x < (_local3 - 0.5)) {
zone._x = zone._x + 1;
} else if (zone._x > (_local3 + 0.5)) {
zone._x = zone._x - 1;
}
if (zone._y < (_local2 - 0.5)) {
zone._y = zone._y + 1;
} else if (zone._y > (_local2 + 0.5)) {
zone._y = zone._y - 1;
}
}
function f_Zoom(u_temp) {
game._xscale = game._xscale + u_temp;
game._yscale = game._yscale + u_temp;
}
function f_XZoom(u_temp) {
game._xscale = game._xscale + u_temp;
}
function f_YZoom(u_temp) {
game._yscale = game._yscale + u_temp;
}
function f_Punch1ZoomIn() {
if (charge_pow >= charge_pow_max) {
supermove = true;
f_Zoom(30);
if (release_y < (screen_height * 0.3)) {
f_ScrollV(48);
} else if (release_y > (screen_height * 0.7)) {
f_ScrollV(-48);
}
}
}
function f_Punch1ZoomOut() {
if (charge_pow >= charge_pow_max) {
}
}
function f_IntroFists() {
right.gotoAndStop("return");
left.gotoAndStop("return");
}
function f_HeadJuggleBlood(u_temp) {
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
var _local2 = random(30) + 70;
var _local1 = f_FX(u_point.x - game_x, (u_point.y - game_y) + 7, "blood2", _local2, _local2);
_local1.speed_x = 1 + random(4);
_local1.speed_y = -(5 + random(5));
_local1.gravity = 0.5;
}
function f_HeadGroundBlood(u_temp) {
u_point.x = 0;
u_point.y = 0;
u_temp.localToGlobal(u_point);
var _local2 = random(30) + 70;
var _local1 = f_FX(u_point.x - game_x, (u_point.y - game_y) + 7, "blood2", _local2, _local2);
_local1.speed_x = -(6 + random(5));
_local1.speed_y = -(1 + random(5));
_local1.gravity = 0.5;
}
function f_Juggler(zone) {
zone.invincible_timer--;
zone._x = zone._x + zone.speed_x;
zone._y = zone._y + zone.speed_y;
zone.speed_y = zone.speed_y + zone.gravity;
if (zone == kfed_head) {
if (zone._y > ground._y) {
zone._y = ground._y;
zone.gotoAndStop("onground");
top_limit = -300;
cinema = true;
if (britney.active) {
f_BabyPop(britney.baby);
baby.speed_y = 10;
baby._y = baby._y + 30;
britney.gotoAndStop("babychase");
}
withdraw = true;
f_WithdrawIdle();
f_CharUpdate(kfed, "headless_fall");
f_Game = f_PanToSkull;
return(undefined);
}
} else if (zone == baby) {
if (zone._y > ((britney._y + britney.baby._y) - 10)) {
if (zone._y < ((britney._y + britney.baby._y) + 25)) {
if (Math.abs(zone._x - britney._x) < 60) {
if (baby_juggles < 10) {
zone.active = false;
baby_juggles = 0;
s_chase.stop();
britney.gotoAndStop("idle");
zone.gotoAndStop("blank");
}
}
} else if (zone._y > ground._y) {
baby.active = false;
britney._rotation = 0;
britney.active = false;
zone._y = ground._y;
britney.panicmode = true;
s_baby.start(0, 0);
zone.gotoAndStop("onground");
return(undefined);
}
}
} else if (zone._y > ground._y) {
hat.active = false;
zone._y = ground._y;
zone.gotoAndStop("onground");
return(undefined);
}
zone.body._rotation = zone.body._rotation + zone.speed_x;
if ((zone._x + game_x) < 0) {
if ((zone._y + game_y) < 0) {
zone._x = -game_x;
} else if (zone.speed_x < 0) {
zone.speed_x = zone.speed_x * -1;
}
} else if ((zone._x + game_x) > screen_width) {
if ((zone._y + game_y) < 0) {
zone._x = screen_width - game_x;
} else if (zone.speed_x > 0) {
zone.speed_x = zone.speed_x * -1;
}
}
}
function f_EndingCircle() {
circle.gotoAndPlay(2);
circle._x = kfed_head._x + game_x;
circle._y = (kfed_head._y + game_y) - 20;
}
function f_PanToSkull() {
var _local3 = screen_wmid - game_x;
var _local2 = screen_hmid - game_y;
var _local1 = f_rad2deg(Math.atan2(_local2 - kfed_head._y, _local3 - kfed_head._x));
var _local5 = 7 * Math.cos(PI * _local1);
var _local4 = 7 * Math.sin(PI * _local1);
f_ScrollH(_local5);
f_ScrollV(_local4);
if ((kfed_head._y + game_y) < (screen_height - 60)) {
f_EndingCircle();
pissing = true;
fx_depth = 600;
f_PissInit();
f_Game = f_Piss;
}
}
function f_BritneyInit() {
britney.spawned++;
britney.active = true;
britney._x = -150 - game_x;
britney._y = ground._y + 48;
britney.gotoAndStop("intro");
letterbox.gotoAndPlay(2);
}
function f_BritneyMove(zone, u_temp) {
var _local2 = (u_temp._x + kfed._x) / 2;
if (zone._x < _local2) {
zone._x = zone._x + zone.speed_x;
if (zone._x > _local2) {
zone._x = _local2;
}
} else if (zone._x > _local2) {
zone._x = zone._x - zone.speed_x;
if (zone._x < _local2) {
zone._x = _local2;
}
}
britney.rotation_goal = 0;
var _local4 = Math.abs(zone._x - kfed._x);
if (_local4 < 130) {
var _local3 = (130 - _local4) * 0.1;
if (zone._x < kfed._x) {
kfed.rotation_goal = _local3;
kfed.punch_override = 1;
} else {
kfed.rotation_goal = -_local3;
kfed.punch_override = 2;
}
} else {
kfed.rotation_goal = 0;
kfed.punch_override = 0;
}
}
function f_BritneyChase(zone) {
if (!zone.busy) {
if (zone._x < baby._x) {
zone._x = zone._x + (Math.abs(baby.speed_x) * 0.9);
if (zone._x > baby._x) {
zone._x = baby._x;
}
} else if (zone._x > baby._x) {
zone._x = zone._x - (Math.abs(baby.speed_x) * 0.9);
if (zone._x < baby._x) {
zone._x = baby._x;
}
}
if (baby._x > (britney._x + 6)) {
britney.rotation_goal = 6;
} else if (baby._x < (britney._x - 6)) {
britney.rotation_goal = -6;
} else {
britney.rotation_goal = baby._x - britney._x;
}
if (zone._x == baby._x) {
if (britney.panicmode) {
s_chase.stop();
s_scream.start(0, 0);
britney.gotoAndStop("panic");
}
}
}
}
function f_Punch1Fist(zone, u_temp) {
u_point.x = 0;
u_point.y = 0;
zone.localToGlobal(u_point);
u_temp._x = u_point.x - game_x;
u_temp._y = u_point.y - game_y;
u_temp.gotoAndPlay(2);
}
function f_KfedPunchHit(zone, u_type) {
if (fists.health > 0) {
if (!supermove) {
if (Math.abs(zone._x - fists._x) < 50) {
s_charged.stop();
f_PunchSound();
fists.health = fists.health - 4;
if (fists.health <= 0) {
fists.health = 0;
}
health_player.bar.bar._xscale = (fists.health / fists.health_max) * 100;
this["shake" + u_type].gotoAndPlay(2);
right.busy = true;
left.busy = true;
if (fists.health == 0) {
right.gotoAndStop("die");
left.gotoAndStop("die");
cinema = true;
} else {
right.gotoAndStop("hurt");
left.gotoAndStop("hurt");
}
right.fist.gotoAndPlay(1);
left.fist.gotoAndPlay(1);
return(true);
}
}
}
return(false);
}
function fpsLimiter() {
newT = getTimer();
while (Math.abs(newT - oldT) < maxF) {
newT = getTimer();
}
oldT = getTimer();
}
_quality = "medium";
fists = game.game.fists;
scorebox = game.game.scorebox;
damage = game.game.damage;
street = game.game.street;
ground = game.game.ground;
left = fists.left;
right = fists.right;
bg = game.game.bg;
punch1 = game.game.punch1;
punch2 = game.game.punch2;
fists.health_max = 100;
fists.health = fists.health_max;
kfed = game.game.kfed;
kfed.health_max = 750;
kfed.health = kfed.health_max;
kfed.head_hits = 0;
kfed.head_frame = 1;
kfed.invincible_timer = 0;
kfed.dizzy_timer = 0;
kfed.chase_timer = 0;
kfed.close_timer = 0;
kfed.punch_timer = 0;
kfed.default_y = kfed._y;
kfed.default_x = kfed._x;
kfed.rise_speed = 1;
headless = false;
kfed.punch_num = 0;
kfed.punch_group = 1;
kfed.punch_override = 0;
kfed.rotation_goal = 0;
britney = game.game.britney;
britney.active = false;
britney.invincible_timer = 0;
britney.speed_x = 6;
britney.spawned = 0;
baby = game.game.baby;
baby.active = false;
baby.invincible_timer = 0;
hat = game.game.hat;
hat.active = false;
kfed_head = game.game.kfed_head;
kfed_head.invincible_timer = 0;
right.busy = false;
left.busy = false;
cinema = false;
endsequence = false;
finish_init = false;
game_x = game.game._x + game._x;
game_y = game.game._y + game._y;
game_y_default = game.game._y;
screen_width = 640;
screen_height = 360;
screen_wmid = screen_width / 2;
screen_hmid = screen_height / 2;
top_limit = -60;
u_point = new Object();
charge_pow = 0;
charge_pow_max = 20;
hard_swing_speed = 170;
head_juggles = 0;
baby_juggles = 0;
fx_depth = 100;
britney.swapDepths(500);
baby.swapDepths(510);
hat.swapDepths(515);
punch1.swapDepths(520);
punch2.swapDepths(530);
kfed_head.swapDepths(800);
spark_depth = 900;
scorebox.swapDepths(999);
fists.swapDepths(1000);
damage.swapDepths(1001);
health_player.gotoAndStop("player");
health_kfed.gotoAndStop("kfed");
f_Game = f_Chase;
f_CreateFX();
f_CreateSparks();
prev_xmouse = _xmouse;
prev_ymouse = _ymouse;
PI = (Math.PI/180);
g_deg = 57.2957795130823;
s_punch1 = new Sound();
s_punch1.attachSound("sound_GoodPunch1.wav");
s_punch2 = new Sound();
s_punch2.attachSound("sound_GoodPunch2.wav");
s_punch3 = new Sound();
s_punch3.attachSound("sound_GoodPunch3.wav");
s_swing1 = new Sound();
s_swing1.attachSound("sound_Swing1.wav");
s_swing2 = new Sound();
s_swing2.attachSound("sound_Swing2.wav");
s_swing3 = new Sound();
s_swing3.attachSound("sound_Swing3.wav");
s_swing4 = new Sound();
s_swing4.attachSound("sound_Swing4.wav");
s_swing5 = new Sound();
s_swing5.attachSound("sound_Swing5.wav");
s_swing6 = new Sound();
s_swing6.attachSound("sound_Swing6.wav");
s_explosion1 = new Sound();
s_explosion1.attachSound("sound_Explosion 3.wav");
s_charged = new Sound(fists);
s_charged.attachSound("sound_charged.wav");
s_po = new Sound();
s_po.attachSound("po_1.aif");
s_zao = new Sound();
s_zao.attachSound("zao_1.aif");
s_baby = new Sound();
s_baby.attachSound("sound_baby.wav");
s_scream = new Sound();
s_scream.attachSound("sound_yell.wav");
s_britneyhit = new Sound();
s_britneyhit.attachSound("shreck2.wav");
s_chase = new Sound(britney);
s_chase.attachSound("sound_chase.wav");
s_piss = new Sound(britney);
s_piss.attachSound("sound_piss.wav");
s_music = new Sound();
s_music.attachSound("k-fed_temp.wav");
s_music.start(0, 5000);
color_yellow = new Object();
f_NewColor(color_yellow);
color_yellow.rb = 150;
color_yellow.gb = 120;
color_default = new Object();
f_NewColor(color_default);
onMouseDown = function () {
if (cinema) {
success = false;
} else {
success = _root.f_Punch();
}
};
onMouseUp = function () {
if (success) {
_root.f_PunchFinish();
}
};
oldT = getTimer();
maxF = 30;
fp_fpsLimiter = undefined;
onEnterFrame = function () {
fp_fpsLimiter();
};
stop();
Instance of Symbol 65 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.f_Game();
}
Symbol 48 MovieClip Frame 11
stop();
Symbol 57 MovieClip Frame 6
stop();
Symbol 58 MovieClip [spark] Frame 1
stop();
Symbol 64 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 74 MovieClip Frame 8
gotoAndPlay ("dtd");
Symbol 85 MovieClip Frame 10
gotoAndPlay ("dtd");
Symbol 102 MovieClip Frame 14
gotoAndPlay ("dtd");
Symbol 105 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 110 MovieClip Frame 1
gotoAndStop(random(4) + 1);
Symbol 111 MovieClip Frame 6
stop();
Symbol 112 MovieClip Frame 8
stop();
Symbol 113 MovieClip Frame 8
stop();
Symbol 114 MovieClip Frame 8
stop();
Symbol 115 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 120 MovieClip Frame 1
gotoAndStop(random(4) + 1);
Symbol 121 MovieClip Frame 31
stop();
Symbol 122 MovieClip [fx] Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 122 MovieClip [fx] Frame 2
onClipEvent (enterFrame) {
_root.f_Shrapnel(_parent);
}
Instance of Symbol 65 MovieClip in Symbol 122 MovieClip [fx] Frame 3
onClipEvent (enterFrame) {
_root.f_PissFall(_parent);
}
Instance of Symbol 65 MovieClip in Symbol 122 MovieClip [fx] Frame 7
onClipEvent (enterFrame) {
_root.f_Shrapnel(_parent);
}
Symbol 132 Button
on (press) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 142 MovieClip Frame 40
stop();
Symbol 158 Button
on (press) {
tellTarget (_root) {
nextFrame();
};
}
Instance of Symbol 65 MovieClip in Symbol 159 MovieClip Frame 2
onClipEvent (load) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("lastframe");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 159 MovieClip Frame 165
stop();
Symbol 273 MovieClip Frame 16
stop();
Instance of Symbol 165 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 324 MovieClip Frame 435
tellTarget (_root) {
nextFrame();
};
Symbol 328 Button
on (press) {
nextFrame();
}
Symbol 362 MovieClip Frame 7
stop();
Symbol 364 MovieClip Frame 270
stop();
Symbol 389 MovieClip Frame 9
stop();
Symbol 400 MovieClip Frame 6
stop();
Symbol 521 Button
on (press) {
stopAllSounds();
tellTarget (_root) {
nextFrame();
};
}
Instance of Symbol 165 MovieClip in Symbol 522 MovieClip Frame 1
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 522 MovieClip Frame 207
_quality = "LOW";
Symbol 522 MovieClip Frame 265
_quality = "MEDIUM";
Symbol 522 MovieClip Frame 270
stop();
Symbol 523 MovieClip Frame 11
stop();
Symbol 564 Button
on (press) {
play();
}
Instance of Symbol 165 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 566 MovieClip Frame 75
stop();
Symbol 566 MovieClip Frame 76
stopAllSounds();
Symbol 566 MovieClip Frame 145
tellTarget (_root) {
nextFrame();
};
Symbol 590 MovieClip Frame 38
stop();
Symbol 635 MovieClip Frame 1
stop();
Symbol 650 MovieClip Frame 95
stop();
Symbol 669 MovieClip Frame 175
stop();
Symbol 676 MovieClip Frame 21
stop();
Symbol 717 MovieClip Frame 12
stop();
Instance of Symbol 165 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 718 MovieClip Frame 1475
tellTarget (_root) {
nextFrame();
};
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 5
Symbol 721 MovieClip Frame 22
_root.s_piss.start(0, 2000);
Symbol 721 MovieClip Frame 185
_root.s_Piss.stop();
stopAllSounds();
_root.gotoAndStop("credits");
stop();
Symbol 725 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 11
gotoAndStop (1);
Symbol 753 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 753 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 762 MovieClip Frame 1
_root.f_FaceDamage(this);
Symbol 765 MovieClip Frame 1
if (_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Symbol 768 MovieClip Frame 1
if (_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Symbol 771 MovieClip Frame 1
if (_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Symbol 774 MovieClip Frame 1
if (_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 752 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 779 MovieClip Frame 1
if (_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Symbol 780 MovieClip Frame 1
_root.f_FaceDamage(this);
Symbol 781 MovieClip Frame 1
if (_root.kfed.dizzy_timer > 0) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 65 MovieClip in Symbol 782 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnBlood(_parent.blood, _parent._parent.left);
}
Symbol 782 MovieClip Frame 15
if (_root.kfed.dizzy_timer > 0) {
_parent.gotoAndStop("dizzy");
} else {
_parent.gotoAndStop("idle");
}
Symbol 790 MovieClip Frame 1
if (_parent._parent._parent._parent.gut) {
_parent._parent._parent._parent.gut = false;
stop();
} else if (!_parent._parent._parent.left) {
gotoAndStop (2);
} else {
stop();
}
Instance of Symbol 752 MovieClip in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Instance of Symbol 752 MovieClip in Symbol 790 MovieClip Frame 2
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 791 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 65 MovieClip in Symbol 792 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnBlood(_parent.blood, _parent._parent.left);
}
Symbol 792 MovieClip Frame 15
if (_root.kfed.dizzy_timer > 0) {
_parent.gotoAndStop("dizzy");
} else {
_parent.gotoAndStop("idle");
}
Symbol 798 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 798 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 799 MovieClip Frame 10
if (_root.kfed.dizzy_timer > 0) {
_parent.gotoAndStop("dizzy");
} else {
_parent.gotoAndStop("idle");
}
Symbol 800 MovieClip Frame 10
if (_root.kfed.dizzy_timer > 0) {
_parent.gotoAndStop("dizzy");
} else {
_parent.gotoAndStop("idle");
}
Symbol 801 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 1
_root.f_KfedPunch();
Symbol 807 MovieClip Frame 4
head.head.gotoAndStop(4);
Symbol 807 MovieClip Frame 19
head.face.play();
Symbol 807 MovieClip Frame 24
_root.f_Idle(_parent);
Symbol 809 MovieClip Frame 4
head.head.gotoAndStop(4);
Symbol 809 MovieClip Frame 19
head.face.play();
Symbol 809 MovieClip Frame 24
_root.f_Idle(_parent);
Symbol 810 MovieClip Frame 12
_root.f_Idle(_parent);
Symbol 815 MovieClip Frame 1
head.gotoAndStop("dizzy");
Symbol 815 MovieClip Frame 6
gotoAndPlay ("dizzy");
Symbol 815 MovieClip Frame 39
gotoAndPlay ("dizzy");
Symbol 816 MovieClip Frame 30
_parent._y = _parent._y + 450;
_parent.gotoAndStop("idle");
Symbol 820 MovieClip Frame 21
_root.f_Idle(_parent);
Symbol 827 MovieClip Frame 1
_root.f_FaceDamage(this);
Symbol 828 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 828 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_SpawnPuke(_parent.blood, true);
}
Symbol 829 MovieClip Frame 21
_root.f_Idle(_parent);
Symbol 838 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 838 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 845 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 845 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 853 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 853 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 854 MovieClip Frame 1
_root.f_Punch1Fist(fist, _root.punch1);
Symbol 854 MovieClip Frame 4
if (!_root.f_KfedPunchHit(_parent, 1)) {
spark._visible = false;
}
Symbol 854 MovieClip Frame 9
_root.f_Idle(_parent);
Symbol 856 MovieClip Frame 1
_root.f_FaceDamage(this);
Instance of Symbol 752 MovieClip in Symbol 856 MovieClip Frame 5
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 857 MovieClip Frame 1
_root.f_Punch1Fist(fist, _root.punch2);
Symbol 857 MovieClip Frame 5
if (!_root.f_KfedPunchHit(_parent, 2)) {
spark._visible = false;
}
Symbol 857 MovieClip Frame 14
_root.f_Idle(_parent);
Symbol 859 MovieClip Frame 1
_root.f_HeadPop(blood);
_root.headless = true;
Instance of Symbol 65 MovieClip in Symbol 859 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnGusher(_parent.blood);
}
Symbol 859 MovieClip Frame 6
gotoAndPlay ("dizzy");
Symbol 859 MovieClip Frame 39
gotoAndPlay ("dizzy");
Instance of Symbol 65 MovieClip in Symbol 860 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnGusher(_parent.blood);
}
Symbol 860 MovieClip Frame 33
gotoAndPlay ("dizzy");
Instance of Symbol 65 MovieClip in Symbol 861 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnGusher(_parent.blood);
}
Symbol 861 MovieClip Frame 22
_parent.gotoAndStop("headless_loop");
Instance of Symbol 65 MovieClip in Symbol 862 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnGusher(_parent.blood);
}
Symbol 862 MovieClip Frame 22
_parent.gotoAndStop("headless_loop");
Instance of Symbol 65 MovieClip in Symbol 863 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.f_SpawnGusher(_parent.blood);
}
Symbol 863 MovieClip Frame 25
stop();
Symbol 867 MovieClip Frame 28
stop();
Symbol 868 MovieClip Frame 1
if (dizzy_timer > 0) {
gotoAndStop ("dizzy");
}
stop();
Instance of Symbol 65 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (load) {
_parent.close_timer = 0;
_parent.chase_timer = 0;
_root.f_Kfed();
}
onClipEvent (enterFrame) {
_root.f_Kfed();
}
Symbol 868 MovieClip Frame 8
gut = true;
Symbol 874 MovieClip Frame 1
stop();
Symbol 874 MovieClip Frame 16
stop();
Symbol 878 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 879 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 1
if (_parent._parent.nohat) {
gotoAndStop (2);
} else {
stop();
}
Symbol 883 MovieClip Frame 1
_root.game.game._y = _root.game_y_default;
distance = (_root.game_y_default + 70) - _root.game.game._y;
speed_y = distance / 7;
_root.game_y = _root.game._y + _root.game.game._y;
_root.f_Game = undefined;
_root.cinema = true;
_root.right.gotoAndStop("idle");
_root.left.gotoAndStop("idle");
_root.game._xscale = 100;
_root.game._yscale = 100;
_root.f_ScrollHFree(30);
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 2
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 3
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 4
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 5
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 6
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.game._rotation = _root.game._rotation + 5;
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 7
_root.f_ScrollHFree(50);
_root.f_Zoom(5);
_root.game._rotation = _root.game._rotation + 5;
_root.f_ScrollVFree(speed_y);
Symbol 883 MovieClip Frame 100
_root.cinema = false;
_root.right.busy = false;
_root.left.busy = false;
_root.f_Game = _root.f_Chase;
_parent.gotoAndStop("idle");
Symbol 889 MovieClip Frame 1
_root.britney.busy = true;
Symbol 889 MovieClip Frame 10
_root.britney.busy = false;
_parent.gotoAndStop("idle");
Symbol 890 MovieClip Frame 1
stop();
Instance of Symbol 886 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_BritEyeBall(this, _root.fists);
}
Symbol 896 MovieClip Frame 1
stop();
Instance of Symbol 885 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_BritEyeBall(this, _root.baby);
}
Instance of Symbol 885 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_BritEyeBall(this, _root.baby);
}
Symbol 899 MovieClip Frame 15
stop();
Symbol 909 MovieClip Frame 16
if (_root.f_Game != _root.f_Chase) {
gotoAndPlay (1);
}
Symbol 909 MovieClip Frame 35
_parent.gotoAndStop("crying");
stop();
Symbol 912 MovieClip Frame 1
stop();
Symbol 912 MovieClip Frame 3
stop();
Instance of Symbol 65 MovieClip in Symbol 912 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.f_BritneyMove(_parent, _root.fists);
}
Instance of Symbol 65 MovieClip in Symbol 912 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.f_BritneyChase(_parent);
}
Symbol 913 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 9
gotoAndStop (1);
Symbol 917 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 15
gotoAndStop (1);
Instance of Symbol 752 MovieClip in Symbol 918 MovieClip Frame 1
onClipEvent (load) {
default_x = _x;
default_y = _y;
}
onClipEvent (enterFrame) {
_root.f_EyeBall(this);
}
Symbol 919 MovieClip Frame 115
_root.fp_fpsLimiter = undefined;
Symbol 919 MovieClip Frame 203
_root.fp_fpsLimiter = _root.fpsLimiter;
Symbol 919 MovieClip Frame 220
stop();
Symbol 920 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 920 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_Juggler(_parent);
_root.f_HeadJuggleBlood(_parent.body.blood);
}
Symbol 928 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 928 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_Juggler(_parent);
}
Symbol 930 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip in Symbol 930 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.f_Juggler(_parent);
}
Symbol 933 MovieClip Frame 1
info.text = _parent._parent.score;
Symbol 934 MovieClip Frame 5
stop();
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
play();
Symbol 935 MovieClip Frame 20
stop();
Symbol 936 MovieClip Frame 5
stop();
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 2
play();
Symbol 937 MovieClip Frame 17
stop();
Symbol 943 MovieClip Frame 2
play();
Symbol 943 MovieClip Frame 3
stop();
Instance of Symbol 65 MovieClip in Symbol 943 MovieClip Frame 3
onClipEvent (enterFrame) {
_root.f_Charge(_parent.fist);
}
Symbol 943 MovieClip Frame 4
_root.f_LightSwing();
play();
_root.f_Punch1ZoomIn();
Instance of Symbol 65 MovieClip in Symbol 943 MovieClip Frame 4
onClipEvent (enterFrame) {
_root.f_SmokeTrail(_parent.smoke);
}
Symbol 943 MovieClip Frame 5
_root.f_Punch1ZoomIn();
Symbol 943 MovieClip Frame 6
_root.f_Punch1ZoomOut();
Instance of Symbol 806 MovieClip "hitbox" in Symbol 943 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.f_CheckHit(_parent._parent, this);
}
Symbol 943 MovieClip Frame 7
_root.f_Punch1ZoomOut();
Symbol 943 MovieClip Frame 8
_root.f_Punch1ZoomOut();
Symbol 943 MovieClip Frame 9
_root.f_Punch1ZoomOut();
Symbol 943 MovieClip Frame 10
_root.f_Punch1ZoomOut();
Symbol 943 MovieClip Frame 11
_root.f_Punch1ZoomOut();
Symbol 943 MovieClip Frame 12
_root.f_EndPunch(_parent);
Instance of Symbol 65 MovieClip in Symbol 943 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.f_EndPunch(_parent._parent);
}
Symbol 947 MovieClip Frame 8
play();
Symbol 947 MovieClip Frame 10
stop();
Instance of Symbol 65 MovieClip in Symbol 947 MovieClip Frame 10
onClipEvent (enterFrame) {
_root.f_Charge(_parent.fist);
}
Symbol 947 MovieClip Frame 11
play();
Symbol 947 MovieClip Frame 28
_root.f_EndPunch(_parent);
Symbol 950 MovieClip Frame 2
play();
Symbol 950 MovieClip Frame 6
stop();
Instance of Symbol 65 MovieClip in Symbol 950 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.f_Charge(_parent.fist);
}
Symbol 950 MovieClip Frame 13
_root.f_HeavySwing();
play();
Instance of Symbol 65 MovieClip in Symbol 950 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.f_SmokeTrail(_parent.smoke);
}
Instance of Symbol 806 MovieClip "hitbox" in Symbol 950 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.f_CheckHit(_parent._parent, this);
}
Instance of Symbol 65 MovieClip in Symbol 950 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.charge_pow >= _root.charge_pow_max) {
_root.supermove = true;
if (_parent._parent == _root.left) {
_root.f_ScrollH(-30);
} else {
_root.f_ScrollH(30);
}
_root.f_XZoom(3);
} else if (Math.abs(_root.punch_speed) > _root.hard_swing_speed) {
_root.supermove = true;
_root.f_Zoom(3);
}
}
Instance of Symbol 65 MovieClip in Symbol 950 MovieClip Frame 19
onClipEvent (enterFrame) {
}
Symbol 950 MovieClip Frame 25
_root.f_EndPunch(_parent);
Symbol 951 MovieClip Frame 2
play();
Symbol 951 MovieClip Frame 26
_root.f_EndPunch(_parent);
Symbol 954 MovieClip Frame 2
play();
Symbol 954 MovieClip Frame 6
stop();
Instance of Symbol 65 MovieClip in Symbol 954 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.f_Charge(_parent.fist);
}
Symbol 954 MovieClip Frame 13
_root.f_HeavySwing();
if (_root.charge_pow >= _root.charge_pow_max) {
_root.game.game.bg.gotoAndPlay("bend");
}
play();
Instance of Symbol 65 MovieClip in Symbol 954 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.f_SmokeTrail(_parent.smoke);
}
Instance of Symbol 65 MovieClip in Symbol 954 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.charge_pow >= _root.charge_pow_max) {
_root.supermove = true;
if (_parent._parent == _root.left) {
_root.f_ScrollH(-30);
} else {
_root.f_ScrollH(30);
}
_root.f_ScrollVFree(15);
} else if (Math.abs(_root.punch_speed) > _root.hard_swing_speed) {
_root.supermove = true;
_root.f_Zoom(3);
}
}
Instance of Symbol 806 MovieClip "hitbox" in Symbol 954 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.f_CheckHit(_parent._parent, this);
}
Instance of Symbol 65 MovieClip in Symbol 954 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.charge_pow >= _root.charge_pow_max) {
_root.f_ScrollVFree(-8);
}
}
Symbol 954 MovieClip Frame 25
_root.f_EndPunch(_parent);
Symbol 955 MovieClip Frame 23
stop();
Symbol 956 MovieClip Frame 23
_root.f_EndPunch(_parent);
Symbol 957 MovieClip Frame 1
play();
Symbol 957 MovieClip Frame 13
_root.f_EndPunch(_parent);
Symbol 959 MovieClip Frame 60
stopAllSounds();
_root.gotoAndStop("game_over");
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 1
stop();
Symbol 964 MovieClip Frame 2
_root.f_ScrollH(6);
_root.f_ScrollV(-6);
Symbol 964 MovieClip Frame 3
_root.f_ScrollH(-8);
_root.f_ScrollV(5);
Symbol 964 MovieClip Frame 4
_root.f_ScrollH(6);
_root.f_ScrollV(-5);
Symbol 964 MovieClip Frame 5
stop();
Symbol 965 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 2
_root.f_ScrollH(-15);
_root.f_ScrollV(-6);
_root.fists._x = _root.fists._x + 40;
_root.fists._y = _root.fists._y + 10;
Symbol 965 MovieClip Frame 3
_root.f_ScrollH(-12);
_root.f_ScrollV(5);
_root.fists._x = _root.fists._x + 38;
_root.fists._y = _root.fists._y + 10;
Symbol 965 MovieClip Frame 4
_root.f_ScrollH(-10);
_root.f_ScrollV(-5);
_root.fists._x = _root.fists._x + 36;
_root.fists._y = _root.fists._y + 8;
Symbol 965 MovieClip Frame 5
_root.f_ScrollH(-8);
_root.f_ScrollV(4);
_root.fists._x = _root.fists._x + 36;
_root.fists._y = _root.fists._y + 8;
Symbol 965 MovieClip Frame 6
_root.f_ScrollH(-6);
_root.f_ScrollV(-4);
_root.fists._x = _root.fists._x + 34;
_root.fists._y = _root.fists._y + 6;
Symbol 965 MovieClip Frame 7
stop();
Symbol 1006 MovieClip Frame 20
stop();
Symbol 1013 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 2
play();
Symbol 1013 MovieClip Frame 164
stop();
Symbol 1013 MovieClip Frame 175
_root.cinema = false;
stop();
Symbol 1021 MovieClip Frame 1
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1033 MovieClip Frame 2
stopAllSounds();
Symbol 1033 MovieClip Frame 109
stopAllSounds();
Symbol 1033 MovieClip Frame 110
_root.s_music.start(0, 5000);
stop();
Symbol 1044 MovieClip Frame 122
gotoAndPlay ("dance");
Symbol 1065 MovieClip Frame 490
stop();
Symbol 1066 Button
on (press) {
gotoAndPlay ("shoryuken");
}
Instance of Symbol 165 MovieClip in Symbol 1084 MovieClip Frame 1
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 1084 MovieClip Frame 65
tellTarget (_root.over_info) {
gotoAndPlay ("anywhere");
};
Symbol 1084 MovieClip Frame 561
tellTarget (_root.over_info) {
gotoAndPlay ("game_over");
};
Symbol 1084 MovieClip Frame 699
tellTarget (_root) {
gotoAndStop ("slug");
};
Symbol 1084 MovieClip Frame 715
tellTarget (_root.over_info) {
gotoAndPlay ("blank");
};
Instance of Symbol 165 MovieClip in Symbol 1084 MovieClip Frame 715
onClipEvent (load) {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = (this._xscale / 100) * 640;
var _local6 = (this._yscale / 100) * 360;
var _local4 = Math.sqrt((this._x * this._x) + (this._y * this._y));
var _local3 = ((this._x != 0) ? (Math.atan(this._y / this._x)) : (Math.PI/2)) - ((this._rotation * Math.PI) / 180);
var _local8 = sX / _local5;
var _local7 = sY / _local6;
_parent._x = _local8 * ((_local5 / 2) - (_local4 * Math.cos(_local3)));
_parent._y = _local7 * ((_local6 / 2) - (_local4 * Math.sin(_local3)));
_parent._xscale = 100 * _local8;
_parent._yscale = 100 * _local7;
_parent._rotation = -this._rotation;
}
function resetStage() {
_parent._rotation = 0;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
Symbol 1084 MovieClip Frame 810
tellTarget (_root) {
gotoAndStop ("game");
};
Symbol 1097 MovieClip Frame 5
stop();
Symbol 1097 MovieClip Frame 76
gotoAndPlay ("anywhere");
Symbol 1097 MovieClip Frame 130
stop();
Symbol 1107 Button
on (press) {
_parent.play();
}
Symbol 1111 Button
on (press) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 1114 Button
on (press) {
getURL ("http://www.myspace.com/kevinfederlineforreal", "_blank");
}
Symbol 1117 Button
on (press) {
getURL ("http://www.kevinfederline.com", "_blank");
}
Symbol 1120 Button
on (press) {
getURL ("http://www.newgrounds.com/pm/send.php?tu=TomFulp", "_blank");
}
Symbol 1122 Button
on (press) {
getURL ("http://www.newgrounds.com/pm/send.php?tu=Johnny_Utah", "_blank");
}
Symbol 1124 Button
on (press) {
getURL ("http://www.newgrounds.com/pm/send.php?tu=Stamper", "_blank");
}
Symbol 1126 Button
on (press) {
getURL ("http://www.newgrounds.com/pm/send.php?tu=chluaid", "_blank");
}
Symbol 1129 MovieClip Frame 10
stop();
Symbol 1129 MovieClip Frame 11
stopAllSounds();
Symbol 1129 MovieClip Frame 40
tellTarget (_root) {
gotoAndStop ("slug");
};