Frame 1
_root.MUTESOUNDS = false;
stop();
Frame 2
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
stop();
_root.P1WINS = 0;
_root.P2WINS = 0;
_root.GAMESPLAYED = 0;
_root.GAMEMESSAGE = "2 Player Mode";
Frame 3
stopAllSounds();
nextFrame();
Frame 4
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
stop();
_root.P1MESSAGE = ("Player 1 has won " + _root.P1WINS) + " times!";
_root.P2MESSAGE = ("Player 2 has won " + _root.P2WINS) + " times!";
Frame 5
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Instance of Symbol 179 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.mcSCREEN1.PLAYERHEALTH);
}
Instance of Symbol 183 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.mcSCREEN1.PISTOLRELOAD);
}
Instance of Symbol 179 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.mcSCREEN2.PLAYERHEALTH);
}
Instance of Symbol 183 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop(_root.mcSCREEN2.PISTOLRELOAD);
}
Frame 6
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 7
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 8
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 9
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 10
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 11
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.KILLS = 0;
_root.mcSCREEN1.LIVES = 10;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.KILLS = 0;
_root.mcSCREEN2.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Frame 12
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 13
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 14
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Instance of Symbol 289 MovieClip in Frame 14
onClipEvent (load) {
this.COUNTER = 1;
_root.AYBTIME = 60;
}
onClipEvent (enterFrame) {
this.COUNTER = this.COUNTER + 1;
if (this.COUNTER == 30) {
_root.AYBTIME = _root.AYBTIME - 1;
this.COUNTER = 1;
}
if (_root.AYBTIME < 1) {
if (_root.mcSCREEN1.FLAGS > _root.mcSCREEN2.FLAGS) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
} else {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
}
Frame 15
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 16
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 17
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 18
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 19
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 20
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.mcSCREEN1.PLAYER = 1;
_root.mcSCREEN1.KEYUP = 87;
_root.mcSCREEN1.KEYLEFT = 65;
_root.mcSCREEN1.KEYDOWN = 83;
_root.mcSCREEN1.KEYRIGHT = 68;
_root.mcSCREEN1.KEYJUMP = 70;
_root.mcSCREEN1.KEYNINJA = 71;
_root.mcSCREEN1.KEYSHOOT = 72;
_root.mcSCREEN1.mcBUNNYa.COLOUR = "RED";
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.COLOUR = "BLUE";
_root.mcSCREEN1.XINFLUENCE = 0;
_root.mcSCREEN1.YINFLUENCE = -3;
_root.mcSCREEN1.AIMDIRECTION = 45;
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.WEAPON = "PISTOL";
_root.mcSCREEN1.PISTOLRELOAD = 100;
_root.mcSCREEN1.SHOOTING = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = false;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.FLAGS = 0;
_root.mcSCREEN2.PLAYER = 2;
_root.mcSCREEN2.KEYUP = 38;
_root.mcSCREEN2.KEYLEFT = 37;
_root.mcSCREEN2.KEYDOWN = 40;
_root.mcSCREEN2.KEYRIGHT = 39;
_root.mcSCREEN2.KEYJUMP = 97;
_root.mcSCREEN2.KEYNINJA = 98;
_root.mcSCREEN2.KEYSHOOT = 99;
_root.mcSCREEN2.mcBUNNYa.COLOUR = "BLUE";
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.COLOUR = "RED";
_root.mcSCREEN2.XINFLUENCE = 0;
_root.mcSCREEN2.YINFLUENCE = -3;
_root.mcSCREEN2.AIMDIRECTION = 45;
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.WEAPON = "PISTOL";
_root.mcSCREEN2.PISTOLRELOAD = 100;
_root.mcSCREEN2.SHOOTING = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = false;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.FLAGS = 0;
stop();
_root.BULLETDEPTH = 1;
Frame 22
if (_root.MUTESOUNDS == true) {
stopAllSounds();
}
_root.PLAYER = 1;
_root.KEYUP = 87;
_root.KEYLEFT = 65;
_root.KEYDOWN = 83;
_root.KEYRIGHT = 68;
_root.KEYJUMP = 70;
_root.KEYNINJA = 71;
_root.KEYSHOOT = 72;
_root.mcBUNNYa.COLOUR = "PINK";
_root.XINFLUENCE = 0;
_root.YINFLUENCE = -3;
_root.AIMDIRECTION = 45;
_root.FACEDIR = "RIGHT";
_root.WEAPON = "PISTOL";
_root.PISTOLRELOAD = 100;
_root.SHOOTING = false;
_root.NINJAROPING = false;
_root.DRAWROPE = false;
_root.GROUNDED = false;
_root.RISING = false;
_root.PLAYERHEALTH = 100;
_root.KILLS = 0;
_root.LIVES = 10;
stop();
_root.BULLETDEPTH = 1;
Instance of Symbol 332 MovieClip in Frame 22
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Frame 22
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.FACEDIR == "LEFT") {
if (_root.mcBUNNYa._x < 530) {
dist = (700 - _root.mcBUNNYa._x) / 40;
_root.mcBUNNYa._x = _root.mcBUNNYa._x + dist;
_root.mcLEVEL._x = _root.mcLEVEL._x + dist;
}
} else if (_root.mcBUNNYa._x > 250) {
dist = (80 - _root.mcBUNNYa._x) / 40;
_root.mcBUNNYa._x = _root.mcBUNNYa._x + dist;
_root.mcLEVEL._x = _root.mcLEVEL._x + dist;
}
if (_root.SHOOTING == true) {
if (_root.WEAPON == "PISTOL") {
if (_root.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.THEXPOINTA = point.x;
_root.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.THEXPOINTB = point.x;
_root.THEYPOINTB = point.y;
updateAfterEvent();
_root.THEXDIFF = _root.THEXPOINTA - _root.THEXPOINTB;
_root.THEYDIFF = _root.THEYPOINTA - _root.THEYPOINTB;
point = new Object();
point.x = _root.THEXPOINTB;
point.y = _root.THEYPOINTB;
_root.mcLEVEL.globalToLocal(point);
_root.VARX = point.x;
_root.VARY = point.y;
updateAfterEvent();
_root.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.VARX, VARY:_root.VARY, XDIFF:_root.THEXDIFF, YDIFF:_root.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.VARX, VARY:_root.VARY, XDIFF:_root.THEXDIFF, YDIFF:_root.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.PISTOLRELOAD = _root.PISTOLRELOAD + 15;
if (_root.PISTOLRELOAD > 100) {
_root.PISTOLRELOAD = 1;
}
}
}
if (_root.AIMING == "DOWN") {
_root.AIMDIRECTION = _root.AIMDIRECTION + 3;
if (_root.AIMDIRECTION > 90) {
_root.AIMDIRECTION = 90;
}
}
if (_root.AIMING == "UP") {
_root.AIMDIRECTION = _root.AIMDIRECTION - 3;
if (_root.AIMDIRECTION < 1) {
_root.AIMDIRECTION = 1;
}
}
_root.mcBUNNYa.mcAIM.gotoAndStop(_root.AIMDIRECTION);
_root.vSAFEPOSY = _root.mcLEVEL._y;
_root.vSAFEPOSX = _root.mcLEVEL._x;
if (_root.RUNDIR == "LEFT") {
_root.XINFLUENCE = _root.XINFLUENCE + 1;
}
if (_root.RUNDIR == "RIGHT") {
_root.XINFLUENCE = _root.XINFLUENCE - 1;
}
if (_root.XINFLUENCE > 20) {
_root.XINFLUENCE = 20;
}
if (_root.XINFLUENCE < -20) {
_root.XINFLUENCE = -20;
}
if (_root.RUNDIR == "NONE") {
_root.XINFLUENCE = _root.XINFLUENCE * 0.9;
}
if (_root.NINJAROPING == true) {
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.XPOINTA = point.x;
_root.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcLEVEL.mcGRAPPLE._y;
_root.mcLEVEL.localToGlobal(point);
_root.XPOINTB = point.x;
_root.YPOINTB = point.y;
updateAfterEvent();
a = _root.XPOINTA - _root.XPOINTB;
b = _root.YPOINTA - _root.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 100) {
_root.NINJAXINFLUENCE = (_root.XPOINTA - _root.XPOINTB) / 8;
_root.NINJAYINFLUENCE = (_root.YPOINTA - _root.YPOINTB) / 8;
_root.YINFLUENCE = _root.YINFLUENCE + _root.NINJAYINFLUENCE;
_root.XINFLUENCE = _root.XINFLUENCE + _root.NINJAXINFLUENCE;
}
}
if (_root.YINFLUENCE > 0) {
_root.YINFLUENCE = _root.YINFLUENCE / 2;
}
if ((_root.YINFLUENCE < 0.2) and (_root.YINFLUENCE > -0.2)) {
_root.YINFLUENCE = -2;
_root.RISING = false;
}
if (_root.YINFLUENCE < -0.3) {
_root.YINFLUENCE = _root.YINFLUENCE * 1.9;
}
if (_root.YINFLUENCE < -25) {
_root.YINFLUENCE = -25;
}
_root.mcLEVEL._x = _root.mcLEVEL._x + _root.XINFLUENCE;
if (_root.YINFLUENCE < 0) {
_root.mcLEVEL._y = _root.mcLEVEL._y - (-_root.YINFLUENCE);
} else {
_root.mcLEVEL._y = _root.mcLEVEL._y - (-_root.YINFLUENCE);
}
if (_root.YINFLUENCE < -10) {
if (_root.FACEDIR == "LEFT") {
_root.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.FACEDIR == "RIGHT") {
_root.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.AIMDIRECTION;
updateAfterEvent();
if (_root.DRAWROPE == true) {
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.XPOINTA = point.x;
_root.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.XPOINTA;
point.y = _root.YPOINTA;
_root.globalToLocal(point);
_root.XPOINTA = point.x;
_root.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcLEVEL.mcGRAPPLE._y;
_root.mcLEVEL.localToGlobal(point);
_root.XPOINTB = point.x;
_root.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.XPOINTB;
point.y = _root.YPOINTB;
_root.globalToLocal(point);
_root.XPOINTB = point.x;
_root.YPOINTB = point.y;
updateAfterEvent();
_root.mcDRAW.clear();
_root.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcDRAW.moveTo(_root.XPOINTA, _root.YPOINTA);
_root.mcDRAW.lineTo(_root.XPOINTB, _root.YPOINTB);
_root.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcDRAW.lineTo(_root.XPOINTA, _root.YPOINTA);
} else {
_root.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.XPOINTA = point.x;
_root.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.XPOINTA;
point.y = _root.YPOINTA;
_root.globalToLocal(point);
_root.XPOINTA = point.x;
_root.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcLEVEL.localToGlobal(point);
_root.XPOINTB = point.x;
_root.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.XPOINTB;
point.y = _root.YPOINTB;
_root.globalToLocal(point);
_root.XPOINTB = point.x;
_root.YPOINTB = point.y;
updateAfterEvent();
_root.mcDRAW2.clear();
_root.mcDRAW2.lineStyle(4, 0, 100);
_root.mcDRAW2.moveTo(_root.XPOINTA, _root.YPOINTA);
_root.mcDRAW2.lineTo(_root.XPOINTB, _root.YPOINTB);
_root.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcDRAW2.lineTo(_root.XPOINTA, _root.YPOINTA);
} else {
_root.mcDRAW2.clear();
}
if (_root.PLAYERHEALTH < 1) {
_root.mcLEVEL._x = -400;
_root.mcLEVEL._y = 380;
_root.PLAYERHEALTH = 100;
_root.mcLEVEL.mcGRAPPLE._visible = false;
_root.NINJAROPING = false;
_root.GROUNDED = false;
_root.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.LIVES = _root.LIVES - 1;
}
if (_root.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Frame 22
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
_root.gotoAndStop(2);
}
if (Key.getCode() == _root.KEYSHOOT) {
_root.SHOOTING = true;
}
if (Key.getCode() == _root.KEYJUMP) {
if (_root.NINJAROPING == true) {
_root.DRAWROPE = false;
_root.NINJAROPING = false;
_root.mcLEVEL.mcGRAPPLE._visible = false;
_root.GROUNDED = false;
} else if (_root.GROUNDED == true) {
_root.YINFLUENCE = 180;
_root.GROUNDED = false;
_root.RISING = true;
if (_root.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.KEYNINJA) {
_root.NINJAROPING = false;
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.THEXPOINTA = point.x;
_root.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.THEXPOINTB = point.x;
_root.THEYPOINTB = point.y;
updateAfterEvent();
_root.THEXDIFFERENCE = (_root.THEXPOINTA - _root.THEXPOINTB) * 2;
_root.THEYDIFFERENCE = (_root.THEYPOINTA - _root.THEYPOINTB) * 2;
point = new Object();
point.x = _root.THEXPOINTB;
point.y = _root.THEYPOINTB;
_root.mcLEVEL.globalToLocal(point);
_root.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcLEVEL.mcGRAPPLE._visible = true;
_root.DRAWROPE = true;
}
if (Key.getCode() == _root.KEYLEFT) {
_root.FACEDIR = "LEFT";
_root.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.KEYRIGHT) {
_root.FACEDIR = "RIGHT";
_root.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.KEYUP) {
_root.AIMING = "UP";
}
if (Key.getCode() == _root.KEYDOWN) {
_root.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.KEYSHOOT) {
_root.SHOOTING = false;
}
if (Key.getCode() == _root.KEYLEFT) {
_root.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.KEYRIGHT) {
_root.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.KEYUP) {
_root.AIMING = "NONE";
}
if (Key.getCode() == _root.KEYDOWN) {
_root.AIMING = "NONE";
}
}
Symbol 3 MovieClip [BulletBlue] Frame 1
this._x = this.VARX;
this._y = this.VARY;
Instance of Symbol 2 MovieClip in Symbol 3 MovieClip [BulletBlue] Frame 1
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + this._parent.XDIFF;
this._parent._y = this._parent._y + this._parent.YDIFF;
if (this._parent._x > this._parent._parent.mcDIERIGHT._x) {
unloadMovie (this._parent);
} else if (this._parent._x < this._parent._parent.mcDIELEFT._x) {
unloadMovie (this._parent);
} else if (this._parent._y < this._parent._parent.mcDIEUP._y) {
unloadMovie (this._parent);
} else if (this._parent._y > this._parent._parent.mcDIEDOWN._y) {
unloadMovie (this._parent);
}
if (this._parent._parent._parent.PLAYER == 1) {
if (this._parent._parent._parent.mcBUNNYa.hitTest(this) == true) {
unloadMovie (this._parent);
_root.mcSCREEN1.PLAYERHEALTH = _root.mcSCREEN1.PLAYERHEALTH - 10;
}
} else if (this._parent._parent.mcBUNNY2.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE1.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE2.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE3.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE4.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE5.hitTest(this) == true) {
unloadMovie (this._parent);
}
}
Symbol 6 MovieClip [BulletRed] Frame 1
this._x = this.VARX;
this._y = this.VARY;
Instance of Symbol 5 MovieClip in Symbol 6 MovieClip [BulletRed] Frame 1
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + this._parent.XDIFF;
this._parent._y = this._parent._y + this._parent.YDIFF;
if (this._parent._x > this._parent._parent.mcDIERIGHT._x) {
unloadMovie (this._parent);
} else if (this._parent._x < this._parent._parent.mcDIELEFT._x) {
unloadMovie (this._parent);
} else if (this._parent._y < this._parent._parent.mcDIEUP._y) {
unloadMovie (this._parent);
} else if (this._parent._y > this._parent._parent.mcDIEDOWN._y) {
unloadMovie (this._parent);
}
if (this._parent._parent._parent.PLAYER == 2) {
if (this._parent._parent._parent.mcBUNNYa.hitTest(this) == true) {
unloadMovie (this._parent);
_root.mcSCREEN2.PLAYERHEALTH = _root.mcSCREEN2.PLAYERHEALTH - 10;
}
} else if (this._parent._parent.mcBUNNY2.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE1.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE2.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE3.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE4.hitTest(this) == true) {
unloadMovie (this._parent);
}
if (this._parent._parent.mcDIE5.hitTest(this) == true) {
unloadMovie (this._parent);
}
}
Symbol 13 MovieClip Frame 200
_root.SHOWORBS = eval("TRUE");
Symbol 14 MovieClip Frame 1
_root.mcLOADER.mcLOADBAR.gotoAndPlay(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 200));
Symbol 14 MovieClip Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.play();
} else {
gotoAndPlay (1);
}
Symbol 21 MovieClip Frame 10
stop();
Symbol 22 Button
on (release) {
_root.gotoAndStop(22);
}
Symbol 23 Button
on (release) {
_root.gotoAndStop(3);
}
Symbol 24 Button
on (release) {
gotoAndStop (4);
}
Symbol 25 Button
on (release) {
gotoAndStop (3);
}
Symbol 26 Button
on (release) {
gotoAndStop (2);
}
Symbol 30 Button
on (release) {
gotoAndStop (1);
}
Symbol 42 Button
on (release) {
_quality = "HIGH";
}
Symbol 43 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 44 Button
on (release) {
_quality = "LOW";
}
Symbol 47 Button
on (release) {
_root.MUTESOUNDS = true;
stopAllSounds();
}
Symbol 48 Button
on (release) {
_root.MUTESOUNDS = false;
}
Symbol 64 MovieClip Frame 1
stop();
Symbol 68 Button
on (release) {
_root.mcMAPS.gotoAndStop(1);
}
Symbol 69 Button
on (release) {
_root.mcMAPS.gotoAndStop(2);
}
Symbol 70 Button
on (release) {
_root.mcMAPS.gotoAndStop(3);
}
Symbol 71 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 79 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 80 Button
on (release) {
_root.gotoAndStop(10);
}
Symbol 81 Button
on (release) {
_root.gotoAndStop(11);
}
Symbol 82 Button
on (release) {
_root.gotoAndStop(7);
}
Symbol 83 Button
on (release) {
_root.gotoAndStop(8);
}
Symbol 84 Button
on (release) {
_root.gotoAndStop(9);
}
Symbol 85 Button
on (release) {
_root.numbar = random(4) + 1;
_root.gotoAndStop(6);
}
Symbol 91 Button
on (release) {
_root.gotoAndStop(13);
}
Symbol 92 Button
on (release) {
_root.gotoAndStop(12);
}
Symbol 97 Button
on (release) {
_root.gotoAndStop(14);
}
Symbol 98 Button
on (release) {
_root.gotoAndStop(19);
}
Symbol 99 Button
on (release) {
_root.gotoAndStop(20);
}
Symbol 100 Button
on (release) {
_root.gotoAndStop(16);
}
Symbol 101 Button
on (release) {
_root.gotoAndStop(17);
}
Symbol 102 Button
on (release) {
_root.gotoAndStop(18);
}
Symbol 103 Button
on (release) {
_root.numbar = random(4) + 1;
_root.gotoAndStop(15);
}
Symbol 106 MovieClip Frame 1
stop();
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 117 MovieClip Frame 1
this._visible = false;
Instance of Symbol 119 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
this._parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent._parent.mcBUNNYa.mcCOLLIDER) == true) {
if (this._parent._parent._parent.XINFLUENCE < 0) {
this._parent._parent._parent.XINFLUENCE = 0;
this._parent._parent._parent.mcLEVEL._x = this._parent._parent._parent.vSAFEPOSX;
}
}
if (this._parent._parent._parent.mcLEVEL.mcGRAPPLE._visible == true) {
if (this.hitTest(this._parent._parent._parent.mcLEVEL.mcGRAPPLE) == true) {
this._parent._parent._parent.THEXDIFFERENCE = 0;
this._parent._parent._parent.THEYDIFFERENCE = 0;
this._parent._parent._parent.NINJAROPING = true;
}
}
}
Instance of Symbol 119 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
this._parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent._parent.mcBUNNYa.mcCOLLIDER) == true) {
if (this._parent._parent._parent.XINFLUENCE > 0) {
this._parent._parent._parent.XINFLUENCE = 0;
this._parent._parent._parent.mcLEVEL._x = this._parent._parent._parent.vSAFEPOSX;
}
}
if (this._parent._parent._parent.mcLEVEL.mcGRAPPLE._visible == true) {
if (this.hitTest(this._parent._parent._parent.mcLEVEL.mcGRAPPLE) == true) {
this._parent._parent._parent.THEXDIFFERENCE = 0;
this._parent._parent._parent.THEYDIFFERENCE = 0;
this._parent._parent._parent.NINJAROPING = true;
}
}
}
Instance of Symbol 119 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
this._parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent._parent.mcBUNNYa.mcCOLLIDER) == true) {
if (this._parent._parent._parent.YINFLUENCE > 0) {
this._parent._parent._parent.YINFLUENCE = 0;
this._parent._parent._parent.mcLEVEL._y = this._parent._parent._parent.vSAFEPOSY;
}
}
if (this._parent._parent._parent.mcLEVEL.mcGRAPPLE._visible == true) {
if (this.hitTest(this._parent._parent._parent.mcLEVEL.mcGRAPPLE) == true) {
this._parent._parent._parent.THEXDIFFERENCE = 0;
this._parent._parent._parent.THEYDIFFERENCE = 0;
this._parent._parent._parent.NINJAROPING = true;
}
}
}
Instance of Symbol 119 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
this._parent._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent._parent.mcBUNNYa.mcCOLLIDER) == true) {
this._parent._parent._parent.GROUNDED = true;
this._parent._parent._parent.JUMPING = 1;
if (this._parent._parent._parent.YINFLUENCE < 0) {
if ((this._parent._parent._parent.mcBUNNYa._currentframe == 7) or (this._parent._parent._parent.mcBUNNYa._currentframe == 8)) {
if (this._parent._parent._parent.FACEDIR == "LEFT") {
this._parent._parent._parent.mcBUNNYa.gotoAndStop("StillLeft");
}
if (this._parent._parent._parent.FACEDIR == "RIGHT") {
this._parent._parent._parent.mcBUNNYa.gotoAndStop("StillRight");
}
if (Key.isDown(this._parent._parent._parent.KEYLEFT)) {
this._parent._parent._parent.mcBUNNYa.gotoAndStop("RunLeft");
}
if (Key.isDown(this._parent._parent._parent.KEYRIGHT)) {
this._parent._parent._parent.mcBUNNYa.gotoAndStop("RunRight");
}
this._parent._parent._parent.GROUNDED = true;
}
this._parent._parent._parent.YINFLUENCE = 0;
this._parent._parent._parent.mcLEVEL._y = this._parent._parent._parent.mcBUNNYa._y - this._parent._y;
}
}
if (this._parent._parent._parent.mcLEVEL.mcGRAPPLE._visible == true) {
if (this.hitTest(this._parent._parent._parent.mcLEVEL.mcGRAPPLE) == true) {
this._parent._parent._parent.THEXDIFFERENCE = 0;
this._parent._parent._parent.THEYDIFFERENCE = 0;
this._parent._parent._parent.NINJAROPING = true;
}
}
}
Instance of Symbol 129 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 136 MovieClip Frame 1
if (this._parent.COLOUR == "PINK") {
gotoAndStop (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndStop (2);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndStop (3);
}
stop();
Symbol 142 MovieClip Frame 1
if (this._parent._parent.COLOUR == "PINK") {
gotoAndStop (1);
} else if (this._parent._parent.COLOUR == "RED") {
gotoAndStop (2);
} else if (this._parent._parent.COLOUR == "BLUE") {
gotoAndStop (3);
}
stop();
Symbol 162 MovieClip Frame 1
if (this._parent.COLOUR == "PINK") {
gotoAndPlay (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndPlay (10);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndPlay (20);
}
Symbol 162 MovieClip Frame 6
if (this._parent.COLOUR == "PINK") {
gotoAndPlay (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndPlay (10);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndPlay (20);
}
Symbol 162 MovieClip Frame 15
if (this._parent.COLOUR == "PINK") {
gotoAndPlay (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndPlay (10);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndPlay (20);
}
Symbol 162 MovieClip Frame 25
if (this._parent.COLOUR == "PINK") {
gotoAndPlay (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndPlay (10);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndPlay (20);
}
Symbol 166 MovieClip Frame 1
if (this._parent.COLOUR == "PINK") {
gotoAndStop (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndStop (2);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndStop (3);
}
stop();
Symbol 170 MovieClip Frame 1
if (this._parent.COLOUR == "PINK") {
gotoAndStop (1);
} else if (this._parent.COLOUR == "RED") {
gotoAndStop (2);
} else if (this._parent.COLOUR == "BLUE") {
gotoAndStop (3);
}
stop();
Symbol 171 MovieClip Frame 1
stop();
Instance of Symbol 132 MovieClip "mcCOLLIDER" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 171 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
stop();
Symbol 171 MovieClip Frame 7
stop();
Symbol 171 MovieClip Frame 8
stop();
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 172 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 110 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 173 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 110 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 174 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 174 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 174 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
this.gotoAndStop(_root.numbar);
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 204 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 204 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 194 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 205 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 194 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 206 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 214 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 214 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 212 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 215 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 212 MovieClip in Symbol 216 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 216 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 216 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 216 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 224 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 222 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 225 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 222 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 226 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 232 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 235 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 232 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 236 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 244 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 244 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 242 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 245 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 242 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 246 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 246 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 252 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 255 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 252 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 256 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 256 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 256 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAGRED" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.CARRIED = false;
this.HOMEX = this._x;
this.HOMEY = this._y;
}
onClipEvent (enterFrame) {
if (this.CARRIED == true) {
this._x = this._parent.mcBUNNY2._x;
this._y = this._parent.mcBUNNY2._y;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = this._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = this._y;
if (this.hitTest(this._parent.mcBLUEBASE) == true) {
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
this.CARRIED = false;
this._x = this.HOMEX;
this._y = this.HOMEY;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = this._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = this._y;
}
} else if (this._parent._parent.PLAYER == 1) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
this.CARRIED = true;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAGBLUE" in Symbol 270 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this.CARRIED = false;
this.HOMEX = this._x;
this.HOMEY = this._y;
}
onClipEvent (enterFrame) {
if (this.CARRIED == true) {
this._x = this._parent.mcBUNNY2._x;
this._y = this._parent.mcBUNNY2._y;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = this._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = this._y;
if (this.hitTest(this._parent.mcREDBASE) == true) {
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
this.CARRIED = false;
this._x = this.HOMEX;
this._y = this.HOMEY;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = this._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = this._y;
}
} else if (this._parent._parent.PLAYER == 2) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
this.CARRIED = true;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 212 MovieClip in Symbol 271 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 271 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
if (_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.CARRIED == true) {
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.CARRIED = false;
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._x = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.HOMEX;
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._y = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.HOMEY;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._y;
}
_root.mcSCREEN1.mcLEVEL._x = 186;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.FLAGS > 4) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 271 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 212 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
if (_root.mcSCREEN1.mcLEVEL.mcFLAGRED.CARRIED == true) {
_root.mcSCREEN1.mcLEVEL.mcFLAGRED.CARRIED = false;
_root.mcSCREEN1.mcLEVEL.mcFLAGRED._x = _root.mcSCREEN1.mcLEVEL.mcFLAGRED.HOMEX;
_root.mcSCREEN1.mcLEVEL.mcFLAGRED._y = _root.mcSCREEN1.mcLEVEL.mcFLAGRED.HOMEY;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = _root.mcSCREEN1.mcLEVEL.mcFLAGRED._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = _root.mcSCREEN1.mcLEVEL.mcFLAGRED._y;
}
_root.mcSCREEN2.mcLEVEL._x = -812;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
}
if (_root.mcSCREEN2.FLAGS > 4) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 272 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAGRED" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
this.CARRIED = false;
this.HOMEX = this._x;
this.HOMEY = this._y;
}
onClipEvent (enterFrame) {
if (this.CARRIED == true) {
this._x = this._parent.mcBUNNY2._x;
this._y = this._parent.mcBUNNY2._y;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = this._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = this._y;
if (this.hitTest(this._parent.mcBLUEBASE) == true) {
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
this.CARRIED = false;
this._x = this.HOMEX;
this._y = this.HOMEY;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = this._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = this._y;
}
} else if (this._parent._parent.PLAYER == 1) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
this.CARRIED = true;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAGBLUE" in Symbol 276 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this.CARRIED = false;
this.HOMEX = this._x;
this.HOMEY = this._y;
}
onClipEvent (enterFrame) {
if (this.CARRIED == true) {
this._x = this._parent.mcBUNNY2._x;
this._y = this._parent.mcBUNNY2._y;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = this._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = this._y;
if (this.hitTest(this._parent.mcREDBASE) == true) {
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
this.CARRIED = false;
this._x = this.HOMEX;
this._y = this.HOMEY;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = this._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = this._y;
}
} else if (this._parent._parent.PLAYER == 2) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
this.CARRIED = true;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 242 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
if (_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.CARRIED == true) {
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.CARRIED = false;
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._x = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.HOMEX;
_root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._y = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE.HOMEY;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._x = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._x;
_root.mcSCREEN1.mcLEVEL.mcFLAGBLUE._y = _root.mcSCREEN2.mcLEVEL.mcFLAGBLUE._y;
}
_root.mcSCREEN1.mcLEVEL._x = 650;
_root.mcSCREEN1.mcLEVEL._y = -205;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.FLAGS > 4) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 277 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 242 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 278 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
if (_root.mcSCREEN1.mcLEVEL.mcFLAGRED.CARRIED == true) {
_root.mcSCREEN1.mcLEVEL.mcFLAGRED.CARRIED = false;
_root.mcSCREEN1.mcLEVEL.mcFLAGRED._x = _root.mcSCREEN1.mcLEVEL.mcFLAGRED.HOMEX;
_root.mcSCREEN1.mcLEVEL.mcFLAGRED._y = _root.mcSCREEN1.mcLEVEL.mcFLAGRED.HOMEY;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._x = _root.mcSCREEN1.mcLEVEL.mcFLAGRED._x;
_root.mcSCREEN2.mcLEVEL.mcFLAGRED._y = _root.mcSCREEN1.mcLEVEL.mcFLAGRED._y;
}
_root.mcSCREEN2.mcLEVEL._x = -1063;
_root.mcSCREEN2.mcLEVEL._y = 458;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
}
if (_root.mcSCREEN2.FLAGS > 4) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 278 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 278 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 282 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 110 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 283 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 110 MovieClip in Symbol 284 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 284 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 284 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 284 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 293 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 194 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 294 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 294 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 194 MovieClip in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 295 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 295 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 300 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 300 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 212 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 301 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 212 MovieClip in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 302 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 306 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 306 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 222 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 307 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 307 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 222 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 308 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 308 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 308 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 232 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 313 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 232 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 314 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 314 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 318 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 242 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 319 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 242 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 320 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}
Instance of Symbol 269 MovieClip "mcFLAG1" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG1.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG2" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG2.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG3" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG3.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG4" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG4.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 269 MovieClip "mcFLAG5" in Symbol 325 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (this.hitTest(this._parent.mcBUNNY2) == true) {
if (this._parent._parent.PLAYER == 1) {
if (this._currentframe == 3) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
} else if (this._currentframe == 1) {
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(2);
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS + 1;
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS - 1;
}
} else if (this._currentframe == 3) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
} else if (this._currentframe == 2) {
_root.mcSCREEN1.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN2.mcLEVEL.mcFLAG5.gotoAndStop(1);
_root.mcSCREEN1.FLAGS = _root.mcSCREEN1.FLAGS + 1;
_root.mcSCREEN2.FLAGS = _root.mcSCREEN2.FLAGS - 1;
}
}
}
Instance of Symbol 171 MovieClip "mcBUNNY2" in Symbol 325 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._parent._parent.BUNNY2X;
this._y = this._parent._parent.BUNNY2Y;
this.gotoAndStop(this._parent._parent.BUNNY2FRAME);
mcAIM.gotoAndStop(this._parent._parent.BUNNY2AIMDIR);
}
Instance of Symbol 252 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN1.mcLEVEL._x / 2;
this._y = _root.mcSCREEN1.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN1.SHOOTING == true) {
if (_root.mcSCREEN1.WEAPON == "PISTOL") {
if (_root.mcSCREEN1.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFF = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFF = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.VARX = point.x;
_root.mcSCREEN1.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletRed", "BulletRed" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN1.VARX, VARY:_root.mcSCREEN1.VARY, XDIFF:_root.mcSCREEN1.THEXDIFF, YDIFF:_root.mcSCREEN1.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN1.PISTOLRELOAD = _root.mcSCREEN1.PISTOLRELOAD + 15;
if (_root.mcSCREEN1.PISTOLRELOAD > 100) {
_root.mcSCREEN1.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN1.AIMING == "DOWN") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION + 3;
if (_root.mcSCREEN1.AIMDIRECTION > 90) {
_root.mcSCREEN1.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN1.AIMING == "UP") {
_root.mcSCREEN1.AIMDIRECTION = _root.mcSCREEN1.AIMDIRECTION - 3;
if (_root.mcSCREEN1.AIMDIRECTION < 1) {
_root.mcSCREEN1.AIMDIRECTION = 1;
}
}
_root.mcSCREEN1.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN1.AIMDIRECTION);
_root.mcSCREEN1.vSAFEPOSY = _root.mcSCREEN1.mcLEVEL._y;
_root.mcSCREEN1.vSAFEPOSX = _root.mcSCREEN1.mcLEVEL._x;
if (_root.mcSCREEN1.RUNDIR == "LEFT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + 1;
}
if (_root.mcSCREEN1.RUNDIR == "RIGHT") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE - 1;
}
if (_root.mcSCREEN1.XINFLUENCE > 20) {
_root.mcSCREEN1.XINFLUENCE = 20;
}
if (_root.mcSCREEN1.XINFLUENCE < -20) {
_root.mcSCREEN1.XINFLUENCE = -20;
}
if (_root.mcSCREEN1.RUNDIR == "NONE") {
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN1.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB;
b = _root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN1.NINJAXINFLUENCE = (_root.mcSCREEN1.XPOINTA - _root.mcSCREEN1.XPOINTB) / 8;
_root.mcSCREEN1.NINJAYINFLUENCE = (_root.mcSCREEN1.YPOINTA - _root.mcSCREEN1.YPOINTB) / 8;
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE + _root.mcSCREEN1.NINJAYINFLUENCE;
_root.mcSCREEN1.XINFLUENCE = _root.mcSCREEN1.XINFLUENCE + _root.mcSCREEN1.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN1.YINFLUENCE > 0) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE / 2;
}
if ((_root.mcSCREEN1.YINFLUENCE < 0.2) and (_root.mcSCREEN1.YINFLUENCE > -0.2)) {
_root.mcSCREEN1.YINFLUENCE = -2;
_root.mcSCREEN1.RISING = false;
}
if (_root.mcSCREEN1.YINFLUENCE < -0.3) {
_root.mcSCREEN1.YINFLUENCE = _root.mcSCREEN1.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN1.YINFLUENCE < -25) {
_root.mcSCREEN1.YINFLUENCE = -25;
}
_root.mcSCREEN1.mcLEVEL._x = _root.mcSCREEN1.mcLEVEL._x + _root.mcSCREEN1.XINFLUENCE;
if (_root.mcSCREEN1.YINFLUENCE < 0) {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
} else {
_root.mcSCREEN1.mcLEVEL._y = _root.mcSCREEN1.mcLEVEL._y - (-_root.mcSCREEN1.YINFLUENCE);
}
if (_root.mcSCREEN1.YINFLUENCE < -10) {
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
_root.mcSCREEN1.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.BUNNY2X = (point.x + 25) + 50;
_root.mcSCREEN2.BUNNY2Y = point.y - 15;
_root.mcSCREEN2.BUNNY2FRAME = _root.mcSCREEN1.mcBUNNYa._currentframe;
_root.mcSCREEN2.BUNNY2AIMDIR = _root.mcSCREEN1.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN1.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW.clear();
_root.mcSCREEN1.mcDRAW.lineStyle(4, 16711680, 100);
_root.mcSCREEN1.mcDRAW.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW.lineStyle(2, 10027008, 100);
_root.mcSCREEN1.mcDRAW.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW.clear();
}
if (_root.mcSCREEN2.DRAWROPE == true) {
point.x = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN1.XPOINTA;
point.y = _root.mcSCREEN1.YPOINTA;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTA = point.x;
_root.mcSCREEN1.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN1.mcLEVEL.localToGlobal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.XPOINTB;
point.y = _root.mcSCREEN1.YPOINTB;
_root.mcSCREEN1.globalToLocal(point);
_root.mcSCREEN1.XPOINTB = point.x;
_root.mcSCREEN1.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcDRAW2.clear();
_root.mcSCREEN1.mcDRAW2.lineStyle(4, 0, 100);
_root.mcSCREEN1.mcDRAW2.moveTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTB, _root.mcSCREEN1.YPOINTB);
_root.mcSCREEN1.mcDRAW2.lineStyle(2, 26367, 100);
_root.mcSCREEN1.mcDRAW2.lineTo(_root.mcSCREEN1.XPOINTA, _root.mcSCREEN1.YPOINTA);
} else {
_root.mcSCREEN1.mcDRAW2.clear();
}
if (_root.mcSCREEN1.PLAYERHEALTH < 1) {
_root.mcSCREEN1.mcLEVEL._x = -400;
_root.mcSCREEN1.mcLEVEL._y = 380;
_root.mcSCREEN1.PLAYERHEALTH = 100;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN2.KILLS = _root.mcSCREEN2.KILLS + 1;
_root.mcSCREEN1.LIVES = _root.mcSCREEN1.LIVES - 1;
}
if (_root.mcSCREEN1.LIVES < 1) {
_root.GAMEMESSAGE = "Player 2 Won!";
_root.P2WINS = _root.P2WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 326 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYJUMP) {
if (_root.mcSCREEN1.NINJAROPING == true) {
_root.mcSCREEN1.DRAWROPE = false;
_root.mcSCREEN1.NINJAROPING = false;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN1.GROUNDED = false;
} else if (_root.mcSCREEN1.GROUNDED == true) {
_root.mcSCREEN1.YINFLUENCE = 180;
_root.mcSCREEN1.GROUNDED = false;
_root.mcSCREEN1.RISING = true;
if (_root.mcSCREEN1.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN1.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN1.KEYNINJA) {
_root.mcSCREEN1.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTA = point.x;
_root.mcSCREEN1.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN1.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN1.THEXPOINTB = point.x;
_root.mcSCREEN1.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN1.THEXDIFFERENCE = (_root.mcSCREEN1.THEXPOINTA - _root.mcSCREEN1.THEXPOINTB) * 2;
_root.mcSCREEN1.THEYDIFFERENCE = (_root.mcSCREEN1.THEYPOINTA - _root.mcSCREEN1.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN1.THEXPOINTB;
point.y = _root.mcSCREEN1.THEYPOINTB;
_root.mcSCREEN1.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN1.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN1.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.FACEDIR = "LEFT";
_root.mcSCREEN1.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.FACEDIR = "RIGHT";
_root.mcSCREEN1.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN1.KEYSHOOT) {
_root.mcSCREEN1.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN1.KEYLEFT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN1.KEYRIGHT) {
_root.mcSCREEN1.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN1.KEYUP) {
_root.mcSCREEN1.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN1.KEYDOWN) {
_root.mcSCREEN1.AIMING = "NONE";
}
}
Instance of Symbol 252 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.mcSCREEN2.mcLEVEL._x / 2;
this._y = _root.mcSCREEN2.mcLEVEL._y / 2;
}
Instance of Symbol 112 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mcSCREEN2.SHOOTING == true) {
if (_root.mcSCREEN2.WEAPON == "PISTOL") {
if (_root.mcSCREEN2.PISTOLRELOAD == 1) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFF = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFF = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.VARX = point.x;
_root.mcSCREEN2.VARY = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.mcSCREEN1.mcLEVEL.attachMovie("BulletBlue", "BulletBlue" + _root.BULLETDEPTH, _root.BULLETDEPTH, {VARX:_root.mcSCREEN2.VARX, VARY:_root.mcSCREEN2.VARY, XDIFF:_root.mcSCREEN2.THEXDIFF, YDIFF:_root.mcSCREEN2.THEYDIFF});
_root.BULLETDEPTH = _root.BULLETDEPTH + 1;
}
_root.mcSCREEN2.PISTOLRELOAD = _root.mcSCREEN2.PISTOLRELOAD + 15;
if (_root.mcSCREEN2.PISTOLRELOAD > 100) {
_root.mcSCREEN2.PISTOLRELOAD = 1;
}
}
}
if (_root.mcSCREEN2.AIMING == "DOWN") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION + 3;
if (_root.mcSCREEN2.AIMDIRECTION > 90) {
_root.mcSCREEN2.AIMDIRECTION = 90;
}
}
if (_root.mcSCREEN2.AIMING == "UP") {
_root.mcSCREEN2.AIMDIRECTION = _root.mcSCREEN2.AIMDIRECTION - 3;
if (_root.mcSCREEN2.AIMDIRECTION < 1) {
_root.mcSCREEN2.AIMDIRECTION = 1;
}
}
_root.mcSCREEN2.mcBUNNYa.mcAIM.gotoAndStop(_root.mcSCREEN2.AIMDIRECTION);
_root.mcSCREEN2.vSAFEPOSY = _root.mcSCREEN2.mcLEVEL._y;
_root.mcSCREEN2.vSAFEPOSX = _root.mcSCREEN2.mcLEVEL._x;
if (_root.mcSCREEN2.RUNDIR == "LEFT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + 1;
}
if (_root.mcSCREEN2.RUNDIR == "RIGHT") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE - 1;
}
if (_root.mcSCREEN2.XINFLUENCE > 20) {
_root.mcSCREEN2.XINFLUENCE = 20;
}
if (_root.mcSCREEN2.XINFLUENCE < -20) {
_root.mcSCREEN2.XINFLUENCE = -20;
}
if (_root.mcSCREEN2.RUNDIR == "NONE") {
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE * 0.9;
}
if (_root.mcSCREEN2.NINJAROPING == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
a = _root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB;
b = _root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB;
c = Math.sqrt((a * a) + (b * b));
if (c > 50) {
_root.mcSCREEN2.NINJAXINFLUENCE = (_root.mcSCREEN2.XPOINTA - _root.mcSCREEN2.XPOINTB) / 8;
_root.mcSCREEN2.NINJAYINFLUENCE = (_root.mcSCREEN2.YPOINTA - _root.mcSCREEN2.YPOINTB) / 8;
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE + _root.mcSCREEN2.NINJAYINFLUENCE;
_root.mcSCREEN2.XINFLUENCE = _root.mcSCREEN2.XINFLUENCE + _root.mcSCREEN2.NINJAXINFLUENCE;
}
}
if (_root.mcSCREEN2.YINFLUENCE > 0) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE / 2;
}
if ((_root.mcSCREEN2.YINFLUENCE < 0.2) and (_root.mcSCREEN2.YINFLUENCE > -0.2)) {
_root.mcSCREEN2.YINFLUENCE = -2;
_root.mcSCREEN2.RISING = false;
}
if (_root.mcSCREEN2.YINFLUENCE < -0.3) {
_root.mcSCREEN2.YINFLUENCE = _root.mcSCREEN2.YINFLUENCE * 1.9;
}
if (_root.mcSCREEN2.YINFLUENCE < -25) {
_root.mcSCREEN2.YINFLUENCE = -25;
}
_root.mcSCREEN2.mcLEVEL._x = _root.mcSCREEN2.mcLEVEL._x + _root.mcSCREEN2.XINFLUENCE;
if (_root.mcSCREEN2.YINFLUENCE < 0) {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
} else {
_root.mcSCREEN2.mcLEVEL._y = _root.mcSCREEN2.mcLEVEL._y - (-_root.mcSCREEN2.YINFLUENCE);
}
if (_root.mcSCREEN2.YINFLUENCE < -10) {
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
_root.mcSCREEN2.mcBUNNYa.gotoAndStop("GoingDownRight");
}
}
point = new Object();
point.x = this._parent.mcBUNNYa._x;
point.y = this._parent.mcBUNNYa._y;
this._parent.mcLEVEL.globalToLocal(point);
_root.mcSCREEN1.BUNNY2X = ((point.x + 780) + 15) + 50;
_root.mcSCREEN1.BUNNY2Y = point.y - 15;
_root.mcSCREEN1.BUNNY2FRAME = _root.mcSCREEN2.mcBUNNYa._currentframe;
_root.mcSCREEN1.BUNNY2AIMDIR = _root.mcSCREEN2.AIMDIRECTION;
updateAfterEvent();
if (_root.mcSCREEN2.DRAWROPE == true) {
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW.clear();
_root.mcSCREEN2.mcDRAW.lineStyle(4, 0, 100);
_root.mcSCREEN2.mcDRAW.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW.lineStyle(2, 26367, 100);
_root.mcSCREEN2.mcDRAW.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW.clear();
}
if (_root.mcSCREEN1.DRAWROPE == true) {
point.x = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcLEVEL.mcBUNNY2.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point.x = _root.mcSCREEN2.XPOINTA;
point.y = _root.mcSCREEN2.YPOINTA;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTA = point.x;
_root.mcSCREEN2.YPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._x;
point.y = _root.mcSCREEN1.mcLEVEL.mcGRAPPLE._y;
_root.mcSCREEN2.mcLEVEL.localToGlobal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.XPOINTB;
point.y = _root.mcSCREEN2.YPOINTB;
_root.mcSCREEN2.globalToLocal(point);
_root.mcSCREEN2.XPOINTB = point.x;
_root.mcSCREEN2.YPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcDRAW2.clear();
_root.mcSCREEN2.mcDRAW2.lineStyle(4, 16711680, 100);
_root.mcSCREEN2.mcDRAW2.moveTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTB, _root.mcSCREEN2.YPOINTB);
_root.mcSCREEN2.mcDRAW2.lineStyle(2, 10027008, 100);
_root.mcSCREEN2.mcDRAW2.lineTo(_root.mcSCREEN2.XPOINTA, _root.mcSCREEN2.YPOINTA);
} else {
_root.mcSCREEN2.mcDRAW2.clear();
}
if (_root.mcSCREEN2.PLAYERHEALTH < 1) {
_root.mcSCREEN2.mcLEVEL._x = -400;
_root.mcSCREEN2.mcLEVEL._y = 380;
_root.mcSCREEN2.PLAYERHEALTH = 100;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN1.KILLS = _root.mcSCREEN1.KILLS + 1;
_root.mcSCREEN2.LIVES = _root.mcSCREEN2.LIVES - 1;
}
if (_root.mcSCREEN2.LIVES < 1) {
_root.GAMEMESSAGE = "Player 1 Won!";
_root.P1WINS = _root.P1WINS + 1;
_root.gotoAndStop(3);
}
}
Instance of Symbol 115 MovieClip "mcDRAW" in Symbol 327 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Instance of Symbol 171 MovieClip "mcBUNNYa" in Symbol 327 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYJUMP) {
if (_root.mcSCREEN2.NINJAROPING == true) {
_root.mcSCREEN2.DRAWROPE = false;
_root.mcSCREEN2.NINJAROPING = false;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = false;
_root.mcSCREEN2.GROUNDED = false;
}
if (_root.mcSCREEN2.GROUNDED == true) {
_root.mcSCREEN2.YINFLUENCE = 180;
_root.mcSCREEN2.GROUNDED = false;
_root.mcSCREEN2.RISING = true;
if (_root.mcSCREEN2.FACEDIR == "LEFT") {
this.gotoAndStop("GoingUpLeft");
} else if (_root.mcSCREEN2.FACEDIR == "RIGHT") {
this.gotoAndStop("GoingUpRight");
}
}
}
if (Key.getCode() == _root.mcSCREEN2.KEYNINJA) {
_root.mcSCREEN2.NINJAROPING = false;
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTA = point.x;
_root.mcSCREEN2.THEYPOINTA = point.y;
updateAfterEvent();
point = new Object();
point.x = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._x;
point.y = _root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.mcAIM2._y;
_root.mcSCREEN2.mcBUNNYa.mcAIM.mcUPPERBODY.localToGlobal(point);
_root.mcSCREEN2.THEXPOINTB = point.x;
_root.mcSCREEN2.THEYPOINTB = point.y;
updateAfterEvent();
_root.mcSCREEN2.THEXDIFFERENCE = (_root.mcSCREEN2.THEXPOINTA - _root.mcSCREEN2.THEXPOINTB) * 2;
_root.mcSCREEN2.THEYDIFFERENCE = (_root.mcSCREEN2.THEYPOINTA - _root.mcSCREEN2.THEYPOINTB) * 2;
point = new Object();
point.x = _root.mcSCREEN2.THEXPOINTB;
point.y = _root.mcSCREEN2.THEYPOINTB;
_root.mcSCREEN2.mcLEVEL.globalToLocal(point);
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._x = point.x;
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._y = point.y;
updateAfterEvent();
_root.mcSCREEN2.mcLEVEL.mcGRAPPLE._visible = true;
_root.mcSCREEN2.DRAWROPE = true;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.FACEDIR = "LEFT";
_root.mcSCREEN2.RUNDIR = "LEFT";
this.gotoAndStop("RunLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.FACEDIR = "RIGHT";
_root.mcSCREEN2.RUNDIR = "RIGHT";
this.gotoAndStop("RunRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "UP";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "DOWN";
}
}
onClipEvent (keyUp) {
if (Key.getCode() == _root.mcSCREEN2.KEYSHOOT) {
_root.mcSCREEN2.SHOOTING = false;
}
if (Key.getCode() == _root.mcSCREEN2.KEYLEFT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillLeft");
}
if (Key.getCode() == _root.mcSCREEN2.KEYRIGHT) {
_root.mcSCREEN2.RUNDIR = "NONE";
this.gotoAndStop("StillRight");
}
if (Key.getCode() == _root.mcSCREEN2.KEYUP) {
_root.mcSCREEN2.AIMING = "NONE";
}
if (Key.getCode() == _root.mcSCREEN2.KEYDOWN) {
_root.mcSCREEN2.AIMING = "NONE";
}
}
Instance of Symbol 130 MovieClip "mcGRAPPLE" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = this._x + this._parent._parent.THEXDIFFERENCE;
this._y = this._y + this._parent._parent.THEYDIFFERENCE;
}