Frame 2
stop();
Frame 56
stop();
Frame 58
play();
Instance of Symbol 84 MovieClip "stars" in Frame 58
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.075;
}
Instance of Symbol 86 MovieClip in Frame 58
onClipEvent (load) {
offset_x = 0;
offset_y = 0;
}
onClipEvent (enterFrame) {
_x = offset_x;
offset_x = _root._x * 0.2;
_y = offset_y;
offset_y = _root._y * 0.15;
}
Instance of Symbol 92 MovieClip "ground" in Frame 58
onClipEvent (load) {
_root.ground._visible = false;
}
Instance of Symbol 94 MovieClip "wall" in Frame 58
onClipEvent (load) {
_root.wall._visible = false;
}
Instance of Symbol 110 MovieClip "char2" in Frame 58
onClipEvent (enterFrame) {
gotoAndPlay ("walking_right2");
}
Instance of Symbol 116 MovieClip "char1" in Frame 58
onClipEvent (enterFrame) {
gotoAndPlay ("walking_left");
}
Instance of Symbol 120 MovieClip "bg1_infront" in Frame 58
onClipEvent (load) {
offset_x = 0;
offset_y = 0;
}
onClipEvent (enterFrame) {
_x = offset_x;
offset_x = (_root._x * 0.25) + 125;
_y = offset_y;
offset_y = (_root._y * 0.15) + 200;
}
Instance of Symbol 122 MovieClip "camera" in Frame 58
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
_root._y = 200;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = _root._y - 6.5;
}
Instance of Symbol 123 MovieClip "safe" in Frame 58
onClipEvent (load) {
_root.safe._visible = false;
}
Instance of Symbol 141 MovieClip in Frame 58
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_x = ((-_root._x) + 275);
_y = ((-_root._y) + 20);
if (_root.char1.kills > 49) {
gotoAndStop ("blue");
}
if (_root.char2.kills > 49) {
gotoAndStop ("red");
}
}
Frame 102
stop();
Instance of Symbol 110 MovieClip "char2" in Frame 102
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_right2");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char2._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char2._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char2._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char2._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char2._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char1.hitTest(this._x, this._y, true)) {
_root.char2.kills = _root.char2.kills + 1;
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed + (_root.char1.power * 3);
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed - (_root.char1.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(87) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(32)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed - _root.char2.power;
_root.char2.gotoAndPlay("stand_right2");
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed + _root.char2.power;
_root.char2.gotoAndPlay("stand_left2");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 116 MovieClip "char1" in Frame 102
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_left");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char1._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char1._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char1._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char1._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char1._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char2.hitTest(this._x, this._y, true)) {
_root.char1.kills = _root.char1.kills + 1;
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed + (_root.char2.power * 3);
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed - (_root.char2.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(38) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(16)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed - _root.char1.power;
_root.char1.gotoAndPlay("stand_right");
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed + _root.char1.power;
_root.char1.gotoAndPlay("stand_left");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 122 MovieClip "camera" in Frame 102
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = (-((_root.char1._y + _root.char2._y) / 2)) + 250;
}
Frame 103
stop();
Instance of Symbol 122 MovieClip "camera" in Frame 103
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = (-((_root.char1._y + _root.char2._y) / 2)) + 250;
_root.char1.gravity = 0;
_root.char1.power = 0;
_root.char1.jump_power = 0;
_root.char1.recoilready = -1000;
_root.char2.gravity = 0;
_root.char2.power = 0;
_root.char2.jump_power = 0;
_root.char2.recoilready = -1000;
}
Frame 104
_root._x = 0;
_root._y = 0;
gotoAndPlay (3);
Frame 105
play();
Instance of Symbol 155 MovieClip "bg1" in Frame 105
onClipEvent (load) {
offset_x = 0;
offset_y = 0;
}
onClipEvent (enterFrame) {
_x = offset_x;
offset_x = (_root._x * 0.25) + 250;
_y = offset_y;
offset_y = (_root._y * 0.15) + 100;
}
Instance of Symbol 157 MovieClip "bg2" in Frame 105
onClipEvent (load) {
offset_x = 0;
offset_y = 0;
}
onClipEvent (enterFrame) {
_x = offset_x;
offset_x = (_root._x * 0.2) + 100;
}
Instance of Symbol 162 MovieClip "ground" in Frame 105
onClipEvent (load) {
_root.ground._visible = false;
}
Instance of Symbol 164 MovieClip "wall" in Frame 105
onClipEvent (load) {
_root.wall._visible = false;
}
Instance of Symbol 110 MovieClip "char2" in Frame 105
onClipEvent (enterFrame) {
gotoAndPlay ("walking_right2");
}
Instance of Symbol 116 MovieClip "char1" in Frame 105
onClipEvent (enterFrame) {
gotoAndPlay ("walking_left");
}
Instance of Symbol 167 MovieClip "bg1_infront" in Frame 105
onClipEvent (load) {
offset_x = 0;
offset_y = 0;
}
onClipEvent (enterFrame) {
_x = offset_x;
offset_x = (_root._x * 0.25) + 125;
_y = offset_y;
offset_y = (_root._y * 0.15) + 200;
}
Instance of Symbol 122 MovieClip "camera" in Frame 105
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
_root._y = 200;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = _root._y - 6.5;
}
Instance of Symbol 123 MovieClip "safe" in Frame 105
onClipEvent (load) {
_root.safe._visible = false;
}
Instance of Symbol 141 MovieClip in Frame 105
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_x = ((-_root._x) + 275);
_y = ((-_root._y) + 20);
if (_root.char1.kills > 49) {
gotoAndStop ("blue");
}
if (_root.char2.kills > 49) {
gotoAndStop ("red");
}
}
Frame 149
stop();
Instance of Symbol 110 MovieClip "char2" in Frame 149
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_right2");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char2._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char2._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char2._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char2._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char2._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char1.hitTest(this._x, this._y, true)) {
_root.char2.kills = _root.char2.kills + 1;
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed + (_root.char1.power * 3);
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed - (_root.char1.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(87) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(32)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed - _root.char2.power;
_root.char2.gotoAndPlay("stand_right2");
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed + _root.char2.power;
_root.char2.gotoAndPlay("stand_left2");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 116 MovieClip "char1" in Frame 149
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_left");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char1._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char1._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char1._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char1._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char1._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char2.hitTest(this._x, this._y, true)) {
_root.char1.kills = _root.char1.kills + 1;
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed + (_root.char2.power * 3);
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed - (_root.char2.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(38) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(16)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed - _root.char1.power;
_root.char1.gotoAndPlay("stand_right");
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed + _root.char1.power;
_root.char1.gotoAndPlay("stand_left");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 122 MovieClip "camera" in Frame 149
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = (-((_root.char1._y + _root.char2._y) / 2)) + 250;
}
Frame 150
stop();
Instance of Symbol 122 MovieClip "camera" in Frame 150
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = (-((_root.char1._y + _root.char2._y) / 2)) + 250;
_root.char1.gravity = 0;
_root.char1.power = 0;
_root.char1.jump_power = 0;
_root.char1.recoilready = -1000;
_root.char2.gravity = 0;
_root.char2.power = 0;
_root.char2.jump_power = 0;
_root.char2.recoilready = -1000;
}
Frame 151
_root._x = 0;
_root._y = 0;
gotoAndPlay (3);
Frame 152
play();
Instance of Symbol 168 MovieClip "die" in Frame 152
onClipEvent (load) {
_root.die._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char1._x, _root.char1._y, true)) {
_root.char2.kills = 50;
}
if (this.hitTest(_root.char2._x, _root.char2._y, true)) {
_root.char1.kills = 50;
}
}
Instance of Symbol 110 MovieClip "char2" in Frame 152
onClipEvent (enterFrame) {
gotoAndPlay ("walking_right2");
}
Instance of Symbol 116 MovieClip "char1" in Frame 152
onClipEvent (enterFrame) {
gotoAndPlay ("walking_left");
}
Instance of Symbol 122 MovieClip "camera" in Frame 152
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
_root._y = 200;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = _root._y - 6.5;
}
Instance of Symbol 123 MovieClip "safe" in Frame 152
onClipEvent (load) {
_root.safe._visible = false;
}
Instance of Symbol 141 MovieClip in Frame 152
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_x = ((-_root._x) + 275);
_y = ((-_root._y) + 20);
if (_root.char1.kills > 49) {
gotoAndStop ("blue");
}
if (_root.char2.kills > 49) {
gotoAndStop ("red");
}
}
Frame 196
stop();
Instance of Symbol 110 MovieClip "char2" in Frame 196
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_right2");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char2._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char2._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char2._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char2._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char2._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char1.hitTest(this._x, this._y, true)) {
_root.char2.kills = _root.char2.kills + 1;
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed + (_root.char1.power * 3);
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed - (_root.char1.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(65)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(68)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(87) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(32)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed - _root.char2.power;
_root.char2.gotoAndPlay("stand_right2");
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed + _root.char2.power;
_root.char2.gotoAndPlay("stand_left2");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 116 MovieClip "char1" in Frame 196
onClipEvent (load) {
gravity = 0;
onground = false;
yspeed = 0;
xspeed = 0;
power = 3;
friction = 0.85;
jumping = false;
jump_power = 15;
falling = true;
dir_right = true;
kills = 0;
recoilready = 0;
i = 0;
gotoAndPlay ("stand_left");
}
onClipEvent (enterFrame) {
function fireBullets() {
var _local3 = "bullet" + i;
_root.attachMovie("bullet", _local3, i * 100);
_root[_local3]._y = _root.char1._y - 45;
if (dir_right) {
_root[_local3]._x = _root.char1._x + 120;
}
if (!dir_right) {
_root[_local3]._x = _root.char1._x - 75;
}
_root[_local3].onEnterFrame = function () {
var _local3 = 28;
if (dir_right) {
if (_root.char1._x < this._x) {
this._x = this._x + _local3;
} else {
this._x = this._x - _local3;
}
} else if (_root.char1._x > (this._x - 50)) {
this._x = this._x - _local3;
} else {
this._x = this._x + _local3;
}
if (_root.char2.hitTest(this._x, this._y, true)) {
_root.char1.kills = _root.char1.kills + 1;
if (dir_right) {
_root.char2.xspeed = _root.char2.xspeed + (_root.char2.power * 3);
}
if (!dir_right) {
_root.char2.xspeed = _root.char2.xspeed - (_root.char2.power * 3);
}
this.play();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._x < -800) {
this.removeMovieClip();
}
};
recoilready = -5;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
dir_right = false;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
dir_right = true;
}
if ((gravity > 0) && (!jumping)) {
falling = true;
}
if (jumping) {
_y = (_y - jump_power);
jump_power = jump_power - 0.5;
if (jump_power < 0) {
onground = false;
falling = true;
jumping = false;
jump_power = 15;
}
} else if ((Key.isDown(38) && (onground)) && (!falling)) {
jumping = true;
} else {
jumping = false;
falling = false;
}
if (_root.wall.hitTest(this._x, this._y, true)) {
xspeed = -(xspeed * 2);
}
if (_root.ground.hitTest(this._x + 10, this._y - 10, true)) {
gravity = 0;
yspeed = 0;
onground = true;
falling = false;
} else {
gravity = 0.3;
onground = false;
falling = true;
}
yspeed = yspeed + gravity;
xspeed = xspeed * friction;
_x = (_x + xspeed);
_y = (_y + yspeed);
if (Key.isDown(16)) {
if (recoilready >= 0) {
fireBullets();
if (dir_right) {
_root.char1.xspeed = _root.char1.xspeed - _root.char1.power;
_root.char1.gotoAndPlay("stand_right");
}
if (!dir_right) {
_root.char1.xspeed = _root.char1.xspeed + _root.char1.power;
_root.char1.gotoAndPlay("stand_left");
}
}
}
i = i + 1;
if (recoilready < 0) {
recoilready = recoilready + 1;
}
killstext = (kills * 2) + "%";
}
Instance of Symbol 122 MovieClip "camera" in Frame 196
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
}
onClipEvent (enterFrame) {
_root._x = (-((_root.char1._x + _root.char2._x) / 2)) + 275;
_root._y = (-((_root.char1._y + _root.char2._y) / 2)) + 250;
}
Frame 197
stop();
Instance of Symbol 122 MovieClip "camera" in Frame 197
onClipEvent (load) {
_root.camera._visible = false;
xspeed_total = 0;
xspeed1 = 0;
xspeed2 = 0;
campos_x = 0;
campos_y = 0;
campos_x21 = 150;
campos_x22 = 400;
varx = 0;
char1x = _root.char1._x;
char1y = _root.char1._y;
char2x = _root.char2._x;
char2y = _root.char2._y;
}
onClipEvent (enterFrame) {
_root._x = (-((char1x + char2x) / 2)) + 275;
_root._y = (-((char1y + char2y) / 2)) + 250;
_root.char1.gravity = 0;
_root.char1.power = 0;
_root.char1.jump_power = 0;
_root.char1.recoilready = -1000;
_root.char2.gravity = 0;
_root.char2.power = 0;
_root.char2.jump_power = 0;
_root.char2.recoilready = -1000;
}
Frame 198
_root._x = 0;
_root._y = 0;
gotoAndPlay (3);
Frame 199
stop();
Frame 200
stop();
Frame 241
stop();
Instance of Symbol 186 MovieClip "decider" in Frame 241
onClipEvent (load) {
leveltext = "None Selected";
level = "None Selected";
}
onClipEvent (enterFrame) {
leveltext = level;
}
Symbol 6 MovieClip [bullet] Frame 1
stop();
Symbol 6 MovieClip [bullet] Frame 5
this.removeMovieClip();
Symbol 11 Button
on (release) {
getURL ("http://cjamedia.net", "_blank");
}
Symbol 22 Button
on (press) {
_root.play();
}
Symbol 24 MovieClip Frame 1
_root.stop;
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
PercentText = Math.round(PercentLoaded) + "% Loaded";
if (PercentLoaded != 100) {
setProperty(loading_bar, _xscale , PercentLoaded);
} else {
this.gotoAndPlay(3);
}
Symbol 24 MovieClip Frame 2
gotoAndPlay (1);
Symbol 24 MovieClip Frame 4
stop();
Symbol 42 MovieClip Frame 15
stop();
Symbol 48 MovieClip Frame 15
stop();
Symbol 54 MovieClip Frame 34
stop();
Symbol 63 Button
on (release) {
getURL ("http://albinoblacksheep.com", "_blank");
}
Symbol 66 Button
on (release) {
gotoAndPlay (201);
}
Symbol 67 Button
on (release) {
gotoAndPlay (199);
}
Symbol 68 Button
on (release) {
gotoAndPlay (200);
}
Instance of Symbol 103 MovieClip in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent.gotoAndPlay("walking_left2");
}
if (Key.isDown(68)) {
_parent.gotoAndPlay("walking_right2");
}
if (Key.isDown(87)) {
_parent.gotoAndPlay("jump2");
}
}
Symbol 110 MovieClip Frame 41
gotoAndPlay ("stand_left2");
Instance of Symbol 103 MovieClip "char1" in Symbol 110 MovieClip Frame 42
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent.gotoAndPlay("walking_left2");
}
if (Key.isDown(68)) {
_parent.gotoAndPlay("walking_right2");
}
if (Key.isDown(87)) {
_parent.gotoAndPlay("jump2");
}
}
Symbol 110 MovieClip Frame 82
gotoAndPlay ("stand_right2");
Instance of Symbol 107 MovieClip in Symbol 110 MovieClip Frame 83
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent.gotoAndPlay("walking_left2");
}
if (Key.isDown(68)) {
_parent.gotoAndPlay("walking_right2");
}
}
Symbol 110 MovieClip Frame 97
if (Key.isDown(68)) {
gotoAndPlay ("walking_right2");
} else {
gotoAndPlay ("stand_right2");
}
Instance of Symbol 107 MovieClip in Symbol 110 MovieClip Frame 98
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent.gotoAndPlay("walking_left2");
}
if (Key.isDown(68)) {
_parent.gotoAndPlay("walking_right2");
}
}
Symbol 110 MovieClip Frame 112
if (Key.isDown(65)) {
gotoAndPlay ("walking_left2");
} else {
gotoAndPlay ("stand_left2");
}
Instance of Symbol 109 MovieClip in Symbol 110 MovieClip Frame 113
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_parent.gotoAndPlay("walking_left2");
}
if (Key.isDown(68)) {
_parent.gotoAndPlay("walking_right2");
}
}
Symbol 110 MovieClip Frame 130
if (Key.isDown(87)) {
gotoAndPlay ("jump2");
} else {
gotoAndPlay ("stand_right2");
}
Instance of Symbol 81 MovieClip "char1" in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndPlay("walking_left");
}
if (Key.isDown(39)) {
_parent.gotoAndPlay("walking_right");
}
if (Key.isDown(38)) {
_parent.gotoAndPlay("jump");
}
}
Symbol 116 MovieClip Frame 41
gotoAndPlay ("stand_right");
Instance of Symbol 81 MovieClip in Symbol 116 MovieClip Frame 42
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndPlay("walking_left");
}
if (Key.isDown(39)) {
_parent.gotoAndPlay("walking_right");
}
if (Key.isDown(38)) {
_parent.gotoAndPlay("jump");
}
}
Symbol 116 MovieClip Frame 82
gotoAndPlay ("stand_left");
Instance of Symbol 114 MovieClip in Symbol 116 MovieClip Frame 83
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndPlay("walking_left");
}
if (Key.isDown(39)) {
_parent.gotoAndPlay("walking_right");
}
}
Symbol 116 MovieClip Frame 97
if (Key.isDown(39)) {
gotoAndPlay ("walking_right");
} else {
gotoAndPlay ("stand_right");
}
Instance of Symbol 114 MovieClip in Symbol 116 MovieClip Frame 98
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndPlay("walking_left");
}
if (Key.isDown(39)) {
_parent.gotoAndPlay("walking_right");
}
}
Symbol 116 MovieClip Frame 112
if (Key.isDown(37)) {
gotoAndPlay ("walking_left");
} else {
gotoAndPlay ("stand_left");
}
Instance of Symbol 115 MovieClip in Symbol 116 MovieClip Frame 113
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndPlay("walking_left");
}
if (Key.isDown(39)) {
_parent.gotoAndPlay("walking_right");
}
}
Symbol 116 MovieClip Frame 130
if (Key.isDown(38)) {
gotoAndPlay ("jump");
} else {
gotoAndPlay ("stand_right");
}
Symbol 129 MovieClip Frame 40
stop();
Symbol 137 Button
on (release) {
_root.play();
}
Symbol 141 MovieClip Frame 1
this.stop();
Symbol 141 MovieClip Frame 2
_root.play();
Symbol 141 MovieClip Frame 3
_root.play();
Symbol 147 MovieClip Frame 61
stop();
Symbol 173 Button
on (release) {
gotoAndStop (56);
}
Symbol 192 Button
on (rollOver) {
_root.decider.level = "City Streets";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
on (release) {
gotoAndPlay (1);
}
Symbol 196 Button
on (rollOver) {
_root.decider.level = "Arena";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
Symbol 199 Button
on (rollOver) {
_root.decider.level = "Junkyard";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
Instance of Symbol 186 MovieClip "decider" in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
leveltext = "None Selected";
level = "None Selected";
}
onClipEvent (enterFrame) {
leveltext = level;
}
Symbol 206 Button
on (rollOver) {
_root.decider.level = "City Streets";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
on (release) {
gotoAndPlay (58);
}
Symbol 207 Button
on (rollOver) {
_root.decider.level = "Arena";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
on (release) {
gotoAndPlay (152);
}
Symbol 208 Button
on (rollOver) {
_root.decider.level = "Junkyard";
}
on (rollOut) {
_root.decider.level = "None Selected";
}
on (release) {
gotoAndPlay (105);
}