Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("000adec2", this, 10301, true);
_root.stop();
mochi.as2.MochiServices.connect("488c48999095fc63");
var seleccionador_mochi = Math.random();
if (seleccionador_mochi <= 0.7) {
trace("Sponsor's Ad");
mochi.as2.MochiAd.showPreGameAd({id:"2f585fd2f0f43309", res:"800x600"});
}
if (seleccionador_mochi > 0.7) {
trace("Developer's Ad");
mochi.as2.MochiAd.showPreGameAd({id:"488c48999095fc63", res:"800x600"});
}
var contrasena = "";
var control_inicio_juego = true;
var contrasena1 = "NVUC";
var contrasena2 = "NSAL";
var contrasena3 = "NFOG";
var contrasena4 = "CRAV";
var contrasena5 = "CCAN";
var contrasena6 = "CCTW";
var contrasena7 = "CBRV";
var contrasena8 = "MUTW";
var contrasena9 = "MCHG";
var contrasena10 = "FNLV";
var cadena_mostrar_contrasena = "";
var fotograma_inicio_juego = 6;
var fotograma_deathmatch = 200;
var jinetes_caidos = 0;
Frame 2
function Detector_Colisiones() {
if (((_root.jugador.hitTest(_root.pared1) || (_root.jugador.hitTest(_root.pared2))) || (_root.jugador.hitTest(_root.pared3))) || (_root.jugador.hitTest(_root.pared4))) {
switch (_root.direccion) {
case _root.norte :
_root.jugador._y = _root.jugador._y + _root.jugador_velocidad;
break;
case _root.este :
_root.jugador._x = _root.jugador._x - _root.jugador_velocidad;
break;
case _root.sur :
_root.jugador._y = _root.jugador._y - _root.jugador_velocidad;
break;
case _root.oeste :
_root.jugador._x = _root.jugador._x + _root.jugador_velocidad;
}
}
}
function Secuencia_Ataque() {
if ((!_root.mira.hitTest(_root.controles)) && (!_root.mira.hitTest(_root.dialogo1))) {
if (_root.jugador_balas >= _root.arma_consumo) {
_root.jugador_balas = _root.jugador_balas - _root.arma_consumo;
if (_root.jugador_arma == _root.revolver) {
_root.mira.gotoAndPlay(2);
}
if (_root.jugador_arma == _root.revolver_x2) {
_root.mira.gotoAndPlay(7);
}
if (_root.jugador_arma == _root.fuego) {
_root.mira.gotoAndPlay(12);
}
if (_root.jugador_arma == _root.expansiva) {
_root.mira.gotoAndPlay(17);
}
if (_root.mira._x >= _root.jugador._x) {
_root.jugador.gotoAndPlay(_root.foto_este + 7);
}
if (_root.mira._x < _root.jugador._x) {
_root.jugador.gotoAndPlay(_root.foto_oeste + 7);
}
}
}
}
function Juego_Mecanismo() {
if (_root.juego_pausa != 1) {
_root.controles.icon_arma1.gotoAndStop(2);
if (_root.tiene_revolver_x2 == 1) {
_root.controles.icon_arma2.gotoAndStop(3);
}
if (_root.tiene_fuego == 1) {
_root.controles.icon_arma3.gotoAndStop(4);
}
if (_root.tiene_expansiva == 1) {
_root.controles.icon_arma4.gotoAndStop(5);
}
if (_root.balas_recarga_factor < 1) {
_root.balas_recarga_factor = 1;
}
if (_root.nivel_inicio == 1) {
_root.nivel_inicio = 0;
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
}
if (Key.isDown(38) || (Key.isDown(87))) {
_root.direccion = _root.norte;
_root.jugador._y = _root.jugador._y - jugador_velocidad;
_root.Detector_Colisiones();
if (_root.jugador.anim_inicia == 1) {
_root.jugador.gotoAndPlay(_root.foto_norte);
}
}
if (Key.isDown(39) || (Key.isDown(68))) {
_root.direccion = _root.este;
_root.jugador._x = _root.jugador._x + jugador_velocidad;
_root.Detector_Colisiones();
if (_root.jugador.anim_inicia == 1) {
_root.jugador.gotoAndPlay(_root.foto_este);
}
}
if (Key.isDown(40) || (Key.isDown(83))) {
_root.direccion = _root.sur;
_root.jugador._y = _root.jugador._y + jugador_velocidad;
_root.Detector_Colisiones();
if (_root.jugador.anim_inicia == 1) {
_root.jugador.gotoAndPlay(_root.foto_sur);
}
}
if (Key.isDown(37) || (Key.isDown(65))) {
_root.direccion = _root.oeste;
_root.jugador._x = _root.jugador._x - jugador_velocidad;
_root.Detector_Colisiones();
if (_root.jugador.anim_inicia == 1) {
_root.jugador.gotoAndPlay(_root.foto_oeste);
}
}
_root.Detector_Colisiones();
if (_root.jugador._x < _root.borde_izquierdo) {
_root.jugador._x = _root.borde_izquierdo;
}
if (_root.jugador._x > _root.borde_derecho) {
_root.jugador._x = _root.borde_derecho;
}
if (_root.jugador._y < _root.borde_superior) {
_root.jugador._y = _root.borde_superior;
}
if (_root.jugador._y > _root.borde_inferior) {
_root.jugador._y = _root.borde_inferior;
}
if (_root.jugador.hitTest(_root.proximo) && (_root.nivel_avanzar <= 0)) {
_root.nivel_avanzar = 7;
_root.nivel_inicio = 1;
_root.nextFrame();
}
if (_root.jugador.hitTest(_root.proximo2) && (_root.nivel_avanzar <= 0)) {
_root.nivel_avanzar = 7;
_root.nextFrame();
}
_root.controles.barra_vidas.gotoAndStop(_root.jugador_vidas);
if (_root.jugador_ataca > 0) {
}
if (_root.jugador_vidas <= 0) {
_root.gotoAndStop(5);
}
if (_root.nivel_avanzar > 0) {
_root.nivel_avanzar--;
}
if (_root.jugador_balas > _root.jugador_balas_max) {
_root.jugador_balas = _root.jugador_balas_max;
}
_root.controles.barra_recarga._width = _root.jugador_balas / 3;
_root.arma_consumo = 1;
if (_root.jugador_arma == _root.revolver) {
_root.jugador_arma_fuerza = 5;
_root.arma_consumo = 1;
_root.arma_nombre = "Revolver";
}
if (_root.jugador_arma == _root.revolver_x2) {
_root.jugador_arma_fuerza = 10;
_root.arma_consumo = 2;
_root.arma_nombre = "Revolver x2";
}
if (_root.jugador_arma == _root.fuego) {
_root.jugador_arma_fuerza = 20;
_root.arma_consumo = 3;
_root.arma_nombre = "Pyro Bullet";
}
if (_root.jugador_arma == _root.expansiva) {
_root.jugador_arma_fuerza = 25;
_root.arma_consumo = 4;
_root.arma_nombre = "Expansive Bullet";
}
if ((_root.jugador_arma_fuerza == null) || (_root.jugador_arma_fuerza <= 0)) {
_root.jugador_arma_fuerza = 1;
}
}
}
function TocarMusica() {
stopAllSounds();
tc_temp = 0;
while (tc_temp < 5) {
tc_temp++;
}
_root.musica1.gotoAndStop(1);
_root.musica1.gotoAndStop(2);
}
function PrepararActivos() {
_root.enemigo1.actor._x = _root.enemigo1.actor_ini_x;
_root.enemigo1.actor._y = _root.enemigo1.actor_ini_y;
_root.enemigo1.activo_iniciado = 0;
_root.enemigo2.actor._x = _root.enemigo2.actor_ini_x;
_root.enemigo2.actor._y = _root.enemigo2.actor_ini_y;
_root.enemigo2.activo_iniciado = 0;
_root.enemigo3.actor._x = _root.enemigo3.actor_ini_x;
_root.enemigo3.actor._y = _root.enemigo3.actor_ini_y;
_root.enemigo3.activo_iniciado = 0;
_root.enemigo4.actor._x = _root.enemigo4.actor_ini_x;
_root.enemigo4.actor._y = _root.enemigo4.actor_ini_y;
_root.enemigo4.activo_iniciado = 0;
_root.enemigo5.actor._x = _root.enemigo5.actor_ini_x;
_root.enemigo5.actor._y = _root.enemigo5.actor_ini_y;
_root.enemigo5.activo_iniciado = 0;
_root.enemigo6.actor._x = _root.enemigo6.actor_ini_x;
_root.enemigo6.actor._y = _root.enemigo6.actor_ini_y;
_root.enemigo6.activo_iniciado = 0;
_root.enemigo7.actor._x = _root.enemigo7.actor_ini_x;
_root.enemigo7.actor._y = _root.enemigo7.actor_ini_y;
_root.enemigo7.activo_iniciado = 0;
_root.enemigo8.actor._x = _root.enemigo8.actor_ini_x;
_root.enemigo8.actor._y = _root.enemigo8.actor_ini_y;
_root.enemigo8.activo_iniciado = 0;
_root.enemigo9.actor._x = _root.enemigo9.actor_ini_x;
_root.enemigo9.actor._y = _root.enemigo9.actor_ini_y;
_root.enemigo9.activo_iniciado = 0;
}
function Guardar_Juego(pm_archivo) {
archivojuego_so = SharedObject.getLocal(pm_archivo);
archivojuego_so.data.valor1 = _root.juego_fotograma;
archivojuego_so.data.valor2 = _root.jugador_vidas_max;
archivojuego_so.data.valor3 = _root.jugador_velocidad;
archivojuego_so.data.valor4 = _root.tiene_revolver_x2;
archivojuego_so.data.valor5 = _root.tiene_fuego;
archivojuego_so.data.valor6 = _root.tiene_expansiva;
archivojuego_so.data.valor7 = _root.balas_recarga_factor;
archivojuego_so.data.valor8 = _root.jugador_nombre;
archivojuego_so.flush();
archivojuego_so = SharedObject.getLocal("cerrar");
}
function Cargar_Juego(pm_archivo) {
archivojuego_so = SharedObject.getLocal(pm_archivo);
if (archivojuego_so.data.valor1 != null) {
_root.juego_fotograma = archivojuego_so.data.valor1;
_root.jugador_vidas_max = archivojuego_so.data.valor2;
_root.jugador_velocidad = archivojuego_so.data.valor3;
_root.tiene_revolver_x2 = archivojuego_so.data.valor4;
_root.tiene_fuego = archivojuego_so.data.valor5;
_root.tiene_expansiva = archivojuego_so.data.valor6;
_root.balas_recarga_factor = archivojuego_so.data.valor7;
_root.jugador_nombre = archivojuego_so.data.valor8;
archivojuego_so.flush();
archivojuego_so = SharedObject.getLocal("cerrar");
jugador_vidas = jugador_vidas_max;
_root.gotoAndStop(_root.juego_fotograma);
}
}
function Secuencia_Ataque_Actual1() {
_root.ametra.chispa1.play();
_root.mira2.play();
}
_root.stop();
_root.jugador_nombre = "Chico Lorenzo";
var jugador_velocidad = 25;
var jugador_puntos = 0;
var puntos1 = 100;
var jugador_municion = 0;
var jugador_ataca = 0;
var jugador_vidas_max = 15;
var jugador_vidas = jugador_vidas_max;
var cantidad_dinamita = 0;
jugador_arma_fuerza = 5;
puntos_config_max = 15;
puntos_config = puntos_config_max;
jugador_balas_max = 400;
jugador_balas = jugador_balas_max;
_root.balas_recarga_factor = 1;
_root.fuera = -2500;
_root.juego_pausa = 0;
nivel_avanzar = 0;
nada = 0;
revolver = 1;
revolver_x2 = 2;
fuego = 3;
expansiva = 4;
var dinamita_explota = false;
jugador_arma = revolver;
tiene_revolver_x2 = 0;
tiene_fuego = 0;
tiene_expansiva = 0;
arma_nombre = "";
nivel_inicio = 1;
norte = 1;
este = 3;
sur = 5;
oeste = 7;
direccion = norte;
foto_norte = 1;
foto_este = 13;
foto_sur = 26;
foto_oeste = 39;
borde_superior = 0;
borde_inferior = 650;
borde_izquierdo = 0;
borde_derecho = 800;
pantalla_mitad = borde_derecho / 2;
Instance of Symbol 13 MovieClip in Frame 2
on (release) {
_root.hay_musica = false;
getURL ("http://www.arcadequest.net/", "_blank");
}
Frame 3
_root.stop();
_root.mensaje_actual = "";
_root.jugador_puntos = 0;
_root.jugador_vidas = _root.jugador_vidas_max;
Instance of Symbol 72 MovieClip in Frame 3
on (release) {
stopAllSounds();
getURL ("http://www.arcadequest.net/", "_blank");
}
Frame 4
gotoAndStop (1);
Frame 5
stop();
stopAllSounds();
_root.jugador_puntos = 0;
Frame 6
_root.TocarMusica();
Frame 7
stop();
startDrag (_root.mira, true);
jugador._width = jugador._width * 2;
jugador._height = jugador._height * 2;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 7
onClipEvent (enterFrame) {
Enviar_Mensaje(0, "HINT: You move with arrow keys. You aim and fire with mouse.", 1);
}
Instance of Symbol 107 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 10
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 10
onClipEvent (enterFrame) {
Enviar_Mensaje(0, ("Cowboy: Did you see a girl?<BR>Father " + _root.jugador_nombre) + ": Sorry, I haven't.", 1);
}
Frame 12
_root.TocarMusica();
_root.texto_temporal = ("And Father " + _root.jugador_nombre) + " arrived to Coyote City.";
Frame 13
stopAllSounds();
_root.texto_temporal = ("Father " + _root.jugador_nombre) + " decided to stay that night.";
Frame 14
stop();
startDrag (_root.mira, true);
_root.TocarMusica();
_root.Tocar_Musica();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 14
onClipEvent (enterFrame) {
Enviar_Mensaje(0, ("Man in Counter: Sorry to bother you, Father " + _root.jugador_nombre) + ", but some people outside are looking for you.", 0);
}
Instance of Symbol 107 MovieClip in Frame 14
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 15
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 15
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0, 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 15
onClipEvent (enterFrame) {
Enviar_Mensaje(0, ("Father " + _root.jugador_nombre) + ": What is it? Who seeks me?<BR>Cowboy 1: Nino del Piero. He wants you out of his way. Get ready to die!<BR>HINT: You can fire while moving. (You can evade while firing)", 1);
}
Frame 16
_root.TocarMusica();
Frame 17
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 17
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 17
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0, 1);
}
Frame 18
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 18
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 18
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 5, -45, 0, 1);
}
Frame 19
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 19
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 19
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 5, 45, 0);
}
Frame 20
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 20
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 20
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 20
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0);
}
Frame 21
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 21
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 21
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Frame 22
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 22
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Frame 23
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 23
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 23
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 23
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0);
}
Frame 25
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 25
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 25
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0, 1);
}
Frame 26
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 26
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 26
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 26
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Frame 27
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 27
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 5, -45, 0, 1);
}
Frame 28
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 28
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 28
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 28
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, 45, 0, 1);
}
Frame 29
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 29
onClipEvent (enterFrame) {
EsActivo(1, 3, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 29
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 29
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Frame 30
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 30
onClipEvent (enterFrame) {
EsActivo(1, 2, 6, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 30
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 30
onClipEvent (enterFrame) {
EsActivo(2, 2, 6, 6, 45, 0, 1);
}
Frame 31
_root.mensaje_listo = "Stage 1 Clear!";
Frame 32
_root.texto_temporal = ("They had found him. Father " + _root.jugador_nombre) + " decided to hide and wait...";
Frame 33
_root.texto_temporal = "The morning soon came, and he was received by a group of farmers...";
Frame 34
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena1;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 35
stop();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
_root.TocarMusica();
Instance of Symbol 107 MovieClip in Frame 35
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 36
_root.nivel_avanzar = 7;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 36
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Jim: How comes a priest is interested in a gold mine?<BR>" + temp1) + ": I'll tell you later.", 1);
}
Frame 37
_root.nivel_avanzar = 7;
Instance of Symbol 105 MovieClip "dialogo" in Frame 37
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Jim: To the West, there is a gold mine. It belonged to us until Nino del Piero stole it. Everyone who helps us take it back will get part of the money. Agree?<BR>" + temp1) + ": Agree. I'll help you. No tricks, OK?<BR>Jim: Don't worry.", 1);
}
Frame 38
_root.nivel_avanzar = 7;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 38
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Jim: Whats that sound?<BR>" + temp1) + ": Nino del Piero's guys!", 1);
}
Frame 39
_root.PrepararActivos();
_root.TocarMusica();
Instance of Symbol 339 MovieClip "aliado1" in Frame 39
onClipEvent (enterFrame) {
EsAliado(1, 9999);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 39
onClipEvent (enterFrame) {
EsActivo(1, 3, 8, 5, -45, 0, 1);
}
Frame 40
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 40
onClipEvent (enterFrame) {
EsActivo(1, 7, 7, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 40
onClipEvent (enterFrame) {
EsActivo(1, 14, 8, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 40
onClipEvent (enterFrame) {
EsActivo(1, 7, 7, 6, -45, 0, 1);
}
Frame 41
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 41
onClipEvent (enterFrame) {
EsActivo(1, 6, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 41
onClipEvent (enterFrame) {
EsActivo(1, 6, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 41
onClipEvent (enterFrame) {
EsActivo(2, 8, 7, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 41
onClipEvent (enterFrame) {
EsActivo(2, 8, 7, 6, 45, 0, 1);
}
Frame 42
_root.PrepararActivos();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 42
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Jim: I'm out of here! See you later!", 1);
}
Frame 43
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 43
onClipEvent (enterFrame) {
EsActivo(1, 6, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 43
onClipEvent (enterFrame) {
EsActivo(1, 8, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 43
onClipEvent (enterFrame) {
EsActivo(2, 8, 7, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 43
onClipEvent (enterFrame) {
EsActivo(2, 8, 7, 5, 45, 0, 1);
}
Frame 45
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 45
onClipEvent (enterFrame) {
EsActivo(1, 6, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 45
onClipEvent (enterFrame) {
EsActivo(1, 6, 7, 6, -45, 0, 1);
}
Frame 46
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo3" in Frame 46
onClipEvent (enterFrame) {
EsActivo(2, 12, 8, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 46
onClipEvent (enterFrame) {
EsActivo(1, 6, 7, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 46
onClipEvent (enterFrame) {
EsActivo(1, 12, 8, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 46
onClipEvent (enterFrame) {
EsActivo(2, 12, 6, 5, 45, 0, 1);
}
Frame 47
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo3" in Frame 47
onClipEvent (enterFrame) {
EsActivo(2, 8, 8, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 47
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 47
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 6, -45, 0, 1);
}
Frame 48
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo3" in Frame 48
onClipEvent (enterFrame) {
EsActivo(2, 18, 9, 5, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 48
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 48
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -45, 0, 1);
}
Frame 49
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo3" in Frame 49
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 49
onClipEvent (enterFrame) {
EsActivo(2, 18, 7, 6, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 49
onClipEvent (enterFrame) {
EsActivo(1, 6, 7, 5, -45, 0, 1);
}
Frame 50
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 50
onClipEvent (enterFrame) {
EsActivo(1, 28, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 50
onClipEvent (enterFrame) {
EsActivo(1, 26, 9, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 50
onClipEvent (enterFrame) {
EsActivo(2, 24, 8, 5, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 50
onClipEvent (enterFrame) {
EsActivo(1, 26, 9, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 50
onClipEvent (enterFrame) {
EsActivo(2, 24, 8, 6, 45, 0, 1);
}
Frame 51
_root.mensaje_listo = "Stage 2 Clear!";
Frame 52
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.distancia = 40;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena2;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 53
_root.TocarMusica();
Frame 54
_root.TocarMusica();
Frame 55
stop();
_root.TocarMusica();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 366 MovieClip "d3" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d2" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d4" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m3" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d1" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m1" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m2" in Frame 55
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 370 MovieClip "c1" in Frame 55
onClipEvent (enterFrame) {
Mover_Cactus();
}
Instance of Symbol 370 MovieClip "c2" in Frame 55
onClipEvent (enterFrame) {
Mover_Cactus();
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 55
onClipEvent (enterFrame) {
EsActivo(3, 12, 7, 6, -45, 0, 47);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 55
onClipEvent (enterFrame) {
EsActivo(3, 12, 6, 6, -45, 0, 47);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 55
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Cowboy 1: There are indians ahead!<BR>TIP: Move with arrow keys. Aim and fire with mouse. Avoid cactus. Win level when distance is zero.", 0);
}
Instance of Symbol 373 MovieClip "jinete1" in Frame 55
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 373 MovieClip "jinete2" in Frame 55
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 107 MovieClip in Frame 55
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.barra_distancia._width = _root.distancia * 3;
if (_root.distancia <= 0) {
_root.distancia = 1;
_root.nextFrame();
}
if (_root.enemigo1.actor.secuencia_fin == 1) {
_root.enemigo1.actor.secuencia_fin = 0;
_root.enemigo1.activo_iniciado = 0;
_root.enemigo1.actor._x = 0;
}
if (_root.enemigo2.actor.secuencia_fin == 1) {
_root.enemigo2.actor.secuencia_fin = 0;
_root.enemigo2.activo_iniciado = 0;
_root.enemigo2.actor._x = 0;
}
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 56
stop();
_root.mensaje_listo = "Stage 3 Clear!";
Frame 57
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena3;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 58
stop();
_root.TocarMusica();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 58
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, (("Jim: You are a weird priest... shooting people up.<BR>" + temp1) + ": Actually, I am not a priest. I just dressed this way to escape the Sheriff of Oak Waters.<BR>") + "Jim: Escape the Sheriff? What are you?<BR>", 1);
}
Instance of Symbol 107 MovieClip in Frame 58
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 59
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ((temp1 + ": I bluffed at Poker, and lost. I had to run away, fast.<BR>Jim: Allright. Don't try to play smart on us, son, or you'll die.<BR>") + temp1) + ": Don't worry. Working clean this time.", 1);
}
Frame 60
_root.nivel_avanzar = 7;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 60
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Cowboy 1: Alert! The guys of Nino del Piero are attacking our camp!", 1);
}
Frame 61
_root.nivel_avanzar = 7;
_root.PrepararActivos();
_root.TocarMusica();
Instance of Symbol 339 MovieClip "aliado2" in Frame 61
onClipEvent (enterFrame) {
EsAliado(1, 48);
}
Instance of Symbol 339 MovieClip "aliado3" in Frame 61
onClipEvent (enterFrame) {
EsAliado(1, 71);
}
Instance of Symbol 339 MovieClip "aliado1" in Frame 61
onClipEvent (enterFrame) {
EsAliado(1, 9999);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 61
onClipEvent (enterFrame) {
EsActivo(1, 26, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 61
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 61
onClipEvent (enterFrame) {
EsActivo(2, 12, 6, 6, 45, 0, 1);
}
Frame 62
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo3" in Frame 62
onClipEvent (enterFrame) {
EsActivo(2, 3, 4, 5, 45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 62
onClipEvent (enterFrame) {
EsActivo(1, 18, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 62
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 62
onClipEvent (enterFrame) {
EsActivo(1, 14, 6, 5, -45, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 62
onClipEvent (enterFrame) {
EsActivo(1, 16, 7, 6, -45, 0, 1);
}
Frame 63
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 63
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 63
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 63
onClipEvent (enterFrame) {
EsActivo(2, 16, 6, 6, 50, 0, 1);
}
Frame 64
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo4" in Frame 64
onClipEvent (enterFrame) {
EsActivo(2, 16, 6, 6, 50, 0, 1);
}
Frame 65
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 65
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 65
onClipEvent (enterFrame) {
EsActivo(2, 16, 6, 6, 50, 0, 1);
}
Frame 66
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 66
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 66
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 66
onClipEvent (enterFrame) {
EsActivo(1, 16, 6, 6, -50, 0, 1);
}
Frame 67
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 67
onClipEvent (enterFrame) {
EsActivo(4, 145, 9, 6, -50, 0, 1);
}
Frame 69
stop();
_root.mensaje_listo = "Stage 4 Clear!";
Frame 70
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena4;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 71
stop();
_root.TocarMusica();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 71
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Jim: We spotted a Caravan for Nino del Piero. We will assault it. You go by the right side and keep them busy, we will get them by surprise from the other side.", 0);
}
Instance of Symbol 107 MovieClip in Frame 71
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 73
_root.nivel_avanzar = 7;
_root.PrepararActivos();
_root.TocarMusica();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 73
onClipEvent (enterFrame) {
EsActivo(1, 16, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 73
onClipEvent (enterFrame) {
EsActivo(1, 16, 7, 6, -50, 0, 1);
}
Frame 74
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 74
onClipEvent (enterFrame) {
EsActivo(4, 145, 9, 6, -50, 0, 1);
}
Frame 76
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 254 MovieClip "caballo1" in Frame 76
onClipEvent (enterFrame) {
if (_x < 1200) {
_x = (_x + 20);
}
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 76
onClipEvent (enterFrame) {
EsActivo(4, 102, 9, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 76
onClipEvent (enterFrame) {
EsActivo(4, 102, 9, 6, -50, 0, 1);
}
Frame 77
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 77
onClipEvent (enterFrame) {
EsActivo(1, 27, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 77
onClipEvent (enterFrame) {
EsActivo(2, 22, 8, 5, 50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 77
onClipEvent (enterFrame) {
EsActivo(1, 19, 7, 5, -50, 0, 1);
}
Frame 78
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 78
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 78
onClipEvent (enterFrame) {
EsActivo(2, 28, 7, 6, 50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 78
onClipEvent (enterFrame) {
EsActivo(1, 17, 7, 5, -50, 0, 1);
}
Frame 79
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 79
onClipEvent (enterFrame) {
EsActivo(1, 18, 8, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 79
onClipEvent (enterFrame) {
EsActivo(2, 12, 8, 5, 50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 79
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 79
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 6, -50, 0, 1);
}
Frame 80
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 80
onClipEvent (enterFrame) {
EsActivo(1, 17, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 80
onClipEvent (enterFrame) {
EsActivo(2, 22, 8, 6, 50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 80
onClipEvent (enterFrame) {
EsActivo(1, 19, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 80
onClipEvent (enterFrame) {
EsActivo(2, 14, 7, 5, 50, 0, 1);
}
Frame 82
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 254 MovieClip "caballo2" in Frame 82
onClipEvent (enterFrame) {
if (_x < 1200) {
_x = (_x + 20);
}
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 82
onClipEvent (enterFrame) {
EsActivo(4, 75, 9, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 82
onClipEvent (enterFrame) {
EsActivo(4, 72, 7, 6, -50, 0, 1);
}
Frame 83
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 83
onClipEvent (enterFrame) {
EsActivo(1, 12, 9, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 83
onClipEvent (enterFrame) {
EsActivo(1, 14, 7, 5, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 83
onClipEvent (enterFrame) {
EsActivo(1, 16, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 83
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -50, 0, 1);
}
Frame 84
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 84
onClipEvent (enterFrame) {
EsActivo(1, 41, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 84
onClipEvent (enterFrame) {
EsActivo(1, 29, 7, 5, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 84
onClipEvent (enterFrame) {
EsActivo(1, 19, 7, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 84
onClipEvent (enterFrame) {
EsActivo(2, 12, 7, 6, 50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 84
onClipEvent (enterFrame) {
EsActivo(2, 12, 7, 6, 50, 0, 1);
}
Frame 86
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 86
onClipEvent (enterFrame) {
EsActivo(4, 82, 9, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 86
onClipEvent (enterFrame) {
EsActivo(4, 88, 9, 6, -50, 0, 1);
}
Frame 87
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 87
onClipEvent (enterFrame) {
EsActivo(1, 12, 8, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 87
onClipEvent (enterFrame) {
EsActivo(4, 75, 9, 6, -50, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 87
onClipEvent (enterFrame) {
EsActivo(1, 12, 8, 6, -50, 0, 1);
}
Frame 88
stop();
_root.mensaje_listo = "Stage 5 Clear!";
Frame 89
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena5;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 90
stop();
_root.TocarMusica();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 90
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, temp1 + ": Whos her?<BR>Jim: She is my sister Camille.<BR>Camille: I had to come, Coyote City is no longer safe. Also, this is a family issue.<BR>Jim: Camille, don't grow obsessed with the moustache woman.", 1);
}
Instance of Symbol 107 MovieClip in Frame 90
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 91
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ((temp1 + ": Moustache woman?<BR>Jim: Moustache woman is a member of the enemy group. Her mustache inspired her to become a gunner.<BR>") + temp1) + ": I see.", 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 92
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Jim: Tomorrow we all will attack Coyote Canyon. Sleep well tonight.", 1);
}
Frame 93
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.distancia = 50;
_root.juego_fotograma = _currentframe;
Frame 94
_root.TocarMusica();
Frame 95
stop();
startDrag (_root.mira, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 366 MovieClip "d3" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d2" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d4" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m3" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 366 MovieClip "d1" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m1" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 367 MovieClip "m2" in Frame 95
onClipEvent (enterFrame) {
Mover();
}
Instance of Symbol 370 MovieClip "c1" in Frame 95
onClipEvent (enterFrame) {
Mover_Cactus();
}
Instance of Symbol 370 MovieClip "c2" in Frame 95
onClipEvent (enterFrame) {
Mover_Cactus();
}
Instance of Symbol 370 MovieClip "c3" in Frame 95
onClipEvent (enterFrame) {
Mover_Cactus();
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 95
onClipEvent (enterFrame) {
EsActivo(5, 27, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 95
onClipEvent (enterFrame) {
EsActivo(5, 27, 7, 6, -55, 0, 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 95
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Cowboy 1: Here they come!", 0);
}
Instance of Symbol 373 MovieClip "jinete1" in Frame 95
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 373 MovieClip "jinete3" in Frame 95
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 373 MovieClip "jinete2" in Frame 95
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 373 MovieClip "jinete4" in Frame 95
onClipEvent (enterFrame) {
Jinete_Amigo();
}
Instance of Symbol 107 MovieClip in Frame 95
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.barra_distancia._width = _root.distancia * 3;
if (_root.distancia <= 0) {
_root.distancia = 1;
_root.nextFrame();
}
if (_root.enemigo1.actor.secuencia_fin == 1) {
_root.enemigo1.actor.secuencia_fin = 0;
_root.enemigo1.activo_iniciado = 0;
_root.enemigo1.actor._x = 0;
}
if (_root.enemigo2.actor.secuencia_fin == 1) {
_root.enemigo2.actor.secuencia_fin = 0;
_root.enemigo2.activo_iniciado = 0;
_root.enemigo2.actor._x = 0;
}
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 96
stop();
_root.mensaje_listo = "Stage 6 Clear!";
Instance of Symbol 107 MovieClip in Frame 96
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.barra_distancia._width = _root.distancia * 3;
if (_root.distancia <= 0) {
_root.distancia = 1;
_root.nextFrame();
}
if (_root.enemigo1.actor.secuencia_fin == 1) {
_root.enemigo1.actor.secuencia_fin = 0;
_root.enemigo1.activo_iniciado = 0;
_root.enemigo1.actor._x = 0;
}
if (_root.enemigo2.actor.secuencia_fin == 1) {
_root.enemigo2.actor.secuencia_fin = 0;
_root.enemigo2.activo_iniciado = 0;
_root.enemigo2.actor._x = 0;
}
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 97
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena6;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 98
stop();
startDrag (_root.mira, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 339 MovieClip "aliado1" in Frame 98
onClipEvent (enterFrame) {
EsAliado(1, 455);
}
Instance of Symbol 339 MovieClip "aliado2" in Frame 98
onClipEvent (enterFrame) {
EsAliado(1, 188);
}
Instance of Symbol 107 MovieClip in Frame 98
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 99
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 99
onClipEvent (enterFrame) {
EsActivo(1, 18, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 99
onClipEvent (enterFrame) {
EsActivo(1, 28, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 99
onClipEvent (enterFrame) {
EsActivo(1, 28, 8, 5, -55, 0, 1);
}
Frame 100
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 100
onClipEvent (enterFrame) {
EsActivo(1, 18, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 100
onClipEvent (enterFrame) {
EsActivo(1, 18, 7, 5, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 100
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 100
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Frame 101
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 101
onClipEvent (enterFrame) {
EsActivo(2, 18, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 101
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 101
onClipEvent (enterFrame) {
EsActivo(1, 22, 7, 5, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 101
onClipEvent (enterFrame) {
EsActivo(1, 22, 7, 5, -55, 0, 1);
}
Frame 102
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 102
onClipEvent (enterFrame) {
EsActivo(1, 18, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 102
onClipEvent (enterFrame) {
EsActivo(1, 16, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 102
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 5, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 102
onClipEvent (enterFrame) {
EsActivo(6, 19, 7, 5, -55, 0, 1);
}
Frame 103
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 103
onClipEvent (enterFrame) {
EsActivo(2, 26, 8, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 103
onClipEvent (enterFrame) {
EsActivo(4, 72, 8, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 103
onClipEvent (enterFrame) {
EsActivo(2, 24, 8, 5, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 103
onClipEvent (enterFrame) {
EsActivo(6, 28, 7, 6, -55, 0, 1);
}
Frame 105
_root.PrepararActivos();
Instance of Symbol 339 MovieClip "aliado3" in Frame 105
onClipEvent (enterFrame) {
EsAliado(1, 252);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 105
onClipEvent (enterFrame) {
EsActivo(6, 14, 9, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 105
onClipEvent (enterFrame) {
EsActivo(6, 24, 8, 5, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 105
onClipEvent (enterFrame) {
EsActivo(6, 18, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 105
onClipEvent (enterFrame) {
EsActivo(6, 18, 7, 6, -55, 0, 1);
}
Frame 106
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 106
onClipEvent (enterFrame) {
EsActivo(6, 31, 9, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 106
onClipEvent (enterFrame) {
EsActivo(2, 44, 8, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 106
onClipEvent (enterFrame) {
EsActivo(1, 28, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 106
onClipEvent (enterFrame) {
EsActivo(6, 14, 7, 5, -55, 0, 1);
}
Frame 107
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo4" in Frame 107
onClipEvent (enterFrame) {
EsActivo(2, 54, 8, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 107
onClipEvent (enterFrame) {
EsActivo(6, 18, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 107
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 107
onClipEvent (enterFrame) {
EsActivo(6, 35, 9, 6, -55, 0, 1);
}
Frame 109
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 109
onClipEvent (enterFrame) {
EsActivo(6, 18, 7, 6, -55, 0, 1);
}
Frame 110
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 110
onClipEvent (enterFrame) {
EsActivo(6, 18, 6, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 110
onClipEvent (enterFrame) {
EsActivo(6, 15, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 110
onClipEvent (enterFrame) {
EsActivo(6, 22, 7, 6, -55, 0, 1);
}
Frame 111
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 111
onClipEvent (enterFrame) {
EsActivo(6, 28, 6, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 111
onClipEvent (enterFrame) {
EsActivo(6, 22, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 111
onClipEvent (enterFrame) {
EsActivo(6, 25, 7, 5, -55, 0, 1);
}
Frame 112
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 112
onClipEvent (enterFrame) {
EsActivo(2, 4, 6, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 112
onClipEvent (enterFrame) {
EsActivo(4, 72, 9, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 112
onClipEvent (enterFrame) {
EsActivo(6, 12, 7, 5, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 112
onClipEvent (enterFrame) {
EsActivo(6, 12, 7, 5, -55, 0, 1);
}
Frame 113
stop();
_root.mensaje_listo = "Stage 7 Clear!";
Frame 114
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena7;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 115
stop();
startDrag (_root.mira, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 115
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Jim: Allright, we will try to take the house at the bottom. Coyote Bravo is there. He must be tough, rumours say he eats hot chili with hot sauce.", 0);
}
Instance of Symbol 107 MovieClip in Frame 115
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.vidas_jefe._width = _root.enemigo1.vidas / 8;
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 116
_root.TocarMusica();
Frame 118
stop();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 118
onClipEvent (enterFrame) {
EsActivo(7, 850, 20, 5, -70, 0, 1);
if (vidas < 100) {
_root.nextFrame();
}
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 118
onClipEvent (enterFrame) {
EsActivo(1, 44, 7, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 118
onClipEvent (enterFrame) {
EsActivo(1, 42, 7, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 118
onClipEvent (enterFrame) {
EsActivo(1, 44, 7, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 118
onClipEvent (enterFrame) {
EsActivo(1, 42, 7, 6, -60, 0, 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 118
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Coyote Bravo: I am growing tired of you and your group.<BR>" + temp1) + ": Feeling is mutual.", 1);
}
Instance of Symbol 107 MovieClip in Frame 118
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.vidas_jefe._width = _root.enemigo1.vidas / 8;
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 119
_root.nivel_avanzar = 7;
_root.PrepararActivos();
_root.TocarMusica();
_root.TocarMusica();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 120
onClipEvent (enterFrame) {
EsActivo(7, 175, 12, 6, -70, 0, 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 120
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Coyote Bravo: Think you are so brave, huh?", 0);
}
Frame 121
stop();
_root.mensaje_listo = "Stage 8 Clear!";
Frame 122
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.balas_recarga_factor = 2;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena8;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 123
stop();
startDrag (_root.mira, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 123
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Moustache Woman: Greetings, people. I advice you all to go back.<BR>Camille: How could you! After your brother died, you faked the testament to keep the gold mine! Along with Nino del Piero!", 1);
}
Instance of Symbol 107 MovieClip in Frame 123
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.vidas_jefe._width = _root.enemigo1.vidas / 8;
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 124
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Moustache Woman: That is none of your business!<BR>Camille: Yes it is! Your brother and my father worked together in this project!<BR>Moustache Woman: Go back or die.", 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 125
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ((("Jim: Camille, come with me, to search something. " + temp1) + ", go ahead to keep them busy. Soon we will reinforce you and take the mine.<BR>") + temp1) + ": Allright.", 0);
}
Frame 126
_root.nivel_avanzar = 7;
_root.PrepararActivos();
_root.TocarMusica();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 126
onClipEvent (enterFrame) {
EsActivo(1, 48, 7, 6, -55, 0, 1);
}
Frame 127
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 127
onClipEvent (enterFrame) {
EsActivo(1, 18, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 127
onClipEvent (enterFrame) {
EsActivo(4, 72, 7, 6, -55, 0, 1);
}
Frame 129
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 129
onClipEvent (enterFrame) {
EsActivo(6, 15, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 129
onClipEvent (enterFrame) {
EsActivo(6, 35, 7, 6, -55, 0, 1);
}
Frame 130
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 130
onClipEvent (enterFrame) {
EsActivo(2, 25, 7, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 130
onClipEvent (enterFrame) {
EsActivo(2, 25, 7, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 130
onClipEvent (enterFrame) {
EsActivo(2, 25, 7, 6, 55, 0, 1);
}
Frame 131
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 131
onClipEvent (enterFrame) {
EsActivo(6, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 131
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 131
onClipEvent (enterFrame) {
EsActivo(6, 9, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 131
onClipEvent (enterFrame) {
EsActivo(1, 12, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 131
onClipEvent (enterFrame) {
EsActivo(6, 5, 7, 6, -55, 0, 1);
}
Frame 132
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 132
onClipEvent (enterFrame) {
EsActivo(6, 22, 7, 6, -55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 132
onClipEvent (enterFrame) {
EsActivo(2, 12, 7, 6, 55, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 132
onClipEvent (enterFrame) {
EsActivo(2, 12, 7, 6, 55, 0, 1);
}
Frame 133
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 133
onClipEvent (enterFrame) {
EsActivo(4, 72, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 133
onClipEvent (enterFrame) {
EsActivo(1, 18, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 133
onClipEvent (enterFrame) {
EsActivo(6, 18, 6, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 133
onClipEvent (enterFrame) {
EsActivo(6, 18, 6, 6, -60, 0, 1);
}
Frame 135
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 135
onClipEvent (enterFrame) {
EsActivo(1, 34, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 135
onClipEvent (enterFrame) {
EsActivo(1, 12, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 135
onClipEvent (enterFrame) {
EsActivo(6, 8, 6, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 135
onClipEvent (enterFrame) {
EsActivo(6, 8, 6, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 135
onClipEvent (enterFrame) {
EsActivo(6, 8, 6, 6, -60, 0, 1);
}
Frame 136
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 136
onClipEvent (enterFrame) {
EsActivo(4, 72, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 136
onClipEvent (enterFrame) {
EsActivo(6, 12, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 136
onClipEvent (enterFrame) {
EsActivo(2, 18, 6, 6, 60, 0, 1);
}
Frame 137
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 137
onClipEvent (enterFrame) {
EsActivo(4, 81, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 137
onClipEvent (enterFrame) {
EsActivo(2, 4, 6, 6, 60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo5" in Frame 137
onClipEvent (enterFrame) {
EsActivo(2, 4, 6, 6, 60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 137
onClipEvent (enterFrame) {
EsActivo(6, 8, 9, 6, -60, 0, 1);
}
Frame 139
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 139
onClipEvent (enterFrame) {
EsActivo(4, 72, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 139
onClipEvent (enterFrame) {
EsActivo(6, 8, 9, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 139
onClipEvent (enterFrame) {
EsActivo(1, 12, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 139
onClipEvent (enterFrame) {
EsActivo(6, 12, 10, 6, -60, 0, 1);
}
Frame 140
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 140
onClipEvent (enterFrame) {
EsActivo(6, 32, 10, 5, -60, 0, 1);
}
Frame 141
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Frame 142
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 142
onClipEvent (enterFrame) {
EsActivo(6, 38, 10, 6, -60, 0, 1);
}
Frame 143
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 143
onClipEvent (enterFrame) {
EsActivo(2, 12, 10, 6, 60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 143
onClipEvent (enterFrame) {
EsActivo(2, 12, 10, 6, 60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 143
onClipEvent (enterFrame) {
EsActivo(2, 8, 10, 6, 60, 0, 1);
}
Frame 144
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 144
onClipEvent (enterFrame) {
EsActivo(6, 18, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 144
onClipEvent (enterFrame) {
EsActivo(2, 12, 10, 6, 60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 144
onClipEvent (enterFrame) {
EsActivo(1, 32, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 144
onClipEvent (enterFrame) {
EsActivo(6, 12, 10, 5, -60, 0, 1);
}
Frame 145
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 145
onClipEvent (enterFrame) {
EsActivo(4, 72, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 145
onClipEvent (enterFrame) {
EsActivo(1, 18, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 145
onClipEvent (enterFrame) {
EsActivo(6, 8, 8, 6, -60, 0, 1);
}
Frame 146
stop();
_root.mensaje_listo = "Stage 9 Clear!";
Frame 147
stop();
stopAllSounds();
MochiAd.showInterLevelAd({id:"488c48999095fc63", res:"800x600"});
Frame 148
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.balas_recarga_factor = 2;
_root.jinetes_rivales = 200;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena9;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 149
stop();
_root.TocarMusica();
_root.cantidad_dinamita = 2;
_root.jugador_puntos = 0;
Instance of Symbol 105 MovieClip "dialogo1" in Frame 149
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Jim: We have brought a machine gun, which we stole a while back from the caravan. Our friend will help you arm it, as Nino del Piero has sent horsemen against our position.", 1);
}
Frame 150
function Nivel_Actual1() {
pf = 100;
if ((_root.mira2._x > (_root.pantalla_mitad - pf)) && (_root.mira2._x < (_root.pantalla_mitad + pf))) {
_root.ametra.gotoAndStop(2);
}
if (_root.mira2._x < (_root.pantalla_mitad - pf)) {
_root.ametra.gotoAndStop(1);
}
if (_root.mira2._x > (_root.pantalla_mitad + pf)) {
_root.ametra.gotoAndStop(3);
}
_root.barra_vidas2.gotoAndStop(_root.jugador_vidas);
if (_root.jugador_vidas <= 0) {
gotoAndStop (5);
}
if (_root.jinetes_rivales <= 0) {
_root.jinetes_rivales = 1;
_root.nextFrame();
}
_root.barra_jinetes._width = _root.jinetes_rivales / 2;
}
stop();
startDrag (_root.mira2, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 462 MovieClip "jinete1" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -15);
}
Instance of Symbol 462 MovieClip "jinete2" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -20);
}
Instance of Symbol 462 MovieClip "jinete3" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -25);
}
Instance of Symbol 462 MovieClip "jinete5" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 15);
}
Instance of Symbol 462 MovieClip "jinete6" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 30);
}
Instance of Symbol 462 MovieClip "jinete7" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 20);
}
Instance of Symbol 462 MovieClip "jinete8" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 20);
}
Instance of Symbol 462 MovieClip "jinete4" in Frame 150
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -20);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 150
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, " Aim and fire with mouse. Don't let horsemen reach the middle or you'll lose lives. You may also use dinamite with the dinamite button (or just press 1).", 0);
}
Instance of Symbol 107 MovieClip in Frame 150
onClipEvent (enterFrame) {
_root.Nivel_Actual1();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque_Actual1();
}
Frame 151
stop();
_root.mensaje_listo = "Stage 10 Clear!";
Frame 152
stop();
stopAllSounds();
_root.jugador_vidas = _root.jugador_vidas_max;
_root.jugador_balas = _root.jugador_balas_max;
_root.juego_fotograma = _currentframe;
_root.cantidad_dinamita = 0;
_root.jugador_puntos = 0;
_root.tiene_revolver_x2 = 1;
_root.tiene_fuego = 1;
_root.tiene_expansiva = 1;
_root.balas_recarga_factor = 2;
_root.jinetes_rivales = 200;
_root.cadena_mostrar_contrasena = "Password: " + _root.contrasena10;
_root.infobox1.text = _root.cadena_mostrar_contrasena;
Frame 153
stop();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
_root.TocarMusica();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 153
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ((temp1 + ": Jim... has died. Enemy fire.<BR>Camille: What now?<BR>") + temp1) + ": Most of the horsemen are gone or fighting against the rest. Right ahead is Nino del Piero. I'll get him.", 0);
}
Instance of Symbol 107 MovieClip in Frame 153
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.vidas_jefe._width = _root.enemigo1.vidas / 10;
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 154
_root.nivel_avanzar = 7;
_root.PrepararActivos();
_root.TocarMusica();
Instance of Symbol 296 MovieClip "enemigo1" in Frame 154
onClipEvent (enterFrame) {
EsActivo(4, 102, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo2" in Frame 154
onClipEvent (enterFrame) {
EsActivo(1, 32, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 154
onClipEvent (enterFrame) {
EsActivo(1, 32, 10, 5, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 154
onClipEvent (enterFrame) {
EsActivo(6, 32, 10, 5, -60, 0, 1);
}
Frame 155
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 296 MovieClip "enemigo2" in Frame 155
onClipEvent (enterFrame) {
EsActivo(6, 22, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo3" in Frame 155
onClipEvent (enterFrame) {
EsActivo(6, 32, 10, 6, -60, 0, 1);
}
Instance of Symbol 296 MovieClip "enemigo4" in Frame 155
onClipEvent (enterFrame) {
EsActivo(6, 32, 10, 6, -60, 0, 1);
}
Frame 157
_root.TocarMusica();
Frame 160
stop();
startDrag (_root.mira, true);
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 160
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Nino del Piero: Well, looks like we will settle this problem. Are you going to try to bluff again?<BR>" + temp1) + ": No, I am not. This is for real.", 1);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 160
onClipEvent (enterFrame) {
EsActivo(8, 1523, 20, 5, -80, 0, 1);
if (vidas < 100) {
_root.nextFrame();
}
}
Instance of Symbol 107 MovieClip in Frame 160
onClipEvent (enterFrame) {
_root.Juego_Mecanismo();
_root.vidas_jefe._width = _root.enemigo1.vidas / 10;
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque();
}
Frame 161
_root.TocarMusica();
Frame 162
_root.nivel_avanzar = 7;
_root.PrepararActivos();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 162
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Nino del Piero: No! I won't let you win! Grrr!", 0);
}
Instance of Symbol 296 MovieClip "enemigo1" in Frame 162
onClipEvent (enterFrame) {
EsActivo(8, 312, 15, 6, -80, 0, 1);
}
Frame 163
stop();
_root.mensaje_listo = "Final Stage Clear!";
Frame 164
stop();
stopAllSounds();
Frame 165
_root.TocarMusica();
Instance of Symbol 105 MovieClip "dialogo1" in Frame 165
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, "Moustache Woman: Aren't you going to do anything? Lets kick them out of the mines!<BR>Cowboy 1: Look, I won't do anything, allright? You haven't even paid our salary!<BR>Moustache Woman: But...<BR>Cowboy 2: No buts. We are leaving. It would be a good idea if you did as well.<BR>Moustache Woman: ...", 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 166
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ((("Camille: What will I do now that my Brother Jim is dead?<BR>" + temp1) + ": We first need to give him our farewell.<BR>Camille: You are right.<BR>") + temp1) + ": Then we sell the gold mine and split the money.", 1);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 167
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, ("Camille: I guess you are right.<BR>" + temp1) + ": After I will go south.<BR>Camille: I will come back to the east.<BR>", 1);
}
Instance of Symbol 377 MovieClip "horse1" in Frame 168
onClipEvent (enterFrame) {
_x = (_x + 4);
if (_x > 900) {
_root.nextFrame();
}
}
Frame 169
stop();
Instance of Symbol 72 MovieClip in Frame 169
on (release) {
stopAllSounds();
getURL ("http://www.arcadequest.net/", "_blank");
}
Frame 200
stopAllSounds();
play();
Frame 201
function Nivel_DeathMatch() {
pf = 100;
if (_root.jinetes_caidos >= 35) {
_root.jinete_vel1 = 35;
}
if (_root.jinetes_caidos >= 125) {
_root.jinete_vel2 = 36;
}
if ((_root.mira2._x > (_root.pantalla_mitad - pf)) && (_root.mira2._x < (_root.pantalla_mitad + pf))) {
_root.ametra.gotoAndStop(2);
}
if (_root.mira2._x < (_root.pantalla_mitad - pf)) {
_root.ametra.gotoAndStop(1);
}
if (_root.mira2._x > (_root.pantalla_mitad + pf)) {
_root.ametra.gotoAndStop(3);
}
_root.barra_vidas2.gotoAndStop(_root.jugador_vidas);
if (_root.jugador_vidas <= 0) {
gotoAndStop (206);
}
if (_root.jinetes_rivales <= 0) {
_root.jinetes_rivales = 1;
_root.nextFrame();
}
_root.barra_jinetes._width = _root.jinetes_rivales / 2;
}
_root.stop();
_root.jinetes_rivales = 200;
_root.musica1.gotoAndStop(2);
var jinete_vel1 = 0;
var jinete_vel2 = 0;
_root.jugador_vidas = _root.jugador_vidas_max;
_root.cantidad_dinamita = 9;
_root.jugador_puntos = 0;
_root.jinetes_caidos = 0;
stop();
startDrag (_root.mira2, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Frame 202
nextFrame();
Instance of Symbol 462 MovieClip "jinete1" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -15);
}
Instance of Symbol 462 MovieClip "jinete2" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -20);
}
Instance of Symbol 462 MovieClip "jinete3" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -25);
}
Instance of Symbol 462 MovieClip "jinete5" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 15);
}
Instance of Symbol 462 MovieClip "jinete6" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 30);
}
Instance of Symbol 462 MovieClip "jinete7" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 20);
}
Instance of Symbol 462 MovieClip "jinete8" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, 20);
}
Instance of Symbol 462 MovieClip "jinete4" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -20);
}
Instance of Symbol 105 MovieClip "dialogo1" in Frame 202
onClipEvent (enterFrame) {
temp1 = _root.jugador_nombre;
Enviar_Mensaje(0, " Aim and fire with mouse. Don't let horsemen reach the middle or you'll lose lives. You may also use dinamite with the dinamite button (or just press 1).", 0);
}
Instance of Symbol 462 MovieClip "jinete9" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, _root.jinete_vel1);
}
Instance of Symbol 462 MovieClip "jinete10" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -_root.jinete_vel1);
}
Instance of Symbol 462 MovieClip "jinete11" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(1, 3, -_root.jinete_vel2);
}
Instance of Symbol 462 MovieClip "jinete12" in Frame 202
onClipEvent (enterFrame) {
Enemigo_Actual1(2, 3, _root.jinete_vel2);
}
Frame 203
stop();
startDrag (_root.mira2, true);
_root.TocarMusica();
_root.jugador._x = _root.inicio._x;
_root.jugador._y = _root.inicio._y;
Instance of Symbol 107 MovieClip in Frame 203
onClipEvent (enterFrame) {
_root.Nivel_DeathMatch();
}
onClipEvent (mouseDown) {
_root.Secuencia_Ataque_Actual1();
}
Frame 204
prevFrame();
Frame 205
stopAllSounds();
nextFrame();
Frame 206
stopAllSounds();
Frame 207
stop();
stopAllSounds();
var o = {n:[9, 2, 1, 15, 2, 13, 15, 13, 6, 12, 11, 15, 6, 12, 12, 4], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:_root.jugador_puntos});
Frame 208
stop();
Frame 209
prevFrame();
Symbol 534 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 535 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.0");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 536 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 537 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 10 MovieClip Frame 17
gotoAndStop (1);
Symbol 10 MovieClip Frame 30
gotoAndStop (1);
Symbol 10 MovieClip Frame 46
gotoAndStop (1);
Symbol 10 MovieClip Frame 54
gotoAndStop (1);
Symbol 13 MovieClip Frame 1
play();
Symbol 13 MovieClip Frame 84
_root.nextFrame();
Symbol 16 MovieClip Frame 1
stop();
Symbol 27 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(_root.fotograma_inicio_juego);
}
on (rollOver) {
menu_info.text = "Start the game in story mode. No score.";
menu_info2.text = menu_info.text;
}
Symbol 29 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
menu_info.text = "Continues a game, either a saved one, or via password.";
menu_info2.text = menu_info.text;
}
Symbol 31 Button
on (release) {
gotoAndStop (3);
}
on (rollOver) {
menu_info.text = "Instrucions on how to play.";
menu_info2.text = menu_info.text;
}
Symbol 33 Button
on (release) {
_root.gotoAndPlay(_root.fotograma_deathmatch);
}
on (rollOver) {
menu_info.text = "Fight an endless fight, get the highest score you can!";
menu_info2.text = menu_info.text;
}
Symbol 39 Button
on (release, keyPress "p") {
stopAllSounds();
_root.getURL("http://www.arcadequest.net/", "_blank");
}
on (rollOver) {
menu_info.text = "Play hundreds of free games.";
menu_info2.text = menu_info.text;
}
Symbol 43 Button
on (release) {
_root.contrasena = _root.campo_contrasena;
_root.contrasena = _root.contrasena.toUpperCase();
if (_root.contrasena == _root.contrasena1) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(34);
}
if (_root.contrasena == _root.contrasena2) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(52);
}
if (_root.contrasena == _root.contrasena3) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(57);
}
if (_root.contrasena == _root.contrasena4) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(70);
}
if (_root.contrasena == _root.contrasena5) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(89);
}
if (_root.contrasena == _root.contrasena6) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(97);
}
if (_root.contrasena == _root.contrasena7) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(114);
}
if (_root.contrasena == _root.contrasena8) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(122);
}
if (_root.contrasena == _root.contrasena9) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(148);
}
if (_root.contrasena == _root.contrasena10) {
stopAllSounds();
_root.control_inicio_juego = false;
_root.gotoAndStop(152);
}
}
Symbol 46 Button
on (release) {
_root.Cargar_Juego("chico");
}
Symbol 56 Button
on (release, keyPress "p") {
stopAllSounds();
_root.getURL("http://www.flashrangers.com/", "_blank");
}
Symbol 57 Button
on (release, keyPress "p") {
gotoAndStop (1);
}
Symbol 68 MovieClip Frame 1
stop();
this.publicidad1.loadMovie("http://www.stormvideogames.com/extras/extads.swf");
Symbol 68 MovieClip Frame 2
stop();
Symbol 68 MovieClip Frame 3
stop();
Symbol 78 Button
on (release, keyPress "t") {
_root.gotoAndStop(2);
}
Symbol 80 MovieClip Frame 1
play();
Symbol 80 MovieClip Frame 17
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 103
stop();
_root.nextFrame();
Symbol 104 Button
on (press, keyPress "<Escape>") {
play();
}
Symbol 105 MovieClip Frame 1
function Enviar_Mensaje(pm_nombre, pm_texto, pm_modo) {
dialogo_texto = pm_texto;
modo_ventana = pm_modo;
}
modo_ventana = 0;
_root.juego_pausa = 0;
Symbol 105 MovieClip Frame 5
stop();
_root.pausa_presiona = 9;
_root.juego_pausa = 1;
Symbol 105 MovieClip Frame 12
stop();
_root.pausa_presiona = 9;
_root.juego_pausa = 0;
if (modo_ventana == 1) {
_root.nextFrame();
}
Symbol 159 MovieClip Frame 1
stop();
anim_inicia = 1;
Symbol 159 MovieClip Frame 2
anim_inicia = 0;
Symbol 159 MovieClip Frame 7
gotoAndStop(_root.foto_norte);
Symbol 159 MovieClip Frame 12
gotoAndStop(_root.foto_norte);
Symbol 159 MovieClip Frame 13
stop();
anim_inicia = 1;
Symbol 159 MovieClip Frame 14
anim_inicia = 0;
Symbol 159 MovieClip Frame 19
gotoAndStop(_root.foto_este);
Symbol 159 MovieClip Frame 25
gotoAndStop(_root.foto_este);
Symbol 159 MovieClip Frame 26
gotoAndStop(_root.foto_sur);
anim_inicia = 1;
Symbol 159 MovieClip Frame 27
anim_inicia = 0;
Symbol 159 MovieClip Frame 32
gotoAndStop(_root.foto_sur);
Symbol 159 MovieClip Frame 38
gotoAndStop(_root.foto_sur);
Symbol 159 MovieClip Frame 39
stop();
anim_inicia = 1;
Symbol 159 MovieClip Frame 40
anim_inicia = 0;
Symbol 159 MovieClip Frame 45
gotoAndStop(_root.foto_oeste);
Symbol 159 MovieClip Frame 51
gotoAndStop(_root.foto_oeste);
Symbol 163 Button
on (release) {
_root.jugador_arma = _root.revolver;
}
Symbol 164 Button
on (release) {
if (_root.tiene_revolver_x2 == 1) {
_root.jugador_arma = _root.revolver_x2;
}
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 169 Button
on (press, keyPress "p") {
_root.pausa_presiona = 9;
_root.juego_pausa++;
if (_root.juego_pausa > 1) {
_root.juego_pausa = 0;
}
if (_root.juego_pausa == 0) {
_root.pausa_texto = "";
}
if (_root.juego_pausa == 1) {
_root.pausa_texto = "Paused";
}
}
Symbol 173 MovieClip Frame 7
if (_root.jugador_balas < _root.jugador_balas_max) {
_root.jugador_balas = _root.jugador_balas + _root.balas_recarga_factor;
}
Symbol 174 Button
on (release) {
if (_root.tiene_fuego == 1) {
_root.jugador_arma = _root.fuego;
}
}
Symbol 175 Button
on (release) {
if (_root.tiene_expansiva == 1) {
_root.jugador_arma = _root.expansiva;
}
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
stop();
_root.jugador_ataca = 0;
Symbol 189 MovieClip Frame 2
_root.jugador_ataca = 20;
Symbol 189 MovieClip Frame 6
gotoAndStop (1);
Symbol 189 MovieClip Frame 7
_root.jugador_ataca = 20;
Symbol 189 MovieClip Frame 11
gotoAndStop (1);
Symbol 189 MovieClip Frame 12
_root.jugador_ataca = 20;
Symbol 189 MovieClip Frame 16
gotoAndStop (1);
Symbol 189 MovieClip Frame 17
_root.jugador_ataca = 20;
Symbol 189 MovieClip Frame 21
gotoAndStop (1);
Symbol 190 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 47
_root.nextFrame();
Symbol 201 MovieClip Frame 53
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 210 MovieClip Frame 117
stop();
_root.nextFrame();
Symbol 215 MovieClip Frame 70
_root.nextFrame();
Symbol 218 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 239 MovieClip Frame 7
gotoAndPlay (1);
Symbol 239 MovieClip Frame 8
play();
Symbol 239 MovieClip Frame 38
stop();
secuencia_fin = 1;
Symbol 260 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 260 MovieClip Frame 7
gotoAndPlay (1);
Symbol 260 MovieClip Frame 8
play();
Symbol 260 MovieClip Frame 40
stop();
secuencia_fin = 1;
Symbol 267 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 267 MovieClip Frame 7
gotoAndPlay (1);
Symbol 267 MovieClip Frame 8
play();
Symbol 267 MovieClip Frame 38
stop();
secuencia_fin = 1;
Symbol 271 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 271 MovieClip Frame 7
gotoAndPlay (1);
Symbol 271 MovieClip Frame 8
play();
_root.jinetes_caidos++;
_root.jugador_puntos = _root.jugador_puntos + _root.puntos1;
Symbol 271 MovieClip Frame 40
stop();
secuencia_fin = 1;
Symbol 280 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 280 MovieClip Frame 7
gotoAndPlay (1);
Symbol 280 MovieClip Frame 8
play();
Symbol 280 MovieClip Frame 38
stop();
secuencia_fin = 1;
Symbol 286 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 286 MovieClip Frame 7
gotoAndPlay (1);
Symbol 286 MovieClip Frame 8
play();
Symbol 286 MovieClip Frame 38
stop();
secuencia_fin = 1;
Symbol 295 MovieClip Frame 1
play();
secuencia_fin = 0;
Symbol 295 MovieClip Frame 7
gotoAndPlay (1);
Symbol 295 MovieClip Frame 8
play();
Symbol 295 MovieClip Frame 38
stop();
secuencia_fin = 1;
Symbol 296 MovieClip Frame 1
function EsActivo(pm_anim, pm_vidas, pm_velocidad, pm_tipo_mov, pm_arma_vel_x, pm_arma_vel_y, pm_sonido_arma) {
if ((activo_iniciado == null) || (activo_iniciado == 0)) {
activo_iniciado = 1;
vidas = pm_vidas;
esta_vivo = 1;
ini_x = actor_arma._x;
ini_y = actor_arma._y;
actor_ini_x = actor._x;
actor_ini_y = actor._y;
disparo_enfria = 0;
golpe_enfria = 0;
gotoAndStop(pm_anim);
actor.gotoAndPlay(1);
}
if (_root.juego_pausa != 1) {
if (_root.jugador_ataca > 0) {
if (_root.mira.hitTest(actor) && (golpe_enfria <= 0)) {
golpe_enfria = 5;
if (_root.jugador_arma_fuerza < 1) {
_root.jugador_arma_fuerza = 1;
}
vidas = vidas - _root.jugador_arma_fuerza;
}
}
if (vidas <= 0) {
if (esta_vivo == 1) {
esta_vivo = 0;
actor.gotoAndPlay(8);
}
}
if (vidas > 0) {
_root.nivel_avanzar = 7;
if (pm_tipo_mov == 4) {
if ((_x + actor._x) > _root.jugador._x) {
actor._x = actor._x - pm_velocidad;
}
if ((_x + actor._x) < _root.jugador._x) {
actor._x = actor._x + pm_velocidad;
}
}
if (pm_tipo_mov == 5) {
if ((_y + actor._y) > _root.jugador._y) {
actor._y = actor._y - pm_velocidad;
}
if ((_y + actor._y) < _root.jugador._y) {
actor._y = actor._y + pm_velocidad;
}
}
if (pm_tipo_mov == 6) {
if ((_x + actor._x) > _root.jugador._x) {
actor._x = actor._x - pm_velocidad;
}
if ((_x + actor._x) < _root.jugador._x) {
actor._x = actor._x + pm_velocidad;
}
if ((_y + actor._y) > _root.jugador._y) {
actor._y = actor._y - pm_velocidad;
}
if ((_y + actor._y) < _root.jugador._y) {
actor._y = actor._y + pm_velocidad;
}
}
}
actor_arma._x = actor_arma._x + pm_arma_vel_x;
if (actor_arma.hitTest(_root.jugador) && (disparo_enfria <= 0)) {
disparo_enfria = 12;
_root.jugador_vidas--;
_root.golpeado.play();
}
if (actor_arma._x > 900) {
if (esta_vivo == 1) {
actor_arma._x = actor._x;
actor_arma._y = actor._y;
_root.sonidos.gotoAndPlay(pm_sonido_arma);
}
if (esta_vivo == 0) {
actor_arma._x = _root.fuera;
actor_arma._y = _root.fuera;
}
}
if ((actor_arma._x < -900) && (esta_vivo == 1)) {
if (esta_vivo == 1) {
actor_arma._x = actor._x;
actor_arma._y = actor._y;
_root.sonidos.gotoAndPlay(pm_sonido_arma);
}
if (esta_vivo == 0) {
actor_arma._x = _root.fuera;
actor_arma._y = _root.fuera;
}
}
if (disparo_enfria > 0) {
disparo_enfria--;
}
if (golpe_enfria > 0) {
golpe_enfria--;
}
}
if (vidas > 0) {
if (_root.pausa_presiona > 0) {
_root.pausa_presiona--;
if (_root.juego_pausa == 0) {
actor.play();
}
if (_root.juego_pausa == 1) {
actor.stop();
}
}
}
}
stop();
Symbol 301 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 1
stopAllSounds();
_root.juego_pausa = 1;
Symbol 307 MovieClip Frame 45
_root.juego_pausa = 0;
stop();
_root.nextFrame();
Symbol 314 Button
on (release, keyPress "c") {
_root.nextFrame();
}
Symbol 317 Button
on (release, keyPress "s") {
_root.Guardar_Juego("chico");
_root.nextFrame();
}
Symbol 324 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
play();
Symbol 338 MovieClip Frame 5
if (_root.nivel_avanzar <= 0) {
gotoAndPlay (1);
}
Symbol 338 MovieClip Frame 11
gotoAndPlay (1);
Symbol 338 MovieClip Frame 15
play();
Symbol 338 MovieClip Frame 17
stop();
Symbol 339 MovieClip Frame 1
function EsAliado(pm_anim, pm_vidas) {
if ((iniciado == null) || (iniciado == 0)) {
iniciado = 1;
gotoAndStop(pm_anim);
vidas = pm_vidas;
esta_vivo = 1;
}
if (vidas > 0) {
if (this.hitTest(_root.enemigo1)) {
_root.enemigo1.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo2)) {
_root.enemigo2.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo3)) {
_root.enemigo3.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo4)) {
_root.enemigo4.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo5)) {
_root.enemigo5.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo6)) {
_root.enemigo6.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo7)) {
_root.enemigo7.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo8)) {
_root.enemigo8.vidas--;
vidas--;
}
if (this.hitTest(_root.enemigo9)) {
_root.enemigo9.vidas--;
vidas--;
}
}
if ((vidas <= 0) && (esta_vivo == 1)) {
esta_vivo = 0;
actor.gotoAndPlay(15);
}
}
Symbol 343 Button
on (release, keyPress "c") {
_root.Guardar_Juego("chico");
_root.nextFrame();
}
Symbol 348 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 169
stop();
_root.nextFrame();
Symbol 359 MovieClip Frame 65
stop();
_root.nextFrame();
Symbol 364 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
function Mover() {
if (_root.juego_pausa == 0) {
_x = (_x - 15);
if (_x < -150) {
_x = 1000;
_root.distancia--;
}
}
}
Symbol 367 MovieClip Frame 1
function Mover() {
if (_root.juego_pausa == 0) {
_x = (_x - 15);
if (_x < -100) {
_x = 1000;
}
}
}
Symbol 370 MovieClip Frame 1
function Mover_Cactus() {
if (_root.juego_pausa == 0) {
azar = Math.random() * 320;
_x = (_x - 15);
if (_x < -150) {
_x = 1000;
_y = (250 + azar);
}
if (espera > 0) {
espera--;
}
if (espera <= 0) {
if (hitTest(_root.jugador)) {
espera = 10;
_root.golpeado.play();
_root.jugador_vidas--;
}
}
}
}
stop();
espera = 10;
azar = 0;
Symbol 373 MovieClip Frame 1
function Jinete_Amigo() {
if (_root.juego_pausa == 0) {
if (hitTest(_root.enemigo1)) {
_root.enemigo1.vidas--;
nextFrame();
}
if (hitTest(_root.enemigo2)) {
_root.enemigo2.vidas--;
nextFrame();
}
}
}
stop();
Symbol 373 MovieClip Frame 65
play();
Symbol 373 MovieClip Frame 86
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 20
gotoAndStop (1);
Symbol 377 MovieClip Frame 40
gotoAndStop (1);
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
play();
Symbol 434 MovieClip Frame 234
stop();
Symbol 437 MovieClip Frame 65
stop();
_root.nextFrame();
Symbol 439 MovieClip Frame 86
stop();
_root.nextFrame();
Symbol 462 MovieClip Frame 1
function Enemigo_Actual1(pm_anim, pm_vidas, pm_vel) {
if (_root.dinamita_explota == true) {
if (this.hitTest(_root.jugador_dinamita)) {
vidas = 0;
}
}
if ((iniciado == null) || (iniciado == 0)) {
iniciado = 1;
esta_vivo = 1;
vidas = pm_vidas;
ini_x = actor_actual1._x;
gotoAndStop(pm_anim);
}
if (_root.juego_pausa == 0) {
if (vidas > 0) {
if (_root.jugador_ataca > 0) {
if (hitTest(_root.mira2)) {
vidas--;
}
}
actor_actual1._x = actor_actual1._x + pm_vel;
if (ataque_preparado > 0) {
ataque_preparado--;
}
if (actor_actual1.hitTest(_root.jugador_actual1) && (ataque_preparado <= 0)) {
ataque_preparado = 10;
_root.sonidos.gotoAndPlay(1);
_root.golpeado.play();
_root.jugador_vidas--;
}
}
if ((vidas <= 0) && (esta_vivo == 1)) {
esta_vivo = 0;
actor_actual1.gotoAndPlay(8);
}
if (actor_actual1.secuencia_fin == 1) {
actor_actual1._x = ini_x;
actor_actual1.secuencia_fin = 0;
actor_actual1.gotoAndPlay(1);
_root.jinetes_rivales--;
iniciado = 0;
}
if ((actor_actual1._x < -2000) || (actor_actual1._x > 2000)) {
actor_actual1._x = ini_x;
}
}
}
stop();
Symbol 462 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 1
stop();
_root.dinamita_explota = false;
Symbol 465 MovieClip Frame 9
_root.dinamita_explota = true;
Symbol 466 Button
on (release, keyPress "1") {
if (_root.juego_pausa != 1) {
if (_root.cantidad_dinamita > 0) {
_root.jugador_dinamita.play();
_root.cantidad_dinamita--;
}
}
}
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 5
gotoAndStop (1);
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 3
stop();
Symbol 478 MovieClip Frame 1
_root.jugador_ataca = 0;
Symbol 478 MovieClip Frame 2
_root.jugador_ataca = 20;
Symbol 478 MovieClip Frame 6
gotoAndStop (1);
Symbol 480 Button
on (press, keyPress "p") {
_root.juego_pausa++;
if (_root.juego_pausa > 1) {
_root.juego_pausa = 0;
}
if (_root.juego_pausa == 0) {
_root.pausa_texto = "";
}
if (_root.juego_pausa == 1) {
_root.pausa_texto = "Paused";
}
}
Symbol 490 MovieClip Frame 77
stop();
_root.nextFrame();
Symbol 493 MovieClip Frame 65
stop();
_root.nextFrame();
Symbol 502 MovieClip Frame 1
stop();
Symbol 509 Button
on (release, keyPress "p") {
stopAllSounds();
_root.getURL("http://www.arcadequest.net/", "_blank");
}
Symbol 517 MovieClip Frame 36
stopAllSounds();
_root.nextFrame();
Symbol 524 Button
on (release, keyPress "1") {
if (_root.juego_pausa != 1) {
if (_root.cantidad_dinamita > 0) {
_root.jugador_dinamita.play();
_root.cantidad_dinamita--;
}
}
}
Symbol 530 Button
on (release) {
stopAllSounds();
_root.gotoAndStop(3);
}
Symbol 532 Button
on (release) {
stopAllSounds();
_root.nextFrame();
}