Frame 1
Mouse.hide();
stop();
Instance of Symbol 286 MovieClip "crosshair" in Frame 1
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
function getAllMc(mc) {
for (var _local2 in mc) {
if (typeof(mc[_local2]) == "movieclip") {
mc[_local2].stop();
getAllMc(mc[_local2]);
}
}
}
_quality = "MEDIUM";
_global.i_fx = 0;
_global.i_ene_c = 0;
_global.i_cb = 0;
_global.shots = 0;
_global.hits = 0;
_global.miss = 0;
getAllMc(espacio_balas);
var dBMP = (new flash.display.BitmapData(500, 600, false, 0));
c_BMP.attachBitmap(dBMP, 3);
var miSession = new SESSION(this);
var mouseListener = new Object();
mouseListener.onMouseDown = function () {
_global.i_cb++;
_global.shots++;
d_angulo = (Math.atan2(_root._ymouse - _root.tiza._y, _root._xmouse - _root.tiza._x) * 180) / Math.PI;
if (_root.tiza._currentframe != 5) {
_root.espacio_balas.attachMovie("bala_in", "bala_" + _global.i_cb, _root.espacio_balas.getNextHighestDepth());
}
if (_root.tiza._currentframe != 5) {
if (_root.tiza._currentframe != 4) {
_root.tiza.gotoAndPlay(3);
_root.tiza.gotoAndPlay(4);
} else if (_root.tiza._currentframe != 5) {
if (_root.tiza.tiza._currentframe > 10) {
_root.tiza.gotoAndPlay(3);
_root.tiza.gotoAndPlay(4);
}
}
}
if (_root.tiza._currentframe != 5) {
if (Math.abs(_root.tiza.vel) < 3) {
_root.tiza.tiza.pies_v.gotoAndStop(2);
}
}
_root.espacio_balas["bala_" + _global.i_cb]._rotation = d_angulo;
if (_root.tiza._xscale > 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = _root.tiza._x + 45;
_root.espacio_balas["bala_" + _global.i_cb]._y = _root.tiza._y - 70;
} else if (_root.tiza._xscale < 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = _root.tiza._x + 45;
_root.espacio_balas["bala_" + _global.i_cb]._y = _root.tiza._y - 70;
}
_root.espacio_balas["bala_" + _global.i_cb].origen = "G";
};
Mouse.addListener(mouseListener);
stop();
Instance of Symbol 378 MovieClip "mundo" in Frame 4
onClipEvent (load) {
_x = -2174.7;
_y = 827.9;
_width = 8508.9;
_height = 2594.8;
}
Instance of Symbol 408 MovieClip "tiza" in Frame 4
onClipEvent (load) {
var vel = 60;
var y_vel = 1;
var en_aire = true;
var t_gracia = 2;
var agachado = 0;
var agachado_x = 0;
var agachado_y = 0;
var gametime = 0;
var razon_mov = 0;
_global.rythm_count = 1;
da\u00F1o.alpha = 50;
_x = 200;
_y = 300;
dif_y = 0;
}
onClipEvent (enterFrame) {
if (_currentframe == 5) {
agachado = 100;
} else {
agachado = 0;
}
_root.balas._x = -4000;
_root.balas._y = -4000;
if (_currentframe == 5) {
agachado_x = 15;
agachado_y = 35;
} else {
agachado_x = 0;
agachado_y = 0;
}
jj = 0;
while (jj <= _global.i_cb) {
if (_root.espacio_balas["bala_" + jj].hitTest(this._x + agachado_x, this._y + agachado_y) && (t_gracia < 10)) {
if (_root.espacio_balas["bala_" + jj].origen == "E") {
gfx["da\u00F1o"].play();
_root.miSession.Hit();
t_gracia = 50;
removeMovieClip(_root.espacio_balas["bala_" + jj]);
_global.i_fx++;
_root.iluminacion.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root.iluminacion["fx_" + _global.i_fx]._x = _x - _root.iluminacion._x;
_root.iluminacion["fx_" + _global.i_fx]._y = _y - _root.iluminacion._y;
_global.i_fx++;
_root.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root["fx_" + _global.i_fx]._x = _x + _parent._x;
_root["fx_" + _global.i_fx]._y = _y + _parent._y;
da\u00F1o.play();
}
}
jj++;
}
if (t_gracia >= 10) {
_alpha = 50;
} else {
_alpha = 100;
}
t_gracia--;
if (t_gracia < 0) {
t_gracia = 6;
}
if ((Key.isDown(65) || (Key.isDown(37))) && (_root.tiza._currentframe != 5)) {
vel = vel - 10;
if (this._xscale > 0) {
this._xscale = this._xscale * -1;
}
}
if ((Key.isDown(68) || (Key.isDown(39))) && (_root.tiza._currentframe != 5)) {
vel = vel + 10;
if (this._xscale < 0) {
this._xscale = this._xscale * -1;
}
}
if ((((Key.isDown(32) || (Key.isDown(87))) || (Key.isDown(38))) && (en_aire == false)) && (_root.tiza._currentframe != 5)) {
y_vel = y_vel + 13;
}
if ((Key.isDown(83) || (Key.isDown(40))) && (en_aire == false)) {
gotoAndStop (5);
}
if ((!(Key.isDown(83) || (Key.isDown(40)))) && (_currentframe == 5)) {
gotoAndStop (6);
}
if (_root.mundo.terreno.hitTest(this._x, this._y + 27, true)) {
en_aire = false;
}
if (!_root.mundo.terreno.hitTest(this._x, this._y + 27, true)) {
en_aire = true;
}
while (_root.mundo.terreno.hitTest(this._x, this._y + 26, true)) {
_y = (_y-1);
}
if (_root.mundo.terreno.hitTest(this._x + 10, this._y + 10, true)) {
vel = 0;
_x = (_x - 1);
}
if (_root.mundo.terreno.hitTest(this._x - 10, this._y + 10, true)) {
vel = 0;
_x = (_x + 1);
}
if (_x < (_root.lim_izq._x + 10)) {
vel = 15;
}
if (_x > (_root.lim_der._x - 10)) {
vel = -15;
}
if (_y < _root.lim_sup._y) {
y_vel = -6;
}
if (_y > _root.lim_inf._y) {
da\u00F1o.play();
y_vel = 35;
_root.miSession.Hit();
_root.miSession.Hit();
}
if ((((y_vel < -2) && (_currentframe != 3)) && (_currentframe != 4)) && (_currentframe != 5)) {
gotoAndStop (3);
}
if (((((_currentframe != 1) && (_currentframe != 4)) && (_currentframe != 5)) && (y_vel >= -2)) && ((vel > -1) && (vel < 1))) {
gotoAndStop (1);
}
if ((((((vel < -1) || (vel > 1)) && (_currentframe != 2)) && (_currentframe != 4)) && (_currentframe != 5)) && (y_vel >= 0)) {
gotoAndStop (2);
}
vel = vel * 0.9;
if ((vel < 1) && (vel > -1)) {
vel = 0;
}
_x = (_x + (vel * 0.4));
_y = (_y - y_vel);
if (en_aire == false) {
y_vel = 0;
} else {
y_vel = y_vel - 1.5;
}
if (vel < -5) {
vel = -5;
}
if (vel > 5) {
vel = 5;
}
gametime++;
if ((gametime >= 0) && (gametime < 240)) {
razon_mov = 0;
} else if ((gametime >= 240) && (gametime < 300)) {
razon_mov = 0.2;
} else if ((gametime >= 300) && (gametime < 5850)) {
razon_mov = 0.5;
} else if ((gametime >= 5850) && (gametime < 6210)) {
razon_mov = 2;
} else if ((gametime >= 6210) && (gametime < 6980)) {
razon_mov = 0.5;
} else if ((gametime >= 6980) && (gametime < 7010)) {
razon_mov = 0;
} else if (gametime >= 7210) {
_root.gotoAndPlay("GameOver");
}
_root.bg_1._x = _root.bg_1._x - (0.75 * razon_mov);
_root.bg_2._x = _root.bg_2._x - (0.3 * razon_mov);
_root.mundo._x = _root.mundo._x - (1.5 * razon_mov);
_root.tiza._x = _root.tiza._x - (1.5 * razon_mov);
_root.contenedor_malos._x = _root.contenedor_malos._x - (1.5 * razon_mov);
_global.rythm_count++;
}
Instance of Symbol 516 MovieClip "contenedor_malos" in Frame 4
onClipEvent (load) {
_x = 0;
_y = 0;
_width = 5684.7;
_height = 480.4;
}
Instance of Symbol 522 MovieClip "cambio_arma" in Frame 4
onClipEvent (load) {
arma = 2;
}
onClipEvent (enterFrame) {
}
Instance of Symbol 524 MovieClip in Frame 4
onClipEvent (load) {
function __f_load(eventObj) {
}
this.addEventListener("load", __f_load);
}
Instance of Symbol 321 MovieClip "iluminacion" in Frame 4
onClipEvent (load) {
_x = 0;
}
onClipEvent (enterFrame) {
_y = (_y + 1.21602288984263);
}
Instance of Symbol 528 MovieClip "espacio_balas" in Frame 4
onClipEvent (enterFrame) {
if (_global.i_cb > 60) {
for (var i in _root.espacio_balas) {
removeMovieClip(_root.espacio_balas[i]);
}
_global.i_cb = 0;
}
}
Instance of Symbol 536 MovieClip "telon" in Frame 4
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 0.2);
}
}
onClipEvent (load) {
function MasAlpha() {
if (_alpha < 100) {
alpha++;
} else {
_root.gotoAndPlay("GameOver");
}
}
function Aparecer() {
aparecer = setInterval(MasAlpha, 1);
}
}
Frame 5
accuracy_text.text = Math.floor((_global.hits * 100) / _global.shots);
if (accuracy < 30) {
_global.grado = "F-";
}
if (accuracy > 30) {
_global.grado = "E";
}
if (accuracy > 40) {
_global.grado = "D";
}
if (accuracy > 50) {
_global.grado = "C";
}
if (accuracy > 60) {
_global.grado = "B";
}
if (accuracy > 70) {
_global.grado = "A";
}
if (accuracy > 80) {
_global.grado = "S";
}
if (accuracy > 90) {
_global.grado = "SS";
}
grade_text.text = _global.grado;
stop();
Frame 6
stop();
Frame 7
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 2
stop();
Symbol 4 MovieClip Frame 3
stop();
Symbol 4 MovieClip Frame 4
stop();
Symbol 4 MovieClip Frame 5
stop();
Symbol 5 MovieClip [fx_Impacto] Frame 32
removeMovieClip(this);
Symbol 9 MovieClip Frame 15
removeMovieClip(this._parent);
Symbol 17 MovieClip Frame 6
stop();
Symbol 17 MovieClip Frame 11
removeMovieClip(_parent._parent._parent);
Symbol 18 MovieClip Frame 1
i = 0;
Symbol 18 MovieClip Frame 2
i++;
_parent._x = _parent._x + 45;
_alpha = (_alpha - 1);
if (_alpha < -10) {
removeMovieClip(_parent._parent);
}
Symbol 18 MovieClip Frame 3
gotoAndPlay (2);
Symbol 19 MovieClip [contenedor_disparos] Frame 1
stop();
Symbol 19 MovieClip [contenedor_disparos] Frame 2
stop();
Instance of Symbol 19 MovieClip [contenedor_disparos] "balas" in Symbol 20 MovieClip [bala_in] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.cambio_arma.arma);
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
stop();
Symbol 33 MovieClip Frame 3
stop();
Symbol 33 MovieClip Frame 4
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
function cambioarma() {
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
}
cambioarma();
Symbol 38 MovieClip Frame 10
cambioarma();
Symbol 38 MovieClip Frame 25
cambioarma();
Symbol 38 MovieClip Frame 51
cambioarma();
Symbol 38 MovieClip Frame 68
cambioarma();
Symbol 38 MovieClip Frame 83
cambioarma();
Symbol 38 MovieClip Frame 100
cambioarma();
Symbol 38 MovieClip Frame 106
cambioarma();
Symbol 38 MovieClip Frame 113
cambioarma();
Symbol 38 MovieClip Frame 123
cambioarma();
Symbol 38 MovieClip Frame 143
cambioarma();
Symbol 38 MovieClip Frame 158
cambioarma();
Symbol 38 MovieClip Frame 167
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 41 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 42 MovieClip Frame 6
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 42 MovieClip Frame 11
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 42 MovieClip Frame 16
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 42 MovieClip Frame 22
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 43 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 43 MovieClip Frame 4
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 43 MovieClip Frame 11
gotoAndPlay (9);
Symbol 43 MovieClip Frame 13
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 46 MovieClip Frame 1
angulo = (Math.atan2(_root.tiza._y - (_parent._parent._y + _parent._y), _root.tiza._x - (_parent._parent._x + _parent._parent._x)) * 180) / Math.PI;
brazo.gotoAndPlay("golpe_senoidal");
if (_parent._parent._parent._xscale <= 0) {
brazo._rotation = -85 + angulo;
} else if (_parent._parent._parent._xscale > 0) {
brazo._rotation = 90 - angulo;
}
brazo._x = -40;
rotacion = (Math.atan2(_root.tiza._y - (_parent._parent._y + _parent._parent._parent._y), _root.tiza._x - (_parent._parent._x + _parent._parent._parent._x)) * 180) / Math.PI;
if (rotacion > 10) {
rotacion = 10;
}
if (rotacion < -30) {
rotacion = -30;
}
cara._rotation = rotacion;
cola._x = cola._x + (rotacion * 2);
cola._rotation = cola._rotation + rotacion;
cara.expresion.gotoAndStop(2);
Symbol 46 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 47 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 47 MovieClip Frame 5
stop();
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 48 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 48 MovieClip Frame 11
stop();
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 2
stop();
Symbol 49 MovieClip Frame 3
stop();
Symbol 49 MovieClip Frame 4
stop();
Symbol 49 MovieClip Frame 5
stop();
Symbol 49 MovieClip Frame 6
stop();
Symbol 50 MovieClip [malo_policia] Frame 2
if ((_x + _parent._x) < _root.lim_der._x) {
gotoAndPlay (4);
}
Symbol 50 MovieClip [malo_policia] Frame 3
gotoAndPlay (2);
Symbol 50 MovieClip [malo_policia] Frame 4
function Disparar() {
if ((_global.rythm_count % 22.5005625140629) < 1) {
gfx.gotoAndStop(4);
_global.i_cb++;
_root.espacio_balas.attachMovie("bala_in", "bala_" + _global.i_cb, _global.i_cb);
if (_root.tiza._currentframe != 5) {
angulo_m = (Math.atan2(_root.tiza._y - (_y + _parent._y), _root.tiza._x - (_x + _parent._x)) * 180) / Math.PI;
} else {
angulo_m = (Math.atan2((_root.tiza._y + 30) - (_y + _parent._y), (_root.tiza._x - 15) - (_x + _parent._x)) * 180) / Math.PI;
}
_root.espacio_balas["bala_" + _global.i_cb]._rotation = angulo_m;
if (_xscale >= 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = (_x + _parent._x) + 55;
_root.espacio_balas["bala_" + _global.i_cb]._y = (_y + _parent._y) - 70;
} else if (_xscale < 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = (_x + _parent._x) + 35;
_root.espacio_balas["bala_" + _global.i_cb]._y = (_y + _parent._y) - 70;
}
var _local4 = new Color(_root.espacio_balas["bala_" + _global.i_cb]);
_local4.setRGB(16711680 * (6 + randn_a));
_root.espacio_balas["bala_" + _global.i_cb]._xscale = _root.espacio_balas["bala_" + _global.i_cb]._xscale * 0.15;
_root.espacio_balas["bala_" + _global.i_cb]._yscale = _root.espacio_balas["bala_" + _global.i_cb]._yscale * 1;
_root.espacio_balas["bala_" + _global.i_cb].origen = "E";
_root.espacio_balas["bala_" + _global.i_cb].balas.attachMovie("fx_aura", "fx_aura_" + _global.i_c, _root.espacio_balas["bala_" + _global.i_cb].getNextHighestDepth);
}
}
var vel = 2;
var y_vel = -1;
var en_aire = true;
var angulo = 100;
var accion = "detenido";
var randn_a = Math.random();
var randn_b = Math.random();
var randn_c = Math.random();
var health = (3 + (9 * randn_c));
dif_y = 0;
Symbol 50 MovieClip [malo_policia] Frame 5
if (_root.tiza._x < (_x + _root.contenedor_malos._x)) {
vel = (-5 * randn_a) - 1;
_xscale = (-Math.abs(_xscale));
} else {
vel = (5 * randn_a) + 1;
_xscale = Math.abs(_xscale);
}
if (Math.abs(_root.tiza._x - (_x + _root.contenedor_malos._x)) < ((100 * randn_b) + 20)) {
vel = 0;
accion = "detenido";
} else {
accion = "avanzando";
}
if (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 27, true)) {
en_aire = false;
}
if (!_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 27, true)) {
en_aire = true;
}
while (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 26, true)) {
_y = (_y-1);
}
if (_root.mundo.terreno_p.hitTest((_x + 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x - 0);
y_vel = y_vel + 0;
}
if (_root.mundo.terreno_p.hitTest((_x - 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x + 0);
y_vel = y_vel + 0;
}
if (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y - 33, true)) {
y_vel = -1;
}
if ((((y_vel < -2) && (gfx._currentframe != 3)) && (gfx._currentframe != 4)) && (gfx._currentframe != 5)) {
gfx.gotoAndStop(3);
}
if (((vel < -1) || (vel > 1)) && ((((gfx._currentframe != 2) && (gfx._currentframe != 4)) && (gfx._currentframe != 5)) && (y_vel >= 0))) {
gfx.gotoAndStop(2);
}
Disparar();
if (this.hitTest(_root.espacio_balas)) {
jj = 0;
while (jj <= _global.i_cb) {
if (_root.espacio_balas["bala_" + jj].hitTest(this._x + _parent._x, this._y + _parent._y, true)) {
if (_root.espacio_balas["bala_" + jj].origen == "G") {
gfx["da\u00F1o"].play();
_root.espacio_balas["bala_" + jj].balas.disparo.stop();
_root.espacio_balas["bala_" + jj].balas.disparo.disparo.gotoAndPlay(8);
_global.hits++;
y_vel = 2;
health--;
if (health <= 0) {
gotoAndPlay (7);
}
_root.iluminacion.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root.iluminacion["fx_" + _global.i_fx]._x = (_x - _root.iluminacion._x) + _parent._x;
_root.iluminacion["fx_" + _global.i_fx]._y = (_y - _root.iluminacion._y) + _parent._y;
_root.iluminacion["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root.iluminacion["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
_root.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root["fx_" + _global.i_fx]._x = _x + _parent._x;
_root["fx_" + _global.i_fx]._y = _y + _parent._y;
_root["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
}
}
jj++;
}
if ((_x + _parent._x) < _root.lim_izq._x) {
gotoAndPlay (7);
}
}
_x = (_x + (vel * 0.4));
_y = (_y - y_vel);
if (en_aire == false) {
y_vel = 0;
} else {
y_vel = y_vel - 0.5;
}
Symbol 50 MovieClip [malo_policia] Frame 6
gotoAndPlay (5);
Symbol 50 MovieClip [malo_policia] Frame 7
_xscale = (_xscale * 1.07);
_alpha = (_alpha - 4);
if (_alpha <= 0) {
gotoAndStop (9);
}
Symbol 50 MovieClip [malo_policia] Frame 8
gotoAndPlay (7);
Symbol 50 MovieClip [malo_policia] Frame 9
stop();
Symbol 137 MovieClip Frame 141
gotoAndPlay ("bb");
Symbol 199 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 247 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 267 MovieClip Frame 40
stop();
Symbol 279 Button
on (press) {
_root.play();
}
Symbol 280 Button
on (press) {
play();
}
Instance of Symbol 265 MovieClip in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndStop("play_button");
}
}
onClipEvent (enterFrame) {
PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (PercentLoaded != 100) {
_parent.gotoAndStop(PercentLoaded);
} else {
_parent.gotoAndPlay("loaded");
}
}
Symbol 283 MovieClip Frame 130
stop();
Symbol 283 MovieClip Frame 154
_root.play();
Symbol 554 MovieClip [__Packages.SESSION] Frame 0
class SESSION
{
var img_harass, health, vitalNumber, flowIntervalID;
function SESSION (target) {
img_harass = 100;
health = INITIAL_HEALTH;
vitalNumber = 0;
flowIntervalID = setInterval(this, "Flow", 1);
}
function Hit() {
health--;
TranslateAwake();
_root.vida.barra._x = _root.vida.barra._x - (_root.vida.barra._width / INITIAL_HEALTH);
}
function Flow() {
vitalNumber++;
if ((vitalNumber % 200) == 0) {
if (health < INITIAL_HEALTH) {
health++;
}
TranslateAwake();
}
if (vitalNumber > 100000) {
vitalNumber = 1;
}
}
function TranslateAwake() {
img_harass = 100 * (health / INITIAL_HEALTH);
}
static var INITIAL_HEALTH = 8;
}
Symbol 293 MovieClip Frame 137
_root.play();
Symbol 303 Button
on (release) {
_root.gotoAndPlay("Main");
}
Symbol 311 Button
on (release) {
_root.gotoAndPlay("instructions");
}
Symbol 315 Button
on (press) {
getURL ("http://www.oddgoo.com", "_blank");
}
Instance of Symbol 321 MovieClip in Symbol 324 MovieClip Frame 1
onClipEvent (enterFrame) {
_y = (_y + 1.21602288984263);
}
Symbol 338 MovieClip Frame 1
_x = (_x-1);
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 3
stop();
Symbol 390 MovieClip Frame 4
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 1
function cambioarma() {
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
}
cambioarma();
Symbol 395 MovieClip Frame 10
cambioarma();
Symbol 395 MovieClip Frame 25
cambioarma();
Symbol 395 MovieClip Frame 51
cambioarma();
Symbol 395 MovieClip Frame 68
cambioarma();
Symbol 395 MovieClip Frame 83
cambioarma();
Symbol 395 MovieClip Frame 100
cambioarma();
Symbol 395 MovieClip Frame 106
cambioarma();
Symbol 395 MovieClip Frame 113
cambioarma();
Symbol 395 MovieClip Frame 123
cambioarma();
Symbol 395 MovieClip Frame 143
cambioarma();
Symbol 395 MovieClip Frame 158
cambioarma();
Symbol 395 MovieClip Frame 167
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 399 MovieClip Frame 6
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 399 MovieClip Frame 11
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 399 MovieClip Frame 16
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 399 MovieClip Frame 22
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 400 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 400 MovieClip Frame 4
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 400 MovieClip Frame 11
gotoAndPlay (9);
Symbol 400 MovieClip Frame 13
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 406 MovieClip Frame 1
if (_parent._xscale > 0) {
brazo._rotation = -85 + ((Math.atan2(_root._ymouse - _root.tiza._y, _root._xmouse - _root.tiza._x) * 180) / Math.PI);
brazo._x = -40;
} else if (_parent._xscale < 0) {
brazo._rotation = 90 - ((Math.atan2(_root._ymouse - _root.tiza._y, _root._xmouse - _root.tiza._x) * 180) / Math.PI);
}
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop("golpe_senoidal");
if (_parent._xscale < 0) {
brazo._x = 10;
brazo._y = -400;
} else if (_parent._xscale > 0) {
brazo._yscale = brazo._yscale * 0.9;
brazo._x = brazo._x - 5;
brazo._y = -400;
}
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop("golpe_reglat");
}
rotacion = (Math.atan2(_root._ymouse - _root.tiza._y, _root._xmouse - _root.tiza._x) * 180) / Math.PI;
if (rotacion > 10) {
rotacion = 10;
}
if (rotacion < -30) {
rotacion = -30;
}
cara._rotation = rotacion;
cola._x = cola._x + (rotacion * 2);
cola._rotation = cola._rotation + rotacion;
cara.expresion.gotoAndStop(2);
Symbol 406 MovieClip Frame 5
Symbol 406 MovieClip Frame 12
cara.rostro.prevFrame();
_parent.gotoAndStop(1);
Symbol 407 MovieClip Frame 1
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 407 MovieClip Frame 5
stop();
if (_root.cambio_arma.arma == 2) {
brazo.gotoAndStop(2);
}
if (_root.cambio_arma.arma == 1) {
brazo.gotoAndStop(1);
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 3
stop();
Symbol 408 MovieClip Frame 4
stop();
Symbol 408 MovieClip Frame 5
stop();
Symbol 408 MovieClip Frame 6
stop();
Symbol 506 MovieClip Frame 1
var vel = -4;
var y_vel = -1;
var en_aire = true;
var cooldown = 0;
var randn_a = Math.random();
var randn_b = Math.random();
var randn_c = Math.random();
dif_y = 0;
Symbol 506 MovieClip Frame 2
vel = -7;
if ((_global.rythm_count % 22.5005625140629) < 1) {
y_vel = 5;
}
if (_root.mundo.terreno.hitTest(_x + _root.contenedor_malos._x, _y + 22, true)) {
en_aire = false;
}
if (!_root.mundo.terreno.hitTest(_x + _root.contenedor_malos._x, _y + 22, true)) {
en_aire = true;
}
while (_root.mundo.terreno.hitTest(_x + _root.contenedor_malos._x, _y + 21, true)) {
_y = (_y-1);
}
if (_root.mundo.terreno.hitTest((_x + 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x - 1);
y_vel = y_vel + 1;
}
if (_root.mundo.terreno.hitTest((_x - 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x + 1);
y_vel = y_vel + 1;
}
if (this.hitTest(_root.espacio_balas)) {
jj = 0;
while (jj <= _global.i_cb) {
if (_root.espacio_balas["bala_" + jj].hitTest(this._x + _parent._x, this._y + _parent._y, true)) {
if (_root.espacio_balas["bala_" + jj].origen == "G") {
removeMovieClip(_root.espacio_balas["bala_" + jj]);
_global.shots--;
_root.iluminacion.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root.iluminacion["fx_" + _global.i_fx]._x = (_x - _root.iluminacion._x) + _parent._x;
_root.iluminacion["fx_" + _global.i_fx]._y = (_y - _root.iluminacion._y) + _parent._y;
_root.iluminacion["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root.iluminacion["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
_root.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root["fx_" + _global.i_fx]._x = _x + _parent._x;
_root["fx_" + _global.i_fx]._y = _y + _parent._y;
_root["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
}
}
jj++;
}
}
if (_root.tiza.hitTest(_x + _parent._x, _y + _parent._y) && (cooldown == 0)) {
_root.miSession.Hit();
_root.tiza.y_vel = 4;
_root.tiza.vel = 4;
_root.tiza["da\u00F1o"].play();
cooldown = 15;
}
if (cooldown > 0) {
cooldown--;
}
_x = (_x + (vel * 0.4));
_y = (_y - y_vel);
if (en_aire == false) {
y_vel = 0;
} else {
y_vel = y_vel - 0.5;
}
Symbol 506 MovieClip Frame 3
gotoAndPlay (2);
Symbol 512 MovieClip Frame 2
if ((_x + _parent._x) < _root.lim_der._x) {
gotoAndPlay (4);
}
Symbol 512 MovieClip Frame 3
gotoAndPlay (2);
Symbol 512 MovieClip Frame 4
function Disparar() {
if ((_global.rythm_count % 22.5005625140629) < 1) {
_global.i_cb++;
_root.espacio_balas.attachMovie("bala_in", "bala_" + _global.i_cb, _global.i_cb);
_root.espacio_balas["bala_" + _global.i_cb]._rotation = 130;
_root.espacio_balas["bala_" + _global.i_cb]._x = (_x + _parent._x) + 23;
_root.espacio_balas["bala_" + _global.i_cb]._y = (_y + _parent._y) - 60;
var _local4 = new Color(_root.espacio_balas["bala_" + _global.i_cb]);
_local4.setRGB(16711680 * (6 + randn_a));
_root.espacio_balas["bala_" + _global.i_cb]._xscale = _root.espacio_balas["bala_" + _global.i_cb]._xscale * 0.15;
_root.espacio_balas["bala_" + _global.i_cb]._yscale = _root.espacio_balas["bala_" + _global.i_cb]._yscale * 1;
_root.espacio_balas["bala_" + _global.i_cb].origen = "E";
_root.espacio_balas["bala_" + _global.i_cb].balas.attachMovie("fx_aura", "fx_aura_" + _global.i_c, 5);
}
}
var vel = 2;
var y_vel = -1;
var en_aire = true;
var angulo = 100;
var accion = "detenido";
var randn_a = Math.random();
var randn_b = Math.random();
var randn_c = Math.random();
var health = (1 + (4 * randn_c));
dif_y = 0;
Symbol 512 MovieClip Frame 5
vel = -6;
Disparar();
if (this.hitTest(_root.espacio_balas)) {
jj = 0;
while (jj <= _global.i_cb) {
if (_root.espacio_balas["bala_" + jj].hitTest(this._x + _parent._x, this._y + _parent._y, true)) {
if (_root.espacio_balas["bala_" + jj].origen == "G") {
_root.espacio_balas["bala_" + jj].balas.disparo.stop();
_root.espacio_balas["bala_" + jj].balas.disparo.disparo.gotoAndPlay(8);
_global.hits++;
health--;
if (health <= 0) {
gotoAndPlay (7);
}
if ((_x + _parent._x) < _root.lim_izq._x) {
gotoAndPlay (7);
}
_root.iluminacion.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root.iluminacion["fx_" + _global.i_fx]._x = (_x - _root.iluminacion._x) + _parent._x;
_root.iluminacion["fx_" + _global.i_fx]._y = (_y - _root.iluminacion._y) + _parent._y;
_root.iluminacion["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root.iluminacion["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
_root.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root["fx_" + _global.i_fx]._x = _x + _parent._x;
_root["fx_" + _global.i_fx]._y = _y + _parent._y;
_root["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
}
}
jj++;
}
}
_x = (_x + (vel * 0.4));
Symbol 512 MovieClip Frame 6
gotoAndPlay (5);
Symbol 512 MovieClip Frame 7
_xscale = (_xscale * 1.07);
_alpha = (_alpha - 4);
if (_alpha <= 0) {
gotoAndStop (9);
}
Symbol 512 MovieClip Frame 8
gotoAndPlay (7);
Symbol 512 MovieClip Frame 9
stop();
Symbol 515 MovieClip Frame 2
if ((_x + _parent._x) < _root.lim_der._x) {
gotoAndPlay (4);
}
Symbol 515 MovieClip Frame 3
gotoAndPlay (2);
Symbol 515 MovieClip Frame 4
function Disparar() {
if ((_global.rythm_count % 11.2502812570314) < 1) {
gfx.gotoAndStop(4);
_global.i_cb++;
_root.espacio_balas.attachMovie("bala_in", "bala_" + _global.i_cb, _global.i_cb);
angulo_m = (Math.atan2(_root.tiza._y - (_y + _parent._y), _root.tiza._x - (_x + _parent._x)) * 180) / Math.PI;
_root.espacio_balas["bala_" + _global.i_cb]._rotation = angulo_m;
if (_xscale >= 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = (_x + _parent._x) + 55;
_root.espacio_balas["bala_" + _global.i_cb]._y = (_y + _parent._y) - 70;
} else if (_xscale < 0) {
_root.espacio_balas["bala_" + _global.i_cb]._x = (_x + _parent._x) + 35;
_root.espacio_balas["bala_" + _global.i_cb]._y = (_y + _parent._y) - 70;
}
var _local4 = new Color(_root.espacio_balas["bala_" + _global.i_cb]);
_local4.setRGB(16711680);
_root.espacio_balas["bala_" + _global.i_cb]._xscale = _root.espacio_balas["bala_" + _global.i_cb]._xscale * 0.15;
_root.espacio_balas["bala_" + _global.i_cb]._yscale = _root.espacio_balas["bala_" + _global.i_cb]._yscale * 1;
_root.espacio_balas["bala_" + _global.i_cb].origen = "E";
_root.espacio_balas["bala_" + _global.i_cb].balas.attachMovie("fx_aura", "fx_aura_" + _global.i_c, _root.espacio_balas["bala_" + _global.i_cb].getNextHighestDepth);
}
}
var vel = 2;
var y_vel = -1;
var en_aire = true;
var angulo = 100;
var accion = "detenido";
var randn_a = Math.random();
var randn_b = Math.random();
var randn_c = Math.random();
var health = 45;
dif_y = 0;
Symbol 515 MovieClip Frame 5
if (_root.tiza._x < (_x + _root.contenedor_malos._x)) {
vel = -3;
_xscale = (-Math.abs(_xscale));
} else {
vel = 3;
_xscale = Math.abs(_xscale);
}
if (Math.abs(_root.tiza._x - (_x + _root.contenedor_malos._x)) < ((100 * randn_b) + 20)) {
vel = 0;
accion = "detenido";
} else {
accion = "avanzando";
}
if (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 27, true)) {
en_aire = false;
}
if (!_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 27, true)) {
en_aire = true;
}
while (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y + 26, true)) {
_y = (_y-1);
}
if (_root.mundo.terreno_p.hitTest((_x + 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x - 0);
y_vel = y_vel + 0;
}
if (_root.mundo.terreno_p.hitTest((_x - 10) + _root.contenedor_malos._x, _y + 10, true)) {
vel = 0;
_x = (_x + 0);
y_vel = y_vel + 0;
}
if (_root.mundo.terreno_p.hitTest(_x + _root.contenedor_malos._x, _y - 33, true)) {
y_vel = -1;
}
if ((((y_vel < -2) && (gfx._currentframe != 3)) && (gfx._currentframe != 4)) && (gfx._currentframe != 5)) {
gfx.gotoAndStop(3);
}
if (((vel < -1) || (vel > 1)) && ((((gfx._currentframe != 2) && (gfx._currentframe != 4)) && (gfx._currentframe != 5)) && (y_vel >= 0))) {
gfx.gotoAndStop(2);
}
Disparar();
if (this.hitTest(_root.espacio_balas)) {
jj = 0;
while (jj <= _global.i_cb) {
if (_root.espacio_balas["bala_" + jj].hitTest(this._x + _parent._x, this._y + _parent._y, true)) {
if (_root.espacio_balas["bala_" + jj].origen == "G") {
gfx["da\u00F1o"].play();
_root.espacio_balas["bala_" + jj].balas.disparo.stop();
_root.espacio_balas["bala_" + jj].balas.disparo.disparo.gotoAndPlay(8);
_global.hits++;
y_vel = 2;
health--;
if (health <= 0) {
gotoAndPlay (7);
}
_root.iluminacion.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root.iluminacion["fx_" + _global.i_fx]._x = (_x - _root.iluminacion._x) + _parent._x;
_root.iluminacion["fx_" + _global.i_fx]._y = (_y - _root.iluminacion._y) + _parent._y;
_root.iluminacion["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root.iluminacion["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
_root.attachMovie("fx_Impacto", "fx_" + _global.i_fx, _root.iluminacion.getNextHighestDepth());
_root["fx_" + _global.i_fx]._x = _x + _parent._x;
_root["fx_" + _global.i_fx]._y = _y + _parent._y;
_root["fx_" + _global.i_fx].gfx.gotoAndStop(2);
var colorful = new Color(_root["fx_" + _global.i_fx]);
colorful.setRGB(16711680 * (6 + randn_a));
_global.i_fx++;
}
}
jj++;
}
}
if ((_x + _parent._x) < _root.lim_izq._x) {
gotoAndPlay (7);
}
_x = (_x + (vel * 0.4));
_y = (_y - y_vel);
if (en_aire == false) {
y_vel = 0;
} else {
y_vel = y_vel - 0.5;
}
Symbol 515 MovieClip Frame 6
gotoAndPlay (5);
Symbol 515 MovieClip Frame 7
_xscale = (_xscale * 1.07);
_alpha = (_alpha - 4);
if (_alpha <= 0) {
gotoAndStop (9);
}
Symbol 515 MovieClip Frame 8
gotoAndPlay (7);
Symbol 515 MovieClip Frame 9
stop();
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Instance of Symbol 506 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if ((_x + _parent._x) < _root.lim_der._x) {
play();
}
if ((_x + _parent._x) < _root.lim_izq._x) {
stop();
}
}
Symbol 526 MovieClip Frame 6970
stop();
Symbol 533 MovieClip Frame 2
if (barra._x < 0) {
barra._x = barra._x + 0.5;
}
if (barra._x < -676) {
_root.gotoAndPlay("dead");
}
Symbol 533 MovieClip Frame 3
gotoAndPlay (2);
Symbol 548 Button
on (release) {
_root.gotoAndPlay("Menu");
}